CN110321621A - The CBTC system automation test emulation mode of trackside emulator - Google Patents

The CBTC system automation test emulation mode of trackside emulator Download PDF

Info

Publication number
CN110321621A
CN110321621A CN201910567438.0A CN201910567438A CN110321621A CN 110321621 A CN110321621 A CN 110321621A CN 201910567438 A CN201910567438 A CN 201910567438A CN 110321621 A CN110321621 A CN 110321621A
Authority
CN
China
Prior art keywords
trackside
data
emulator
trackside equipment
fabric
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.)
Granted
Application number
CN201910567438.0A
Other languages
Chinese (zh)
Other versions
CN110321621B (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.)
Shanghai Electric Traffic Automation System Co Ltd
Original Assignee
Shanghai Electric Traffic Automation System Co Ltd
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 Shanghai Electric Traffic Automation System Co Ltd filed Critical Shanghai Electric Traffic Automation System Co Ltd
Priority to CN201910567438.0A priority Critical patent/CN110321621B/en
Publication of CN110321621A publication Critical patent/CN110321621A/en
Application granted granted Critical
Publication of CN110321621B publication Critical patent/CN110321621B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • 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]

Abstract

The invention discloses a kind of emulation modes of CBTC system automation test trackside emulator, comprising: each trackside equipment data in data form are read by the Python script write;Each trackside equipment IO in data form is read by the Python script write, and establishes I/O fabric;According to distinct device types of tissue trackside equipment data and its I/O fabric, " device type-data structure-I/O fabric " mapping relations are established;According to " device type-data structure-I/O fabric " mapping relations, trackside equipment state is read and is arranged.To improve efficiency and reliability.

Description

