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.

Implementing Regenerative Braking with DRV8312-69M-KIT

Other Parts Discussed in Thread: MOTORWARE, DRV8301, DRV8312, LAUNCHXL-F28027F, LAUNCHXL-F28069M, BOOSTXL-DRV8301

Hello, I am working on a hybrid powertrain (internal combustion engine + electric motor) for UAVs as a university project, and I have acquired the DRV8312-69M-KIT with the objective of demonstrating the control of the electric machine as a motor/generator unit. At the moment I have been able to get the motor to spin using the InstaSPIN-MOTION GUI, which has given me further understanding on how motor control is implemented, but I am having trouble getting my head around regenerative braking.  

My intention is to connect the motor to this kit to another motor that is acting as a load, like the ICE in a hybrid powertrain, and use the first to either produce more torque or harvest energy, depending on conditions. Here is a block diagram of what I am trying to achieve: 

I understand that regenerative braking is possible with the given hardware from this thread (e2e.ti.com/.../366318), but I have not been able to find any application notes or tutorials on how regenerative braking can be implemented. Could I get some pointers as to how this is possible?

I have looked into the user guide for InstaSPIN-MOTION, as well as MotorWare but no luck so far. I have explored the Code Composer Studio, but given my limited programming knowledge, I am having trouble understanding what I am looking at.

Any assistance would be much appreciated, and please let me know should any extra information be needed. Thanks for your time. 

  • Hi Hong,

    I am moving your post to the C2000 forum. They are more qualified to answer your question.

    While waiting for a response, please take a look at the post

  • www.edn.com/.../Testing-your-motor-control-algorithms

    FOC allows for 4 quadrant operation (Motoring/Generating, CW/CCW). What you do with that voltage is really the part you have to customize. In the link above I use two of the same motors on a common Vbus which makes it simple to do some testing.
  • Thanks for your response. I've located the lines (not sure what the technical term is) that require editing in CCS, but I have a DRV8312 kit, is this still applicable? I am looking to get another DRV8312/DRV8301 kit, with the existing motor being the load and controlled via the InstaSPIN GUI, and the other being the dyno. Also, for this setup, where is the regenerated energy stored, or is it wasted as resistive heating? Also, could you explain briefly what the Boosterpack is for, and if I could do without?
  • Hong Ye Chew said:
    Also, could you explain briefly what the Boosterpack is for, and if I could do without?

    BOOSTXL-DRV8301 is a 3-ph inverter board 6-24V/10A. You must plug in a Launchpad to control; LAUNCHXL-F28027F or LAUNCHXL-F28069M

    it is similar to the controlCARD + EVM approach, but lower cost.  And a better design, especially for < 24V motors.

    Hong Ye Chew said:
    but I have a DRV8312 kit, is this still applicable?

    you can use a DRV8312 kit to do what I showed in the article. It only support 3.5A, but when you have the motors coupled together with a shared but you are getting a very small current usage.

    Hong Ye Chew said:
    Also, for this setup, where is the regenerated energy stored

    energy is not being stored (besides what the bus caps can take). if one motor is generating it is producing voltage that is shared across the bus.

    to store energy you would need a different HW design

  • By different design, do you mean the way in which the hardware is connected? If I have a setup as per the block diagram in the first post, will I be able to achieve energy storage into the battery when the InstaSPIN-MOTION GUI is running? The following is quoted from this thread (e2e.ti.com/.../1179999;pi239031349scroll=false) and seems to support this:

    "I understand you want to charge super caps, and for that you need a voltage and current source. For regenerative braking this means you are getting this from an electric motor during it's non-motoring phase (energy is leaving the motor, not being consumed by the motor in the form of torque + heat production).

    Certainly the motor when controlled by InstaSPIN-FOC or -MOTION can operate in generating mode, and voltage/current will be supplied back to the bus....and you can use your circuit to charge your caps."
  • "and you can use your circuit to charge your caps.""
    I mean HW design. Typically you need to control the voltage and current to the battery. There is nothing on the DRV8312 EVM to allow you to do that.
  • I see. What feature should I be looking for in order to be able to control the voltage and the current to the battery? Would something in between the DRV8312 DC terminals and the battery be helpful? Does the DRV8301 have such a feature?