Study guide

8.2 Feedback Control Loops, PID Tuning, Frequency Response & Stability

PE Mechanical Exam

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: Exam Overview, Reference Handbook & Mechanical Engineering Fundamentals

1.1 NCEES PE Mechanical CBT Format, Three Disciplines & Reference Handbook Strategy 1.2 Engineering Economics, Cash Flow & Project Evaluation and Scheduling 1.3 Units, Dimensional Analysis & Physical Constants 1.4 Statics, Dynamics & Mechanical Equilibrium

2 Chapter 2: Mechanical Design & Analysis (Stress, Failure Theories & Components)

2.1 Stress, Strain, Principal Stresses & Combined Loading 2.2 Static Failure Theories for Ductile and Brittle Materials 2.3 Fatigue Analysis, S-N Curves & Fluctuating Stresses 2.4 Pressure Vessels, Column Buckling & Spring Design 2.5 Threaded Fasteners, Welded Connections & Mechanical Joints

3 Chapter 3: Mechanical Power Transmission, Mechanisms & Vibrations

3.1 Shaft Sizing, Torsional Deflection & Critical Speeds 3.2 Spur, Helical, Bevel & Worm Gears and Epicyclic Gear Trains 3.3 Rolling-Element & Journal Bearings, Power Screws, Clutches, Brakes & Flywheels 3.4 Four-Bar Linkages, Cam-Follower Systems & Kinematics 3.5 Single-DOF and 2-DOF Vibrations, Damping & Dynamic Balancing

4 Chapter 4: Thermal & Fluid Systems

4.1 Fluid Statics, Manometry, Submerged Surfaces & Buoyancy 4.2 Incompressible Pipe Flow, Darcy-Weisbach & Minor Losses 4.3 Pump Selection, System Curves, NPSH & Cavitation 4.4 Steady & Transient Conduction, Forced & Natural Convection 4.5 Radiation Heat Transfer, View Factors & Heat Exchanger Sizing (LMTD/NTU)

5 Chapter 5: Power Plants & Energy Conversion Systems

5.1 Thermodynamic Properties, Pure Substances & 1st/2nd Laws 5.2 Vapor Power Cycles (Rankine, Superheat, Reheat & Regeneration) 5.3 Gas Power Cycles (Brayton, Otto, Diesel, Dual & Combined Cycle) 5.4 Combustion Stoichiometry, Flue Gas Analysis & Thermochemistry 5.5 Turbomachinery, Compressible Flow & Nozzles, Renewables & Energy Storage

6 Chapter 6: HVAC & Refrigeration Systems

6.1 Psychrometric Principles & Air-Conditioning Processes 6.2 Cooling & Heating Load Calculations (CLTD/SCL/CLF & Heat Balance) 6.3 Vapor-Compression Refrigeration Cycles & Refrigerant Properties 6.4 Refrigeration Equipment (Compressors, Evaporators, Condensers, Expansion Devices) & Safety Codes 6.5 Air Distribution, Duct Design, Fans & Hydronic Water Networks 6.6 Energy Recovery Devices, HVAC Acoustics & Vibration Isolation

7 Chapter 7: Materials, Manufacturing & Processing

7.1 Ferrous/Non-Ferrous Metals, Polymers, Ceramics & Composites 7.2 Iron-Carbon Equilibrium Phase Diagram & Heat Treatment Processes 7.3 Corrosion, Wear, Creep, Hydrogen Embrittlement & Fracture Mechanics 7.4 Casting, Metal Forming, Forging, Stamping & Powder Metallurgy 7.5 Machining Dynamics, Tool Wear, Welding Metallurgy & Non-Destructive Examination (NDE)

8 Chapter 8: Measurements, Controls, Codes & Engineering Ethics

8.1 Temperature, Pressure, Flow & Strain Transducers and Signal Conditioning 8.2 Feedback Control Loops, PID Tuning, Frequency Response & Stability 8.3 ASME Boiler & Pressure Vessel Code, ASHRAE, OSHA & NFPA Safety Standards 8.4 NCEES Model Rules, Engineering Ethics & Professional Seal Liability

8.2 Feedback Control Loops, PID Tuning, Frequency Response & Stability

Key Takeaways Explain This Topic AI

Feedback control architectures continuously compare setpoint against process variable to form error e ( t ) = S P ( t ) − P V ( t ) e(t) = SP(t) - PV(t) e ( t ) = SP ( t ) − P V ( t ) , adjusting manipulated variables via the closed-loop transfer function T ( s ) = G ( s ) / [ 1 + G ( s ) H ( s ) ] T(s) = G(s) / [1 + G(s)H(s)] T ( s ) = G ( s ) / [ 1 + G ( s ) H ( s )] .

