HallSensor

Hall sensor

    HallSensor

Library

Electrical/Machines/Sensors

Description

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

HallSensor_0

NameLabelDescriptionData TypeValid Values

mo_useSupport

useSupport

= true, if support flange enabled, otherwise implicitly grounded

Number

0
1

mo_p

p

Number of pole pairs

Scalar

mo_phi0

phi0

Initial mechanical angle

Scalar

HallSensor_1

NameLabelDescriptionData TypeValid Values

mo_y

y

y

Structure

mo_y/fixed

fixed

Cell of scalars

true
false

mo_y/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

flange

implicit

Flange of shaft

output

1

y

implicit

"Electrical angle"

output

2

Port 3

implicit

Support/housing of component

input

mo_useSupport