modelCoil

Coil and magnetic force

Information

Consists of resistance and inductance of the coil, calculating the force acting on the magnet dependent on distance between magnet and coil. This is accomplished by using a translational mechanical connector, therefore the magnet can be connected easily from outside. Additionally, the output signal of the Hall effect sensor is calculated.

Parameters

TypeNameDefaultDescription
ParameterRecords.DataZeltomStddata

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinpin_p
Modelica.Electrical.Analog.Interfaces.NegativePinpin_n
Modelica.Blocks.Interfaces.RealOutputeOutput of Hall effect sensor
Modelica.Mechanics.Translational.Interfaces.Flange_bflange

Components

TypeNameDefaultDescription
SI.Voltagevpin_p.v - pin_n.vVoltage across coil
SI.Currentipin_p.iCurrent through coil
Modelica.Electrical.Analog.Basic.Resistorresistor
Modelica.Electrical.Analog.Basic.Inductorinductor
Modelica.Electrical.Analog.Sensors.CurrentSensorcurrentSensor
Modelica.Mechanics.Translational.Sources.Forceforce
Modelica.Mechanics.Translational.Sensors.PositionSensorpositionSensor
CalcForcecalcForce
HallSensorhallSensor