+ Post New Thread
Results 1 to 10 of 10
  1. #1
    Member level 2
    Points: 1,645, Level: 9
    ehsan_r34's Avatar
    Join Date
    Apr 2007
    Posts
    42
    Helped
    1 / 1
    Points
    1,645
    Level
    9

    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

  2. #2
    Junior Member level 2
    Points: 913, Level: 6

    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/



    •   Alt2nd September 2008, 17:49

      advertising

        
       

  3. #3
    Member level 2
    Points: 1,645, Level: 9
    ehsan_r34's Avatar
    Join Date
    Apr 2007
    Posts
    42
    Helped
    1 / 1
    Points
    1,645
    Level
    9

    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.



    •   Alt3rd September 2008, 12:13

      advertising

        
       

  4. #4
    Junior Member level 2
    Points: 913, Level: 6

    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/



    •   Alt3rd September 2008, 17:23

      advertising

        
       

  5. #5
    Member level 2
    Points: 1,645, Level: 9
    ehsan_r34's Avatar
    Join Date
    Apr 2007
    Posts
    42
    Helped
    1 / 1
    Points
    1,645
    Level
    9

    adc in matlab

    Thank you very much
    It,s good specially your simulation.
    But why the integrator isn't continus time? (1/s)



  6. #6
    Junior Member level 2
    Points: 913, Level: 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.



  7. #7
    Junior Member level 2
    Points: 1,411, Level: 8

    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



  8. #8
    Member level 2
    Points: 1,645, Level: 9
    ehsan_r34's Avatar
    Join Date
    Apr 2007
    Posts
    42
    Helped
    1 / 1
    Points
    1,645
    Level
    9

    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?



  9. #9
    Member level 2
    Points: 1,645, Level: 9
    ehsan_r34's Avatar
    Join Date
    Apr 2007
    Posts
    42
    Helped
    1 / 1
    Points
    1,645
    Level
    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!!



  10. #10
    Full Member level 1
    Points: 1,650, Level: 9

    Join Date
    Sep 2008
    Posts
    98
    Helped
    2 / 2
    Points
    1,650
    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.



+ Post New Thread
Please login