First-order systems exhibit exponential lag with a 2 % 2\% 2% settling time of 4 τ 4\tau 4 τ , whereas underdamped second-order systems ( 0 < ζ < 1 0 < \zeta < 1 0 < ζ < 1 ) are governed by natural frequency ω n \omega_n ω n ​ and damping ratio ζ \zeta ζ , determining peak overshoot % O S \%OS % OS and peak time T p = π / ω d T_p = \pi / \omega_d T p ​ = π / ω d ​ .

The three PID terms perform distinct dynamic duties: Proportional ( K p K_p K p ​ ) accelerates transient rise but leaves steady-state offset (droop); Integral ( K i K_i K i ​ ) eliminates steady-state error by increasing system type but adds phase lag ( − 90 ∘ -90^\circ − 9 0 ∘ ) and risk of windup; Derivative ( K d K_d K d ​ ) provides phase lead damping ( + 90 ∘ +90^\circ + 9 0 ∘ ) to suppress overshoot.

Ziegler-Nichols closed-loop tuning identifies the critical ultimate gain K u K_u K u ​ and ultimate oscillation period P u P_u P u ​ at marginal stability, setting baseline parameters K p = 0.60 K u K_p = 0.60 K_u K p ​ = 0.60 K u ​ , T i = 0.50 P u T_i = 0.50 P_u T i ​ = 0.50 P u ​ , and T d = 0.125 P u T_d = 0.125 P_u T d ​ = 0.125 P u ​ .

Control valve trim selection balances installed loop gain: Equal percentage valves provide an exponential characteristic ( d Q / d x ∝ Q dQ/dx \propto Q d Q / d x ∝ Q ) that linearizes installed loop response against falling line pressure drop in hydronic piping networks.

Last updated: August 2026

Feedback Control Loops, PID Tuning, Frequency Response & Stability

Automatic control systems maintain critical process variables (fluid temperature, steam pressure, volumetric flow, liquid level, and rotating shaft speed) at desired setpoints despite external load disturbances and supply variations. In mechanical and thermal power systems—such as central chiller plants, steam boilers, HVAC air handling units, robotic actuators, and hydraulic governors—a thorough understanding of transfer functions, transient response specifications, PID loop tuning, and frequency-domain stability criteria is essential for safe, reliable, and energy-efficient operation.

1. Feedback Control Architecture & Block Diagram Algebra

A closed-loop control system continuously measures the process variable ( P V PV P V ), subtracts it from the reference setpoint ( S P SP SP ) to compute error e ( t ) = S P ( t ) − P V ( t ) e(t) = SP(t) - PV(t) e ( t ) = SP ( t ) − P V ( t ) , and modulates the final control element to drive error toward zero. +---------------------------------------------------------------------------------------------------+

  • | CLOSED-LOOP FEEDBACK CONTROL ARCHITECTURE |
  • | |
  • | Setpoint R(s) Error E(s) Control U(s) Disturbance D(s) Output Y(s) |
  • | ------------->(+)--->[ CONTROLLER ]--->[ ACTUATOR / ]--->(+)--->[ PROCESS ]--------+---> |
  • | ^ - C(s) VALVE ] G_a(s) ^ G_p(s) | |
  • | | | | |
  • | +---------------------[ SENSOR H(s) ]<-----+------------------------+ |
  • +---------------------------------------------------------------------------------------------------+
  • Closed-Loop Transfer Function Derivation

Let G ( s ) = C ( s ) G a ( s ) G p ( s ) G(s) = C(s) G_a(s) G_p(s) G ( s ) = C ( s ) G a ​ ( s ) G p ​ ( s ) represent the combined forward-path transfer function, and H ( s ) H(s) H ( s ) represent the feedback sensor transfer function: Y ( s ) = G ( s ) E ( s ) = G ( s ) [ R ( s ) − H ( s ) Y ( s ) ] Y(s) = G(s) E(s) = G(s) \left[ R(s) - H(s) Y(s) \right] Y ( s ) = G ( s ) E ( s ) = G ( s ) [ R ( s ) − H ( s ) Y ( s ) ]

Solving for the closed-loop input-output relationship: Y ( s ) [ 1 + G ( s ) H ( s ) ] = G ( s ) R ( s ) ⟹ T ( s ) = Y ( s ) R ( s ) = G ( s ) 1 + G ( s ) H ( s ) Y(s) \left[ 1 + G(s)H(s) \right] = G(s) R(s) \implies T(s) = \frac{Y(s)}{R(s)} = \frac{G(s)}{1 + G(s)H(s)} Y ( s ) [ 1 + G ( s ) H ( s ) ] = G ( s ) R ( s ) ⟹ T ( s ) = R ( s ) Y ( s ) ​ = 1 + G ( s ) H ( s ) G ( s ) ​

