© National Instruments Corporation v LabWindows/CVI PID Control Toolkit User ManualContentsAbout This ManualConventions ...................................................................................................................viiRelated Documentation..................................................................................................viiChapter 1Overview of the PID Control ToolkitSystem Requirements ....................................................................................................1-1Installation Instructions..................................................................................................1-1Activation Instructions...................................................................................................1-2PID Control Toolkit Applications..................................................................................1-2PID Control....................................................................................................................1-3Chapter 2PID AlgorithmsThe PID Algorithm ........................................................................................................2-1Implementing the PID Algorithm with the PID Functions .............................2-2Gain Scheduling ..............................................................................................2-3The Precise PID Algorithm............................................................................................2-4Error Calculation .............................................................................................2-4Proportional Action .........................................................................................2-4Trapezoidal Integration ...................................................................................2-5The Autotuning Algorithm ............................................................................................2-5Tuning Formulas .............................................................................................2-6Chapter 3Using the PID Control ToolkitDesigning a Control Strategy.........................................................................................3-1Setting Timing .................................................................................................3-1Tuning Controllers Manually ..........................................................................3-2Using the PID Library....................................................................................................3-4PID Controller .................................................................................................3-4Using PID with Autotuning.............................................................................3-6Using PID with Gain Scheduling ....................................................................3-7Using PID with Lead-Lag ...............................................................................3-8Using PID with Setpoint Profiling ..................................................................3-8Using Ramp Generators ..................................................................................3-9