CN101963798B - Embedded-type rail transit station equipment information collection method - Google Patents

Embedded-type rail transit station equipment information collection method Download PDF

Info

Publication number
CN101963798B
CN101963798B CN2010102165496A CN201010216549A CN101963798B CN 101963798 B CN101963798 B CN 101963798B CN 2010102165496 A CN2010102165496 A CN 2010102165496A CN 201010216549 A CN201010216549 A CN 201010216549A CN 101963798 B CN101963798 B CN 101963798B
Authority
CN
China
Prior art keywords
station equipment
equipment information
plc
embedded
rail transit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2010102165496A
Other languages
Chinese (zh)
Other versions
CN101963798A (en
Inventor
梁盼盼
周虎
杨建国
刘晓芝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Donghua University
Original Assignee
Donghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Donghua University filed Critical Donghua University
Priority to CN2010102165496A priority Critical patent/CN101963798B/en
Publication of CN101963798A publication Critical patent/CN101963798A/en
Application granted granted Critical
Publication of CN101963798B publication Critical patent/CN101963798B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Programmable Controllers (AREA)

Abstract

The invention relates to an embedded-type rail transit station equipment information collector comprising an ReWorks embedded-type real-time operation system, a system configuration module, a standard information output module and a programmable logic controller (PLC) communication module, wherein the standard information output module and the PLC communication module are respectively connected with the system configuration module; the PLC communication module is set according to different communication protocols, protocol band rates, data bits, stop bits, check bits and check methods; the standard information output module causes an I/O contact and an internal register controlled by PLC of different lines on site to respectively correspond to different units of the memory of the embedded-type rail transit station equipment information collector, thus monitoring a computer to access the station equipment information collector according to the standard object linking and embedding (OLE) for process control (OPC) protocol; and the system configuration module correspondingly configures the operation process of the whole software system. The invention solves the problem that equipment information is interconnected and intercommunicated under the rail transit networking environment, and has the characteristics of high performance, high reliability and high instantaneity.

Description

Embedded railway traffic station equipment information collecting method
Technical field
The invention belongs to the rail transit station equipment technical field, particularly relate to a kind of embedded railway traffic station equipment information collecting method.
Background technology
China's track traffic has been selected country variant supplier's professional control system for use in different construction periods, because these companies technical background, standard and standard separately is not the same, the mutual difference of function is also incompatible.When track traffic presents networked construction operation, make information acquisition, information issue, Centralized Monitoring, car ground information interaction and the system integration etc. of whole network equipment state all cause many obstacles.
After the track traffic network forms, must carry out unified planning to the control center of whole network, to consider the resource sharing of many circuit control centers simultaneously.In order to satisfy the demand of rail transit station equipment supervisory system networking operation; Research and develop a kind of crucial electronics system---rail transit station equipment information harvester; Its main functional advantage is to utilize COM, the DCOM technology of Microsoft, accomplishes to have nothing to do with concrete equipment (for example PLC) communication protocol of bottom, and the interface relevant with hardware and operating system the application program on upper strata encapsulates fully; Upper system to the station equipment monitoring; The variation of complete imperceptible bottom hardware environment also can be satisfied the needs of program run on different operating system simultaneously, under different system, adopts unified interface.This equipment is the basis with OPC (OLE for Process Control) Server technology; Exploitation realizes on ReWorks real time operating system platform; Information stores forwarding mechanism under the different systems is provided; Realize the unified description of isomery information isomorphismization, solved the information interconnection and interflow problem of different systems system.The ReWorks embedded real-time operating system comprises taproot modules such as task, task communication, interruption, unusual, clock, signal and timer, contains the basic I/O system of control desk and serial ports, file system, network system and graphics system.Meanwhile, the ReWorks system can also with the VxWorks system compatible.Reworks is highly reliable, a hard real time embedded real-time operating system, adopts micro-kernel and component technology, can according to application need to operating system nucleus be configured, cutting, expansion and customization, possess stronger flexible ability.
For the ReWorks embedded software developing provides the software of overall process support with operation is ReDe3.ReDe 3 is that one and Embedded Software Design, exploitation, debugging, emulation are tested, test, the integrated development platform that is deployed in one.It is the basis with the Eclipse opening architecture, and CASE instrument such as integrated real-time embedded software modeling and test provides the team develops ability; Possessed perfect Tool Chain administration configuration ability; Have the instruction-level simulation capacity, the embedded graphic Application development environ-ment of What You See Is What You Get is provided, possess host development environment and targeted environment collaborative work ability; And abundant goal systems running tool is provided; Possess external resource and import recognition capability automatically, provide software resource multiplexing mechanism, possess powerful embedded software customization and allocative abilities and integrated deployment and collision detection mechanism.
OPC is the abbreviation of OLE for Process Control, promptly is applied to industrial control field to OLE.The OLE original meaning is object linking and embedding, along with the distribution of OLE 2, its scope head and shoulders above this notion.Present OLE has contained many new characteristics, like uniform data transmission, structured storage and robotization, has become a kind of standard that is independent of computerese, operating system even hardware platform, is the further popularization of Object-oriented Programming Design notion.OPC sets up on the OLE standard, and it provides a kind of data access mechanism of standard for industrial control field.
Industrial control field is used a large amount of field apparatuss, and before OPC occurred, the software developer need develop a large amount of drivers and connect these equipment.Even some slight changes have been done by hardware supplier on hardware, application program just possibly need to rewrite; Simultaneously, because the driver of distinct device even same equipment different units also might be different, the software developer is difficult to simultaneously these equipment conducted interviews with Optimizing operation.Hardware supplier also addresses this problem in trial, yet because different clients have different needs, also exists different Data Transport Protocols simultaneously, therefore also never has total solution.
After OPC proposed, this problem was resolved finally.The OPC standard comprises opc server and two parts of OPC client; Its essence is and between hardware supplier and software developer, set up complete " rule " of a cover; As long as follow this cover rule; Data interaction all is transparent concerning both, and hardware supplier need not to consider the multiple demand and the host-host protocol of application program, and the software developer also need not to understand the essence and the operating process of hardware.Adopt the solution of OPC standard as shown in Figure 1.
Adopt the superiority of OPC:
1) hardware supplier only need provide a cover to meet the package of OPC Server standard, need not to consider engineering staff's demand.
2) software developer need not to rewrite a large amount of device drivers.
3) engineering staff has had more selection in lectotype selection.
4) OPC has expanded the notion of equipment.As long as meet the standard of opc server, OPC client can carry out data interaction with it, actually or and need not understanding equipment PLC instrument, even on Database Systems, set up the OPC standard, OPC client also can realize data interaction with it easily.
Summary of the invention
Technical matters to be solved by this invention provides the telecommunication media and the stipulations of a kind of OPC of utilization technology and standard; Realize the homogeneity of bottom isomery equipment; And unification provides equipment state and warning message to the upper strata supervisory system; Solve under the track traffic network environment problem that facility information interconnects.
The technical solution adopted for the present invention to solve the technical problems is: the method that a kind of embedded railway traffic station equipment information collection machine is provided; Use a kind of embedded railway traffic station equipment information collection machine; Comprise the ReWorks embedded real-time operating system; Opc server and OPC client, and monitor and use computing machine, described monitoring links to each other with the station equipment information collection machine with computing machine; Described station equipment information collection machine comprises the system configuration module, and coupled respectively standard information output module and plc communication module; Described plc communication module is provided with the plc communication module according to baud rate, data bit, position of rest, check bit and the method for calibration of different communication protocol, agreement; Described standard information output module corresponds respectively to embedded station equipment information collection machine internal memory different units with I/O contact, the internal register of the PLC control of the different circuits in scene, and supervisory control comuter is through standard OPC stipulations visit station equipment information collection machine; The system configuration module disposes the operational process of whole software system accordingly, comprises the following steps:
(1) start, whether detect has client to insert;
(2) then set up with the client communication socket if having; Then do not return step (1) if having;
(3) detect whether break link of client;
(4) receive client data, carry out data processing after, return step (3); If the client is break link, whether the detection of then returning in the step (1) has client to insert.
Data processing in the described step (4) is difference control PLC and the communication mode that connects according to the scene, the state of each critical registers of rail transit station equipment information harvester poll and input and output terminal, and refresh image register in real time; State and the flush buffers of each PLC of rail transit station equipment information harvester poll, and by the monitoring send querying command with computing machine, rail transit station equipment information harvester response command.
Beneficial effect
The present invention utilizes the telecommunication media and the stipulations of OPC technology and standard, realizes the homogeneity of bottom isomery equipment, and unifies to the upper strata supervisory system equipment state and warning message to be provided, and solves under the track traffic network environment problem that facility information interconnects.The present invention has high-performance, high reliability, high real-time, satisfies the characteristics of rail transit station equipment monitoring function.
Description of drawings
Fig. 1 is existing OPC visit standard synoptic diagram.
Fig. 2 is station equipment information collection machine overall framework figure of the present invention.
Fig. 3 uses the main-machine communication mission flow diagram for embedded station equipment information collection machine of the present invention and monitoring.
Fig. 4 is station equipment information collection machine of the present invention and plc communication diagnostic task process flow diagram.
Embodiment
Below in conjunction with specific embodiment, further set forth the present invention.Should be understood that these embodiment only to be used to the present invention is described and be not used in the restriction scope of the present invention.Should be understood that in addition those skilled in the art can do various changes or modification to the present invention after the content of having read the present invention's instruction, these equivalent form of values fall within the application's appended claims institute restricted portion equally.
The software of rail transit station equipment information harvester is operation platform with the Reworks embedded OS, and software has high-performance, high reliability, high real-time, satisfies the characteristics of rail transit station equipment monitoring function.Its Core Feature is exactly to utilize the telecommunication media and the stipulations of OPC technology and standard; Realize the homogeneity of bottom isomery equipment; And unify to the upper strata supervisory system equipment state and warning message to be provided, solve under the track traffic network environment problem that facility information interconnects.
As shown in Figure 2; The present invention includes the ReWorks embedded real-time operating system; Opc server and OPC client, and monitor and use computing machine, described monitoring links to each other with the station equipment information collection machine with computing machine; Described station equipment information collection machine comprises the system configuration module, and coupled respectively standard information output module and plc communication module; Described plc communication module is provided with the plc communication module according to baud rate, data bit, position of rest, check bit and the method for calibration of different communication protocol, agreement; Described standard information output module corresponds respectively to embedded station equipment information collection machine internal memory different units with I/O contact, the internal register of the PLC control of the different circuits in scene, and supervisory control comuter is through standard OPC stipulations visit station equipment information collection machine; The system configuration module disposes the operational process of whole software system accordingly.
Individual module is specific as follows:
(1) plc communication module
The plc communication module must be used according to the PLC at scene and be provided with, and Panasonic has been used in the exploitation of this station equipment information collection machine, Mitsubishi, the PLC of Schneider.If insert the PLC of other type, only need to increase corresponding communication module and get final product.When writing the plc communication module, to understand different communication protocol, and baud rate, data bit, position of rest, check bit and the method for calibration etc. of each agreement.
(2) based on the standard information output module of OPC Server/TCP
The essence of embedded station equipment information collection machine is a device that storage is transmitted; I/O contact, the internal register of the PLC control of on-the-spot different circuits correspond respectively to embedded station equipment information collection machine internal memory different units; Through the virtual map of this physical location, the control information of different circuits in fact all concentrates in the embedded station equipment information collection machine.Like this, supervisory control comuter does not need directly to visit field controller, and only need avoid the obstacle in the controller access of different communication stipulations through standard OPC stipulations visit station equipment information collection machine.
(3) system configuration module
System configuration module significant feature is exactly that operational process to the whole software system disposes accordingly, to improve the operational efficiency and the correctness of system.
The treatment scheme of master routine of the present invention is: beginning → initialization system variable → with PLC end communication port setting (serial ports etc.) → network server end setting → set up some communication tasks → end.
Since with monitoring be Ethernet OPC Server/TCP with the communication mode of main frame, so use is based on the Socket programming mode of client/server.So-called socket is also referred to as " socket " usually, is used to describe IP address and port, is the handle of a communication chain.Application program is perhaps replied network requests through " socket " to the network request of sending usually.Embedded station equipment information collection machine and the communication task process flow diagram of monitoring with main frame, as shown in Figure 3.
Because be the data transmission on Transmission Control Protocol, and TCP is connection-oriented reliable transmission, system must intercept the connection situation at any time, the safety of guaranteeing data is with accurate.The essence of data processing module is that storage is transmitted, and the rail transit station equipment information harvester is according to the instruction of supervisory control comuter, coming on the status information capture of each PLC, after the translation-protocol, sends to monitoring with the form of standard OPC message and uses main frame.
According to difference control PLC and the communication mode that the scene connects, the state of each critical registers of rail transit station equipment information harvester poll and input and output terminal, and refresh image register in real time.Here, the rail transit station equipment information harvester is played the part of role initiatively, the state of each PLC of poll and flush buffers; And when up transmitting information; Be to adopt passive mode, promptly send querying command with main frame, by rail transit station equipment information harvester response command by monitoring.
Have multiplely with the communication mode of PLC, most of PLC discloses the agreement of its programming port, and the user only need inquire about and transmitting control commands through this agreement; But some PLC does not disclose any programming communication mode, can only solve through free port communications mode, and the added burden of bringing is the program that possibly need to increase or change the PLC end.
The monitoring in real time of rail transit station equipment information harvester is controlled the communications status of PLC with each, if there is the communication of certain PLC to break down, then should upwards report to the police.Embedded railway traffic station equipment information collection machine has been opened up the communications status that each PLC is stored in the memory block of fixing specially.Monitor workstation is judged communications status through reading this named cache.Its diagnostic process can be represented with Fig. 4.
The rail transit station equipment information harvester provides unified access mode, and the computing machine on any network can read or revise data in buffer through the access mode of OPC Server/TCP, and this possibly cause potential safety hazard.The way that solves is to intercept in the process what the rail transit station equipment information harvester connected, and whether first discrimination the other side's IP address is legal IP address.The IP address list of station equipment information collection machine is visited in system's legal having the right of storage in advance; This address list can Dynamic Maintenance; Has only the identical monitoring in certain IP address in IP address and the tabulation with the main frame rail transit station equipment information harvester of just having the right to visit; Thereby can avoid illegal user to invade, the safety of protection total system.

