SLOSE98A December 2022 – September 2023 DRV8461
PRODUCTION DATA
Built-in indexer logic in the device allows a number of different step modes. The MICROSTEP_MODE bits in the SPI register or the M0 and M1 pins are used to configure the step mode as shown in Table 7-5.
MODE = 1 | MODE = 0 | ||
---|---|---|---|
MICROSTEP_MODE | M0 | M1 | STEP MODE |
0000b | 0 | 0 | Full step (2-phase excitation) with 100% current |
0001b | 0 | 330 kΩ to GND | Full step (2-phase excitation) with 71% current |
0010b | 1 | 0 | Non-circular 1/2 step |
0011b | Hi-Z | 0 | 1/2 step |
0100b | 0 | 1 | 1/4 step |
0101b | 1 | 1 | 1/8 step |
0110b | Hi-Z | 1 | 1/16 step |
0111b | 0 | Hi-Z | 1/32 step |
1000b | Hi-Z | 330 kΩ to GND | 1/64 step |
1001b | Hi-Z | Hi-Z | 1/128 step |
1010b | 1 | Hi-Z | 1/256 step |
When operating with SPI, the device allows stepping and direction change over SPI interface as well, as shown in Table 7-6. Four bits are dedicated for this purpose -
Bit |
0b (default) |
1b |
---|---|---|
SPI_DIR |
Driver changes direction based on DIR pin inputs | Direction changes depend on the DIR bit |
SPI_STEP |
Stepping depends on the STEP pin inputs | Step changes depend on the STEP bit |
DIR |
Motor moves in the reverse direction | Motor moves in the forward direction |
STEP |
X |
Indexer advances by one step. STEP bit is self-clearing, becomes 0b after writing 1b to it. |
Table 7-7 shows the relative current and step directions for full-step (71% current), 1/2 step, 1/4 step and 1/8 step operation for the case when DIR pin is logic high or DIR bit is '1'. Higher microstepping resolutions follow the same pattern. The AOUT current is the sine of the electrical angle and the BOUT current is the cosine of the electrical angle. Positive current is defined as current flowing from the xOUT1 pin to the xOUT2 pin while driving.
1/8 STEP | 1/4 STEP | 1/2 STEP | FULL STEP 71% | AOUT CURRENT (% FULL-SCALE) | BOUT CURRENT (% FULL-SCALE) | ELECTRICAL ANGLE (DEGREES) |
---|---|---|---|---|---|---|
1 | 1 | 1 | 0% | 100% | 0.00 | |
2 | 20% | 98% | 11.25 | |||
3 | 2 | 38% | 92% | 22.50 | ||
4 | 56% | 83% | 33.75 | |||
5 | 3 | 2 | 1 | 71% | 71% | 45.00 |
6 | 83% | 56% | 56.25 | |||
7 | 4 | 92% | 38% | 67.50 | ||
8 | 98% | 20% | 78.75 | |||
9 | 5 | 3 | 100% | 0% | 90.00 | |
10 | 98% | -20% | 101.25 | |||
11 | 6 | 92% | -38% | 112.50 | ||
12 | 83% | -56% | 123.75 | |||
13 | 7 | 4 | 2 | 71% | -71% | 135.00 |
14 | 56% | -83% | 146.25 | |||
15 | 8 | 38% | -92% | 157.50 | ||
16 | 20% | -98% | 168.75 | |||
17 | 9 | 5 | 0% | -100% | 180.00 | |
18 | -20% | -98% | 191.25 | |||
19 | 10 | -38% | -92% | 202.50 | ||
20 | -56% | -83% | 213.75 | |||
21 | 11 | 6 | 3 | -71% | -71% | 225.00 |
22 | -83% | -56% | 236.25 | |||
23 | 12 | -92% | -38% | 247.50 | ||
24 | -98% | -20% | 258.75 | |||
25 | 13 | 7 | -100% | 0% | 270.00 | |
26 | -98% | 20% | 281.25 | |||
27 | 14 | -92% | 38% | 292.50 | ||
28 | -83% | 56% | 303.75 | |||
29 | 15 | 8 | 4 | -71% | 71% | 315.00 |
30 | -56% | 83% | 326.25 | |||
31 | 16 | -38% | 92% | 337.50 | ||
32 | -20% | 98% | 348.75 |
Table 7-8 shows the full step operation with 100% full-scale current for the DIR = 1 case. This stepping mode consumes more power than full-step mode with 71% current, but provides a higher torque at high motor RPM.
FULL STEP 100% | AOUT CURRENT (% FULL-SCALE) | BOUT CURRENT (% FULL-SCALE) | ELECTRICAL ANGLE (DEGREES) |
---|---|---|---|
1 | 100 | 100 | 45 |
2 | 100 | -100 | 135 |
3 | -100 | -100 | 225 |
4 | -100 | 100 | 315 |
Table 7-9 shows the noncircular 1/2–step operation for the DIR = 1 case. This stepping mode consumes more power than circular 1/2-step operation, but provides a higher torque at high motor RPM.
NON-CIRCULAR 1/2-STEP | AOUT CURRENT (% FULL-SCALE) | BOUT CURRENT (% FULL-SCALE) | ELECTRICAL ANGLE (DEGREES) |
---|---|---|---|
1 | 0 | 100 | 0 |
2 | 100 | 100 | 45 |
3 | 100 | 0 | 90 |
4 | 100 | –100 | 135 |
5 | 0 | –100 | 180 |
6 | –100 | –100 | 225 |
7 | –100 | 0 | 270 |
8 | –100 | 100 | 315 |
When operating with the SPI, depending on the STEP_EDGE bit, STEP active edge can be either rising edge or both rising and falling edge, as shown in Table 7-10. When configured with H/W interface, the STEP active edge is only the rising edge. For applications that need to run at high input STEP rate, configuring both edges as active edge reduces controller overhead by half, because the input STEP rate is effectively doubled.
Interface |
STEP_EDGE |
STEP Active Edge |
---|---|---|
SPI |
0b (default) |
Rising edge |
1b |
Rising edge and falling edge |
|
H/W |
X |
Rising edge |
At each active edge of the STEP input the indexer advances to the next state in the table. The direction shown is with the DIR pin logic high. If the DIR pin is logic low, the sequence table is reversed. If the step mode is changed dynamically while stepping, the indexer advances to the next valid state for the new step mode setting at the active edge of STEP.
After power-up, after exiting logic undervoltage lockout, or after exiting sleep mode, the indexer moves to an initial excitation state (home position) of 45° electrical angle, corresponding to 71% of full-scale current in both coils. All the registers are restored to their deafult values in such scenario.
When operating with the SPI, if the IDX_RST bit is 1b, it resets the indexer to 45° electrical angle as shown in Figure 7-5, but the contents of the memory map registers do not change.
If the STEP input frequency is jittery, the device filters the signal for the purpose of stall detection. The FRQ_CHG and STEP_FRQ_TOL bits program the filter setting, as shown in Table 7-11. 2% filtering means up to 2% jitter around the center frequency will be filtered out to generate a clean STEP signal for internal circuits to detect motor stall.
FRQ_CHG |
STEP_FRQ_TOL |
Filtering |
---|---|---|
0b (default) |
00b |
1% |
01b (default) |
2% |
|
10b |
4% |
|
11b |
6% |
|
1b |
Don't care |
No filtering |