6. Designing Controllers

LabVIEW Control Design Assistant

6. Designing Controllers

You can use the LabVIEW Control Design Assistant to create controllers to achieve desired dynamic characteristics in a system.

Complete the following steps to use the PID Synthesis step to design a controller for the model to cause the model to stabilize faster.

  1. In the Project View, right-click the Frequency Domain Analysis step and select Insert After»Control Design»Controller Design»PID Synthesis from the shortcut menu to add a PID Synthesis step after the Frequency Domain Analysis step.
  2. On the Controller Synthesis tab of the Step Setup tab, verify that a checkmark is placed in the Gain checkbox.
  3. Set the scale control to 5.
    Note  You also can enter 5 in the Gain numeric control under the scale.
  4. Place a checkmark in the Integral(s) checkbox and enter 0.02 in the Integral(s) numeric control.
  5. Click the Model Output tab to view a diagram of the model.

    Notice that Closed Loop (r-y) is one of the systems that the PID Synthesis step creates. Configuring the PID Synthesis step creates a controller that changes the system to a closed-loop system. The Step Response graph displays the response of the closed-loop system.
  6. Click the Data View tab to view the Data View.
  7. Right-click the diagram of the Model Data output in the Data View and select Add Display»Right from the shortcut menu to add a new display.
  8. Click the Closed Loop Model output of the PID Synthesis step and drag it from the Project View to the added display in the Data View to display information about the model, including its name, type, and structure.
Previous: 5. Performing a Frequency Domain Analysis Next: 7. Verifying Controllers