modelClockedWithDiscreteController

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

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

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.

Components

TypeNameDefaultDescription
Modelica.Mechanics.Rotational.Components.Inertiaload
Modelica.Mechanics.Rotational.Sensors.SpeedSensorspeed
Modelica.Blocks.Sources.Rampramp
Modelica.Blocks.Math.Feedbackfeedback
Modelica.Mechanics.Rotational.Sources.Torquetorque
Modelica_Synchronous.RealSignals.Sampler.SampleClockedsample2
Modelica_Synchronous.RealSignals.Sampler.Holdhold1
Modelica_Synchronous.RealSignals.Sampler.Samplesample1
Modelica_Synchronous.RealSignals.NonPeriodic.PIPI
Modelica_Synchronous.ClockSignals.Clocks.PeriodicRealClockperiodicClock