Professional Documents
Culture Documents
Development of FPGA Based TCP/IP Communication Module For Embedded Systems of Nuclear Reactors
Development of FPGA Based TCP/IP Communication Module For Embedded Systems of Nuclear Reactors
Abstract—Distributed digital control architecture is being As per this architecture various sensors and actuators are
followed for plant data communication and control of final grouped and connected to nearest data acquisition & control
control elements in current and upcoming generation of nuclear systems (DAQs) placed in local control centers (LCC). With
power plants. Ethernet communication using TCP/IP protocol the help of switched network concept these DAQs are located
plays a key role in interconnecting over 40,000 signals that are in multiple LCCs to communicate their data and receive
geographically distributed across the plant with centralized control signals from the control room [2]. Approximately
server and display stations located in main control room. TCP/IP 40,000 signals are connected to central server in Prototype Fast
Communication modules are used in each embedded system for Breeder Reactor (PFBR). TCP/IP communication plays a key
sending and receiving digitized data over plant backbone.
role for successful operation of this architecture. Design of
Offloading TCP/IP communication tasks from the main
processor guarantees real time performance for safety critical
entire I&C for Nuclear Island is done indigenously for safety,
and safety related applications in nuclear power plant. This security and certification reason. Existing data acquisition &
approach simplifies software architecture and makes CPU control systems are designed with commercially available
function independent of communication tasks, thereby making TCP/IP modules which offload routine communication tasks
overall system dependable & predictable. Design of such TCP/IP from the main processor. This approach spares the CPU
communication module for better maintainability, smoother resources for time critical applications, makes the software
certification and replacement for commercially available module architecture simpler & reliable eliminating the need for porting
is described in this paper. real time operating system to the processor and hence the real
time safety critical tasks are executed independently of
Keywords— TCP/IP communication Module, FPGA, VHDL, communication tasks [3]. This TCP/IP communication module
Data Acquisition & Control System, PFBR is designed and developed in-house for upcoming fast breeder
reactors to improve upon number of socket support,
I. INTRODUCTION
certification process, eliminating dependency on third party
Prototype Fast Breeder Reactor is being commissioned at vendors and component obsolescence issues. This paper
Kalpakkam, India. All Safety Critical and Safety Related describes the hardware design of the above mentioned TCP/IP
instrumentation and control (I&C) systems are developed and communication module proposed for data acquisition &
qualified in-house by certification agencies [1]. Distributed control systems for upcoming nuclear reactors.
control architecture is used for current and upcoming fast
breeder reactors in India as shown in figure -1. This paper is organized as follows: Section-II describes the
design requirements for the communication module, Section-
III describes the concept behind this design, Section –IV
describes in performance of the RTL design on the
development board. Section – V describes the design details of
the final product. Section – VI describes the testing of this
module with one of the data acquisition system. Conclusion &
future work in described in section – VII.
Authorized licensed use limited to: University of Exeter. Downloaded on June 27,2020 at 18:25:42 UTC from IEEE Xplore. Restrictions apply.
2020 International Conference on Emerging Trends in Information Technology and Engineering (ic-ETITE)
3. Microprocessors / microcontroller based design with the overall software complex and difficult to validate
software TCP/IP stack shall not be used for better completely.
maintainability and avoiding software unreliability & 3. External SRAM or DDR memory is required for
complex operating system. executing the stack along with OS.
4. VHDL being a strongly typed language [6] shall be 4. More power consumption because of more number of
preferred over other hardware descriptive languages. components like processor, memory etc.
5. Design shall be done in accordance with IEC 62566 5. More space requirement
standard [7]. In view of the above mentioned issues, the approach
6. Register interface of the module shall be suitably illustrated in figure-2 is implemented. The logic for entire
designed to interface the TCP/IP engine with any TCP/IP stack (excluding Physical Layer functionality) is
parallel bus interface of processor or microcontroller implemented in VHDL and ported in to FPGA. Typical
based CPU card. TCP/IP protocol layers (best described in reference [5]) are
7. Sufficient memory shall be provided to store the send shown in figure-3.
& receive TCP/IP data and upon send or receive
command from the processor, the data shall be send
or received via TCP/IP communication.
8. Dimensions and electrical connections shall be
compatible with commercially available module
(60mm x 25mm).
9. Minimum of 10 parallel connections (Sockets) shall
be supported with data throughput better than 500
Kbps.
10. RTL as well as Hardware design shall be thoroughly
verified & validated by independent teams.
The block diagram of the desired system is shown in figure-2.
Authorized licensed use limited to: University of Exeter. Downloaded on June 27,2020 at 18:25:42 UTC from IEEE Xplore. Restrictions apply.
2020 International Conference on Emerging Trends in Information Technology and Engineering (ic-ETITE)
IV. PERFORMANCE TESTING ON THE REFERENCE BOARD Industrial grade FPGA device is selected to accommodate up
The multiple socket support was tested by running RTL to 3 times larger logic required for 20 sockets support. PHY is
design with 20 sockets support on FPGA development board selected to support RGMII interface. Level translators are
configured as a TCP server and connecting it via LAN cable provided for compatibility with 5V TTL devices. Dual
to desktop computer running 20 instances of Tera Term client redundant 120 MHz clock oscillators are provided for core
software as shown in figure - 5. For measuring throughput 1 logic operation. Flash is provided for power on FPGA
Mega Byte of data was written continuously into the send data configuration using BPI mode. RJ45 connector is chosen with
buffer and the number of clock periods required to send this integrated magnetics. Component placement and PCB layout
data was measured independently via a counter with clock is done to dimensionally and electrically match with the
period of 8.33 ns. The values of this 32 bit counter was commercially available TCP/IP module (Wiz-NM7010). The
observed via a Xilinx chipscope tool. The best performance layout is done in 12 layers. Fabricated module is shown in
was achieved when we were able to transmit 8 Mbyte of data figure – 7.
through a switched network in 3.78 sec over IGCAR LAN
which meant the data throughput of 2.11 Mbps.
Authorized licensed use limited to: University of Exeter. Downloaded on June 27,2020 at 18:25:42 UTC from IEEE Xplore. Restrictions apply.
2020 International Conference on Emerging Trends in Information Technology and Engineering (ic-ETITE)
This DAQs acquire data from field input/output boards and used in various DAQs which offloads the communication
communicates data to control room server via TCP/IP tasks from CPUs without affecting real time performance.
communication and the command issued from servers (display FPGA based TCP/IP communication modules are
stations) is received by this DAQs and appropriate output is indigenously designed for secured plant data communication,
generated. For testing this system a Qt based client software white-box testing, independent verification & validation,
(GUI) (shown in figure-10) was developed which receives smoother certification, performance enhancements and
TCP/IP data from DAQs (communication module) and also overcoming component obsolescence issues up to certain
provides command interface. 545 bytes of data is extent. All the layers of TCP/IP protocol except Physical layer
communicated every second to 4 different sockets. After are implemented using VHDL and ported on to FPGA. This
continuous testing the satisfactory performance of the TCP/IP communication module is also tested with a reference data
module was concluded. acquisition and control system. In future the verification of the
RTL design using Universal Verification Methodology and
performance evaluation of the module on the existing CPU
board of PFBR will be done.
REFERENCES
Authorized licensed use limited to: University of Exeter. Downloaded on June 27,2020 at 18:25:42 UTC from IEEE Xplore. Restrictions apply.