Package Modelica.​Clocked.​Examples.​CascadeControlledDrive
Examples based on a simple drive with cascade controller and different ways to define the sampling and super-sampling

Information

This package shows the same example in different variants.

Model CascadeControlledDrive.Continuous is the continuous-time model from which the sampled-data versions are derived. The "CascadeControlledDrive" example adds another position control cascade to the SimpleControlledDrive example. This model demonstrates a control system with two cascaded control loops. The goal is to control the angle of the load inertia.

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 two sample periods, where the two discrete-time controllers are precisely time-synchronized to each other.

Extends from Modelica.​Icons.​ExamplesPackage (Icon for packages containing runnable examples).

Package Contents

NameDescription
AbsoluteClocksDrive with clocked cascade controller where all partitions are defined with exact (integer) clock that need to be compatible to each other
ContinuousDrive with continuous-time cascade controller
SubClockedDrive with clocked cascade controller where clocks are defined with sub-sampling and partitions with super-sampling
SuperSampledDrive with clocked cascade controller where fastest partition is defined with a clock and slower partition is defined with super-sampling

Model Modelica.​Clocked.​Examples.​CascadeControlledDrive.​Continuous
Drive with continuous-time cascade controller

Information

Original cascade controlled drive with a continuous-time controller.

Extends from Modelica.​Icons.​Example (Icon for runnable examples).


Model Modelica.​Clocked.​Examples.​CascadeControlledDrive.​SubClocked
Drive with clocked cascade controller where clocks are defined with sub-sampling and partitions with super-sampling

Information

Cascade control drive with discrete-time controller where one periodic clock is defined, the second periodic clock is derived by sub-sampling of the first clock, and both clocks are associated to the corresponding controller partitions. The super-sampling factor of block "super" is derived by clock inference.

Extends from Modelica.​Icons.​Example (Icon for runnable examples).


Model Modelica.​Clocked.​Examples.​CascadeControlledDrive.​SuperSampled
Drive with clocked cascade controller where fastest partition is defined with a clock and slower partition is defined with super-sampling

Information

Cascade control drive with discrete-time controller where one periodic clock is defined for the fastest control loop, and the periodic clock of the slower control loop is implicitly defined by the super-sampling factor defined at the "super" block.

Extends from Modelica.​Icons.​Example (Icon for runnable examples).


Model Modelica.​Clocked.​Examples.​CascadeControlledDrive.​AbsoluteClocks
Drive with clocked cascade controller where all partitions are defined with exact (integer) clock that need to be compatible to each other

Information

Cascade control drive with discrete-time controller where two periodic clock with absolute periods are defined and are associated to the corresponding controller partitions. The super-sampling factor of block "super" is derived by clock inference.

Extends from Modelica.​Icons.​Example (Icon for runnable examples).