Where:

G ( s ) H ( s ) = Open-loop transfer function (loop gain) G(s)H(s) = \text{Open-loop transfer function (loop gain)} G ( s ) H ( s ) = Open-loop transfer function (loop gain)

1 + G ( s ) H ( s ) = 0 = Characteristic equation of the closed-loop system 1 + G(s)H(s) = 0 = \text{Characteristic equation of the closed-loop system} 1 + G ( s ) H ( s ) = 0 = Characteristic equation of the closed-loop system

The roots of 1 + G ( s ) H ( s ) = 0 1 + G(s)H(s) = 0 1 + G ( s ) H ( s ) = 0 are the closed-loop poles , which dictate stability and dynamic response.

The disturbance-to-output transfer function is T D ( s ) = Y ( s ) D ( s ) = G p ( s ) 1 + G ( s ) H ( s ) T_D(s) = \frac{Y(s)}{D(s)} = \frac{G_p(s)}{1 + G(s)H(s)} T D ​ ( s ) = D ( s ) Y ( s ) ​ = 1 + G ( s ) H ( s ) G p ​ ( s ) ​ .

2. Dynamic System Response: First-Order & Second-Order Systems +---------------------------------------------------------------------------------------------------+

  • | FIRST-ORDER VS SECOND-ORDER SYSTEMS |
  • | |
  • | SYSTEM ORDER GOVERNING ODE STANDARD TRANSFER FUNCTION |
  • | ------------- -------------------------------- ------------------------------------------ |
  • | First-Order tau * dy/dt + y = K * u(t) G(s) = K / (tau * s + 1) |
  • | Second-Order d^2y/dt^2 + 2*zeta*wn*dy/dt G(s) = wn^2 / (s^2 + 2*zeta*wn*s + wn^2) |
  • | + wn^2 * y = wn^2 * u(t) |
  • +---------------------------------------------------------------------------------------------------+
  • First-Order System Step Response

Thermal systems (stirred tanks, thermowell RTDs) and single-reservoir liquid levels behave as first-order lag systems characterized by process gain K K K and time constant τ \tau τ : y ( t ) = K ( 1 − e − t / τ ) y(t) = K \left( 1 - e^{-t/\tau} \right) y ( t ) = K ( 1 − e − t / τ ) +---------------------------------------------------------------------------------------------------+

  • | FIRST-ORDER STEP RESPONSE MILESTONES |
  • | |
  • | Time Elapsed Percent of Final Value (y / K) Significance |
  • | -------------- ------------------------------ ----------------------------------------- |
  • | t = 1 * tau 63.2% Standard definition of time constant |
  • | t = 2 * tau 86.5% Intermediate rise |
  • | t = 3 * tau 95.0% 5% Settling time threshold |
  • | t = 4 * tau 98.2% 2% Settling time threshold (Standard Ts) |
  • | t = 5 * tau 99.3% Steady state achieved |
  • +---------------------------------------------------------------------------------------------------+

Rise Time ( t r t_r t r ​ ): Time required to rise from 10 % 10\% 10% to 90 % 90\% 90% of final value: t r = τ ln ⁡ ( 9 ) ≈ 2.2 τ t_r = \tau \ln(9) \approx 2.2 \tau t r ​ = τ ln ( 9 ) ≈ 2.2 τ .

Settling Time ( T s T_s T s ​ ): Time required to remain within ± 2 % \pm 2\% ± 2% of steady state: T s ≈ 4 τ T_s \approx 4 \tau T s ​ ≈ 4 τ .

Second-Order System Dynamics

Mechanical mass-spring-damper mechanisms ( m x ¨ + c x ˙ + k x = F m \ddot{x} + c \dot{x} + k x = F m x ¨ + c x ˙ + k x = F ) and hydraulic actuators exhibit second-order dynamics characterized by the undamped natural frequency ( ω n \omega_n ω n ​ ) and the damping ratio ( ζ \zeta ζ ) : ω n = k m , ζ = c c c = c 2 k m = c 2 m ω n \omega_n = \sqrt{\frac{k}{m}}, \qquad \zeta = \frac{c}{c_c} = \frac{c}{2 \sqrt{k m}} = \frac{c}{2 m \omega_n} ω n ​ = m k ​ ​ , ζ = c c ​ c ​ = 2 km ​ c ​ = 2 m ω n ​ c ​ +---------------------------------------------------------------------------------------------------+

  • | SECOND-ORDER DAMPING REGIMES & POLE PLOTS |
  • | |
  • | DAMPING REGIME DAMPING RATIO (zeta) POLE LOCATIONS RESPONSE CHARACTER |
  • | ------------------ -------------------- -------------------------- ------------------- |
  • | Undamped zeta = 0 Pure imaginary: ±j*wn Sustained oscillation |
  • | Underdamped 0 < zeta < 1 Complex conjugate: -s ± j*wd Damped oscillations |
  • | Critically Damped zeta = 1 Real & repeated: -wn Fastest non-oscill. |
  • | Overdamped zeta > 1 Two distinct real poles Sluggish exponential |

