CN107181615A - A kind of method and device emulated to CRH2 TCNs - Google Patents

A kind of method and device emulated to CRH2 TCNs Download PDF

Info

Publication number
CN107181615A
CN107181615A CN201710355128.3A CN201710355128A CN107181615A CN 107181615 A CN107181615 A CN 107181615A CN 201710355128 A CN201710355128 A CN 201710355128A CN 107181615 A CN107181615 A CN 107181615A
Authority
CN
China
Prior art keywords
data
node
arcnet
control block
network
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.)
Pending
Application number
CN201710355128.3A
Other languages
Chinese (zh)
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.)
Central South University
Original Assignee
Central South 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 Central South University filed Critical Central South University
Priority to CN201710355128.3A priority Critical patent/CN107181615A/en
Publication of CN107181615A publication Critical patent/CN107181615A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of method and device for emulating CRH2 TCNs, communicate connection to form network model by setting the nodal analysis method including central node and terminal node, and by double loop network bus;Described nodal analysis method is realized by data generating module, data control block, ARCNET protocol realizations module and looped network data sending and receiving interface, described data control block communicates to connect data generating module, data control block and ARCNET protocol realization modules, described looped network data sending and receiving interface communication connection ARCNET protocol realization modules respectively.The technical effects of the invention are that, compared with traditional network simulation method to CRH2, the structure that the network simulation method that the present invention is disclosed is used is consistent with actual network structure.It is possible thereby to more accurately simulate CRH2 TCNs, and obtain more convictive data.

Description

