modelActuatorWithNoise

Demonstrates how to model measurement noise in an actuator

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

Information

This example models an actuator with a noisy sensor (which is in the motor component):

The drive train consists of a synchronous motor with a current controller (= motor) and a gear box. The gearbox drives a rod through a linear translation model. Softly attached to the rod is another mass representing the actual actuator (= mass). The actuator is loaded with a constant force.

The whole drive is steered by a rate limited speed step command through a controller model. In the motor the shaft angle is measured and this measurement signal is modelled by adding additive noise to the motor angle.

In the following figure, the position of the actuator and the motor output torque are shown with and without noise. The noise is not very strong, such that it has no visible effect on the position of the actuator. The effect of the noise can be seen in the motor torque.

Note, the noise in all components can be easily switched off by setting parameter enableNoise = false in the globalSeed component.

Components

TypeNameDefaultDescription
Utilities.Parts.MotorWithCurrentControlmotor
Utilities.Parts.Controllercontroller
Modelica.Blocks.Sources.Stepspeed
Modelica.Mechanics.Rotational.Components.Gearboxgearbox
Modelica.Mechanics.Translational.Components.IdealGearR2TidealGearR2T
Modelica.Mechanics.Translational.Components.Massmass
Modelica.Mechanics.Translational.Sources.ConstantForceconstantForce
Modelica.Blocks.Nonlinear.SlewRateLimiterslewRateLimiter
Modelica.Mechanics.Translational.Components.MassrodMass
Modelica.Mechanics.Translational.Components.SpringDamperelastoGap
.Modelica.Blocks.Noise.GlobalSeedglobalSeed

Revisions

Date Description
June 22, 2015
DLR logo Initial version implemented by A. Klöckner, F. v.d. Linden, D. Zimmer, M. Otter.
DLR Institute of System Dynamics and Control