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.

  • TI Thinks Resolved

TMS320F28335: Implementing PI control loop on three phase inverter design

Prodigy 225 points

Replies: 12

Views: 253

Part Number: TMS320F28335

Hi ,

This is Prithvi , i am relatively new to TMS320F28335, i have worked out a code for three phase PWM for my inverter and as a next step i would like to do the closed loop of my inverter  by controlling my PWM pulse by implementing  a PI control loop in the Code . I have gone through some of the threads in this forum but i did not understand those threads .

Can anyone please help/ guide me on how to do the PI control loop ?

Kind regards ,

Prithvi

  • If you have installed controlSUITE, you will see many example projects there. The examples guide the user through various incremental builds integrating small modules/ hardware functionality at each build level. 

    I suggest you to review the following project and some reference docs at

    C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVPM_Sensorless_2833x

    and 

    C:\ti\controlSUITE\libs\app_libs\motor_control\math_blocks\v4.3

    Hope you find it useful.

  • In reply to Ramesh Ramamoorthy:

    Hi ,

    Thank you so much for your reply. I am going through the project you mentioned, but i am finding it to bit confusing since the program is too big for my knowledge .

    Before that is there any simple program for PI control .

    I am sorry if this question is silly , i am just a beginner .

    Thank you.

    With regards,

    Prithvi

  • In reply to Prithvi Raj:

    In the second link I had sent earlier, you can find C macros for PI control. The related implementation information is in the PDF within the Docs folder.
  • In reply to Ramesh Ramamoorthy:

    Hi,

    Thank you for your reply. I will go through the PDF and i will come back if any doubt is there .

    With regards,

    Prithvi

  • In reply to Ramesh Ramamoorthy:

    New Microsoft Office Word Document (4).docxHi,

    I tried to import the HVPM Sensorless program and run ,but while building i am getting so many errors without making any changes .

    I am attaching the screenshot of the error , Please help me .

    Thank you

    With regards,

    Prithvi

  • In reply to Prithvi Raj:

    Well, that is weird.

    I suggest you to try doing this.  Right click on the project in the project explorer, navigate to 'Build Configurations' and then to 'Set Active' and then to 'F2833x_RAM'. This should let you build. There might be couple of warnings, either you can ignore or comment out that lines of code issuing warnings.

    In any case, if you are not familiar with PI controller, this whole project is probably even more complex for a beginner. These example projects can be useful for those having some level of familiarity with power electronics, motor control and embedded programming. I recommend you to spend some to understand the topics better. We may not be able to provide anymore pointers than what is available on web.

     

  • In reply to Ramesh Ramamoorthy:

    Hi,

    I have tried that option but the erorr prevails . What else can i do ? Is there anyother option to make it work ?

    Thank you

    With regards,

    Prithvi

  • In reply to Ramesh Ramamoorthy:

    Hi,

    I tried with a different workspace and i built the same HVPM program and got no build errors but when i am building the program i am getting a " Load Program Error : data verification error occured , file load failed ." Kindly guide me .

    Thank you

    With regards,

    Prithvi
  • In reply to Prithvi Raj:

    Sorry for the slip up, may be there is an error with the target configuration, someone will get back to you with a resolution.
  • In reply to Ramesh Ramamoorthy:

    There is an error with the target config file in there. Use the one from here below
    C:\ti\controlSUITE\development_kits\TMDSRSLVR_v1.0\Resolver_f28335\xds100-f28335.ccxml

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.