Modelica.Clocked.Examples.SimpleControlledDrive

Examples based on a simple controlled drive with different ways to define the sampling

Information

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).

Package Content

Name Description
Modelica.Clocked.Examples.SimpleControlledDrive.Continuous Continuous Simple controlled drive with continuous controller
Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController ClockedWithDiscreteTextbookController Simple controlled drive with discrete textbook controller (period is not used in the controller)
Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController ClockedWithDiscreteController Simple controlled drive with discrete controller (period is used in the controller)
Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController ExactlyClockedWithDiscreteController Simple controlled drive with discrete controller and exact periodic clocks (period is used in the controller)
Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController ClockedWithDiscretizedContinuousController Simple controlled drive with discretized continuous-time controller
Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects ClockedWith_AD_DA_Effects Simple controlled drive with discrete controller and simulated AD and DA effects

Modelica.Clocked.Examples.SimpleControlledDrive.Continuous Modelica.Clocked.Examples.SimpleControlledDrive.Continuous

Simple controlled drive with continuous controller

Information

Original simple controlled drive with a continuous-time controller.

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

Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController

Simple controlled drive with discrete textbook controller (period is not used in the controller)

Information

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).

Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController

Simple controlled drive with discrete controller (period is used in the controller)

Information

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).

Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController

Simple controlled drive with discrete controller and exact periodic clocks (period is used in the controller)

Information

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).

Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController

Simple controlled drive with discretized continuous-time controller

Information

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).

Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects

Simple controlled drive with discrete controller and simulated AD and DA effects

Information

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.