From 9:00 AM - 12:00 PM CDT on Saturday, June 6th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

PID Design (Chien-Hrones-Reswick) (G Dataflow)

Last Modified: January 12, 2018

Implements autotuning using the Chien-Hrones-Reswick tuning method.

connector_pane_image
datatype_icon

tuning specifications

Formula to use to convert the model to PID parameters.

Name Value Description
Regulator - 0% 0 Uses the regulator formula for 0% overshoot.
Regulator - 20% 1 Uses the regulator formula for 20% overshoot.
Servo - 0% 2 Uses the servo formula for 0% overshoot.
Servo - 20% 3 Uses the servo formula for 20% overshoot.

Default: Regulator - 0%

datatype_icon

type of controller

Parameters to return as PID gains.

Name Value Description
P 0 Returns only the proportional parameters.
PI 1 Returns the proportional and integral parameters.
PID 2 Returns the proportional, integral, and derivative parameters.
PD 3 Returns the proportional and derivative parameters.

Default: P

datatype_icon

stimulus signal

Stimulus signal for the system.

datatype_icon

response signal

Response signal of the system.

datatype_icon

closed-loop?

A Boolean that specifies whether the system is a closed-loop system.

True The system is a closed-loop system. The node estimates open-loop parameter values based on the closed-loop values the node identifies from the input signals.
False The system is not a closed-loop system.

Default: False

datatype_icon

controller gain

Initial value for the controller gain.

This node uses this input to calculate integral of PID gains.

Default: 0

datatype_icon

dt

Loop-cycle time or interval, in seconds, at which this node is called.

dt must be greater than zero.

Default: 0

datatype_icon

PID gains

Proportional gain, integral gain, derivative gain, and filter coefficient parameters of the controller.

This output can return a cluster or an array of clusters.

datatype_icon

proportional

Proportional gain of the controller.

datatype_icon

integral

Integral gain of the controller.

datatype_icon

derivative

Derivative gain of the controller.

datatype_icon

filter coefficient [a]

Derivative lowpass filter coefficient of the controller.

datatype_icon

stimulus operating point

Stimulus offset for the plant.

datatype_icon

response operating point

Response offset for the plant.

datatype_icon

plant parameters

Gain, time constant, and dead time of the plant.

datatype_icon

Plant Gain (K)

Process gain (K).

datatype_icon

Time Constant (T)

Time constant (T), in seconds.

datatype_icon

Dead Time (L)

Dead time (L), in seconds.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics