Labview Control And Simulation Module

0 views
Skip to first unread message

Bran Cardello

unread,
Aug 4, 2024, 11:28:07 PM8/4/24
to blunpoihamru
Ihave both LabVIEW 2013 64-bit and 2014 64-bit editions. I downloaded the "Control Design & simulation" module for both versions. However, it doesn't work. When I bring up the "controls" panel in the Front Panel or the "Functions panel in the Block Diagram and click on "Control Design & Simulation" tab, I find it empty. The LabVIEW components window shows that the CD Sim is already installed and acitivated. I attached a picture to explain what's wrong.

I believe the Control Design & Simulation module is only compatible with LabVIEW 32-bit. This is the case with most LabVIEW modules. My suggestion would be to install 32-bit LabVIEW on 64-bit Windows, which is the most common configuration for using NI software.


As described there, the Control Design and Simulation module is not compatible with LabVIEW 64-bit software (as are a lot of the other drivers and toolkits). I would recommend installing LabVIEW 32-bit instead!


I have installed Labview 2017 32 bit in my PC. It is showing control and Simulation. It contains only PID and Fuzz logic Controllers. It doesn't contain any Simulation, Control Design and System Identity. How can i get them?


Hi hello I have this problem and I'm new Labview install version 2018 and then the design module and control simulation and look for the start tutorials on the official page download the sample files and open them I get the following message:

"NI LabVIEW Control design and Simulation mudule support for labview 2018 is missing"

NI-USRP Driver support for labview 2018 is missing

TOO

I read in this forum that it could be a mistake to mix the 64 and 32 bits version THIS IS NOT my case both packages are 64 bits

I HOPE THAT YOU ANSWER SOON PLEASE

At the moment I think I will download and reinstall the modules that says they are lost


I had already installed the design and simulation module of control systems is activated and running I could also see your tool palette and everything is in order. Install the NI-USRP drive restart as requested. And when you open the same tutorial file, the message persists. Now check the modules and licenses and apparently everything is running as it should. I do not understand maybe only the file is corrupt. In any case THE MESSAGE OF MISSING MODULES WHEN OPENING THE FILE ALREADY INDICATED PERSISTS. This file is part of the tutorials for control systems of the official NI website.

Well it is not something serious for now I have not made any model of mine To appear more problems when I make my own models I will have to uninstall ALL and put the version of 32 with all modules of 32.


I can see that you have installed LabVIEW 2018. You have to ensure that all the software installed is for LabVIEW 2018 version. Just a question because of your user name; is spanish your native language? If it is, we can help you using spanish language so you do not struggle.


People often make this mistake thinking that LabVIEW bitness should match their OS bitness. The advantage of 64-bit LabVIEW is that it can handle much larger memory items. The disadvantage is that only a small subset of modules/tool kits/addons are supported in 64-bit LabVIEW. So the best option is to install 32 bit LabVIEW and work with that unless there is some special high memory need that 32-bit has issues with. Then work in 64-bit LabVIEW. They can be installed side by side.


Proportional Integral Derivative (PID) is one of the most commonly used control algorithms due its ease of use and minimal required knowledge of the system or plant to be controlled. NI provides ready-to-run, advanced (PID) control algorithms with the NI LabVIEW PID Control Toolkit. Combined with the LabVIEW Control Design & Simulation Module, which is part of LabVIEW Professional, the LabVIEW PID Control Toolkit can help you simulate and tune your PID controllers without implementing them in real-world systems, thus avoiding possible problems such as instability during application development. In this tutorial, learn how to use the LabVIEW PID Control Toolkit with the LabVIEW Control Design & Simulation Module and design the PID gains for the position controller of a DC motor in a Real-Time system.


In this tutorial, we will design the velocity controller for a DC motor. For the sake of simplicity consider a basic transfer function for a DC motor where effects such as friction and disturbances are being considered:




Figure 1. Create a Control & Simulation Loop.



