Summary of the invention
The technical problem to be solved in the present invention is just: the technical matters existing for prior art, the invention provides a kind of can be by various conditioned signal generation equipment centralized control in kind and for equipment experiment and test provide train control on board equipment integrated test system and the method based on signal in kind of comprehensive full-scale condition signal, in order to improve authenticity and the validity of test and experiment condition.
For solving the problems of the technologies described above, the present invention by the following technical solutions:
A train control on board equipment integrated test system based on signal in kind, is characterized in that, comprising:
Test master control subsystem, for the signal of testing man-machine interface, loading ground signal key point data, carry out run location calculating, gather equipment under test output and send control rate and pressure-generating device; Described test master control subsystem comprises test master controller and the test human-computer interface module, ground signal key point position data load-on module, run location computing module, speed generating means control module, pressure-generating device control module, digital signal acquiring module and the vehicle-mounted end network communication module that are connected with test master controller;
Ground signal control subsystem, for receiving run location, sending the order of controlling trackside signal facility, to realize the loading of dot-mode transponder message, run location and to cross the synchronous computing of key point, track circuit code, the control of dot-mode transponder control device, track circuit signaling device (track circuit loop wire signaling case) control, network service; Described ground signal control subsystem comprises ground signal master controller and the dot-mode transponder packet storage being connected with ground signal master controller and load-on module, clocked flip-flop module, track circuit code module, dot-mode transponder control device control module, track circuit signaling device control module and ground surface end network communication module;
Described test master control subsystem is connected by communication network with ground signal control subsystem.
As a further improvement on the present invention:
Described test master controller and ground signal master controller all adopt industrial computer.
The present invention further provides a kind of method of testing that is applied to above-mentioned integrated test system, it is carried out flow process and comprises:
1. data in the data load-on module loading position file of ground signal key point position, described data comprise ground signal type, spacing distance, key point numbering, track circuitsystem, track circuit carrier frequency, track circuit low frequency code;
2. the speed drive run location computing module by the input of test human-computer interface module calculates in real time, and result of calculation sends to ground signal control subsystem by vehicle-mounted end network communication module;
3. by speed generating means control module, the velocity amplitude of test human-computer interface module input is sent to speed generating means equipment, the feedback data of acquisition speed generating means equipment is also being tested man-machine interface module;
4. by pressure-generating device control module, the force value of test human-computer interface module input is sent to pressure-generating device equipment, obtain the feedback data of pressure-generating device equipment and testing man-machine interface module;
5. by digital signal acquiring module, the handle operating mode instruction of test human-computer interface module input is sent to signal regulating panel, and gather from signal regulating panel the control signal that equipment under test sends, and in test man-machine interface module;
6. ground signal control subsystem receives after train real time execution information and ground signal supplemental characteristic by ground surface end network communication module, and after track circuit code module coding, generates trigger event and be stored in clocked flip-flop module;
7. by clocked flip-flop module, accurately judge the ground signal key point moment, if ground signal is track circuit, by track circuit signaling device control module, sent the order of track circuit signaling; If ground signal is dot-mode transponder, by dot-mode transponder control device control module, sends dot-mode transponder message and write order and activation command.
Compared with prior art, the invention has the advantages that:
1, method of testing of the present invention and system are the designs based on signal in kind, be about to various conditioned signal generation equipment centralized control in kind, for equipment experiment and test provide comprehensive full-scale condition signal, thereby authenticity and the validity of test and experiment condition have been improved.
2, the present invention is by the driving equipment in kind of being correlated with, and flexible configuration associated signal parameter, provides operation required full-scale condition signal environment to tested train control on board equipment.
3, the present invention can test needs according to reality, by controlling vehicle-mounted interface matter emulation equipment and ground signal matter emulation equipment, to whole row control vehicle-mounted system, provide true controlled condition signal manually or automatically, provide high-level Train Operation Control System Onboard equipment required actual signal interface simultaneously.
4, the present invention is by the integrated man-machine interface of each test condition signal controlling is provided, simple to operate, friendly interface, and possess automatic test function to a certain degree.
Embodiment
Below with reference to Figure of description and specific embodiment, the present invention is described in further details.
As shown in Figure 1, the train control on board equipment integrated test system based on signal in kind of the present invention, comprising:
Test master control subsystem, for the signal of testing man-machine interface, loading ground signal key point data, carry out run location calculating, gather equipment under test output and send control rate and pressure-generating device; It can be switched in automatic operation and manually between control, be switched by test pattern;
Ground signal control subsystem, for receiving run location, sending the order of controlling trackside signal facility, to realize the loading of dot-mode transponder message, run location and to cross the synchronous computing of key point, track circuit code, the control of dot-mode transponder control device, track circuit signaling device (track circuit loop wire signaling case) control, network service.
Test master control subsystem is connected by Ethernet with ground signal control subsystem.In the present embodiment, test master control subsystem and ground signal control subsystem all can adopt industrial computer.
In the present embodiment, test master control subsystem comprises:
Test human-computer interface module, is used to provide test man-machine interface;
Ground signal key point position data load-on module, for loading the data of describing ground signal position;
Run location computing module, for calculating the position relationship of virtual train and ground signal key point;
Speed generating means control module, is used for sending speed command and then control rate generating means;
Pressure-generating device control module, for sending cylinder pressure order and then controlled pressure generating means;
Digital signal acquiring module, provides train operating mode level information, obtains equipment under test output for the input and output of control level signal and then to equipment under test;
Vehicle-mounted end network communication module, for sending virtual train real time execution information and ground signal supplemental characteristic.
Shown in Figure 2, the course of work of test master control subsystem is:
1) test man-machine interface
Test man-machine interface is arranged by speed input field, speed generating means and is monitored that district, pressure input field, pressure-generating device monitor that district, handle operating mode input field, equipment under test output display area, viewing area, ground signal key point position, parameter configuration district (comprising that communication port setting and wheel footpath arrange), control knob district form.
2) ground signal key point position loads
Ground signal key point information refers to teleseme and dot-mode transponder position and the correlation parameter information on one section of circuit, comprise ground signal type, spacing distance, key point numbering, track circuitsystem, track circuit carrier frequency, track circuit low frequency code, ground signal key point information adopts the storage of xml formatted file.
3) run location computing
Run location computing is to calculate the kinematic calculation of train on above-mentioned circuit, calculate the relative position with ground signal key point, the positional information of calculating is in real time sent to ground signal control subsystem by network, by it, synchronously judged key point, and accurately trigger equipment in kind and send ground signal.
4) speed generating means is controlled
Test master control subsystem is by RS485 control rate generating means.
After being connected with speed generating means, according to man-machine interface input speed, pre-set the theoretical rotational speed that wheel footpath, each axle velocity shifts are calculated respectively 4 axles, and send and drive each axle to rotate to it, each axle rotating speed of inbound pacing generating means feedback shows in real time after calculating simultaneously; When stopping, reverse direction operation, pressure send reset command to speed generating means.
5) pressure-generating device is controlled
Test master control subsystem is by RS485 controlled pressure generating means
After being connected with pressure-generating device, according to man-machine interface, input each cylinder goal pressure, goal pressure transformation period, to it, send pressure adjustment order, circulation sends pressure querying command, and shows in real time according to each cylinder pressure of its feedback.
6) digital signal acquiring
Test master control subsystem connects signal regulating panel by pci data analog input card, to its input handle operating mode 5V level signal and standby level signal, and gathers tested train control on board equipment outputs level signals and shows in man-machine interface from signal regulating panel.
7) vehicle-mounted end network service
Test master control subsystem is controlled ground signal control subsystem by network service and is sent track circuit frequency signal, and activates dot-mode transponder message.
Adopt TCP/IP network communication protocol, test master control subsystem is server end, ground signal control subsystem is client, and the packet of network interaction comprises: network state is controlled bag, operation information packet, track circuit packet, dot-mode transponder packet, response packet.
Network state is controlled package informatin and is comprised: data head, the state of shaking hands, connection status, off-state;
Operation information packet information comprises: data head, transponder exist sign, travelling speed, front signal machine numbering, current track circuitsystem, current track circuit carrier frequency, lower subregion track circuitsystem, lower subregion track circuit carrier frequency, apart from front signal machine distance, the place ahead transponder numbering, apart from the place ahead transponder distance;
Track circuit packet information comprises: data head, sending mode (transmission immediately, lower subregion send), track circuit low-frequency information code;
Dot-mode transponder packet information comprises: data head, active dot-mode transponder numbering, active dot-mode transponder message user profile code;
Response packet information comprises: data head, response packet type.
Data unpack and adopt anti-sticky bag design.
In the present embodiment, ground signal control subsystem comprises:
Dot-mode transponder packet storage and load-on module, for storage and loading transponder message user profile, this transponder message user profile comprises transponder spacing distance, transponder message user profile code in transponder numbering, transponder types, group;
Clocked flip-flop module, for carrying out the synchronous computing of key point, accurately sending ground signal steering order;
Track circuit code module, for generating correct low-frequency information;
Dot-mode transponder control device control module, for sending dot-mode transponder control device activation command and message data;
Track circuit signaling device control module, for sending the order of track circuit signaling;
Ground surface end network communication module, for receiving train real time execution information and ground signal supplemental characteristic.
Shown in Figure 3, the course of work of ground signal control subsystem is:
1) dot-mode transponder message loads
Dot-mode transponder message data information comprises the interior transponder spacing distance of transponder numbering, transponder types, group, the transponder message user profile code of passive balise, adopts xml form or the storage of txt formatted file.
Before test assignment, dot-mode transponder message data file is loaded into internal memory chained list, for test process, retrieve and call.
2) run location and the excessively synchronous computing of key point
Ground signal control subsystem is according to the key point information of obtaining from test master control subsystem (track circuit frequency information, transponder numbering and message etc.), deposit self-defining clocked flip-flop in, process in real time the speed that receives from test master control subsystem, apart from information such as key point (track circuit signaling point, cross transponder point) distances, refresh timing trigger trigger event, realized the accurate control triggering of key point in real time.
3) track circuit code
Ground signal control subsystem is according to track circuitsystem, carrier frequency value, the low-frequency information code search condition obtained from test master control subsystem, in " track signal low-frequency information allocation table ", search corresponding low frequency value, and search frequency deviation, equipment and show modulation code information, and deposit above-mentioned clocked flip-flop in, as track circuit signaling device, control.
4) dot-mode transponder message coding
Ground signal control subsystem is compiled as according to compiling standard the message that finally writes transponder by the passive balise message " user profile code " of the active balise message obtaining from test master control subsystem and bootstrap loading.
5) dot-mode transponder control device is controlled
Ground signal control subsystem is communicated by letter with dot-mode transponder control device by RS422.
When ground signal control subsystem gets a new dot-mode transponder numbering from test master control subsystem, through above-mentioned dot-mode transponder message coding, generate respectively and write trigger event and activate trigger event (write the time interval that trigger event activates trigger event in advance can customize) and deposit above-mentioned clocked flip-flop in.
In meeting while writing trigger condition dot-mode transponder group, all transponder messages write dot-mode transponder control device with message frame form, and content comprises: spacing distance, each transponder message, CRC32 check code between transponder number, each transponder numbering, each transponder in data head, group.
When meet activating trigger condition, activation command is sent to dot-mode transponder control device with active control frame form, content comprises: each transponder numbering and check code in first transponder distance, group in data head, activation marker, transponder number, travelling speed, distance group.
6) track circuit signaling device is controlled
Ground signal control subsystem is communicated by letter with track circuit signaling device by RS485.
When ground signal control subsystem gets new track circuit frequency information from test master control subsystem, after above-mentioned track circuit code, generator orbital circuit signaling trigger event, and deposit above-mentioned clocked flip-flop in.
When meeting track circuit signaling trigger condition, the track circuit frequency information of storing in trigger is issued to track circuit signaling device with command frame form, and content comprises: data head, device numbering, standard, carrier frequency, frequency deviation, demonstration modulation code, electric current and check code.
Track circuit signaling device returns to implementation status to this program with loopback frames form after fill order, and content comprises: data head, device numbering, order reception result, loop wire state and check code.
7) ground surface end network service
Ground signal control subsystem receives by network service running state information and the control command that test master control subsystem issues.
Adopt TCP/IP network communication protocol, this program is client, and test master control subsystem is server end.
In ground signal control subsystem, from test master control subsystem, get dot-mode transponder packet, the active dot-mode transponder numbering being subject to and the renewal of message user profile code are write to the described internal memory chained list of above-mentioned dot-mode transponder message loading, handle together with passive balise information.
Data unpack and adopt anti-sticky bag design.
The present invention further provides a kind of method of testing that is applied to above-mentioned integrated test system, the method comprises:
1. data in the data load-on module loading position file of ground signal key point position, described data comprise ground signal type, spacing distance, key point numbering, track circuitsystem, track circuit carrier frequency, track circuit low frequency code;
2. the speed drive run location computing module by the input of test human-computer interface module calculates in real time, and result of calculation sends to ground signal control subsystem by vehicle-mounted end network communication module;
3. by speed generating means control module, the velocity amplitude of test human-computer interface module input is sent to speed generating means equipment, the feedback data of acquisition speed generating means equipment is also being tested man-machine interface module;
4. by pressure-generating device control module, the force value of test human-computer interface module input is sent to pressure-generating device equipment, obtain the feedback data of pressure-generating device equipment and testing man-machine interface module;
5. by digital signal acquiring module, the handle operating mode instruction of test human-computer interface module input is sent to signal regulating panel, and gather from signal regulating panel the control signal that equipment under test sends, and in test man-machine interface module;
6. ground signal control subsystem receives after train real time execution information and ground signal supplemental characteristic by ground surface end network communication module, and after track circuit code module coding, generates trigger event and be stored in clocked flip-flop module;
7. by clocked flip-flop module, accurately judge the ground signal key point moment, if ground signal is track circuit, by track circuit signaling device control module, sent the order of track circuit signaling; If ground signal is dot-mode transponder, by dot-mode transponder control device control module, sends dot-mode transponder message and write order and activation command.
Below be only the preferred embodiment of the present invention, protection scope of the present invention is also not only confined to above-described embodiment, and all technical schemes belonging under thinking of the present invention all belong to protection scope of the present invention.It should be pointed out that for those skilled in the art, some improvements and modifications without departing from the principles of the present invention, should be considered as protection scope of the present invention.