Boiler Study
Boiler Study
Designing PID controllers for a boiler system with Master, Fuel, and Air loops—especially in
an Air-Fuel Ratio (AFR) control strategy—is a classic and critical control application. You're on
the right track with your structure: Master PID controlling steam pressure, cascading to Fuel
and Air PIDs with a low selector on the fuel side and a high selector on the air side.
1. Master Loop
Output: Fuel demand signal (used as input to both Fuel and Air PIDs)
2. Fuel Loop
SP: Output of LOW selector (min of Master output and Air flow)
3. Air Loop
SP: Output of HIGH selector (max of Master output and Fuel flow)
Air always matches or slightly exceeds fuel (safe and complete combustion)
Type: PI (usually no D)
Goal: Maintain pressure by adjusting fuel/air demand
Tuning Suggestion:
ini
CopyEdit
Kp = 1.0
Ti = 100 s
SP: Output of low selector (min of master demand and actual air flow)
Tuning Suggestion:
o Example:
ini
CopyEdit
Kp = 2.0
Ti = 20 s
SP: Output of high selector (max of master demand and fuel flow)
Tuning Suggestion:
o Example:
ini
CopyEdit
Kp = 2.5
Ti = 15 s
Low/High Prevents unsafe operation. Fuel cannot exceed air (low selector), and air
Selectors always slightly exceeds fuel (high selector).
Signal Filtering Apply low-pass filters to measured flows to prevent oscillation from noise.
Failsafe In case of sensor failure, define safe fallback modes (e.g., fixed air/fuel
Defaults ratio).
Gradually introduce load changes (steam demand) and observe controller behavior
If you'd like, I can help draft the Siemens PLC logic using FB41 or PID Compact blocks, along
with selector logic. Let me know what PLC and HMI you're using!
DEEPSEEK
Designing a boiler control system with Master, Fuel, and Air PID controllers requires careful
tuning and coordination to ensure efficient combustion, stable steam pressure, and safe
operation. Below is a structured approach to designing these controllers,
including interlocks, selector logic, and initial PID tuning parameters.
1. System Overview
Control Objectives
o Output: Sets the demand for fuel and air flow (SP for Fuel and Air PIDs).
o Input: Selected demand (low selector between Master output and Air flow).
o Goal: Ensure fuel flow matches combustion demand while preventing rich
combustion (excess fuel).
o Input: Selected demand (high selector between Master output and Fuel
flow).
o Goal: Ensure sufficient air for complete combustion while preventing excess
air (heat loss).
Selector Logic
Fuel PID Input: MIN(Master_PID_Output, Air_Flow) → Ensures fuel never exceeds air
(prevents rich combustion).
MIN(Master_Output,
SP (Setpoint) Ensures fuel ≤ air.
Air_Flow)
Initial Tuning Kp=0.8, Ti=20s, Td=2s Tune for fast but stable response.
(whichever is higher).
MAX(Master_Output,
SP (Setpoint) Ensures air ≥ fuel.
Fuel_Flow)
Logic:
plaintext
Copy
Logic:
plaintext
Copy
4. Safety Interlocks
1. Air-Fuel Cross-Limiting
o If air flow fails, fuel PID SP is forced to zero (shut fuel valve).
plaintext
Copy
plaintext
Copy
|----[ CMP D100 D200 ]----| // Compare Master output (D100) & Air flow (D200)
|----[ MIN D100 D200 D300 ]----| // D300 = MIN(D100, D200) → Fuel PID SP
plaintext
Copy
|----[ CMP D100 D500 ]----| // Compare Master output (D100) & Fuel flow (D500)
|----[ MAX D100 D500 D600 ]----| // D600 = MAX(D100, D500) → Air PID SP
o Ensure Fuel and Air PIDs respond faster than Master PID.
Conclusion
For further optimization, consider O₂ trim and adaptive PID tuning. Let me know if you need
help with implementation! 🔥
GROK
Designing PID controllers for a boiler system with Master, Fuel, and Air loops, as described,
involves ensuring stable and efficient control of steam pressure while coordinating fuel and
air flows to maintain safe and optimal combustion. Below, I’ll outline the steps to design
these PID controllers, explain the control structure, and suggest basic parameter values for
tuning. The explanation assumes a typical boiler control scenario where the Master PID
controls steam pressure, and Fuel and Air PIDs manage combustion with cross-limiting logic
(low selector for fuel, high selector for air).
The system you described is a boiler combustion control system with cross-limiting to
ensure safe operation:
o Output: Demand signal (e.g., firing rate demand) that serves as the setpoint
for Fuel and Air PIDs.
o Setpoint: Output from the Master PID, passed through a low selector that
compares Master output with measured air flow.
o Purpose: Controls fuel flow to meet the firing demand while ensuring it
doesn’t exceed the available air (preventing incomplete combustion).
o Setpoint: Output from the Master PID, passed through a high selector that
compares Master output with measured fuel flow.
Cross-Limiting Logic:
o Low Selector (Fuel): Ensures fuel flow setpoint is the lesser of the Master
demand or a value proportional to air flow. This prevents fuel-rich conditions
(too much fuel, not enough air).
o High Selector (Air): Ensures air flow setpoint is the greater of the Master
demand or a value proportional to fuel flow. This ensures enough air for
complete combustion, even during load changes.
Fuel Flow:
Air Flow:
Safety Constraints:
o Air-fuel ratio must stay within safe limits (e.g., stoichiometric ratio + excess
air).
o Avoid oscillations that could cause flame instability or trips.
o Typically a slow process with time constants in minutes (e.g., 1–5 min).
Fuel Flow:
o Depends on fuel valve/actuator dynamics and fuel type (gas, oil, coal).
Air Flow:
Step Tests: Apply small step changes to valve positions and measure responses
(pressure, fuel flow, air flow).
Form: Use standard PID form: u(t)=Kpe(t)+Ki∫e(t)dt+Kdde(t)dt u(t) = K_p e(t) + K_i \
int e(t) dt + K_d \frac{de(t)}{dt} u(t)=Kpe(t)+Ki∫e(t)dt+Kddtde(t), where:
o Ki K_i Ki: Integral gain (or reset time, Ti=Kp/Ki T_i = K_p / K_i Ti=Kp/Ki).
o Kd K_d Kd: Derivative gain (or derivative time, Td=Kd/Kp T_d = K_d / K_p Td
=Kd/Kp).
Mode:
o Master PID: Likely PI (no derivative) due to slow dynamics and noise in
pressure signals.
Anti-Windup: Enable for all loops to handle actuator saturation (e.g., valve fully
open/closed).
Use a tuning method to estimate initial PID parameters. Common methods include:
o Perform open-loop step test to find process gain K K K, time constant τ \tau τ,
and dead time θ \theta θ.
o Use FOPDT model parameters to compute Kp K_p Kp, Ti T_i Ti, Td T_d Td.
Software Tools: Use tuning software (e.g., PID Tuner in MATLAB, DeltaV Tune) for
simulation-based tuning.
Suggested Initial Parameters (based on typical boiler dynamics, adjust after testing):
Fuel PID:
o Example: Kp=0.5 K_p = 0.5 Kp=0.5, Ti=20 T_i = 20 Ti=20 sec, Td=0 T_d = 0 Td
=0.
Air PID:
o Example: Kp=0.8 K_p = 0.8 Kp=0.8, Ti=30 T_i = 30 Ti=30 sec, Td=0 T_d = 0 Td
=0.
Notes:
Units depend on your system (e.g., %/% for normalized signals, or specific units like
psig for pressure).
Fuel and Air PIDs need faster response than Master to track cross-limiting setpoints.
o Input 2: Air flow (scaled to equivalent firing demand, e.g., air flow × air-fuel
ratio constant).
o Scaling: Ensure air flow is scaled to match fuel units (e.g., if fuel is lb/hr,
convert air flow to equivalent fuel demand using stoichiometric ratio + excess
air).
High Selector (Air):
o Scaling: Fuel flow × (stoichiometric air-fuel ratio + excess air factor, e.g., 1.1–
1.2 for 10–20% excess air).
Tuning Consideration:
o Cross-limiting introduces interaction between loops. Tune Fuel and Air PIDs to
respond faster than Master to minimize lag in setpoint tracking.
o Test selectors during load ramps to ensure air leads on increase and fuel leads
on decrease.
Simulation:
o Use a process simulator (e.g., Simulink, HYSYS) to test the control system with
estimated dynamics.
Field Testing:
o Perform small setpoint changes (e.g., ±5% steam pressure) and load ramps.
Step 7: Fine-Tune
Master PID:
Fuel PID:
o Adjust for fast tracking of low selector setpoint without valve chatter.
Iterative Tuning:
o Tune Master PID first with Fuel and Air in manual (fixed outputs).
Feedforward Control:
o Add feedforward for steam demand changes (e.g., turbine load) to Master
PID.
Gain Scheduling:
o Vary PID gains based on boiler load (e.g., low vs. high fire).
O2 Trim:
o Add a slow outer loop to adjust air setpoint based on stack O2 measurement
(e.g., maintain 2–4% O2).
Ratio Control:
The initial values below are starting points for a typical industrial boiler (e.g., 50,000–
200,000 lb/hr steam, gas-fired). Adjust based on your system’s dynamics and testing.
Master (Pressure) Kp K_p Kp 1.0 %/% Adjust for ±0.5–2 based on response.
Cross-Limiting Parameters:
Air-fuel ratio: Set stoichiometric ratio + 10–20% excess air (e.g., 1.1–1.2 ×
stoichiometric for gas).
Scaling constants: Calibrate based on flowmeter ranges (e.g., fuel flow max = 1000
lb/hr, air flow max = 12,000 SCFM).
Stability First: Prioritize stable operation over aggressive response. Boilers are critical
systems where oscillations can cause trips or damage.
Safety: Always verify that cross-limiting prevents fuel-rich conditions. Monitor stack
O2 and CO during tuning.
Robustness: Design for varying loads (e.g., 25–100% capacity). Test at low, medium,
and high fire.
Data Logging: Use DCS trends to analyze PV, SP, and output signals during tuning.
Documentation: Record tuning parameters and test results for future reference.
Maintenance:
Nonlinearities:
o Problem: Dampers and valves may have nonlinear responses (e.g., gain
changes with position).
o Solution: Use gain scheduling or characterize nonlinearities in the control
system.
Interactions:
o Solution: Tune Fuel and Air PIDs to be faster than Master, and test under
dynamic conditions.
Dead Time:
Noise:
o Solution: Apply filtering (e.g., first-order filter with 1–2 sec time constant) and
avoid derivative action.
6. Example Workflow
1. Setup:
o Set Fuel PID to control fuel flow with low selector (Master output vs. air flow).
o Set Air PID to control air flow with high selector (Master output vs. fuel flow).
2. Initial Test:
3. Tuning:
o Tune Master PID with Fuel/Air in manual (e.g., Kp=1 K_p = 1 Kp=1, Ti=120 T_i
= 120 Ti=120 sec).
o Tune Fuel PID to track setpoint changes (e.g., Kp=0.5 K_p = 0.5 Kp=0.5, Ti=20
T_i = 20 Ti=20 sec).
o Tune Air PID similarly (e.g., Kp=0.8 K_p = 0.8 Kp=0.8, Ti=30 T_i = 30 Ti=30 sec).
4. Dynamic Test:
5. Refine:
7. Notes on Implementation
Scaling: Normalize signals (e.g., 0–100%) for consistency, or use engineering units
with proper scaling.
Alarms: Set alarms for low O2, high CO, or pressure excursions to catch tuning issues.
8. Final Answer
Master PID: Controls steam pressure (e.g., Kp=1 K_p = 1 Kp=1, Ti=120 T_i = 120 Ti
=120 sec, Td=0 T_d = 0 Td=0).
Fuel PID: Controls fuel flow with low selector (e.g., Kp=0.5 K_p = 0.5 Kp=0.5, Ti=20
T_i = 20 Ti=20 sec, Td=0 T_d = 0 Td=0).
Air PID: Controls air flow with high selector (e.g., Kp=0.8 K_p = 0.8 Kp=0.8, Ti=30 T_i
= 30 Ti=30 sec, Td=0 T_d = 0 Td=0).
Cross-Limiting: Ensures air leads on load increase, fuel leads on decrease, with 10–
20% excess air.
Steps:
Tools: Use DCS trending, simulation software, or tuning calculators for precision.
Adjust parameters based on your boiler’s specific dynamics (size, fuel type, load range) and
test thoroughly to ensure safe, stable operation. If you have specific data (e.g., boiler
capacity, fuel type, or step test results), I can refine the tuning further—let me know!
CLAUDE
System Architecture
2. Fuel PID: Controls fuel flow based on the lower of master demand or air flow
3. Air PID: Controls air flow based on the higher of master demand or fuel flow
This cross-limiting strategy (using selectors) is excellent for safety and efficiency, as it:
Initial Parameters:
The master controller should be tuned for relatively slow response to avoid oscillations in
the combustion system. Consider a slightly lower proportional gain and longer integral time.
Setpoint: Output from Low Selector (min of Master Output or Air Flow)
Initial Parameters:
Proportional Gain (Kp): 0.5-1.2
The fuel controller should be faster than the master but not too aggressive.
Setpoint: Output from High Selector (max of Master Output or Fuel Flow)
Initial Parameters:
The air controller should be slightly more responsive than the fuel controller to ensure
proper air-fuel ratio during transients.
Tuning Procedure
o Verify that during load increases, air flow leads fuel flow
o During load decreases, fuel flow should decrease before air flow
Additional Considerations
2. Anti-windup Protection: Essential for all PIDs, especially during startup and when
reaching output limits
3. Fuel-Air Ratio Curve: You may need to implement a characterization curve rather
than a simple 1:1 relationship between fuel and air
4. Oxygen Trim: Consider adding an oxygen analyzer in the flue gas to fine-tune the air-
fuel ratio for optimal efficiency
Would you like me to expand on any specific aspect of this control system design?