Instruments Corporation. National Instruments respects the intellectual property of others, and we ask our users to do the same. NI software is protected by copyright and other intellectual property laws. Where NI software may be used to reproduce software or other materials belonging to others, you may use NI software only to reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction.
Page 5
Contents Converting between Percentage of Full Scale and Engineering Units ... 3-9 Using PID on Real-Time (RT) Targets... 3-10 Using PID with DAQ Devices ... 3-10 Appendix A References Appendix B Technical Support and Professional Services Glossary Index LabWindows/CVI PID Control Toolkit User Manual ni.com...
Windows Explorer, right-click the CD drive icon, and select AutoPlay. On installation startup, the National Instruments PID Control Toolkit screen appears. Click Install Toolkit. In the User Information panel, enter your name and organization and the serial number found on your Certificate of Ownership card.
Note If your activation was not successful, you can update the serial number, get help from National Instruments, or evaluate the toolkit. Continue to follow the instructions on the screen. When you successfully activate, click Finish. LabWindows/CVI displays a window indicating when this license expires.
When applied to the system, the controller output value drives the process variable toward the setpoint value. You can use the PID Control Toolkit functions with National Instruments hardware to develop LabWindows/CVI control applications. Use I/O hardware, such as DAQ devices, FieldPoint I/O modules, or GPIB boards, to connect your PC to the system you want to control.
Chapter 2 PID Algorithms Implementing the PID Algorithm with the PID Functions This section describes how the PID Control Toolkit functions implement the fast (positional) PID algorithm. The fast PID algorithm is the default algorithm used in the PID Control Toolkit.
Chapter 2 PID Algorithms The Precise PID Algorithm This section describes how the PID Control Toolkit functions implement the precise PID algorithm. Error Calculation The current error used in calculating integral action for the precise PID algorithm is shown in the following formula: where SP is the range of the SP and L is the linearity factor that produces a nonlinear gain...
Chapter 2 PID Algorithms Figure 2-2 illustrates the autotuning procedure excited by the setpoint relay experiment, which connects a relay and an extra feedback signal with the SP. Notice that the PID Library autotuning functions directly implement this process. The existing controller remains in the loop.
Page 17
Chapter 2 PID Algorithms Table 2-6. Tuning Formula under PI or PID Control (Slow) Controller Note During tuning, the process remains under closed-loop PID control. It is not necessary to switch off the existing controller and perform the experiment under open-loop conditions.
Chapter 3 Using the PID Control Toolkit Tuning Controllers Manually The following controller tuning procedures are based on the work of Ziegler and Nichols, the developers of the Quarter-Decay Ratio tuning techniques derived from a combination of theory and empirical observations (Corripio 1990). Experiment with these techniques and the process control simulation examples to compare them.
Chapter 3 Using the PID Control Toolkit Using the PID Library The following sections describe how to use the PID Library to implement a control strategy. PID Controller The PID controller requires several inputs, including SP, PID gains, timer interval (in case the internal timer is not used), PV, and output range.
Chapter 3 Using the PID Control Toolkit Using PID with Autotuning You can use autotuning to improve controller performance. There are two ways in which you can autotune a controller. • Wizard-Based Autotuning—You can use the PID Autotuning Wizard to tune the parameters.
Chapter 3 Using the PID Control Toolkit Using PID with Lead-Lag The lead-lag compensator uses a positional algorithm that approximates a true exponential lead-lag. Feed forward control schemes often use this kind of algorithm as a dynamic compensator. Using lead-lag, you can simulate inertia of motors, slow settling times in pipes, and so on.
Chapter 3 Using the PID Control Toolkit value of 1 produces an output of 10 for a difference between the SP and PV of 10, regardless of the output range and setpoint range. Using PID on Real-Time (RT) Targets Some PID applications are deterministic and, therefore, cannot be run on desktop operating systems.
Page 31
Appendix B Technical Support and Professional Services If you searched your local office or NI corporate headquarters. Phone numbers for our worldwide offices are listed at the front of this manual. You also can visit the Worldwide Offices section of office Web sites, which provide up-to-date contact information, support phone numbers, email addresses, and current events.
Page 33
Glossary damping The progressive reduction or suppression of oscillation in a device or system. dead time (T The interval of time, expressed in minutes, between initiation of an input change or stimulus and the start of the resulting observable response. derivative (control) Control response to the time rate of change of a variable.
Page 35
Glossary output limiting Preventing a controller’s output from traveling beyond a desired maximum range. overshoot The maximum excursion beyond the final steady-state value of output as the result of an input change. Proportional. Proportional, derivative. Proportional, integral. Proportional, integral, derivative. PID control A common control strategy in which a process variable is measured and compared to a desired setpoint to determine an error signal.
Page 38
2-1 integral time, 2-1 KnowledgeBase, B-1 lag compensation, 3-8 lead compensation, 3-8 lead-lag compensator, 3-8 National Instruments support and services, B-1 Nichols, N.B., A-1 nonlinear adjustment of integral action, 2-2, 2-5 open-loop tuning procedure, 3-3 output limiting, 2-3...
Need help?
Do you have a question about the PID Control Toolkit 371685C-01 and is the answer not in the manual?
Questions and answers