+---------------------------------------------------------------------------------------------------+ +---------------------------------------------------------------------------------------------------+

  • | UNDERDAMPED SECOND-ORDER STEP RESPONSE METRICS |
  • | |
  • | Output y(t) |
  • | ^ Peak Time (Tp) |
  • | | | |
  • | | +-----+ <--- Maximum Value y_max |
  • | | / \ |
  • | 1.0 + - - - - - - - - -/- - - - -\ - - - - - - - - - - - - - - - + - - Steady State Target |
  • | | / \ +---+ | |
  • | | / \ / \ | ±2% Error Band |
  • | | / +-+ +-------------------+ |
  • | | / | |
  • | 0 +-------------+-----------------------------------------------+---------> Time (t) |
  • | |<--- Tr --->| |<-- Ts -->| |
  • +---------------------------------------------------------------------------------------------------+

For an underdamped second-order step response ( 0 < ζ < 1 0 < \zeta < 1 0 < ζ < 1 ):

Damped Natural Frequency ( ω d \omega_d ω d ​ ): ω d = ω n 1 − ζ 2 \omega_d = \omega_n \sqrt{1 - \zeta^2} ω d ​ = ω n ​ 1 − ζ 2 ​

Peak Time ( T p T_p T p ​ ): Time required to reach the maximum first overshoot peak: T p = π ω d = π ω n 1 − ζ 2 T_p = \frac{\pi}{\omega_d} = \frac{\pi}{\omega_n \sqrt{1 - \zeta^2}} T p ​ = ω d ​ π ​ = ω n ​ 1 − ζ 2 ​ π ​

Percent Overshoot ( % O S \%OS % OS ): % O S = 100 exp ⁡ ( − π ζ 1 − ζ 2 ) ⟺ ζ = − ln ⁡ ( % O S / 100 ) π 2 + [ ln ⁡ ( % O S / 100 ) ] 2 \%OS = 100 \exp \left( \frac{-\pi \zeta}{\sqrt{1 - \zeta^2}} \right) \iff \zeta = \frac{-\ln(\%OS / 100)}{\sqrt{\pi^2 + \left[ \ln(\%OS / 100) \right]^2}} % OS = 100 exp ( 1 − ζ 2 ​ − π ζ ​ ) ⟺ ζ = π 2 + [ ln ( % OS /100 ) ] 2 ​ − ln ( % OS /100 ) ​

Settling Time ( T s T_s T s ​ , 2% criterion): T s ≈ 4 ζ ω n T_s \approx \frac{4}{\zeta \omega_n} T s ​ ≈ ζ ω n ​ 4 ​

3. The PID Controller Algorithm

The Proportional-Integral-Derivative (PID) controller is the most ubiquitous feedback algorithm in industrial automation. +---------------------------------------------------------------------------------------------------+

  • | THE PARALLEL PID CONTROLLER STRUCTURE |
  • | |
  • | +---> [ PROPORTIONAL: K_p * e(t) ] --------+ |
  • | | | |
  • | Error e(t) = SP - PV --+---> [ INTEGRAL: K_i * ∫ e(t) dt ] ---->(+)---> Manipulated Variable |
  • | | | u(t) |
  • | +---> [ DERIVATIVE: K_d * de(t)/dt ] ------+ |
  • +---------------------------------------------------------------------------------------------------+
  • Mathematical Formulations

In the time domain, the parallel PID equation is: ν ( t ) = K p e ( t ) + K i ∫ 0 t e ( τ ) d τ + K d d e ( t ) d t \nu(t) = K_p e(t) + K_i \int_0^t e(\tau) \, d\tau + K_d \frac{de(t)}{dt} ν ( t ) = K p ​ e ( t ) + K i ​ ∫ 0 t ​ e ( τ ) d τ + K d ​ d t d e ( t ) ​

