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.

TMS320F28335: Model Predictive Control (DCL Library)

Part Number: TMS320F28335

Hi,

I am looking for some examples to start implementing model predictive control for my program. I see the examples in DCL library but it discusses mostly PID Controllers. But I couldn't find any example using Model Predictive Control. Could you suggest or guide me how I can implement it ? Any link or websites or E2E threads...etc

Thanks

Kind Regards

Arsalan

  • Hi Arsalan,

    Unfortunately, there isn't any existing MPC examples or reference designs that I'm aware of, but I'll reach out to our domain-specific SDK group (MCSDK & DPSDK) folks to see if we have utilized MPC in any of our existing reference design TIDs.

    MPC regards to the whole system design implementation which is not what the DCL library concerns with. You can however, use components in DCL as a building block of MPC. Such as controller modules for driving the plant, and ZPK functions to parameterize the transfer functions. But the rest (models, optimizer, the workflow) will need to be determined by you.  

    But if you have access to Matlab, I think it would be a good starting point. Matlab has examples and simulations you can utilize for MPC, and if you wanted to use our (DCL) controller, we've also provided the matlab library for these models.

    Best,

    Sen Wang

  • Hi Seng,

    Thanks for you reply. I will start following your suggestion from MATLAB examples. I may ask few things later but now I am resolving this thread for the time now.

    If you could get any reply from domain-specific SDK group (MCSDK & DPSDK) for MPC design then please share. Shifting from MATLAB to Code composer might be difficult somehow !

    Thanks

    Kind Regards

    Arsalan