I have implement a close-loop control in order to perform the tracking of the desired signal R. The basic scenario shall be summarized as follow:
I have to evaluate the performance of my control G with a moving average value of the Error E.
When there is no transient the error E shall be less then a certain threshold.
But, how to relax the threshold during transient ?
- Frequency of R is limit to 2 HZ
- Rising time is 200ms
- Control G has a 1 Hz band (but this is not a problem)
- I can acquire R E U and Y
- Real-time FFT of R is not possible during execution.
My idea is to find a threshold as function of r signal which is small when reference is stationary (constants from at least 200 ms) and high when the reference is fast changing.
Thank you all