03-09-2013 07:59 AM
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,
Solved! Go to Solution.
03-11-2013 05:48 PM
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?
03-11-2013 08:19 PM
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
03-12-2013 12:52 AM
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.
10-03-2014 10:55 AM
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