MEG 502 · Control Engineering
Our notes
3 min readNon-linear behaviour
Real systems have non-linearities:
- Saturation: amplifiers and actuators have limits (a valve cannot open beyond 100%).
- Dead zone: no output for small inputs (gear backlash, valve stiction).
- Backlash (hysteresis) in gears.
- Coulomb friction.
- Relays and on-off elements.
Superposition no longer holds; responses depend on input size, and new effects appear, such as limit cycles (self-sustained oscillations of fixed amplitude).
On-off (bang-bang) control
The simplest controller: the actuator is fully on or fully off (a thermostat in an iron, a pressing iron, a fridge, a water pump with float switches). A differential gap (hysteresis) prevents rapid switching; the controlled variable cycles within a band.
Worked example: on-off temperature band
A water heater switches on at 58 °C and off at 62 °C. Heating raises the temperature at 0.5 °C per minute; losses lower it at 0.2 °C per minute when off.
- Heating time per cycle = 4 ÷ 0.5 = 8 min; cooling time = 4 ÷ 0.2 = 20 min.
- Cycle = 28 min; duty cycle = 8 ÷ 28 = 29%.
A narrower gap gives tighter control but more frequent switching (contact wear).
Analysis methods (outline)
- Phase plane: plot velocity against position to see trajectories, equilibrium points and limit cycles.
- Describing function: approximate a non-linearity by its gain for the fundamental of a sine input; a limit cycle is predicted where G(jω) = −1/N(A). For an ideal relay of output ±M, N(A) = 4M ÷ (πA).
- Lyapunov's method: stability from an energy-like function.
- Simulation.
Computer (digital) control
A microcontroller, PLC or computer samples the measured output every T seconds (A/D converter), computes the control action, and sends it to the actuator (D/A converter or PWM), holding it until the next sample (zero-order hold).
- The sampling rate must be well above the system bandwidth: a common rule is 10 to 30 samples per rise time, and at least twice the highest frequency of interest (Nyquist-Shannon).
- Digital systems are analysed with the z-transform; the stable region is inside the unit circle |z| < 1.
- A digital PID update: uₖ = K_p eₖ + K_i T Σe + K_d (eₖ − eₖ₋₁) ÷ T.
Worked example: sampling
A closed-loop speed control has a rise time of 0.2 s. With 20 samples per rise time, T = 0.2 ÷ 20 = 0.01 s (100 Hz sampling).
PLCs and SCADA
Programmable logic controllers run ladder logic and PID blocks in factories, water works, oil and gas plants and power stations, often supervised by SCADA (supervisory control and data acquisition) systems. Nigeria's oil and gas, cement and beverage industries rely heavily on them.
Simulation
Before building a controller, engineers simulate it with block diagrams (Simulink, Xcos in Scilab, OpenModelica) or code (MATLAB/Octave, Python with the control library). Simulation shows the effect of saturation, delays and noise that hand analysis ignores.
Exams usually ask
- Describe common non-linearities and on-off control with a differential gap.
- Explain the structure of a digital control system, the choice of sampling rate, and the role of simulation.
Common mistake
Sampling too slowly: the computed control lags behind the plant and the loop can become unstable even if the continuous design was stable.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Nonlinear control
(opens en.wikipedia.org in a new tab)
Wikipedia, Nonlinear control, CC BY-SA 4.0 · licence
-
Bang–bang control
(opens en.wikipedia.org in a new tab)
Wikipedia, Bang–bang control, CC BY-SA 4.0 · licence
-
NPTEL: Industrial Automation and Control (IIT Kharagpur, whole course)
Sensors, PID control, PLC sequence control and ladder logic, CNC machines and contour generation, hydraulic and pneumatic systems, drives. Video lectures, many hours in all: watch on Wi-Fi where you can.
(opens nptel.ac.in in a new tab)
NPTEL, NPTEL: Industrial Automation and Control (IIT Kharagpur, whole course), CC BY-NC-SA 4.0 · licence
Watch
-
Best pick Linear and Non-Linear Systems
13 min · ≈ 59 MB · about ₦33
(opens youtube.com in a new tab)
-
Intro to Control - MP.2 Linearized Model of a Nonlinear System in Matlab
6 min · ≈ 27 MB · about ₦15
(opens youtube.com in a new tab)
-
NCS - 01a - Why Nonlinear Control
12 min · ≈ 54 MB · about ₦30
(opens youtube.com in a new tab)
-
Nonlinear system simulation using Matlab simulink
12 min · ≈ 54 MB · about ₦30
(opens youtube.com in a new tab)
-
Nonlinear Systems Overview
6 min · ≈ 27 MB · about ₦15
(opens youtube.com in a new tab)
-
Lecture 23: Nonlinear and Time-Varying Systems
31 min · ≈ 140 MB · about ₦79
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.