Charge port (CHG)
The charge port is the secondary BMS port connected to the charger. The CHG port is opened by the state machine when a charger is detected and charging conditions are met.
info
All mentioned variables are located in folder /driver/chg/.
Readings
| State | Unit | Description |
|---|---|---|
ichgf | A | Filtered current through CHG port |
uchgf | V | Filtered voltage at the CHG port |
Protection parameters
| Parameter | Unit | Description |
|---|---|---|
ichgshrt | A | Charge short circuit current threshold (0 to disable) |
ichgshrtp | A | Charge short circuit current to battery (0 to disable) |
Charge blocking
The BMS can block charging under certain conditions. The reason for blocking is indicated by the chg_blocked state.
chg_blocked bit | Description |
|---|---|
| 0 (value 1) | Time hysteresis |
| 1 (value 2) | Overvoltage |
| 2 (value 4) | Overcurrent |
Charge block configuration
info
Configuration parameters are located in folder /driver/chg/chg_block/.
| Parameter | Unit | Description |
|---|---|---|
chg_reconnect_time | s | Time to wait after charge block cleared before re-enabling charging |
CHG port current limiter
The CHG port has its own current limiter that limits the maximum current through the charge port independently of the pack current limiter.
info
Limiter parameters are located in folder /driver/chg/limiter/.
| Parameter | Unit | Description |
|---|---|---|
ichgPos | A | CHG port maximum output current |
ichgPosDec | delta A | CHG port output current limit slope (0 to disable) |
ichgNegDec | delta A | CHG port input current limit slope (0 to disable) |
ichgNeg | A | CHG port maximum input current |