Hi dear people,
I’m simulating a control system (with a PID regulator) with LTSPICE ver.4.21, and I’m trying to optimize. For each simulation I want to calculate the 5% settling time. I’ve found the .measure instruction inside a script file, but I can’t understand how it works. Is it possible to define a range of values (285-315) and calculate the time to enter in it without came out? The command
.MEAS TRAN SettlingTime5pc FIND V(Uscita) WHEN (V(Uscita)=285 || V(Uscita)=315) cross=last
doesn’t work. How can I define a range?