![]() |
ARCS6 AR6-REV.24062600
|
P-D制御器クラス(微分先行型) [詳解]
#include <ARCS6/lib/P-Dcontroller.hh>
公開メンバ関数 | |
P_Dcontroller (void) | |
空コンストラクタ | |
P_Dcontroller (const double Pgain, const double Dgain) | |
コンストラクタ | |
P_Dcontroller (P_Dcontroller &&r) | |
ムーブコンストラクタ | |
~P_Dcontroller () | |
デストラクタ | |
double | GetSignal (const double ref, const double res, const double time) |
P-D制御器の出力信号を取得する関数 y = (ref - res)*Kp - d(res)/d(time)*Kd | |
void | SetPgain (const double Pgain) |
Pゲインを設定する関数 | |
void | SetDgain (const double Dgain) |
Dゲインを設定する関数 | |
void | SetPDgain (const double Pgain, const double Dgain) |
PゲインとDゲインを設定する関数 | |
P-D制御器クラス(微分先行型)
W | 微分の窓幅(差分取るときのサンプル数) [-] (デフォルト値 = 4) |
|
inline |
コンストラクタ
[in] | Pgain | 比例ゲイン [*] |
[in] | Dgain | 微分ゲイン [*] |
|
inline |
ムーブコンストラクタ
[in] | r | 右辺値 |
|
inline |
P-D制御器の出力信号を取得する関数 y = (ref - res)*Kp - d(res)/d(time)*Kd
[in] | ref | 指令値 [*] |
[in] | res | 応答値 [*] |
[in] | time | 現在時刻 [s] (微分計算を正確にするために必要) |
|
inline |
Dゲインを設定する関数
[in] | Dgain | 微分ゲイン [*] |
|
inline |
PゲインとDゲインを設定する関数
[in] | Pgain | 比例ゲイン [*] |
[in] | Dgain | 微分ゲイン [*] |
|
inline |
Pゲインを設定する関数
[in] | Pgain | 比例ゲイン [*] |