Claims (2)

1. an embedded railway traffic station equipment information collecting method is characterized in that, uses a kind of embedded railway traffic station equipment information collection machine; This harvester comprises the ReWorks embedded real-time operating system; Opc server and OPC client, and monitor and use computing machine, described monitoring links to each other with the station equipment information collection machine with computing machine; Described station equipment information collection machine comprises the system configuration module, and coupled respectively standard information output module and plc communication module; Described plc communication module is provided with the plc communication module according to baud rate, data bit, position of rest, check bit and the method for calibration of different communication protocol, agreement; Described standard information output module corresponds respectively to embedded station equipment information collection machine internal memory different units with I/O contact, the internal register of the PLC control of the different circuits in scene, and supervisory control comuter is through standard OPC stipulations visit station equipment information collection machine; The system configuration module disposes the operational process of whole software system accordingly, comprises the following steps:
(1) start, whether detect has client to insert;
(2) then set up with the client communication socket if having; Then do not return step (1) if having;
(3) detect whether break link of client;
(4) receive client data, carry out data processing after, return step (3); If the client is break link, whether the detection of then returning in the step (1) has client to insert.
2. a kind of embedded railway traffic station equipment information collecting method according to claim 1; It is characterized in that: the data processing in the described step (4) is difference control PLC and the communication mode that connects according to the scene; The state of each critical registers of rail transit station equipment information harvester poll and input and output terminal, and refresh image register in real time; State and the flush buffers of each PLC of rail transit station equipment information harvester poll, and by the monitoring send querying command with computing machine, rail transit station equipment information harvester response command.
CN2010102165496A 2010-06-29 2010-06-29 Embedded-type rail transit station equipment information collection method Expired - Fee Related CN101963798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102165496A CN101963798B (en) 2010-06-29 2010-06-29 Embedded-type rail transit station equipment information collection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102165496A CN101963798B (en) 2010-06-29 2010-06-29 Embedded-type rail transit station equipment information collection method

