SLVSHO3 April 2024 DRV8235
PRODUCTION DATA
The DRV8235 integrates a stall detection feature. The principle of the stall detection scheme relies on the fact that motor current increases during stall conditions. The DRV8235 compares the voltage on the IPROPI pin to the voltage on the VREF pin or 3 V to determine whether a motor stall condition has occurred. The setting is deterimed by the INT_VREF register. Table 7-8 shows the configurable options for INT_VREF. The following paragraphs describe how to configure the I2C registers for the desired stall detection response.
Bit | Description |
---|---|
0b | VVREF not fixed |
1b | VVREF fixed internally at 3 V |
The STALL bit in status register changes to 1b when a motor stall is detected. The EN_STALL bit is used to enable or disable stall detection. The following table summarizes the EN_STALL bit settings.
EN_STALL | Description |
---|---|
0b | Stall detection disabled. If IMODE = 01b, current regulation occurs at all times when VIPROPI ≥ VVREF. |
1b | Stall detection enabled. |
The IPROPI pin provides the current sense signal to the stall detection module. The VREF pin sets the ITRIP current level at which a stall condition is detected. As shown in Table 7-8, VVREF is internally fixed at 3 V when INT_VREF = 1b. When VIPROPI ≥ VVREF, it implies IOUT ≥ ITRIP. The device detects a stall condition here. Stall detection is blanked for a period of time, tINRUSH, to avoid false detection due to high inrush currents during motor startup. The IPROPI and VREF pins also support current regulation, as described earlier.
The TINRUSH[15:0] bits set the period of time the stall detection logic will ignore the inrush current during motor startup (tINRUSH). After tINRUSH time expires, the DRV8235 indicates a stall condition the next instant VIPROPI is greater than or equal to VVREF.
When voltage or speed soft-start is disabled, the tINRUSH time directly reflects the setting of the TINRUSH bits. The tINRUSH can be set to a value between 5 ms (corresponding to 0000h) and 6.7 s (corresponding to FFFFh), with a default value of 1 s. Each increment of LSB corresponds to 102.4 μs of the inrush time.
When voltage or speed soft-start is enabled, target motor voltage or speed is soft-started and soft-stopped for the duration of tINRUSH time. The TINRUSH bits should be setup such that the tINRUSH = TINRUSH bit setting x WSET_VSET. For example, if WSET_VSET = 10 and intended inrush time is 1 s, then TINRUSH bit setting should correspond to 100 ms.
The following conditions cause the stall detection scheme to ignore the inrush current for tINRUSH time -
Power-up of the DRV8235
Recovering from faults
After device exits from sleep mode
After recovering from stall, as explained in Table 7-10
The SMODE bit programs the device's response to a stall condition. When SMODE = 0b, the outputs disable, and the STALL bit becomes 1b. When SMODE = 1b, the STALL bit becomes 1b, but the outputs continue to drive current into the motor. Table 7-10 summarizes the SMODE bit settings.
SMODE | Description | Recovery from Stall Condition |
---|---|---|
0b | Latched disable with indication: the OUTx pins disable and the STALL bit becomes 1b. | A clear fault must be issued by writing 1b to the CLR_FLT bit. STALL bit changes to 0b after a clear fault is issued. After waking up from stall, the stall detection scheme ignores the inrush current for tINRUSH time as described earlier. After tINRUSH time, if motor current is still higher than ITRIP, a stall condition is detected again. |
1b | Indication only: the OUTx pins remain active and the STALL bit becomes 1b. | A clear fault must be issued by writing 1b to the CLR_FLT bit to make STALL bit 0b. After tINRUSH time, if motor current is still higher than ITRIP, a stall condition is detected again. |
The IMODE bits determine the behavior of current regulation in the motor driver. Table 7-7 summarizes the IMODE pin settings. For more details on current regulation, see Section 7.3.4.2.
The STALL_REP bit determines whether stall is reported on nFAULT pin. When STALL_REP bit is 1b, nFAULT is pulled low whenever stall is detected and STALL bit is 1b. If STALL_REP bit is 0b, stall is not reported on nFAULT output.
The following diagrams show example timing diagrams for different configurations of the hardware stall detection feature.