Skip to main content
Firmware Stable

Discharge port (DSC)

The discharge port is the main BMS port connected to the load. The DSC port is managed by the state machine and includes precharge logic to safely bring up the output voltage before fully closing the main switch.

info

All mentioned variables are located in folder /driver/dsc/.

Readings

StateUnitDescription
idscfAFiltered current through DSC port
udscfVFiltered voltage at the DSC port

Protection parameters

info

The following parameters are located in folder /driver/.

ParameterUnitDescription
ishrtAMain short circuit current threshold
iprchAPrecharge current limit

DSC port current limiter

The DSC port has its own current limiter that limits the maximum current through the discharge port independently of the pack current limiter.

info

Limiter parameters are located in folder /driver/dsc/limiter/.

ParameterUnitDescription
idscPosADSC port maximum output current
idscPosDecdelta ADSC port output current limit slope (0 to disable)
idscNegDecdelta ADSC port input current limit slope (0 to disable)
idscNegADSC port maximum input current

Precharging

When the DSC port is enabled, the BMS first enters the PRECHARGING state. During precharge, a current-limited path slowly charges the output capacitors of the connected load. Once the DSC port voltage reaches a sufficient level relative to the battery voltage, the main switch is fully closed and the BMS transitions to the IDLE state.

The precharge progress can be monitored by reading the DSC port voltage relative to the battery voltage.