In the standard (ISA / Ideal) format with integral reset time T i T_i T i ​ and derivative rate time T d T_d T d ​ : ν ( t ) = K p [ e ( t ) + 1 T i ∫ 0 t e ( τ ) d τ + T d d e ( t ) d t ] \nu(t) = K_p \left[ e(t) + \frac{1}{T_i} \int_0^t e(\tau) \, d\tau + T_d \frac{de(t)}{dt} \right] ν ( t ) = K p ​ [ e ( t ) + T i ​ 1 ​ ∫ 0 t ​ e ( τ ) d τ + T d ​ d t d e ( t ) ​ ]

Where K i = K p / T i K_i = K_p / T_i K i ​ = K p ​ / T i ​ and K d = K p ⋅ T d K_d = K_p \cdot T_d K d ​ = K p ​ ⋅ T d ​ .

In the Laplace s s s -domain: C ( s ) = U ( s ) E ( s ) = K p + K i s + K d s = K p ( 1 + 1 T i s + T d s ) = K d s 2 + K p s + K i s C(s) = \frac{U(s)}{E(s)} = K_p + \frac{K_i}{s} + K_d s = K_p \left( 1 + \frac{1}{T_i s} + T_d s \right) = \frac{K_d s^2 + K_p s + K_i}{s} C ( s ) = E ( s ) U ( s ) ​ = K p ​ + s K i ​ ​ + K d ​ s = K p ​ ( 1 + T i ​ s 1 ​ + T d ​ s ) = s K d ​ s 2 + K p ​ s + K i ​ ​ +---------------------------------------------------------------------------------------------------+

  • | PID CONTROL TERM CONTRIBUTIONS |
  • | |
  • | TERM FUNCTION & ACTION BENEFITS DRAWBACKS / RISKS |
  • | ------------- -------------------------------- -------------------- ------------------- |
  • | Proportional u_P = K_p * e(t) Speeds response, Leaves steady-state |
  • | (P) Directly proportional to error reduces error offset ('droop') |
  • | |
  • | Integral u_I = K_i * ∫ e(t) dt Eliminates steady- Adds phase lag (-90°),|
  • | (I) Accumulates past error over time state offset (type +1) increases overshoot, |
  • | causes windup |
  • | |
  • | Derivative u_D = K_d * de(t)/dt Adds phase lead (+90°),Amplifies high- |
  • | (D) Anticipates future error trend damps oscillations, frequency noise, |
  • | improves stability ineffective on pure lag
  • +---------------------------------------------------------------------------------------------------+

Warning

Integral Windup & Anti-Windup Solutions: When an actuator reaches physical saturation (e.g., a chilled water control valve is 100 % 100\% 100% fully open), error cannot be quickly cleared. The integral term continues accumulating past error, driving the internal control calculation far beyond 100 % 100\% 100% . When the setpoint is finally reached, the valve remains stuck wide open for a long period while the integral "unwinds," causing extreme temperature undershoot. Industrial controllers use anti-windup clamping to freeze integration whenever the actuator reaches its output limit.

4. PID Controller Tuning Methodologies +---------------------------------------------------------------------------------------------------+

  • | ZIEGLER-NICHOLS PID TUNING RULES |
  • | |
  • | 1. CLOSED-LOOP ULTIMATE GAIN METHOD |
  • | - Set K_i = 0, K_d = 0. |
  • | - Increase K_p until sustained, constant-amplitude oscillations occur at Ultimate Gain K_u. |
  • | - Measure the Ultimate Period P_u (time between wave peaks in seconds). |
  • | |
  • | CONTROLLER TYPE K_p T_i T_d |
  • | -------------------- -------------------- -------------------- ------------------ |
  • | P Controller 0.50 * K_u -- -- |
  • | PI Controller 0.45 * K_u P_u / 1.20 -- |
  • | Classic PID 0.60 * K_u 0.50 * P_u 0.125 * P_u |
  • | Pessen Integral Rule 0.70 * K_u 0.40 * P_u 0.150 * P_u |
  • | |
  • | 2. OPEN-LOOP REACTION CURVE METHOD (Step Input Δu) |
  • | - Measure Process Gain K_0 = Δy / Δu, Dead Time L (delay), and Time Constant T. |
  • | |
  • | CONTROLLER TYPE K_p T_i T_d |
  • | -------------------- -------------------- -------------------- ------------------ |
  • | P Controller T / (K_0 * L) -- -- |
  • | PI Controller 0.9 * T / (K_0 * L) 3.33 * L -- |
  • | Classic PID 1.2 * T / (K_0 * L) 2.00 * L 0.50 * L |
  • +---------------------------------------------------------------------------------------------------+
  • 5. Dynamic Stability Analysis: Routh-Hurwitz & Frequency Response (Bode)

