(Control) Derivative filter and discrete model

0 replies · 3K views
Leo Liu
Messages
353
Reaction score
156
Hi I am back :).

I have been doing some Simulink modeling for a project. I modeled it with a discrete system due to the controller rate. I have noticed that for all the discrete system I have tried, adding a derivative filter not only improves the performance (smaller settling time), but it is sometimes also necessary.

The following example involving a discrete PID and a 2nd order discrete transfer function illustrates the behaviour:
Simulink block diagram of a unity feedback loop: a step input feeds a summing junction, then a PID(z) block, then a Discrete Transfer Fcn block num(z)/den(z), with the output fed to a scope and back to the summing junction.

Autotune with no derivative filter N:
Simulink Scope window plotting a step response: output rises from 0 after t=0.1 toward about 0.97 at t=3, with a thick band of noise-like oscillation at the top of the curve after about t=1.8.

Autotune with derivative filter N:
Simulink Scope output showing a step response that rises from 0 at t=0 to a steady value of 1 by about t=8, with axes labeled 0 to 10 on the horizontal and 0 to 1 on the vertical.


I was wondering why such a behaviour would occur. Also, should I model the transfer function as discrete or continuous system for a physical system like F=ma? Any input will be appreciated.