Main Content

Charger

Ideal battery charger

Since R2022b

Libraries:
Simscape / Battery / Cyclers

Description

The Charger block implements an ideal battery charger. When the signal at the input port, t, changes from a value below 0.5 to a value equal to or greater than 0.5, this block performs constant current charging at the value of the Constant charging current parameter. When the voltage is greater than or equal to the value of the Voltage threshold parameter, this block performs constant voltage charging at the value of the Constant charging voltage parameter until the current is less than or equal to the value of the Current threshold parameter.

This figure shows the behavior of the Charger block when the t input crosses 0.5:

Examples

Ports

Input

expand all

Physical signal input port that controls the charging behavior of the block.

Conserving

expand all

Electrical conserving port associated with the positive terminal of the charger.

Electrical conserving port associated with the negative terminal of the charger.

Parameters

expand all

Value of the constant charging current at which the block charges a battery.

Threshold at which the block stops performing a constant current charging on the battery.

Value of the constant charging voltage at which the block charges a battery.

Threshold at which the block stops performing a constant voltage charging on the battery.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2022b

See Also

|