2015, Configuration - Programming - Implementation Distributed Control System
2015, Configuration - Programming - Implementation Distributed Control System
Scholarship@Western
Electronic hesis and Dissertation Repository
May 2015
Supervisor
Jin Jiang
he University of Western Ontario
A thesis submited in partial fulillment of the requirements for the degree in Master of Engineering Science
Recommended Citation
Liu, Ximing, "Coniguration, Programming, Implementation, and Evaluation of Distributed Control System for a Process Simulator"
(2015). Electronic hesis and Dissertation Repository. Paper 2801.
his Dissertation/hesis is brought to you for free and open access by Scholarship@Western. It has been accepted for inclusion in Electronic hesis
and Dissertation Repository by an authorized administrator of Scholarship@Western. For more information, please contact [email protected].
CONFIGURATION, PROGRAMMING, IMPLEMENTATION
by
Ximing Liu
Graduate Program in
Electrical and Computer Engineering
To implement the main functions of NPCTF in the DelatV system, the programming
architecture is designed in the DelatV system. The main control and monitoring functions of
NPCTF are programmed using industrial languages of Function Block Diagram (FBD) and
Sequential Function Chart (SFC) by IEC61113-3. Safety interlocks are added in the program
to protect the NPCTF devices from damage. A HMI is developed to operate and monitor the
NPCTF. Through the HMI, the operator can monitor the parameters of process of NPCTF,
operate the NPCTF, change parameters of the controller, and force the devices.
The process model of SG (Steam Generator) Tank level control is developed using the
MATLAB System Identification tool. The model is taken as an example to demonstrate the
process of analysis and design the controller of process control. PID is used as the controller
algorithm.
The main control and monitoring functions of NPCTF in the DeltaV system are
commissioned, tested and evaluated. The evaluation results conclude that the DelatV DCS
system can control the NPCTF to achieve the main functions of the NPCTF.
ii
Acknowledgments
I would like to express my appreciation and thanks to my advisor Dr. Jin Jiang, whose
expertise, understanding and patience added considerably to my graduate experience. I
appreciate his thorough guidance through my research and graduate life. I must thank the
members of the examining board for taking time from their busy schedules to provide
valuable feedback.
I would also like to thank Dr. Xinhong Huang for her encouragement, patience and assistance
in writing this thesis and Dr. Ataul Bari for his support in this research, and for ordering the
devices for it.
I am also thankful to all the members of the Control Instrumentation and Electrical Systems
research group of the University of Western Ontario, in particular Drew Rankin and Jianping
Ma, for their support in various aspects of my research work. Our debates, and exchanges of
knowledge and skills throughout my graduate program have enriched my graduate
experience.
I give special thanks to my wife. Words cannot express how grateful I am to her for all her
sacrifices. Without her support, encouragement, and love I would not have returned to
academia and completed this thesis.
I also acknowledge that this research would not have been possible without the financial
support of the Natural Sciences and Engineering Research Council of Canada (NSERC), the
University Network of Excellence in Nuclear Engineering (UNENE), the University of
Western Ontario Graduate Studies, the Department of Electrical and Computer Engineering
at the University of Western Ontario (Teaching Assistantships, Graduate Research
Scholarships). I express my gratitude to those organizations.
iii
Table of Contents
Abstract…………………..……………………………………………….……….….…..ii
Acknowledgements............................................................................................................iii
Table of Contents…………………………………………………………...…....……....iv
List of Tables………………………………………………………………………........viii
List of Figures………………………………………………………………………….....ix
1 Introduction ................................................................................................................. 1
1.2 Motivations........................................................................................................... 8
2 Control System Requirements for Nuclear Process Control Test Faciliy ........... 12
iv
2.4.3 Emergency Core Cooling (ECC) ............................................................. 20
2.6 Summary…………………………………………………………….…………27
3.6 Human Machine Interface (HMI) Configuration: Graphics and Faceplates ...... 47
3.7 Summary………………………………………………………………………..51
v
4.2 Controller Analysis and Design for Steam Generator Level Control ................ 57
4.4 Summary………………………………………………………………………..70
vi
5.4.1 Normal mode evaluation .......................................................................... 99
5.5 Summary………………………………………………………………………102
Curriculum Vitae……………………………………………………………………....170
vii
List of Tables
4.2 Overshoot and rise time from simulation of MATLAB and NPCTF experiments.... 67
viii
List of Figures
1.1 Simplified block diagram of main process and control systems of a CANDU NPP... 2
ix
2.14 P&ID diagram of partial NPCTF in Open mode ....................................................... 27
x
3.18 SFC network .............................................................................................................. 45
xi
5.1 Performance specifications in time domain ............................................................... 72
5.3 Performance characteristics of step response of decrease primary water flow ......... 74
5.4 Performance characteristics of step response of increase primary water flow .......... 74
xii
5.19 Upper Tank level control performances .................................................................... 85
5.36 NPCTF system diagram during “Close With Pressurizer Mode” .............................. 99
xiii
5.37 NPCTF system diagram during “Close Without Pressurizer Mode”....................... 100
xiv
Abbreviations and Nomenclature
Abbreviations
AI Analog Input
AO Analog Output
CB Circuit Breaker
CV Control Valve
DI Digital Input
DO Digital Output
xv
FBD Function Block Diagram
FOPDT First-order-plus-dead-time
IL Instruction List
LD Ladder Diagram
mA milli-ampere
NC Normal Close
NO Normal Open
xvi
OLE Object Linking and Embedding
PID Proportional-integral-derivative
PV Process variable
SG Steam Generator
SOPDT Second-order-plus-dead-time
SP Set-point
ST Structured Text
xvii
Nomenclature
Kc controller gain
I integral time
Ts scan interval
D derivative time
Kp process gain
p time constant
θ process delay
c critical frequency
xviii
1
Chapter 1
Introduction
1.1 Background
1.1.1 CANDU Nuclear Power Plant (NPP)
The CANDU (Canadian Deuterium Uranium) is a Canadian invented, pressurized heavy
water reactor. It is characterized by heavy water as coolant and moderator, and use
natural uranium as fuel [1]. CANDU NPPs (nuclear power plants) are developed and
maintained by AECL (Atomic Energy of Canada Limited) [2] [3]. There are 22 units of
CANDU reactors with a capacity of 15,358 MWe. It provides approximately 15% of
Canada’s total electricity needs (over 50% in Ontario, Canada) [4]. CANDU reactors
have been installed in seven countries [5].
The main energy exchange process in the CANDU nuclear power plant (NPP) is
illustrated in Figure 1.1. The heavy water (D2O) of the heat transport system is pumped to
the reactor to be heated and becomes heated heavy water. The heated heavy water is then
transported to steam a generator. Inside the steam generator, the heated heavy water heats
the feed-water to saturated steam and becomes cooled heavy water. The cooled heavy
water feeds back to the reactor. The saturated steam is fed to drive the turbine and
generator to produce power. Thereafter, steam becomes water and is pumped back to the
steam generator.
The process control system of CANDU NPP mainly consists of reactor regular system,
pressure and inventory control system, steam generator pressure and level control system,
and turbine control system. The reactor regulator system adjusts the reactivity of the
reactor and, thus, the power of the reactor. The pressure and inventory control system
regulates the pressure and inventory of the coolant in the heat transport system. The
steam generator pressure and level control system controls the pressure and level of the
2
steam generator. The turbine control system controls the flow or pressure of the main
steam via turbine governors.
Heat Steam
Reactor Turbine Generator
Transport Generator
Condenser
Moderator
Feedwater
Containment
Figure 1.1 Simplified block diagram of main process and control systems of a CANDU NPP
The heat transport system has two operation modes: Normal mode and Solid mode.
Under Normal operating mode, the pressurizer keeps the pressure of the heat transport
system while the feed and bleed system controls the inventory through pressurizer level,
as shown in Figure 1.2. Under the Solid operating mode, the pressurizer is isolated.
Instead, the feed and bleed system controls both pressure and inventory, as shown in
Figure 1.2.
3
Feed
valve
Heat
transport
system Pressure
Pressurizer
level
Bleed
valve
The reactor safety system performs the functions necessary to maintain the plant in safe
conditions. SDS1 (Shutdown System Number 1), SDS2 (Shutdown System Number 2),
and ECC (Emergency Core Cooling) are three main reactor safety systems. SDS1 and
SDS2 are two shutdown systems that shut down the reactor for safety reasons. SDS1
consists of mechanical shutdown rods while SDS2 injects a gadolinium nitrate solution
into the moderator. These two shutdown systems are independent, and either of them can
shut down the reactor and maintain the shut down for all design basis events. Emergency
Core Cooling system supplies coolant to the reactor in the event of a loss-of-coolant
accident (LOCA).
In the 1950’s, plants used large, local pneumatic controllers; the computers could only be
used for supervisory tasks. Many companies started the research to determine if
computers could be used for process control.
In the 1960s, the development of electronic integrated circuits led to the development of
micro-computers [8]. In 1962, an Argus computer developed by Ferranti Ltd. replaced a
complete analog control system in an ammonia/soda plant by a British chemistry
company, Imperial Chemical Industries (ICI). It is a direct-digital control (DDC)
computer and is expensive; however, it is still cheaper than the relay based control
system [9].
The development of computer technology, which is faster, cheaper and more reliable,
incubated the first distributed control system, TDC2000, and was introduced by
Honeywell in 1975 [10] [11]. However, this DCS was not suitable for discrete and batch
applications until the incorporating of PLC with DCS [12].
The further advances in computer hardware and software technology in 1980s caused the
DCSs to expand its function beyond process control. It facilitated the production, such as
process modeling, process accounting, expert system, and production planning and
dispatch. Another feature of DCS during this period was that DCSs were shifted from
proprietary systems to open systems to accommodate third party software. UNIX, one of
the operating systems, was a popular choice for operating system of DCS [13].
In the 1990s, Microsoft entered the related software field. The operating system of DCS
was moved from a UNIX to Windows environment [14]. OLE for process control (OPC)
technology was developed for DCS systems. OPC was only available on MS windows
and is now a de facto industry connectivity standard. It provides the “plug and play”
solution to the problem of integrating a device to the DCS [15]. Microsoft application
5
tools Visual Basic and Visual C++ coupled with Active tools made complex and highly
specialized applications affordable for users.
Right now, DCS has been applied extensively in process control of different industries:
chemical plants, petrochemical industries and refines, power plant systems, nuclear
power plants, environmental control systems, water management systems, oil refining
plants, metallurgical process plants, and pharmaceutical manufacturing [11].
A nuclear power plant is a complex system. The distribute control system can perform
complex tasks and, thus, has been applied to process control in NPP [16] [17].
A typical DCS system structure includes devices in a control and supervisory level, as
shown in Figure 1.3. The control level collects the data from devices in the field which
are grouped with the name of the field level, does calculation and sends the results to
control the field devices. It includes a controller, such as PLC, IO cards, and
communication modules. The supervisory level includes operator station through human
machine interface (HMI) and an engineer station. Operators operate and monitor the
process through HMI. The engineer station configures the control strategies, maintains
the system and tunes the controller. The field level includes different kinds of field
devices, such as transmitters, sensors, and actuators. Transmitters convert the process
variables to electric signals, such as 4-20mA, or digital signal which are sent to the
controller. Valves actuators convert the electric from controller to mechanical movement
to drive the valves.
6
DCS
Supervisory
Level
Process Control
Level
Process
Field Level
Originally, the process was often controlled by relays where the control room was full of
relays, terminals blocks and wire. For the relay-based control system, significant changes
are required to expand the system and add more functions. Moreover, it is difficult to
conduct troubleshooting considering there are huge number of relays and wiring. In the
1960’s, engineers at GM proposed to develop a prototype to eliminate costly scrapping of
assembly-line relays during changeovers, and replace unreliable relays. In 1971, Allen
Bradly developed a new concept, Bulletin 1774 PLC, and named it “Programmable Logic
Controller” (PLC). From then on, the PLC terminology became the industrial standard.
Several improvements have been made for PLC since it was first developed [19].
In the early 1980s, the industrial processes became more complex and a single PLC could
not control the entire system. Therefore, PLC began to incorporate distributed control
functions so they could be linked much in the way that DCSs were linked [20] [21].
7
During the 1990s, standardization and an open system enabled further improvement in
PLC development.
In the market, there are different sizes of configurations: Micro PLC with less than 100
I/O, Small PLC with 100 to 200 I/O, Medium with less than 1000 I/O and large PLC with
more than 1000 I/O.
PLC has been extensively applied in different industry areas. According to a recent
Control Engineering magazine poll, “The major applications for PLCs include machine
control (87%), process control (58%), motion control (40%), batch control (26%),
diagnostic (18%), and others (3%).” The results do not add up to 100% because a single
control system generally has multiple applications [19].
A typical PLC mainly consists of CPU (central processing unit), power supply, memory
unit, and I/O (input/output) system, as illustrated in Figure 1.4. Power supply converts the
power line voltages to those required by the PLC. It drives the central processing unit,
memory unit, and I/O signals. CPU is the central component of PLC. It performs
necessary tasks to fulfil PLC function, such as scanning, executing programs,
communicating with other devices, and performing self-diagnostics. The memory unit
stores the application program and PLC execution program. The control data from the
CPU and the process data from I/O modules are also temporarily stored in the memory
unit. I/O modules function as the interface between field devices and CPU. The input
signal gives the CPU real time status of process variables. These signals could be either
analog or digital. Water flow is an example of analog signal and contact of relay is an
example of digital signal. They are presented to input cards as a varying voltage, or
current. Discrete and digital are common output categories. Discrete output can be sent to
turn on or turn off pilot lights, or open or close solenoid valves. Analog output can drive
signals to variable speed drives or I/P (current to air) converters and thus to control
valves. I/O systems are arranged in modules each of which contains a couple of I/O
points. These modules are plugged into the existing bus structure which carries
information back and forth between the I/O modules and central unit.
8
Power
CPU Memory
supply
Input Output
Devices Devices
1.2 Motivations
DCS is applied in many industries [22], including different types of power stations.
Nuclear power plants are large, complex systems with potential risks [23]. An accident
could cause serious loss and impact on society. Therefore, any new control strategy or
function needs to be proved before applying it to a real nuclear power plant. In the past,
software which simulates the process of an NPP is the common method to test and prove
a new control strategy and function. However, process in the software is created by a
model which is always different from real plants. A system between software and a real
NPP will improve the validation process. Therefore, the NPCTF (Nuclear Process
Control Test Facility) is built in the CIES research lab at the University of Western
Ontario to simulate the main processes in a CANDU NPP and some other industrial
processes for I&C research. Even though it is not a real NPP, it is a real physical system.
In addition, this DCS operated NPP simulator can be used to train operators and students.
For students, it helps to create some concepts about CANDU NPP. For operators, it helps
to improve operating skills and emergency handling capabilities.
This research project is to design the DCS to control and operate the NPCTF. The
popular industrial DCS, Delta-V manufactured by Emerson, is used to design this system
[24].
9
1. Design and implementation of a DCS system using a DeltaV platform to control the
NPCTF.
3. The process model of steam generator (SG) level control is developed and analyzed to
present the process control strategies design process.
The goal of this work is to develop the DeltaV DCS system to control the NPCTF system,
and demonstrate the functionalities of NPCTF. Therefore, the following issues are out of
the scope of this research:
1.4 Contributions
The following are the major contributions:
3. Model development: A Steam Generator (SG) level process model within operating
range of 36% to 44% is constructed using MATLAB and used to design the controller of
SG level control.
5. Commissioning of the DCS: The control system of the NPCTF described in Chapter 2
are commissioned.
6. Evaluation of the DCS system: The control system described in chapter 2 are tested
and evaluated.
Chapter 2 introduces and describes the main functions to be implemented and achieved in
the NPCTF simulator through the DCS system. The functions are expressed in logic
diagrams.
Chapter 3 describes the DeltaV DCS platform used in this thesis, and how the DeltaV
DCS platform is used to program and implement the functions described in Chapter 2.
The hardware design and construction of the DCS system using the DeltaV platform are
discussed. The control architecture design of NPCTF is also presented. In addition, the
main programming languages used in this research are introduced. Furthermore, how to
use these two kinds of languages to program and implement the functions described in
Chapter 2 is also presented. In the end of Chapter 3, the details of developing HMI for
monitoring and operating the NPCTF are also discussed.
Since the process control is one of the main functions of the DCS system, Chapter 4
focuses on the development of process control. The control algorithm of PID, tuning
techniques and stability analysis standard used in the process control of this research are
11
presented. Steam Generator (SG) level control is taken as an example to explain the
control process. In this example, the process model of Steam Generator level control is
created and two tuning techniques are compared in both MATLAB and NPCTF system.
Chapter 6 concludes the research which summarizes the main contributions and discusses
potential future research.
12
Chapter 2
Control System Requirements for Nuclear Process Control
Test Facility (NPCTF)
The simulator NPCTF (Nuclear Process Control Test Facility) has been built in the CIES
research lab at the University of Western Ontario. There are mainly four functions of this
simulator to be implemented in this research: process control, sequence control, designed
functions of safety systems, and operation modes. Process control is to control the
process variables of NPCTF. The main purpose of Sequence control is to fill in the pipes
and tanks in order for the system to be ready for operation. Safety system is used to
investigate the safety shut down functions: SDS1, SDS2, and ECC. Operation mode is to
make the NPCTF system run under different situations: Normal mode, Open mode and
Solid mode. These functions are programed and evaluated in this research.
Upper Tank
FV-5 P3
Display rpm
G
CV-18
F4
prevention
Controller
Spill
A C
CV-19
CV-15 2-out-of-3
relays B A Legend:
CV-17 Po1 Sensors:
C B Coiled
C:Current; T:Temperature; L:Level;
pipe
Pneumatic P:Pressure; V:Vibration; F:Flow;
C3 gripper Po: Position; A: Acoustic
air Valves:
FV-2
CV-16 Gravity FV-3 CV: Control; FV: Fault injection;
drop rod SV: Reverse flow Stop;
Linear
motor Flow Lines:
assembly
Main water
SDS1 SDS2 Support water
Switch Switch Hidden water
P02
SV-1 LOCA water
C2
C1 Relief valve Natural flow
Air
Heater
SDS current
Lower C5
V1
CV-1
F1 P1 T1 T2-1/2/3
(Magnetic) Max outlet temp:
Tank Pump2 CV-3
Pump1 Bearing
fault
injection
CV-2 FV-1 65 Celsius CV-20 Copyright:
CIES laboratory
V2 The University of Western Ontario
SV-2 T4 London, Ontario, Canada
Lower
FV-6 Tank
Spill water collection tray
FV-5 P3
Display rpm
G
Regulator
CV-9 Regulator F2(VA) CV-4
Alarm/Display
P4 P2
CV-10
DAQ Pressurizer CV-21 CV-5 CV-8
To lower tank or Diffuser at
spill collection L3 tank bottom To lower tank or
Instrument
L4 spill collection
signals
Chiller
Muffler
CV-11 T6 HX behind
CV-12 tank HX
Upper L1
T7
T5
CV-34
F3
Tank Upper
tank CV-13 CV-25 T3
CV-14
CV-18
F4
prevention
Controller
Spill
A C
CV-19
CV-15 2-out-of-3
relays B A Legend:
CV-17 Po1 Sensors:
C B Coiled
C:Current; T:Temperature; L:Level;
pipe
Pneumatic P:Pressure; V:Vibration; F:Flow;
C3 gripper Po: Position; A: Acoustic
air Valves:
FV-2
CV-16 Gravity FV-3 CV: Control; FV: Fault injection;
drop rod SV: Reverse flow Stop;
Linear
motor Flow Lines:
assembly
Main water
SDS1 SDS2 Support water
Switch Switch Hidden water
SV-1 LOCA water
C2
C1 Relief valve Natural flow
Air
Heater
SDS current
Lower C5
V1
CV-1 F1 P1 T1 T2-1/2/3
Max outlet temp:
Tank Pump2 CV-3
Pump1 Bearing
fault
injection
CV-2 FV-1 65 Celsius CV-20 Copyright:
CIES laboratory
V2 The University of Western Ontario
SV-2 T4 London, Ontario, Canada
Lower
FV-6 Tank
Spill water collection tray
Meanwhile, valves CV-3, CV-9, CV-12, CV-13, CV-15, CV-17, CV-18, CV-19, CV-20,
CV-21, and CV-25 are closed. Refer to system P&I, diagram Figure 2.2 for the detail of
these valves.
START
Start pump2
Close valves:CV-
Charging
3,9,12,13,15,17,18
Pressurizer
,19,20,21,25
Open valves:CV-
1,2,5,10,11,14,16
cooling of the Heater is judged to be insufficient, the ECC system will act to cool the
Heater. In CANDU NPP, the safety systems are not designed in DCS system. However,
the safety systems take action to shut down reactor when the trip parameters are out of
limits, such as low pressurizer level. The trip parameters are measured with 2oo3 voting.
The simulator is used to simulate this protected process, for the system to take action in
response to the trip parameters and 2oo3 voting.
HTR T2 high
Relay A
HX tank L4 low
HX tank L4 high
HTR T2 high
Relay B
HX tank L4 low
HX tank L4 high
HTR T2 high
Relay C
HX tank L4 low
HX tank L4 high
Relay A
SDS1
Relay B Shut off HTR
Relay C
higher than the threshold, SDS2 will act and shut down the Heater. The logic is shown in
Figure 2.7.
HX tank L4 high
SDS2
HTR T2 high Shut off HTR
WTR P1 high
Pump1 off
1. Close CV-15
2. Open CV-19,CV-20
3.Upper tank level controlled
by CV-17
Pressurizer
HX Tank
Display
Alarm/Display
P4 P2
DAQ
Diffuser at
L3 tank bottom
Instrument
L4
signals
Chiller
CV-11 T6 HX behind
CV-12 tank HX
Upper L1
T7
T5
CV-34
F3
Tank Upper
tank CV-13 CV-25 T3
CV-14
CV-18
F4
prevention
Controller
Spill
A C
CV-15 CV-19 2-out-of-3
relays B A
CV-17 Po1
C B Coiled
pipe
Pneumatic
C3 gripper
air
FV-2
CV-16 Gravity FV-3
drop rod
Linear
motor
assembly
SDS1 SDS2
Switch Switch
SV-1
C2
C1 Relief valve
Heater
Lower C5
V1
CV-1 F1 P1 T1 T2-1/2/3
Max outlet temp:
Tank Pump2 CV-3
Pump1 Bearing
fault
injection
CV-2 FV-1 65 Celsius
CV-20
V2
SV-2 T4
Lower
FV-6 Tank
Spill water collection tray
Normal mode and Solid mode. Moreover, an operation mode called Open mode is also
designed in NPCTF for general I&C related research purposes such as advanced control
theories, fault diagnostics, fault tolerance.
Pressurizer
Display
HX Tank
Alarm/Display
P4 P2
DAQ Pressurizer
To lower tank or Diffuser at
spill collection L3 tank bottom
Instrument
L4
signals
Chiller
CV-11 T6 HX behind
CV-12 tank HX
Upper L1
T7
T5
CV-34
F3
Tank Upper
tank CV-13 CV-25 T3
CV-14
CV-18
F4
prevention
Controller
Spill
A C
CV-15 CV-19 2-out-of-3
relays B A
CV-17 Po1
C B Coiled
pipe
Pneumatic
C3 gripper
air
FV-2
CV-16 Gravity FV-3
drop rod
Linear
motor
assembly
SDS1 SDS2
Switch Switch
SV-1
C2
C1 Relief valve
Heater
Lower C5
V1
CV-1 F1 P1 T1 T2-1/2/3
Max outlet temp:
Tank Pump2 CV-3
Pump1 Bearing
fault
injection
CV-2 FV-1 65 Celsius CV-20
V2
SV-2 T4
Lower
FV-6 Tank
Spill water collection tray
Pressurizer
Display
HX Tank
Alarm/Display
P4 P2
DAQ Pressurizer
To lower tank or Diffuser at
spill collection L3 tank bottom
Instrument
L4
signals
Chiller
CV-11 T6 HX behind
CV-12 tank HX
Upper L1
T7
T5
CV-34
F3
Tank Upper
tank CV-13 CV-25 T3
CV-14
CV-18
F4
prevention
Controller
Spill
A C
CV-15 CV-19 2-out-of-3
relays B A
CV-17 Po1
C B Coiled
pipe
Pneumatic
C3 gripper
air
FV-2
CV-16 Gravity FV-3
drop rod
Linear
motor
assembly
SDS1 SDS2
Switch Switch
SV-1
C2
C1 Relief valve
Heater
Lower C5
V1
CV-1 F1 P1 T1 T2-1/2/3
Max outlet temp:
Tank Pump2 CV-3
Pump1 Bearing
fault
injection
CV-2 FV-1 65 Celsius CV-20
V2
SV-2 T4
Lower
FV-6 Tank
Spill water collection tray
Pressurizer
Display
HX Tank
Alarm/Display
P4 P2
DAQ Pressurizer
To lower tank or Diffuser at
spill collection L3 tank bottom
Instrument
L4
signals
Chiller
CV-11 T6 HX behind
CV-12 tank HX
Upper L1
T7
T5
CV-34
F3
Tank Upper
tank CV-13 CV-25 T3
CV-14
CV-18
F4
prevention
Controller
Spill
A C
CV-15 CV-19 2-out-of-3
relays B A
CV-17 Po1
C B Coiled
pipe
Pneumatic
C3 gripper
air
FV-2
CV-16 Gravity FV-3
drop rod
Linear
motor
assembly
SDS1 SDS2
Switch Switch
SV-1
C2
C1 Relief valve
Heater
Lower C5
V1
CV-1 F1 P1 T1 T2-1/2/3
Max outlet temp:
Tank Pump2 CV-3
Pump1 Bearing
fault
injection
CV-2 FV-1 65 Celsius CV-20
V2
SV-2 T4
Lower
FV-6 Tank
Spill water collection tray
2.6 Summary
In summary, in this chapter, four main functions of this NPCTF, are explained and
described in detail. They are process control, sequence control, safety systems and
operation modes. The construction and design of the DCS system to implement these
functions are the topics of this research and are presented in Chapters 3 and 4. Their
evaluations are also the topic of this research and are discussed in Chapter 5.
28
Chapter 3
Control System Design for NPCTF using DeltaV DCS
The Delta-V DCS system is one of the widely used DCS systems in industry [26] [27].
Therefore, DeltaV DCS system is selected to be used in this research to implement the
functions of NPCTF described in Chapter 2: process control, sequence control, safety
system, and operation modes.
Workstation
Supervisory
Level
Controller
The workstation has all the software to configure the control strategies for the field
device and HMI to monitor and operate process variables. The DeltaV system used in this
29
research is Version 8 with the operating system Microsoft Windows XP and has OLE for
Process Control (OPC) which stands for Object Linking and Embedding (OLE) for
Process Control, to connect with third party software. The communication between PLC
and computer is Ethernet with redundancy through two hubs.
At the control level, two power sources supply DC power to controllers. I/O modules
function as the interface between field devices and CPU. Typically, there are four kinds
of I/O cards: AI (analog input), AO (analog output), DI (digital input), and DO (digital
output). I/O modules obtain data from field process and convert to discrete signal. Output
cards send the signal from the process unit to drive field devices. One important function
of an I/O card is to isolate high level real world signals from low level signals in the I/O
bus with optical isolators to protect the I/O card. A/D converters in analog input cards
convert analog signal to discrete signal for the/a process unit. D/A converters in input
cards convert discrete signal to analog signal to drive field devices.
Two power supplies, PWR1 and PWR2, convert 120VAC line power to 24VDC and
provide 24VDC power to the entire DeltaV system in the cabinet. A circuit breaker (CB)
is mounted before two power supplies to protect the system. As indicated in the Figure
3.2, power supply number one (PWR1) supplies 24 VDC power to the system power
supply P1 which converts 24VDC to 12VDC and carrier 3. Power supply number two
(PWR2) supplies 24 VDC power to the system power supply P2 which converts 24VDC
to 12VDC, other carriers, and DO intermediate circuit power through fuse F. Carriers
provide power to all the cards mounted on the carriers. The two switches have separated
AC power supply. R_DO1_1~8 are relays used for connecting AC powered field devices
to DeltaV DO cards which can only connect DC powered field devices. A detailed DO
intermediate circuit is discussed in section 3.2.2.
31
PWR2
P RM DO4 S CARRIER 3
SWITCHES
CB: Circuit Breaker AS-i: Actuator Sensor Interface PWR: Power Supply
All the process variables, such as pressure, level, flow, temperature, are sent to the PLC
in the format of 4-20 mA through analog input (AI) cards. Because the 4-20 mA analog
input signals have power source, 4-wire AI cards are used to isolate the power source in
the AI cards to prevent the conflict of the two power sources in the AI signal circuit.
Wiring of the AI card is shown in Figure 3.3. Two wires of each signal from transmitter
(“T”) are connected to the AI card termination (“+” and “-”), as shown in Figure 3.3.
All the manipulated variables (AO), such as opening of valves and current of pumps, are
in the format of 4-20 mA. For analog output (AO) signals to activate the relays of valves
or pumps, the power sources come from AO cards. The two wires of each AO signals
from field devices (“Load”) are directly wired to AO cards termination (“+” and “-”), as
shown in Figure 3.4.
33
Digital input (DI) signals indicate the switch status. The power source comes from DI
cards. The contacts of the switch are directly connected to the DI card termination (“+”
and “-”), as shown in Figure 3.5.
For digital output (DO) signals, DeltaV DO cards only allow DC power source.
Therefore, except signals of “ROD DOWN”, “DOWN”, “INTERM”, and “HOME”
which are powered by DC, other digital output signals which are powered by AC cannot
be directly wired to DeltaV DO card and, thus, an intermediate circuit is needed.
Therefore, signals “ROD DOWN”, “DOWN”, “INTERM”, and “HOME”, are directly
wired to DO card termination (“+” and “-”), as shown in Figure 3.6. Others, shown as
“Load” in Figure 3.7, are wired to the contacts of the relays (“RELAYS R_DO1_1~8” in
Figure 3.7) in the intermediate circuit and the relays (“RELAYS R_DO1_1~8” in Figure
3.7) are wired to DO cards, as shown in Figure 3.7.
DO1
FUSE
RELAYs
R_DO1_1~ 8
DC NO
POWER AC
Load
The DelatV system has primary and redundant networks. Therefore, there are primary
and secondary ports for two networks in the server. Accordingly, there are two switches
for two networks. Each of two PLCs is connected to two switches: primary port of PLC
will be connected to the primary switch, and the secondary port of the PLC will be
connected to secondary switch. Figure 3.8 shows the wiring.
The wiring from I/O cards to the field devices are connected through terminals in the
DeltaV cabinet and DCS cabinet, as shown in Figure 3.8. The wiring diagrams of each
kind of I/O cards are presented in section 3.2.2.
36
All signals, their terminal numbers in DeltaV cabinet and DCS cabinet, their cable
number, position in I/O cards, and their signal types are listed in the appendix A.
SERVER Server
SWITCHES
DeltaV
cabinet
AI AO DI DO
PLC PLC
DeltaV
TB
DCS
DCS
TB cabinet
Field
P
TXs
devices
VLVs CONs LDs
The actual devices corresponding to the system indicated in Figure 3.8 are shown in
Figure 3.9 to 3.12. Figure 3.9 indicates the server and the screen. Figure 3.10 shows the
DeltaV cabinet where all the PLCs, I/O cards, switches, DeltaV terminals and powers are
mounted inside the cabinet. Figures 3.11 shows the DCS cabinet where all of the signals
from the DeltaV cabinet are connected to the field devices. Figure 3.12 shows all filed
devices including control valves and transmitters.
37
PLCs
IO CARDS
SWITCHES
TERMINALS
POWER
The whole control structure involves many subsystems and algorithms. A clear and
logical organization of the subsystems and algorithms facilitate not only the running of
the program, but also design maintenance and troubleshooting.
Control
Plant
Strategies
Steam
Tank Deaerator Plant Areas
Generator
Function Algorithm
Block Diagram (FBD or SFC)
AI PID1 AO FBs
CONTROL Control
STRATEGIES Strategies
PCTF_SIMON Areas
The programming of the early PLC was of ladder the diagram type. It resembled the
circuit diagram and still remains one of the most popular PLC programming languages
[29] [30]. However, with the integration of distributed control, sequential control, and
factory control system, the controller is required to do multi-task operations. However,
ladder diagram language is difficult to control application with multiple events occurring
at the same time [31]. Other limitations includes: lack of software structure, problem in
reusability, poor data structure definition, lack of support for describing sequential
behavior, and difficulty in handling complex arithmetical operation [32]. Different PLC
manufacturers developed their own programming languages to solve these problems. The
multiplicities of languages and even proprietary programming languages or tools were
too complex for customers to handle. Standardization of these practices became
necessary. IEC adopted the prevalent programming practices of major PLC
manufacturers and published the standard IEC 61131-3. In fact, language defined by IEC
61131-3 is also recommended to implement application functions of nuclear power plants
[33].
IEC 61131-3 is the standard of programmable language and defines 5 kinds of languages:
Instruction List (IL), Ladder Diagram (LD), Function Block Diagram (FBD), Structured
Text (ST), and Sequential Function Chart (SFC). FBD and SFC are the two main
programming languages supplied by the DeltaV system and used in the research for
programming.
43
A function block is a rectangular bock with inputs entering from the left and
outputs exiting from the right.
The name of the function block and its instance are shown on top of the block.
The inputs and outputs of the function block are shown within the block.
FB Type FB
Instance
Inputs Outputs
The function block diagram (FBD) network includes connections, graphical elements for
execution control (“Jump” in Figure 3.17), and graphical elements to call function or
function blocks. Some platforms of manufacturers include connectors which are used to
construct long network. These connectors are not control or data flow elements [34].
Connections are horizontal or vertical lines which carry the signal and connect the
functions and function blocks. Signals flow from left to right or from top to bottom along
the connections. Left or top is input, and right or bottom is output. In special cases, the
signals can be fed back, as shown in Figure 3.17. It is possible to split a line into several
44
connections. For example, in Figure 3.17, the connection from “OUT” of “AI1” is split
into two connections. However, it is forbidden to connect more than one output to one
input. For example, in Figure 3.17, it is not allowed to connect more than one connection
to “CAS_IN” of “AO1”. Different data type of variables, such as a floating-point double
word or Boolean value, can flow along the connections. However, the output parameter
must be the same data type as the connected input parameter.
In an FBD network, the execution could transfer from one part of network to another. As
shown in Figure 3.17, “PV” points to the signal from “AI1” to other part of FBD network.
The graphical representations for calling an FB or function are similar. They have input
and output parameters which are indicated in the block, as “PID” in the Figure 3.17.
Jump
Connection FB Feedback
Before the functions or function blocks in the network are evaluated, all the inputs
values from other elements must be available.
45
The outputs of a function block cannot be considered available until all its outputs
have been evaluated.
The FBD network is not complete until all the outputs of its functions and
function blocks have been evaluated.
As shown in Figure 3.18, the sequential function chart (SFC) network consists of Steps
(rectangular boxes: S1 to S4), Transitions (bars with identifiers: T1) and Links. Steps are
associated with actions, Transitions are logic conditions, and Links connect Steps and
Transitions. A Step is either active or inactive. When a Step is active, the associated
actions are executed until the Step becomes inactive. The status of active or inactive is
decided by Transition. The Transition is programmed by Transition condition which is a
Boolean expression. When the Transition becomes true, the Step immediately before it
becomes inactive and the one immediately after it becomes active. Therefore, the
processes with a step by step state behavior are suitable for programming with SFC.
Link
Section 3.3 discussed the programming architecture of this project. Modules of the
programming architecture are implemented by programming. Under the structure, as
shown in Figure 3.19, modules of STOP_SYSTEM and SEQUENCE are step by step
with sequence in nature and, thus, are programmed using SFC language. For the
STOP_SYSTEM, when the operator wants to stop the system, the system is reset to
original status, i.e. all valves to normal status: open for NO (normal open) valves and
closed for Normal Close (NC) valves; all the heaters, and pumps are stop; and all the
tanks are empty. The operation of these devices is sequential. The main purpose of the
SEQUENCE is to fill up the pipes and tanks. The filling procedure is step by step. Refer
to Figure 2.4 in Section 2.3 for the logic procedure and Section 2.3 for more function
details. The Pressurizer is first filled up and then the HX Tanks. The Upper Tank is the
last one to fill up; therefore, they are programmed using SFC language. Detailed
programming is shown in appendix D.
Other modules are programmed using FBD. AI, AO, DI, and DO modules are the
interfaces between signals from and to local devices and programming algorithm. The
SAFETY module is used to implement the safety functions of SDS1, SDS2, and ECC
described in section 2.4 (referring Figure 2.5 to 2.8 in section 2.4 for their logic
diagrams).
There are two kinds of graphics of HMI: dynamic pictures and static pictures. Static
pictures do not change their properties while dynamic pictures communicate with the data
base to change their properties or database. Static pictures show the process system:
devices and pipes, tanks. Dynamic pictures indicate the process status and are used to
operate the process through faceplates and buttons. For example, when press the button
48
“STOP SYSTEM” in Figure 3.20, the button becomes brown and the system is also
stopped.
All the valves, except manual valves, indicate the full open status as red color, full closed
status as green and between full open and closed as yellow. If the safety system, “Safety”
in Figure 3.20, is active, the HMI will show the active one in red: SDS1, SDS2, or ECC.
From HMI, as show in Figure 3.20, the operator can operate the Pumps, Heater, and
Chillers, stop the system, start the sequence, and select the operation modes through
related buttons, as indicated in Figure 3.20. For process control, faceplate is the interface
for operator to control the process. By clicking the “Faceplate” icon in HMI, the operator
can open the faceplate window as shown in Figure 3.21 to perform the operation of
process controllers: select values of set-point or output, manual or auto. By click the
“trend” in the faceplate, operator can open the trend window as shown in Figure 3.22 to
monitor the current trend of three parameters of controller: process variable (PV), set-
point (SP), and controller output (OUT). The controller is also allowed to change the
controller tuning parameters through “detail” icon in faceplate, as shown in Figure 3.23.
49
Stop
Sequence
Operation
modes
Faceplate
Safety
Detail
Trend
3.7 Summary
In summary, this chapter has described the construction and design of the DeltaV DCS
system which is used to implement the functions explained in Chapter 2. The
programming to implement these functions in this DCS system is presented in this
chapter. The main industrial languages, FBD and SFC, used to make the program are
explained. The design of HMI used to operate the NPCTF is also discussed in the chapter.
52
Chapter 4
Process Controller Design in DeltaV DCS
As described in Chapter 2, process control is part of the functions designed and evaluated
in this research. This chapter describes the design of controller for process control. There
are 11 process control loops which are given in Appendix B. Focus is given to the SG
Tank level control to illustrate the detail analysis and design process. Other loops are
tuned based on experience.
SP E
Controller Process
+ M PV
_
For controller algorithm in DCS system, such as DeltaV system, the control strategies
could be advanced control strategies. The NPCTF in this research is tested with PID
controllers which are widely used in variable industries.
53
Error (E) is defined as the deviation from set-point [35]. For different DCS systems, the
definition of error may be different. In DelatV system, E is defined as [28]:
E = SP – PV (4.1)
where
SP is an input variable that sets the desired value of the controlled variable manually,
automatically, or by means of a program in the same units as the controlled variable.
PV is the process variable to be controlled, such as water temperature, pressure, level, etc.
Proportional action keeps the output of the controller in proportion to the error:
K c is the controller gain. E is the error between set-point and process variable. M is the
output of the controller. The term C is necessary since it is hard to be the case that zero
error coincides with zero controller output.
In order to obtain the value of the controller output, it also needs to know C. Therefore,
another form of controller output is often used. Assume current error is En, and previous
error is En-1, then we have:
54
Using this version to calculate the controller output, it needs to calculate the current and
previous errors between set-point and process variable.
Integral control eliminates the offset of the process variable from the set-point. It keeps
changing the controller output as long as the error exists:
I
dM K c
E (4.6)
dt
I is integral time. Integrate both sides, and the following can be obtained.
M Edt
I
Kc
(4.7)
M K c
I
Ts (4.8)
En
Very few industrial controllers use derivative action because of noise [35]. The principle
behind derivative action is if the error changes quickly, it can become large in the future.
Derivative action tries to prevent this change by changing the output in proportion to the
change rate of error E:
M Kc D
dE
(4.9)
dt
D is the derivative time which can be adjusted. The discrete form of the above equation
is:
55
En En 1
M n Kc D
(4.10)
Ts
Previous scan interval is:
En 1 En 2
M n 1 Kc D (4.11)
Ts
Subtracting (4.10) by (4.11)
Kc D
M ( En 2 En 1 En 2 ) (4.12)
Ts
For PI control:
M K c E Edt
I
1
(4.13)
M K c ( En En 1 ) s En
I
T
(4.14)
M Kc E Edt D
dE
I dt
1 (4.15)
Discrete form is:
M Kc ( En En 1 ) s En D ( En 2 En 1 En 2 )
I
T (4.16)
Ts
For example, valves CV-13 and CV-16 are used to control the water inventory pressure
P1, as shown in Figure 4.2. While CV-16 is mainly used to increase the pressure P1 and
CV-13 is used to decrease pressure P1, CV-16 can be closed to decrease the pressure P1
and CV-13 can be closed to increase the pressure P1. The question is that, if the pressure
P1 is increased, should it increase CV-16 or decrease CV-13? In order to solve this
conflict, the opening of one of the valves is fixed and another valve controls the process
variable. The two actuator loops and the fixed valves are shown in Table 4.1.
CV-13
P1
CV-16
CV-10(Fixed)
CV-16(Main)
CV-13(Fixed)
CV15(Fixed)
G( s) e s
Kp
1 ps
(4.17)
G( s) e s
Kp
a2 s a1s 1
2 (4.18)
The techniques available can be categorized into two approaches, open loop test and
close loop test. For the open loop test, the controller (if existing) is put into manual mode
and the disturbance is applied to the process through changing the output of the controller
(M). The response of the system is then measured. If the controller exists and provides
some level of control, the close loop test can be used to identify the process model. This
test is performed by putting the controller in Auto mode and changing the set-point of the
controller.
For this research, all the models are identified by the open loop test since the system is
new and no previous controller existed. The MATALB System Identification Tool is
used to identify the process model.
1. The data record. In this step, it should be decided what variables are to be measured
and what variables are to be applied to the process. How much data should be recorded?
59
What is the sampling time? The result is the input-output data for model developed. This
step is illustrated by “Experiment Design” and “Data” in Figure 4.3.
2. The set of models or the model structure. This step is the most important. The model
structure should be combined with the purpose of the model. If there is information about
the model structure and physical process, this information should be combined to
construct the model. The parameters are adjusted to reflect physical consideration. This
model set is called grey box. If there is no information about the physical process, the
parameter is adjusted to fit the data. This model set is called black box. This step includes
“Choose Model Set,” “Choose Criterion to Fit,” and “Calculate Model” in Figure 4.3.
3. The determination of the “best” model in the set, based on available data. This step
assesses the model quality. The basic approach is to compare the data produced by the
model with the experiment data. In Figure 4.3, this step includes the “Validate Model.”
Priori
Knowledge
Data Choose
Criterion to Fit
Calculate Model
No
Validate Model
Yes
In this research, the controller is put into Manual mode and output of the controller (MV)
is applied to the process. The process variable is measured. The output of the controller
is recorded as input data and the process variable as output data. By this method, the data
for modelling is recorded. The MATLAB System Identification tool is used to identify
the process model.
L4
CV-25 CV-18
The data was drawn from experiment described above, and the relationship between input
and output is shown in Figure 4.5. From the Figure 4.5, the response has time delay.
61
L4 (%)
CV-25 (%)
Time (s)
The MATLAB System Identification Tool and the PEM (Prediction Error Methods) are
used to estimate the model. It is an SOPDT (second-order-plus-dead-time) system. The
model is as following:
G( s) e 18s
0.007272
s(1 29.883s) (4.19)
This model has a 94.87% fit to the model. The Final Prediction Error (FPE) is 0.0073,
and the Mean Square Error (MSE) is 0.01152. Therefore, the designed model fits the
experiment’s data.
From Eqn. (4.19), the process has a time delay of 18 seconds. The delay is produced
because the control valve CV-25 is small, and the volume of the tank is big. It takes time
for level change becoming significant enough for the transmitter to be able to read the
change.
Definitions [39]:
SP E PV
Gc Gp
+
_
controller have been published. However, each one of these methods has at least one
flaw [41].
Ziegler Nichols (ZN) method is the basic and one of the most popular tuning techniques
mentioned in the literature. However, it is aggressive and easy to cause oscillation. The
IMC PID tuning method by Rivera [42] causes poor disturbance response for integrating
processes [43] [44]. The Simple Internal Model Control (SIMC) has good performance
for both integrating and pure time delay processes and for both setpoints and load
disturbances [45].
The SIMC method starts from the IMC PID tuning rules by Rivera [42], and is closely
related with direct synthesis tuning rules by Smith and Corripio [46]. It modifies the
integral term to improve disturbance rejection for integrating processes.
As indicated in [45], for integrating process with delay and lag with transfer function as
following:
e s
G p ( s) K p
s( 2 s 1)
(4.20)
the SIMC method uses the following tuning rule to calculate the parameters for cascade
PID (controller Gc) in the closed loop as shown in Figure 4.6:
Kc I 4( c ) D 2
K p ( c )
1
(4.21)
c is tuning parameter and determined by the trade-off between fast response (small value
of c) and stability (large value of c). For fast response, this value is suggested as c .
D D
For ideal PID, the tuning rule is
The SIMC tuning rules as indicated in equations (4.21) and (4.22) are used to calculate
the parameters of controller of SG Tank level control. For SG Tank level process, as
constructed in section 4.2.1, the model is
G( s) e 18s
0.007272
s(1 29.883s)
For this model, the process gain (K p), time delay (θ) and time constant ( 2) are as following:
c = θ = 18 seconds
Therefore,
Kp c
1 1
0.007 (18 18)
1 1
Kc = = = 4.0
D 2 = 29.88 seconds
D
a (1 ) = 1
I
29.88
= 1.21
144
After tuned by SIMC with the controller parameters of proportional gain of 4.84, integral
time of 174 seconds and derivative time of 24.6 seconds, the Bode diagram is shown in
65
Figure 4.7. As shown in the Figure 4.7, the gain margin is reduced from 8.31 (18.4dB) to
2.83 (9.04dB) which is between 1.7 and 4 suggested by Seborg [39]. The system is still
stable because the gain margin is greater than zero.
4.10. The overshoot and rise time (time to reach set-point) from MATLAB and NPCTF
are calculated in Table 4.2. It can be observed from the Table 4.2 that, the overshoots
between results from MALAB and NPCTF are similar. However, with the NPCTF
system, it takes more times to reach set-point because of the stiction and hysteresis of the
valves [35].
Figure
Table 4.2 Overshoot and rise time from simulation of MATLAB and NPCTF
experiments
In industry, the process model is often hard to obtain and the controller parameters are
generally obtained from a similar process and, thus, adjustment is necessary. Moreover,
there is always mismatch between the model and real process. Therefore, the controller
parameters, based on the model, are required to be adjusted. The PID parameters are
adjusted based on the effect of P (proportional), I (integral), or D (derivative) to the
performance of the process controller.
The general rule is that, for proportional only controller, increasing controller gain Kc
reduces the rise time and offset at steady state, but demonstrates more oscillation
behavior. The Proportional controller always has an offset at steady state. The rule is
shown in Figure 4.11.
2 4 6 8 10 12
minutes
Adding integral action can cancel the offset, but increase the overshoot. More integral
action, less integral time Ti, will reduce rise time, but increase overshoot, as shown in
Figure 4.12. Less integral action, more integral time Ti, takes a long time to achieve at set
point.
69
In fact, PI controller is adequate for many processes and simplifies the tuning procedure
when using empirical method.
2 4 6 8 10 12
minutes
Main function of derivative action is to anticipate the changing trend. For the process
with maintaining the rate of change, derivative action can be added in the controller.
Flow process will not maintain the current rate of change for any appreciable time in the
future and, thus, derivative action is not recommended in the flow control loop.
Temperature process responds slowly and tends to maintain the rate of change, so
derivative action is recommended for the temperature control loop [47].
The loops tuned by empirical method and their PID parameters are listed in Table 4.3.
70
Loops P I D MV
(Gain) (Reset: seconds (Rate:
per repeat) seconds)
PRESSURIZER_L 4.0 100.0 15.0 CV-16
PRESSURIZER_P 1.3 21.3 0.0 CV-9
4.4 Summary
In brief, this chapter explains the controller algorithm of all process control loops. SG
Tank level is given as an example to illustrate the model construction, analysis of the
model, and controller design and tuning. The design is compared in MATLAB
environment and NPCTF, and shows similar results. Other loops are tuned on empirical
method and parameters of the controller are given in this chapter.
71
Chapter 5
Evaluation and Testing of the DCS Operated NPCTF
The purpose of this chapter is to evaluate if the DeltaV system designed can perform the
functions described in Chapter 2 which mainly include: process control, sequence control,
safety systems and operation modes. The DelatV system is configured and programmed
in Chapter 3, and the process controllers are designed in Chapter 4. For safety systems,
safety conditions are created and checked if the safety systems in the DelatV system can
respond as described in Chapter 2. In operation modes, different operation modes are
selected and examined if the related actions, such as the opening or closing of the valves,
are performed as described in Chapter 2. Sequence control is involved during the start-up
of the system. During the start-up of the system, related tanks are inspected if they are
filled up sequentially. For process control, the set-points of controllers are changed from
different operating points and checked if there are oscillation for the responses and there
are too many overshoots.
In Figure 5.1, percentage overshoot is the amount by which the system output response
proceeds beyond the desired response, given by the formula (5.1):
72
M pt fv
P.O. 100%
(5.1)
fv
where
Rising time is defined as the time for a system to respond to a step input and attain a
response equal to a percentage of the magnitude of the input. For under-damped systems,
the 0% to 100% rise time is normally used, and for over-damped systems, the 10% to 90%
rise time is commonly used [38].
Settling time is the time required for the system output to settle within a certain
percentage of the input amplitude, such as 5% of the final value. In this research, 5% is
used to evaluate the performance [48].
When the set-point is dropped from 9 to 6, the response is shown in Figure 5.3. In Figure
5.3, there are four straight red lines which indicate the beginning and final set-point
values and error band of the final value. The blue line is the response curve. From Figure
74
5.3, it can be seen that the response has an overshoot of (6-5.71)/(9-6) = 9.7%, a rising
time of (52-30) = 22 seconds and a settling time of (70-30) = 40 seconds.
Error band
Figure 5.3 Performance characteristics of step response of decrease primary water flow
The increase of the set-point from 6 to 9 shows the response in Figure 5.4. In Figure 5.4,
six straight red lines indicate the beginning and final set-point, 10% and 90% total change
of set-point, and error band. From the curve, it can be found that the response is over-
damped and there is no overshoot. It has rising time of (63-49) = 14 seconds and a
settling time of (65-45) = 20 seconds.
Error band
90% change
10% change
Figure 5.4 Performance characteristics of step response of increase primary water flow
75
The step response is over-damped to increase the set-point and under-damped to decrease
the flow. Moreover, it responds faster when increasing the set-point. Therefore,
characteristics of increasing the flow and decreasing the flow are different and, somehow,
nonlinear.
When drop heater outlet temperature set-point goes from 30℃ to 25℃, the temperature
response is shown in Figure 5.6. The blue line shows the temperature response with time.
Four straight lines indicate the beginning and final set-point values and error band of the
final value. From the curve, it can be seen that the overshoot is (25-24.85)/(30-25) = 3%,
rising time is (177-52) = 125 seconds, and settling time is (143-52) = 91 seconds.
Error band
When the temperature set-point is increased from 25℃ to 30℃, the transient response is
shown in Figure 5.7. The rise time is calculated from 10% to 90%. It has a rise time of
(148-86) = 62 seconds and a settling time of (185-82) = 103 seconds. The system is a
poor damping system and difficult to describe the system using the second-order model
giving the oscillatory performance.
77
Error band
90% change
10% change
Comparing the responses between increasing and decreasing the temperature setpoint, it
responds faster when increasing the set-point. Therefore, the characteristics of increasing
the temperature and decreasing the temperature are different and nonlinear.
When the set-point of tank pressure is changed from 0psig to 2 psig, the pressure
response is shown as a blue line, as in Figure 5.9. . Its response is over-damped, and the
rise time is calculated from 10% to 90%. It has an offset which is (2-1.866)/2 = 7.25%
and rise time of (104-17) = 87 seconds.
79
90% change
10% change
The response from 2psig to 3psig is shown in Figure 5.10. It has a bigger offset which is
(3-2.8)/(3-2) = 20%. It has a settling time of (176-31) = 145 seconds when a 20% offset is
acceptable.
The response from 3psig to 4psig is shown in Figure 5.11. It has a bigger offset which is
(4-3.36)/(4-3) = 65%.
Therefore, the step response from 0psig to 2psig, 2psig to 3psig, and 3psig to 4psig is
different and the process is nonlinear. The controller can control the HX Tank pressure.
When increasing the set-point of the pressure of the pressurizer from 2psig to 3psig, the
response is shown in Figure 5.13. The response has an overshoot of (3.066-3)/(3-2.108) =
7.4% and a rise time of (138-55) = 83 seconds.
If the set-point is changed from 3psig to 4psig, its response is shown in Figure 5.14. It is
over-damped and has an offset of (4-3.907)/(4-3.008) = 9.4% and rise time of (117-34) =
83 seconds.
The response in Figure 5.15 shows an increase in the set point from 4psig to 5psig. It is
over-damped and has an offset of (5-4.975)/(5-3.911) = 2.3% and rise time of (42-25) =
17 seconds.
90% change
10% change
Therefore, the response from 2psig to 3psig is under-damped and 3psig to 4psig and
4psig to 5psig are over-damped. The process is nonlinear. The controller can control the
pressure of the Pressurizer.
When the set-point of the level is increased from 42% to 45%, in fact 42.85% to 45%, it
takes (397-59) = 338 seconds to reach the maximum. It has an overshoot of (46.13-
45)/(45-42.85) = 52.6% and a rise time of (245-59) = 185 seconds.
84
When the set-point of the level is increased from 45% to 50%, it takes 289-42=247
seconds to reach the maximum. It has an overshoot of (51.77-50)/(50-45) = 35.4% and a
rise time of 132-42 = 90 seconds.
In conclusion, the response from 42% to 45% and 45% to 50% are different and, thus,
nonlinear. The controller can control the process without oscillation.
85
When the set-point of the level is increased from 30% to 35%, the response is shown in
Figure 5.20. It takes (210-54) = 156 seconds to reach the maximum. It does not have an
overshoot and rise time of (126-54) = 72 seconds.
86
90% change
10% change
Figure 5.20 Upper Tank level step response from 30% to 35%
When the set-point of the level is increased from 35% to 40%, the response is shown in
Figure 5.21. It takes (189-49) = 140 seconds to reach the maximum. It has an overshoot
of (41.03-40)/(40-35) = 20.6% and a rise time of (125-49) = 76 seconds.
Figure 5.21 Upper tank level step response from 35% to 40%
When the set-point of the level is increased from 40% to 45%, the response is shown in
Figure 5.22. It takes (189-49) = 116 seconds to reach the maximum. It has an overshoot
87
Figure 5.22 Upper tank level step response from 40% to 45%
In conclusion, the responses from 30% to 35%, 35% to 40%, and 40% to 45% are
different and nonlinear. The figures show that the controller can control the process
without oscillation.
When the set-point of the pressure controller is increased from 3psig to 5psig, its
response is shown in Figure 5.24. It takes (296-125) = 171 seconds to reach the
maximum. It has an overshoot of (5.715-5)/(5-3.076) = 37.2% and a rise time of (247-125)
= 122 seconds. Therefore the overshoot is high, but only takes 2 minutes to reach the set-
point. The controller can control the pressure.
89
Figure 5.24 Primary water pressure P1 step response from 3 psig to 5 psig
In conclusion, most of the processes are, somehow, nonlinear. The PID tuning that has
good performance at one operating point does not have perfect performance at other
operating points. Some processes have very nonlinear characteristics and it is better to
develop nonlinear control techniques in future research. However, the controllers
designed can reasonably control the process.
Pressurizer, it sends an order to close CV-13. However, it takes time for CV-13 to close.
During this time, water is fed into the Upper Tank and, thus, its level increases until the
CV-13 closes as indicated in Figure 5.26. After the process switches to fill in the HX
Tank and valve CV-11 is requested to close, it takes time for CV-11 to close. Water is
still fed to Pressurizer and thus Pressurizer level L3 is still increasing, as indicated in
Figure 5.26
Figure 5.36 NPCTF system diagram during “Close With Pressurizer Mode”
100
Figure 5.37 NPCTF system diagram during “Close Without Pressurizer Mode”
101
5.5 Summary
In summary, the implemented four control functions on NPCTF are evaluated in this
Chapter, including process control, sequence control, safety systems and operation modes,
which are designed in Chapters 3 and 4. From the evaluation results shown above, it can
be concluded that the DeltaV DCS can perform all of these functions.
103
Chapter 6
Conclusions
This thesis focuses on the programming and implementation of a DCS platform for
NPCTF. The main functions of this NPCTF are discussed. The functions are also
presented in logic diagrams. These functions are implemented in DCS system. Therefore,
a popular industrial DCS system, DelatV, is designed and built to operate the NPCTF.
The DelatV is setup and configured. Programming architecture is designed to organize
these functions under one “plant” in DCS. Industrial languages are used to program the
algorithm of these functions. HMI is created to operate and monitor the NPCTF. The SG
Tank level control loop is selected to demonstrate the process of design, a controller
starting from the model, model analysis and controller design. Using the MATAB system
identification tool, the model of the SG Tank level control is created and analyzed. Then
the controller parameters are calculated from the model and applied to controller of
DeltaV DCS. The response in the NPCTF proves that the method of design of the
controller based on the model can control the process. Response comparison between
MATLAB and NPCTF is similar. After the system is implemented, it is commissioned to
perform the functions.
The evaluation of the system concludes that this DeltaV DCS can implement the
functions of the NPCTF. When the designed safety conditions are satisfied, the safety
systems of SDS1 or SDS2 or ECC can perform designed actions, such as shut off heater.
For the process control, designed controllers can control the process variables through
manipulating related variables. Under start-up sequence control, the DCS operates to
satisfy the fill up requirement of pipes and tanks. The operator or researcher can select
the different operation modes to satisfy their requirements via HMI. Not only can HMI
supervise the process, observe and record parameter trends, but it can also operate the
NPCTF system and change the controllers’ parameters to satisfy the superficial research
requirements. In conclusion, the objective of the research is satisfied.
104
The control system requirements of NPCTF are discussed. The requirements are
summarized as process control, safety systems, sequence control, and operation
modes. They are expressed in logic diagrams.
from field devices are calibrated to indicate the real device status. They are also
checked to be shown correctly in the HMI and workstation.
The SG Tank level control process model is developed within operating range of
36% to 44% using the MATLAB system identification tool. The model is used to
analyze the stability of the process and design the controller parameters. The
parameters calculated from the model are applied to the NPCTF system. Its
responses prove that the controller designed from the model can control the
process within operating tange of 36% to 44%. Also, the SG Tank level control
system is compared between MATLAB and NPCTF and show that the response is
similar.
Other process loops, except SG Tank level control, are tuned with the empirical
method to have as better responses as possible.
Even though the current design of controllers can control the system, the
evaluation results show different characteristic responses at different operating
106
points. Some loops, such as the Upper Tank level control, show more nonlinear
characteristic since the Upper Tank is designed as a nonlinear system. Nonlinear
controller or methods are suggested to control such processes.
107
References
[1] G. L. Brooks, A Short History of the CANDU Nuclear Power System, January 1993.
[2] Ontario Power Generation, Unit Operational Control, pp. 136-138, April 1993.
[3] CANDU 6 Program Team, Candu 6 Technical Summary, pp. 62, June 2005.
[6] G. T. Bereznai, Nuclear Power Plant Systems and Operation, University of Ontario
Institute Technology, 2011.
[8] K. Kant, Computer-Based Industrial Control, 2nd, PHI Learning Pvt. Ltd, 2013.
[9] S. K. Singh, Computer-Aided Process Control, PHI Learning Pvt. Ltd, 2004.
[11] T. Samad, “System architecture for process automation: Review and trends,”
Journal of Process Control, v 17, n 3, pp. 191-201, March 2007.
[12] S. K. Singh, Industrial Instrumentation and Control, 3rd, New Delhi, 2012.
[13] IDE Technologies, Practical Distributed Control Systems for Engineer and
Technician, Revision 6.1, 2012.
[14] L. F. Wang and K. C. Tan, Modern Industrial Automation Software Design, Wiley-
IEEE Press. Febuary 2006.
[15] M. Beharrell and R. Barillere, “OPC Evolution toward UNIX,” 10th ICALEPCS Int.
Conf. on Accelerator & Large Expt. Physics Control Systems. Geneva,
10-14 October, 2005.
[16] K. C. Kwon and M. Lee, “Technical Review on the Localized Digital
108
[17] S. F. Gray and S. Basu, “Turbine Control System Upgrade for Bruce Nuclear Plant
Units 1 and 2,” IEEE International Conference on Electro/Information Technology,
June 2009.
[24] Worldwide DCS Market Shares (%) Source : ARC Advisory Group, 2013.
[25] CIES Research Group of UWO, Nuclear Power Control Test Facility (NPCTF) User
Manual, first draft, 2015.
[27] J. P. Morgan, Global Industrial Automation, Global Equity Research, June 2010.
[29] X. L. Cui and Z. C. Zhou, “The Algorithm of Translation between the Ladder
Language and the Sentence Table Language of PLC,” Microelectronics and
Computer, vol. 17, NO. I, pp. 26-30, 2000.
[32] IDC Technologies, Practical Industrial Programming Using 61131-3 for PLCs,
2007.
[33] IEC 62138, 2004. Nuclear Power Plant – Instrumentation and Control Important for
Safety – Software Aspects for Computer-based Systems Performing Category
B or C Functions.
[35] M. King, Process Control-A Practical Approach, John Wiley & Sons Ltd, UK, 2011.
[36] T. Liu and F. R. Gao, Industrial Process Identification and Control Design, Springer,
2012.
[37] L. Ljung, System Identification - Theory for the User, 2rd, Sweden,1999.
[38] R. C. Dorf and R. H. Bishop, Modern Control System, 12th ed, New Jersey,
Pearson, 2011.
[40] A. O'Dwyer, “A Summary of PI and PID Controller Tuning Rules for Processes with
Time Delay,” IFAC Workshop on Digital Control, pp. 175-180, Terrassa, Spain,
April 4-7, 2000.
[41] A. O’Dwyer, Handbook of PI and PID Controller Tuning Rules, 3rdedition, Imperial
College Press, London, 2009.
110
[45] S. Skogestad, “Probably the Best Simple PID Tuning Rules in the World,” Journal
of Process control , September 12, 2001.
[47] C. L. Smith, Practical Process Control-Tuning and Troubleshooting, John Wiley &
Son, Inc., US, 2009.
Appendices
A. List of I/O (input/output) signals
Table A.1 lists all of the I/O signals to and from the field devices. There are four kinds of
I/O signals: analog input (AI), analog output (AO), digital input (DI) and digital output
(DO). For this NPCTF system, there are signals of 25 AI, 20 AO, 3 DI, 12 DO. They are
connected to DeltaV IO cards through terminals in a DCS junction box and DeltaV
cabinet. Table A.1 lists the terminal numbers in the DCS junction box and DeltaV cabinet,
and cable label of all the signals. For example, AI signal C1_I is connected to terminals 1
in DeltaV cabinet and terminal 1 in DCS JB. The cable that connects the signal is in cable
bundle labelled “DLTV1”.
3 C2_I 4 C1_I2
5 RMP_I 7 C2_I1
7 F1_I 10 C2_I2
9 F2_I 13 RMP_I1
11 F3_I 16 RMP_I2
13 F4_I 19 F1_I1
112
15 L1_I 22 F1_I2
19 L3_I 28 F2_I2
21 L4_I 31 F3_I1
23 P1_I 34 F3_I2
27 P3_I 40 F4_I2
29 P4_I 43 L1_I1
31 T1_I 46 L1_I2
35 T2_2_I 52 T4_I2
37 T2_3_I 55 L3_I1
39 T3_I 58 L3_I2
41 T5_I 61 L4_I1
43 T6_I 64 L4_I2
45 T7_I 67 P1_I1
47 V1_I 70 P1_I2
67 C5_O 79 P3_I1
69 CV1_O 82 P3_I2
71 CV2_O 85 P4_I1
73 CV4_O 88 P4_I2
75 CV5_O 91 T1_I1
77 CV18_O 94 T1_I2
79 CV9_O 97 T2_1_I1
95 CV15_O
97 CV25_O AO3
173 CV18_O
176 CV9_O
179 CV10_O
182 CV13_O
185 CV16_O
191 CV19_O
194 CV21_O
197 CV34_O
203 CV25_O
206 CV8_O
209 CV12_O
214 SDS1_2
216 SDS2_1
218 SDS2_2
224 CV_20_
D1
226 CV_11_
D1
232
234
236 CV_14_
D1
238 CV_3_D
1
117
244 INTERM
246 HOME
118
CV-10(Fixed)
CV-17(Main)
HTR T2 > 39
Relay A
HX tank L4 < 25
HX tank L4 >101
HTR T2 > 41
Relay B
HX tank L4 < 23
HX tank L4 >103
HTR T2 > 43
Relay C
HX tank L4 < 20
HX tank L4 >105
HX tank L4 >108
SDS2
HTR T2 > 45 Shut off HTR
Each module includes different kinds of algorithm, such as function blocks or SFC
(Sequential Function Chart). Figures D.2 to D.135 show the detail algorithm of each
module. PID tuning parameters for each PID are also included in the figures of each
module.
122
D.8 HX_OUTLET_T
Figure D.12 SCLRS function block Figure D.13 LIM1 function block
131
D.9.5 Run
D.13 Ratio
Figure D.58 SCLR1 function block Figure D.59 SCLR3 function block
D.14 Safety
D.15 Sequence
Curriculum Vitae
Name: Ximing Liu
Graduate Diploma
1999-2001
International Law
Dalian Maritime University
Dalian, Liaoning, China
Publication:
X. L. Liu and J. Jiang, “Control Strategies in Supercritical Fossil Power Plant and Related
Considerations for Canadian SCWR Power Plants,” The 6th International Symposium on
Supercritical Water-Cooled Reactors (ISSCWR-6), 2013, China.