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.

Transient measurements in HSPICE

Status
Not open for further replies.

rmanalo

Advanced Member level 4
Joined
Feb 8, 2017
Messages
107
Helped
16
Reputation
32
Reaction score
16
Trophy points
18
Location
Philippines
Activity points
979
Hello everyone,

I recently designed a high PSRR voltage reference circuit with a self-regulating feedback network. I then derived the transfer function from supply to output and I got my calculations to be 146 dB. I simulated this in AC analysis and is indeed around 140 dB at 100 Hz. I then added a sinusoidal wave with 18 mVpp 100Hz at the supply and measured the corresponding output using the .meas command was 82.3 nVpp. In the simulation graph shows only a traight line. The measured PSRR [20*log10(Voutpp/Vsupplypp)] was only -106 dB.

I again added the same sinusoidal wave but with 10 MHz and measured the output. Now at 10 MHz the PSRR from AC simulation and Transient Simulation did match. I'm concerned regarding the PSRR at 100 Hz. Do you think this is a limitation of the simulator (like the minimum voltage steps or something?). Here are the simulation plots.

PSRR.PNGRipple.jpg
 

Only .option post

I did looked into increasing accuracy from the HSPICE Manual and added a few additional commands.

Code:
.option ABSVDC=1e-12
.option ABSTOL=1e-12
.option ABSI=1e-12

The measured output was 46.6 nVpp which is equivalent to -111.7 dB PSRR. Not close to 140 dB in AC analysis. What should I change?
 

There are more options relevant for transient analysis accuracy, e.g. ABSV. But what is your simulation good for?
 

Set .option runlvl=6 RELTOL=1e-6

Observe signal via VCVS with -244.5mvolts.
It could relax rquirement of relative accuracy.
 
Last edited:
But what is your simulation good for?

It's for verification. I was tasked to show that AC analysis and transient simulations matched with regards to PSRR.

- - - Updated - - -

Observe signal via VCVS with -244.5mvolts.

Thank you for your input. If my understanding is correct, the purpose of the VCVS is to amplify the output?
 

Last edited:
Observe Vout - 244.5mvolt via VCVS.

I don't know how to implement 244.5 mV via VCVS. Is it something like:

Code:
E1 Vout gnd Vr gnd -1   $where Vr is 244.5 mV? because if so, then why not use Vr directly?

I did however made an alternative. I put the entire circuit into a subcircuit and called each with one having a dc with superimposed sinusoidal voltage at the supply and the other without. Then plotted the result.

Code:
X1 Vdd1 Vref1 voltref
X2 Vdd2 Vref2 voltref

Vdd1	Vddb	gnd	0.95
Vddb	Vdd1	Vddb	0 Sin(0 9m freq)
Vdd2	Vdd2 gnd 0.95

.option post
.option RUNLVL=6 RELTOL=1e-6

output.PNG

Thoughts on this method? The result however is still the same and still did not match having only -106 dB.
 

Observe n2 instead of out.

Thank you for your help.

here is the output.
output.PNG

Interestingly it is similar to that of the previous. The accuracy however did not change and still got around 82 nVpp corresponding to a PSRR of 106 dB. I got the hint with the reltol and absv. I'll explore other option commands with this.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top