Continuous Control System to Digital Control System
Assume the transfer function is given by
D(s)=E(s)U(s)=K0s+bs+a
u(k)=(1−bT)u(k−1)+K0(aT−1)E(k−1)+K0e(k)
The corresponding z-transform
E(z)U(z)=1+(bT−1)z−1K0(aT−1)z−1+K0=z+(bT−1)K0z+K0(aT−1)=[K0(aT−1)+zK0]/[z+(bT−1)]
example: Given D(s)=s+aa, u(kT)=u(k)
U(s)(s+a)=aE(s) (Laplace transform) gives Tu(k+1)−u(k)+au(k)=ae(k)
difference equation is u(k+1)=(1−aT)u(k)+aTe(k)
z-transform is E(z)U(z)=1+(aT−1)z−1aTz−1=z+(aT−1)aT
discrete equivalent
Consider the example
D(s)=E(s)U(s)=s+aa→U(s)s=aE(s)−aU(s)→u′(t)=−au(t)+ae(t)
u(t)=∫0t[−au(τ)+ae(τ)]dτ
u(kT)=u(kT−T)+∫kT−TkT[−au(τ)+ae(τ)]dτ
We can use the following approximation methods for the second term from D(z) to D(s)
D(s) | rule | z-transfer function D(z) | approximation | z-plane to s-plane | stability |
---|
s+aa | forward | (z−1)/T+aa | s←Tz−1 | z←sT+1 | discrete → continuous |
s+aa | backward | (z−1)/(Tz)+aa | s←Tzz−1 | z←1−Ts1 | discrete ← continuous |
s+aa | trapzoid | (2/T)[(z−1)/(z+1)]+aa | s←T2z+1z−1 | z←1−Ts/21+Ts/2 | discrete ↔ continuous |