A dynamic system is Bounded-Input Bounded-Output (BIBO) stable if and only if all poles of its closed-loop transfer function lie strictly in the open left-half of the complex s s s -plane ( Re ( s ) < 0 \text{Re}(s) < 0 Re ( s ) < 0 ).

Routh-Hurwitz Stability Criterion

Given the characteristic polynomial: a n s n + a n − 1 s n − 1 + ⋯ + a 1 s + a 0 = 0 a_n s^n + a_{n-1} s^{n-1} + \dots + a_1 s + a_0 = 0 a n ​ s n + a n − 1 ​ s n − 1 + ⋯ + a 1 ​ s + a 0 ​ = 0

Necessary Condition: All coefficients a n , a n − 1 , … , a 0 a_n, a_{n-1}, \dots, a_0 a n ​ , a n − 1 ​ , … , a 0 ​ must be non-zero and share the same algebraic sign.

Sufficient Condition (Routh Array): Construct the Routh array table. The number of roots with positive real parts (unstable right-half plane poles) equals the number of sign changes in the first column of the Routh array. +---------------------------------------------------------------------------------------------------+

  • | ROUTH ARRAY CONSTRUCTION TABLE |
  • | |
  • | s^n | a_n a_{n-2} a_{n-4} ... |
  • | s^{n-1} | a_{n-1} a_{n-3} a_{n-5} ... |
  • | s^{n-2} | b_1 b_2 b_3 ... |
  • | s^{n-3} | c_1 c_2 ... |
  • | ... | |
  • | |
  • | Where: b_1 = (a_{n-1}*a_{n-2} - a_n*a_{n-3}) / a_{n-1} |
  • | b_2 = (a_{n-1}*a_{n-4} - a_n*a_{n-5}) / a_{n-1} |
  • | c_1 = (b_1*a_{n-3} - a_{n-1}*b_2) / b_1 |
  • +---------------------------------------------------------------------------------------------------+
  • Frequency Response: Bode Plot Stability Margins

Frequency response evaluates the open-loop transfer function G ( j ω ) H ( j ω ) G(j\omega)H(j\omega) G ( jω ) H ( jω ) across frequency ω \omega ω . +---------------------------------------------------------------------------------------------------+

  • | BODE PLOT STABILITY DEFINITIONS |
  • | |
  • | CRITICAL FREQUENCY DEFINITION STABILITY MARGIN |
  • | ----------------------------- ------------------------------ ---------------------------- |
  • | Gain Crossover Freq (w_gc) |G(j*w)H(j*w)| = 1.0 (0 dB) Phase Margin: |
  • | PM = 180° + ∠G(j*w_gc)H(j*w_gc)|
  • | |
  • | Phase Crossover Freq (w_pc) ∠G(j*w)H(j*w) = -180° Gain Margin: |
  • | GM = -20*log10|GH(j*w_pc)| dB |
  • +---------------------------------------------------------------------------------------------------+

Stable System: P M > 0 ∘ PM > 0^\circ PM > 0 ∘ and G M > 0 dB GM > 0\text{ dB} GM > 0 dB (i.e., ω g c < ω p c \omega_{gc} < \omega_{pc} ω g c ​ < ω p c ​ ).

Marginally Stable: P M = 0 ∘ PM = 0^\circ PM = 0 ∘ and G M = 0 dB GM = 0\text{ dB} GM = 0 dB (sustained oscillations at ω p c \omega_{pc} ω p c ​ ).

Unstable System: P M < 0 ∘ PM < 0^\circ PM < 0 ∘ or G M < 0 dB GM < 0\text{ dB} GM < 0 dB (closed-loop poles in RHP).

Recommended Design Margins: Robust industrial loops target P M ≥ 45 ∘ PM \ge 45^\circ PM ≥ 4 5 ∘ and G M ≥ 6 to 12 dB GM \ge 6\text{ to } 12\text{ dB} GM ≥ 6 to 12 dB to prevent resonant hunting under load variations.

6. Final Control Elements: Modulating Control Valves

The final control element physically modulates fluid energy. In hydronic and steam networks, this is predominantly an automated control valve driven by a pneumatic diaphragm or electric actuator. +---------------------------------------------------------------------------------------------------+

  • | CONTROL VALVE INHERENT CHARACTERISTICS |
  • | |
  • | CHARACTERISTIC FLOW EQUATION (Inherent) APPLICATION & SELECTION CRITERIA |
  • | ---------------- ---------------------------------- ------------------------------------- |
  • | Linear Q / Q_max = x / x_max Constant valve Delta_P systems, liquid |
  • | dQ/dx = constant level loops, bypass control |
  • | |
  • | Equal Percentage Q / Q_max = R^( (x/x_max) - 1 ) Variable Delta_P piping systems, heat |
  • | dQ/dx = (ln R) * Q exchangers (compensates for falling dP) |
  • | |
  • | Quick Opening Rapid initial flow rise at low lift On/off service, safety relief, dump |

