modelPositionControl

Position controlled system

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

Information

With position control the system can be kept stable, i.e. the magnet floating below the coil, even under influence of noise added to the Hall effect sensor signal and imperfect conditions due to time discrete AD/DA. It is possible to choose different reference position trajectories and check whether the magnet can follow.

Note that the initial conditions in the three discrete controllers were picked manually to ensure equal initialization in every simulator.

Parameters

TypeNameDefaultDescription
ParameterRecords.DataZeltomStddata

Components

TypeNameDefaultDescription
Components.Coilcoil
Modelica.Electrical.Analog.Sources.ConstantVoltagevoltageSource
Modelica.Electrical.Analog.Basic.Groundground
Control.Clocked.LimitedPIcurrentController
DCDC.Switching.Converterconverter
Control.F2if2i
Control.Clocked.LimitedPIspeedController
Control.Clocked.FirstOrderfirstOrder
Control.Clocked.PControllerpositionController
Control.Clocked.Addaadda
Control.Clocked.E2de2d
Components.Magnetmagnet
Control.ReferencePositionreferencePosition
Modelica.Clocked.ClockSignals.Clocks.PeriodicRealClockperiodicClock1