Examples based on a simple controlled drive with different ways to define the sampling
This package shows the same example in different variants.
Model SimpleControlledDrive.Continuous is the continuous-time model from which the sampled-data versions are derived. The model consists of a reference controller ("ramp"), a feedback controller ("feedback" and "PI") and a plant ("torque", "load" and "speed"). The task of the controller is to control the speed of the load inertia using a simple PI controller.
The other example models under this package show different variants how the continuous-time model from above can be transformed to a periodic sampled-data system with one sample period.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Name | Description |
---|---|
Continuous | Simple controlled drive with continuous controller |
ClockedWithDiscreteTextbookController | Simple controlled drive with discrete textbook controller (period is not used in the controller) |
ClockedWithDiscreteController | Simple controlled drive with discrete controller (period is used in the controller) |
ExactlyClockedWithDiscreteController | Simple controlled drive with discrete controller and exact periodic clocks (period is used in the controller) |
ClockedWithDiscretizedContinuousController | Simple controlled drive with discretized continuous-time controller |
ClockedWith_AD_DA_Effects | Simple controlled drive with discrete controller and simulated AD and DA effects |
Simple controlled drive with continuous controller
Original simple controlled drive with a continuous-time controller.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Simple controlled drive with discrete textbook controller (period is not used in the controller)
Simple controlled drive with discrete-time textbook controller modelled as a clocked partition (period is not used in the controller)
Extends from Modelica.Icons.Example (Icon for runnable examples).
Simple controlled drive with discrete controller (period is used in the controller)
Simple controlled drive with discrete-timer controller modelled as a clocked partition. The discrete-time PI controller is parameterized with the parameters of the continuous-time version and the discrete-time version is derived from this parameterization taken into account the actual sample period.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Simple controlled drive with discrete controller and exact periodic clocks (period is used in the controller)
This is the same model as ClockedWithDiscreteController. The only difference is that the clock is defined with an exact periodic clock and not with a Real periodic clock.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Simple controlled drive with discretized continuous-time controller
Simple controlled drive with discrete-time controller modelled as a clocked partition. The PI controller is defined with a continuous-time block. The clocked partition is automatically discretized with an implicit Euler method by setting parameter useSolver = true in the Advanced menu of block periodicClock and then selecting ImplicitEuler as SolverMethod for the partition.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Simple controlled drive with discrete controller and simulated AD and DA effects
This is the same model as ClockedWithDiscreteController. The only difference is that real world effects like limitation, value discretization, noise and computing time are taken into account.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Automatically generated Thu Oct 1 16:07:35 2020.