WOLFRAM SYSTEM MODELER

Charger

Charges the battery

Diagram

Wolfram Language

In[1]:=
SystemModel["EducationExamples.ElectricalEngineering.UPS.Components.Charger"]
Out[1]:=

Information

This model checks the voltage level on the input and compares it to referenceVoltage. If there is more than a 5V difference between the levels for a certain amount of time, it will start the battery.

Connectors (2)

pin_p

Type: PositivePin

Description: Positive pin of an electrical component

y

Type: BooleanOutput

Description: 'output Boolean' as connector

Components (7)

potentialSensor1

Type: PotentialSensor

Description: Sensor to measure the potential

lessEqualThreshold

Type: GreaterEqualThreshold

Description: Output y is true, if input u is greater or equal than threshold

referenceVoltage

Type: Sine

Description: Generate sine signal

compare

Type: Add

Description: Output the sum of the two inputs

abs1

Type: Abs

Description: Output the absolute value of the input

timer

Type: Timer

Description: Timer measuring the time from the time instant where the Boolean input became true

hysteresis

Type: Hysteresis

Description: Transform Real to Boolean signal with Hysteresis

Used in Examples (2)

PowerSupply

EducationExamples.ElectricalEngineering.UPS

Model of an uninterruptible power supply that controls the supply of power to a load.

PowerSupplyHardened

EducationExamples.ElectricalEngineering.UPS

Model of a uninterruptible power supply with a non-standard battery reliability.