background image

 

 

 

SLVUA41E 

 

 

9

 

 

2.3 Quick guide to spin with speed control

 

 
The second GUI tab operates the DRV8308 in Clock Frequency Mode, utilizing the closed-loop speed 
control system.  It’s important to determine the right frequency for your desired RPM; for example: 

 

  If you are using FGSEL = 00b (Hall U), and the mot

or’s rotor has 8 magnet poles, there will be 4 

Hall U cycles per revolution and 

RPM = f

CLKIN

/4 * 60

 

  If you are using FGSEL = 10b (FG), and there are 42 FG cycles per physical revolution, then 

RPM = f

CLKIN

/42 * 60

 
If you’re unsure of your motor’s number of Hall U cycles per revolution, you can test it by doing this: 
disconnect the 3 phase wires, enable the DRV8308 (to apply Hall power), probe the Hall U testpoint, 
and use your hand to rotate the motor 360° while counting the number of cycles. 
 
The included TelcoMotion motor has 8 magnetic poles, and the below steps will involve a 100Hz f

CLKIN

so RPM will be 1500. 
 

Step 1:

 Un-click ENABLE so the motor is stopped. 

 

Step 2:

 Select the second GUI tab.  Then: 

  Set AG_SETPT to 5 - 95Hz 

  Set LOOPGAIN to 200 

  Set 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 fingers, you will see power supply 
current increase, but Hall U frequency stay the same since speed is locked.  

If you’re able to stop the 

motor by squeezing hard enough, your power supply is probably set to 1A or less. 
 
 
 

2.4 The third GUI tab

 

 
The last tab shows all the device registers, for the highest level of complexity and control.  Changes 
made to this tab stay in effect when switching back to the first two tabs. 
 
By default, the “Auto Write” checkbox is enabled, so changes you make are immediately written 
through SPI. 
 
The button “Burn OTP Memory” permanently writes the DRV8308 non-volatile memory with the 
registers shown.  ENABLE must be active for it to work.  After writing the OTP, whenever the DRV8308 
is powered up with SMODE = Low, the default registers will be what was programmed.  

Here’s how 

you can verify the OTP was successfully written: uncheck Auto Write, cycle power to the EVM, type a 
random number into one of the register fields, click the Read All button, and verify the random number 
gets overwritten to the correct value. 
 
 
 
 

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: