Start of trail CL Controller (PIV) navigation bar

Table of Contents >Quanser Rapid Control Prototyping Toolkit >VI and Function Reference >VIs - By Category >VI Categories >Continuous VIs and Functions >CL Controller >

CL Controller (PID)

CL Controller (PID)

Parent Polymorphic VI:CL Controller

Requirements:Quanser Rapid Control Prototyping Toolkit, LabVIEW 2020 or newer, Control Design and Simulation Module


Description

Produces a control signal that drives the system to the reference value based on the deviation between the measured value and the reference using Proportional-Integral-Derivative (PID) control.


Outputs

error

error is the difference between the reference and measured signals, i.e. e = r - y.

output, u

output, u is the controller output signal.


Details

The PID control loop is depicted below and has the following structure: u = kp (r-y) + ki (r-y)/s + kd s (r-y). The direct derivative is not taken to minimize the noise in the control output. Instead, the first-order high-pass filter ωf s/(s+ωf) is used to compute the velocity of the error, where ωf is the cut off frequency.


Feedthrough Behaviour

All input/output pairs of this function have direct feedthrough behaviour.


Examples

  • RCP CL Controller PV ExampleThis example demonstrates the use of RCP CL Controller using PV gains.

    Targets

    Target

    Supported

    Comments

    RCP Windows (64-bit) Target

    Yes

    Fully supported.

     

    navigation bar