A kind of method and device emulated to CRH2 TCNs
Technical field
The present invention relates to a kind of method and device emulated to CRH2 TCNs.
Background technology
With the continuous lifting of China's train running speed, China Railway High-speed enters the great-leap-forward development stage.Compared to Traditional train, bullet train needs to handle increasing information, such as Train Control, condition monitoring, fault diagnosis, passenger The information such as service.To meet above-mentioned needs, TCN arises at the historic moment.Above-mentioned bulk information can be carried out concentrate tube by it Reason and control, and allow above-mentioned substantial amounts information security, efficiently, it is quick, reliable, accurately transmit on whole train. Therefore for train, TCN is extremely important.
CRH2 type train information Transmission systems by the bus transfer information through train, and to train operating conditions and The relevant information of mobile unit action is managed concentratedly.The information transmission system is main to be believed by train information central means, train Cease terminal installation and other servicing units composition.CRH2 EMUs network control system is using train level and vehicle grade two-stage net Network structure.Train level network is the communication network of each vehicle of connection marshalling, for the purpose of Train Detection and Identification, connects each center dress Put and terminal installation, using dual ring network structure.Vehicle grade network is the communication network of equipment in connection compartment.
In recent years, TCN technology has caused interest and the attention of more and more research workers, wherein to it It is a kind of not only facilitated but also efficiently research approach to carry out analog simulation research.
However, mainly using bus-type network structure in the existing train network simulation study to CRH2, then tie herein Bicyclic web frame is logically realized on the basis of structure.But this structure and CRH2 TCN architectural difference are larger, it is impossible to More accurate more convictive data are obtained, so significant using the research of the emulation mode of bicyclic web frame.
The content of the invention
It is an object of the invention to solve " network structure and reality in traditional TCN emulation mode to CRH2 It is not inconsistent " the problem of, so as to solve that the simulation result that thus some bring is incorrect, obtain the problems such as data do not have convincingness.
In order to realize above-mentioned technical purpose, the technical scheme is that,
A kind of method emulated to CRH2 TCNs, comprises the following steps:
Set including the central node of correspondence train central means and the terminal node of correspondence train terminal installation Connection is communicated between multiple nodal analysis methods, each nodal analysis method by double loop network bus to go forward side by side line number to form network model According to transmission;
Described nodal analysis method passes through data generating module, data control block, ARCNET protocol realizations module and looped network Data sending and receiving interface realize, described data control block communicate to connect respectively data generating module, data control block and ARCNET protocol realization modules, described looped network data sending and receiving interface communication connection ARCNET protocol realization modules;
The step of data processing being carried out in a kind of described method emulated to CRH2 TCNs, nodal analysis method For:
Data generating module produces initial data, and transmit to data control block included unpacking to data, Interior control process is packaged in, data are transmitted after being handled through data control block to ARCNET protocol realization modules, to use ARCNET agreements are sent to double loop network by looped network data sending and receiving interface;When ARCNET protocol realizations module is from looped network When receiving data on data sending and receiving interface, then give data control block by data and be controlled after processing, then give data Processing module carries out final process.
A kind of described method emulated to CRH2 TCNs, described ARCNET protocol realizations module is used for real Now carried out data transmission using ARCNET agreements, concretely comprised the following steps:
ARCNET protocol realization modules first determine whether data source, if producing data from own node, are stored With etc. retransmit after token frame ITT to be obtained;If receiving data from double loop network, do not existed together according to frame type Reason:If token frame ITT, then the data of storage are sent;If accessing frame, then replied according to itself memory space, if having Enough memory spaces then reply acknowledgement frame ACK, otherwise reply and deny frame NAK.
When carrying out data transmission between a kind of described method emulated to CRH2 TCNs, each nodal analysis method, Comprise the following steps:
Present node is obtained after token, sends inquiry frame to destination node, destination node checks itself memory space, if having Space data storage then replys ACK, otherwise replys NAK;Think this time to send data failure if present node receives NAK, and Token is transmitted to next node;If present node receives ACK, data frame is sent to destination node, destination node receives laggard Row verification, if verifying errorless reply ACK and token being transmitted into next node, any frame is not otherwise replied;Present node is being waited After ACK is not received after preset time, then it is assumed that this time send data failure, token is transmitted to next node
A kind of device emulated to CRH2 TCNs, including connection is communicated with shape by double loop network bus Into multiple nodal analysis methods of network model, described nodal analysis method includes the central node of at least one correspondence train central means With the terminal node of multiple correspondence train terminal installations;
Described nodal analysis method includes data generating module, data control block, ARCNET protocol realizations module and looped network Data sending and receiving interface, described data control block communicates to connect data generating module, data control block and ARCNET respectively Protocol realization module, described looped network data sending and receiving interface communication connection ARCNET protocol realization modules.
The technical effects of the invention are that, compared with traditional network simulation method to CRH2, the network that the present invention is disclosed The structure that emulation mode is used is consistent with actual network structure.It is possible thereby to more accurately simulate CRH2 train communications Network, and obtain more convictive data.
Brief description of the drawings
Fig. 1 CRH2 TCN structures;
The network structure (network model) of Fig. 2 present invention;
The nodal analysis method of Fig. 3 present invention;
The process model of Fig. 4 present invention.
Embodiment
Referring to Fig. 2, in the network model that the present embodiment is used, wherein master1 and master2 are 2 central nodes, Node1 to nodeN is N number of terminal node, and N sections compartment is corresponded to respectively.Connect these nodes is double loop network, is mainly responsible for biography Pass the train level network information.
Because the corresponding analogue system of the method is realized based on OPNET softwares, so specific implementation will from network Model, nodal analysis method, process model these three aspects are designed.
1. network model is designed
CRH2 types train marshalling list is 4M4T, altogether 8 section compartment.Wherein the 2nd, 3,6,7 compartment is motor-car, and remaining is trailer. There is a station terminal device in each compartment, wherein also there are a central means in No. 1 and No. 8 compartments respectively in addition.Central means have There is train information management and the function of data is transmitted to train information terminal device;Terminal installation realizes mobile unit in each compartment Information transfer.In order to overcome many deficiencies in bus-network, the principle of this method is to abandon bus-type, and takes one kind The network structure consistent with true train.With reference to CRH2 TCN structures as shown in Figure 1, the network knot of final design Structure is as shown in Figure 2.Wherein master1 and master2 are 2 central nodes, and node1-node8 is 8 terminal nodes, right respectively Answer 8 section compartments.Connect this 10 devices is double loop network bus.From figure 2 it can be seen that the network structure of this scheme with it is true Real train network structure keeps highly consistent.
2. nodal analysis method is designed
Each node has corresponding nodal analysis method in Fig. 2.Design node model, exactly defines this node and specifically works Flow.For simplified model, in the simulation model that this method is designed, node_1 to node_8 nodal analysis method is substantially identical 's.By taking node1 as an example, Fig. 3 is node1 nodal analysis method.
From figure 3, it can be seen that nodal analysis method is made up of module one by one, these modules are independent process, it According to the division of labor difference and be individually present, combine, can complete complexity network development process.Simulation model one has 8 Individual scheduler module, it is as follows that they are each responsible for work:
src:Data generating module
sink:Data processing module
proc:Data control block
ARCNET_MAC:ARCNET protocol realization modules
Rcv_0 and xmt_0:First layer looped network data sending and receiving interface
Rcn_1 and xmt_1:Second layer looped network data sending and receiving interface
Wherein, the corresponding network function of vehicle grade of src with sink modules.The course of work of this node is as follows:Src modules Initial data (including order and general data) is produced, and gives proc modules and is controlled processing.Proc resume modules Mac modules can be handed over to after the data that complete upper strata is sent, it, by double loop network, data is transmitted using ARCNET agreements Onto transmission interface;If ARCNET_MAC modules receive data from receiving interface, give proc modules by data and carry out After control process, then give sink module final process.
3. process model is designed
Each module of nodal analysis method is process block one by one, and each process block has respective process model.Process Model is substantially exactly that can define its function in state transition diagram, each state by writing code.Again between states Affix various conditions during conversion, corresponding function is completed with this.In the simulation process of whole network, ARCNET_MAC enters Journey module is most important.ARCNET_MAC process model workflows are as shown in Figure 4.
The function of ARCNET_MAC modules is as follows:Node can carry out some initial works first, then wait pending data Arrive.If having transmitted data from upper layer module, data storage is got up, with etc. it is to be sent;If have received from network Data, are divided into 2 kinds of situations again:One is that of obtaining token frame, then can send data;Two are that of obtaining inquiry frame, then can basis Itself whether there is memory space to reply ACK or NAK frames.
Send the process of data:Assuming that A sends data to B, A, which obtains to send to B after token, inquires frame, and B checks that oneself is It is no to have space data storage, ACK or NAK is replied respectively.If that reply is NAK, A thinks this time to send data failure, Token is transmitted to next node;If ACK, A can send data frame to B, B is verified after receiving, and is replied if verification is errorless ACK, any frame is not otherwise replied.A also confiscates ACK after certain time is waited and just will be considered that this time transmission data failure, Token is transmitted to next node.

