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.

DRV8301-HC-C2-KIT: Changing source code for permanent magnet synchronous generator control application

Part Number: DRV8301-HC-C2-KIT
Other Parts Discussed in Thread: CONTROLSUITE, TMDSDOCK28035

Dear TI experts,

I need to develop a vector control (field-oriented control) algorithm for a permanent magnet synchronous generator using a three-phase inverter.

The advantage of the DRV8301-HC-C2-KIT is that the inverter, gate driver, and control card unit are all included into one single kit, which is very convenient. I purchased the DRV8301-HC-C2-KIT hoping I could change the source code to adapt it to my generator application. The vector control itself stays basically the same but I do not need the speed control loop (only the torque control loop) plus I need to check / modify the rotor position observer for sensorless case.

From what I saw of the code through Code Composer Studio, it looks like control blocks (PI control, Clarke, Park, ...) are called through libraries that cannot be accessed nor edited. Is that correct?

If that is so I probably cannot use the kit as is for my application. Should I use a development board such as the F28035 Piccolo Experimenter's Kit and start writing the code from scratch?

I would much appreciate if you could help me on this.

Yours sincerely,

N. Denis

  • Unfortunately, we do not do such an evaluation of this kit or other kits for the generator application. On this forum, we are able to support specific device-related to reference designs. I understand the need you want but at this point, I don't have anything I can point to you other than motor control reference designs. You may post on some engineering forums to see if you have enthusiasts who can help. If you have specific questions on the reference code please let me know.

    Btw, all reference designs are open-source enabled in controlSUITE.

  • Thank you for your quick answer.

    I am not sure to understand your answer completely. Let me just try to sum it up:

    1. I cannot use the control reference design of DRV8301-HC-C2-KIT for my generator application

    2. It is not possible to get any support if I want to modify the source code in order to adapt it to my generator application.

    Is my understanding correct?

    I have done my own control design already and I am just looking for a board to implement it. If I use the F28035 Piccolo Experimenter's Kit TMDSDOCK28035 combined with an inverter that I buy separately, do you know if it would be possible? 

    Sincerely

    N. Denis 

  • 1. That depends on the generator. we just used this kit for motor drive control.

    2. Unfortunately, we didn't have the reference code for the generator control.  On this forum, we are able to support specific device and reference design related questions.

    3. Yes, it's possible. C2000 can be used for both motor and generator control, which includes F28035 also. You can do this by connecting the related GPIO pins to your inverter manually if you only want to do an evaluation.