Skip to main content

Digital control system and function of each block

Short answer

A digital control system uses a digital computer as the controller. The sensor measures the output, S/H samples and holds it, A/D converts it to binary, the computer computes the control law, D/A converts back to analog, ZOH holds the output, and the actuator drives the plant.

Explain digital control system along with the functions of each block.

A digital control system is a feedback control system in which a digital computer (microprocessor, microcontroller or PLC) acts as the controller. The plant is continuous, so signals are converted between analog and digital forms at the controller's input and output.

Block diagram

 r(kT) -->(+)--> Digital  --> D/A --> Hold
           ^ -   computer             (ZOH)
           |                            |
           |                            v
          A/D                       Actuator
           ^                            |
           |                            v
          S/H                         Plant ---> y(t)
           ^                            |
           +-------- Sensor <-----------+

Function of each block

BlockFunction
Sensor/transducerMeasures the plant output and converts it to an electrical signal
Sample-and-hold (S/H)Samples the analog signal every TT s and holds it during conversion
A/D converterQuantizes and codes the held value into a binary number
Digital computerCompares with the reference and computes the control signal by the algorithm
D/A converterConverts the computed binary number into an analog voltage
Hold (ZOH)Keeps the output constant between sampling instants (staircase signal)
ActuatorAmplifies the signal and drives the plant (motor, valve)
PlantThe physical process being controlled
ClockFixes the sampling period TT and synchronises S/H, A/D and D/A

Working

  1. The output y(t)y(t) is measured by the sensor and gives an analog signal.
  2. The S/H samples it at t=kTt = kT and the A/D converts it into a digital number y(kT)y(kT).
  3. The computer forms the error e(kT)=r(kT)−y(kT)e(kT) = r(kT) - y(kT) and solves a difference equation, for example the PID law u(kT)=Kpe(kT)+Ki∑e(iT)+Kd[e(kT)−e((k−1)T)]u(kT) = K_p e(kT) + K_i \sum e(iT) + K_d [e(kT)-e((k-1)T)].
  4. The D/A converter and ZOH turn u(kT)u(kT) into a piecewise-constant analog signal u(t)u(t).
  5. The actuator applies u(t)u(t) to the plant, and the cycle repeats every sampling period.

Types of signals in the loop

  • Continuous-time analog: plant output, actuator input.
  • Sampled-data (discrete-time analog): S/H output.
  • Digital (quantized and coded): inside the computer.

Main features

  • The controller is a program, so the control law can be changed easily.
  • One computer can handle many loops by multiplexing.
  • The sampling period TT must be small compared with the plant time constants (normally 8 to 10 samples per cycle of the damped oscillation) to give good performance.
  • Quantization and sampling introduce small errors and delays that must be considered in design.

Example: in a DC motor speed control, a tachogenerator measures speed, a microcontroller with built-in ADC runs a PI algorithm, and a PWM output (acting as D/A plus hold) drives the motor through a power amplifier.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Digital Control System chapter 1 questions →