Digital Control Systems
Digital Control Systems
TOPIC FOUR
DIGITAL CONTROL SYSTEMS
Digital control systems
A digital control system model can be viewed from different perspectives including control
algorithm, computer program, conversion between analog and digital domains, system
performance etc. The most important aspects is the sampling process level. In continuous time
control systems, all the system variables are continuous signals. Whether the system is linear or
nonlinear, all variables are continuously present and therefore known at all times. A continuous
time control system is shown in Figure below.
In a digital control system, the control algorithm is implemented in a digital computer. The error
signal is discretized and fed to the computer by using an A/D (analog to digital) converter. The
controller output is again a discrete signal which is applied to the plant after using a D/A (digital
to analog) converter. General block diagram of a digital control system is shown in Figure
below. The values of error, e(t) is sampled at intervals of time, T. In the context of control and
communication, sampling is a process by which a continuous time signal is converted into a
sequence of numbers at discrete time intervals. It is a fundamental property of digital control
systems because of the discrete nature of operation of digital computer.
Digital electronics are electronics that represent signals by discrete bands of analoglevels, rather
than by continuous range. All levels within a band represent the same signal state. Digital
56
.
techniques are useful because it is easier to get an electronic device to switch into one of a
number of known states than to accurately reproduce a continuous range of values. A sequential
system is a combinational system with some of the outputs fed back as inputs. This makes the
digital machine perform a "sequence" of operations. The simplest sequential system is a
mechanism that represents a binarydigit or "bit". Sequential systems divide into two further
subcategories. "Synchronous" sequential systems change state all at once, when a "clock" signal
changes state. "Asynchronous" sequential systems propagate changes whenever inputs change.
Synchronous sequential systems are made of well-characterized asynchronous circuits such as
flip-flops that change only when the clock changes and which have carefully designed timing
margins. To implement a synchronous sequential state machine is to divide it into a piece of
combinational logic and a set of flip flops called a "state register’. Each time a clock signal ticks,
the state register captures the feedback generated from the previous state of the combinational
logic and feeds it back as an unchanging input to the combinational part of the state machine.
The fastest rate of the clock is set by the most time-consuming logic calculation in the
combinational logic. Many systems need circuits that allow external unsynchronized signals to
enter synchronous logic circuits. These are inherently asynchronous in their design and must be
analyzed as such. Examples of widely used asynchronous circuits include synchronizer flip-
flops, switch de-bouncers and arbiters.
Alarms
One-alarm, two-alarm, three-alarm fires, are categories of fires indicating the level of response
by local authorities with an elevated number of alarms indicating increased commitment of
resources. The term multiple-alarm is a quick way of indicating that a fire was severe and
difficult to contain. The multi-alarm designation is based on the number of units responding to a
fire; the more vehicles and firefighters responding, the higher the alarm designation. With this
unit/firefighter alarm designation, the initial dispatch is referred to as a "first alarm" and is the
largest. Subsequent alarms are calls for additional units.
57
.
be a multi-channel data collection instrument equipped with one or more external sensors.Some
data loggers interface with a personal computer and utilize software to activate the data logger
and view and analyze the collected data, while others have a local interface device (keypad,
LCD) and can be used as a stand-alone device.
Applications
58
.
The Multiplexer
The multiplexer, (“MUX” or “MPX”), is a combinational logic circuit designed to switch one of
several input lines through to a single common output line by the application of a control signal.
Multiplexers operate like very fast acting multiple position rotary switches connecting or
controlling multiple input lines called “channels” one at a time to the output. They can be digital
circuits made from high speed logic gates used to switch digital or binary data or they can be
analogue types using transistors and relays to switch one of the voltage or current inputs through
to a single output.
59
.
Multiplexing
Multiplexing is a term used to describe the operation of sending one or more analogue or digital
signals over a common transmission line at different times or speeds. The device used is called a
Multiplexer. The most basic type of multiplexer device is that of a one-way rotary switch as
shown below.
Multiplexers are also known as data selectors because they can “select” each input line. They are
used as one method of reducing the number of logic gates required in a circuit design or when a
single data line or data bus is required to carry two or more different digital signals. The
selection of each input line in a multiplexer is controlled by an additional set of inputs called
control lines and according to the binary condition of these control inputs, either “HIGH” or
“LOW” the appropriate data input is connected directly to the output. A multiplexer has an even
number of 2N data input lines and a number of “control” inputs that correspond with the number
of data inputs.
We can increase the number of data inputs to be selected further simply by following the same
60
.
procedure and larger multiplexer circuits can be implemented using smaller 2-to-1 multiplexers
as their basic building blocks. So for a 4-input multiplexer we would therefore require two data
select lines as 4-inputs represents 22 data control lines give a circuit with four inputs, I0, I1, I2, I3
and two data select lines A and B as shown.
In this example at any one instant in time only ONE of the four analogue switches is closed,
connecting only one of the input lines A to D to the single output at Q. As to which switch is
closed depends upon the addressing input code on lines “a” and “b“, so for this example to
select input B to the output at Q, the binary input address would need to be “a” = logic “1” and
“b” = logic “0”.
Multiplexers are not limited to switching a number of different input lines or channels to one
61