Package Modelica.​Electrical.​Machines.​Sensors
Sensors for machine modelling

Information

This package contains sensors that are useful when modelling machines.

Extends from Modelica.​Icons.​SensorsPackage (Icon for packages containing sensors).

Package Contents

NameDescription
CurrentQuasiRMSSensorLength of space phasor -> RMS current
ElectricalPowerSensorInstantaneous power from space phasors
HallSensorHall sensor
MechanicalPowerSensorMechanical power = torque x speed
RotorDisplacementAngleRotor lagging angle
VoltageQuasiRMSSensorLength of space phasor -> RMS voltage

Model Modelica.​Electrical.​Machines.​Sensors.​VoltageQuasiRMSSensor
Length of space phasor -> RMS voltage

Information

Measured 3-phase instantaneous voltages are transformed to the corresponding space phasor; output is length of the space phasor divided by sqrt(2), thus giving in sinusoidal stationary state RMS voltage.

Extends from Modelica.​Icons.​RotationalSensor (Icon representing a round measurement device).

Connectors

TypeNameDescription
output RealOutputV 
PositivePlugplug_p 
NegativePlugplug_n 

Model Modelica.​Electrical.​Machines.​Sensors.​CurrentQuasiRMSSensor
Length of space phasor -> RMS current

Information

Measured 3-phase instantaneous currents are transformed to the corresponding space phasor; output is length of the space phasor divided by sqrt(2), thus giving in sinusoidal stationary state RMS current.

Extends from Modelica.​Icons.​RotationalSensor (Icon representing a round measurement device).

Connectors

TypeNameDescription
output RealOutputI 
PositivePlugplug_p 
NegativePlugplug_n 

Model Modelica.​Electrical.​Machines.​Sensors.​ElectricalPowerSensor
Instantaneous power from space phasors

Information

3-phase instantaneous voltages (plug_p - plug_nv) and currents (plug_p - plug_ni) are transformed to the corresponding space phasors,
which are used to calculate power quantities:

Extends from Modelica.​Icons.​RotationalSensor (Icon representing a round measurement device).

Connectors

TypeNameDescription
output RealOutputP 
output RealOutputQ 
PositivePlugplug_p 
NegativePlugplug_ni 
NegativePlugplug_nv 

Model Modelica.​Electrical.​Machines.​Sensors.​MechanicalPowerSensor
Mechanical power = torque x speed

Information

Calculates (mechanical) power from torque times angular speed.

Extends from Modelica.​Icons.​RotationalSensor (Icon representing a round measurement device) and Modelica.​Mechanics.​Rotational.​Interfaces.​PartialTwoFlanges (Partial model for a component with two rotational 1-dim. shaft flanges).

Parameters

TypeNameDefaultDescription
BooleanuseSupportfalseUse support or fixed housing

Connectors

TypeNameDescription
Flange_aflange_aFlange of left shaft
Flange_bflange_bFlange of right shaft
output RealOutputP 
Flange_asupportSupport at which the reaction torque is acting

Model Modelica.​Electrical.​Machines.​Sensors.​RotorDisplacementAngle
Rotor lagging angle

Information

Calculates rotor lagging angle by measuring the stator phase voltages, transforming them to the corresponding space phasor in stator-fixed coordinate system,
rotating the space phasor to the rotor-fixed coordinate system and calculating the angle of this space phasor.

The sensor's housing can be implicitly fixed (useSupport=false).
If the machine's stator also implicitly fixed (useSupport=false), the angle at the flange is equal to the angle of the machine's rotor against the stator.
Otherwise, the sensor's support has to be connected to the machine's support.

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
Integerp Number of pole pairs
BooleanpositiveRangefalseUse only positive output range, if true
Realthreshold0Below threshold the voltage is considered as zero
BooleanuseSupportfalseUse support or fixed housing

Connectors

TypeNameDescription
output RealOutputrotorDisplacementAngle 
PositivePlugplug_p 
NegativePlugplug_n 
Flange_aflange 
Flange_asupportsupport at which the reaction torque is acting

Model Modelica.​Electrical.​Machines.​Sensors.​HallSensor
Hall sensor

Information

Simple model of a hall sensor, i.e. measuring the angle of the flange (w.r.t. the optional support), multiplying by the number of phases p to obtain the electrical angle, and adding a correction term i.e. the initial angle of the flange phi0.

Note that phi0 has to be set that way, that in shaft position phi0 the flux linkage of phase 1 is a maximum.

Extends from Modelica.​Mechanics.​Rotational.​Interfaces.​PartialElementaryOneFlangeAndSupport2 (Partial model for a component with one rotational 1-dim. shaft flange and a support used for textual modeling, i.e., for elementary models).

Parameters

TypeNameDefaultDescription
BooleanuseSupportfalse= true, if support flange enabled, otherwise implicitly grounded
Integerp Number of pole pairs
Anglephi0-pi / pInitial mechanical angle

Connectors

TypeNameDescription
Flange_bflangeFlange of shaft
SupportsupportSupport/housing of component
output RealOutputy"Electrical angle"

Generated 2018-12-12 12:10:14 EST by MapleSim.