Part Number: DRV8301-69M-KIT
Other Parts Discussed in Thread: DRV8301, C2000WARE, CONTROLSUITE, TMS320F28377D, MOTORWARE
Hello,
I am using DRV8301 - 69M kit in order to control my brushless motor U8KV135 fromT-motors. In my robotics project I have to make a position control for my tasks (sensored system) and so far I have used the great SPINTAC position controller for my task. However due to different reasons and to test some things in my motor I would like to implement a simpler P-D position controller, though the disadvantages that it has in comparison with SPINTAC position controller.
Therefore can you provide me any easy way to do that? So far I have tried to use DCL32 library from C2000ware but I had two problems:
1. I am not so sure how to match the output of the controller (variable "uk") with the torque reference in the FOC control as SPINTAC_Position_controller does.
2. I do not know how to put DCL PID control inside the code in order to not use SPINTAC_Position_controller but to maintain SPINTAC_Position_Planning and SPINTAC_Position_Movement.
I am not so experienced in writing codes for such tasks in C & C++. I have understood a lot of things upon the code in the projects_labs that are offered, especially in project_lab 13b and project_lab 13c which I used but it would be necessary to get help from you.
It would be pleasure to hear any advice using DCL or any new idea!
Thank you in advance!
Petros
Student at Mechanical Engineering Department
National Technical University of Athens.