The CBTC system automation test emulation mode of trackside emulator
Technical field
The present invention relates to CBTC (train automatic controlling system based on communication) system automation testing fields, more particularly to The emulation mode of the trackside emulator of CBTC system automation test.
Background technique
Currently, CBTC system still relies on manual test to the verifying of trackside subsystem function, but for complicated yard, Input and output (IO) type and quantity are various.For example, basic route is likely to be breached hundreds of, the anti-track switch in side or conflict route are tested Card can be then tens times of basic route or more.Manually carrying out duplicate test to data has very big inconvenience and drawback.Cause This, needs to study automatic test, and the trackside emulator of one of key of automatic test, effective design of Simulation are very heavy It wants.
Summary of the invention
The purpose of the present invention is to provide a kind of emulation modes of CBTC system automation test trackside emulator, improve Efficiency and reliability.
Realizing the technical solution of above-mentioned purpose is:
A kind of CBTC system automation test emulation mode of trackside emulator, comprising:
Data are read by Python (a kind of explanation type computer programming language of the object-oriented) script write Each trackside equipment data in table;
Each trackside equipment IO in data form is read by the Python script write, and establishes I/O fabric;
According to distinct device types of tissue trackside equipment data and its I/O fabric, " device type-data structure-IO is established Structure " mapping relations;
According to " device type-data structure-I/O fabric " mapping relations, trackside equipment state is read and is arranged.
Preferably, between trackside emulator and trackside control unit or between trackside emulator and testing engine in real time Communication, trackside emulator is read and setting trackside equipment state.
Preferably, each trackside equipment data of reading include the definition data of each trackside equipment itself and its mutual Incidence relation data.
Preferably, trackside equipment IO include trackside equipment correspond to electrical subrack belonging to the title and its point of I/O object, Opposite point in board port and board,
I/O fabric are as follows: the three-decker of " with respect to point in electrical subrack-board port-board ".
Preferably, device type is divided into simple types and complicated type.
Preferably, it is counted while reading each trackside equipment data and trackside equipment IO by the Python script write According to verification.
The beneficial effects of the present invention are: the present invention reads trackside equipment data and its IO by writing Python script, mention Reading efficiency has been risen, and has effectively prevented data omission.Also, data check is carried out while reading, improves CBTC signal The data reliability of system and automatic test.By " device type-data structure-I/O fabric " mapping relations, survey is improved The gentle efficiency of the practice of the Automated water of examination.Because " device type-data structure-I/O fabric " mapping relations, can be based on message The real time communication of emulator and trackside control unit, high reliablity are realized in queue.
Detailed description of the invention
Fig. 1 is the flow chart of the emulation mode of CBTC system automation test trackside emulator of the invention;
Fig. 2 is the schematic diagram of CBTC system automation test structure;
Fig. 3 is the structural schematic diagram of the trackside equipment data in the present invention by taking track switch and track section as an example;
Fig. 4 is the hierarchical structure schematic diagram of trackside equipment I/O fabric in the present invention;
Fig. 5 is the schematic diagram of trackside equipment IO information in the present invention;
Fig. 6 is the schematic diagram of semaphore IO information in the present invention;
Fig. 7 is the flow chart of track switch simulation flow in the present invention.
Specific embodiment
The present invention will be further described with reference to the accompanying drawings.
CBTC system automation test structure includes three modules: testing engine, tested CBTC software signal system and The trackside emulator of external condition emulation is provided, as shown in Figure 2.Wherein, testing engine, which is contained, interacts acquisition with emulation module Or the interface of order trackside unit status.The key subsystem of tested CBTC software signal system includes mobile control unit (MCU), trackside equipment control unit (ECU) and control unit for vehicle (VCU), wherein containing the complete soft of three control units Part.Trackside emulator, which contains, receives trackside control unit to the control command of trackside component, and to trackside component control unit Send the emulation trackside component (Simulate ways ide element) of trackside unit status.
Referring to Fig. 1, CBTC system automation the test of the invention emulation mode of trackside emulator, including following step It is rapid:
Step S1 reads each trackside equipment data in data form by the Python script write.In data form, Divide the information of form definition trackside equipment according to distinct device type and service logic.It on the one hand include road by taking track switch as an example The definition of trouble position, i.e., the corresponding relationship for determining antiposition Yu left and right position of each track switch, for end item, there is also include left The three-throw turnout of right three kinds of positions.It on the other hand include the definition of track switch and other equipment such as track section incidence relation, track switch There are interaction relation between track switch, when receiving the order for coming Selftest Engine or some mobile track switch of trackside equipment control unit When, emulator needs to pull two track switches with interaction relation to designated position simultaneously, guarantees the two simultaneously in positioning Or it is in antiposition simultaneously, to meet signals security rule;Meanwhile track switch and track section have an incidence relation, i.e., each Track section where track switch is its switch section, carrys out Selftest Engine or trackside equipment control unit occupies some when receiving When the order of track switch, emulator needs to occupy corresponding switch section and locking track switch is to forbid pulling.Therefore, trackside is being read When device data, need to read and store simultaneously various trackside equipments itself definition data and its mutual incidence relation Data.
Accordingly, the structure of the trackside equipment data finally read is as shown in Figure 3.Fig. 3 is with track switch and two kinds of track section It is illustrated for equipment, due to the intrinsic coupling of rail traffic signal system, the especially complexity of interlocking of signals rule, In the trackside equipment data structure actually generated, the trackside equipment quantity of each type is even up to a hundred from several to dozens of Conjunction differs, and one-to-one, one-to-many and multi-to-multi association is widely present between same kind or different types of trackside equipment Relationship, it may be said that trackside data structure has biggish complexity.
Step S2 reads each trackside equipment IO in data form by the Python script write, and establishes I/O fabric. Trackside equipment is defined in data form corresponds to electrical subrack (Rack), board port belonging to the title and its point of I/O object (Port), the information such as opposite point (Bit) in board.In true CBTC signal system, trackside equipment control unit is root Specific trackside equipment control command is sent to trackside according to above- mentioned information, or receives the trackside equipment state letter from trackside Breath.Therefore, trackside emulator, which must obtain these information, could accurately send and receive information, with trackside equipment control unit and Testing engine interacts.I/O fabric are as follows: the three-decker of " with respect to point in electrical subrack-board port-board ", such as Fig. 4 It is shown.
Data check is carried out while reading each trackside equipment data and trackside equipment IO by the Python script write. Promote the data reliability of CBTC signal system and automatic test.
Different type trackside equipment has different I/O traffic logics, IO configuration and type of action, can substantially be divided into letter Single and complicated two kinds of situations, as shown in Figure 5.By taking semaphore as an example, service logic mainly includes the opening of various signals, according to Concrete configuration different service types (such as interlocking signalling, Wayside signal, shunting signal) have several different clearing signals; Correspondingly, it also includes several relays that emulator, which needs input point object to be simulated, output point object includes two filaments Relay;After receiving the input order from trackside equipment control unit and inputting point information, emulator needed in 2 seconds Movement, overtime then cause signal trouble, default simulated actions delay is 1 second.As shown in Figure 6.In Fig. 6, input is input, Output is output, and DJ is relay.
It should be noted that the movement of trackside emulator should consider two aspects: the first, regular event is accurate fast in guarantee While fast, the scene for simulating true trackside equipment movement, such as the movement of semaphore output relay should be also considered as far as possible Default delay is set as 1 second, is the reproduction to actual signal machine trackside actuating of relay delay, guarantees the true of emulation with this Property.The second, action failure is the case where true trackside equipment is likely to occur, and emulator must support fault simulation, this is also to survey The big event of examination, such as when semaphore order red signal, emulator simulation output relay status remain DJ fall and 2DJ is picked up, and is a kind of fault scenes.
Step S3 establishes " device type-data according to distinct device types of tissue trackside equipment data and its I/O fabric Structure-I/O fabric " mapping relations.The mapping relations are reading and the real-time channel that trackside equipment state is arranged, this channel Two kinds are broadly divided into, i.e. testing engine correlation is related to trackside equipment control unit.It is briefly described by taking track switch as an example.Such as Fig. 7 It is shown: when trackside emulator receives testing engine or after pulling track switch order of trackside equipment control unit, if checked Track switch current location is not inconsistent with command position, then needs to pull track switch, it is necessary first to which that checks track switch determines antiposition configuration, clearly to answer Track switch is pulled positioning or antiposition by this, and the lookup of the configuration information is based on " device type-data structure " mapping relations; Then need to check that point configures, with the point that should be clearly arranged, the lookup of the configuration information is based on " data structure-IO Structure " mapping relations;Finally, judging again after site setting success and reporting track switch current location, process terminates.As it can be seen that " setting Standby type-data structure-I/O fabric " mapping relations are reading and the real-time channel that trackside equipment state is arranged.
Step S4, according to " device type-data structure-I/O fabric " mapping relations, trackside emulator and trackside control are single Real time communication, trackside emulator read and are arranged trackside equipment state between member or between trackside emulator and testing engine.
Above embodiments are used for illustrative purposes only, rather than limitation of the present invention, the technology people in relation to technical field Member, without departing from the spirit and scope of the present invention, can also make various transformation or modification, therefore all equivalent Technical solution also should belong to scope of the invention, should be limited by each claim.

