Вы находитесь на странице: 1из 8

AUTOMATION

TECHNICAL
SERVICES

APPLICATION
NOT E S
Topic: PID Block Diagram
Date: August 26, 1998

APPnote: 212

i
PREFACE

Application notes are intended to explain the use and/or configuration of subtle or complex functionality
related to the Siemens Energy and Automation products manufactured in Johnson City, TN.

Typical functions described in application notes are either not covered, or are only superficially covered in
currently available end user documentation.

The information in this document has been carefully checked and is believed to be entirely reliable.
However, no responsibility is assumed for inaccuracies. Furthermore, Siemens Energy and Automation,
Inc. reserves the right to make changes to any products herein to improve reliability, function, or design.
Siemens Energy and Automation does not assume any liability arising out of the application or use of any
product or circuit described herein; neither does it convey any license under its patent rights or the rights of
others.

Further information is available from the SE&A System Product Support Group in Johnson
City (423-461-2522).

PCS and APT are registered trademarks of Siemens Energy & Automation, Inc. All other trademarks are the property of
their respective owners.

ii
CONTENTS

ABSTRACT 1
Block Diagram 2

iii
ABSTRACT
PID block diagram example with explanations of FB41 Block in step7.

1
Block Diagram
Any change inside
Set point in
this dead band will
Real Format -------SP INT
not affect the
controllers output if
PVPER_ON Proportional
set.
=SP-PV-IN (Gain)
EX> if Deaadband,2
Any kind of --------PV_IN DEADBAND
then er=0
Real Value 0 +
- X
CRP_IN PV_NORM 1
Peripheral DEADB_W
Analog Format --------PV_PER % ER=SP-PV
PV_FAC PV=
PV_OFF (feed back
signal we can Read)

1P_SEL
LMN_P=see the influence of GAIN
INT 0.0
0
I_SEL DISV
1
0.0 + +
TI,INT_HOLD, 0
I_ITL_ON
I_ITLVAL LMN_1=see the influence of I

DIF
1
0.0
TD,TM_LAG 0 LMN=see the influence of D
D_SEL

QLMN_HLM=Binary info. Upper Limit Reached


QLMN_LLM=Binary info. Lower Limit Reached
MAN_ON LMN=LMN_P + LMN_I + LMN_O

MAN LMNLIMIT LMN NORM CRP OUT

1 %
LMN_PER
0
it automatically
adjust for the
LMN_HLM=SELECT LMN_FAC=factor analog output pre
LMN_LLM LMN_OFF=offset scaled for the
module whether it
is Siemens or not.

2
Figure 19-1 Block Diagram of CONT_C
–DISV = external disturbance value :example: air conditioning and open door, the cool air take minutes before sensor
response.
–LMN = LMN_P + LMN_I + LMN_O
–LMN_HLM = select upper limit value (0-100% max) of output
–LMN_LLM = select lower limit value

Network: 1

DB41
“CONT_C”
EN ENO-
-COM_RST LMN-
-MAN_ON LMN_PER-
-PVPER_ON QLMN_HLM-
-P_SEL QLMN_LLM-
-I_SEL LMN_P-
-INT_HOLD LMN_I-
-I_ITL_ON LMN_D-
-D_SEL PV-
T#100MS -CYCLE ER-
-SP_INT
-PV_IN
-PV_PER
-MAN
-GAIN
-TI
-TD
-TM_LAG
-DEADB_W
-LMN_HLM
-LMN_LLM
-PV_FAC
-PV_OFF
-LMN_FAC
-LMN_OFF
-I_ITLVAL
-DISV

OB41 - <Offline>

3
Name: Family:
Author: Version: 00.00
Time stamp Code: DT#1998-02-26-09:06:48:150
Interface: DT#1998-07-22-07:33:06:000
Length (Block / MC7 Code / Data): 00366 00126 00000

Address Decl. Name Type Initial Value Actual Value Comment


0.0 in COM_RST BOOL FALSE FALSE complete restart
0.1 in MAN_ON BOOL TRUE TRUE manual value on
0.2 in PVPER_ON BOOL FALSE FALSE process variable peripheries on
0.3 in P_SEL BOOL TRUE TRUE proportional action on
0.4 in I_SEL BOOL TRUE TRUE integral action on
0.5 in INT_HOLD BOOL FALSE FALSE integral action hold
0.6 in I_ITL_ON BOOL FALSE FALSE initialization of the integral action
0.7 in D_SEL BOOL FALSE FALSE derivative action on
2.0 in CYCLE TIME T#1s T#1s sample time
6.0 in SP_INT REAL 0.000000e+000 0.000000e+000 internal setpoint
10.0 in PV_IN REAL 0.000000e+000 0.000000e+000 process variable in
14.0 in PV_PER WORD W#16#0 W#16#0 process variable peripheries
16.0 in MAN REAL 0.000000e+000 0.000000e+000 manual value
20.0 in GAIN REAL 2.000000e+000 2.000000e+000 proportional gain
24.0 in TI TIME T#20s T#20s reset time
28.0 in TD TIME T#10s T#10s derivative time
32.0 in TM_LAG TIME T#2s T#2s time lag of the derivative action
36.0 in DEADB_W REAL 0.000000e+000 0.000000e+000 dead band width
40.0 in LMN_HLM REAL 1.000000e+002 1.000000e+002 manipulated value high limit
44.0 in LMN_LLM REAL 0.000000e+000 0.000000e+000 manipulated value low limit
48.0 in PV_FAC REAL 1.000000e+000 1.000000e+000 process variable factor
52.0 in PV_OFF REAL 0.000000e+000 0.000000e+000 process variable offset
56.0 in LMN_FAC REAL 1.000000e+000 1.000000e+000 manipulated value factor
60.0 in LMN_OFF REAL 0.000000e+000 0.000000e+000 manipulated value offset
64.0 in I_ITLVAL REAL 0.000000e+000 0.000000e+000 initialization value of the integral action
68.0 in DISV REAL 0.000000e+000 0.000000e+000 disturbance variable
72.0 out LMN REAL 0.000000e+000 0.000000e+000 manipulated value
76.0 out LMN_PER WORD W#16#0 W#16#0 manipulated value peripheries
78.0 out QLMN_HLM BOOL FALSE FALSE high limit of manipulated value reached
78.1 out QLMN_LLM BOOL FALSE FALSE low limit of manipulated value reached
80.0 out LMN_P REAL 0.000000e+000 0.000000e+000 proportionality component
84.0 out LMN_I REAL 0.000000e+000 0.000000e+000 integral component
88.0 out LMN_D REAL 0.000000e+000 0.000000e+000 derivative component
92.0 out PV REAL 0.000000e+000 0.000000e+000 process variable
96.0 out ER REAL 0.000000e+000 0.000000e+000 error signal
100.0 stat sInvALT REAL 0.000000e+000 0.000000e+000
104.0 stat sIanteilALT REAL 0.000000e+000 0.000000e+000
108.0 stat sRestInt REAL 0.000000e+000 0.000000e+000
112.0 stat sRestDif REAL 0.000000e+000 0.000000e+000

4
116.0 stat sRueck REAL 0.000000e+000 0.000000e+000
120.0 stat sLmn REAL 0.000000e+000 0.000000e+000
124.0 stat sbArwHLmOn BOOL FALSE FALSE
124.1 stat sbArwHLmOn BOOL FALSE FALSE
124.2 stat sbILimOn BOOL TRUE TRUE

Вам также может понравиться