3.5.38 · HinglishGuidance, Navigation & Control (GNC)

PID control — proportional, integral, derivative terms

1,959 words9 min readRead in English

3.5.38 · Physics › Guidance, Navigation & Control (GNC)


1. Problem ko scratch se setup karna

kaise build karte hain? Hum poochte hain: kya information carry karta hai?

  1. Uski abhi ki value → abhi mistake kitni badi hai?
  2. Uski accumulated history → kya hum consistently ek direction mein off rahe hain?
  3. Uska rate of change → kya mistake badh rahi hai ya ghatt rahi hai?

Ye exactly value, integral, derivative hain — woh teen cheezein jo calculus aapko kisi function se extract karne deta hai.


2. Proportional term (present)

  • = proportional gain (bada = zyada aggressive).

3. Integral term (past)

HOW it removes steady-state error (derivation): Steady state mein constant hai aur constant hai. Lekin . ke constant rehne ke liye humein chahiye . Toh jab tak koi bhi error baaqi hai, integrator output change karta rehta hai, aur ekmaatra resting state zero error hai.


4. Derivative term (future)

HOW it damps: agar ki taraf bhag raha hai, toh gir raha hai, , toh command ko pull back karta hai, approach ko soften karta hai aur overshoot/oscillation kam karta hai.


5. Full PID law

Figure — PID control — proportional, integral, derivative terms

6. Worked examples


7. Feynman & memory

Recall Ise ek 12-saal ke bacche ko explain karo (reveal karne ke liye click karo)

Socho ek toy boat ko ek pond mein ek dot tak steer karna hai.

  • P: boat dot se jitni door hai, utna hard tum wheel ghoomte ho.
  • I: agar hawa ise off nudge karti rehti hai aur P ise thoda short chhodta rehta hai, toh tum irritate ho jaate ho aur extra turn add karte ho ki yeh kitni der se galat hai — jab tak woh finally dot par aa jaaye.
  • D: jab boat dot ki taraf zoom kar rahi hoti hai, tum jaldi un-turning shuru karte ho taaki woh isse aage na nikal jaaye. Present, past, future — teen helpers ek boat steer kar rahe hain.

8. Flashcards

Control loop mein error signal kya hota hai?
, setpoint minus measured process variable.
Continuous PID control law likhein.
.
Pure-P controller constant disturbance ke under steady-state error kyun chhodta hai?
Equilibrium par ko disturbance ke barabar hona chahiye, toh ; zero error zero output dega aur kuch ko cancel nahi karega.
Kaun sa term steady-state error eliminate karta hai, aur kyun?
Integral: steady state ko chahiye , toh loop sirf zero error par rest kar sakta hai.
Kaun sa term damping add karta hai / overshoot reduce karta hai?
Derivative — yeh par respond karta hai, fast change ka resist karta hai.
Bada practically kya problem cause karta hai?
Yeh high-frequency sensor noise amplify karta hai, control chatter cause karta hai (fix: derivative filter karo).
Integrator windup kya hai aur iska fix kya hai?
Actuator saturated rehne par integral accumulate hota rehta hai, bada overshoot cause karta hai; anti-windup clamping se fix karo.
Discrete PID update equation do.
.
Symptom → term map karo: system kabhi settle nahi hota / oscillate karta hai.
badhao (damping).
Symptom → term map karo: system constant offset ke saath settle hota hai.
badhao.

9. Connections

  • Feedback control loops — PID controller block ki ek choice hai.
  • Steady-state error and system type — kyun I "type number" badhata hai.
  • Stability & the Routh–Hurwitz criterion — gains stability ko kaise affect karte hain.
  • Laplace transforms & transfer functions.
  • Ziegler–Nichols tuning — systematic gain selection.
  • Reaction wheels & attitude control — GNC actuators jinhein PID commands karta hai.
  • Sensor noise & filtering — derivative ko low-pass filter kyun chahiye.

Concept Map

minus PV

minus

drives

commands

changes

value now

accumulated past

rate of change

leaves

causes

eliminates

sum

sum

sum

Setpoint r

Error e

Process variable y

PID controller u

Actuator

Proportional term Kp e

Integral term Ki integral e

Derivative term Kd de/dt

Steady-state error

Constant disturbance d

Deep Dive