Claims (6)

1. the emulation mode that trackside emulator is used in a kind of CBTC system automation test characterized by comprising
Each trackside equipment data in data form are read by the Python script write;
Each trackside equipment IO in data form is read by the Python script write, and establishes I/O fabric;
According to distinct device types of tissue trackside equipment data and its I/O fabric, establish " device type-data structure-I/O fabric " Mapping relations;
According to " device type-data structure-I/O fabric " mapping relations, trackside equipment state is read and is arranged.
2. the emulation mode that trackside emulator is used in CBTC system automation test according to claim 1, which is characterized in that Real time communication, trackside emulator between trackside emulator and trackside control unit or between trackside emulator and testing engine Read and be arranged trackside equipment state.
3. the emulation mode that trackside emulator is used in CBTC system automation test according to claim 1, which is characterized in that Each trackside equipment data read include the definition data and its mutual incidence relation data of each trackside equipment itself.
4. the emulation mode that trackside emulator is used in CBTC system automation test according to claim 1, which is characterized in that Trackside equipment IO includes that trackside equipment corresponds in electrical subrack, board port belonging to the title and its point of I/O object and board Opposite point,
I/O fabric are as follows: the three-decker of " with respect to point in electrical subrack-board port-board ".
5. the emulation mode that trackside emulator is used in CBTC system automation test according to claim 1, which is characterized in that Device type is divided into simple types and complicated type.
6. the emulation mode that trackside emulator is used in CBTC system automation test according to claim 1, which is characterized in that Data check is carried out while reading each trackside equipment data and trackside equipment IO by the Python script write.
CN201910567438.0A 2019-06-27 2019-06-27 Simulation method of trackside simulator for CBTC system automation test Active CN110321621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910567438.0A CN110321621B (en) 2019-06-27 2019-06-27 Simulation method of trackside simulator for CBTC system automation test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910567438.0A CN110321621B (en) 2019-06-27 2019-06-27 Simulation method of trackside simulator for CBTC system automation test

Publications (2)

Publication Number Publication Date
CN110321621A true CN110321621A (en) 2019-10-11
CN110321621B CN110321621B (en) 2023-04-07

Family

ID=68120480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910567438.0A Active CN110321621B (en) 2019-06-27 2019-06-27 Simulation method of trackside simulator for CBTC system automation test

Country Status (1)