Publications (2)

Publication Number Publication Date
CN101963798A CN101963798A (en) 2011-02-02
CN101963798B true CN101963798B (en) 2012-10-31

Family

ID=43516712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102165496A Expired - Fee Related CN101963798B (en) 2010-06-29 2010-06-29 Embedded-type rail transit station equipment information collection method

Country Status (1)

Country Link
CN (1) CN101963798B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102354191B (en) * 2011-09-06 2013-03-27 中联重科股份有限公司 Method for communicating with PLC and upper computer
CN104423954B (en) * 2013-09-04 2018-01-19 深圳市康必达智能科技有限公司 A kind of control system
CN104345722B (en) * 2014-11-18 2017-09-29 深圳达实智能股份有限公司 A kind of method for solving urban track traffic Escalator information island
CN107070911A (en) * 2017-04-07 2017-08-18 青岛海信网络科技股份有限公司 The method and traffic comprehensive monitoring system of a kind of information transfer
CN109582379B (en) * 2018-12-05 2022-03-11 北京和利时系统工程有限公司 Programmable logic controller system based on microkernel operating system and control method
CN110320853A (en) * 2019-07-30 2019-10-11 翼石电子股份有限公司 A kind of plc data capturing analysis method and system
CN110769005B (en) * 2019-11-11 2022-03-08 交控科技股份有限公司 Multi-professional multi-system multi-protocol data acquisition method for rail transit
CN111413918B (en) * 2020-03-05 2021-05-28 明珞汽车装备(上海)有限公司 Method, system and storage medium for processing creation data of OPC communication label
CN113075901B (en) * 2020-05-18 2022-09-16 上海嘉九信息技术有限公司 PLC data acquisition method and acquisition system
CN112910910B (en) * 2021-02-08 2022-07-19 深圳融安网络科技有限公司 Method, device, equipment and storage medium for processing OPCDA protocol message

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4013250B2 (en) * 2003-01-14 2007-11-28 横河電機株式会社 OPC communication station

