Lecture 8 Paper 2
🎯 Chapter 9: PID Tuning Methods — Full Overview
📌 1. What is PID Tuning and Why It Matters
PID tuning = choosing the right values for:
- P (Proportional) → reacts to current error
- I (Integral) → corrects accumulated error
- D (Derivative) → predicts future error
👉 The goal: Make your system:
- stable
- fast
- accurate
💡 Key idea from the introduction (page 1):
Good tuning is a trade-off between performance and stability.
⚖️ 2. Tuning Criteria & Performance Metrics
🎯 Main Objectives
From pages 1–2:
- Minimize deviation from setpoint
- Track setpoint quickly
- Avoid excessive control effort
- Stay stable under disturbances
- Eliminate steady-state offset
⚠️ Important: You cannot optimize all of these at once → tuning is always a compromise.
📊 Error Metrics (VERY IMPORTANT)
These measure how “bad” your control is:
- IAE (Integral Absolute Error) → total error over time
- ITAE (Integral Time Absolute Error) → penalizes errors later in time
- ISE (Integral Square Error) → penalizes large errors strongly
- ITSE (Integral Time Square Error) → strong penalty for large + late errors
💡 Interpretation:
- ITAE/ITSE → smoother, long-term performance
- ISE → aggressive correction of large errors
📉 System Response Types (Page 3)
The diagrams show:
- ✅ Critically damped → fastest without overshoot
- ⚖️ Quarter decay ratio → controlled oscillations (industry standard)
- ⚠️ Underdamped → oscillations
- ❌ Ringing → too aggressive
👉 Engineers often aim for quarter decay ratio (QDR)
📏 Decay Ratio (Page 4)
Measured as:
ratio between successive peaks
- High → oscillatory
- Low → overdamped
💡 Used to evaluate tuning quality.
📦 Industrial Performance (Page 4)
Measured using:
- variability of output
- standard deviation from setpoint
👉 Lower variation = better control
🔧 3. Classical Tuning Methods
🧪 A. Ziegler–Nichols Method (Page 5–6)
🔥 Core Idea:
Push system to oscillation → measure → tune
Steps:
- Remove I and D
- Increase P until oscillation
- Record:
- Kₙ (ultimate gain)
- Pₙ (oscillation period)
- Use formulas (Table 9.3)
📊 Result:
- Fast
- Aggressive
- Often oscillatory
💡 Assumes quarter decay ratio behavior
📐 B. Cohen–Coon Method
🔥 Core Idea:
Uses a process model (FOPDT):
- gain (K)
- time constant (τ)
- dead time (θ)
📊 Provides formulas (Table 9.2)
💡 Characteristics:
- Better for processes with dead time
- Less aggressive than Ziegler–Nichols
- More model-based
📈 C. Ciancone & Marlin Method
🔥 Core Idea:
Uses dimensionless parameters
- fractional dead time
- normalized gain/time
📊 Uses correlation charts (page 8)
💡 Key Insights:
- Better handling of disturbances
- Requires process modeling
- More complex
⚠️ Important Limitation (Page 9)
All classical methods:
- assume simple models
- can be inaccurate for complex systems
- may produce unstable or suboptimal results
📍 4. Pole Placement Method
🧠 Core Idea:
Instead of trial-and-error: 👉 You choose desired system behavior first
Then calculate controller parameters.
🎯 You Specify:
- damping factor (ζ)
- time constant (τ)
📉 Result (Page 11–12):
You directly control:
- speed
- overshoot
- stability
💡 Key Insight:
- More systematic than classical methods
- But:
- requires a model
- harder to implement in real systems
⚠️ Limitation (Page 14):
- Not always realistic for industrial processes
- Sensitive to modeling errors
🔁 5. Internal Model Control (IMC)
🧠 Core Idea:
Build a model of the process inside the controller
👉 Controller uses model to predict behavior
🔄 Structure (Page 15–16 diagrams):
- Process model
- Controller based on inverse model
- Feedback loop
🧩 Ideal Case:
If model = perfect: 👉 Perfect tracking and disturbance rejection
⚠️ Real Case:
Models are imperfect → need:
- filters
- approximations
🔧 Key Design Trick:
Split model into:
- invertible part
- non-invertible part
Only invert what is safe.
📐 IMC Tuning (Page 18–19)
Results in PI/PID parameters based on:
- process gain
- time constant
- dead time
💡 Advantages:
- Systematic
- Physically meaningful
- Handles dead time well
❌ Disadvantages:
- Requires model
- Not always used in industry due to complexity
🧪 6. Practical Example (Page 20)
Example: pH control in a reactor
Key takeaway:
- Different tuning methods → different controller values
- IMC and pole placement often give consistent results
- Classical methods may fail if assumptions break
🧠 Final Big Picture
🧩 Comparison of Methods
| Method | Easy | Accurate | Needs Model | Behavior |
|---|---|---|---|---|
| Ziegler–Nichols | ✅ | ❌ | ❌ | Aggressive |
| Cohen–Coon | ⚖️ | ⚖️ | ✅ | Moderate |
| Ciancone–Marlin | ❌ | ✅ | ✅ | Balanced |
| Pole Placement | ❌ | ✅ | ✅ | Designed response |
| IMC | ⚖️ | ✅ | ✅ | Robust |
🎯 Key Takeaways
- PID tuning is always a compromise
- Classical methods are:
- simple
- but less reliable
- Modern methods (Pole placement, IMC):
- more accurate
- require models
🧠 Intuition to Remember
- P → speed
- I → accuracy
- D → stability
If you want, next step:
- I can turn this into a cheat sheet,
- or make a 30-question exam-style quiz (JSON) like you usually use.