M out of N Safety Computing System Based on General-Purpose Computers

Similar documents
Design of SCADA power Distribution Monitoring System based on PLC and Configuration Software

The Application of CAN Bus in Intelligent Substation Automation System Yuehua HUANG 1, a, Ruiyong LIU 2, b, Peipei YANG 3, C, Dongxu XIANG 4,D

Study of Smart Home System based on Zigbee Wireless Sensor System. Jie Huang 1

International Conference on Advances in Mechanical Engineering and Industrial Informatics (AMEII 2015)

A Network Disk Device Based on Web Accessing

Agriculture Wireless Temperature and Humidity Sensor Network Based on ZigBee Technology

The Design and Implementation of Disaster Recovery in Dual-active Cloud Center

Construction Scheme for Cloud Platform of NSFC Information System

Design of Smart Home System Based on ZigBee Technology and R&D for Application

Design of Coal Mine Power Supply Monitoring System

Autonomous System Network Topology Discovery Algorithm Based On OSPF Protocol

International Conference on Information Sciences, Machinery, Materials and Energy (ICISMME 2015)

Design of the 4-DOF Parallel Robot Control System Based on EtherCAT Cunfeng Kang1, a, Yukun Zheng1, b

Multisource Remote Sensing Data Mining System Construction in Cloud Computing Environment Dong YinDi 1, Liu ChengJun 1

The Analysis and Research of IPTV Set-top Box System. Fangyan Bai 1, Qi Sun 2

Beijing, China,

Research on Software Scheduling Technology Based on Multi-Buffered Parallel Encryption

Design and Realization of Agricultural Information Intelligent Processing and Application Platform

Design of Switching System Based on FC-AE-1553 Bus

Shared-network scheme of SMV and GOOSE in smart substation

The Application of Wireless Sensor in Aquaculture Water Quality Monitoring

Control System for Electrical Exploding Wire Opening Switch Experimental Equipment

Research on Availability of Virtual Machine Hot Standby based on Double Shadow Page Tables

Improvement of the Communication Protocol Conversion Equipment Based on Embedded Multi-MCU and μc/os-ii

A liquid level control system based on LabVIEW and MATLAB hybrid programming

The Design of Supermarket Electronic Shopping Guide System Based on ZigBee Communication

Construction and Application of Cloud Data Center in University

Unstructured Data Migration and Dump Technology of Large-scale Enterprises

Wireless Smart Home Security System Based on Android

Research on Approach of Equipment Status and Operation Information Acquisition Based on Equipment Control Bus

An Automatic Control Method of Foam Spraying Glue Machine based on DMC Yu-An HEa,*, Tian CHENb

Application of Redundant Backup Technology in Network Security

Sundance Multiprocessor Technology Limited. Capture Demo For Intech Unit / Module Number: C Hong. EVP6472 Intech Demo. Abstract

Research on Embedded CNC Device Based on ARM and FPGA

Jacquard Control System of Warp Knitting Machine Based on Embedded System

Performance Degradation Assessment and Fault Diagnosis of Bearing Based on EMD and PCA-SOM

The Design of the Embedded WEB Server Based on ENC28J60

Dual-System Warm Standby of Remote Sensing Satellite Control System Technology

PS2 VGA Peripheral Based Arithmetic Application Using Micro Blaze Processor

Application of Theory and Technology of Wireless Sensor Network System for Soil Environmental Monitoring

Research on Device Control System Design Based on Stepping Motor. Zhongyong Tian

, ,China. Keywords: CAN BUS,Environmental Factors,Data Collection,Roll Call.

Dual Redundant Flight Control System Design for Microminiature UAV Xiao-Lin ZHANG 1,a, Hai-Sheng Li 2,b, Dan-Dan YUAN 2,c

The Discussion of 500kV Centralized Monitoring System for Large Operation and Large Maintenance Mode

Lightning Protection Performance Assessment of Transmission Line Based on ATP model Automatic Generation

Embedded Smart Home System Based on ZigBee Song Chi

Hardware Design. MicroBlaze 7.1. This material exempt per Department of Commerce license exception TSU Xilinx, Inc. All Rights Reserved

