SPICE question

Special K

Diamond Member
Jun 18, 2000
7,098
0
76
I have searched already but for some reason cannot find what I am looking for. I want to measure the voltage of a particular circuit node at a particular time during a transient simulation by using a .MEAS statement. How exactly would I do this?
 

esun

Platinum Member
Nov 12, 2001
2,214
0
0
I believe TD=# is used for an initial delay (i.e., if you're doing a transient and want to measure the rise time after a certain number of cycles, you may use TD=10ns).

I just tried this and it seems to work:

.MEASURE <DC|TRAN|AC> result FIND out_var1 AT=val

For example, if I want to measure the voltage at node vout at time t=10ms, I would write:

.MEASURE TRAN vout_at_10ms FIND v(vout) AT=10ms
 

Special K

Diamond Member
Jun 18, 2000
7,098
0
76
Originally posted by: esun
I believe TD=# is used for an initial delay (i.e., if you're doing a transient and want to measure the rise time after a certain number of cycles, you may use TD=10ns).

I just tried this and it seems to work:

.MEASURE <DC|TRAN|AC> result FIND out_var1 AT=val

For example, if I want to measure the voltage at node vout at time t=10ms, I would write:

.MEASURE TRAN vout_at_10ms FIND v(vout) AT=10ms

Thanks, this works for me.