Current and voltage readings
This is a list of all variables that are related to battery pack current and voltage readings.
- All mentioned variables are located in folder
/driver/.
- Positive current is flowing from the battery to the load. (ie. making the battery discharge)
- Negative current is flowing from the load to the battery. (ie. making the battery charge, regenerative braking)
Pack-level readings
| Variable | Unit | Description |
|---|
current | A | RAW unfiltered current of battery pack |
currentf | A | Filtered current of battery pack |
voltage | V | Battery pack voltage |
power | W | Power of battery pack |
Port-level readings
| Variable | Unit | Description |
|---|
/dsc/idscf | A | Filtered current through DSC port |
/dsc/udscf | V | Filtered voltage at DSC port |
/chg/ichgf | A | Filtered current through CHG port |
/chg/uchgf | V | Filtered voltage at CHG port |
Hardware status
| Variable | Description |
|---|
hw_error | Hardware error code (negative: init error, positive: runtime error) |
state | Current state name (string) |