🧮 03. 離散PID制御の設計

🧮 03. Digital PID Controller Design

ℹ️ 数式が正しく表示されない場合は GitHub版 / GitHub version をご確認ください


PID制御器はディジタル制御においても依然として主流のアルゴリズムです。
この章では、連続時間のPIDをZ変換により離散時間制御器へ変換する方法を扱います。

The PID controller remains a dominant algorithm in digital control.
This section covers how to convert a continuous-time PID into a discrete-time controller using the Z-transform.


🎯 学習目標 / Learning Objectives


🔁 連続PID制御器の構造 / Continuous-Time PID Structure

\[u(t) = K_p e(t) + K_i \int_0^t e(\tau)\,d\tau + K_d \frac{de(t)}{dt}\]

🔀 離散化手法の比較 / Discretization Methods

① 前進差分(Forward Euler)

② 後退差分(Backward Euler)

③ 双一次変換(Tustin法 / Bilinear Transform)

\[s \approx \frac{2}{T_s} \cdot \frac{1 - z^{-1}}{1 + z^{-1}}\]

🧮 離散PIDの実装例(Tustin法) / Example (Tustin Method)

\[G_c(z) = K_p + K_i \cdot \frac{T_s}{2} \cdot \frac{1 + z^{-1}}{1 - z^{-1}} + K_d \cdot \frac{2}{T_s} \cdot \frac{1 - z^{-1}}{1 + z^{-1}}\]

🧪 Pythonでの実験 / Python Simulation


🧠 実装上の注意点 / Implementation Notes

要素 / Element 注意事項 / Remarks
積分項 / Integral term ワインドアップ防止が必要 / Anti-windup required
微分項 / Derivative term 雑音増幅防止に微分先行型やLPF併用 / Use derivative-on-measurement or LPF to avoid noise amplification
サンプリング周期 / Sampling period 遅すぎると安定性低下、速すぎると計算負荷増 / Too slow → instability, too fast → high computational load

📚 参考資料 / References


⬅️ 前節 / Previous
Z変換の定義・性質・安定性判定を解説し、離散時間制御の基礎数学を整理しています。
Covers the Z-transform definition, properties, and stability criteria — the mathematical foundation for discrete-time control.

➡️➡️ 次節 / Next
FIR/IIRフィルタの構造と設計法を学び、離散制御器や信号処理との接続に発展します。
Covers FIR/IIR filter structures and design methods, extending toward discrete controllers and signal processing.

🏠 Part 04 トップ / Back to Part 04 Top
本章全体の目次と概要に戻ります。
Returns to the table of contents and overview of Part 04.