Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to set OSR in simulink design of a delta-sigma ADC

Status
Not open for further replies.

naalald

Full Member level 4
Joined
Dec 2, 2006
Messages
216
Helped
30
Reputation
54
Reaction score
5
Trophy points
1,298
Activity points
2,627
Hi,
I want to know how to set the OSR in simulink design of a delta-sigma ADC.
I think the best way is to use the sample time of the block. The two blocks that are important to set their sample time, are the input sine wave block and the discrete-time integrator block. Now how should we set their sample time?
With the input frequency fin, and the Oversamplig Ratio OSR, which one of the values below right?

sine wave block sample time = 0 (continuous-time)
discrete-time integrator block sample time = 1/(2*fin*OSR)
other blocks sample time = -1

or

sine wave block sample time = 1/(2*fin*OSR)
discrete-time integrator block sample time < 1/(2*fin*OSR)
other blocks sample time = -1

Any suggestions?
 

the sample time of all block should be set the sampling time 1/fs of your modulator, and the input frequency fin is set in the input sine wave block with fin<fs/(2*osr). the osr is embodied in calculating snr and setting the decimation rate of digital filter.
 

    naalald

    Points: 2
    Helpful Answer Positive Rating
naalald said:
Hi,
I want to know how to set the OSR in simulink design of a delta-sigma ADC.
I think the best way is to use the sample time of the block. The two blocks that are important to set their sample time, are the input sine wave block and the discrete-time integrator block. Now how should we set their sample time?
With the input frequency fin, and the Oversamplig Ratio OSR, which one of the values below right?

sine wave block sample time = 0 (continuous-time)
discrete-time integrator block sample time = 1/(2*fin*OSR)
other blocks sample time = -1

or

sine wave block sample time = 1/(2*fin*OSR)
discrete-time integrator block sample time < 1/(2*fin*OSR)
other blocks sample time = -1

Any suggestions?

sine wave block sample time = 0 (continuous-time)
discrete-time integrator block sample time = 1/(2*fin*OSR)
other blocks sample time = -1
 

Hi,
Thank you jiangxb and northeast1,
Both of them are right:
sine wave block sample time = 0 (continuous-time) or 1/(2*fin*OSR)
discrete-time integrator block sample time = 1/(2*fin*OSR)
other blocks sample time = -1
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top