07-06-2011 08:06 AM
Hi,
I have a system that I need to control,
I have all of the measurments for all of the states, I dont know which VI get the plant in state space and all of the sensor reading and gives me the requires output command?
I have tried to use state space controller vi CD state space controller.vi and guess that there should be a VI that follows it in to which I link all of my sensor info and get the output
but I dont know which one to use.
Thanks in advance,
Gil,
07-07-2011 01:33 PM
I'm not sure I completely understand the question, but you might take a look at some of the examples in the example finder for advice on the general structure of your application. In particular I'd take a look at the examples inside Toolkits and Modules->Control and Simulation->Control Design->State Space Analysis and State Space Synthesis. Those two folders sound like they're closest to what you're talking about. Here's a tutorial as well on the topic.
http://zone.ni.com/devzone/cda/tut/p/id/6477
Apologies if this is overly general or down-right not helpful. Based one what you wrote just there it's the best I can think to contribute.
07-07-2011 01:52 PM
Hi kevin
Thanks for your reply.
I'll try to re-phrase my question.
I have a state space math model I want to use in order to control an acutall system.
I've found The LabView VI in which I can insert my matrices, my question is what is the next step.
To which VI do I connect the encoder readings I have for the system, and how do I get the output?
Another question that I have:
Is the control and simulation loop can be used for acutal control or does it only works as a solver for simulating system responses?
Thanks again.
Gil,
07-08-2011 11:53 AM
What devices are you using for the output of your system? It can interface with external devices and create outputs, but not universally with all hardware. It's going to depend on the setup of your system.
07-11-2011 03:59 AM
Hi,
For output of the system I'm using BNC 2120 I have no problem with it and I already used it to get measurements and output signals.
07-12-2011 01:57 PM
If you're successfully using it in LabVIEW you should be able to continue to do so similarly to how you are now (but with the model being driven by the inputs and driving the outputs).