02-27-2012 01:07 PM
Hi,
I am new to Labview and i am trying to work on Control System design. I have downloaded and installed the Evaluation Module of Control Design and Simulation Module. The problem I am facing witht this is its not showing any control fuctions in functions Palette. While installing it said its installing only control design and simulation assistant. Please, can anyone help with this.
I am actually looking at this module to implement Sliding mode control for non linear systems. I would like to know if there are any examples to implement this??
Thank You.
02-28-2012 09:57 AM
Hello
The problem is the following. The version of LabVIEW that you are using does not match the version of the evaluation version of LabVIEW Control Design and Simulation Module (CD&SIM). If that happens, the installer will not select the support files for your LabVIEW. If you download LabVIEW 2011, then you must install CD&SIM 2011.
Now, the module in the current version does not have an example with sliding mode control. But using this module, you can easily implement the algorithms and simulation its result using the Control and Simulation Loop.
Hope this helps.
02-28-2012 10:03 AM
Thank You Barp!!
As you exactly pointed out it was version problem. Yeah, for sliding mode control I think I have to write the controller equations and plant equations using Mathscript.
If there are any further suggestions programming this it would be of great help.
Thank You once again!!!
02-29-2012 03:55 PM - edited 02-29-2012 03:55 PM
I personally prefer using G-based equations. However, LabVIEW Mathscript RT (MS) is a good option.
Look at this tutorial to see how you could use MS and G-equations can be used to simulate a controller. The implementation of simulation is based on "sliding mode control"
http://zone.ni.com/devzone/cda/tut/p/id/13015
Hope this helps...
03-31-2012 10:58 AM
Hello,
I would like to be able to play back tdms data in a simulation loop. Indeed, I would like to feed real measured data to a model rather than any of the basic signals available in the signal generation palette of thecontrol design and simulation.
Basically, I want to do what you can do with the "From Workspace" (or "From File") block in Simulink.
Thanks
04-02-2012 03:52 PM
Hi L54,
You can use the TDMS Open.vi to open your file and TDMS Read.vi to import the data into the LabVIEW environment. Once it is imported you should be able to use it along with the Control Design and Simulation VI. The shipping example "Read TDMS File.vi" in the Fundamentals » File input and Output directory.
Cheers,
<Brian A | Applications Engineering | National Instruments>
02-10-2015 07:04 AM
hi ,
can you please tell me how you implemented Sliding mode control?
because i don't know what to do, once we put equations in Mathscript now ho to link those equations as plant and controller??