Control And Simulation Labview

0 views
Skip to first unread message

Bertoldo Beyer

unread,
Aug 5, 2024, 12:46:12 PM8/5/24
to hostnalobo
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?


In the past I have worked with FAST simulation model of wind turbine supplied by NREL, within the Matlab/Simulink environment(Open-loop.mdl). But I realized that the FAST models requires a lot of CPU processing, I was thinkint if it`s possible to make an application of HIL with the current CPU processing power. The integration time-step this simulation its 4ms.


We developed a built-in simulator (both FAST and a simple 1 DOF model) so that we could check-out new controllers in-place, in the exact environment and setup. Here though, it was less important to run in real time (when running the real turbine real-time is critical to keep up with various data streams coming in), and I can say that in our case the FAST model as implemented at 400 Hz ran, last time I checked, it ran just a little slower than real time (FAST took longer than 1/400th of a second, but not by too much). However, like I said since our primary interest was controller checkout prior to operation, this was acceptable.


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??????


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.


I have a labview vi which is in a control loop with PID . I want to insert a timer for the simulation. It should display the time of the simulation and also use that time to make changes in the control loop. It is just a simple timer but I am not sure which one and how to use them. please help me


Alternatively you can use the Get Date/Time in Seconds function. Read this function at the start of your simulation and pass the value in to your control loop (or read it on the first loop iteration and store the value in a shift register). Inside the loop, read the same function and subtract the value from the start value; that'll give you the elapsed time in seconds. If you want a display of this value just wire it to a numeric indicator. You can set the display format of the indicator to 'relative time' if you want to show hours, minutes and seconds.


I am doing my senior project in controlling extruder machine using LabView. I did my design and simulation using SIMULINK but I need to implement some transfer functions in labview for decoupling the process.


Without having worked with Control Design and Simulation and without having the possibility to look at the code, my guess is that your TransferFunction 7 and 8 expects its in data on the left and returns its out data on the right. Left to right is the default style guideline in LabVIEW, so try to re-wire those functions so that the output of Summation 3 goes to the left side of TransferFunction 7, the right side of TransferFunction 7 goes to the bottom input of Summation 3 (and similarly for Summation 4).


I know very little about the Simulation toolkit, or what you are trying to model, but looking at your diagram have you not perhaps put the feedback node in the wrong place? Do you really want the output from Summation 3 to be delayed before passing it into your Transfer Function?


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.

3a8082e126
Reply all
Reply to author
Forward
0 new messages