background image

 

 

 

SLVUA41E 

 

 

11

 

 
These next registers should be tuned for a particular system: 

 

ADVANCE

 

– This adjusts the timing shift between when the DRV8308 receives Hall signals and 

commutation.  While a motor is running, ADVANCE can be modified in realtime (if 
AUTOADV is disabled), and you will instantly see the difference in power supply 
current.  Lower current is generally better, but flutter performance can be a tradeoff. 

 

LOOPGAIN

 

– This gain primarily affects max RPM, max torque, and startup speed overshoot.  If 

it’s too low, the motor won’t spin up to the commanded RPM, or the torque 
capability may be limited.  If it’s too high, motor speed will initially overshoot.

 

 

SPDGAIN

 

– This gain affects how aggressively error is compensated.  If it’s too high, speed will 

oscillate around the target speed

.  If it’s too low, flutter may be higher. 

 

FILK1

 

– Sets the Pole1 frequency.

 

 

FILK2

 

– Sets the Zero1 frequency.

 

 

COMK1

 

– Sets the Pole2 frequency.

 

 

COMK2

 

– Sets the Zero2 frequency.

 

 
 
 

3.2 Tuning process

 

 
Tuning a motor system is a trial-and-error process.  The following steps are a general guide.  The GUI 
loads with default register values that attempt to have reasonable filter settings. 
 

Step 1:

 Use the first tab to run in PWM mode.  You might need to try different wire connections and 

HALLPOL to get your motor to consistently spin.  After that, while spinning change ADVANCE and find 
the value that causes the lowest power supply current and audible motor noise.  Then stop the motor 
by bringing ENABLE low. 
 

Step 2: 

Determine the appropriate clock frequency, f

CLKIN

 (se

example

). 

 
Select the third GUI tab, and: 

  Set AG_SETPT closest to your f

CLKIN

  Set MOD120 to 3970 

  Set SPEED to 4000 

 
Turn on the clock, and start the motor with ENABLE. 
 
If the motor spins very roughly, 

 

  Try reducing or increasing f

CLKIN

 to find a working case as a baseline reference. 

 

  Try changing the filters (FILK1/FILK2/COMK1/COMK2) with different combinations in 

increments of 150.  Spend some time to find good values. 

 

  Try increasing SPDGAIN and LOOPGAIN. 

 

Step 3:

 By now, the motor should spin smoothly, but the frequency of the signal on FGOUT might not 

match f

CLKIN

.  If the two frequencies don’t match, speed is not locked.  Many times that can be fixed by 

increasing LOOPGAIN or SPEED. 

Summary of Contents for DRV8308

Page 1: ...trol system Table of Contents 1 The DRV8308EVM and motor 2 1 1 Overview 3 1 2 External lab equipment 3 1 3 Configuration jumpers 4 2 The GUI 7 2 1 Installation 7 2 2 Quick guide to spin with open loop...

Page 2: ...SLVUA41E 2 1 The DRV8308EVM and motor TelcoMotion DT4260 24 055 04H TI...

Page 3: ...NSE VM FETs Phase inputs BLDC Motor FG OUT testpoint Power supply Frequency to voltage Flutter meter Oscilloscope VM input Figure 1 DRV8308EVM system diagram 1 2 External lab equipment 1 Power supply...

Page 4: ...n generally seen to produce worse results 3 Frequency to voltage converter and oscilloscope It is useful to convert the FGOUT frequency to be represented by an analog voltage and send the signal to a...

Page 5: ...and removing JP2 this circuit is available for Hall elements VM 2k 180 _ HPWR HGND Hall Elements Figure 3 Circuit when setting Hall power to current Here s an example to calculate current if VM 24V an...

Page 6: ...pins should be biased with a middle voltage so that a single ended swing on the pin is detected like a differential voltage Jumper JP3 controls U7 an 8 line FET switch and it decides when to connect...

Page 7: ...older DRV8308EVM_GUIv1 2 into directory guicomposer webapps depending on where you installed GUI Composer during Step 1 If you installed GUI Composer to the default directory the folder is C ti guicom...

Page 8: ...oaded and no symbols set the PWM Duty Cycle to 40 and click ENABLE The motor should spin Next To change from counter clockwise to clockwise click DIR To change speed use the duty cycle knob To apply s...

Page 9: ...MOD120 to 3970 Select CLK from MSP430 Step 3 Click ENABLE to spin at exactly 1500 RPM Connecting a scope probe to FGOUT allows you to observe the Hall U frequency If you load the motor with your finge...

Page 10: ...d RPM AUTOGAIN When enabled the DRV8308 scales LOOPGAIN with RPM because more gain is needed for more speed This is a valuable feature and should generally be left enabled Then ScaledGain LOOPGAIN fCL...

Page 11: ...ror process The following steps are a general guide The GUI loads with default register values that attempt to have reasonable filter settings Step 1 Use the first tab to run in PWM mode You might nee...

Page 12: ...This is the minimum gain your system needs to reach the commanded RPM In future trials changing the filters to improve flutter and dynamic performance will also change total gain and the calculator sh...

Page 13: ...ing the warranty period to the address designated by TI and that are determined by TI not to conform to such warranty If TI elects to repair or replace such EVM TI shall have a reasonable time to repa...

Page 14: ...essful communication This radio transmitter has been approved by Industry Canada to operate with the antenna types listed in the user guide with the maximum permissible gain and required antenna imped...

Page 15: ...ified allowable ranges some circuit components may have elevated case temperatures These components include but are not limited to linear regulators switching transistors pass transistors current sens...

Page 16: ...REMOVAL OR REINSTALLATION ANCILLARY COSTS TO THE PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES RETESTING OUTSIDE COMPUTER TIME LABOR COSTS LOSS OF GOODWILL LOSS OF PROFITS LOSS OF SAVINGS LOSS OF USE L...

Page 17: ...sponsible for compliance with all legal regulatory and safety related requirements concerning its products and any use of TI components in its applications notwithstanding any applications related inf...

Page 18: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Texas Instruments DRV8308EVM...

Reviews: