Background technology
Train automatic controlling system CBTC systems (Communication Based Train based on wireless communication
Control System, communication-based train control system) track of punctual, low interval is provided for urban track traffic
Traffic solution.
CBTC systems allow train order and state in vehicle by establishing continuous, two-way, high speed communication between vehicle ground
Carry out between ground it is reliable in real time exchange, and determine the relative distance between the accurate location and train of train, ensure row
The personal distance of vehicle.
CBTC systems are to ensure the basic means of Rail Transit System safe and highly efficient operation.Vehicle-mounted ATP (Automatic
Train Protection)/ATO (Automatic Train Operation) be CBTC systems core equipment, ensure system
Safe and highly efficient operation.CBTC systems further include mainly ZC, ATS, CI system other than vehicle-mounted ATP/ATO, and CBTC systems are typical
Structure is as shown in Figure 1.
Typical ATP/ATO hardware systems include the input/output of secure digital amount, non-security digital quantity input/output, mould
Analog quantity input/output, wireless communication, BTM, redundancy handle host, as shown in Figure 2.
By secure digital input/output and non-security numeral input/output and vehicle interface, door contact interrupter, mould are realized
Formula selection turns back and changes the interface functions such as end, key switch;Tachometric survey, traction braking control are realized by analog input/output
System;By radio communication two-way communication is carried out with ground installation;The interface with ground transponder is realized by BTM;Pass through redundancy
It handles host and realizes Safety Redundancy processing.
Vehicle-mounted ATP/ATO equipment is mounted in the safety equipment directly controlled to train on train, vehicle-mounted ATP/ATO
Equipment is complicated with vehicle hardwire interface, and also relying on velocity sensor/radar/accelerometer, BTM and vehicle-ground wireless communication could be
It is run on circuit, after vehicle-mounted ATP/ATO software developments, will directly can be debugged in software installation equipment ON TRAINS,
Test, but need to expend a large amount of manpower and materials in this way, and safety can not also ensure.So also having in room in the prior art
The debugging test environment for inside building vehicle-mounted ATP/ATO equipment carries out software debugging and test.
But since vehicle-mounted ATP/ATO equipment is embedded system, debugging test environment still needs using vehicle-mounted
ATP/ATO hardware devices build simulated environment and need to carry out corresponding hardware interface emulation, connection upper ground surface ATP (ZC), ATS,
Its complexity greatly improves after CI equipment, it is still desirable to expend a large amount of human resources and be maintained.
From the description above it is found that above two vehicle-mounted ATP/ATO software debuggings testing scheme can be summarized as:
Scheme one, by vehicle-mounted ATP/ATO software installations on vehicle-mounted ATP/ATO hardware devices, and circuit (test run line or
Engineering circuit) on by drive train carry out software debugging and test job.
Scheme two:By vehicle-mounted ATP/ATO software installations on vehicle-mounted ATP/ATO hardware devices, hardware debugging enironment is built,
The debugging and test job of software are carried out indoors.
From the analysis of front it is found that above two Che ZaiATP ATO software debugging testing schemes, cost is high, efficiency is low, dimension
Shield is difficult, is unfavorable for engineer application.
Invention content
For the defects in the prior art, the present invention provides a kind of mobile unit single machine analogue system, for notebook,
On industrial personal computer, desktop computer, pass through Network Interface Module and trackside equipment emulator, emulation train, emulation ZC, emulation CI, emulation
The LEU communications of train signal equipment, realize the function debugging of the vehicle-mounted ATP/ATO of single machine.
In order to solve the above technical problems, the present invention provides following technical scheme:
The present invention provides a kind of mobile unit single machine analogue systems, including the vehicle-mounted ATP being sequentially connected/ATO software lists
Member, analog-driven unit and Network Interface Unit;
The vehicle-mounted ATP/ATO software units handles logic for providing vehicle-mounted ATP/ATO softwares;
The analog-driven unit includes:Digital quantity drive module, analog quantity drive module, BTM processing drive module, speed
Degree processing drive module and network processes drive module;
The Network Interface Unit, for being carried out to external provide with each drive module in the analog-driven unit
The interface message of data interaction;
Wherein, the digital quantity drive module, for providing the digital quantity interacted with external train or emulation train
Information;
The analog quantity drive module, for providing the analog quantity information interacted with external train or emulation train;
The BTM processing drive modules and the speed handle drive module, are set with trackside equipment or trackside for providing
The trackside equipment relevant information that standby emulator interacts;
The network processes drive module, for provide with ground ZC, CI, ATS or with emulation ZC, emulation CI, emulation ATS
The network processes relevant information interacted.
Preferably, the Network Interface Unit includes digital interface module, analog interface module, BTM Processing Interfaces
Module, speed Processing Interface module and network processes interface module;
Wherein, the digital interface module carries out digital quantity interaction for providing with external train or emulation train
Interface message;
The analog interface module is used to provide the interface letter that analog quantity interaction is carried out with external train or emulation train
Breath;
The BTM Processing Interfaces module and the speed Processing Interface module are set for providing with trackside equipment or trackside
The trackside equipment interface message that standby emulator interacts;
The network processes interface module, for provide with ground ZC, CI, ATS or with emulation ZC, emulation CI, emulation ATS
The network processes interface message interacted.
Preferably, the analog-driven unit can be replaced hardware board driving.
Preferably, the Network Interface Unit can be replaced hardware board network interface.
Preferably, the digital information includes:Export digital information and input digital information;
The output digital information includes:Emergency braking output, traction excision export, car door is enabled, car door opening, vehicle
Door is closed and model selection;
The input digital information includes:Emergency braking condition, traction excision state, key status and vehicle door status.
Preferably, the analog quantity information includes:Export analog quantity information and input analog quantity information;
The output analog quantity information includes:Traction braking output current value and voltage value;
The input analog quantity information includes:Traction current and Voltage Feedback.
Preferably, the trackside equipment relevant information includes:Transponder receiving and transmitting signal, adds velocity sensor frequency signal
Speedometer frequency signal and/or radar signal.
Preferably, the mobile unit single machine analogue system may operate on notebook, industrial personal computer or desktop computer.
As shown from the above technical solution, mobile unit single machine analogue system of the present invention include be sequentially connected it is vehicle-mounted
ATP/ATO software units, analog-driven unit and Network Interface Unit, can realize on notebook, industrial personal computer, desktop computer,
It is logical by Network Interface Unit and trackside equipment emulator, emulation train, emulation ZC, emulation CI, emulation train signal equipment LEU
Letter realizes the function debugging of the vehicle-mounted ATP/ATO of single machine.The present invention spends less, is efficient, convenient for debugging and safeguards, and with can
Transplantability.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical solution in the embodiment of the present invention carries out clear, complete description, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
The every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 3 shows that a kind of structure diagram for mobile unit single machine analogue system that one embodiment of the invention provides, Fig. 4 show
The concrete structure schematic diagram of the embodiment is gone out.A kind of mobile unit single machine analogue system 30 as shown in Figure 3, including phase successively
Vehicle-mounted ATP/ATO software units 31, analog-driven unit 32 and Network Interface Unit 33 even.
Vehicle-mounted ATP/ATO software units 31 handles logic for providing vehicle-mounted ATP/ATO softwares.
Analog-driven unit 32 includes:Digital quantity drive module 321, analog quantity drive module 322, BTM processing driving moulds
Block 324, speed processing drive module 325 and network processes drive module 326.
Wherein, the digital quantity drive module 321, for providing the number interacted with external train or emulation train
Measure information;
The analog quantity drive module 322 is believed for providing the analog quantity interacted with external train or emulation train
Breath;
BTM processing drive module 324 and the speed handle drive module 325, for provide with trackside equipment or
The trackside equipment relevant information that trackside equipment emulator interacts;
The network processes drive module 326, for provide with ground ZC, CI, ATS or with emulation ZC, emulation CI, emulation
The network processes relevant information that ATS is interacted.
It is understood that analog-driven unit 32 further includes other processing drive modules 323.Other described processing drivings
Module 323 is used as the driving of preset data amount, is interacted with outside for preset data amount and provides relevant information.
Network Interface Unit 33, for being provided to external with each drive module in the analog-driven unit into line number
According to interactive interface message.
Existing vehicle-mounted ATP in ATO software debugging testing schemes, otherwise be exactly by vehicle-mounted ATP/ATO software installations in vehicle
Carry ATP/ATO hardware devices on, and on circuit (test run line or engineering circuit) by drive train carry out software debugging and
Test job;Otherwise be exactly by vehicle-mounted ATP/ATO software installations on vehicle-mounted ATP/ATO hardware devices, build hardware debugging ring
Border carries out the debugging and test job of software indoors.Whether above-mentioned any debugging test mode is required for using vehicle-mounted
ATP/ATO hardware devices could subsequently be surveyed vehicle-mounted ATP/ATO software installations on vehicle-mounted ATP/ATO hardware devices
Trial work is made.
The harm done so is:For the first situation, by vehicle-mounted ATP/ATO software installations in vehicle-mounted ATP/ATO hardware
In equipment, direct-on-line road is debugged, is tested, and can expend a large amount of manpower and materials in this way, and safety can not also be protected
Barrier.
For the second situation, by vehicle-mounted ATP/ATO software installations on vehicle-mounted ATP/ATO hardware devices after, need
It needs to carry out when building the debugging test emulation environment of vehicle-mounted ATP/ATO equipment indoors, but building simulated environment corresponding
Hardware interface emulates, including connection upper ground surface ATP (ZC), ATS, CI equipment etc., the complexity when carrying out hardware interface emulation
It is higher, it is still desirable to expend a large amount of human resources and be maintained.
In the present embodiment, to solve the above-mentioned problems, it would be desirable to the work software that vehicle-mounted ATP/ATO hardware devices are done
It realizes, i.e., this implementation analogue system no longer needs to rely on vehicle-mounted ATP/ATO hardware devices, but it is imitative to realize single machine
Very.In addition, by analog-driven unit 32 and Network Interface Unit 33 and other analogue systems (such as trackside equipment emulator) into
Row interaction, the common software emulation for realizing CBTC systems.Specifically, in the present embodiment, analog-driven unit 32 and net are utilized
Network interface unit 33 is driven instead of ATP/ATO hardware devices in the prior art by vehicle-mounted ATP/ATO software units 31, simulation
Moving cell 32 and Network Interface Unit 33 realize a kind of mobile unit analogue system that can carry out single machine emulation together.Its
In, vehicle-mounted ATP/ATO software units 31 as vehicle-mounted ATP in the prior art/ATO software implementing courses and mode, due to
This is not the emphasis of the present invention, and which is not described herein again.Wherein, analog-driven unit 32 includes:Digital quantity drive module, simulation
Measure drive module, BTM processing drive module, speed processing drive module and network processes drive module.The digital quantity driving
Module, for providing the digital information interacted with external train or emulation train;The analog quantity drive module, is used for
The analog quantity information interacted with external train or emulation train is provided;At the BTM processing drive modules and the speed
Drive module is managed, for providing the trackside equipment relevant information interacted with trackside equipment or trackside equipment emulator;It is described
Network processes drive module, for providing the net interacted with ground ZC, CI, ATS or with emulation ZC, emulation CI, emulation ATS
Network processing relevant information.The Network Interface Unit 33, for outside provide with it is each in the analog-driven unit 32
Drive module carries out the interface message of data interaction.
Mobile unit single machine analogue system described in the present embodiment, not only can be imitative with other by Network Interface Unit 33
True system communication carries out the emulation of entire CBTC systems, can also replace analog-driven unit 32 and the Network Interface Unit 33
It is changed to hardware board driving and hardware board network interface, is run on vehicle-mounted ATP/ATO hardware devices, passes through single machine breakpoint tune
Logic debugging can be rapidly completed in examination, by being run in ATP/ATO hardware devices, complete software and hardware integrated debugging.Therefore it can see
Go out, the mobile unit single machine analogue system described in the present embodiment also has portability.
Mobile unit single machine analogue system described in the present embodiment realizes the single machine emulation of mobile unit, saves people
Power material resources, improve simulation efficiency.
Further, Network Interface Unit 33 includes digital interface module, analog interface module, BTM Processing Interfaces
Module, speed Processing Interface module and network processes interface module.
In the present embodiment, as shown in figure 4, digital quantity drive module 321, analog quantity drive module 322, BTM processing drives
Dynamic model block 324, speed processing drive module 325 and network processes drive module 326 respectively by Network Interface Unit 33 with it is outer
Portion interacts.
Specifically, Fig. 5 shows the CBTC stand-alone debugging system schematics based on the present embodiment, as shown in figure 5, interaction
Process is as described below:
Digital quantity drive module 321 carries out the interaction of digital information by digital interface module with emulation train.
Wherein, digital information includes:Export digital information and input digital information.Wherein, output digital quantity letter
Breath, such as emergency braking output, traction excision output, car door are enabled, car door opening, closing of the door and model selection etc.;Input
Digital information, such as emergency braking condition, traction excision state, key status and vehicle door status etc..
Analog quantity drive module 322 carries out the interaction of analog quantity information by analog interface module with emulation train.
Wherein, analog quantity information includes:Export analog quantity information and input analog quantity information.Wherein, output analog quantity letter
Breath, such as traction braking output current value, voltage value;Input analog quantity information, such as traction current, Voltage Feedback.
It is related to trackside equipment emulator progress trackside equipment by BTM Processing Interfaces module that BTM handles drive module 324
The interaction of information.
Wherein, the trackside equipment emulator interacted with BTM processing drive module 324 is emulation transponder etc., trackside
Device-dependent message includes transponder receiving and transmitting signal.By the inquiry and reception of transponder receiving and transmitting signal, it can realize that train is fixed
Position.
Speed handles drive module 325 and carries out trackside equipment phase by speed Processing Interface module and trackside equipment emulator
Close the interaction of information.
Wherein, the trackside equipment emulator interacted with speed processing drive module 325 is simulation velocity sensor, imitates
True radar or emulation acceleration analysis device etc., trackside equipment relevant information include velocity sensor frequency signal, accelerometer frequency
Rate signal or radar signal.By receiving radar signal, picking rate sensor frequency signal, acquisition accelerometer frequency letter
Number, train speed information can be obtained.
Network processes drive module 326 carries out net by network processes interface module and emulation ZC, emulation CI, emulation ATS
The interaction of network processing relevant information.Network processes relevant information is for realizing Train Control.
Mobile unit single machine analogue system in the present embodiment is emulated by software, need realize industrial personal computer,
Layer is driven by the Realization of Simulation vehicle-mounted ATP/ATO on notebook, desktop computer, and keeps application layer and driving layer interface constant.
It is important to note that emulation train, emulation transponder, emulation ZC, emulation CI, emulation ATS are simulation software.
Specifically, it is established by Visual Studio 2010 (windows platform application development environment) software
The vehicle-mounted ATP of embedded type C language development/ATO software source codes are added in engineering by Win32 console application programs, are established
Single machine ATP/ATO engineerings, under the premise of keeping function interface constant, rewrite digital quantity drive module, analog quantity drive module,
BTM handles drive module, speed processing drive module and network processes drive module, realizes emulation interface.Single machine ATP/ATO works
After Cheng Jianli, by being communicated with other single machine simulation softwares being deployed in LAN, ATP/ATO stand-alone debuggings are realized.
Mobile unit single machine analogue system described in the present embodiment include the vehicle-mounted ATP/ATO software units being sequentially connected,
Analog-driven unit and Network Interface Unit can be realized on notebook, industrial personal computer, desktop computer, pass through Network Interface Unit
It is communicated with trackside equipment emulator, emulation train, emulation ZC, emulation CI, emulation train signal equipment LEU, realizes that single machine is vehicle-mounted
The function debugging of ATP/ATO.The present invention spends less, is efficient, convenient for debugging and maintenance.
At the same time, external equipment can also such as be emulated train by the present embodiment, trackside equipment emulator replaces with simulation
Hardware device establishes the simulated environment of physical device.Fig. 6 shows the CBTC hardware simulation equipment debuggings system based on the present embodiment
System schematic diagram increases vehicle circuit analog machine, traction/braking system analog machine, LEU/BTM emulation as shown in fig. 6, passing through
The mode of the simulation hardwares such as equipment, speed in frequency generator, the network equipment, can establish the simulated environment of physical device.
In addition to this, the present invention also has portability then can be vehicle-mounted that is, in the case where replacing hardware board driving
ATP/ATO hardware devices are run.Logic debugging can be rapidly completed by single machine debugging breakpoints, by ATP/ATO hardware devices
Software and hardware integrated debugging is completed in operation.Specifically, the analog-driven unit and network interface list of mobile unit single machine analogue system
Member replaces with hardware module, after being compiled into executable file, in programming to vehicle-mounted ATP/ATO hardware boards, by with emulation ring
The emulator in border connects and communication, realizes device level artificial debugging, or by on circuit (test run line or engineering circuit)
Driving train connection and communication, realize debugging and test job.
In conclusion the present invention provides a kind of mobile unit single machine analogue system, which includes:It is sequentially connected
Vehicle-mounted ATP/ATO software units, analog-driven unit and Network Interface Unit.Wherein, vehicle-mounted ATP/ATO software units are used
Logic is handled in providing vehicle-mounted ATP/ATO softwares;Analog-driven unit includes:Digital quantity drive module, analog quantity drive module,
BTM handles drive module, speed processing drive module and network processes drive module;Network Interface Unit, for being carried to outside
For carrying out the interface message of data interaction with each drive module in the analog-driven unit.The present invention can be realized in pen
Remember sheet, industrial personal computer, on desktop computer, by Network Interface Module and trackside equipment emulator, emulation train, emulation ZC, emulate CI,
The LEU communications of train signal equipment are emulated, realize the function debugging of the vehicle-mounted ATP/ATO of single machine.The present invention spends less, is efficient, just
It in debugging and safeguards, and with portability.
Above example is only used to illustrate the technical scheme of the present invention, rather than its limitations;Although with reference to the foregoing embodiments
Invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each implementation
Technical solution recorded in example is modified or equivalent replacement of some of the technical features;And these are changed or replace
It changes, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.