I have a question on a noise phenomenon in PD control. The given system is just
x''=k*(xd-x)-d*x' (1)
where x
is the state variable like displacement, xd
is the desired state (set point), the superscript (') is the time derivative of the variable, and k
& d
are the PD gains, respectively.
I'm using Euler method to solve equation (1) in real time.
The question is that the PD control in equation (1) causes a noise if xd
is controlled MANUALLY.
If xd
is generated automatically from a sine function, the PD control works very well without noise trouble. Of course, various functions such as sin(t)cos(t)
, sin^2(t)
, and sin(2t)
also works well regardless of their complexity.
If I use a control like dial or slider in the front end, however, PD control term causes terrible noise. I do not know why this noise occurs. Is there anyone who can help me?