+ Post New Thread
Results 1 to 7 of 7
  1. #1
    Junior Member level 1
    Points: 1,149, Level: 7

    Join Date
    Dec 2006
    Posts
    18
    Helped
    0 / 0
    Points
    1,149
    Level
    7

    matlab delta sigma

    I have a confusion involves the SNR comparison of DSM simulated in MATLAB and VA. In MATLAB, I can get the theoretical maximum SNR (88dB) using transfer function blocks and quantizer block. But in VA, it gave me 68dB (I used the laplace transfer function in VA to create my loop filters, and quantizers and DAC are 16 levels). I don't understand why they don't match since I don't have any non-idealities in my VA models.

    Thanks

    •   AltAdvertisment

        
       

  2. #2
    Advanced Member level 4
    Points: 11,124, Level: 25
    Achievements:
    7 years registered
    safwatonline's Avatar
    Join Date
    Nov 2005
    Location
    EGYPT
    Posts
    1,347
    Helped
    220 / 220
    Points
    11,124
    Level
    25

    delta sigma verilog

    Maybe simulation settings like reltol, abstol ,etc



  3. #3
    Junior Member level 1
    Points: 1,149, Level: 7

    Join Date
    Dec 2006
    Posts
    18
    Helped
    0 / 0
    Points
    1,149
    Level
    7

    matlab verilog

    how is it possible that those settings are enuf to chop 20dB off!?!?

    Thanks



    •   AltAdvertisment

        
       

  4. #4
    Junior Member level 3
    Points: 1,514, Level: 8

    Join Date
    Jul 2007
    Posts
    28
    Helped
    6 / 6
    Points
    1,514
    Level
    8

    function sigma matlab

    matlab is better and it has toolsbox



  5. #5
    Junior Member level 1
    Points: 1,149, Level: 7

    Join Date
    Dec 2006
    Posts
    18
    Helped
    0 / 0
    Points
    1,149
    Level
    7

    matlab verilog a

    ya but i wanna model some non-idealities which MATLAB cannot do......



  6. #6
    Newbie level 4
    Points: 1,198, Level: 7

    Join Date
    Apr 2009
    Posts
    5
    Helped
    0 / 0
    Points
    1,198
    Level
    7

    delta-sigma verilog

    you can model non-idealities like clock jitters and limited opamp gain using SDToolbox

    http://www.mathworks.com/matlabcentr...eexchange/7589



    •   AltAdvertisment

        
       

  7. #7
    Advanced Member level 3
    Points: 9,034, Level: 22
    rfsystem's Avatar
    Join Date
    Feb 2002
    Location
    Germany
    Posts
    914
    Helped
    148 / 148
    Points
    9,034
    Level
    22

    sigma in matlab

    Matlab error is simple 64bit IEEE-754 numeric. If you use some functions in matlab the error control is "eps"

    type eps=2.22e-16

    That is typical much tighther than what simulator implement. But set reltol to eps of matlab could fail because most spice relevant models are calculated in 64bit floating point but sometimes with hard coded accuracy or the numerical presiscion is lost by some orders by the implicite routines. So failure in convergence is the result.



--[[ ]]--