background image

SLVUA41E 

10

 

 

 

2.5 If the GUI has slow performance

 

 
Some computers exhibit slow performance on the third GUI tab.  2 common causes are: 
 

1.  Too many Ports in Device Manager.  Go there by accessing Start 

 Control Panel 

 System 

 Device Manager.  Under Ports, the one for the EVM is named 

“USB Serial Port”.  If there are 

others listed, try disabling them with a right-click Disable.  Then restart the GUI. 

 

2.  A slow computer with many programs running in the background.  Try closing all extra 

programs and disk scanners. 

 
 
 

3. Tuning the speed control system 

 
The DRV8308 Clock Frequency Mode for speed control performs best when the device registers are 
tuned for a particular 

system’s motor, inertia, speed, and load torque. 

 
 
 

3.1 Key registers 

 
This first set of registers must be set correctly: 

 

MOD120

 

– Always set this to 3970.

 

 

SPEED

 

– This is the open-loop gain during spin-up, before LOCKn goes Low.  It simply must 

be high enough in order to reach the commanded 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 * f

CLKIN

/AG_SETPT

.

 

 

AG_SETPT

 

– This setpoint effectively sets the range for AUTOGAIN.  Simply use the setting that 

is closest to f

CLKIN

 (see the DRV8308 datasheet register descriptions).

 

 

AUTOADV

 

– When enabled, the DRV8308 more aggressively scales ADVANCE with RPM: 

ScaledAdvance = ADVANCE * f

HALLU

/AA_SETPT

.  Note that without this, 

ADVANCE by itself already scales with speed since each value shifts timing by 
0.1% of the Hall U period.  Disable AUTOADV initially; once a system is well-tuned, 
you can experiment with AUTOADV to potentially improve performance.

 

 

AA_SETPT

 

– This only applies when AUTOADV is enabled.  Use the setting closest to the 

frequency of Hall U.

 

 

IDRIVE

 

– This sets the predriver output current and directly controls the external FET V

GS

 

turn-on time.  Unless high current FETs are used, lower values are generally better, 
to minimize switching noise. 

 

FGSEL

 

– If an FG Sense trace is not used, it is generally best to set FGSEL to 0 (HALL_U).

 

 
 
 
 

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: