Study guide

18.2 PID Controller Tuning and Loop Stability

PE Chemical Exam

Track your progress as you read

Finished sections get a check mark.

1 Introduction & Exam Overview

About the PE Chemical Exam How to Use This Guide and the NCEES Handbook

2 Chapter 1: Material Balances & Flowsheet Calculations

1.1 Degree-of-Freedom Analysis & Process Flowsheet Accounting 1.2 Steady-State Material Balances (Reactive & Non-Reactive Systems) 1.3 Recycle, Bypass, and Purge Operations

3 Chapter 2: Energy Balances & Thermochemistry

2.1 Enthalpy Accounting, Sensible Heat, and Phase Changes 2.2 Heats of Reaction, Formation, and Adiabatic Flame Temperatures 2.3 Unsteady-State Mass and Energy Balances

4 Chapter 3: Fluid Statics & Incompressible Pipe Flow

3.1 Fluid Statics, Pressure Measurement, and Manometry 3.2 Incompressible Flow, Friction Factors, and the Moody Diagram 3.3 Minor Losses, Equivalent Length, and Piping Networks 3.4 Pumps, Compressors, and NPSH Calculations

5 Chapter 4: Advanced Fluid Dynamics & Compressible Flow

4.1 Compressible Gas Flow, Sonic Velocity, and Choked Flow 4.2 Flow Measurement Devices (Orifices, Venturis, Rotameters) 4.3 Multiphase Flow and Fluidization Principles 4.4 Mixing, Agitation, and Agitator Scale-Up

6 Chapter 5: Thermodynamic Laws & Fundamental Relations

5.1 First and Second Laws, Heat Engines, and Carnot Efficiency 5.2 Entropy, Availability, and Exergy Analysis 5.3 Fundamental Property Relations and Maxwell Equations

7 Chapter 6: Real Gases & Equations of State

6.1 Volumetric Properties and Compressibility Factor Charts 6.2 Cubic Equations of State (vdW, RK, SRK, and Peng-Robinson) 6.3 Residual Properties and Enthalpy/Entropy Departure Functions

8 Chapter 7: Phase & Chemical Reaction Equilibria

7.1 Pure Component Vapor Pressure and Phase Equilibria 7.2 Vapor-Liquid Equilibrium (VLE), Raoult's Law, and Activity Coefficients 7.3 Chemical Reaction Equilibria and Equilibrium Constant Calculation

9 Chapter 8: Heat Transfer Mechanisms & Conduction

8.1 Steady-State Conduction in Planar, Cylindrical, and Spherical Geometries 8.2 Convective Heat Transfer and Dimensionless Correlations 8.3 Thermal Radiation, Emissivity, and Surface Radiation Exchange

10 Chapter 9: Heat Exchanger Design & Phase Change

9.1 Shell-and-Tube Exchanger Design, TEMA Standards, and LMTD 9.2 Effectiveness-NTU Method and Exchanger Rating 9.3 Boiling Regimes, Condensation Phenomena, and Fouling Resistances

11 Chapter 10: Mass Transfer Fundamentals & Diffusion

10.1 Molecular Diffusion, Fick's Laws, and Equimolar Counterdiffusion 10.2 Convective Mass Transfer and Film Theories 10.3 Mass Transfer Dimensionless Numbers (Sherwood, Schmidt, Peclet)

12 Chapter 11: Distillation Operations

11.1 Vapor-Liquid Equilibrium and Relative Volatility in Distillation 11.2 McCabe-Thiele Method for Binary Distillation 11.3 Packed vs Tray Columns, Flooding, and Tray Hydraulics 11.4 Multicomponent Distillation Fundamentals and Key Components

13 Chapter 12: Rate-Controlled & Equilibrium Separations

12.1 Gas Absorption, Stripping, and the Kremser Equation 12.2 Liquid-Liquid Extraction and Ternary Phase Equilibria 12.3 Adsorption, Membrane Separations, and Drying Operations 12.4 Filtration, Crystallization, and Solid-Fluid Separations

14 Chapter 13: Chemical Kinetics & Ideal Isothermal Reactors

13.1 Reaction Rates, Rate Laws, and Order of Reaction 13.2 Temperature Dependence and the Arrhenius Equation 13.3 Batch Reactors and Continuous Stirred-Tank Reactors (CSTR) 13.4 Plug Flow Reactors (PFR) and Reactor Combinations

15 Chapter 14: Non-Ideal Flow, Non-Isothermal Reactors & Catalysis

14.1 Yield, Selectivity, and Multiple Reactions (Series and Parallel) 14.2 Non-Isothermal Reactor Design and Thermal Runaway 14.3 Heterogeneous Catalysis, Thiele Modulus, and RTD Models

16 Chapter 15: Physical & Transport Properties of Fluids

15.1 Fluid Density, Specific Gravity, and Viscosity Correlations 15.2 Thermal Conductivity and Specific Heat Capacities 15.3 Estimation Methods and Corresponding States Principles

17 Chapter 16: Materials of Construction & Corrosion

16.1 Mechanical Properties and Materials Selection in Chemical Plants 16.2 Corrosion Mechanisms, Materials Degradation, and Prevention

18 Chapter 17: Process Safety & Pressure Relief Systems

17.1 Hazard Identification Methodologies (HAZOP, FMEA, What-If) 17.2 Pressure Relief Valve (PRV) and Rupture Disk Sizing 17.3 Flammability, Explosions, and Toxic Dispersion Limits 17.4 Inerting, Purging, Discharge Location, and Containment

19 Chapter 18: Process Control & Engineering Economics

18.1 Process Dynamics and Feedback Control Loops 18.2 PID Controller Tuning and Loop Stability 18.3 Chemical Plant Capital Cost Estimation and Profitability Analysis 18.4 Field Instrumentation, Control Valves, Alarms, and Safety Instrumented Systems

20 Chapter 19: Process Design, Equipment Selection & Environmental Compliance

19.1 Process Flow Diagrams, P&IDs, Scale-Up, and Plant Siting 19.2 Process Equipment Selection, Sizing, and Optimization 19.3 Emissions Evaluation, Mitigation, and Remediation

21 Chapter 20: Plant Operation, Reliability & Continuous Improvement

20.1 Operating Procedures, Startup, and Shutdown 20.2 Mechanical Integrity, Reliability, and Failure Mechanisms 20.3 Debottlenecking, Optimization, and Troubleshooting

18.2 PID Controller Tuning and Loop Stability

Key Takeaways Explain This Topic AI

A linear closed-loop control system is stable if and only if all roots of its characteristic equation 1 + G_OL(s) = 0 reside strictly in the open left half of the complex Laplace plane (Re(s) < 0).

The Routh-Hurwitz criterion determines closed-loop stability algebraically without factoring polynomials: all coefficients in the characteristic equation must be positive, and there must be zero sign changes in the first column of the Routh array.

Under frequency response analysis, the Bode stability criterion requires the open-loop amplitude ratio to be strictly less than unity at the phase crossover frequency omega_co (where phase angle is -180 deg); robust chemical process loops require Gain Margin GM >= 1.7 to 2.0 and Phase Margin PM >= 30 deg to 45 deg.

Ziegler-Nichols closed-loop tuning determines the ultimate gain K_u and ultimate period P_u at sustained marginal oscillation: classic settings (PID: K_c = 0.60 * K_u, tau_I = P_u / 2, tau_D = P_u / 8) produce an aggressive quarter-amplitude decay ratio (DR = 0.25), whereas Tyreus-Luyben rules provide more conservative damping for chemical plants.

For dead-time dominated processes (theta / tau_p > 0.5), Cohen-Coon and Internal Model Control (IMC) tuning correlations significantly outperform Ziegler-Nichols rules by incorporating the controllability ratio to avoid underdamped oscillatory instability.

Last updated: September 2026

18.2 PID Controller Tuning and Loop Stability

In chemical manufacturing, improper controller tuning leads to catastrophic consequences: unstable exothermic reactors can experience thermal runaway, distillation columns can flood or dump trays, and uncoordinated pressure loops can lift relief valves. Achieving robust stability requires an analytical understanding of how controller parameters ( K c , τ I , τ D K_c, \tau_I, \tau_D K c ​ , τ I ​ , τ D ​ ) interact with process inertia and dead time.

On the NCEES PE Chemical Exam , stability analysis and tuning questions require finding the ultimate gain ( K u K_u K u ​ ) and period ( P u P_u P u ​ ), constructing Routh arrays , evaluating Gain Margin ( G M GM GM ) and Phase Margin ( P M PM PM ) on Bode plots, and applying Ziegler-Nichols , Cohen-Coon , and Internal Model Control (IMC) tuning rules.

  • 1. Closed-Loop Stability & Pole Placement
  • The Characteristic Equation

The stability of any linear feedback control loop is dictated by the denominator of its closed-loop transfer function. Regardless of whether a setpoint change or load disturbance occurs, stability depends entirely on the roots of the characteristic equation : 1 + G O L ( s ) = 0 ⟺ 1 + G c ( s ) G v ( s ) G p ( s ) G m ( s ) = 0 1 + G_{OL}(s) = 0 \iff 1 + G_c(s) G_v(s) G_p(s) G_m(s) = 0 1 + G O L ​ ( s ) = 0 ⟺ 1 + G c ​ ( s ) G v ​ ( s ) G p ​ ( s ) G m ​ ( s ) = 0

Where G O L ( s ) G_{OL}(s) G O L ​ ( s ) is the total open-loop transfer function. The roots of this equation are the closed-loop poles ( s = p i = σ i + j ω i s = p_i = \sigma_i + j \omega_i s = p i ​ = σ i ​ + j ω i ​ ):

Stable System: All poles reside strictly in the open Left-Half Plane (LHP) of the complex s s s -plane: Re ( p i ) = σ i < 0 \text{Re}(p_i) = \sigma_i < 0 Re ( p i ​ ) = σ i ​ < 0 for all i i i . In the time domain, transient terms decay exponentially ( e σ i t → 0 e^{\sigma_i t} \to 0 e σ i ​ t → 0 ).

Marginally Stable System: One or more non-repeated conjugate poles lie exactly on the imaginary axis ( σ i = 0 , ω i ≠ 0 \sigma_i = 0, \omega_i \neq 0 σ i ​ = 0 , ω i ​  = 0 ). The process exhibits sustained, constant-amplitude oscillations at frequency ω c o \omega_{co} ω co ​ .

Unstable System: Any pole lies in the Right-Half Plane (RHP) : Re ( p i ) = σ i > 0 \text{Re}(p_i) = \sigma_i > 0 Re ( p i ​ ) = σ i ​ > 0 . The transient response grows exponentially ( e σ i t → ∞ e^{\sigma_i t} \to \infty e σ i ​ t → ∞ ), resulting in physical saturation or equipment failure. IMAGINARY AXIS (j*omega)

  • ^
  • UNSTABLE REGION | STABLE REGION
  • (Roots Grow: e^+sigma*t) | (Roots Decay: e^-sigma*t)
  • | X p1 = -sigma + j*omega
  • |
  • ------------------------+-------------------------> REAL AXIS (sigma)
  • |
  • | X p2 = -sigma - j*omega
  • |
  • MARGINALLY STABLE (sigma = 0)
  • Continuous Cycling at omega_co
  • Dynamic Damping and Decay Ratio

For second-order closed-loop poles ( s 2 + 2 ζ ω n s + ω n 2 = 0 s^2 + 2 \zeta \omega_n s + \omega_n^2 = 0 s 2 + 2 ζ ω n ​ s + ω n 2 ​ = 0 with 0 < ζ < 1 0 < \zeta < 1 0 < ζ < 1 ):

Damping Ratio ( ζ \zeta ζ ): Controls oscillation damping. Low ζ \zeta ζ yields sharp oscillations.

Decay Ratio ( D R DR D R ): The ratio of the amplitude of the second peak to that of the first peak: D R = exp ⁡ ( − 2 π ζ 1 − ζ 2 ) = ( O S ) 2 DR = \exp\left( -\frac{2 \pi \zeta}{\sqrt{1 - \zeta^2}} \right) = (OS)^2 D R = exp ( − 1 − ζ 2 ​ 2 π ζ ​ ) = ( OS ) 2 The classic quarter-amplitude decay ratio ( D R = 1 / 4 = 0.25 DR = 1/4 = 0.25 D R = 1/4 = 0.25 ) corresponds to ζ ≈ 0.36 \zeta \approx 0.36 ζ ≈ 0.36 . While historically popular for rapid recovery, it is considered too oscillatory for modern, tightly integrated chemical processes where ζ ≈ 0.5 − 0.7 \zeta \approx 0.5 - 0.7 ζ ≈ 0.5 − 0.7 ( D R ≤ 0.05 DR \le 0.05 D R ≤ 0.05 ) is preferred.

2. Algebraic Stability: The Routh-Hurwitz Criterion

The Routh-Hurwitz criterion tests whether any roots of a polynomial characteristic equation have positive real parts without requiring numerical root finding. a n s n + a n − 1 s n − 1 + a n − 2 s n − 2 + ⋯ + a 1 s + a 0 = 0 a_n s^n + a_{n-1} s^{n-1} + a_{n-2} s^{n-2} + \dots + a_1 s + a_0 = 0 a n ​ s n + a n − 1 ​ s n − 1 + a n − 2 ​ s n − 2 + ⋯ + a 1 ​ s + a 0 ​ = 0

Necessary Condition (Stodola's Rule)

All polynomial 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 strictly non-zero and share the same mathematical sign (conventionally all positive, a i > 0 a_i > 0 a i ​ > 0 ). If any coefficient is zero or negative, the system is automatically unstable.

Constructing the Routh Array

Arrange the polynomial coefficients into a Routh array:

  • Polynomial Row Column 1 Column 2 Column 3
  • s^n a n a_n a n ​ a n − 2 a_{n-2} a n − 2 ​ a n − 4 a_{n-4} a n − 4 ​
  • s^(n-1) a n − 1 a_{n-1} a n − 1 ​ a n − 3 a_{n-3} a n − 3 ​ a n − 5 a_{n-5} a n − 5 ​
  • s^(n-2) b 1 b_1 b 1 ​ b 2 b_2 b 2 ​ b 3 b_3 b 3 ​
  • s^(n-3) c 1 c_1 c 1 ​ c 2 c_2 c 2 ​ c 3 c_3 c 3 ​
  • s^0 a 0 a_0 a 0 ​ 0 0

Where the array elements are calculated via cross-multiplication: 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 b_1 = \frac{a_{n-1} a_{n-2} - a_n a_{n-3}}{a_{n-1}}, \quad b_2 = \frac{a_{n-1} a_{n-4} - a_n a_{n-5}}{a_{n-1}} b 1 ​ = a n − 1 ​ a n − 1 ​ a n − 2 ​ − a n ​ a n − 3 ​ ​ , b 2 ​ = a n − 1 ​ a n − 1 ​ a n − 4 ​ − a n ​ a n − 5 ​ ​ c 1 = b 1 a n − 3 − a n − 1 b 2 b 1 , c 2 = b 1 a n − 5 − a n − 1 b 3 b 1 c_1 = \frac{b_1 a_{n-3} - a_{n-1} b_2}{b_1}, \quad c_2 = \frac{b_1 a_{n-5} - a_{n-1} b_3}{b_1} c 1 ​ = b 1 ​ b 1 ​ a n − 3 ​ − a n − 1 ​ b 2 ​ ​ , c 2 ​ = b 1 ​ b 1 ​ a n − 5 ​ − a n − 1 ​ b 3 ​ ​

Stability Theorem

The system is stable if and only if all elements in the first column of the Routh array are strictly positive ( a n , a n − 1 , b 1 , c 1 , ⋯ > 0 a_n, a_{n-1}, b_1, c_1, \dots > 0 a n ​ , a n − 1 ​ , b 1 ​ , c 1 ​ , ⋯ > 0 ). The number of sign changes in the first column equals the number of unstable roots with positive real parts (in the RHP).

To find the ultimate controller gain K u K_u K u ​ , set the row element containing K c K_c K c ​ to zero ( b 1 = 0 b_1 = 0 b 1 ​ = 0 or c 1 = 0 c_1 = 0 c 1 ​ = 0 ). The auxiliary equation formed by the preceding row yields the sustained oscillation frequency ω c o \omega_{co} ω co ​ .

Tip

Handling Dead Time with Padé Approximations:

Because dead time e − θ s e^{-\theta s} e − θ s is transcendental, Routh-Hurwitz cannot be applied directly. To use Routh-Hurwitz, approximate dead time using a first-order Padé approximation : e − θ s ≈ 1 − θ 2 s 1 + θ 2 s or first-order Taylor series e − θ s ≈ 1 − θ s e^{-\theta s} \approx \frac{1 - \frac{\theta}{2} s}{1 + \frac{\theta}{2} s} \quad \text{or first-order Taylor series} \quad e^{-\theta s} \approx 1 - \theta s e − θ s ≈ 1 + 2 θ ​ s 1 − 2 θ ​ s ​ or first-order Taylor series e − θ s ≈ 1 − θ s

3. Frequency Response & Bode Stability Criteria

Frequency response evaluates loop behavior when subjected to sinusoidal inputs by substituting s = j ω s = j\omega s = jω into the open-loop transfer function: G O L ( j ω ) = ∣ G O L ( j ω ) ∣ e j ϕ ( ω ) G_{OL}(j\omega) = |G_{OL}(j\omega)| e^{j \phi(\omega)} G O L ​ ( jω ) = ∣ G O L ​ ( jω ) ∣ e j ϕ ( ω ) . Amplitude Ratio (AR): A R O L ( ω ) = ∣ G O L ( j ω ) ∣ = ∣ G c ∣ ⋅ ∣ G v ∣ ⋅ ∣ G p ∣ ⋅ ∣ G m ∣ \text{Amplitude Ratio (AR):} \quad AR_{OL}(\omega) = |G_{OL}(j\omega)| = |G_c| \cdot |G_v| \cdot |G_p| \cdot |G_m| Amplitude Ratio (AR): A R O L ​ ( ω ) = ∣ G O L ​ ( jω ) ∣ = ∣ G c ​ ∣ ⋅ ∣ G v ​ ∣ ⋅ ∣ G p ​ ∣ ⋅ ∣ G m ​ ∣ Total Phase Angle ( ϕ ): ϕ O L ( ω ) = ∠ G O L ( j ω ) = ∠ G c + ∠ G v + ∠ G p + ∠ G m \text{Total Phase Angle (}\phi\text{):} \quad \phi_{OL}(\omega) = \angle G_{OL}(j\omega) = \angle G_c + \angle G_v + \angle G_p + \angle G_m Total Phase Angle ( ϕ ): ϕ O L ​ ( ω ) = ∠ G O L ​ ( jω ) = ∠ G c ​ + ∠ G v ​ + ∠ G p ​ + ∠ G m ​ BODE PLOT: GAIN AND PHASE MARGIN DEFINITIONS

  • Log AR
  • ^
  • 1.0 +==================\============================ (0 dB Line)
  • | \ Gain Crossover (omega_g: AR = 1)
  • | \
  • | *-----------------+
  • | \ | Gain Margin (GM = 1 / AR_co)
  • | \ v
  • +------------------------*----------------------> Frequency (omega)
  • \ Phase Crossover (omega_co: phi = -180°)
  • Phase (deg) \
  • | \
  • 135°| \ +------+ Phase Margin
  • | \ | | (PM = 180° + phi_g)
  • 180°+------------------------------*--+------v------
  • | |
  • v v omega_co
  • Characteristic Frequencies

Phase Crossover Frequency ( ω c o \omega_{co} ω co ​ ): The frequency where total open-loop phase lag reaches − 180 ∘ -180^\circ − 18 0 ∘ ( − π radians -\pi\text{ radians} − π radians ): ϕ O L ( ω c o ) = ∠ G O L ( j ω c o ) = − 180 ∘ \phi_{OL}(\omega_{co}) = \angle G_{OL}(j\omega_{co}) = -180^\circ ϕ O L ​ ( ω co ​ ) = ∠ G O L ​ ( j ω co ​ ) = − 18 0 ∘

Gain Crossover Frequency ( ω g \omega_g ω g ​ ): The frequency where open-loop amplitude ratio is exactly unity ( 0 dB 0\text{ dB} 0 dB ): A R O L ( ω g ) = ∣ G O L ( j ω g ) ∣ = 1.0 AR_{OL}(\omega_g) = |G_{OL}(j\omega_g)| = 1.0 A R O L ​ ( ω g ​ ) = ∣ G O L ​ ( j ω g ​ ) ∣ = 1.0

The Bode Stability Criterion

A closed-loop system is stable if and only if the open-loop amplitude ratio is strictly less than 1.0 at the phase crossover frequency: A R O L ( ω c o ) < 1.0 AR_{OL}(\omega_{co}) < 1.0 A R O L ​ ( ω co ​ ) < 1.0

If A R O L ( ω c o ) = 1.0 AR_{OL}(\omega_{co}) = 1.0 A R O L ​ ( ω co ​ ) = 1.0 , the loop is marginally stable and oscillates continuously. If A R O L ( ω c o ) > 1.0 AR_{OL}(\omega_{co}) > 1.0 A R O L ​ ( ω co ​ ) > 1.0 , signals circulating around the loop grow with each cycle, causing severe instability.

Robustness Metrics: Gain Margin and Phase Margin

To safeguard against modeling errors and plant aging, chemical engineering loops are tuned to maintain strict stability margins: Gain Margin (GM): G M = 1 ∣ G O L ( j ω c o ) ∣ ≥ 1.7 to 2.0 \text{Gain Margin (GM):} \quad GM = \frac{1}{|G_{OL}(j\omega_{co})|} \ge 1.7 \text{ to } 2.0 Gain Margin (GM): GM = ∣ G O L ​ ( j ω co ​ ) ∣ 1 ​ ≥ 1.7 to 2.0 G M dB = 20 log ⁡ 10 ( G M ) = − 20 log ⁡ 10 ∣ G O L ( j ω c o ) ∣ ≥ 4.6 to 6.0 dB GM_{\text{dB}} = 20 \log_{10}(GM) = -20 \log_{10} |G_{OL}(j\omega_{co})| \ge 4.6 \text{ to } 6.0\text{ dB} G M dB ​ = 20 lo g 10 ​ ( GM ) = − 20 lo g 10 ​ ∣ G O L ​ ( j ω co ​ ) ∣ ≥ 4.6 to 6.0 dB Phase Margin (PM): P M = 180 ∘ + ϕ O L ( ω g ) ≥ 30 ∘ to 45 ∘ \text{Phase Margin (PM):} \quad PM = 180^\circ + \phi_{OL}(\omega_g) \ge 30^\circ \text{ to } 45^\circ Phase Margin (PM): PM = 18 0 ∘ + ϕ O L ​ ( ω g ​ ) ≥ 3 0 ∘ to 4 5 ∘

Phase Angles for Elementary Dynamic Elements

Dead Time ( e − θ s e^{-\theta s} e − θ s ): A R = 1.0 AR = 1.0 A R = 1.0 , ϕ = − θ ω radians = − 180 ∘ π θ ω \phi = -\theta \omega\text{ radians} = -\frac{180^\circ}{\pi} \theta \omega ϕ = − θ ω radians = − π 18 0 ∘ ​ θ ω . Introduces unbounded phase lag without gain attenuation, making dead time the primary limiter of loop performance!

First-Order Lag ( 1 / ( τ s + 1 ) 1/(\tau s + 1) 1/ ( τ s + 1 ) ): A R = 1 / 1 + ω 2 τ 2 AR = 1/\sqrt{1 + \omega^2 \tau^2} A R = 1/ 1 + ω 2 τ 2 ​ , ϕ = − arctan ⁡ ( ω τ ) \phi = -\arctan(\omega \tau) ϕ = − arctan ( ω τ ) .

Pure Integrator ( 1 / s 1/s 1/ s ): A R = 1 / ω AR = 1/\omega A R = 1/ ω , ϕ = − 90 ∘ \phi = -90^\circ ϕ = − 9 0 ∘ .

Ideal Derivative ( s s s ): A R = ω AR = \omega A R = ω , ϕ = + 90 ∘ \phi = +90^\circ ϕ = + 9 0 ∘ .

  • 4. Empirical Controller Tuning Methodologies
  • 1. Ziegler-Nichols Closed-Loop (Ultimate Gain) Method

The Ziegler-Nichols (Z-N) closed-loop technique (also known as the continuous cycling method) is performed with the controller installed in automatic mode:

Deactivate integral action (set τ I → ∞ \tau_I \to \infty τ I ​ → ∞ , or reset rate = 0 = 0 = 0 ) and derivative action (set τ D = 0 \tau_D = 0 τ D ​ = 0 ).

Introduce a small setpoint disturbance.

Incrementally increase controller gain K c K_c K c ​ until the process variable exhibits sustained, constant-amplitude oscillations .

Record this critical gain as the Ultimate Gain ( K u K_u K u ​ ) and measure the period of oscillation as the Ultimate Period ( P u P_u P u ​ ) : P u = 2 π ω c o P_u = \frac{2 \pi}{\omega_{co}} P u ​ = ω co ​ 2 π ​

  • Controller Mode Controller Gain K c K_c K c ​ Integral Time τ I \tau_I τ I ​ Derivative Time τ D \tau_D τ D ​
  • P 0.50 K u 0.50 \, K_u 0.50 K u ​ — —
  • PI 0.45 K u 0.45 \, K_u 0.45 K u ​ P u / 1.20 P_u / 1.20 P u ​ /1.20 —
  • PID 0.60 K u 0.60 \, K_u 0.60 K u ​ P u / 2.00 P_u / 2.00 P u ​ /2.00 P u / 8.00 P_u / 8.00 P u ​ /8.00
  • 2. Tyreus-Luyben Tuning (Conservative Chemical Process Rules)

Ziegler-Nichols settings yield a quarter-amplitude decay ratio ( D R = 0.25 DR = 0.25 D R = 0.25 ), which is often too aggressive for chemical reactors and distillation columns. The Tyreus-Luyben rules provide a more conservative, robust response:

PI Control: K c = 0.31 K u K_c = 0.31 \, K_u K c ​ = 0.31 K u ​ , τ I = 2.20 P u \tau_I = 2.20 \, P_u τ I ​ = 2.20 P u ​ .

PID Control: K c = 0.31 K u K_c = 0.31 \, K_u K c ​ = 0.31 K u ​ , τ I = 2.20 P u \tau_I = 2.20 \, P_u τ I ​ = 2.20 P u ​ , τ D = P u / 6.30 \tau_D = P_u / 6.30 τ D ​ = P u ​ /6.30 .

3. Open-Loop Step Testing: Ziegler-Nichols vs. Cohen-Coon

When closed-loop cycling is forbidden for safety reasons, the loop is decoupled to manual mode, and a step change in valve output Δ u \Delta u Δ u is introduced to obtain the process reaction curve ( K p , τ p , θ K_p, \tau_p, \theta K p ​ , τ p ​ , θ ): Controllability Ratio: χ = θ τ p \text{Controllability Ratio:} \quad \chi = \frac{\theta}{\tau_p} Controllability Ratio: χ = τ p ​ θ ​

If χ < 0.20 \chi < 0.20 χ < 0.20 : Easy to control; standard Z-N open-loop rules work well.

If 0.20 ≤ χ ≤ 0.50 0.20 \le \chi \le 0.50 0.20 ≤ χ ≤ 0.50 : Moderate difficulty.

If χ > 0.50 \chi > 0.50 χ > 0.50 : Dead-time dominated; classic Z-N tuning produces severe instability. Cohen-Coon or IMC rules must be applied.

Tuning Method Controller Mode Controller Gain K c K_c K c ​ Integral Time τ I \tau_I τ I ​ Derivative Time τ D \tau_D τ D ​

Z-N Open-Loop P 1 K p ( τ p θ ) \frac{1}{K_p} \left( \frac{\tau_p}{\theta} \right) K p ​ 1 ​ ( θ τ p ​ ​ ) — —

PI 0.90 K p ( τ p θ ) \frac{0.90}{K_p} \left( \frac{\tau_p}{\theta} \right) K p ​ 0.90 ​ ( θ τ p ​ ​ ) 3.33 θ 3.33 \, \theta 3.33 θ —

PID 1.20 K p ( τ p θ ) \frac{1.20}{K_p} \left( \frac{\tau_p}{\theta} \right) K p ​ 1.20 ​ ( θ τ p ​ ​ ) 2.00 θ 2.00 \, \theta 2.00 θ 0.50 θ 0.50 \, \theta 0.50 θ

Cohen-Coon P 1 K p ( τ p θ ) [ 1 + θ 3 τ p ] \frac{1}{K_p} \left( \frac{\tau_p}{\theta} \right) \left[ 1 + \frac{\theta}{3 \tau_p} \right] K p ​ 1 ​ ( θ τ p ​ ​ ) [ 1 + 3 τ p ​ θ ​ ] — —

PI 1 K p ( τ p θ ) [ 0.90 + θ 12 τ p ] \frac{1}{K_p} \left( \frac{\tau_p}{\theta} \right) \left[ 0.90 + \frac{\theta}{12 \tau_p} \right] K p ​ 1 ​ ( θ τ p ​ ​ ) [ 0.90 + 12 τ p ​ θ ​ ] θ [ 30 + 3 ( θ / τ p ) 9 + 20 ( θ / τ p ) ] \theta \left[ \frac{30 + 3(\theta/\tau_p)}{9 + 20(\theta/\tau_p)} \right] θ [ 9 + 20 ( θ / τ p ​ ) 30 + 3 ( θ / τ p ​ ) ​ ] —

PID 1 K p ( τ p θ ) [ 16 τ p + 3 θ 12 τ p ] \frac{1}{K_p} \left( \frac{\tau_p}{\theta} \right) \left[ \frac{16 \tau_p + 3 \theta}{12 \tau_p} \right] K p ​ 1 ​ ( θ τ p ​ ​ ) [ 12 τ p ​ 16 τ p ​ + 3 θ ​ ] θ [ 32 + 6 ( θ / τ p ) 13 + 8 ( θ / τ p ) ] \theta \left[ \frac{32 + 6(\theta/\tau_p)}{13 + 8(\theta/\tau_p)} \right] θ [ 13 + 8 ( θ / τ p ​ ) 32 + 6 ( θ / τ p ​ ) ​ ] θ [ 4 11 + 2 ( θ / τ p ) ] \theta \left[ \frac{4}{11 + 2(\theta/\tau_p)} \right] θ [ 11 + 2 ( θ / τ p ​ ) 4 ​ ]

4. Internal Model Control (IMC) Tuning

Internal Model Control parameterizes the controller in terms of the desired closed-loop time constant τ c \tau_c τ c ​ (a tuning knob where smaller τ c \tau_c τ c ​ gives faster response, while larger τ c \tau_c τ c ​ increases robustness): K c = 1 K p ( τ p τ c + θ ) , τ I = τ p K_c = \frac{1}{K_p} \left( \frac{\tau_p}{\tau_c + \theta} \right), \quad \tau_I = \tau_p K c ​ = K p ​ 1 ​ ( τ c ​ + θ τ p ​ ​ ) , τ I ​ = τ p ​

Typically, set τ c = θ \tau_c = \theta τ c ​ = θ for moderate performance, or τ c = 3 θ \tau_c = 3 \theta τ c ​ = 3 θ for high robustness. IMC produces smooth, monotonic setpoint tracking with zero overshoot .

5. Summary Comparison Table: PID Tuning Strategies

Method Primary Test / Input Basis & Philosophy Pros Cons / Traps

Z-N Closed-Loop K u , P u K_u, P_u K u ​ , P u ​ from continuous cycling. Marginally stable loop ( A R = 1 , ϕ = − 180 ∘ AR=1, \phi=-180^\circ A R = 1 , ϕ = − 18 0 ∘ ). Direct experimental measurement; no transfer function required. Pushes plant to the brink of instability; quarter-decay is too oscillatory.

Tyreus-Luyben K u , P u K_u, P_u K u ​ , P u ​ from continuous cycling. Damped chemical process response. Prevents valve wear; minimal overshoot; conservative. Slower disturbance settling times.

Z-N Open-Loop K p , τ p , θ K_p, \tau_p, \theta K p ​ , τ p ​ , θ from manual step test. Reaction curve tangent slope ( S = K p / τ p S = K_p / \tau_p S = K p ​ / τ p ​ ). Safe manual step test; simple calculation. Fails completely when dead time is large ( θ / τ p > 0.5 \theta / \tau_p > 0.5 θ / τ p ​ > 0.5 ).

Cohen-Coon K p , τ p , θ K_p, \tau_p, \theta K p ​ , τ p ​ , θ from manual step test. Quarter-decay with dead-time ratio compensation. Excellent for moderate to high dead-time systems. Formulae are complex; can still yield high overshoot.

IMC / Direct Synthesis K p , τ p , θ K_p, \tau_p, \theta K p ​ , τ p ​ , θ and user choice of τ c \tau_c τ c ​ . Process model inversion with low-pass filter. Robust; non-oscillatory; intuitive single tuning knob ( τ c \tau_c τ c ​ ). Slow load disturbance rejection on lag-dominated processes if τ c \tau_c τ c ​ is too large.

  • 6. Comprehensive Worked Numerical Example
  • Problem Statement

A chemical reactor temperature control loop consists of three first-order non-interacting thermal capacitances in series, governed by the following open-loop transfer function ( G v = 1.0 , G m = 1.0 G_v = 1.0, G_m = 1.0 G v ​ = 1.0 , G m ​ = 1.0 ): G O L ( s ) = 2.0 K c ( s + 1 ) ( 2 s + 1 ) ( 4 s + 1 ) G_{OL}(s) = \frac{2.0 \, K_c}{(s + 1)(2s + 1)(4s + 1)} G O L ​ ( s ) = ( s + 1 ) ( 2 s + 1 ) ( 4 s + 1 ) 2.0 K c ​ ​

Routh-Hurwitz Stability: Formulate the closed-loop characteristic polynomial, construct the Routh array, and determine the range of controller gain K c K_c K c ​ for closed-loop stability.

Ultimate Parameters: Evaluate the ultimate gain K u K_u K u ​ , phase crossover frequency ω c o \omega_{co} ω co ​ , and ultimate period P u P_u P u ​ .

Bode Verification: Verify ω c o \omega_{co} ω co ​ and K u K_u K u ​ using frequency response principles.

PID Tuning Calculations: Calculate the controller settings ( K c , τ I , τ D K_c, \tau_I, \tau_D K c ​ , τ I ​ , τ D ​ ) using classic Ziegler-Nichols closed-loop rules, and compare them with Tyreus-Luyben settings.

Step 1: Characteristic Polynomial & Routh Array

The closed-loop characteristic equation is 1 + G O L ( s ) = 0 1 + G_{OL}(s) = 0 1 + G O L ​ ( s ) = 0 : 1 + 2.0 K c ( s + 1 ) ( 2 s + 1 ) ( 4 s + 1 ) = 0 1 + \frac{2.0 \, K_c}{(s + 1)(2s + 1)(4s + 1)} = 0 1 + ( s + 1 ) ( 2 s + 1 ) ( 4 s + 1 ) 2.0 K c ​ ​ = 0 ( s + 1 ) ( 2 s + 1 ) ( 4 s + 1 ) + 2.0 K c = 0 (s + 1)(2s + 1)(4s + 1) + 2.0 \, K_c = 0 ( s + 1 ) ( 2 s + 1 ) ( 4 s + 1 ) + 2.0 K c ​ = 0

Expand the product of terms: ( s + 1 ) ( 2 s + 1 ) = 2 s 2 + 3 s + 1 (s + 1)(2s + 1) = 2s^2 + 3s + 1 ( s + 1 ) ( 2 s + 1 ) = 2 s 2 + 3 s + 1 ( 2 s 2 + 3 s + 1 ) ( 4 s + 1 ) = 8 s 3 + 2 s 2 + 12 s 2 + 3 s + 4 s + 1 = 8 s 3 + 14 s 2 + 7 s + 1 (2s^2 + 3s + 1)(4s + 1) = 8s^3 + 2s^2 + 12s^2 + 3s + 4s + 1 = 8s^3 + 14s^2 + 7s + 1 ( 2 s 2 + 3 s + 1 ) ( 4 s + 1 ) = 8 s 3 + 2 s 2 + 12 s 2 + 3 s + 4 s + 1 = 8 s 3 + 14 s 2 + 7 s + 1

Adding the controller gain yields the characteristic polynomial: 8 s 3 + 14 s 2 + 7 s + ( 1 + 2 K c ) = 0 8s^3 + 14s^2 + 7s + (1 + 2 K_c) = 0 8 s 3 + 14 s 2 + 7 s + ( 1 + 2 K c ​ ) = 0

Construct the Routh array:

  • Polynomial Row Element 1 Element 2
  • s^3 8 7
  • s^2 14 1 + 2 K c 1 + 2 K_c 1 + 2 K c ​
  • s^1 b 1 b_1 b 1 ​ 0
  • s^0 1 + 2 K c 1 + 2 K_c 1 + 2 K c ​ 0

Compute b 1 b_1 b 1 ​ : b 1 = ( 14 ) ( 7 ) − ( 8 ) ( 1 + 2 K c ) 14 = 98 − 8 − 16 K c 14 = 90 − 16 K c 14 b_1 = \frac{(14)(7) - (8)(1 + 2 K_c)}{14} = \frac{98 - 8 - 16 K_c}{14} = \frac{90 - 16 K_c}{14} b 1 ​ = 14 ( 14 ) ( 7 ) − ( 8 ) ( 1 + 2 K c ​ ) ​ = 14 98 − 8 − 16 K c ​ ​ = 14 90 − 16 K c ​ ​

For stability, all elements in the first column must be strictly positive:

8 > 0 8 > 0 8 > 0 and 14 > 0 14 > 0 14 > 0 (satisfied)

b 1 > 0 ⟹ 90 − 16 K c > 0 ⟹ 16 K c < 90 ⟹ K c < 5.625 b_1 > 0 \implies 90 - 16 K_c > 0 \implies 16 K_c < 90 \implies K_c < 5.625 b 1 ​ > 0 ⟹ 90 − 16 K c ​ > 0 ⟹ 16 K c ​ < 90 ⟹ K c ​ < 5.625

1 + 2 K c > 0 ⟹ K c > − 0.500 1 + 2 K_c > 0 \implies K_c > -0.500 1 + 2 K c ​ > 0 ⟹ K c ​ > − 0.500

Thus, the range of controller gain for closed-loop stability is: − 0.500 < K c < 5.625 \mathbf{-0.500 < K_c < 5.625} − 0.500 < K c ​ < 5.625

  • Step 2: Ultimate Gain and Period
  • The upper stability boundary defines the Ultimate Gain : K u = 5.625 K_u = \mathbf{5.625} K u ​ = 5.625

At K c = K u = 5.625 K_c = K_u = 5.625 K c ​ = K u ​ = 5.625 , the s 1 s^1 s 1 row vanishes ( b 1 = 0 b_1 = 0 b 1 ​ = 0 ). Form the auxiliary equation from the s 2 s^2 s 2 row: 14 s 2 + ( 1 + 2 K u ) = 0 ⟹ 14 s 2 + ( 1 + 2 ( 5.625 ) ) = 0 14 s^2 + (1 + 2 K_u) = 0 \implies 14 s^2 + (1 + 2(5.625)) = 0 14 s 2 + ( 1 + 2 K u ​ ) = 0 ⟹ 14 s 2 + ( 1 + 2 ( 5.625 )) = 0 14 s 2 + 12.25 = 0 ⟹ s 2 = − 12.25 14 = − 0.875 14 s^2 + 12.25 = 0 \implies s^2 = -\frac{12.25}{14} = -0.875 14 s 2 + 12.25 = 0 ⟹ s 2 = − 14 12.25 ​ = − 0.875 s = ± j 0.875 = ± j 0.93541 rad/min s = \pm j \sqrt{0.875} = \pm j \, 0.93541 \text{ rad/min} s = ± j 0.875 ​ = ± j 0.93541 rad/min

The phase crossover frequency is: ω c o = 0.9354 rad/min \omega_{co} = \mathbf{0.9354 \text{ rad/min}} ω co ​ = 0.9354 rad/min

The ultimate period of oscillation is: P u = 2 π ω c o = 2 π 0.93541 = 6.717 min P_u = \frac{2 \pi}{\omega_{co}} = \frac{2 \pi}{0.93541} = \mathbf{6.717 \text{ min}} P u ​ = ω co ​ 2 π ​ = 0.93541 2 π ​ = 6.717 min

Step 3: Frequency Response (Bode) Verification

At phase crossover, the sum of individual phase angles must equal − 180 ∘ -180^\circ − 18 0 ∘ : ϕ ( ω ) = − arctan ⁡ ( ω ) − arctan ⁡ ( 2 ω ) − arctan ⁡ ( 4 ω ) = − 180 ∘ \phi(\omega) = -\arctan(\omega) - \arctan(2\omega) - \arctan(4\omega) = -180^\circ ϕ ( ω ) = − arctan ( ω ) − arctan ( 2 ω ) − arctan ( 4 ω ) = − 18 0 ∘

Substitute ω = 0.93541 rad/min \omega = 0.93541\text{ rad/min} ω = 0.93541 rad/min :

− arctan ⁡ ( 0.93541 ) = − 43.09 ∘ -\arctan(0.93541) = -43.09^\circ − arctan ( 0.93541 ) = − 43.0 9 ∘

− arctan ⁡ ( 2 × 0.93541 ) = − arctan ⁡ ( 1.8708 ) = − 61.88 ∘ -\arctan(2 \times 0.93541) = -\arctan(1.8708) = -61.88^\circ − arctan ( 2 × 0.93541 ) = − arctan ( 1.8708 ) = − 61.8 8 ∘

− arctan ⁡ ( 4 × 0.93541 ) = − arctan ⁡ ( 3.7416 ) = − 75.03 ∘ -\arctan(4 \times 0.93541) = -\arctan(3.7416) = -75.03^\circ − arctan ( 4 × 0.93541 ) = − arctan ( 3.7416 ) = − 75.0 3 ∘

∑ ϕ = − 43.09 ∘ − 61.88 ∘ − 75.03 ∘ = − 180.00 ∘ \sum \phi = -43.09^\circ - 61.88^\circ - 75.03^\circ = -180.00^\circ ∑ ϕ = − 43.0 9 ∘ − 61.8 8 ∘ − 75.0 3 ∘ = − 180.0 0 ∘ (Verified!)

Compute the amplitude ratio of the process at ω c o \omega_{co} ω co ​ : ∣ G p ( j ω c o ) ∣ = 2.0 1 + ω 2 1 + 4 ω 2 1 + 16 ω 2 |G_p(j\omega_{co})| = \frac{2.0}{\sqrt{1 + \omega^2} \sqrt{1 + 4\omega^2} \sqrt{1 + 16\omega^2}} ∣ G p ​ ( j ω co ​ ) ∣ = 1 + ω 2 ​ 1 + 4 ω 2 ​ 1 + 16 ω 2 ​ 2.0 ​ 1 + ω 2 = 1 + 0.875 = 1.875 ⟹ 1.875 = 1.3693 1 + \omega^2 = 1 + 0.875 = 1.875 \implies \sqrt{1.875} = 1.3693 1 + ω 2 = 1 + 0.875 = 1.875 ⟹ 1.875 ​ = 1.3693 1 + 4 ω 2 = 1 + 3.500 = 4.500 ⟹ 4.500 = 2.1213 1 + 4\omega^2 = 1 + 3.500 = 4.500 \implies \sqrt{4.500} = 2.1213 1 + 4 ω 2 = 1 + 3.500 = 4.500 ⟹ 4.500 ​ = 2.1213 1 + 16 ω 2 = 1 + 14.00 = 15.00 ⟹ 15.00 = 3.8730 1 + 16\omega^2 = 1 + 14.00 = 15.00 \implies \sqrt{15.00} = 3.8730 1 + 16 ω 2 = 1 + 14.00 = 15.00 ⟹ 15.00 ​ = 3.8730 ∣ G p ( j ω c o ) ∣ = 2.0 ( 1.3693 ) ( 2.1213 ) ( 3.8730 ) = 2.0 11.250 = 0.17778 |G_p(j\omega_{co})| = \frac{2.0}{(1.3693)(2.1213)(3.8730)} = \frac{2.0}{11.250} = 0.17778 ∣ G p ​ ( j ω co ​ ) ∣ = ( 1.3693 ) ( 2.1213 ) ( 3.8730 ) 2.0 ​ = 11.250 2.0 ​ = 0.17778

At marginal stability, ∣ G O L ∣ = K u ∣ G p ∣ = 1.0 |G_{OL}| = K_u |G_p| = 1.0 ∣ G O L ​ ∣ = K u ​ ∣ G p ​ ∣ = 1.0 : K u = 1 ∣ G p ( j ω c o ) ∣ = 1 0.17778 = 5.625 ( Exact Match! ) K_u = \frac{1}{|G_p(j\omega_{co})|} = \frac{1}{0.17778} = \mathbf{5.625} \quad (\text{Exact Match!}) K u ​ = ∣ G p ​ ( j ω co ​ ) ∣ 1 ​ = 0.17778 1 ​ = 5.625 ( Exact Match! )

Step 4: PID Controller Settings Comparison

Classic Ziegler-Nichols Closed-Loop PID Settings: K c = 0.60 K u = 0.60 × 5.625 = 3.375 K_c = 0.60 \, K_u = 0.60 \times 5.625 = \mathbf{3.375} K c ​ = 0.60 K u ​ = 0.60 × 5.625 = 3.375 τ I = P u 2.0 = 6.717 min 2.0 = 3.359 min \tau_I = \frac{P_u}{2.0} = \frac{6.717\text{ min}}{2.0} = \mathbf{3.359\text{ min}} τ I ​ = 2.0 P u ​ ​ = 2.0 6.717 min ​ = 3.359 min τ D = P u 8.0 = 6.717 min 8.0 = 0.840 min \tau_D = \frac{P_u}{8.0} = \frac{6.717\text{ min}}{8.0} = \mathbf{0.840\text{ min}} τ D ​ = 8.0 P u ​ ​ = 8.0 6.717 min ​ = 0.840 min

Tyreus-Luyben Chemical Process Settings: K c = 0.31 K u = 0.31 × 5.625 = 1.744 K_c = 0.31 \, K_u = 0.31 \times 5.625 = \mathbf{1.744} K c ​ = 0.31 K u ​ = 0.31 × 5.625 = 1.744 τ I = 2.20 P u = 2.20 × 6.717 min = 14.777 min \tau_I = 2.20 \, P_u = 2.20 \times 6.717\text{ min} = \mathbf{14.777\text{ min}} τ I ​ = 2.20 P u ​ = 2.20 × 6.717 min = 14.777 min τ D = P u 6.30 = 6.717 min 6.30 = 1.066 min \tau_D = \frac{P_u}{6.30} = \frac{6.717\text{ min}}{6.30} = \mathbf{1.066\text{ min}} τ D ​ = 6.30 P u ​ ​ = 6.30 6.717 min ​ = 1.066 min

(Notice that Tyreus-Luyben slashes the controller gain by nearly 50% and increases integral time by over 400%, suppressing oscillations and providing superior gain and phase margins).

7. Critical PE Exam Traps & Pitfalls

  • Warning
  • Trap 1: Confusing Ultimate Gain ( K u K_u K u ​ ) with Process Gain ( K p K_p K p ​ )

Process gain K p K_p K p ​ is an inherent physical parameter of the equipment ( Δ y s s / Δ u \Delta y_{ss} / \Delta u Δ y ss ​ /Δ u ). Ultimate gain K u K_u K u ​ is the controller gain setting that causes the closed loop to enter sustained, undamped oscillations at ω c o \omega_{co} ω co ​ . Never substitute K p K_p K p ​ into the Ziegler-Nichols closed-loop tuning formulas in place of K u K_u K u ​ .

  • Warning
  • Trap 2: Mixing Radians and Degrees in Dead-Time Phase Lag

The phase contribution of dead time is ϕ d e a d = − θ ω \phi_{dead} = -\theta \omega ϕ d e a d ​ = − θ ω . This formula yields radians! When summing with arc-tangent terms in degrees, you must convert radians to degrees: ϕ d e a d = − θ ω × ( 180 ∘ / π ) \phi_{dead} = -\theta \omega \times (180^\circ / \pi) ϕ d e a d ​ = − θ ω × ( 18 0 ∘ / π ) . Forgetting this conversion leads to gross errors in calculating ω c o \omega_{co} ω co ​ and stability margins.

  • Warning
  • Trap 3: Reset Rate vs. Integral Time Constant Units

Exam questions often quote integral action as either integral time τ I \tau_I τ I ​ (minutes per repeat) or reset rate I I I (repeats per minute), where I = 1 / τ I I = 1 / \tau_I I = 1/ τ I ​ . Entering I I I where τ I \tau_I τ I ​ is expected in tuning formulas produces an inverted, destabilizing integral action.

  • Warning
  • Trap 4: Miscalculating Phase Margin Sign

Phase margin is defined as P M = 180 ∘ + ϕ O L ( ω g ) PM = 180^\circ + \phi_{OL}(\omega_g) PM = 18 0 ∘ + ϕ O L ​ ( ω g ​ ) , where ϕ O L ( ω g ) \phi_{OL}(\omega_g) ϕ O L ​ ( ω g ​ ) is inherently negative (e.g., − 145 ∘ -145^\circ − 14 5 ∘ ). Therefore, P M = 180 ∘ + ( − 145 ∘ ) = + 35 ∘ PM = 180^\circ + (-145^\circ) = +35^\circ PM = 18 0 ∘ + ( − 14 5 ∘ ) = + 3 5 ∘ . A positive phase margin signifies stability; a negative phase margin indicates an unstable loop.