PI Controller (Z-Domain)

 

Description

This component models a resettable proportional-integral controller in the discrete domain with optional non-windup limits. The component is triggered by the 2-element, interpolated Enable/Disable port signal.

 

The solution method for this function is as follows:

 

 

Where,

 

Output signal

Time at last execution

Time at execution, before the last execution

Input signal at last execution

Input signal at execution, before the last execution

Time constant at last execution

Time constant at execution before the last execution

Proportional gain at last execution

 

k = 1 for forward Euler, k = 0 for Backward Euler and k = 0.5 for Trapezoidal integration rules.

 

More:

PI Controller

Delay (Z-Domain)

Derivative with a Time Constant (Z-Domain)

Differential Pole (Z-Domain)

Integrator (Z-Domain)

Lead-Lag Pole (Z-Domain)

Nth Order Transfer Function (Z-Domain)

Real Pole (Z-Domain)

Input Parameters

ConfigurationConfiguration

 

 Name for Identification

 

Text

 

Optional text parameter for identification of the component.

         

Proportional Gain

 

Real

Variable

Proportional gain.

 

 

 

 

 

Integral Time Constant

 

Real

Variable

Integral time constant [s].

         

Integration Method

 

Choice

 

Select from Forward Euler, Backward Euler or Trapezoidal.

 

 

 

 

 

Limit Output?

 

Choice

 

Select Yes or No to enable or disable non-windup limits.

 

 

 

 

 

Maximum Limit

 

Real

Variable

Maximum limit of the component, visible only if Limit Output? | Yes is selected.

         

Minimum Limit

 

Real

Variable

Minimum limit of the component, visible only if Limit Output? | Yes is selected.

 

 

 

 

 

Resettable?

 

Choice

 

Select Never, Anytime or Timezero.

 

When to enable reset. If Anytime is selected, a port for the reset signal is enabled.

 

 

 

 

 

Reset Output of Integrator

 

Real

Variable

Value output upon reset action.

 

 

 

 

 

Is Input Already Sampled?

 

Choice

 

Select Yes if the input to the component is already executed at the same execution signal. If No is selected, the input will be re-sampled before execution.

 

 

 

 

 

Dimension

 

Integer

Literal

Enter the dimension of the input signal. The output will be of the same dimension.

 

Main DataMain Data

 

Time Constant

 

Real

Variable

Time constant [s].

         

Output Value After Reset

 

Real

Variable

The output value directly after a reset.

 

LimitsLimits

 

Upper Limit

 

Real

Variable

Maximum limit of the integrator, visible only if Limit Output? | Yes is selected.

         

Lower Limit

 

Real

Variable

Minimum limit of the integrator, visible only if Limit Output? | Yes is selected.