I'm working on a temporary assignment where I work with a motor and a PID-control. I now have to increase my K-value in order to let the P-action fluctuate. When the P-action changes from a straight line into a nice sinus-shape I get my Pcritical and my Toscillation which I have to use in the Ziegler-Nichols formulas to then adjust the loop.
Now is my question, how do I find out when the P-action becomes a sinus? I thought about rising edges and measuring the time between them but of course there's the problem with transitioning and little oscillations due to the signal being analog.
Thanks in advance
Now is my question, how do I find out when the P-action becomes a sinus? I thought about rising edges and measuring the time between them but of course there's the problem with transitioning and little oscillations due to the signal being analog.
Thanks in advance