Class PidTuning
Parameters describing PID-controller tuning (Kp,Ti,Td)
Inherited Members
Namespace: TimeSeriesAnalysis.Dynamic
Assembly: TimeSeriesAnalysis.dll
Syntax
public class PidTuningConstructors
| Edit this page View SourcePidTuning(double, double, bool)
Initalize tuning of Kp and Ti and if controller is reversed.
Declaration
public PidTuning(double Kp, double Ti, bool isReversed = false)Parameters
| Type | Name | Description | 
|---|---|---|
| double | Kp | |
| double | Ti | |
| bool | isReversed | 
PidTuning(double, double, double, bool)
Initalize tuning,Ti and Td are expected to be in seconds, and if Kp sign is to be reversed
Declaration
public PidTuning(double Kp, double Ti, double Td = 0, bool isReversed = false)Parameters
| Type | Name | Description | 
|---|---|---|
| double | Kp | |
| double | Ti | |
| double | Td | |
| bool | isReversed | 
Methods
| Edit this page View SourceGetKp()
Gets the Kp, including the sign(accounts for pid-controller being set to reverese Kp sign)
Declaration
public double GetKp()Returns
| Type | Description | 
|---|---|
| double | 
GetTd()
Gets the Td in seoncds
Declaration
public double GetTd()Returns
| Type | Description | 
|---|---|
| double | 
GetTi()
Gets the Ti in seoncds
Declaration
public double GetTi()Returns
| Type | Description | 
|---|---|
| double | 
IsReversed()
Returns true if the K sign is to be reversed
Declaration
public bool IsReversed()Returns
| Type | Description | 
|---|---|
| bool | 
SetReversed()
Specifies that Kp is to be reversed (By default Kp is not reversed)
Declaration
public void SetReversed()