Claims (5)

1. a kind of method emulated to CRH2 TCNs, it is characterised in that comprise the following steps:
Set multiple including the central node of correspondence train central means and the terminal node of correspondence train terminal installation Communicate connection to form network model and carry out data biography by double loop network bus between nodal analysis method, each nodal analysis method It is defeated;
Described nodal analysis method passes through data generating module, data control block, ARCNET protocol realizations module and looped network data Sending and receiving interface realizes that described data control block communicates to connect data generating module, data control block and ARCNET respectively Protocol realization module, described looped network data sending and receiving interface communication connection ARCNET protocol realization modules;
2. a kind of method emulated to CRH2 TCNs according to claim 1, it is characterised in that nodal analysis method It is interior progress data processing the step of be:
Data generating module produces initial data, and transmits to data control block and included unpacking to data, packed Control process inside, data are transmitted after being handled through data control block to ARCNET protocol realization modules, to use ARCNET Agreement is sent to double loop network by looped network data sending and receiving interface;When ARCNET protocol realizations module from looped network data receive, When receiving data on hair interface, then give data control block by data and be controlled after processing, then give data processing mould Block carries out final process.
3. a kind of method emulated to CRH2 TCNs according to claim 1, it is characterised in that described ARCNET protocol realizations module is used to realize to be carried out data transmission using ARCNET agreements, is concretely comprised the following steps:
ARCNET protocol realization modules first determine whether data source, if from own node produce data, stored with etc. Retransmited after token frame ITT to be obtained;If receiving data from double loop network, different disposal is carried out according to frame type:If For token frame ITT, then the data of storage are sent;If accessing frame, then replied, deposited enough if having according to itself memory space Acknowledgement frame ACK is then replied in storage space, is otherwise replied and is denied frame NAK.
4. a kind of method emulated to CRH2 TCNs according to claim 3, it is characterised in that each node mould When carrying out data transmission between type, comprise the following steps:
Present node is obtained after token, sends inquiry frame to destination node, destination node checks itself memory space, if there is space Data storage then replys ACK, otherwise replys NAK;Think this time to send data failure if present node receives NAK, and military order Board is transmitted to next node;If present node receives ACK, data frame is sent to destination node, destination node carries out school after receiving Test, if verifying errorless reply ACK and token being transmitted into next node, any frame is not otherwise replied;Present node is waiting pre- If ACK is not received after the time, then it is assumed that this time send data failure, token is transmitted to next node
5. a kind of device emulated to CRH2 TCNs, it is characterised in that including mutually being communicated by double loop network bus Letter connection is to form multiple nodal analysis methods of network model, and described nodal analysis method includes at least one correspondence train central means Central node and multiple correspondence train terminal installations terminal node;
Described nodal analysis method includes data generating module, data control block, ARCNET protocol realizations module and looped network data Sending and receiving interface, described data control block communicates to connect data generating module, data control block and ARCNET agreements respectively Realize module, described looped network data sending and receiving interface communication connection ARCNET protocol realization modules.
CN201710355128.3A 2017-05-19 2017-05-19 A kind of method and device emulated to CRH2 TCNs Pending CN107181615A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710355128.3A CN107181615A (en) 2017-05-19 2017-05-19 A kind of method and device emulated to CRH2 TCNs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710355128.3A CN107181615A (en) 2017-05-19 2017-05-19 A kind of method and device emulated to CRH2 TCNs

Publications (1)

Publication Number Publication Date
CN107181615A true CN107181615A (en) 2017-09-19

Family

ID=59831446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710355128.3A Pending CN107181615A (en) 2017-05-19 2017-05-19 A kind of method and device emulated to CRH2 TCNs

