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.

TMS320F28379D: What are the Better Ways to Implement Motor Lookup Tables

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE, TMDXIDDK379D

Tool/software:

Hello Forms,


What is the best approach to use lookup tables within a motor control algorithm to derive motor parameters like current based on a Newton(N) versus Torque(T) relationship?

.

.

.

Could someone assist with the integration of below lookup table (Reference)

T\N 0 1000 2000 3000 4000 5000 6000 7000
0 0 10 18 25 31 35 37 38
5 0 12 20 27 33 37 39 40
10 0 14 22 29 35 39 41 42
15 0 16 24 31 37 41 43 44
20 0 18 26 33 39 43 45 46
25 0 20 28 35 41 45 47 48
30 0 22 30 37 43 47 49 50
  • Hi,

    The table should be torque vs speed instead of torque vs newton. What motor is it? What motor control algorithm do you want to implement?

    Thanks,

    Jiaxin

  • Hi Jiaxin,

    Thanks for the Correction, I want to Implement FOC for my Motor.

    Thanks,
    Soumitri

  • Hi Soumitri,

    Got it. I would like to recommend you to start with the universal motor control labs example in C2000WARE_MotorControl_SDK, the universal motor control lab is a collection of sensored and sensorless FOC method and you can incrementally built it from outputting PWMs to spinning a motor with the FOC algorithms. Please download the software, go to the solution folders, and import the project under "universal_motorcontrol_lab". 

    Thanks,

    Jiaxin

  • Hi Jiaxin,

    I want to Develop for IPMSM Motor
    I have Downloaded C2000Ware_MotorControl_SDK, I don't find any file related to F28379D or Sys.cfg file.
    Mean While I'll go through the Files in "/common/include" and " /common/source".

    Is it possible to Guide me through this?

    Thanks,
    Soumitri.

  • Hi Soumitri,

    Thanks for downloading the SDK. Please go to "universal_motorcontrol_lab" folder and there you can see the examples on different devices. Please have a look at the user's guide to understand the software project. There is no direct project for F2837x, but you can refer to the project to build your own. If you want to directly refer to a project that is built for F2837x, you can explore the project under folder "tmdxiddk379d", which also achieves motor control, but it is not classic FOC.

    Thanks,

    Jiaxin