blockE2d
Calculate position from hall sensor signal
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block), MagLev.Control.BaseBlocks.E2d (Calculate position from hall sensor signal).
Information
Calculates the position of the magnet from the output of the hall effect sensor, using the known current. Additionally, the velocity of the magnet is determined by differentiating the position.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Time | Tds | Dead time at sample | |
| SI.Time | Td | Derivative time constant > 0 | |
| SI.Current | i0 (from E2d) | Initially measured coil current | |
| SI.Voltage | e0 (from E2d) | Initial Hall sensor signal | |
| Hall effect sensor | |||
| SI.Voltage | alfa (from E2d) | 2.48 | Coefficient 1 (constant) |
| Real | beta (from E2d) | 2.92E-4 | Coefficient 2 (distance) |
| SI.Resistance | gamma (from E2d) | 0.48 | Coefficient 3 (current) |
Connectors
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Continuous.Derivative | dt1 | ||
| InvertHallSensor | invertHallSensor | ||
| Modelica.Blocks.Continuous.FirstOrder | sample2 |