LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Implementation of state space model with constant disturbance in mathscript and simulation

I am new to LabVIEW and now I am doing a project realizing heater control in 8 rooms.

 

I have realized the state space model in the form x(k+1)=x(k)+u(k) using mathscript (using c_to_d) and feed it into control and simulation loop for simulation.

 

My problem is, in my project, I have to consider the disturbance from the other rooms. So the statespace model changed to be x(k+1)=x(k)+u(k)+E*d, where E is the matrix concerning the disturbance and d is the vector of disturbance. How could I implement the disturbance and discretize the new model in mathscript and which function to choose for the simulation. Discrete state space stochastic model?

 

Appreciate your kind help.

0 Kudos
Message 1 of 3
(2,987 Views)

Hello, state space models in LabVIEW most of the time are being implemented by utilizing mathscript syntax

in addition with some functions of the LabVIEW Control Design and Simulation Module.

 

There´s a couple of nice tutorials for control design with these tools which I´d like to point you to as a first step.

 

http://www.ni.com/white-paper/6368/en/

 

http://www.ni.com/white-paper/6368/en/

http://www.ni.com/white-paper/6435/en/

http://home.hit.no/~hansha/documents/lab/Lab%20Work/MathScript/MathScript%20Lab%20-%20Part%20II.pdf

 

 

regards

 

Marco Brauner AES NIG

 

 

Message 2 of 3
(2,921 Views)

Thanks for your reply, but that's too general, I have read that before. Anyway I have built my model using stochastic block.

0 Kudos
Message 3 of 3
(2,893 Views)