Supply (DC side)
Measurements
All variables are related to the power supply (DC side of the controller).
How to limit battery voltage and current can be found in the limiter section
Next variables are located in the folder /driver/supply
.
voltage
[V]
Battery (input supply) voltage.
current
[A]
Battery (input supply) current.
- Positive current -> current from battery to motor (motoring)
- Negative current -> current from motor to battery (generating)
currentf
[A]
Filtered battery (input supply) current.
Value is filtered using the filter constants /driver/Kf
and /driver/Kr
.
cap
[mAh]
Coloumb counter since controller reboot. During regeneration, cap
value is being decreased.
Precharge settings
Typical precharge sequence :
- Connect the battery + supply to the KEY pin of your controller
- Power the controller on -> Typically connect the POWER pin to KEY pin
- The controller will use the voltage source at KEY pin to precharge internal capacitors until
pchg1
voltage is reached orpchgtim
time elapses - The controller will perform the internal self-test
- If everything is ok, the main power contactor is closed
- Contactor settings can be adjusted in
/common/contactor
Not all the controllers are precharge-equipped. This feature requires hardware support. By default, only SL controllers are equipped with precharge in the standard variant. For more info, please check the hardware documentation
pchg1
[V]
Precharge voltage the controller tries to reach at initialization after booting. If set to zero, no actual precharge is issued and the pre-init waits for proper init conditions to be met instead.
pchg2
[V]
Precharge voltage the controller tries to reach at manually requested initialization (e.g. using reinit
command, or using driver CAN API.). If set to zero, no actual precharge is issued and only pchgtim
time is checked in the pre-init.
pchgtim
[ms]
The maximum duration of the precharge phase (absolute value). Setting the value to zero disables the timeout and the pre-init might wait indefinitely. A negative value disables the automatic initialization of the driver after booting.