pidControllerLinear¶
- class +AMrotorSIM.+pidControllers.@pidControllerLinear.pidControllerLinear(cnfg)¶
Bases:
AMrotorSIM.pidControllers.pidControllerSub-class of pid controller with linear force (= ki*I)
- ki = None¶
[N/A], proportionality between controller current and force, force = ki*I
- pidControllerLinear(cnfg)¶
Constructor
- Parameters
cnfg (
struct) – Cnfg_component substruct of cnfg-struct- Returns
pidControllerLinear object
- +AMrotorSIM.+pidControllers.@pidControllerLinear.get_controller_current(obj, tCurr, y)¶
Provides the controller current in ampere
- Parameters
obj (
object) – Object of type pidControllertcurr (
vector) – Time-vector of solutiony (
vector) – position vector at the corresponding controller node
- Returns
Controller current
- +AMrotorSIM.+pidControllers.@pidControllerLinear.get_controller_force(obj, varargin)¶
Provides the controller force
- Parameters
varargin – Placeholder
- Returns
Controller force
- +AMrotorSIM.+pidControllers.@pidControllerLinear.print(obj)¶
Displays the object name in the Command Window
- Parameters
obj (
object) – Objects of type pidController- Returns
Notification of object name