WOLFRAM SYSTEM MODELER

ClockedWithDiscretizedContinuousController

Simple controlled drive with discretized continuous-time controller

Diagram

Wolfram Language

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

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.

Components (10)

load

Type: Inertia

Description: 1D-rotational component with inertia

speed

Type: SpeedSensor

Description: Ideal sensor to measure the absolute flange angular velocity

ramp

Type: Ramp

Description: Generate ramp signal

feedback

Type: Feedback

Description: Output difference between commanded and feedback input

torque

Type: Torque

Description: Input signal acting as external torque on a flange

sample2

Type: SampleClocked

Description: Sample the continuous-time, Real input signal and provide it as clocked output signal. The clock is provided as input signal

hold1

Type: Hold

Description: Hold the clocked, Real input signal and provide it as continuous-time output signal (zero order hold)

sample1

Type: Sample

Description: Sample the continuous-time, Real input signal and provide it as clocked output signal (clock is inferred)

PI

Type: PI

Description: Proportional-Integral controller

periodicClock

Type: PeriodicRealClock

Description: Generates a periodic clock signal with a period defined by a Real number