File control/src/Controller/LinearSMCOT2.hpp#
Go to the source code of this file
General interface to define a sliding mode controller with disturbance compensation. Reference: Su, W.C.; Drakunov, S.; Ozguner, U. An O(T2) boundary layer in sliding mode for sampled-data systems.
-
class LinearSMCOT2 : public CommonSMC
Public Functions
-
LinearSMCOT2(SP::ControlSensor sensor)
Constructor.
- Parameters:
sensor – the ControlSensor feeding the Actuator
-
virtual ~LinearSMCOT2()
destructor
-
virtual void initialize(const NonSmoothDynamicalSystem &nsds, const Simulation &s)
initialize actuator data.
- Parameters:
nsds – current nonsmooth dynamical system
s – current simulation setup
-
virtual void actuate()
Compute the new control law at each event Here we are using the following formula: TODO.
-
virtual void setTimeDiscretisation(const TimeDiscretisation &td)
This is derived in child classes if they need to copy the TimeDiscretisation associated with this Sensor.
- Parameters:
td – the TimeDiscretisation for this Sensor
-
LinearSMCOT2(SP::ControlSensor sensor)