modelHallSensor

Hall sensor

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).

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.

Parameters

TypeNameDefaultDescription
BooleanuseSupport (from PartialElementaryOneFlangeAndSupport2)false= true, if support flange enabled, otherwise implicitly grounded
IntegerpNumber of pole pairs
SI.Anglephi0-pi/pInitial mechanical angle

Connectors

TypeNameDefaultDescription
Flange_bflange (from PartialElementaryOneFlangeAndSupport2)Flange of shaft
Supportsupport (from PartialElementaryOneFlangeAndSupport2)Support/housing of component
Modelica.Blocks.Interfaces.RealOutputy"Electrical angle"