LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MPC design problem

Solved!
Go to solution

I am learning to design MPC controller using Labview, The research testbed that I am currently using operates under Labview 8.5., for which the "CD Create MPC Controller" block does not have an option to choose between "Dual" and "Barrier" constraints input.  I searched example finder and found that there are no examples that show how I should implement system constraints to the controller design. Although for the "CD Create MPC controller" block there is a port that inputs these constraints. I also have a Labview 2009 SP1, inside the examples there, I am able to find examples showing me how to implement Dual constraints for the "CD Create MPC Controller" block. However, when I try the same thing (implementing an output constraint of y_max=0.5 to the CDEx MPC Base Case.vi) in Version 8.5, the control signals disappeared (remain constant at 0). As soon as I took the constraints away, control signals reappear. Can anyone tell me please what is happening? Thanks a lot

0 Kudos
Message 1 of 2
(2,261 Views)
Solution
Accepted by topic author Harry Yang

Hi Harry, 

 

I think I answered you through email also. The functionallty essentially didn't exist in LV 8.5. The functionality wasn't present in the LV 8.5 version of the toolkit. You can either:

 

1) Upgraded your tester to 2009.1 (this is recommended)

2) Save the library that the VI is saved in to an 8.5 version and use the polymorphic CD Create MPC Controller VI from that library instead of the one from VI.lib. This is recommended only if you can't upgrade. 

 

Jesse Dennis
Engineer
INTP
0 Kudos
Message 2 of 2
(2,232 Views)