Calibration

Last updated 2026-11-27

Each drive is calibrated at the factory and ships with its own end-of-line test record. This page lists what the calibration contains, how the drive protects it, and how to read it and keep a copy.

Contents

Item Used for
Encoder offset and linearity Aligning the encoder with the motor's electrical angle, and correcting encoder error over a turn
Motor electrical parameters Current control
Current-sensor offsets and gains Correcting current measurements
Torque-constant map Converting current to torque
Cogging map Compensating cogging torque
Temperature-sensor calibration Correcting temperature readings
Friction and observer parameters Friction compensation and the firmware observer
Serial number Tying the calibration to the drive
Test-record fingerprint Tying the calibration to the drive's end-of-line test record

Storage

Not defined yet: what the drive does and reports when a copy fails its CRC check, and whether any item can be recalibrated outside the factory.

Effect on maintenance

Read the calibration and keep a copy

The calibration is readable over UDS. The DIDs and the session they need are TBD.

  1. Read the serial number and the calibration DIDs with the script from UDS diagnostics, and save the output:

    python3 uds_read.py <request-id> <response-id> <serial-number DID TBD> <calibration DID TBD> ... > calibration_<serial>.txt
    
  2. Check that the serial number matches the drive's end-of-line test record.

  3. Check that the test-record fingerprint matches the record. The fingerprint format is TBD.

  4. Store the file with the test record.

Whether a saved copy can be written back to a drive is TBD. The factory calibration itself cannot be overwritten.

End-of-line test record

Each drive ships with its own end-of-line test record. Its contents and file format are TBD. The fingerprint in the calibration lets you check that a record and a drive belong together.