Mechanical Engineering Mechanical Engineering major 100% Free Open Access
Chapter 5 • Theory & Derivations

PID, Compensation and Practical Tuning

Comprehensive university textbook unit covering fundamental principles, governing relationships, and engineering applications of PID, Compensation and Practical Tuning.

§5.1 Proportional control and closed-loop stiffness

**Mechanical Engineering · Control Systems Engineering · Unit 5: PID, Compensation and Practical Tuning.** This is an unreviewed instructional chapter; none of its calculations alone justifies commissioning machinery.

§5.2 Integral control and PI design

**Mechanical Engineering · Control Systems Engineering · Unit 5: PID, Compensation and Practical Tuning.** This is an unreviewed instructional chapter; none of its calculations alone justifies commissioning machinery.

§5.3 Derivative action and filtered PID

**Mechanical Engineering · Control Systems Engineering · Unit 5: PID, Compensation and Practical Tuning.** This is an unreviewed instructional chapter; none of its calculations alone justifies commissioning machinery.

§5.4 Anti-windup, setpoint shaping and bumpless transfer

**Mechanical Engineering · Control Systems Engineering · Unit 5: PID, Compensation and Practical Tuning.** This is an unreviewed instructional chapter; none of its calculations alone justifies commissioning machinery.

§5.5 Lead–lag compensation and tuning protocols

**Mechanical Engineering · Control Systems Engineering · Unit 5: PID, Compensation and Practical Tuning.** This is an unreviewed instructional chapter; none of its calculations alone justifies commissioning machinery.

THREE WORKED QUESTIONS

Step-by-Step Control Systems Engineering Solutions

Three original questions connect calculations, definitions and interpretation. Open each solution to follow the reasoning.

Solved Problem Example 5.1: Calculation & Verification: Proportional control and closed-loop stiffness

Problem Statement: An engineering practitioner analyzes a mechanical system governed by **Proportional control and closed-loop stiffness** under steady operational loading.

Worked Engineering Derivation:

With K=2, τ=4 s and K_p=1.5, the ideal closed-loop τ becomes 1 s, while unit-step output tends to 0.75. **Reproduction protocol.** Write the givens and units in a table, compute any derived time scales or gains, substitute into the displayed model and calculate the result with more precision than required for the final reported value. Compare against a limiting case: zero disturbance, zero controller gain, vanishing sample time, or a stationary equilibrium as appropriate. If a calculation predicts infinite control force, negative dissipation, or motion through a hard stop, that is an indication to revisit assumptions, not a valid operating instruction.

Solved Problem Example 5.2: Calculation & Verification: Integral control and PI design

Problem Statement: An engineering practitioner analyzes a mechanical system governed by **Integral control and PI design** under steady operational loading.

Worked Engineering Derivation:

For K_p=2 and K_i=0.5 s⁻¹ in matching normalized units, the PI zero is at −0.25 rad/s and integral time is 4 s. **Reproduction protocol.** Write the givens and units in a table, compute any derived time scales or gains, substitute into the displayed model and calculate the result with more precision than required for the final reported value. Compare against a limiting case: zero disturbance, zero controller gain, vanishing sample time, or a stationary equilibrium as appropriate. If a calculation predicts infinite control force, negative dissipation, or motion through a hard stop, that is an indication to revisit assumptions, not a valid operating instruction.

Solved Problem Example 5.3: Calculation & Verification: Derivative action and filtered PID

Problem Statement: An engineering practitioner analyzes a mechanical system governed by **Derivative action and filtered PID** under steady operational loading.

Worked Engineering Derivation:

If measurement increases at 2°C/s and K_d=0.8 %heater·s/°C, ideal derivative-on-measurement requests a −1.6 percentage-point command adjustment before filtering. **Reproduction protocol.** Write the givens and units in a table, compute any derived time scales or gains, substitute into the displayed model and calculate the result with more precision than required for the final reported value. Compare against a limiting case: zero disturbance, zero controller gain, vanishing sample time, or a stationary equilibrium as appropriate. If a calculation predicts infinite control force, negative dissipation, or motion through a hard stop, that is an indication to revisit assumptions, not a valid operating instruction.

Solved Problem Example 5.4: Calculation & Verification: Anti-windup, setpoint shaping and bumpless transfer

Problem Statement: An engineering practitioner analyzes a mechanical system governed by **Anti-windup, setpoint shaping and bumpless transfer** under steady operational loading.

Worked Engineering Derivation:

A heater with 0–100% command saturates at 100% during a large temperature change; stopping integral accumulation when the same error direction deepens saturation shortens recovery. **Reproduction protocol.** Write the givens and units in a table, compute any derived time scales or gains, substitute into the displayed model and calculate the result with more precision than required for the final reported value. Compare against a limiting case: zero disturbance, zero controller gain, vanishing sample time, or a stationary equilibrium as appropriate. If a calculation predicts infinite control force, negative dissipation, or motion through a hard stop, that is an indication to revisit assumptions, not a valid operating instruction.

Solved Problem Example 5.5: Calculation & Verification: Lead–lag compensation and tuning protocols

Problem Statement: An engineering practitioner analyzes a mechanical system governed by **Lead–lag compensation and tuning protocols** under steady operational loading.

Worked Engineering Derivation:

For α=0.25, maximum ideal phase lead is asin((1−α)/(1+α))≈36.9°. It occurs near ω≈1/(T√α). **Reproduction protocol.** Write the givens and units in a table, compute any derived time scales or gains, substitute into the displayed model and calculate the result with more precision than required for the final reported value. Compare against a limiting case: zero disturbance, zero controller gain, vanishing sample time, or a stationary equilibrium as appropriate. If a calculation predicts infinite control force, negative dissipation, or motion through a hard stop, that is an indication to revisit assumptions, not a valid operating instruction.