Search Engine

Matlab And Adc

Add Question

189 Threads found on Matlab And Adc
I must be really stupid because I can't seem to find the answer online after a long time searching. My system consists of adc -> Decimation filter (matlab) -> DAC I got the adc , DAC , clkdiv all working with relative ease but I'm having troubles with a simple step. The adc / DAC is 12 bit , 2.048V reference . My (...)
Hi everyone! I have a slight problem here. I am basically trying to sample 200 analog values using the adc inside dspic30f2020 and then sending them via UART to a matlab program. The thing is, I am sending these 200 values to matlab only once (as far as my understanding goes, in my code for dsPIC30F2020 (...)
Hi all, I am now designing a 14bit SAR adc, at present, I have designed a prototype with ideal comp and sh. I run transient analysis with stop time 1s (10kS/s sampling rate), around 10000 samples, then I perform FFT analysis in matlab with window functions like hanning. However, large spectrum leakage appears and (...)
Your matlab simulation is probably faithfully passing the time-skews of the digital outputs (bit-to-bit, LH to HL) making there be transient, not-real-code states between the states. You can filter the output and watch the glitch energy be "soaked up" by capacitance, you can register the codes with an ideal register that provides ideal edge synch
I want to generate IQ Signal from the samples of Real adc. a. What are the steps to be followed? b. How much time it will take to IQ demodulation. c. Please provide if any sample matlab code is available for IQ demod and mod ?
hello everyone, how to connect adc block in the matlab simulink ??? , i want to connect sine wave genrator to adc and then fft and scope, im a beginner at matlab simulink , kindly help me, btw connecting sine wave generator to adc is not happening ,how to do that??? - - - (...)
Hello.I have an adc and I want to measure gain error,DND,INL by result is input voltage and output digital I need matlab code for measurement .please help me. thanks
Hi I have written matlab script for BPSK modulation. The way my code works is as follow: series of 0 and 1----> NRZ data (continuous rectangular pulses with amplitude -1 and 1)--->multiply by carrier----> add noise--> multiply by carrier---> integration--->detection---> Bit Error collection? I would like to know can
Hi All, This is my first adc and verifying it is proving to be more difficult then actually designing the subblock. I have been able to do a transient simulation in cadence (spectre) and have successfully imported the data into matlab. This is where I'm encountering most of my headache. 1) I'm new at (...)
hi i wanna to write a pipline adc code in matlab and i read theory of pipeline adc, but i dont know how to start. can u help me how to start? thanks
Hello. I've bought a student license for matlab and the main thing to explore was interfacing a ?C with matlab/simulink to be used as a platform for adc/DAC testing and a lot of other cool things. But after installing all support packages and trying to connect ta arduino(have tried Uno, (...)
Hello, I am working in the design of a low-pass CT Sigma-Delta adc and I need to simulate this CT modulator with SCR feedback DAC. how can I simulate this DAC in matlab/Simulink? Regards!
Hey i am using arduino duemilanove (atmega 328P). I am using 16 bit adc interfaced with SPI protocol and then sending data serially into my laptop(reading com port using matlab). problem is I am getting too few samples. I am expecting 500 samples per sec. So Now I want to store data into arduino memory(flash or EEPROM or RAM). EEPROM I (...)
Hi. Before start to design the SAR adc, i want to simulate the relationship between capacitor mismatches of CDAC and SAR adc using matlab. when capacitor mismatch ratio is 'sigma' and Cu is unit capacitance, plz check the equation and next matlab code capacitor (...)
Hi, I am using a 12-bit adc for analog to digital conversion. The adc itself supports SPI interface and i need to use a microcontroller to make this interface. Finally the digital data needs to be brought in matlab? I am toltally new to microcontrollers so i have some basic questions: a. Which microcontroller should i (...)
You can refer to Richard Schrier's book and his matlab toolbox.
We have designed an Oscilloscope using PC and Arduino Board. The signal is first of all fed to the Arduino Board where the analog signal is converted to a digital signal by the adc which is then serially outputted to the PC and is read by the matlab software via the COM ports. Here the signal is read in the form of digital (...)
Hi, i'm tring to plot data recieved from pic via serial port in matlab i used the followin code in matlab when i run the prog Error :"In an assignment A(I) = B, the number of elements in B and I must be the same. this is the line of the error voltage(count) = fscanf(s,'%f'); [AT
Need Basic 10-bit Pipeline adc matlab Code (Mathematical model). Please help me out its very urgent.
1. Try to extract digital 1 and 0 from Cadence simulation results. ..................... However, the transient simulation step is not fixed. 2. matlab has a counter in Simulink. It does not have clock input.Resample data by invoking a function,interp1q() in matlab. Ts = 1/fs; Nfft = 2^15; xstart = xdiscard
(designed mdac structure and obtained residue chara for each stages..with and without redundancy) Now i need to combine the bits 94370 (adc out) of each stage to get the digital output .what technique should i use to obtain the output..i goggled about it and the result obtained was little bit confusing..
I should design a digital filter of first order adc Sigma-Delta converter with 8 bits, an over sampling ratio of 64 (OSR = 64),and sampling frequency of 10.24MHz.I make it with matlab SIMULINK as shown in this
hello All , I am trying to prove the matlab code via veriloga opamp model with ideal switches and capacitors on cadence, to prove the STF, NTF, OSR according to Schreier ,I need to do an impulse response check on my adc, this simply means removing the Quantizer from the loop and with a veriloga model I can generate a (...)
I'm working on a project where i'm need to display the data through USB to matlab. For example, to use an oscilloscope. Or data acquisition toolbox. For example, to connect the adc data received and transmitted via USB as an analog channel in simulink I read the documentation, but did not understand whether there is any (...)
Hi, I am modeling a 4th order 1-bit quantizer DS adc with OSR of 64. The architecture I used is "CIFF". 1. First, I start with the tool "delsig" from matlab toolbox, using dsexample1. It works quite nice. The estimated SNR is about 104dB. and I calculated the co-efficient with scaling: a,g,b,c. The spectrum seems OK. 89010[/ATTA
Hello Everyone I designed a FIR Low Pass Filter (Decimation Filter) for Delta Sigma modulator in matlab, After decimation filter the output is in the range of 0.5 to -0.5 (input to adc is sine wave, and calculated ENOB~11). I got confused because to my understanding if ENOB are let suppose 8 then your input will be (...)
hello Eminent.Engineer, I hve also designed a delta sigma adc and i calculate the SNR order to caculate the SNR after the modulator you must make the fast fourier transform function (FFT) by matlab after the modulator. About the decimation,until now i have designed the complete adc in Smulink (matlab) (...)
I have designed a 10 bit pipelined adc in cadence.From the wave forms I have obtained the. csv file which contains samples of the 10 digital bits and inputs. How can we link this to matlab so that these codes are read and hence the inl and dnl plots are obtained??
Hi I want to calculate SNR,SNDR,SFDR,ENOB of designed adc. I want to use matlab for processing. I have designde adc in cadence spectra and do the tansient analysis by sine wave as the i/p. Can anyone tell me should I use ideal DAC at the o/p of adc and take the reconstructed sine signal (...)
i also need to ask if anyone have successfully tried interfacing matlab simulink with circuit level design. is that possible? i intending to create schematic design with ltspice and out bit stream to pump into my simulink Decimation filter block the derive the output. wonder if anyone have already done it and is that possible??
Use matlab.Write a simple program to generate samples based on ur interest of freq and store them in BRAM of the FPGA.From there u can read and display on LCD.
Hi guys, I am simulating 3bit ΣΔ adc using HSPICE. a 3bit-flash quantizer used in ΣΔ adc. how can implementation ideal thermometer coded DAC in hspice (using control voltage sources) to convert 7 thermometer code to one output for return the data to matlab, and calculating SNDR SFDR ,........... (...)
hi all, first ,i put the design of 2nd order sigma delta adc on matlab (simulink) to make high level design and now i want to know how can i get SNR from Simulink model (how to plot SNR). actually, i have an idea that i can get output data from simulink and get SNR in Workspace with equations of schreier toolbox, but i (...)
Actually I wanted to model a comparator for a pipelined 1.5 bit stage adc considering all effects such as delay, rise time , fall time, input referred offset and resolution. How should I start?
I have designed 6 bit adc.can any one please tell me how to use .csv file in matlab for INL,DNL calculation. and How to get IDEAL values for error plot.
i have designed a pipelined adc model in simulink. now i am confused with digital calibration scheme. which language should i prefer? means verilog, verilog-A,matlab function or anything else. which will be the good one so that later on i can implement that model in candence tool. and one more thing how will i integate (...)
hi all i want to design sigmadelta adc i installed sigma delta toolbox (delsig) and insert in to my matlab software toolboxes, but i can not see this tool box among them !! and also i dont know how to work with this toolbox? any guidance very appreciated....
If someone has used Delta Sigma Toolbox (Scherier or Malcovati) for modeling Delta Sigma adc in matlab then kindly I need guidance. I want to model second order Delta Sigma modulator and decimation filter in matlab with non-idealities and couldn't know how to utilize these toolboxes for modeling. Any help (...)
I want to design Delta Sigma adc in matlab but following are few questions/problems, any help/suggestion/guidance will be highly appreciated. 1. Continuous Time Delta Sigma or Discrete Time Delta Sigma. Why ? 2. What MASH adcs are ? Pros and Cons 3. How to use available matlab toolboxes ? any tutorial (...)
Hello friends, I am facing problem in implementing IIR filter. I have determined the coefficient for the first order Butterworth filter using matlab FDATOOL with sampling frequency 2000 Hz and cutoff frequency 100 Hz and used it to filter the AC signal but it isn't working. To implement this I took the adc sample in (...)
Hi everybody, i have a question in dsp where i newer in using it . how can i make a synchronization between an analogue signal entered to dsp kit via internal adc of the dsp and an internal signal generated inside the dsp. where those two signal i make another operation on them. where i designed a PI controller with matlab simulink (...)
hello, my task is that to take frequency at input of adc and after serial communication with matlab and after that i have to take FFT on these bit which will received by serial communication. my question is that when these bits received on matlab com port ,so what is the way to use these bits in my program (...)
I need to record speech using matlab from two different mic connected to my computer at the same time is this option available or not and if not whats your suggestion to me
Hello everyone !!!! I am trying to model a non ideal delta sigma adc in Simulink. Can any one provide me the papers/links which give the Simulink/matlab model of the nonidealities of the multibit quantizer and a mismatch-shaping digital-to-analog converter ????
I need matlab code of pipeline adc to evaluate inl error for some situations such as MDAC gain = 1.9 , 1.98 , 2 , 2.02 , 2.1 (8bit pipeline adc and 14bit pipeline adc - only first stage) Thank you very much.
Hi. I must to design a cyclic adc and after few weeks I found that my comparator has an offset error so I want to test this parameter with Hspice. at first i design a 3-bit flash adc with Hspice but amount of SINAD that matlab show me is incorrect and give me about 22db. can you help me to correct (...)
I have designed the SAR adc of 8 bit with sampling frequency of 1MHz in cadence.For calculating the dynamic performance , i have used code provided by Maxim . for exporting data , i have used the tool called TABLE in cadence and saved as . csv file and for processing , i deleted the time and heading of Table (...)
Hi, We are trying to design a Delta Sigma adc. As you might know, Delta Sigma adc consists of a Delta Sigma Modulator and a filter. We have designed the Delta Sigma modulator using Hspice tool and now we want to design the Sinc3 filter using matlab. Could you kindly help us in (...)
I Have designed the schematic of 8bit SAR adc in cadence . For calculating the INL and DNL of adc, i have used the slow input ramp and the output digital data is recorded in the tabular form in .csv format . As i want to proceed calculation in matlab by using the code provided by maxim but not , please help (...)
hi, i need a help. i want to write a function which simulates an adc (8,10,12,14bits) in matlab. the function gets a vecotr and dnl. can anybody help me , i dont have any idea how to make it.