02-13-2014 06:07 PM - edited 02-13-2014 06:09 PM
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.
02-18-2014 04:25 AM
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
02-20-2014 08:24 AM
Thanks for your reply, but that's too general, I have read that before. Anyway I have built my model using stochastic block.