223D Developmental logo223D Developmental

Closed Loop Boost PID

A tuning lab for the MaxxECU boost controller. Pick a wastegate spring, pick a solenoid, tune the three percentage gains, and watch the loop fight physics.

Try
Spring tension
0.8bar
base boost
Boost · last 10 s measured target
Engine dynamics
Boost gauge
Solenoid duty 0.0 %
error
+0.00 bar
P term
+0.0 %
I term
+0.0 %
D term
+0.0 %

duty out
0.0 %
Wastegate actuator & solenoid
Solenoid mode
Spring base
0.80 bar
Max above spring
+1.20 bar
Reachable boost
2.00 bar
Duty limits
Min duty 0 %
Max duty 100 %
PID gains
SPtarget boost 1.50 bar
Target boost pressure in bar (1 bar ≈ 14.5 psi).
Pgain 20 %
Reacts to current error. Too low → sags; too high → oscillates.
Igain 30 %
Winds in over time to kill steady-state offset.
Dgain 40 %
Brakes against rate of change — damps overshoot.

How it fits together

The wastegate actuator is a spring-loaded diaphragm fed by manifold pressure. Below spring pressure the gate stays shut and boost builds; above it, exhaust spills around the turbine. The solenoid sits between manifold and actuator — its duty cycle hides pressure from the actuator so you can carry boost higher than spring. The ECU's PID picks that duty cycle:

Spring tension The mechanical floor. With zero duty you'll settle on roughly the spring value — this is why wastegate springs are sold by the boost they produce.
P · proportional Adds duty in proportion to the current error. P alone always sags below target: the error has to stay non-zero to keep the duty up.
I · integral Accumulates past error until the duty alone pins the target. Overdone, it stores up overshoot and hunts around the setpoint.
D · derivative Reacts to how fast boost is changing. Pulls duty back as the manifold charges, taking the edge off the overshoot.
duty = P · e(t) + I · ∫e(t) dt + D · de(t)/dt
RPM850
MAP1.00 bar
Target1.50 bar
Error+1.50 bar
WG duty0.0 %
StatusOFF BOOST
© 2026 223D Developmental, Torquay, Devon. Tuning components for the Smart 700cc petrol engine.  |  All calculators  |  Contact  |  Disclaimer