"매 sensor → comparator → controller → actuator → plant → sensor 매 closed loop 으로 setpoint 를 maintain". James Watt 의 governor (1788) → Bode/Nyquist (1930s) → state-space + Kalman (1960s) → 매 modern: MPC, ADRC, learning-based control (Koopman/MPC, RL). 매 SRE autoscaler, drone, EV motor, vaccine cold-chain, fab DRIE — 매 universal.
매 핵심
매 canonical block diagram
┌─────────┐
r ──+──▶│Controller│──u──▶┌─────┐──y──┐
─ │ C(s) │ │P(s)│ │
└─────────┘ └─────┘ │
▲ │
└──── − ◀── sensor ◀───┘
e = r − y_meas (error)
매 PID intuition
P (proportional): 매 instant correction; 매 too high → oscillation.
I (integral): 매 eliminate steady-state error; 매 too high → wind-up.
# 1) Set ki=kd=0; raise kp to find Ku where output sustains oscillation at period Tu.# 2) Classic ZN: kp=0.6Ku, ki=2kp/Tu, kd=kp*Tu/8defzn_classic(Ku,Tu):return0.6*Ku,2*0.6*Ku/Tu,0.6*Ku*Tu/8
언제: 매 PID 의 tuning, 매 plant 의 transfer-function 의 derivation, 매 MPC objective 의 formulation, 매 stability 의 quick check.
언제 X: 매 safety-critical real-time control 의 untested LLM-generated code 의 직접 deploy — 매 formal verification + HIL test 필수.
❌ 안티패턴
No anti-windup: 매 saturated actuator + integral 의 huge overshoot.
D term on noisy measurement: 매 amplifies high-freq noise — 매 derivative-on-measurement + low-pass filter.
Sample rate ≪ bandwidth: 매 dt 의 ≥ 10× system bandwidth 의 violate → 매 instability.
Tuning by gut: 매 reproducible (ZN, model-based, autotuning) 의 사용.
Open-loop "feedback": 매 sensor 없이 매 not feedback control.
Ignoring delay: 매 transport delay → 매 Smith predictor / phase margin 의 reserve.