+---------------------------------------------------------------------------------------------------+ +---------------------------------------------------------------------------------------------------+

  • | VALVE INSTALLED VS INHERENT CHARACTERISTIC |
  • | |
  • | Flow Fraction (Q/Q_max) |
  • | 1.0 + Equal Percentage (Inherent) |
  • | | / |
  • | | Linear (Inherent) |
  • | | / / |
  • | | Quick Opening / / <--- Equal Percentage (Installed in |
  • | | / / / piping with high line losses becomes |
  • | | / / / nearly LINEAR installed!) |
  • | | / / / |
  • | 0.0 +------+-------------+---------------+------------------> Valve Stroke (x/x_max) |
  • | 0.0 1.0 |
  • +---------------------------------------------------------------------------------------------------+
  • Valve Flow Sizing Coefficient ( C v C_v C v ​ )

The standard flow coefficient C v C_v C v ​ defines the flow of 60 ∘ F 60^\circ\text{F} 6 0 ∘ F water in US gallons per minute ( gpm \text{gpm} gpm ) through a valve with a pressure drop of 1.0 psi 1.0\text{ psi} 1.0 psi : Q = C v Δ P S G ⟺ C v = Q S G Δ P Q = C_v \sqrt{\frac{\Delta P}{SG}} \iff C_v = Q \sqrt{\frac{SG}{\Delta P}} Q = C v ​ SG Δ P ​ ​ ⟺ C v ​ = Q Δ P SG ​ ​

Where Q Q Q is in gpm \text{gpm} gpm , Δ P \Delta P Δ P is valve pressure drop in psi \text{psi} psi , and S G SG SG is fluid specific gravity ( S G = 1.0 SG = 1.0 SG = 1.0 for water at 60 ∘ F 60^\circ\text{F} 6 0 ∘ F ).

Cavitation and Flashing in Liquid Valves

Cavitation: If static pressure drops below liquid vapor pressure ( P vena contracta < P v P_{\text{vena contracta}} < P_v P vena contracta ​ < P v ​ ) inside the valve throat and subsequently recovers downstream above P v P_v P v ​ ( P 2 > P v P_2 > P_v P 2 ​ > P v ​ ), vapor bubbles collapse violently against trim surfaces, creating extreme noise, vibration, and rapid pitting erosion.

Flashing: If downstream recovery pressure remains below vapor pressure ( P 2 < P v P_2 < P_v P 2 ​ < P v ​ ), vapor bubbles do not collapse, resulting in high-velocity two-phase sonic choked flow.

  • 7. Step-by-Step Worked Engineering Problems
  • Worked Problem 1: Second-Order Dynamic Response of a Valve Positioner

Problem: A pneumatic valve positioner is modeled as a standard second-order system with closed-loop transfer function: G ( s ) = 144 s 2 + 14.4 s + 144 G(s) = \frac{144}{s^2 + 14.4 s + 144} G ( s ) = s 2 + 14.4 s + 144 144 ​

Determine: (a) undamped natural frequency ω n \omega_n ω n ​ , (b) damping ratio ζ \zeta ζ , (c) damped natural frequency ω d \omega_d ω d ​ , (d) percent overshoot % O S \%OS % OS , and (e) settling time T s T_s T s ​ (2% criterion). +---------------------------------------------------------------------------------------------------+

  • | STEP-BY-STEP SECOND-ORDER SOLUTION |
  • | |
  • | STEP 1: Match to Standard Form: s^2 + 2*zeta*wn*s + wn^2 |
  • | wn^2 = 144 --> wn = 12.0 rad/s |
  • | 2 * zeta * wn = 14.4 --> 2 * zeta * (12.0) = 14.4 --> zeta = 14.4 / 24.0 = 0.60 |
  • | |
  • | STEP 2: Calculate Damped Natural Frequency |
  • | wd = wn * sqrt(1 - zeta^2) = 12.0 * sqrt(1 - 0.60^2) |
  • | wd = 12.0 * sqrt(1 - 0.36) = 12.0 * sqrt(0.64) = 12.0 * 0.80 = 9.60 rad/s |
  • | |
  • | STEP 3: Calculate Percent Overshoot (%OS) |
  • | %OS = 100 * exp [ -pi * zeta / sqrt(1 - zeta^2) ] |
  • | %OS = 100 * exp [ -pi * 0.60 / 0.80 ] = 100 * exp [ -2.35619 ] |
  • | %OS = 100 * 0.09478 = 9.48% |
  • | |
  • | STEP 4: Calculate 2% Settling Time (Ts) |
  • | Ts = 4 / (zeta * wn) = 4 / (0.60 * 12.0) = 4 / 7.20 = 0.556 seconds |
  • +---------------------------------------------------------------------------------------------------+
  • Worked Problem 2: Routh-Hurwitz Stability Range for Feedback Control

