Texas Instruments Three Phase BLDC & PMSM Motor Kit with DRV8301 and InstaSPIN-enabled Piccolo TMS320F28069M MCU DRV8301 DRV8301-69M-KIT 데이터 시트

제품 코드
DRV8301-69M-KIT
다운로드
페이지 51
SLOS825B – DECEMBER 2012 – REVISED JANUARY 2014
AUTO CALIBRATION PROCEDURE
1. Determine parameters for selected actuator
(a) Type: ERM or LRA
(b) Rated voltage
(c) Allowed overdrive voltage
2. Apply the supply voltage to the DRV2605. The supply voltage should allow adequate drive voltage for the
selected actuator.
3. Write a value of 0x07 to register 0x01. This will take the DRV2605 out of STANDBY and place the Mode[2:0]
bits in auto calibration mode.
4. Write the nERM_LRA, FBBrakeFactor and LoopResponse values to register 0x1A. The BEMFGain bits will
be populated automatically by the auto calibration algorithm. Default values for register 0x1A that work for
most actuators are 0x24 for ERM and 0xA4 for LRA.
5. Write the actuator rated voltage to register 0x16 using the formula:
See "Programming the Rated Voltage" for calculating the correct register value.
6. Write the actuator overdrive clamp voltage to register 0x17 using the formula:
See "Programming the Overdrive Clamp Voltage" for calculating the correct register value.
7. Set the GO bit to start the auto calibration process (Write a value of 0x01 to register 0x0C). When auto
calibration is complete, the GO bit will self-clear. The auto calibration duration can be adjusted with
AutoCalTime[1:0]. The auto calibration results will be written to ACalComp[7:0], ACalBEMF[7:0], and
BEMFGain[1:0].
8. Check the status of the Diag_Result bit to ensure that the auto calibration routine completed without faults.
9. Evaluate system performance with the auto calibrated settings. Note that the evaluation should be done in
the final assembly of the product, as this can affect actuator performance/behavior. If any adjustment is
needed, steps 4 through 8 can be repeated. If the performance is satisfactory, the user may choose to do
any of the following:
(a) Repeat the calibration process upon subsequent power ups.
(b) Store the auto calibration results in host processor memory and rewrite them to the DRV2605 upon
subsequent power ups. The DRV2605 remembers these settings when in STANDBY mode or when EN
is low.
(c) Permanently program the results in non-volatile, on-chip auto calibration memory. Even when the
DRV2605 is power cycled, it will remember the auto calibration settings. This procedure is described in
the following section.
AUTO CALIBRATION MEMORY
The DRV2605 contains non-volatile, on-chip, One-Time Programmable (OTP) auto calibration memory for the
auto calibration specific parameters. Once written, the DRV2605 remembers the device settings in registers 0x16
through 0x1A even after power cycling. This allows the user to account for small variations in actuator
manufacturability from unit to unit as well as shorten the device initialization process for product specific
parameters such as actuator type, actuator rated voltage, etc. An additional benefit is that the DRV2605 memory
can be customized at the product test level without driving changes in the product software.
To permanently program the auto calibration memory, use the following steps:
1. Complete the auto calibration process described in the “Auto Calibration Procedure”. Ensure that the
performance is satisfactory, since this procedure is permanent and can only be completed once.
2. Ensure that the supply voltage (VDD) is between 4.0 V and 4.4 V. This voltage is required for the non-volatile
memory to program properly.
3. Set the OTP_Launch bit by writing a value of 0x01 to register 0x1E. Once the OTP memory has been
written, the OTP_Status bit will read 1.
4. Reset the device by power cycling or setting Dev_Reset. Read register 0x16 to 0x1A to ensure that the
programmed values were retained.
Copyright © 2012–2014, Texas Instruments Incorporated
39
Product Folder Links: