Is there a specific syntax in Hspice for measuring the settling time of the circuit. . . What are the requirements in measuring the settling time of an IC? Please elaborate your explanations I'm just a newbie in using Hspice.
Thank you. . .
I don't think there are any special commands for measuring settling time. You just perform a transient response and measure the time from the output waveform as referenced to the circuit input waveform.
The requirements for measuring settling time are whatever you make them. It's usually to within some small percent of the final value (such as 0.1% or 0.01%, etc.).
1. To measure settling time, you have to measure 2 event times: the begin (stimulus) and the end (time of satisfactory result); settling time is the difference between these 2 events = time points.
2. You can't ask it for an event time with an inequation: I(mnload) = '0.01*I(mnload)'
If I(mnload) is the current parameter to find the end time point, you first have to define a parameter for -- say -- a max. of this load current, e.g.
Code:
.param Imnloadmax = 1.0e-3 A # and then:
.meas tran t_result when I(mnload) = '0.01*Imnloadmax'
3. If there are more than 1 transitions in your transient analysis, you have to tell the .meas statement, at which edge (e.g. RISE=1 ; FALL=2) it should take the measurement.
Thanks I helped a lot. . . I could also try to measure it in avanwaves. Another question is how can I determine which is the point where the output reached its final value based from the graph below. The graphed below is the mirrored current from the sensor.
A settling time is normally defined as the time it takes a signal to 'settle' to within a specified percentage (usually a very small percentage) of its steady state value after a step change if a specific amount (usually a large value). So, unless you have a different definition, you need to be applying a large step input.
If you are measuring the settling time of a circuit from power-on then yes, use a pulse for the VDD source. You will also need to define the power supply rise time.
what if I'm measuring the settling time of a mirrored current from the sensor? will I still use pulse as VDD source? or should I connect it somewhere else in the circuit.