ARCS6
AR6-REV.24062600
読み取り中…
検索中…
一致する文字列を見つけられません
ARCS6
lib
Differentiator.hh
[詳解]
1
8
//
9
// Copyright (C) 2011-2019 Yuki YOKOKURA
10
// This program is free software;
11
// you can redistribute it and/or modify it under the terms of the FreeBSD License.
12
// For details, see the License.txt file.
13
14
#ifndef DIFFERENTIATOR
15
#define DIFFERENTIATOR
16
17
namespace
ARCS {
// ARCS名前空間
19
class
Differentiator
{
20
private
:
21
double
Ts;
// [s] 制御周期
22
double
gpd;
// [rad/s] 擬似微分の帯域
23
double
uZ1;
// 状態変数1 変数名Z1の意味はz変換のz^(-1)を示す
24
double
yZ1;
// 状態変数2
25
26
public
:
27
Differentiator
(
double
Bandwidth,
double
SmplTime);
28
// コンストラクタ Bandwidth;[rad/s] 帯域,SmplTime;[s] 制御周期
29
~Differentiator
();
// デストラクタ
30
double
GetSignal(
double
u);
// 出力信号の取得 u;入力信号
31
void
SetBandwidth(
double
Bandwidth);
// 擬似微分の帯域の再設定 Bandwidth;[rad/s] 帯域
32
void
SetSmplTime(
double
SmplTime);
// 制御周期の再設定 SmplTime;[s] 制御周期
33
void
ClearStateVars(
void
);
// すべての状態変数のリセット
34
};
35
}
36
37
#endif
38
39
40
ARCS::Differentiator
擬似微分器クラス
Definition
Differentiator.hh:19
構築:
1.11.0