HallSensor
Hall sensor
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
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_useSupport | useSupport | = true, if support flange enabled, otherwise implicitly grounded | Number | 0 |
mo_p | p | Number of pole pairs | Scalar | |
mo_phi0 | phi0 | Initial mechanical angle | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_y | y | y | Structure | |
mo_y/fixed | fixed | Cell of scalars | true | |
mo_y/start | start | Cell of scalars |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
flange | implicit | Flange of shaft | output | 1 |
y | implicit | "Electrical angle" | output | 2 |
Port 3 | implicit | Support/housing of component | input | mo_useSupport |