Again on the Simulation subpalette, select Continuous Linear Systems and click once on Transfer Function and once inside the Control & Simulation Loop you created previously. This places a Transfer Function block inside the Control & Simulation Loop. Now double-click on the Transfer Function block to input the transfer function parameters.


Figure 4. Create an input signal using a step signal.



Now create the components necessary to view the simulation results. First bundle the input (Step Signal) with the output from the motor transfer function into a Build Array node, which you can find on the Programming->Arrays subpalette. Collect these signals and plot them on a graph on the Front Panel. To do so, select Control Design & Simulation->Simulation->Utilities then select and drop Collector. On the Front Panel, create an XY Graph to display the simulation results. Connect all the signals as shown in Figure 5.


Use LabVIEW native graphical capabilities to improve the simulation and fine-tune the PID gains.



First, change axis properties to have a better view of the simulation results. Right-click on the border of the XY Graph and uncheck the AutoScale X property under the X Scale option.


Figure 7. Graph properties.



Before making changes to the PID controller, we will make the simulation more efficient. As seen on Figure 6 there is no need to simulate the default 10 seconds; the plant is fast enough so that a final simulation time of 2 seconds is enough. Now modify the simulation parameters by double-clicking on the Control & Simulation Loop configuration pane which calls up the Configure Simulation Parameters dialog window. Implement the parameters as shown in Figure 8.


You now know how to simulate a discrete-based PID controller with the continuous dynamic system behavior of a DC motor. You can apply this technique to any kind of hybrid system where continuous and discrete behavior is mixed. One of the benefits of the procedure shown is that the control algorithm you used is exactly the same as the one you would use in a Real-Time implementation, and you can take advantage of many of its features, such as integral anti-windup.


When I open labview, everything seems to be running fine, but then when I am in my block diagram window and I right click to open the functions window, scroll down and click on control and simulation, there are supposed to be 5 options when you hover. PID, Fuzzy logic, Simulation, Control design, System Identification. But when I hover over control and simulation I only get 2 options (PID and Fuzzy Logic). I poked around inside the software to see if its hidden, I couldn't find it. I also made sure that I had the myRIO toolkit downloaded and everything and when the package manger is open, it says something like, no action necessary. Clearly i'm missing something and I cant figure out what it is.


Hello how did you solve the problem? Can you help me? I am having the same matter. I have a licensed DSC module and mathscript module. I guess in the DSC module includes all the blocks besides PID and fuzzy logic.


I faced the same problem and resolved it by installing the control design and simulation package but faced another problem when using transfer function it cannot save enetered values of numerator and denomenator and preview is empty... i tried repair , unistall and reinstall nothing worked for me... i used control design package 2022 with labview 2022 64 bits... any suggestions??????


The introduction is based on simple examples - all downloadable via hyperlinks. Only the basic functions are demonstrated. You can search for a function via the Help menu in LabVIEW or just browse for it on the Control Design palette in the Functions palette in LabVIEW. Chapter 2 of this document list all functions available in the Control Design Toolkit.


Note that many of the functions on the Control Design Palette have similar functions in MathScript (once the Control Design toolkit is installed). The Control Design class of functions in MathScript are shown at the end ofIntroduction to MathScript.


Each function has several input parameters or arguments. You should always use Help (via right-clicking on the function block) to get information about these parameters before you use the function in your program.


The Control Design Toolkit was initially launched in Spring 2004. It expands LabVIEW's capabilities for control system and dynamic system analysis and design considerably. The set of functions available is comparable with the Control System Toolbox in Matlab and the similar control system function category in Octave.


Included in Control Design Toolkit is the Control Design Assistant, which is an interactive tool which can be used independent of LabVIEW, and without LabVIEW programming (you can however create LabVIEW code from your Control Design Assistant project). The Control Design Assistant is available from the Start / Programs / National Instruments meny on your PC and from the Tools / Control Design Toolkit in LabVIEW.

3a8082e126
Reply all
Reply to author
Forward
0 new messages