"매 control 의 매 measure → compare → actuate 의 closed loop". 매 PID (1922 Minorsky) 가 매 95% industrial loops, 매 MPC (Model Predictive Control) 가 매 multivariable + constrained problems 의 dominant. 2026 의 매 RL-augmented control + neural ODEs 가 매 emerging — 매 Boston Dynamics, Tesla Autopilot, NVIDIA GR00T 가 hybrid.
매 핵심
매 building blocks
Plant — 매 controlled system (motor, reactor, drone).
Sensor — 매 measurement (encoder, IMU, thermocouple).
Controller — 매 algorithm (PID, MPC, LQR).
Actuator — 매 output (PWM, valve, voltage).
Reference / setpoint — 매 desired state.
매 stability
Open-loop: 매 simple, 매 no feedback — 매 disturbance 에 fragile.
Closed-loop: 매 feedback — 매 disturbance reject + setpoint track.
RL / learned policy — 매 high-dim, 매 simulation 의 train.
Robust H∞ — 매 worst-case guarantees.
💻 패턴
Discrete PID with anti-windup
classPID:def__init__(self,kp,ki,kd,dt,u_min,u_max):self.kp,self.ki,self.kd,self.dt=kp,ki,kd,dtself.u_min,self.u_max=u_min,u_maxself.i,self.prev_e=0.0,0.0defstep(self,setpoint,measurement):e=setpoint-measurementself.i+=e*self.dtd=(e-self.prev_e)/self.dtu=self.kp*e+self.ki*self.i+self.kd*du_clamped=max(self.u_min,min(self.u_max,u))# 매 anti-windup: 매 saturate 시 integrator 의 back-calcifu!=u_clamped:self.i-=(u-u_clamped)/self.kiifself.kielse0self.prev_e=ereturnu_clamped
importnumpyasnpfromscipy.linalgimportsolve_continuous_areA=np.array([[0,1,0,0],[0,0,-mp*g/M,0],[0,0,0,1],[0,0,(M+mp)*g/(M*l),0]])B=np.array([[0],[1/M],[0],[-1/(M*l)]])Q=np.diag([1,1,10,10]);R=np.array([[0.1]])P=solve_continuous_are(A,B,Q,R)K=np.linalg.inv(R)@B.T@Pu=-K@x# state feedback
언제: 매 controller derivation explanation, 매 transfer function manipulation, 매 tuning suggestion based on step response, 매 simulation script generation.
언제 X: 매 actual real-time loop (deterministic 코드 / FPGA). 매 safety certification (formal verification 필요).
❌ 안티패턴
No anti-windup: 매 actuator saturate 시 integral runaway → overshoot.
Derivative on error (vs measurement): 매 setpoint step 시 derivative kick — derivative-on-PV 사용.
Tune via trial-and-error only: 매 system identification 의 사용 (Ziegler-Nichols, FOPDT fit).
MPC without warm-start: 매 solve time 의 explode — previous solution 의 reuse.
No filter on derivative: 매 measurement noise 가 D term 의 amplify.
RL on real hardware first: 매 sim-to-real 의 가야 — safe exploration.
🧪 검증 / 중복
Verified (Åström & Murray "Feedback Systems", Skogestad MIMO control, do-mpc docs, IEEE control textbooks).
신뢰도 A.
🕓 Changelog
날짜
변경
2026-05-08
Phase 1
2026-05-10
Manual cleanup — control engineering: PID, LQR, MPC, RL, Kalman