PID controller#

block

Block appearance in REPEAT VISION#

 The PID controller block implements mathematical model of controller consisting of proportional, integrating and differentiating links (1):

(1)#\[ W(s)=K_{p}+\frac{K_{i}}{s}+K_{d}\cdot s \]

 The corresponding coefficient of each link is specified in block properties. Also, the block implements limitation of the signal output from the integrating link.

 By signal > 0 sent to the Integrator reset port, the integral value calculated by the integrator is equal to 0.

1.  Properties#

Property

Default value

Description

Units of measurement

K\(_p\)

1.0

Proportional term

-

K\(_i\)

1.0

Integral term

-

K\(_d\)

1.0

Derivative term

-

i\(_{max}\)

1000.0

Maximum value of the integral term

-

i\(_{min}\)

-1000.0

Minimum value of the integral term

-

Sampling type:
Fundamental project frequency decimation;
Sample time;
Sampling frequency

Fundamental project frequency decimation

-

-

Decimation factor of project fundamental discretization frequency, available when selecting Sampling type - Fundamental project frequency decimation

1

-

-

Sample time, available when selecting Sampling type - Sample time

0.05

-

s

Sampling frequency, available when selecting Sampling type - Sampling frequency

20.0

-

Hz

2.  Inputs and outputs#

Parameters

Input/output

Description

Units of measurement

Port type

Input

Input

-

-

Automation

Output

Output

-

-

Automation

Integrator reset

Input

-

-

Automation

In order to see the connection capabilities of the block, you need to go to page Description of block ports

3.  Code generation#

Important

Block supports C source code generation

4.  Примеры использования#

 С примерами использования данного блока можно ознакомиться в следующих разделах:

Практическое руководство

Раздел

Название руководства

Электротехника / Электроэнергетика

Simulation of static thyristor compensator

Энергетика

Development of a model of the industrial circuit system of oil coolers of NPP with WCWR