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.

sigma delta modulator design in verilog-A

Status
Not open for further replies.

micro designer

Junior Member level 2
Joined
Mar 23, 2011
Messages
23
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,432
iam working on the verilog-A modeling of first and second order DT sigma delta modulator in synopsys custom designer.
verilog-A code for filter is shown below :

module filter(vin,vout);
input vin;
output vout;
electrical vin, vout;
parameter real n0 = 1.0;
parameter real T = 7.8125e-7 from (0:inf);
parameter real t = 2n from (0:inf);
parameter real d0 = 1.0;
parameter real d1 = -1.0;

analog begin
V(vout) <+ zi_nd (V(vin) , {n0} ,{d0, d1},T );
end



schematic is here schematic.jpeg
first order sdm is working properly as shown in the figureinput-output.png
but when the second order sdm is simulated the output is negative Vmax ie 0.8 V in this case. The filter outputs are going in one direction only as shown here View attachment filter1_out.pdf View attachment filter2_out.pdf instead of filter_out.png in case of first order sdm.

Can anybody help me to understand this problem. Is it required to add saturation blocks after the filter to limit their outputs ?

Thank you
 

Your modulator is unstable, the first filter output is going up as high as 50k. You should not put saturation blocks as a stable modulator should
limit the outputs of the filter.

You are already using delaying integrators in your loopfilter i.e 1/(1-z) = z^-1 / (z^-1 - 1) so you don't need an extra delay in your feedback path.
I would guess that this extra delay is causing the instability. Otherwise check the timing carefully.
 
thanks for reply. But the thing is that iam not using delaying integrators it is modeled as 1/(1-(z^-1)) and in first order sdm it is working ok but in second order the modulator is unstable. So please anyone clarify the doubt and suggest solutions.
 

I see only positive feedback in the schematic. Why the circuit should be stable?

To be able to compare the coefficients of your circuit with second order SDM from literature, you should use a standard topology with "delaying" integrator, I think.
 

actually the output of the sum block is the difference of the input signals i just named it as a SUM block and even when the delaying integrator is used the output is not correct.
I have implemented the same circuit in MATLAB and it is working fine so what could be the fault in the verilog-A model ?
 

has no one done modeling of sdm in verilog-A ???\
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top