Skip to content

ADC saturation

The controller monitors its analog inputs for saturation. An input is saturated when its voltage at the digital signal processor (DSP), after the input voltage divider, is above 3.3 V for 100 PWM periods. The controller cannot measure a saturated input correctly. A voltage above the input rating can also cause damage to the controller. For each input, you can select a fault or a warning for saturation.

Firmware

The selection of a fault or a warning for each input is available in firmware 6.026 and later.

Prerequisites

Prerequisites

  • All inputs are wired, and each input voltage is within its rating.

How it works

The behaviour changes with the firmware version:

  • 6.026 and later: for each input, the related bit of ADC Saturation Control sets the response. If the bit is 0, saturation causes Analog Input Saturation Fault (Faults3 bit 2), which disables the motor phase bridge. If the bit is 1, saturation sets ADC Saturation Warning (Warnings2 bit 9) instead.
  • 6.025 rev02: saturation of an input sets the ADC Saturation Warning. The fault does not occur.
  • 6.024 to 6.025: saturation of an input causes the fault.

ADC Saturation Event Source shows the inputs that saturated. It uses the same bit order.

Bit Input
0 Phase A current
1 Phase C current
2 Phase B voltage
3 Phase A voltage
4 Phase C voltage
5 Brake 2
6 Internal rail monitor (12 V or 5 V)
7 Light supply
8 BMS
9 DC battery voltage
10 Brake 1
11 Throttle
12 Heat sink temperature
13 Internal DSP temperature
14 to 15 Reserved

Bits of ADC Saturation Control and ADC Saturation Event Source

You cannot disable the fault or the warning. You cannot clear the warning until you correct the input that causes it.

Configure ADC saturation

  1. Select the inputs that must show saturation as a warning, not as a fault.
  2. Set the related bits in ADC Saturation Control to 1. Keep all other bits at 0.
  3. Save the parameters to flash.

WARNING

Report saturation as a warning only for inputs where an incorrect reading cannot cause unsafe operation. When saturation is a warning, the motor continues to operate while the controller cannot measure that input correctly.

A different response does not protect the input. A voltage above the input rating can cause damage to the controller, when saturation is a fault and when it is a warning. Always correct the cause.

Verify

  1. Operate the system through its usual range.
  2. Make sure that ADC Saturation Event Source shows no saturated inputs. If it shows a saturated input, remove the cause of the voltage that is more than the input rating.

Parameters

Parameter Address Units Description
ADC Saturation Control 239 Bit field, one bit per input. 1: saturation triggers a warning. 0: saturation triggers a fault.
ADC Saturation Event Source 1725 Bit field, one bit per input. 1: the input has saturated.

Parameters used on this page