Hans-Petter Halvorsen
Video: LabVIEW in Automation - Control Systems in LabVIEW
Prerequisites: Basic LabVIEW Programming. It is an advantage if you know what a differential equation is.
Below you see some Simulation Examples implemented in LabVIEW. You should download and explore the examples.
Example 1 - 1.order system
Here you see some basic Simulation Examples (PowerPoint) where 3 different approaches/alternatives are used.
Example 2 - Air Heater System
Here you see som more realistic Air Heater Simulation Examples (PowerPoint) where the so-called Air Heater System is used.
The examples given above is just basic simulations of a mathematical model. Next is to introduce a Control System, where we actually control the model or a real system.
Videos explaining the fundamentals regarding Control Systems:
Understanding Control Systems - Feedback Control Systems (MathWorks)
Understanding PID Control - What is PID Control? (MathWorks)
LabVIEW Control Design and Simulation Module is an add-on to LabVIEW where you can do simulations and create control systems within the LabVIEW environment. You find more information here.
Download Software:
LabVIEW Control Design and Simulation Module (32-bit)
Example of Control System created with LabVIEW:
Simulation and Control in LabVIEW (Video)
PowerPoint (used in the video)
LabVIEW Code Examples (from the video)
You can use the NI Example Finder to find built-in LabVIEW examples.
You should open and explore the following examples:
Here you see a basic Control System Example (LabVIEW Code) where the so-called Air Heater System is used.
In order to practice your LabVIEW skills, you should make your own Control System for the Air Heater System.
To get an idea of what you can create with LabVIEW, see the following resources:
LabVIEW Control Application Examples (Video)
Read more (including downloading the LabVIEW Code)
Advanced LabVIEW Control System with PID Control + Kalman Filter + Feedforward Control + MPC (Video)
Addition Resources:
Read more (including downloading the LabVIEW Code)
Note! These "advanced" examples are shown only to get you inspired, and to see what LabVIEW is capable of. It is not expected that you are able to create such advanced systems.
Typically engineers often create simple LabVIEW VIs that eventually grow out of control, because they don't have the proper structure and best practices. The solution to this problem is organizing your code and data in a way that enables modularity, readability, and reuse.
Some examples are:
For more details, see the video below.
Video: LabVIEW Programming Guidelines
LabVIEW Programming using State Machine
You should create basic LabVIEW Application(s) that Simulate and Control a Level Tank System.
Requirements:
Submission: Document your LabVIEW Application (both GUI and code) and deliver a PDF (e.g, 5-8 pages). Here you find a Word Report Template you can use for your report. You can use another template if you prefer. Make sure you fulfill all items in this Checklist before you deliver your Report.
Please follow the "LabVIEW Programming Guidelines" as shown and explained in this video: LabVIEW Programming Guidelines.
Where should you deliver? Canvas
What should you deliver? Only PDF File - No LabVIEW Code
The text should primarily be reflective and not descriptive. The text should not merely describe what has been done, but also why and how and what the results are. The outcome needs to be put into relevant context.
The document (pdf) can be built up as follows (the so-called IMRaD model):
Write Technical Reports in Microsoft Word - Here you learn the basic structure of a Technical Report, how to insert Figure Captions and refer to those in the text, how to insert Equations and refer to those in the text, how to add References, etc.
More information about IMRaD.
Make sure to insert Figures, Tables and Equations correctly, please see the video Equations in Word and PowerPoint.
Referencing: If you have used external sources, you need to use referencing. In scientific documents we typically use the IEEE standard, see Kildekompasset for details. Citation and Referencing with Microsoft Word (YouTube)
Remember to have focus on the technical work that has been done (as you have learned that technical/ professional documentation should be written), i.e., you should NOT tell how much you have learned, that the assignment was interesting and such things. Pretend that you write this documentation for a Customer that have asked you to make this program and document the Methods used and the Results achieved.