PI Controller

 

Description

This function performs a proportional integral (i.e. the output is the sum of proportional and integral gains of the input signal).  Either trapezoidal or rectangular integration may be used for time domain computation of the integral function.

 

Interpolation Compatibility may be enabled provided that Integration Method | Rectangular is selected.  When enabled, the Interpolated Time Tag and the polarity of the signal will be considered when calculating the exact integral for that particular time step.

 

More:

PI Controller (Z-Domain)

Input Parameters

ConfigurationConfiguration  

 Name for Identification

 

Text

 

Optional text parameter for identification of the component.

         

 Proportional Gain

 

REAL

Variable

Proportional gain factor

 

 

 

 

 

Integral Time Constant

 

REAL

Variable

Integral time constant [s]

 

 

 

 

 

Maximum

 

REAL

Variable

Limits the output to this maximum limit

 

 

 

 

 

Minimum

 

REAL

Variable

Limits the output to this minimum limit

 

 

 

 

 

Initial Output of Integrator

 

REAL

Constant

The initial output of the integrator at time t = 0.0

 

 

 

 

 

Integration Method

 

Choice

 

Select Trapezoidal or Rectangular.  

 

Note that trapezoidal integration should be used whenever possible as it is never unstable.  However, if the derivative of the input waveform is not continuous (i.e. dx/dt is infinity at some points) you can get better accuracy with rectangular integration with Interpolation Compatibility enabled (provided the input waveform is interpolation compatible).  See Interpolation Compatible Components.

 

 

 

 

 

Interpolation Compatibility

 

Choice

 

Selected Enabled or Disabled.  See Description for more details.  This parameter is enabled only if Integration Method | Rectangular is selected.

 

 

 

 

 

Limits Enforcement

 

Choice

 

Selecte Legacy or IEEE 421.5.  Select how the limits are enforced.

 

 

 

 

 

Dimension

 

INTEGER

Literal

Enter the dimension of the input signal.