LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Model predictive contive with continuous system

Solved!
Go to solution

Dear NI,

 

I use Module Control & Simulation, using Predictive control.

I want to ask how to use this module with continous system because I see that these module use with discrete system.

I'm doing about continuous system, so I want to use this module to simulate my system on computer using LabVIEW.

 

Thank you very much.

 

Cheers,

0 Kudos
Message 1 of 5
(2,831 Views)
Solution
Accepted by topic author newchip27

Hello,

 

We have many examples in our NI Example Finder regarding Continuous Simulation and Model Predictive Control.  You can get to the example by going to Help >> Find Examples.

 

For MPC in the Example Finder:

Browse Tab >> Toolkits and Modules >> Control and Simulation >> Control Design >> MPC

 

For Continuous Simulation in Example Finder:

Browse Tab >> Toolkits and Modules >> Control and Simulation >> Simulation >> Continuous Linear

 

 

What examples/ VIs have you been looking at to set up your simulation?

 

Regards,

M. Whitaker
ni.com/support
0 Kudos
Message 2 of 5
(2,785 Views)

Thank you for your answer. But I want to use MPC for Continuous system.

I see that all the MPC module in Discrete model.

In examples just give about simulation continous system, but when I put MPC in it, it display error.

Because the input Implement MPC is discrete. 

What can I do with these module?

 

Thank you very much for your helps.

 

Best regards,

Hieu

 

0 Kudos
Message 3 of 5
(2,775 Views)

I believe you can use the model conversion VI's to convert the discrete MPC examples to Continuous. 

You can find them in the Control Design & Simulation Palette under Model Conversion. 

 

This process is mentioned in the CD&Sim Manual on page 3-13.  You may find it to be useful reference material. 

 

Applications Engineer
National Instruments
CLD Certified
0 Kudos
Message 4 of 5
(2,768 Views)

when you do a model identification of a system you got a continious function ,  the function you have shold be validatted by using labview in  real time  mode.

you need to discretize this function at first with the same sampling time.

you can use the commande c2d() in Matlab.

then you can use the example  

you replace the discretized function in the example of ni examples:

CDEx MPC Transfer Function Models

 

 

0 Kudos
Message 5 of 5
(2,574 Views)