- 2nd September 2008, 12:23 #1
## simulink adc

Hi everyone,

I want to simulate an integrating ADC with matlab simulink. Please help me how should I model the comparator,integrator and control logic?

Thanks

- 2nd September 2008, 12:23

- 2nd September 2008, 17:49 #2

- Join Date
- Aug 2008
- Posts
- 20
- Helped
- 5 / 5
- Points
- 913
- Level
- 6

## adc matlab

I answered your query at my blog. See:

http://www.circuitdesign.info/2008/0...model-scripts/

- 3rd September 2008, 12:13 #3
## adc simulink

Thanx

But this program is a Sigma Delta ADC.

Please explain for me how should I model a counter that count the time of integration?

step 1: Vin connect to Integrator for a defined time.

step 2: -Vref connect to Integrator & counter start counting until the output of integator go to Zero.

- 3rd September 2008, 12:13

- 3rd September 2008, 17:23 #4

- Join Date
- Aug 2008
- Posts
- 20
- Helped
- 5 / 5
- Points
- 913
- Level
- 6

## matlab adc

Sorry: I misunderstood your question. I thought you meant sigma-delta (for some reason), but I realize now you really had said integrating ADC.

So, in this case, you are integrating the input. You compare the result of the integration to a reference value. When the result trips the reference value, you reset the integrator (with a single-slope ADC).[1] You count the times in-between integrator resets to determine the digitized value.

I'll see if I can whip something up to help you.

References

[1] http://www.maxim-ic.com/appnotes.cfm...e_number/1041/

Added after 1 hours 55 minutes:

http://www.circuitdesign.info/2008/0...tlab-simulink/

- 3rd September 2008, 17:23

- 4th September 2008, 09:12 #5
## adc in matlab

Thank you very much

It,s good specially your simulation.

But why the integrator isn't continus time? (1/s)

- 4th September 2008, 22:54 #6

- Join Date
- Aug 2008
- Posts
- 20
- Helped
- 5 / 5
- Points
- 913
- Level
- 6

## analog to digital converter in matlab

It

**is**continuous-time (1/s). It also has a reset on it.

- 6th September 2008, 08:17 #7

- Join Date
- Sep 2005
- Posts
- 23
- Helped
- 4 / 4
- Points
- 1,411
- Level
- 8

## adc in simulink

Using veriloga to model is a good choice

- 12th September 2008, 18:04 #8
## simulink analog to digital converter

OK. Now I want to add an error to integrator such as opamp offset or saturation level.

What can I do?

- 20th September 2008, 23:22 #9
## matlab simulink adc

if I want to work with R and C model or other elements (in simscaps ;Electrical elements) in simulink, then How should I see the output?

The scope dosen't work!!

- 24th September 2008, 06:19 #10

- Join Date
- Sep 2008
- Posts
- 100
- Helped
- 3 / 3
- Points
- 1,705
- Level
- 9

## adc using simulink

Any one has the idea how to implement Dual band GSM jammer in Matlab Simulink.

Bands are: GSM 900 & GSM 1800.