04-04-2007 08:23 AM
04-05-2007 08:21 AM
Jzee,
Each function of the PID Toolkit has two modes: single channel and multi-channel. The single channel has one input/output available as scalar.
The multi-channel mode, the input and output are 1D array and it represents placing a PID to each input/output pair that you have. In other words, the first element of the 1D array feeds to a independent PID and the result goes to the first element of the output 1D array.
When you have a system that has 2 inputs and 6 outputs, the PID Advanced.vi will receive a 1D array with 6 elements and it will map an independent PID to each one of them. That is the reason you have 4 values that are always zero.
What you have to do is find out in which input/output pair you want to have you PID placed in and use Index array to do the selection. In the picture in attachment, I mapped the output 0 of the system to input 0 and output 5 to input 1.
Hope this help!
Barp - Control and Simulation Group - LabVIEW R&D - National Instruments
04-05-2007 09:02 AM
04-06-2007 08:45 AM
Jzee,
Well, you are right about the more information is better to control the system. However, now you are stepping into an Advanced Control System to take 6 measurements and act on 2 outputs. If you look into Control Theory, this is Multi-Input and Multi-Output (MIMO) system and, as such, you will have to come with a Control Strategy to better use this information, as for example, Cascade PID, Feedforward control, decoupler, filtering and/or combination of it to control the plant. You could also use Fuzzy for this purpose, however, our current implementation only uses 4 inputs. Without knowing what kind of plant your are trying to control, it is hard for me to advice in any control strategy right now.
However, if you are have the Model of the plant that you are trying to control, you could easily upgrade to the Control Design Toolkit, and you can use more advanced techniques to control your plant. You can use state feedback control algorithms as Pole-Place or LQR where you just need to provide the matrix multiplication to obtain the controller that you need. This is very easy to use, as long as you have the model. If you want to know more about it, look at our manual online, in special Chapter 11 and 12:
http://digital.ni.com/manuals.nsf/websearch/1B2AF86E66AD7F61862571060055D6AB
If you don't have the model, AND your plant is linear, you also could use System Identification Toolkit to obtain the model of it. However, IF your plant is nonlinear (most of them are), you could use Simulation Module to model it and linearize it around the operating point or use System Identification to "fit" the parameters through measurement.
This is Model-Based Control Design Techniques and you could have access with the Developer Suite with Control Design and Simulation Option. 🙂
Anyway, if you can give more information about your plant, maybe we could better advice on what to do next.
Hope this helps!
Barp - Control and Simulation Group - LabVIEW R&D - National Instruments
04-06-2007 09:53 AM
Barp
@Barp wrote:
Jzee,
Well, you are right about the more information is better to control the system. However, now you are stepping into an Advanced Control System to take 6 measurements and act on 2 outputs. If you look into Control Theory, this is Multi-Input and Multi-Output (MIMO) system and, as such, you will have to come with a Control Strategy to better use this information, as for example, Cascade PID, Feedforward control, decoupler, filtering and/or combination of it to control the plant. You could also use Fuzzy for this purpose, however, our current implementation only uses 4 inputs. Without knowing what kind of plant your are trying to control, it is hard for me to advice in any control strategy right now.
However, if you are have the Model of the plant that you are trying to control, you could easily upgrade to the Control Design Toolkit, and you can use more advanced techniques to control your plant. You can use state feedback control algorithms as Pole-Place or LQR where you just need to provide the matrix multiplication to obtain the controller that you need. This is very easy to use, as long as you have the model. If you want to know more about it, look at our manual online, in special Chapter 11 and 12:
http://digital.ni.com/manuals.nsf/websearch/1B2AF86E66AD7F61862571060055D6AB
If you don't have the model, AND your plant is linear, you also could use System Identification Toolkit to obtain the model of it. However, IF your plant is nonlinear (most of them are), you could use Simulation Module to model it and linearize it around the operating point or use System Identification to "fit" the parameters through measurement.
This is Model-Based Control Design Techniques and you could have access with the Developer Suite with Control Design and Simulation Option. 🙂
Anyway, if you can give more information about your plant, maybe we could better advice on what to do next.
Hope this helps!
Barp - Control and Simulation Group - LabVIEW R&D - National Instruments
04-11-2007 02:10 PM
06-26-2009 08:02 AM
Dear All, Iam trying to design the PID control for the Quancer Inverted Pendulum, after modelling i got it as a SIMO. How to design the PID controller for this. Iam having 4 rows 1 column. I can able to design the PID for the SISO system. If iam entering the all four transfer function, its showing the bad connection.
Whether i need to decoupling, some prof said its not coupled system since we are having only one column.
09-01-2024 03:47 PM
Hello. i use regelateur PI .but i have same problem in number input more than number output. i want us method ANN but it need have same number in input and output . how can fixed that
09-02-2024 12:42 AM
Hi dz,
@dz39 wrote:
it need have same number in input and output . how can fixed that
By providing the required number of inputs - on all required (and optional) input connectors!
As you forgot to attach your VI you need to debug on your own…
09-02-2024 04:25 AM
But i have one input and 1 output from regulateur PI