SLVAFF1 January 2023 DRV8452 , DRV8462
PRODUCTION DATA
After auto-torque algorithm is enabled, the learning routine must be run to estimate the ATQ_LRN parameters.
The learning routine uses the linear relation between ATQ_LRN and motor current described in Equation 3. You have to select two current values at which learning will be performed, with no load torque applied on the motor. These two current values are programmed by the ATQ_LRN_MIN_CURRENT and ATQ_LRN_STEP registers.
The ATQ_LRN values at these two currents are saved in the ATQ_LRN_CONST1 and ATQ_LRN_CONST2 registers. These two registers are used to interpolate ATQ_LRN value for all other currents within the operating range of the application.
Table 2-1 lists the registers associated with auto-torque learning routine.
Register Name | Description |
---|---|
ATQ_LRN_MIN_CURRENT[4:0] | Represents the initial current level for auto-torque learning routine. |
ATQ_LRN_STEP[1:0] | Represents the increment to initial current level. It supports four
options:
Example : If ATQ_LRN_STEP = 10b and ATQ_LRN_MIN_CURRENT = 11000b, then:
|
ATQ_LRN_CYCLE_SELECT[1:0] | Represents the number of electrical half cycles spent in one
current level after which the learning routine allows the current to
jump to the other level. It supports four options:
|
LRN_START | Writing 1b to this bit enables the auto-torque learning routine. After learning is completed, this bit automatically goes to 0b. |
LRN_DONE | This bit becomes 1b after learning is complete. |
ATQ_LRN_CONST1[10:0] | Indicates the ATQ_LRN parameter at the initial learning current level. |
ATQ_LRN_CONST2[10:0] | Indicates the ATQ_LRN parameter at the final learning current level. |
VM_SCALE | When this bit is 1b, the auto-torque algorithm automatically adjusts the ATQ_UL, ATQ_LL and ATQ_LRN parameters as per the supply voltage variation. |
Here are few points to consider while setting up the learning routine parameters:
For a quick summary, the following sequence of commands should be applied to enable automatic learning:
Once the ATQ_LRN_CONST1 and ATQ_LRN_CONST2 are known from the prototyping tests, they can be used for mass production without invoking the learning routine again. The following sequence of commands should be applied in mass production:
Figure 2-3 shows the consolidated flowchart of the auto-torque learning routine.
Traces from top to bottom: load torque, coil current, supply current, nSCS.
Figure 2-4 shows an automatic learning process with 740 mA initial current (IFS1) and 2.2 A final current (IFS2). The ATQ_LEARN_CYCLE_SELECT corresponds to 32 half-cycles.