Skip to main content
FW version: Stable

Driver permanents

Driver permanents are service variables that are stored in the non-volatile memory. They are used to hold the maximum and minimum values measured during the current run cycle, as well as the maximum and minimum values measured during the controller's entire lifetime.

On each power-down, the controller saves all the permanents into a log. More about pmlog can be found in YOS documentation.

note

Due to fewer resources available, not all variables are available on all hardware versions. If you do not see the variables described below, they are not enabled in your application.

Single-run permanents

Single-run values are reset when the controller is powered up. They are used to store the maximum and minimum values during the current run.

Permanent nameReading inDescription
single_run/maxcurrent[A]The maximal measured battery current during the current run of the controller.
single_run/maxvoltage[A]The maximal measured battery voltage during the current run of the controller.
single_run/maxtemp[°C]The maximal measured controller temperature during the current run of the controller.
single_run/mintemp[°C]The minimal measured controller temperature during the current run of the controller.
single_run/minmotortemp[ohm]The minimal measured motor temperature sensor resistance during current run of the controller.
single_run/maxmotortemp[ohm]The maximal measured motor temperature sensor resistance during current run of the controller.
single_run/maxerpm[rpm]The maximal measured motor speed during current run of the controller.
single_run/enegy[J]The accumulated absolute value of the energy that went trough the controller during the current run. Regeneration will also increase the energy.
single_run/cap[mAh]The accumulated capacity that went trough the controller during the current run. Regeneration will decrease the capacity.
note

maxmotortemp and minmotortemp can be set by a user with a rights level greater or equal to 2.

Total permanents

They are used to store the maximum and minimum values during the controller's lifetime.

Permanent nameReading inDescription
total/maxcurrent[A]The maximal measured battery current during the controller's lifetime.
total/maxvoltage[A]The maximal measured battery voltage during the controller's lifetime.
total/maxtemp[°C]The maximal measured controller temperature during the controller's lifetime.
total/mintemp[°C]The minimal measured controller temperature during the controller's lifetime.
total/minmotortemp[ohm]The minimal measured motor temperature sensor resistance during the controller's lifetime.
total/maxmotortemp[ohm]The maximal measured motor temperature sensor resistance during the controller's lifetime.
total/enegy[J]The accumulated absolute value of the energy that went trough controller during the controller's lifetime. Regeneration will also increase the energy.
err_counter[-]Number of the errors (driver/error), that occurred on the controller.
info

The low-criticality error codes are not accounted in the err_counter, such as:

  • Low voltage, caused by regular controller shutdown
  • Service errors (identrun, reinit, ...)