Vehicle Controller automatic test device
Technical field
The utility model relates to technical field of data processing, particularly a kind of Vehicle Controller automatic test device.
Background technology
Vehicle Controller equipment is used for train automatic protection and train Function for Automatic Pilot.This Vehicle Controller equipment is external and vehicle interface quantity is more, and the switching value of collection and driving is numerous, and producer needs the interface function external to every platform equipment to carry out functional test after batch production, thus completes the requirement of inspection.
Existing Vehicle Controller equipment external interface is more, and the functions such as driving and collection switching value are numerous, if do not have frock, can only be reviewer's manual operation tests, so just there is following problem:
One, reviewer's manual test short time consumption is long, works numerous and diverse, there is the problems such as manual operation error;
Two, because of reasons such as product quantity are many, the duration is tight, needs may need many people to test simultaneously, and human cost is huge;
Three, many people test simultaneously, the many covers of required testing apparatus, and test material resources cost is high.
In a word, be problem demanding prompt solution to the automatic test of Vehicle Controller.
Utility model content
(1) technical matters that will solve
The technical problems to be solved in the utility model is: how to realize the automatic test to Vehicle Controller.
(2) technical scheme
For solving the problems of the technologies described above, the utility model provides a kind of Vehicle Controller automatic test device, comprise: central processing unit, half Electric model subrack in kind, multifunctional vehicle mounted bus module and power supply subrack, described central processing unit connects described half Electric model subrack in kind, multifunctional vehicle mounted bus module and power supply subrack, and described power supply subrack connects described half Electric model subrack in kind; Described central processing unit sends testing and control order extremely described half Electric model subrack in kind and the multifunctional vehicle mounted bus module to Vehicle Controller, and obtains test data from described half Electric model subrack in kind and multifunctional vehicle mounted bus module.
Wherein, described central processing unit comprises: industrial computer, serial server and input-output device, described industrial computer connects described serial server and input-output device, industrial computer sends testing and control order extremely described half Electric model subrack in kind and the multifunctional vehicle mounted bus module to Vehicle Controller, and obtains test data from described half Electric model subrack in kind and multifunctional vehicle mounted bus module.
Wherein, described multifunctional vehicle mounted bus module comprises: MVB interface, RS232 interface and breakout box, and RS232 interface connects described industrial computer, and connects described MVB interface by described breakout box.
Wherein, described half Electric model subrack in kind comprises: Driver Card, analog input card and speed-position detection simulation card, Driver Card and analog input card are all connected described industrial computer, described Driver Card, analog input card is all connected power supply subrack with speed-position detection simulation card, described power supply subrack is by powering on to control described speed-position detection simulation card to the pulse of Vehicle Controller transmission speed, radar signal and transponder request signal, described industrial computer sends driving instruction to described Driver Card, input switch amount is sent to Vehicle Controller to control described Driver Card, the output switch amount signal feedback that the Vehicle Controller received sends by described analog input card is to industrial computer.
Wherein, described Driver Card is connected described industrial computer with analog input card by pci bus.
Wherein, described power supply subrack connects described Driver Card, described power plug case comprises: for connecting the first power supply of described Vehicle Controller and the second source being connected described half Electric model subrack in kind, described industrial computer sends power control command to described Driver Card, makes the relay on Driver Card control the switch of the first power supply and second source respectively.
(3) beneficial effect
The utility model achieves the automatic test to Vehicle Controller by central controller controls half Electric in kind model subrack, multifunctional vehicle mounted bus module.
Accompanying drawing explanation
Fig. 1 is a kind of Vehicle Controller automatic test device structural representation of the utility model embodiment;
Fig. 2 is the schematic diagram that the Vehicle Controller automatic test device of the utility model embodiment is connected with Vehicle Controller.
Embodiment
Below in conjunction with drawings and Examples, embodiment of the present utility model is described in further detail.Following examples for illustration of the utility model, but are not used for limiting scope of the present utility model.
As depicted in figs. 1 and 2, Vehicle Controller automatic test device of the present utility model comprises: central processing unit, half Electric model subrack in kind, multifunctional vehicle mounted bus module and power supply subrack, central processing unit connects half Electric model subrack in kind, multifunctional vehicle mounted bus module and power supply subrack, and power supply subrack connects half Electric model subrack in kind; Central processing unit transmission to testing and control order to the half Electric in kind model subrack of Vehicle Controller and multifunctional vehicle mounted bus module, and obtains test data from half Electric model subrack in kind and multifunctional vehicle mounted bus module.
In the present embodiment, central processing unit comprises: industrial computer, serial server and input-output device.Industrial computer connects serial server and input-output device, and namely serial server has carried out Interface Expanding to industrial computer, provides multi-channel serial port, for communicating with the serial ports of Vehicle Controller, gathers Vehicle Controller feedback information.Input-output device comprises: mouse, keyboard and display etc., for man-machine interaction.Industrial computer is mainly used in sending testing and control order to the half Electric in kind model subrack to Vehicle Controller and multifunctional vehicle mounted bus module, and obtains test data from half Electric model subrack in kind and multifunctional vehicle mounted bus module.
In the present embodiment, multifunctional vehicle mounted bus module (MVB module) comprising: MVB interface, RS232 interface and breakout box, and RS232 interface connects industrial computer.Vehicle Controller TMS interface connects this MVB interface, MVB interface is by breakout box switching RS232 interface, realize the communication of industrial computer and Vehicle Controller TMS interface board, industrial computer sends communication test order, to carry out communication test by MVB module to Vehicle Controller.
In the present embodiment, half Electric model subrack in kind comprises: Driver Card, analog input card and speed-position detection simulation card.Driver Card is connected industrial computer with analog input card by pci data line.Described Driver Card, analog input card are all connected power supply subrack with speed-position detection simulation card, and described power supply subrack is by powering on to control described speed-position detection simulation card to the pulse of Vehicle Controller transmission speed, radar signal and transponder request signal (speed-position detection simulation card sends after powering on automatically).Described industrial computer sends driving instruction to described Driver Card, think that Driver Card sends driving instruction especially by pci data line, send input switch amount to Vehicle Controller to control described Driver Card, the output switch amount signal feedback that the Vehicle Controller received sends by described analog input card is to industrial computer.The circuit board set all for being made up of multicircuit relay of above-mentioned Driver Card and analog input card, is driven by industrial computer pilot relay or gathers the on-off model of Vehicle Controller.
Power plug case comprises: for connecting the first power supply of described Vehicle Controller and the second source being connected described half Electric model subrack in kind, described industrial computer sends power control command to described Driver Card, makes the relay on Driver Card control the switch of the first power supply and second source respectively.In the present embodiment, the first power supply is the power supply that AC_220V turns DC_110V, mainly powers to Vehicle Controller.Second source is the power supply that AC_220V turns DC_24V, and the main Driver Card and analog input card and speed-position detection simulation card given is powered.
Vehicle Controller automatic test device of the present utility model mainly comprises the inspection of Vehicle Controller initial information, input switch measurement examination, output switch measurement examination, data processing and printing inspection sheet.
Initial information checks: to be connected by central processing unit infomation detection Vehicle Controller in house software that serial ports (industrial computer connects Vehicle Controller by serial server) prints with Vehicle Controller and to work and rest version, plate number, basic communication functions, radar, velocity pulse, the information such as transponder request signal configuration.Wherein, velocity pulse, radar signal and transponder request signal issue Vehicle Controller after being powered on by speed-position detection simulation card automatically.
Input switch measures examination: Vehicle Controller adopts the mode of cycle repeating query, start after powering on to detect the input interface of self, once collect corresponding data (comprising the input switch amount that industrial computer control Driver Card sends to it), immediately the mode feding back through communication accordingly can be fed back to industrial computer, and carry out data processing, by result display over the display.
Output switch measures examination: the output of each switching value of carrying out of the command sequences that Vehicle Controller exports according to proving installation industrial computer, after industrial computer collects corresponding result by analog input card, just carry out contrast with theoretical information to judge, by result display on a display screen.
Data processing: the Vehicle Controller information received and theoretical reception information are compared and processed by industrial computer, judge test result correctness.
Print inspection sheet: after functional test terminates, test result prints in word document by industrial computer automatically, file.
The utility model achieves the automatic test to Vehicle Controller by central controller controls half Electric in kind model subrack, multifunctional vehicle mounted bus module.Particularly, by industrial computer to the collection of MVB module, Driver Card, analog input card and speed-position detection simulation card realization to the robotization of the signal of Vehicle Controller, existing test module is tested signal, to reach the object of automatic test in by industrial computer.
Above embodiment is only for illustration of the utility model; and be not limitation of the utility model; the those of ordinary skill of relevant technical field; when not departing from spirit and scope of the present utility model; can also make a variety of changes and modification; therefore all equivalent technical schemes also belong to category of the present utility model, and scope of patent protection of the present utility model should be defined by the claims.