LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Real Time Mpc , temp réel model predictive

 


I want to apply this mpc controller in real time.
In simulation every thing workS well. (file mpc_simulation.vi)
In real time ,No(mpc_real time.vi).
why it is because the perturbation signal , acquired from Ni nationAL instrument cart, does not appear as the theorical perturbation signal in the initalisation part (outside of the loop)
My question is how to update the pertubation signal inside the loop.

I attached a printscreen of the responses:
perturbation signal acquired in real time (black)
The green one is the theorical perturbation applied in initialization (outside the loop)
The red one is the system response where we want to keep the position near to zero.

Download All
0 Kudos
Message 1 of 2
(2,540 Views)

Hi ETS_MONT,

 

What MPC controller? What do you mean by perturbation? I can't fully open your VI because there are missing sub-VIs. Please including all related files. What other hardware are you using? What version of LabVIEW?

0 Kudos
Message 2 of 2
(2,501 Views)