WOLFRAM SYSTEM MODELER

SimpleControlledDrive

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

Package Contents

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

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.

Wolfram Language

In[1]:=
SystemModel["Modelica_Synchronous.Examples.SimpleControlledDrive"]
Out[1]:=