blockHallSensor
Hall sensor
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
Calculates the output signal of the Hall effect sensor, taking noise into account.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | alfa | 2.48 | Coefficient 1 (constant) |
| Real | beta | 2.92E-4 | Coefficient 2 (distance) |
| SI.Resistance | gamma | 0.48 | Coefficient 3 (current) |
| SI.Voltage | eNoise | Noise on hall sensor output | |
| SI.Time | samplePeriod | Sample period for noise = 1/switching frequency |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | i | ||
| Modelica.Blocks.Interfaces.RealInput | d | ||
| Modelica.Blocks.Interfaces.RealOutput | e |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Noise.GlobalSeed | globalSeed | ||
| Modelica.Blocks.Noise.UniformNoise | uniformNoise | ||
| Modelica.Blocks.Math.Add | add | ||
| EvaluateHallSensor | evaluateHallSensor |