Country Link
CN (1) CN110321621B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112965918A (en) * 2021-05-18 2021-06-15 卡斯柯信号(北京)有限公司 Point-to-point testing method, system, equipment and storage medium for trackside equipment
CN113671422A (en) * 2021-09-06 2021-11-19 上海电气泰雷兹交通自动化系统有限公司 Automatic line calibration method for relay cabinet

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7177791B1 (en) * 2003-12-05 2007-02-13 Unisys Corporation Offline emulated input/output processor debugger
EP2001159A1 (en) * 2007-06-05 2008-12-10 Astrium Limited Remote support and testing of equipment
CN101719189A (en) * 2009-12-24 2010-06-02 卡斯柯信号有限公司 Simulator suitable for testing and training of ATS system
CN102975743A (en) * 2012-11-28 2013-03-20 北京交控科技有限公司 Method for automatically arranging trackside equipment
CN105677568A (en) * 2016-01-11 2016-06-15 上海富欣智能交通控制有限公司 Test scene generating method for railway signal computer interlocking system
CN108255071A (en) * 2017-12-28 2018-07-06 交控科技股份有限公司 A kind of emulation test system and method based on the bis- acquisitions of IO

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7177791B1 (en) * 2003-12-05 2007-02-13 Unisys Corporation Offline emulated input/output processor debugger
EP2001159A1 (en) * 2007-06-05 2008-12-10 Astrium Limited Remote support and testing of equipment
CN101719189A (en) * 2009-12-24 2010-06-02 卡斯柯信号有限公司 Simulator suitable for testing and training of ATS system
CN102975743A (en) * 2012-11-28 2013-03-20 北京交控科技有限公司 Method for automatically arranging trackside equipment
CN105677568A (en) * 2016-01-11 2016-06-15 上海富欣智能交通控制有限公司 Test scene generating method for railway signal computer interlocking system
CN108255071A (en) * 2017-12-28 2018-07-06 交控科技股份有限公司 A kind of emulation test system and method based on the bis- acquisitions of IO

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱勇等: "CBTC仿真测试系统线路数据可视化生成的设计与实现", 《铁路计算机应用》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112965918A (en) * 2021-05-18 2021-06-15 卡斯柯信号(北京)有限公司 Point-to-point testing method, system, equipment and storage medium for trackside equipment
CN113671422A (en) * 2021-09-06 2021-11-19 上海电气泰雷兹交通自动化系统有限公司 Automatic line calibration method for relay cabinet

Also Published As

Publication number Publication date
CN110321621B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN106802862B (en) Automatic test platform for safety key software of train operation control system
CN109649447A (en) A kind of distributed autonomic station autonomous controlling machine data automatic test approach and system
CN101976047B (en) China train control system-grade 3 fault reproduction method and system
CN105511446B (en) Signalling arrangement emulation test system based on wayside equipment simulation platform
CN103926843A (en) General simulation method and system for rail transit signal system
CN109358599A (en) A kind of Auto-Test System of train operation monitoring device, method and device
US20200156678A1 (en) Railroad track verification and signal testing system
CN110321621A (en) The CBTC system automation test emulation mode of trackside emulator
CN110262286A (en) A kind of fully automatic operation system operation scene comprehensive verification system and method
CN109523859B (en) Track traffic comprehensive monitoring hybrid training simulation system and method
CN108255071B (en) Simulation test system and method based on IO dual-acquisition
CN108490807B (en) Train fault simulation system and test method
CN106407580B (en) Rule detection romote controlled locking method based on script
CN112722016B (en) Automatic test system and method for rail transit train automatic control system
CN104731085A (en) Test platform for trackside interlock system and test method based on same
CN108282375A (en) Computer interlocking Universal joint analogue system based on PLC series-parallel connection technologies and method
CN109086197A (en) The acceptance testing method and system of urban track traffic CBTC system
KR101406716B1 (en) Simulation system for Train Control
CN114089719B (en) Vehicle signal interface simulation verification method and device for TACS system
CN112416715B (en) Computer interlocking performance test system based on operation scene
CN105678022A (en) Aspect-oriented interlock system security demand formalized modeling and verification method
CN201359510Y (en) Railway signal interlocking testing and detecting system
CN111766845B (en) Test method, test system and test device for train control system signal equipment
CN109774744B (en) Interlocking code bit testing tool
CN113609712A (en) Vehicle affair simulation training system based on FZt-CTC station system

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
GR01 Patent grant
GR01 Patent grant