Digital control explained

Digital control is a branch of control theory that uses digital computers to act as system controllers.Depending on the requirements, a digital control system can take the form of a microcontroller to an ASIC to a standard desktop computer.Since a digital computer is a discrete system, the Laplace transform is replaced with the Z-transform. Since a digital computer has finite precision (See quantization), extra care is needed to ensure the error in coefficients, analog-to-digital conversion, digital-to-analog conversion, etc. are not producing undesired or unplanned effects.

Since the creation of the first digital computer in the early 1940s the price of digital computers has dropped considerably, which has made them key pieces to control systems because they are easy to configure and reconfigure through software, can scale to the limits of the memory or storage space without extra cost, parameters of the program can change with time (See adaptive control) and digital computers are much less prone to environmental conditions than capacitors, inductors, etc.

Digital controller implementation

A digital controller is usually cascaded with the plant in a feedback system. The rest of the system can either be digital or analog.

Typically, a digital controller requires:

Output program

The programs can take numerous forms and perform many functions

Stability

Although a controller may be stable when implemented as an analog controller, it could be unstable when implemented as a digital controller due to a large sampling interval. During sampling the aliasing modifies the cutoff parameters. Thus the sample rate characterizes the transient response and stability of the compensated system, and must update the values at the controller input often enough so as to not cause instability.

When substituting the frequency into the z operator, regular stability criteria still apply to discrete control systems. Nyquist criteria apply to z-domain transfer functions as well as being general for complex valued functions. Bode stability criteria apply similarly.Jury criterion determines the discrete system stability about its characteristic polynomial.

Design of digital controller in s-domain

The digital controller can also be designed in the s-domain (continuous). The Tustin transformation can transform the continuous compensator to the respective digital compensator. The digital compensator will achieve an output that approaches the output of its respective analog controller as the sampling interval is decreased.

s=

2(z-1)
T(z+1)

Tustin transformation deduction

Tustin is the Padé(1,1) approximation of the exponential function

\begin{align}z&=esT\end{align}

:

\begin{align} z&=esT\\ &=

esT/2
e-sT/2

\\ &

1+sT/2
1-sT/2

\end{align}

And its inverse

\begin{align} s&=

1
T

ln(z)\\ &=

2\left[
T
z-1
z+1

+

1
3

\left(

z-1
z+1

\right)3+

1
5

\left(

z-1
z+1

\right)5+

1
7

\left(

z-1
z+1

\right)7+\right]\\ &

2
T
z-1
z+1

\\ &=

2
T
1-z-1
1+z-1

\end{align}

Digital control theory is the technique to design strategies in discrete time, (and/or) quantized amplitude (and/or) in (binary) coded form to be implemented in computer systems (microcontrollers, microprocessors) that will control the analog (continuous in time and amplitude) dynamics of analog systems. From this consideration many errors from classical digital control were identified and solved and new methods were proposed:

Design of digital controller in z-domain

The digital controller can also be designed in the z-domain (discrete). The Pulse Transfer Function (PTF)

G(z)

represents the digital viewpoint of the continuous process

G(s)

when interfaced with appropriate ADC and DAC, and for a specified sample time

T

is obtained as:[7]

G(z)=

B(z)
A(z)

=

(z-1)Zl(
z
G(s)
s

r)

Where

Z

denotes z-Transform for the chosen sample time

T

. There are many ways to directly design a digital controller

D(z)

to achieve a given specification. For a type-0 system under unity negative feedback control, Michael Short and colleagues have shown that a relatively simple but effective method to synthesize a controller for a given (monic) closed-loop denominator polynomial

P(z)

and preserve the (scaled) zeros of the PTF numerator

B(z)

is to use the design equation:[8]

D(z)=

kpA(z)
P(z)-kpB(z)

Where the scalar term

kp=P(1)/B(1)

ensures the controller

D(z)

exhibits integral action, and a steady-state gain of unity is achieved in the closed-loop. The resulting closed-loop discrete transfer function from the z-Transform of reference input

R(z)

to the z-Transform of process output

Y(z)

is then given by:
Y(z)=
R(z)
kpB(z)
P(z)

Since process time delay manifests as leading co-efficient(s) of zero in the process PTF numerator

B(z)

, the synthesis method above inherently yields a predictive controller if any such delay is present in the continuous plant.

See also

References

Notes and References

  1. http://mtc-m18.sid.inpe.br/col/sid.inpe.br/mtc-m18@80/2008/03.17.15.17.24/doc/mirrorget.cgi?languagebutton=pt-BR&metadatarepository=sid.inpe.br/mtc-m18@80/2009/02.09.14.45.33&index=0&choice=full
  2. Web site: Archived copy . mtc-m05.sid.inpe.br . 12 January 2022 . https://web.archive.org/web/20110706160612/http://mtc-m05.sid.inpe.br/col/sid.inpe.br/deise/1999/09.14.15.39/doc/homepage.pdf . 6 July 2011 . dead.
  3. Web site: An Analytical Approach for Discrete Controllers Design Using a New S-Z Mapping with Two Tuning Parameters . www.sae.org . 27 January 2022 . https://archive.today/20130113082747/http://www.sae.org/technical/papers/2002-01-3468 . 13 January 2013 . dead.
  4. Web site: Archived copy . wiener.kuamp.kyoto-u.ac.jp . 12 January 2022 . https://web.archive.org/web/20110722072133/http://wiener.kuamp.kyoto-u.ac.jp/~yy/Papers/yamamoto_cwi96.pdf . 22 July 2011 . dead.
  5. Book: 0792343948. Dynamic Impulse Systems: Theory and Applications. Zavalishchin. S. T.. Sesekin. A. N.. 28 February 1997. Springer .
  6. Web site: Archived copy . 2009-03-20 . 2022-03-24 . https://web.archive.org/web/20220324031931/https://portal.acm.org/author_page.cfm?id=81100182444&coll=GUIDE&dl=GUIDE&trk=0&CFID=27536832&CFTOKEN=71744014 . dead .
  7. Book: Åström. Karl J.. Computer-Controlled Systems: Theory and Design, Third Edition. Wittenmark. Björn. 2013-06-13. Courier Corporation. 978-0-486-28404-0. en.
  8. Short. Michael. Abugchem. Fathi. Abrar. Usama. 2015-02-11. Dependable Control for Wireless Distributed Control Systems. Electronics. en. 4. 4. 857–878. 10.3390/electronics4040857. free.