blockE2d
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.Current | i0 | Initially measured coil current | |
| SI.Voltage | e0 | Initial Hall sensor signal | |
| Hall effect sensor | |||
| SI.Voltage | alfa | 2.48 | Coefficient 1 (constant) |
| Real | beta | 2.92E-4 | Coefficient 2 (distance) |
| SI.Resistance | gamma | 0.48 | Coefficient 3 (current) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | e | ||
| Modelica.Blocks.Interfaces.RealInput | i | ||
| Modelica.Blocks.Interfaces.RealOutput | d | ||
| Modelica.Blocks.Interfaces.RealOutput | d_der |