Software-Timed Closed-Loop Control

  • Building a PID Controller With Your Computer
    Build a custom PID Controller with a USB data acquisition device and NI LabVIEW.

Before You Begin

A closed-loop control system is necessary to automate the monitoring and maintaining of a process variable. An example of a closed-loop control system is cruise control, a standard feature on most vehicles on the road. The driver provides the set point, or desired speed, and the control system monitors the actual speed and adjusts the engine throttle accordingly. For example, the logic of the control system dictates how quickly the car gets back up to speed after encountering a hill, and tuning this relationship optimizes engine performance and fuel efficiency. This module illustrates how to implement a PID control algorithm in NI LabVIEW software. Prior to starting this module, review the Learn LabVIEW modules to understand the fundamentals of graphical programming.

Learn the basics of programming in LabVIEW

Step-by-Step Procedure

LabVIEW Example Code

Cumulative Exam: LabVIEW and DAQ

Evaluate your understanding of LabVIEW and the basics of DAQ. This exam is recommended after you complete all of the modules in the Learn LabVIEW and Learn DAQ sections. There are 26 multiple choice questions on the exam.

Begin the exam

Cumulative Exercise: LabVIEW and DAQ

Assess your working knowledge of building a complete system by acquiring, processing, and displaying data with LabVIEW and a DAQ device. This exercise is recommended after you complete all of the modules in the Learn LabVIEW and Learn DAQ sections.

Start the exercise

What Do You Want to Learn Next?