Country Status (1)

Country Link
CN (1) CN107181615A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218423A (en) * 2018-09-12 2019-01-15 中车青岛四方机车车辆股份有限公司 A kind of train network system
CN110769443A (en) * 2019-10-21 2020-02-07 北京交通大学 Vehicle-vehicle communication performance analysis system based on stochastic Petri network
CN111071297A (en) * 2018-10-19 2020-04-28 中车唐山机车车辆有限公司 Train network control system and train
CN112298222A (en) * 2019-07-30 2021-02-02 株洲中车时代电气股份有限公司 Rail vehicle and communication network thereof
CN113067761A (en) * 2021-03-18 2021-07-02 北京航空航天大学 Linear token data bus simulation platform based on OPNET
CN113071535A (en) * 2020-01-03 2021-07-06 中车株洲电力机车研究所有限公司 Train and control network structure thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223277A (en) * 2010-04-15 2011-10-19 上海和旭电子科技有限公司 Design scheme for inter-station communication network of passenger dedicated railway
CN102801597A (en) * 2012-08-30 2012-11-28 北京交通大学 Ethernet-based train communication network implementation method
EP3000650A1 (en) * 2013-05-20 2016-03-30 Mitsubishi Electric Corporation Train information management device and train information management method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223277A (en) * 2010-04-15 2011-10-19 上海和旭电子科技有限公司 Design scheme for inter-station communication network of passenger dedicated railway
CN102801597A (en) * 2012-08-30 2012-11-28 北京交通大学 Ethernet-based train communication network implementation method
EP3000650A1 (en) * 2013-05-20 2016-03-30 Mitsubishi Electric Corporation Train information management device and train information management method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
巴全龙: "基于OPNET的ARCNET列车通信控制网络的建模与仿真", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218423A (en) * 2018-09-12 2019-01-15 中车青岛四方机车车辆股份有限公司 A kind of train network system
CN111071297A (en) * 2018-10-19 2020-04-28 中车唐山机车车辆有限公司 Train network control system and train
CN112298222A (en) * 2019-07-30 2021-02-02 株洲中车时代电气股份有限公司 Rail vehicle and communication network thereof
CN110769443A (en) * 2019-10-21 2020-02-07 北京交通大学 Vehicle-vehicle communication performance analysis system based on stochastic Petri network
CN110769443B (en) * 2019-10-21 2020-11-10 北京交通大学 Vehicle-vehicle communication performance analysis system based on stochastic Petri network
CN113071535A (en) * 2020-01-03 2021-07-06 中车株洲电力机车研究所有限公司 Train and control network structure thereof
CN113067761A (en) * 2021-03-18 2021-07-02 北京航空航天大学 Linear token data bus simulation platform based on OPNET

Similar Documents

Publication Publication Date Title
CN107181615A (en) A kind of method and device emulated to CRH2 TCNs
CN110674565A (en) On-loop simulation method and platform of vehicle-road cooperative system
CN103257650B (en) A kind of check system for train control system functional test
CN104601665A (en) System and method for real-time cloud simulation on Internet of things sensing device
WO2018196655A1 (en) Public network communication method for on-board electronic processing unit system
CN104320320A (en) Automatic configuration method for CAN bus slave node identifiers in automatic testing device
CN106658565A (en) Multilink preferential transmission method and device used for vehicle-ground wireless communication of rail traffic
CN109246059B (en) Automatic train monitoring system
CN106656594A (en) Cross-line communication simulation method for trackside device in interconnection system
CN105721208A (en) Intelligent substation process layer network modeling method based on OPNET
CN108255071A (en) A kind of emulation test system and method based on the bis- acquisitions of IO
CN110346155A (en) A kind of system and method for power car weight translocation examination
CN110022582A (en) A kind of vehicle-mounted monitoring information comprehensive transmission platform and method
CN106909752A (en) The analogue system of high-speed railway computer interlock system external interface test
CN105667548B (en) Railway freight-car train communication system
CN109218409A (en) Intelligent network connection automotive test monitoring and management platform based on broadband mobile internet
CN106713092A (en) Conversion system for vehicle-mounted CAN bus data and FlexRay bus data and conversion method thereof
CN105791025A (en) Automobile network communication system forward design method
CN206370956U (en) Multilink for rail vehicle ground wireless communication preferentially transmitting device
CN106506271A (en) Data communications method and device
CN109218423A (en) A kind of train network system
CN106354863A (en) System and method for managing rail-transit electronic map
CN112965463A (en) Remote diagnosis system and remote diagnosis method
CN108880948B (en) Equipment test verification system and method based on FC network
Xu et al. The modeling and analysis of data communication system (DCS) in communication based train control (CBTC) with colored Petri nets

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170919