digital control


digital control

[′dij·əd·əl kən′trōl] (control systems) The use of digital or discrete technology to maintain conditions in operating systems as close as possible to desired values despite changes in the operating environment.

Digital control

The use of digital or discrete technology to maintain conditions in operating systems as close as possible to desired values despite changes in the operating environment. Traditionally, control systems have utilized analog components, that is, controllers which generate time-continuous outputs (volts, pressure, and so forth) to manipulate process inputs and which operate on continuous signals from instrumentation measuring process variables (position, temperature, and so forth). In the 1970s, the use of discrete or logical control elements, such as fluidic components, and the use of programmable logic controllers to automate machining, manufacturing, and production facilities became widespread. In parallel with these developments has been the accelerating use of digital computers in industrial and commercial applications areas, both for logic-level control and for replacing analog control systems. The development of inexpensive mini- and microcomputers with arithmetic and logical capability orders of magnitude beyond that obtainable with analog and discrete digital control elements has resulted in the rapid substitution of conventional control systems by digital computer-based ones. With the introduction of microcomputer-based control systems into major consumer products areas (such as automobiles and video and audio electronics), it is clear that the digital computer will be widely used to control objects ranging from small, personal appliances and games up to large, commercial manufacturing and production facilities. See Microcomputer, Programmable controllers

The object that is controlled is usually called a device or, more inclusively, process. A characteristic of any digital control system is the need for a process interface to mate the digital computer and process, to permit them to pass information back and forth.

Measurements of the state of the process often are obtained naturally as one of two switch states; for example, a part to be machined is in position (or not), or a temperature is above (or below) the desired temperature. Control signals sent to the process often are expressed as one of two states as well; for example, a motor is turned on (or off), or a valve is opened (or closed). Such binary information can be communicated naturally to and from the computer, where it is manipulated in binary form. For this reason the binary or digital computer/process interface usually is quite simple.

Process information also must be dealt with in analog form; for example, a variable such as temperature can take on any value within its measured range, or, looked at conceptually, it can be measured to any number of significant figures by a suitable instrument. Furthermore, analog variables generally change continuously in time. Digital computers are not suited to handle arbitrarily precise or continuously changing information; hence, analog process signals must be reduced to a digital representation (discretized), both in terms of magnitude and in time, to put them into a useful digital form.

The magnitude discretization problem most often is handled by transducing and scaling each measured variable to a common range, then using a single conversion device—the analog-to-digital converter (ADC)—to put the measured value into digital form. See Analog-to-digital converter

Discretization in time requires the computer to sample the signal periodically, storing the results in memory. This sequence of discrete values yields a “staircase” approximation to the original signal, on which control of the process must be based. Obviously, the accuracy of the representation can be improved by sampling more often, and many digital systems simply have incorporated traditional analog control algorithms along with rapid sampling. However, newer control techniques make fundamental use of the discrete nature of computer input and output signals. Analog outputs from a computer most often are obtained from a digital-to-analog converter (DAC), a device which accepts a digital output from the computer, converts it to a voltage in several microseconds, and latches (holds) the value until the next output is converted. Usually a single DAC is used for each output signal.

In order to be used as the heart of a control system, a digital computer must be capable of operating in real time. Except for very simple microcomputer applications, this feature implies that the machine must be capable of handling interrupts, that is, inputs to the computer's internal control unit which, on change of state, cause the computer to stop executing some section of program code and begin executing some other section. The ability to initiate operations on schedule and to respond to process interrupts in a timely fashion is the very basis of real-time computing; this feature must be available in any digital control system.

Computer control systems for large or complex processes may involve complicated programs with many thousands of computer instructions. Several routes have been taken to mitigate the difficulty of programming control computers. One approach is to develop a single program which utilizes data supplied by the user to specify both the actions to be performed on the individual process elements and the schedule to be followed. Another approach is to develop a rather sophisticated operating system to supervise the execution of user programs, scheduling individual program elements for execution as specified by the user or needed by the process. See Digital computer

Many applications, particularly machining, manufacturing, and batch processing, involve large or complex operating schedules. Invariably, these can be broken down into simple logical sequences. Some applications—in the chemical process industries, in power generation, and in aerospace areas—require the use of traditional automatic control algorithms.

Attempts to expand the digital control medium through development of strictly digital control algorithms is an important and continuing trend. Such algorithms typically attempt to exploit the sampled nature of process inputs and outputs, significantly decreasing the sampling requirements of the algorithm. See Control systems