Digital control
This article includes a list of general references but lacks sufficient corresponding inline citations. (September 2020) |
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.
History
[edit]Digital control emerged from the development of automatic control, sampled-data theory and digital computing. Its origins pre-date the widespread use of digital computers. Engineers had long used feedback systems to regulate physical processes, but analysing and controlling systems became more complicated when measurements or control signals were available only at particular time intervals rather than continuously.[1][2] In conventional analogue control, signals vary continuously and control actions can be adjusted continuously. In sampled-data systems, measurements are taken at intervals and represented as a sequence of values or pulses. This approach was relevant to systems involving pulsed signals and to applications in which measurements could not be obtained continuously. It also created a mathematical problem: engineers needed to understand how a physical system would behave between measurements and after a control signal had been applied, including the effects of delays in transmission and processing.
The development of sampled-data theory provided methods for analysing these systems and predicting their responses.[1]
Prediction was particularly important where the effects of a control action were delayed. A motor, aircraft or other physical system cannot necessarily respond immediately to a command. Engineers therefore needed mathematical models that could describe the system’s behaviour over time, including the effects of sampling and delay. Such models helped engineers assess stability and determine how a control system should be designed. This did not mean that every controller had to calculate a prediction while operating; prediction was also used in analysing and designing the system in advance.[3]
Several researchers contributed to the development of these methods. In 1947, Witold Hurewicz discussed filters and servo systems with pulsed data in Theory of Servomechanisms.[4] In Britain, Ronald Hugh Barker investigated pulse-monitored servomechanisms and prediction in a report produced at the Signals Research and Development Establishment in 1950.[3] His 1952 paper, “The Pulse Transfer Function and its Application to Sampling Servo Systems”, addressed the mathematical analysis of sampled-data control systems.[5] In the United States, John R. Ragazzini and Lotfi A. Zadeh published “The Analysis of Sampled-Data Systems” in 1952.[6] These publications formed part of a wider international development of mathematical methods for sampled-data control.
The z-transform became an important tool for analysing discrete-time systems, providing a mathematical approach suited to sequences of sampled values and complementing the Laplace-transform methods commonly used for continuous-time systems.[6][7] Ragazzini and Franklin’s Sampled-Data Control Systems (1958) included a table of z-transforms in Appendix I. Its introductory note identifies Barker’s 1950 report and 1952 paper, alongside other publications, among the sources used to construct the table.[7] This documents a connection between Barker’s published work and the wider technical literature on sampled-data control, without establishing that any one researcher was solely responsible for the development of the method.
Digital computers subsequently made it possible to carry out control calculations in software and to update control actions at regular intervals. Early computer-based control was constrained by the size, cost and capabilities of the available machines, so digital control did not simply replace analogue control in a single step. As computer technology developed, programmable controllers became practical for a growing range of applications. The combination of mathematical methods for sampled-data systems and increasingly capable computers helped establish digital control as an important approach to controlling physical processes.[2]
Digital controller implementation
[edit]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:
- Analog-to-digital conversion to convert analog inputs to machine-readable (digital) format
- Digital-to-analog conversion to convert digital outputs to a form that can be input to a plant (analog)
- A program that relates the outputs to the inputs
Output program
[edit]- Outputs from the digital controller are functions of current and past input samples, as well as past output samples - this can be implemented by storing relevant values of input and output in registers. The output can then be formed by a weighted sum of these stored values.
The programs can take numerous forms and perform many functions
- A digital filter for low-pass filtering
- A state space model of a system to act as a state observer
- A telemetry system
Stability
[edit]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
[edit]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.
Tustin transformation deduction
[edit]Tustin is the Padé(1,1) approximation of the exponential function :
And its inverse
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
[edit]The digital controller can also be designed in the z-domain (discrete). The Pulse Transfer Function (PTF) represents the digital viewpoint of the continuous process when interfaced with appropriate ADC and DAC, and for a specified sample time is obtained as:[14]
Where denotes z-Transform for the chosen sample time . There are many ways to directly design a digital controller to achieve a given specification.[14] 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 and preserve the (scaled) zeros of the PTF numerator is to use the design equation:[15]
Where the scalar term ensures the controller 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 to the z-Transform of process output is then given by:[15]
Since process time delay manifests as leading co-efficient(s) of zero in the process PTF numerator , the synthesis method above inherently yields a predictive controller if any such delay is present in the continuous plant.[15]
See also
[edit]References
[edit]- 1 2 Bissell, C. C. (1985). "Modelling sampled-data systems: a historical outline". Transactions of the Institute of Measurement and Control. 7 (3): 159–164.
- 1 2 Bennett, Stuart (2002). "Control and the Digital Computer: The Early Years". IFAC Proceedings Volumes. 35 (1): 237–242. doi:10.3182/20020721-6-ES-1901.01430.
- 1 2 Barker, R. H. (1950). The Theory of Pulse-monitored Servos and Their Use for Prediction (Report). Christchurch, Hampshire: Signals Research and Development Establishment.
- ↑ Hurewicz, Witold (1947). "Filters and Servo Systems with Pulsed Data". Theory of Servomechanisms.
- ↑ Barker, R. H. (1952). "The Pulse Transfer Function and its Application to Sampling Servo Systems". Proceedings of the Institution of Electrical Engineers. Part IV (Monograph 43): 302–317.
- 1 2 Ragazzini, John R.; Zadeh, Lotfi A. (1952). "The Analysis of Sampled-Data Systems". Transactions of the American Institute of Electrical Engineers, Part II: Applications and Industry. 71 (5): 225–234. doi:10.1109/TAI.1952.6371274.
- 1 2 Ragazzini, John R.; Franklin, G. F. (1958). "Appendix I". Sampled-Data Control Systems. McGraw-Hill.
- ↑ "Referência Completa". mtc-m18.sid.inpe.br. Archived from the original on March 5, 2012.
- ↑ "Discrete attitude control of artificial satellites with flexible appendages" (PDF). mtc-m05.sid.inpe.br. Archived from the original (PDF) on 6 July 2011. Retrieved 12 January 2022.
- ↑ "An Analytical Approach for Discrete Controllers Design Using a New S-Z Mapping with Two Tuning Parameters". www.sae.org. Retrieved 27 January 2022.
{{cite web}}: CS1 maint: deprecated archival service (link) - ↑ Yamamoto, Yutaka (1996). "A Retrospective View on Sampled-Data - Control Systems" (PDF). Kyoto University. Archived from the original (PDF) on 22 July 2011. Retrieved 12 January 2022.
- ↑ Zavalishchin, S. T.; Sesekin, A. N. (28 February 1997). Dynamic Impulse Systems: Theory and Applications. Springer. ISBN 0792343948.
- ↑ "Author page". Association for Computing Machinery. Retrieved 2009-03-20.[permanent dead link]
- 1 2 Åström, Karl J.; Wittenmark, Björn (2013-06-13). Computer-Controlled Systems: Theory and Design, Third Edition. Courier Corporation. ISBN 978-0-486-28404-0.
- 1 2 3 Short, Michael; Abugchem, Fathi; Abrar, Usama (2015-02-11). "Dependable Control for Wireless Distributed Control Systems". Electronics. 4 (4): 857–878. doi:10.3390/electronics4040857.
- FRANKLIN, G.F.; POWELL, J.D., Emami-Naeini, A., Digital Control of Dynamical Systems, 3rd Ed (1998). Ellis-Kagle Press, Half Moon Bay, CA ISBN 978-0-9791226-1-3
- KATZ, P. Digital control using microprocessors. Englewood Cliffs: Prentice-Hall, 293p. 1981.
- OGATA, K. Discrete-time control systems. Englewood Cliffs: Prentice-Hall,984p. 1987.
- PHILLIPS, C.L.; NAGLE, H. T. Digital control system analysis and design. Englewood Cliffs, New Jersey: Prentice Hall International. 1995.
- M. Sami Fadali, Antonio Visioli, (2009) "Digital Control Engineering", Academic Press, ISBN 978-0-12-374498-2.
- JURY, E.I. Sampled-data control systems. New-York: John Wiley. 1958.