Chapitre 1_Control of Linear Dicrete Time Systems
Chapitre 1_Control of Linear Dicrete Time Systems
CHAPTER ONE
STRUCTURE OF DIGITAL CONTROL SYSTEM
1.1 Introduction
Rapid advances in digital system technology have radically altered the control system design
It has become routinely practicable to design very complicated digital controllers and to carry
out the extensive calculations required for their design. These advances in implementation and
design capability can be obtained at low cost because of the widespread availability of
inexpensive and powerful digital computers and their related devices.
A digital control system uses digital hardware, usually in the form of a programmed digital
computer, as the heart of the controller. A typical digital controller has analog components at
its periphery to interface with the plant. It is the processing of the controller equations that
distinguishes analog from digital control.
The signals used in the description of digital control systems are termed discrete-time
signals. Discrete time signals are defined only for discrete instants of time, usually at evenly
spaced time steps. Discrete-time computer-generated signals have discrete (or quantized)
amplitudes and thus attain only discrete values. Figure 1.1 shows a continuous amplitude signal
that is represented by a 3-bit binary code at evenly spaced time instants. In general, an n-bit
binary code can represent only 2n different values. Because of
the complexity of dealing with quantized signals, digital control system design proceeds as if
the signals involved are not of discrete amplitude. Further analysis usually must be performed
to determine whether the proposed level of quantization is acceptable.
1
CHAPITER ONE STRUCTURE OF DIGITAL CONTROL SYSTEM
In Figure 1.2 is a real-time clock that synchronizes the actions of the A/D, D/A, and shift
registers is not shown. Of course, there are many variations on this basic theme, including
situations where the signals of the analog sensors are sampled at different sampling periods and
2
CHAPITER ONE STRUCTURE OF DIGITAL CONTROL SYSTEM
where the system has many controllers with different sampling periods. Other examples include
circumstances where:
- the A/D and D/A are not synchronized;
- the sampling rate is not fixed;
- the sensors produce digital signals directly;
- the A/D conversion is different from sample and hold;
- the actuators accept digital commands.
1.3 Advantages of digital control
Digital control offers distinct advantages over analog control such as:
Accuracy: Digital signals are represented in terms of zeros and ones with typically 12 bits or
more to represent a single number. This involves a very small error as compared to continuous
signals, where noise and power supply drift are always present.
Implementation errors: Digital processing of control signals involves addition and
multiplication by stored numerical values. The errors that result from digital representation and
arithmetic are negligible. By contrast, the processing of analog signals is performed using
components such as resistors and capacitors with actual values that vary significantly from the
nominal design values.
Flexibility: An analog controller is difficult to modify or redesign once implemented in
hardware. A digital controller is implemented in firmware or software and its modification
is possible without a complete replacement of the original controller. Furthermore, the structure
of the digital controller need not follow one of the simple forms that are typically used in analog
control. More complex controller structures involve a few extra arithmetic operations and are
easily realizable.
Speed: The speed of computer hardware has increased exponentially since the 1980s. This
increase in processing speed has made it possible to sample and process control signals at very
high speeds. Because the interval between samples, the sampling period, can be made very
small, digital controllers achieve performance that is essentially the same as that based on
continuous monitoring of the controlled variable.
Cost: Although the prices of most goods and services have steadily increased, the cost of digital
circuitry continues to decrease. Advances in semiconductor technology have made it possible
to manufacture better, faster, and more reliable integrated circuits and to offer them to the
consumer at a lower price. This has made the use of digital controllers more economical even
for small, low-cost applications.
3
CHAPITER ONE STRUCTURE OF DIGITAL CONTROL SYSTEM
Figure 1.3: Drug delivery digital control system. (A) Schematic of a drug delivery
system. (B) Block diagram
4
CHAPITER ONE STRUCTURE OF DIGITAL CONTROL SYSTEM
Figure 1.4: Turbojet engine control system. (A) F-22 military fighter aircraft.
(B) Block diagram of an engine
1.5 A/D and D/A conversions
Although compensators are becoming digital, most plants are still analog. In order to connect
digital controllers and analog plants, analog signals must be converted into digital signals and
vice versa. These conversions can be achieved by using analog-to-digital (A/D) and digital-to
analog (D/A) converters. We discuss how these conversions are achieved.
Consider the operational amplifier circuit shown in figure 1.5. It is essentially the output of
this circuit is given by
5
CHAPITER ONE STRUCTURE OF DIGITAL CONTROL SYSTEM