You are on page 1of 8

AUTOMATION TECHNICAL SERVICES

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

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
Block Diagram

1
2

iii

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

Block Diagram Set point in Real Format Any change inside this dead band will not affect the controllers output if Proportional set. (Gain) EX> if Deaadband,2 then er=0 X DEADB_W --------PV_PER % PV_FAC PV_OFF PV= (feed back signal we can Read) ER=SP-PV

-------SP INT PVPER_ON

Any kind of Real Value

--------PV_IN 0 CRP_IN PV_NORM 1 + -

=SP-PV-IN DEADBAND

Peripheral Analog Format

1P_SEL LMN_P=see the influence of GAIN INT 0.0 0 I_SEL 1 0.0 TI,INT_HOLD, I_ITL_ON I_ITLVAL DIF 1 0.0 TD,TM_LAG 0 D_SEL QLMN_HLM=Binary info. Upper Limit Reached QLMN_LLM=Binary info. Lower Limit Reached LMN=LMN_P + LMN_I + LMN_O LMN NORM CRP OUT % LMN_PER 0 it automatically adjust for the analog output pre scaled for the module whether it is Siemens or not. LMN=see the influence of D 0 LMN_1=see the influence of I + + DISV

MAN_ON MAN 1 LMNLIMIT

LMN_HLM=SELECT LMN_LLM

LMN_FAC=factor LMN_OFF=offset

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 -COM_RST -MAN_ON -PVPER_ON -P_SEL -I_SEL -INT_HOLD -I_ITL_ON -D_SEL T#100MS -CYCLE -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 ENOLMNLMN_PERQLMN_HLMQLMN_LLMLMN_PLMN_ILMN_DPVER-

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 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 2.0 6.0 10.0 14.0 16.0 20.0 24.0 28.0 32.0 36.0 40.0 44.0 48.0 52.0 56.0 60.0 64.0 68.0 72.0 76.0 78.0 78.1 80.0 84.0 88.0 92.0 96.0 100.0 104.0 108.0 112.0 Decl. in in in in in in in in in in in in in in in in in in in in in in in in in in out out out out out out out out out stat stat stat stat Name COM_RST MAN_ON PVPER_ON P_SEL I_SEL INT_HOLD I_ITL_ON D_SEL CYCLE 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 LMN LMN_PER QLMN_HLM QLMN_LLM LMN_P LMN_I LMN_D PV ER sInvALT sIanteilALT sRestInt sRestDif Type BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL TIME REAL REAL WORD REAL REAL TIME TIME TIME REAL REAL REAL REAL REAL REAL REAL REAL REAL REAL WORD BOOL BOOL REAL REAL REAL REAL REAL REAL REAL REAL REAL Initial Value FALSE TRUE FALSE TRUE TRUE FALSE FALSE FALSE T#1s 0.000000e+000 0.000000e+000 W#16#0 0.000000e+000 2.000000e+000 T#20s T#10s T#2s 0.000000e+000 1.000000e+002 0.000000e+000 1.000000e+000 0.000000e+000 1.000000e+000 0.000000e+000 0.000000e+000 0.000000e+000 0.000000e+000 W#16#0 FALSE FALSE 0.000000e+000 0.000000e+000 0.000000e+000 0.000000e+000 0.000000e+000 0.000000e+000 0.000000e+000 0.000000e+000 0.000000e+000 4 Actual Value FALSE TRUE FALSE TRUE TRUE FALSE FALSE FALSE T#1s 0.000000e+000 0.000000e+000 W#16#0 0.000000e+000 2.000000e+000 T#20s T#10s T#2s 0.000000e+000 1.000000e+002 0.000000e+000 1.000000e+000 0.000000e+000 1.000000e+000 0.000000e+000 0.000000e+000 0.000000e+000 0.000000e+000 W#16#0 FALSE FALSE 0.000000e+000 0.000000e+000 0.000000e+000 0.000000e+000 0.000000e+000 0.000000e+000 0.000000e+000 0.000000e+000 0.000000e+000 Comment complete restart manual value on process variable peripheries on proportional action on integral action on integral action hold initialization of the integral action derivative action on sample time internal setpoint process variable in process variable peripheries manual value proportional gain reset time derivative time time lag of the derivative action dead band width manipulated value high limit manipulated value low limit process variable factor process variable offset manipulated value factor manipulated value offset initialization value of the integral action disturbance variable manipulated value manipulated value peripheries high limit of manipulated value reached low limit of manipulated value reached proportionality component integral component derivative component process variable error signal

116.0 120.0 124.0 124.1 124.2

stat stat stat stat stat

sRueck sLmn sbArwHLmOn sbArwHLmOn sbILimOn

REAL REAL BOOL BOOL BOOL

0.000000e+000 0.000000e+000 FALSE FALSE TRUE

0.000000e+000 0.000000e+000 FALSE FALSE TRUE

You might also like