Beruflich Dokumente
Kultur Dokumente
AbstractTo achieve intelligent control algorithm in control the pipe flow rate and the level of a nonlinear tank.
Foundation Fieldbus process control system, a method which MATLAB/Simulink is used to build the single neuron PID
combines LabVIEW and MATLAB to design a real time controller; Smar System 302 is used to configure the FF
intelligent control system is presented in this paper. The single devices; LabVIEW is used to program the human machine
neuron PID control algorithm programmed in MATLAB can interface (HMI). By combining HMI and single neuron PID
be stimulated by LabVIEW SIT, the communication between control algorithm with SIT (Simulation Interface Toolkit),
LabVIEW and fieldbus instruments can be established by the control and monitoring of the field devices are achieved.
OPC Server. The human machine interface is implemented The communication between host computer and field devices
based on the excellent interface building ability of LabVIEW,
is set up by OPC technology. Further more, the HMI is
and the HMI can be published to the internet to achieve
remote control. Through the single neuron PID control of
published to internet through web-server to achieve remote
linear flow rate and nonlinear tank level, good real-time ability control.
and effectiveness are verified. Experiment results show that the
single neuron PID controller based on hybrid MATLAB and II. SINGLE NEURON PID CONTROLLER
LabVIEW has quick control response and small steady-state
Single neuron PID controller has a simple structure and
error. Further more, this method can cover the control
algorithm shortage of Foundation Fieldbus.
can control systems with nonlinearity and uncertain
parameters well [2]. Fig.1 shows the structure.
Keywords-Single Neuron PID; Foundation Fieldbus;
MATLAB
I. INTRODUCTION
Foundation Fieldbus (FF) is one of the most vibrant
fieldbus technologies today. It has become irreplaceable in
the process control domain during more than ten years rapid
developing. It has many advantages such as reduced cabling, Figure 1. The structure diagram of single neuron PID controller.
ease of system diagnosis and maintenance and also reduced
commissioning time and cost for industrial plant [1]. The calculous part which has shown in the figure
Foundation Fieldbus is playing an increasingly important calculates three variables:
role in industrial control. However, conventional control
algorithms such as PID which used in FF system cant meet x1 (k ) = e(k )
the need if the plant is nonlinear, multivariable coupling and
x2 (k ) = e(k ) = e(k ) e(k 1) (1)
time-varying. For this reason, intelligent control algorithm
should implement into FF system in order to make a good x3 (k ) = 2e(k ) = e(k ) 2e(k 1) + e(k 2)
control performance on these complicated plants.
Using artificial neural network to control an object is an x1, x2 and x3 are the inputs of the controller, u(k) is the out
important field of intelligent control. Single neuron PID put of the controller, K is the proportionality coefficient, i is
control algorithm can adjust PID parameters adaptively to the weight of the inputs signal which presents the signal
meet the need of control effect and control precision without strength. x1, x2, x3 are added after weighting. Improved Hebb
considering the mathematical model of the system. learning algorithm is used here. The updating roles of i are
Comparing to the conventional PID control algorithm, single as follows:
neuron PID control algorithm is easy to tune the parameters, 1 (k ) = 1 (k 1) + P e(k )u (k )[e(k ) e(k )]
and presents better response and robustness.
In this paper, a single neuron PID controller is 2 (k ) = 2 (k 1) + i e(k )u(k )[e(k ) e(k )] (2)
implemented into Foundation Fieldbus control system to
(k )
i =1
3
A. Structure
FFIRCS consists of pipes, reservoir, tank, level meter, FF
electromagnetic flow meter (E+H Promag 53), FF digital
valve controller (Fisher DVC6010F), Foundation Fieldbus
universal bridge (Smar DFI302), frequency converter
(Omron 3G3MZ) and water pump. The frequency converter
drives the pump to pump the water from the reservoir to the
tank above. Under the tank, there is a valve that can make the
water in the tank get back to the reservoir. Besides that, there
is a level meter at the bottom of the tank. And the
electromagnetic flow meter and digital valve controller
which connected to the FF H1 network are implemented in
the pipes. The output of the level meter is 4-20mA signal
which transmitted to the analog input module DF44. Internet
is used to build the communication between host computer
and DFI302 that makes remote control possible. Smar
System302 is used to configure the Foundation Fieldbus Figure 2. The architecture of FFIRCS
devices; the write/read data from fieldbus are bound to the
The FF H1 network is formed by DFI302, digital valve
indicators or controls of LabVIEW; the single neuron PID
controller and electromagnetic flow meter. At the end of the
controller is programmed by MATLAB/Simulink; the
network BT302 (terminal resistance) is implemented. And
indicator and control in the HMI are linked to the input and
the output of level meter is linked to the analog input module
output of Simulink control model. When click the run
DF44. Then System 302 (7.0.5 Release) is used to configure
button of the HMI in LabVIEW environment, the single
all the devices.
neuron PID controller program of Simulink model will be
stimulated, and the HMI will be published to the internet by System302 is a high integrated software developed by
web-server. The architecture of FFIRCS is shown in Fig.2. Smar, it includes Syscon (Foundation Fieldbus configuration
module), LogicView (IEC-61131 Language logic compiler
B. Configuration of Foundation Fieldbus H1 module), AssetView (HART and Foundation Fieldbus
The Foundation Fieldbus bridge DFI302 is used in the equipment management module) and OPC server. At the
system. DFI302 is a key-interfacing element in the same time, it is based on TCP/IP; the customer can control
distributed architecture of field control systems. It combines and monitor the devices through internet. At first, open the
powerful communication features with direct I/O access and FBTools Wizard to confirm the internet connection between
advanced control for discrete and continuous applications. DFI302 and host computer; using Syscon to configure the
188
Foundation Fieldbus devices after confirming all the devices The communication can be set up after downloading the
DD (Device Description) files are loaded. Then add the FF configuration information of the system to the field devices.
bridge DF51, electromagnetic flow meter and digital valve Click export tags and update OPC Database, the value
controller into the fieldbus network. and status of each parameter can be updated, looked up and
changed on line. The configuration information of
After setting the parameters of Resource Block and Foundation Fieldbus is shown in Fig.3.
Transducer Block of different devices, add AI function block
of DF51 and set the CHANNEL parameter of the block
according to the realistic situation of slot and channel, then C. Hybrid Programming of MATLAB and LabVIEW
add AI function block of Promag 53, AO function block of In this paper, SIT (Simulation Interface Toolkit) is used
Fisher DVC6010F. Set MODE_BLK, XD_SCALE, to establish the seamless connection between LabVIEW and
PV_SCALE and other related parameters of AI and AO MATLAB. SIT is a toolkit which developed by NI (National
blocks. Instruments) to interact with Simulink.
Firstly, build single neuron PID controller model in
Simulink. Secondly, build human machine interface in
LabVIEW with DSC module (Datalogging and Supervisory
Control Module). At last, map the setpoint, PV and valve
position controls or indicators of LabVIEW to the input and
output blocks of Simulink model. When these three steps
have been done, the input of Simulink model can be real
time changed in LabVIEW environment on the running
mode; the output value of Simulink model also can
transmitted to the valve position output indicator in
LabVIEW [5].
In LabVIEW, the PVs (Process Value) are bound to the
DF51-AI-1.PV.VALUE and promag53-AI-1.PV.VALUE
tags of Smar.DfiOleServer; the valve position value is bound
Figure 3. The configuration information of Foundation Fieldbus
to the fisher-AO.SP.VALUE tag.
The changing of process values and valve position running the LabVIEW program. The setpoint value also can
values will be shown in the human machine interface once be changed online.
189
In order to achieve remote control and monitoring, Web
y ( t ) = F ( x ( t ))
Publishing Tool of LabVIEW is used to publish the HMI to
the internet as a website. Customer only need to type the d
F ( x) = k k ( k ( x k )) (6)
address of the HMI in Windows Explorer web browser, the
k =1
client computer will get access to the server through
internet. Thus, client computer which connected to the
server can control and monitoring the system remotely [6].
Fig.4 shows the website of published HMI with IP camera
interface embedded.
190
b. Valve position output signal chart
a. Flow rate control chart
Figure 10. Single closed loop nonlinear tank level control
VI. CONCLUSION
To enrich the control strategy of Foundation Fieldbus, a
single neuron PID controller based on hybrid MATLAB and
LabVIEW programming is presented. And this single
neuron PID controller is successfully implemented in
Foundation Fieldbus Intelligent Remote Control System. In
experiments of controlling linear flow rate and nonlinear
b. Valve position output signal chart
tank level, the single neuron PID controller which integrated
in FFIRCS shows good steady characteristic, quick output
Figure 9. Single closed loop flow rate control respond and high robustness. It is clear that the single
neuron PID controller based on hybrid MATLAB and
LabVIEW is easy to realize. And it also has good feasibility
B. Single Closed Loop Nonlinear Tank Level Control and control effect. At the same time, the single neuron PID
This nonlinear tank which used in the system can be algorithm can extend to other intelligent algorithms to meet
divided into two parts to describe. The top part is a cylinder, the needs of different control requirements.
and the lower part is a cone. This figure makes the tank has
a nonlinear characteristic. Besides that, the water goes ACKNOWLEDGMENT
directly into the tank with out relief device that increase the
disturbance of the tank. A step signal is given to the system. This work is supported by New Century Teaching
Record and observe the level and valve position change Reforming Program of Zhejiang Province (No. ZC09038).
during the whole process. Fig.10 is the nonlinear tank level
control chart. From this figure, single neuron PID controller REFERENCES
acts on nonlinear plant still shows a good steady [1] A. Fadaei and K. Salahshoor, Design and implementation of a new
characteristic. Although there is a little overshoot exist, but fuzzy PID controller for networked control system, ISA
this can be overcome soon. Transactions 2008; 47, pp.351-361
[2] Maohua Zhang, Changliang Xia, Yang Tian, Dan Liu, Zhiqiang Li,
To sum up, it is apparent that the single neuron PID Speed Control of Brushless DC Motor Based on Single Neuron PID
controller implemented in FFIRCS by hybrid MATLAB and and Wavelet Neural Network, IEEE International Conference on
LabVIEW has high feasibility. No matter to linear or Control and Automation 2007; pp.617-620
nonlinear plant, the single neuron PID controller presents [3] Min Han, Bing Han, Jianhui Xi, and Kotaro Hirasawa, Universal
good steady characteristic. The linking response is quick and learning network and its application for nonlinear system with long
has very small control lag. time delay, Computers and Chemical Engineering 2006; 31, pp.13-
20
[4] Smar Company, DFI302 Foundation Fieldbus Universal Bridge
Users Manual 2008
[5] National Instruments, Simulation Interface Toolkit document 2008
[6] K.D. Kim and Rizwan-uddin, A web-based nuclear simulator using
RELAP5 and LabVIEW, Nuclear Engineering and Design 2007;
237, pp.1185-1194
[7] Junghui Chen and Tien-Chih Huang, Applying neural networks to
on-line updated PID controllers for nonlinear process control,
Journal of Process Control 2004; 14, pp.211-230
191