A New Method Of VPN Based On LSP Technology

Analysis of Virtual Local Area Networking Technology. Zheng Zhang

RESEARCH ON CROSS PLATFORM DEVELOPMENT MODEL BASED ON QUICK QT Xiaohua Zhang1, a, Bo Huang2, b

RAIL SIGNALLING SOLUTIONS

A priority based dynamic bandwidth scheduling in SDN networks 1

Published by: PIONEER RESEARCH & DEVELOPMENT GROUP(

The Design of CAN Bus Communication System Based on MCP2515 and S3C2440 Jinmei Liu, Junhong Wang, Donghui Sun

A Tentative Study on Ward Monitoring System based on Zigbee Technology Jifeng Liang

Design and Implementation of Smart Gateway Based on Wireless Communication Technique

Design and Implementation of Inspection System for Lift Based on Android Platform Yan Zhang1, a, Yanping Hu2,b

Validation of a Real-time AVS Encoder on FPGA

Design and Implementation of Remote Push System of Resources Based on Internet

Hardware Design. University of Pannonia Dept. Of Electrical Engineering and Information Systems. MicroBlaze v.8.10 / v.8.20

The engine temperature real-time monitoring instrument based on Microcontroller. Wang Jiayue, Yue Yuntao, Luan Ru, Zhang Jianghui Qin Xin

Road Network Traffic Congestion Evaluation Simulation Model based on Complex Network Chao Luo

Implementation Of Harris Corner Matching Based On FPGA

Efficiency and memory footprint of Xilkernel for the Microblaze soft processor

Key Technology of Monitoring and Control for Coal Shearer Supporting Network Convergence

Research on Computer Network Virtual Laboratory based on ASP.NET. JIA Xuebin 1, a

Keywords: Motion Capture System, Virtual Interaction, Wireless Sensor Network, Motion Builder

Hardware-configuration based on FPGA for open CNC system

result, it is very important to design a simulation system for dynamic laser scanning

Performance Comparison and Analysis of Power Quality Web Services Based on REST and SOAP

Analysis on the application of on-chip redundancy in the safety-critical system

Design of analog acquisition and storage system about airborne flight data recorder

Research Article Mobile Storage and Search Engine of Information Oriented to Food Cloud

Automatic analysis technology for aviation equipment software requirements ZHOUHan-Qing, LI Hai-Feng,HUANG Yan-Bing

Design and Realization of TTE Network based on EDA

Implementation of Parallel CASINO Algorithm Based on MapReduce. Li Zhang a, Yijie Shi b

Research on the Application of Digital Images Based on the Computer Graphics. Jing Li 1, Bin Hu 2

The Design of Embedded Remote Intelligent Automotive Monitoring System based on GSM. Lijun Gao

Journal of Chemical and Pharmaceutical Research, 2014, 6(6): Research Article

Design of Underground Current Detection Nodes Based on ZigBee

An Solution of Network Service Oriented Operator Network Intrusion Prevention

Page 1 SPACEWIRE SEMINAR 4/5 NOVEMBER 2003 JF COLDEFY / C HONVAULT

Recovering the Communication of Power System Protection Quickly Via ZigBee Wireless Network for the Intelligent Protection Center Research

Analysis on the Application of On-chip Redundancy in the Safety-critical System

An intelligent LED landscape lighting system

A Modular k-nearest Neighbor Classification Method for Massively Parallel Text Categorization

The design and implementation of TPC encoder and decoder

Log System Based on Software Testing System Design And Implementation

A Remote Hot Standby System of Oracle

ECU Hardware-in-Loop Simulation System Design for Gas Engine based on Virtual Instruments

Journal of Chemical and Pharmaceutical Research, 2015, 7(3): Research Article

An Example of Network Video Monitoring System Based on DM6446. ChaoJun Yan

Building an Embedded Processor System on Xilinx NEXYS3 FPGA and Profiling an Application: A Tutorial

A novel priority selection system for nuclear power plant

Open Access A New Optical Design of Worm Precision Detection Based on FPGA

Research and Design of Communication based on Train Real-time Ethernet message data

Information Push Service of University Library in Network and Information Age

An Improved Frequent Pattern-growth Algorithm Based on Decomposition of the Transaction Database

Personal Grid Running at the Edge of Internet *

2 Proposed Methodology

Transcription:

International Conference on Computer and Information Technology Application (ICCITA 2016) M out of N Safety Computing System Based on General-Purpose Computers Xingya Dai1, a, Xinya Sun2, b, Wei Dong2, c, Xiang Yan3,d, Yindong Ji2,e 1 Department of Automation, Tsinghua University, Beijing 100084, China 2 Tsinghua National Laboratory for Information Science and Technology, Beijing 100084, China 3 Beijing National Railway Research & Design Institute of Signal & Communication Ltd., Beijing 100070, China a daixy13@mails.tsinghua.edu.cn, bxinyasun@tsinghua.edu.cn, cweidong@mail.tsinghua.edu.cn d yx@crscd.com.cn, ejyd@mail.tsinghua.edu.cn Keywords: M out of N; Redundant System; Safety; Reliability; Abstract. This paper designs an M out of N Safety Computing System based on general-purpose computers. The system consists of some computational nodes and a comparator. For the synchronization among the computational nodes, task synchronization was applied. The comparator designed based on the FPGA is implemented in the system. Test results shows that the safety and reliability of the M out of N Safety Computing System can meet the requirements of SIL4. Introduction With the development of the high-speed railway in China, the speed of the train is increasing, the safe problem came to the front of the people. The Train Control System plays an important role in the safe operation of the train. As the core of the Train Control System, it is necessary to design a high safe and reliable Safety Computing System. Currently existing systems are designed based on special-purpose computers, like hot standby system[1], 2 out of 3 system[2], and double 2 out of 2 system[3]. Not only they cost a lot, but also they are difficult to maintain. What s more, the existing systems which are lacking in data processing ability fail to meet the requirement of the high-speed railway, because they are limited by the clock synchronization of computational nodes. This paper, aiming at the shortcomings of the existing Safety Computing Systems, designs and implements an M out of N Safety Computing System based on general-purpose computers, by using task synchronization. The Architecture of the M out of N Safety Computing System The M out of N Safety Computing System consists of some computational nodes and a comparator. Its overall structure is shown in Fig.1. The resource pool of the computational nodes is mainly responsible for providing the computational nodes, and the computational nodes handle the data on the basis of the data processing logic. The comparator is mainly responsible for data distribution, computational nodes scheduling, and output decision. The Resource Pool of Computational Nodes. The resource pool of computational nodes integrate server resources using virtualization technology for the use of the upper virtual machine on the basis of multiple servers, and the servers transfer data through the outside world by Ethernet. As each server contains more than one virtual machine and each virtual machine corresponds to a computational node in the M out of N Safety Computing System, this article uses the bridge network model to solve the problem of computational node virtual LAN network address assignment, for the purpose of ensuring each computational node independently establish connection with the comparator. The bridge network model is to bridge the virtual network adapter and the physical adapter by the VMnet0 virtual switch of the VMWare Workstation, so as to put the virtual network adapter and the physical adapter at the same position in the network topology, which is to say the virtual network adapter and the physical adapter have the same gateway. Through the use of the bridge network model, each computational node acts as 2016. The authors - Published by Atlantis Press 90

one independent computer with a separate IP address, meanwhile, each computational node and server stay on the same gateway, which is convenient for the supervision and management of the comparator. Data I/O Interface Comparer Switch Virtual Switch Virtual Switch VM:redhat VM:XP VM:redhat VM:XP VM:Centos VM:Centos VM:ubuntu VM:Win 7 VM:ubuntu VM:Win 7 Server Host OS Server Host OS Resource Pool of Computational Nodes Application Logic Service Interface Fig.1 The Structure of M out of N Safety Computing System The Comparator. The comparator output the calculation results decision, so its failure will seriously affect the safety and reliability of the M out of N Safety Computing System. To decrease the probability of the failure and improve the safety and reliability of the M out of N Safety Computing System, this article designs the comparator based on the XILINX SPARTAN-6 series XC6SLX16-2 csg324 FPGA chip, and builds a system on the basis of The MicroBlaze IPCore in the chip in order to implement the key functions of the comparator. The underlying hardware structure of the comparator is shown in Fig.2. Fig.2 the Underlying Hardware of the Comparator MicroBlaze IPCore connects BRAM (Block RAM) through LMB (Local Memory Bus). The ILMB is used to transfer instruction and DLMB is used to transfer data. It would decrease the efficiency of LMB if overload. So this paper extend memory through external DDR, realize reading and writing by connecting AXI bus and SDRAM controller. It would be helpful to reduce the LMB bus load and promote the running efficiency of the comparator for large program to run on the DDR. And MicroBlaze connects with the Ethernet controller using the AXI bus in order to ensure the data interaction between the comparator and the outside. 91

The Main Function of the M out of N Safety Computing Platform The main function of the M out of N Safe Computing System including computational nodes synchronization function, the calculation results decision function and data processing logic setting function. The article will elaborate the above function. The Computational Nodes Synchronization Function. It is required that the input and output always remain the same when making the M out of N decision from the computing results for the system. So the synchronization of computational nodes is the foundation of making decision. Recently, clock synchronization, fixed cycle synchronization and task synchronization is widely used. Based on the requirement of the performance of the M out of N Safety Computing System, this paper synchronize the computational nodes through task synchronization, and the detail of the strategy is described as below. Assume that the serial numbers for the participating computational nodes are 1 to N. After the connection is established successfully, the comparator distributed data to the non-fault computational nodes. When firstly receiving the signal of the successful reception of the data, the comparator will begin to time. The computational node, which not returning the signal of successfully receiving the data within the prescribed time, would be seen as a failure and be interrupted, and its final decision output would be empty. After distributing the data, the comparator would send synchronous signal and the computational nodes will started to run. From the time that the comparator firstly receiving the output to the prescribed delay time, the computational node, which not returning the result would be thought as a failure and be interrupted, and its final decision output would be empty. It is in this way that ensuring the task of computing nodes would start and end at the same time so that achieving the result of task synchronization. The Calculation Results Decision Function. The M out of N Safety Computing System makes a decision based on the results that come back from the computational nodes. If the number of the same results is equal or bigger than M, then output the result. Otherwise output the fault signal. The specific process of the decision is shown in Fig.3. Fig.3 the Detail Process of Decision The process of decision is shown in Fig.3. This paper uses Moore s Voting Algorithm [4] to achieve the results of the comparison and decision. The specific process of the Algorithm is shown in Fig.4. 92

Fig.4 the Detail Process of The Moore s Voting Algorithm Firstly, setting the output R to null and its frequency of occurrence C is 0. Secondly, scanning the whole results queue in turn. If not arriving at the end of the queue, determining whether C is 0. If C is 0 resetting R to the current result and C=C+1, otherwise, we need to determine whether the current result equals R. If the current result equals R then C=C+1, or C=C-1. Thirdly, scanning the results queue to see the frequency of occurrence of R. If it is equal or greater than M then the output is R or as a failure. It is easy to see that the strategy of Moore s Voting would get the final decision output after scanning the results queue twice, so the time complexity of algorithm is O(n) and the space complexity is O(1). The Data Processing Logic Setting Function. The M out N Safety Computing System provides user the corresponding service unit for the convenience of user to formulate different data processing logic for each task. Users can derive the corresponding task processing subclasses according to the provided service interface base class, and realize the data processing logic function according to the corresponding task processing logic. The main functions and relating parameters of the service interface base class using in this article are shown in Table.1: Table.1 the Service Interface Base Class Name of function Parameter of function result double[] data_process(double[] data) data: data to be processed data processing results As is shown in Table.1, the user only need to implement the data processing logic based on the base class. Then the computational nodes could do the task on the basis of the data processing logic which was implemented by the user. Fig.5 shows the process of the data processing. 93

Start Accept Data Data Process Receive the Function Definition Function Output Fig.5 the process of data processing As is shown in Fig.5, the computational nodes use the data processing function according to the name of the data processing class. It is convenient for user to derive the corresponding task processing subclasses according to the provided service interface base class, and implement the data processing logic function according to the corresponding task processing logic. Analyzing The Safety Integrity of The M out of N Safety Computing System We have analyzed the safety integrity of the M out of N Safety Computing System based on the Markov Process in the paper which has been accept by the ITNEC 2016. It proves that the safety and reliability of the M out of N Safety Computing System is able to meet the requirement of the SIL4 (Safety Integrity Level 4). The results of the simulation test are shown in Fig.6 and Fig.7. Safety Reliability 1.0005 1 0.9995 0.999 0.9985 0.998 0.9975 0.997 0.9965 The Safety of the Redundancy System 0.996 0 0.5 1 1.5 2 2.5 Time/h x 10 4 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 Fig.6 the Safety of the Redundancy System The Reliability of Redundancy System 0 0 0.5 1 1.5 2 2.5 Time/h x 10 4 Fig.7 the Reliability of the Redundancy System 2 out of 3 double 2 out of 2 11 out of 20 12 out of 20 13 out of 20 14 out of 20 15 out of 20 16 out of 20 17 out of 20 18 out of 20 19 out of 20 20 out of 20 2 out of 3 double 2 out of 2 11 out of 20 12 out of 20 13 out of 20 14 out of 20 15 out of 20 16 out of 20 17 out of 20 18 out of 20 19 out of 20 20 out of 20 94

Fig.6 shows that when the M is bigger than 11 (the red line), the safety of the M out of N Safety Computing System is higher than the 2 out of 3 system. It also shows that the bigger the M is, the safer the M out of N Safety Computing System will be. Fig.7 shows that with the increase of the M, the reliability of the M out of N Safety Computing System will decrease. When the M is less than 14, the reliability of the M out of N Safety Computing System will be higher than the reliability of the double 2 out of 2 system. The results shows that if we select the appropriate proportion of the M and N, the safety and reliability of the M out of N Safety Computing System will be higher than the existing systems whose safety and reliability can meet the requirement of SIL4. So the safety and reliability of the M out of N Safety Computing System can meet the requirement of SIL4. In other words, the safety and reliability can meet relative requirement of the high-speed railway. Conclusion This paper designs and implements an M out of N Safety Computing System based on the general-purpose computers. The safety and reliability of the M out of N Safety Computing System is higher than the safety and reliability of the existing system. Meanwhile, compared with the existing systems, the M out of N Safety Computing System has a lot of advantages, such as low cost and high performance. So the M out of N Safety Computing System has broad application prospects in high-speed railway and other fields. Acknowledgements This work was supported by the Natural Science Foundation of China under Grants 61374123, 61490701, 61104019 and the Tsinghua University Initiative Scientific Research Program. References [1] Lu Y, Wang Q, Zhang B H, et al. Research on Fault-tolerant Technology for Computer System [J]. Computer Engineering, 2010, 13: 084. [2] Huang T, Chen X X, Huang H. Safety Computer System Based on 2 out of 3 Redundant Structure [J]. Computer Engineering, 2011, 18: 087. [3] Yi-li L. Double 2-vote-2 Computer-Based Interlocking System[J]. Computer Engineering, 2004, 30: 482-484. [4] Boyer R S, Moore J S. MJRTY a fast majority vote algorithm[m]. Springer Netherlands, 1991. [5] European Committee for Electrotechnical Standardization. European standard EN50126 railway applications: The specification and demonstration of Reliability, Availability, Maintainability and Safety (RAMS). 1999. [6] European Committee for Electrotechnical Standardization. European standard EN50128 railway applications: Software for railway control and protection systems. 2001. [7] European Committee for Electrotechnical Standardization. European standard EN50159-2 railway applications: Communication, signaling and processing systems (Safety related communication in closed transmission systems). 2001. [8] European Committee for Electrotechnical Standardization. European standard EN50129 railway applications: safety related electronic systems for signaling. 2003. 95