A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Process Model Identification and Relay Autotuning

Research Depth 156 in the knowledge graph ☐ I know this ☆ Set as goal
1,085prerequisites beneath it
See this on the map →
PID Tuning MethodsProportional-Integral-Derivative Control: Combined Action+1 more→
system-identification relay-feedback autotuning critical-frequency model-estimation

Core Idea

Relay feedback autotuning applies a relay controller to excite the process at its critical frequency (phase = −180°) without requiring an explicit plant model. Amplitude and frequency of resulting oscillation directly give the critical frequency and magnitude for PID tuning.

Explainer

Traditional PID tuning methods like Ziegler-Nichols require knowing the process's ultimate gain (K_u) and ultimate period (T_u) — the gain at which the system marginally oscillates and the period of those oscillations. The classical way to find these was to close the loop with a proportional controller, increase gain manually until the system just begins to oscillate, and record the results. This was dangerous (the plant oscillates at full amplitude), operator-dependent, and impractical for automated commissioning. Relay autotuning, developed by Åström and Hägglund in 1984, automates this experiment safely.

The key insight comes from your prerequisite on sinusoidal frequency response. A linear system oscillates sustainably at the frequency where two conditions are simultaneously met: the loop gain equals 1 and the loop phase equals −180°. The −180° condition is the phase crossover frequency — it's where the process inverts the signal. A relay (also called a bang-bang controller) exploits this by design: it switches its output to +d when the process output is below setpoint and to −d when above. This forced switching naturally drives the system to oscillate at the phase crossover frequency, because that is the only frequency at which the relay's square-wave output can sustain a sinusoidal oscillation in the plant.

Once the relay is connected, the closed-loop system enters a limit cycle: a sustained, bounded oscillation. You measure two things from this oscillation — the period T_u (giving ω_u = 2π/T_u, the ultimate frequency) and the amplitude a of the process output oscillation. The relay output has magnitude d (a square wave switching between ±d). Using the describing function approximation — which represents the relay's nonlinear switching as if it were a linear gain at the fundamental frequency — the effective gain of the relay at amplitude a is 4d/(πa). At the limit cycle, this gain times the process gain equals 1, giving the ultimate gain: K_u = 4d/(πa). These two numbers, K_u and T_u, are exactly what Ziegler-Nichols requires to compute PID gains.

The safety advantage is decisive for industrial use. The relay limits the excitation: the process output oscillates by approximately ±a, and the process input never exceeds ±d. You choose d as a small fraction of the control range, so the plant barely moves. Compare this to open-loop step tests (large setpoint changes, operator attention required) or manual gain increase (risk of instability). The relay test runs in about one to three oscillation cycles, typically takes minutes, and can run unattended. This is why the "autotune" button on commercial PID controllers — from Honeywell, Siemens, and ABB to simple temperature controllers — implements relay autotuning. When you press it, the controller disconnects the PID, connects a relay, waits for two stable oscillation cycles, computes K_u and T_u, applies a tuning formula, and hands control back to the PID.

The main limitation is the describing function approximation: it assumes the process responds primarily to the fundamental harmonic of the relay's square wave and ignores higher harmonics. For processes with strong nonlinearities, the identified parameters can be inaccurate. Practical enhancements include adding hysteresis to the relay (reducing sensitivity to measurement noise), using asymmetric relays to handle integrating processes, or running multiple relay experiments at different amplitudes to detect nonlinearity. But for the typical industrial process — moderately nonlinear, with a dominant first- or second-order response plus dead time — the basic relay test delivers tuning parameters close enough to serve as an excellent starting point for manual refinement.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Double Integrals: Definition and Setup → Iterated Integrals and Fubini's Theorem → Double Integrals over Rectangular Regions → Double Integrals over General Regions → Applications of Double Integrals: Area, Mass, and Moments → Triple Integrals in Cartesian Coordinates → Triple Integrals in Cylindrical and Spherical Coordinates → Change of Variables and the Jacobian Determinant → Applications of Triple Integrals: Volume and Mass → Vector Fields and Their Representations → Line Integrals of Vector Fields → Work and Circulation → Line Integrals of Scalar and Vector Functions → Fundamental Theorem for Line Integrals → Conservative Vector Fields → Conservative Vector Fields and Potential Functions → Curl and Divergence of Vector Fields → Curl and Divergence → Divergence Theorem → Electric Flux and Divergence Theorem → Gauss's Law: Integral Form and Meaning → Solving Problems with Gauss's Law → Conductors in Electrostatic Equilibrium → Capacitance and Capacitors → Dielectrics → Dielectric Constant and Relative Permittivity → Electric Field Inside Dielectric Materials → Dielectric Materials and Polarization → Dielectric Susceptibility and Permittivity → Energy Density in Electric Fields → Electric Current and Current Density → Electrical Resistance and Resistivity → Ohm's Law and Circuit Elements → Electromotive Force (EMF) and Batteries → Kirchhoff's Circuit Laws: Voltage and Current → DC Circuit Network Analysis Methods → Transient Response in RC Circuits → RC Circuits → LC and RLC Circuits → AC Circuits: Fundamentals → Impedance and Reactance → AC Power and Resonance → Electromagnetic Waves → Frequency-Dependent Permittivity and Dispersion → Electromagnetic Waves in Anisotropic Media → Birefringence and Dichroism → Wave Plates: Quarter-Wave and Half-Wave Plates → Circular and Elliptical Polarization Production → Polarization States: Linear, Circular, and Elliptical → Linear Superposition of Waves → Superposition Principle in Electrostatics → Electric Field Lines and Visualization → Electric Potential and Potential Energy → Electric Potential and Voltage → Ideal Voltage and Current Sources → Series, Parallel, and Combined Resistor Networks → Voltage Divider Principle and Applications → Kirchhoff's Voltage and Current Laws → Nodal Analysis Method → Linearity, Superposition, and Scaling → AC Steady-State Circuit Analysis → AC Circuit Analysis Using Phasors → AC Power Analysis → Resonance in RLC Circuits → Frequency Response and Bode Plots → Bode Plot Stability Analysis → Nyquist Stability Criterion → Gain and Phase Margins → PID Controllers → Internal Model Principle and Integral Control Action → Proportional-Integral-Derivative Control: Combined Action → Process Model Identification and Relay Autotuning

Longest path: 157 steps · 1085 total prerequisite topics

Prerequisites (3)

Leads To (0)

No topics depend on this one yet.