Problem: A closed-loop temperature control loop has the characteristic polynomial s 3 + 8 s 2 + 15 s + K = 0 s^3 + 8 s^2 + 15 s + K = 0 s 3 + 8 s 2 + 15 s + K = 0 . Determine: (a) the range of controller gain K > 0 K > 0 K > 0 for which the closed-loop system remains stable, and (b) the frequency of oscillation when K K K is set to the marginally stable ultimate gain K u K_u K u ​ . +---------------------------------------------------------------------------------------------------+

  • | STEP-BY-STEP ROUTH-HURWITZ SOLUTION |
  • | |
  • | STEP 1: Construct the Routh Array |
  • | s^3 | 1 15 |
  • | s^2 | 8 K |
  • | s^1 | b_1 0 |
  • | s^0 | c_1 0 |
  • | |
  • | STEP 2: Compute First-Column Terms |
  • | b_1 = ( (8 * 15) - (1 * K) ) / 8 = (120 - K) / 8 |
  • | c_1 = ( (b_1 * K) - (8 * 0) ) / b_1 = K |
  • | |
  • | STEP 3: Enforce First-Column Positive Sign Condition for Stability |
  • | Condition 1: K > 0 |
  • | Condition 2: b_1 > 0 --> (120 - K) / 8 > 0 --> K < 120 |
  • | STABILITY RANGE: 0 < K < 120 |
  • | |
  • | STEP 4: Ultimate Gain and Oscillation Frequency at Marginal Stability |
  • | Ultimate Gain K_u = 120. |
  • | Row s^2 forms auxiliary equation: 8 * s^2 + K_u = 0 |
  • | 8 * s^2 + 120 = 0 --> s^2 = -15 --> s = ± j * sqrt(15) = ± j * 3.873 rad/s |
  • | Oscillation frequency w = sqrt(15) = 3.87 rad/s. |
  • +---------------------------------------------------------------------------------------------------+
  • 8. Common Exam Traps & PE Pro-Tips

Trap 1 — Confusing Open-Loop vs Closed-Loop Transfer Functions: Open loop is G ( s ) H ( s ) G(s)H(s) G ( s ) H ( s ) ; closed loop is G ( s ) / [ 1 + G ( s ) H ( s ) ] G(s) / [1 + G(s)H(s)] G ( s ) / [ 1 + G ( s ) H ( s )] . Closed-loop stability is governed strictly by the roots of the denominator 1 + G ( s ) H ( s ) = 0 1 + G(s)H(s) = 0 1 + G ( s ) H ( s ) = 0 .

Trap 2 — Equal Percentage vs. Linear Valve Selection: In water piping networks where pipe friction absorbs 50 % 50\% 50% or more of total system head loss at full flow, a linear valve behaves like a quick-opening valve in service (high distortion). Choosing an Equal Percentage valve compensates for falling available pressure drop, providing a linear installed flow characteristic.

Trap 3 — Unit Mismatches in Natural Frequency ( f n f_n f n ​ vs ω n \omega_n ω n ​ ): In second-order equations, ω n \omega_n ω n ​ is in rad/s \text{rad/s} rad/s . If an exam prompt requests frequency in Hertz ( Hz \text{Hz} Hz ), divide by 2 π 2\pi 2 π : f n = ω n / ( 2 π ) f_n = \omega_n / (2\pi) f n ​ = ω n ​ / ( 2 π ) .

Trap 4 — Negative Signs in Phase Margin Calculation: P M = 180 ∘ + ∠ G H ( j ω g c ) PM = 180^\circ + \angle GH(j\omega_{gc}) PM = 18 0 ∘ + ∠ G H ( j ω g c ​ ) . Because phase lag is negative (e.g., − 135 ∘ -135^\circ − 13 5 ∘ ), P M = 180 ∘ + ( − 135 ∘ ) = + 45 ∘ PM = 180^\circ + (-135^\circ) = +45^\circ PM = 18 0 ∘ + ( − 13 5 ∘ ) = + 4 5 ∘ .