This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

About controlSUITE F28069 and DRV8302

Other Parts Discussed in Thread: DRV8302, TMS320F28069, CONTROLSUITE, TMS320F28069F, MOTORWARE, DRV8301, LAUNCHXL-F28069M, BOOSTXL-DRV8305EVM, BOOSTXL-DRV8301, 2MTR-DYNO, TMDSHVMTRINSPIN, LAUNCHXL-F28027F, DRV8312

Hi everyone,

We want to spin BLDC motor. We use TMS320F28069 and DRV8302 in our board and downloaded control suit software.

We want to use software below,

C:\ti\controlSUITE\development_kits\DRV830x-HC-C2-KIT_v105\InstaSPIN_BLDC  

but it is just for F28035 , isn't it? We can't change the project active configuration to F28069. Is it changeable?

so we decided to use software below, because we can change the project active configuration to F28069.

C:\ti\controlSUITE\development_kits\DRV830x-HC-C2-KIT_v105\PM_Sensorless

Is it appropriate for BLDC motor?

or is there any software that we can use?

  • that specific project is only built for F2803x.
    You can port it yourself if you like
    note that for the same board this project is dual built for F2806x & 3x
    C:\ti\controlSUITE\development_kits\DRV830x-HC-C2-KIT_v105\PM_Sensorless
  • Hi Chris,

    Thank you so much for the speedy reply. We have 2 questions.

    1-) We eventually managed to turn the our BLDC motor with PM_Sensorless software.  BLDC motor turns perfectly at level 2 software part .

    But software call the QEP calculation module at level 4 part. We do not have an encoder. (Also we don't want to use it). So how can solve this problem with software?

    2-) Also now we want to use TMS320F28069F for motorware software

    however as you know we use DRV8302 on our board. Is it problem?

    because all motorware software has either DRV8301 or different from DRV8302. 

    We've assembled F28069F to board but now our bldc motor did not spin.

    What can I do now?

    Best regard.

  • 1. if you don't have an encoder you will have to skip 4B. It makes tuning a normal sensorless observer much easier. You won't need this if you use InstaSPIN-FOC

    2. it is possible to update the software for DRV8302 instead of DRV8301 (it's essentially the same device but uses GPIO instead of SPI). However, I really don't know if it's worth your time. It's probably a wiser investment to just buy a new kit.

    What is the voltage and current range of the motor you want to drive?

    You may be able to just use a LAUNCHXL-F28069M and BOOSTXL-DRV8305EVM (42V, 15A) , which you can get for $75.
  • hi Chris,
    I think encoder was used by software at other levels too. because QEP calculation module was used at other levels. so my bldc motor never spin.

    on the other hand, thank you for saying about DRV8302, I think you are right.
  • this project
    C:\ti\controlSUITE\development_kits\DRV830x-HC-C2-KIT_v105\PM_Sensorless

    only uses an encoder in Build 4b and 6a as an option to help you tune the SMO observer and then PI controls.

    Tuning an SMO based sensorless FOC is very challenging, hence why we invented InstaSPIN-FOC.
  • Thank you for useful informations Chris. We dediced to use InstaSPIN-FOC and DRV8301.

    Best Regards.

  • Hi Chris,

    As you wish, we used TMS320f28069F and DRV8301 with motorware so BLDC motor spin and I can set to speed perfectly now. Thank you so much about that. 

     I have been testing labs. But, I could not work standalone mode yet. I clicked right side to project and select the FLASH active build configuration.

    DIP switches on my board are in their default position and I push start buton but BLDC motor does not spin.

    How should I proceed step by step?

    what can I do about that?

     

  • umit,
    while the projects can run standalone - meaning boot to flash - none of the source code is configured automatically to handle any sort of automatic start or start from the "Start" button on the EVM or any communications or HMI at all.

    You have to update the proj_lab##.c yourself as you like. It may be that you hardcode in the Flags and speed settings etc. so that on power -up / restart the motor simply goes to a speed. Or you may use the start button (which is connected to an GPIO or ADC channel). Or you may use a POT or serial port to send new commands.

    This is all up to you as you design your embedded project.
  • Hi Chris Clearman
    1) Is there a F28069M eval board on hand that can plug in TWO DRV830x-HC-C2-KIT_v105 boards that drive the DRV8302?
    We already have qty one DRV830x-HC-C2-KIT_v105 and an XDS-510 USB.
    Porting between DRV8301 to DRV8302 should not be a big problem.
    I just don't want to buy another F28069M eval baord with a bundled XDS inside of it.
    2) Is the standalone board with the DRV8302 from that 830x kit available by itself?
    3)Also, that TI email earlier today indicated "Dual motor projects for LAUNCHXL-F28069M" -
    is that an application design that Mathworks did that TI rebundled into a documented application package?
    (if you can please cc: AFA Keith Nicholas on the reply)
    thanks
  • 1. no
    correct, it's not so difficult to port between DRV8301 and DRV8302 at all

    the LAUNCHXL-F28069M includes an xds100 on board and the whole thing is only $25. The BOOSTXL-DRV8301 or BOOSTXL-DRV8305EVM are only $49 each.

    2. no
    3. Mathworks has an example of doing I believe sensorless FOC based on our controlSUITE motor control library. It may be sensored though, I don't recall. They did this on their own.

    Using MotorWare we show examples of InstaSPIN-FOC (sensorless) as well as InstaSPIN-MOTION (sensorless, encoder velocity, encoder position).
  • We published a F28069 Dual Motor example, which includes a video and model file. 

    Required hardware for our demo is:

    - TI F28069 LaunchPad
    - 2 BOOSTXL-DRV8301 with a 3-phase brushless motor and a 12-24V power supply.
    - 2 PMSM (i.e. 2MTR-DYNO setup)

    You can view the video and download the files from MathWorks File Exchange here:

    http://www.mathworks.com/matlabcentral/fileexchange/49109-dual-motor-control-with-ti-f28069-launchpad

    -Brian

  • Hi Chris,
    We have been successful thanks to you in the project I mentioned above.

    so we have new project, we have a bldc motor for bus air cooler fan . we will apply 220V AC and rectifiering for 220V DC
    but we will not use transformer like previous project because of additional cost. so Which can use the control board with 200V DC belogs to TI.
  • the closest thing we have is
    TMDSHVMTRINSPIN

    this uses a power module for 50-350Vdc and 10A.

    For the application you are talking about I'm guessing it's lower current and your HW design will probably end up being a gate driver with FETs.

    But you can use the TI board to run the motor as a starting point and copy over some of the voltage/current sampling circuits for your own board.
  • Thank you Chris for your prompt response.
  • Hi Chris

    We had a meeting in my company today so I need some advice from you again :)

    1-) As you know, we can rotate BLDC motor thanks to TI. So we are starting AGV project (Automated Guided Vehichle). Thanks for this.

    2-) In Turkey, a company wants to compatitive-optimum solution from us for BLDC motor. It is for Blower fan motor project. It is 12 - 24V and 200 - 500W.

    So what can we use?

    3-) Also for other companies, we want to give a BLDC motor solution for exhauster and washing machines. we don't want to use transformer so we should apply 200V DC. So what can we use?

    I want to specify that assistance was very helpful for us.

    Thank you for your help in advance.

    Best Regards.

  • 2. I would use BOOSTXL-DRV8305EVM (42V, 15A peak) and a Launchpad. LAUNCHXL-F28027F for lowest cost InstaSPIN-FOC or LAUNCHXL-F28069M for InstaSPIN-FOC or MOTION with plenty of extra memory, MIPS, etc.

    3. TMDSHVMTRINSPIN
    it is going to be difficult to get these soon in Europe due to some new regulations, so I would buy ASAP or be prepared to make your own.
  • Thank you so much Chris,
    I will share with my colleagues.
  • Hi Chris,
    it's me again

    As you Know, I have been using BLDC control citcuit with F28069F and DRV8301.

    My BLDC motor normally turn succesfully. While motor turn , I hold rotor with my hand for torque , there is no problem it spin powerfully but while motor stopped and hold rotor with my hand , I increase speed and I wanna turn it however it can not.
    After bldc turn a little bit, there is no problem. Torque is very powerful.
    can you some advive, what can I do with motorware software? which lab can I use ? Is there someplace I need to fix?
    Best Regards.

  • umit,
    once the rotor is stalled and not moving FAST can't track the rotor flux angle. it requires rotation.

    enabling ForceAngle should help to keep the control system creating a rotating vector to help get the motor to move enough - assuming the torque created is greater than the load - where FAST can take back over.

    you can also review SPRUHJ1 there is a section on high load start-up (which is slightly different than a stall condition, but it's worth reading)

    if you need a smoother solution for high load / stall conditions you may need to use rotor sensors.
  • Hi Chris,

    You are right,I tried what you said. if the rotor shaft turn slightly, there is no problem. Torque is powerful. but while rotor shaft is standing, it can not turn.

    As a result I have a 3 kW BLDC motor and I want to startup with full load, is it possible? 

    Do I have to use the sensor?

  • umit,
    read chapter 14 of SPRUHJ1
    those are the things you can do for best results of full load start-up

    if that doesn't work for your system you may need to consider using rotor sensors
  • Hi Chris,
    I wanna use hall sensor with F28069 or F28035 so I wanna use lab 11e but I know it is not ready for usage. thats why you will release motorware v17 but for now do you have any advice ti card for hall sensor. it may be in controlSuite? for example, Is DRV8312_C2_Kit suitable for hall effect sensor? is there software support in control suite?

    Best Regards..
  • umit,
    yes, we are working on this for MW 17.

    there are a couple options - very similar - for pure Hall sensor based BLDC 6-step trapezoidal commutation

    C:\ti\controlSUITE\development_kits\DRV8312-C2-KIT_v128\BLDC_Sensored
    C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVBLDC_Sensored
  • hi Chris,

    We have project. We designed an AGV (automated guided vehicle systems) and we can control BLDC motor thanks to ti. We use F28069F AND drv8301 I mean use motorware.  we have two slave motor control card and also master main board. We wanna communicate each other with can-bus (transmit and receive mode). so have you any solution about that or example?

    Best regards..

  • glad to hear!

    you should use the eCAN examples in controlSUITE
    C:\ti\controlSUITE\device_support\f2806x\v151\F2806x_examples_ccsv5\ecan_back2back

    and please ask any questions on eCAN on the C2000 forum, not InstaSPIN, so you can get faster response.
  • by the way, we wait motorware v17 so do you publish this month?
  • yes, that is our plan for end of month.
  • Hi Jim,

    To help answer #3... MathWorks built our own FOC example which use ControlSUITE libraries. We have multiple variants of that example, including one using  using F28069.  Most of the variants of this example are sensorless using a sliding mode observer.

    You can learn more about MathWorks Support for C2000 here: https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/484814

    YouTube how-to style videos with MathWorks and F28069 are here:

  • Hi Chris,

    I want to something about synchronous control. As you know,  we have designed AGV(automated guided vehicle) with two BLDC motor so we want to put load on it and we want the same speed synchronous rotation for our  two BLDC motor at AGV. We use F28069F and DRV8301 . How can we do this control? Do you have any advice software or hardware?

  • Umit,

    Are the two motors driven by the same F28069F MCU?

    you can do this today with proj_lab11d

    the only thing that is missing in this project is a trajectory generation. meaning there is not acceleration setting, new speeds are instantly provided as a reference to the speed controller

    we will also have proj_lab10d included in next MotorWare which follows the standard lab flow using CTRL

    If you have different MCUs controlling the motors you will have to synchronize the speed commands between the two. Typically this is done over SPI but we don't offer examples.

  • Hi Chris,
    We wait motorware v17 for lab 11e because we wanna use hall effect sensor, so when do you released it?