Also Published As

Publication number Publication date
CN101963798A (en) 2011-02-02

Similar Documents

Publication Publication Date Title
CN101963798B (en) Embedded-type rail transit station equipment information collection method
US11106838B2 (en) Systems, methods, and apparatus to generate an integrated modular architecture model
ES2737301T3 (en) Protection and control system for intelligent substation based on industrial internet architecture
CN100392539C (en) Method and process managment system for operation of technical plant
CN101849230B (en) Sharing legacy devices in a multi-host environment
CN103178996B (en) Distributed packet-switching chip model verification system and method
CN102591306B (en) Dual-system assembly type industrial robot controller
CN104301151A (en) Movement operation and maintenance system and method of power communication network
CN102685134A (en) Communication managing machine capable of being comprehensively realized based on extensible markup language and dynamic library
CN103699074B (en) CAN communication control device in a kind of current transformer and communication method
CN101013315A (en) General numerical control system based on full digital ring bus
CN104635708A (en) OPC UA (Unified Architecture) data acquisition module based on I-MX287 processor
CN103608735A (en) Simulation system, method for carrying out a simulation, control system and computer program product
CN106155264A (en) The computer approach of the power consumption of management storage subsystem and computer system
CN201863869U (en) Train simulation system based on MVB (multifunction vehicle bus) network
CN103597414A (en) Simulation system, method for carrying out a simulation, guidance system and computer programme product
CN106375204A (en) Intelligent gateway system and operation method thereof
CN102809957A (en) Systems and methods for identifying foundation fieldbus linking devices
CN209218118U (en) A kind of portable multi-function gateway equipment for train
CN102291337A (en) Gateway for switching communication based on EtherCAT (Ethernet for Control and Automation Technology) protocol and Profibus-DP (Process Field Bus-Decentralized Periphery) protocol and communication method thereof
CN101013314A (en) Integrated numerical control system based on full digital ring bus
CN104243172B (en) The extension input/output unit and method of a kind of scattered control system
CN200997073Y (en) Universal digital-controlled system based on digital ring bus
CN201917907U (en) Equipment applied to simulated train MVB (Multifunction Vehicle Bus) network environment
CN103149909A (en) Field programmable gate array (FPGA)-based controller area network (CAN) simulation node system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121031

Termination date: 20150629

EXPY Termination of patent right or utility model