LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CD State-Space Controller

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,

0 Kudos
Message 1 of 6
(2,929 Views)

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.

0 Kudos
Message 2 of 6
(2,908 Views)

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,

 

 

0 Kudos
Message 3 of 6
(2,904 Views)

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.

0 Kudos
Message 4 of 6
(2,889 Views)

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.

0 Kudos
Message 5 of 6
(2,861 Views)

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).

0 Kudos
Message 6 of 6
(2,835 Views)