CN103744414A - Test method and test device - Google Patents

Test method and test device Download PDF

Info

Publication number
CN103744414A
CN103744414A CN201310689410.7A CN201310689410A CN103744414A CN 103744414 A CN103744414 A CN 103744414A CN 201310689410 A CN201310689410 A CN 201310689410A CN 103744414 A CN103744414 A CN 103744414A
Authority
CN
China
Prior art keywords
instruction
vehicle controller
test
input
test instruction
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
CN201310689410.7A
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.)
Beijing Traffic Control Technology Co Ltd
Original Assignee
Beijing Traffic Control Technology 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 Beijing Traffic Control Technology Co Ltd filed Critical Beijing Traffic Control Technology Co Ltd
Priority to CN201310689410.7A priority Critical patent/CN103744414A/en
Publication of CN103744414A publication Critical patent/CN103744414A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Electric Propulsion And Braking For Vehicles (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The invention provides a test method and a test device which are used for carrying out fault test on a vehicle-mounted controller. The method comprises the following steps: S1, receiving a test instruction input by a user; S2, generating a corresponding analog signal according to the test instruction; and S3, inputting the analog signal to a corresponding interface of the vehicle-mounted controller according to the type of the test instruction. According to the test method provided by the invention, an actual bridge does not need to be accessed to the vehicle-mounted controller, and the flexibility of test is increased. On the other hand, the user can edit a suitable test instruction and input other analog signals except a train control instruction to the vehicle-mounted controller so as to realize a variety of tests on the vehicle-mounted controller.

Description

A kind of method of testing and testing apparatus
Technical field
The present invention relates to software testing technology field, refer more particularly to a kind of method of testing and testing apparatus.
Background technology
Vehicle Controller reach the standard grade operation before, need carry out unit testing, integration testing, the testing authentication in several stages of subsystem testing to it, in phase of integration testing, need to test Vehicle Controller and train upper bridge, verify content on its communication network whether with reality transmitting-receiving content consistency and Vehicle Controller the control to bridge and bridge the state of Vehicle Controller is reported is enough correct.
Before, for the test between Vehicle Controller and bridge, can only be by being first connected with actual bridge on train, then carry out test mode, this method of testing underaction, and because the test signal that actual bridge can be inputted is limited, method of testing of the prior art only can be to the partial test that carries out of Vehicle Controller.
Summary of the invention
The invention provides a kind of method of testing and testing apparatus, make the test of Vehicle Controller more flexible, and more horn of plenty of the test event that can provide.
The invention provides a kind of method of testing, for Vehicle Controller is carried out to fault test, the method comprises:
Step S1, receives the test instruction of user's input;
Step S2, generates corresponding simulating signal according to described test instruction;
Step S3, is input to described simulating signal according to the type of described test instruction the corresponding interface of Vehicle Controller.
Preferably, when described test instruction is Train Control instruction,
Described step S2 is specially:
According to described Train Control instruction, generate corresponding Train Control signal;
Described step S3 is specially:
Described Train Control signal is input to the bridge interface of described Vehicle Controller.
Preferably, when described test instruction is train status parameter,
Described step S2 is specially:
According to described train status parameter, generate corresponding state simulation signal;
Described step S3 is specially:
Described state simulation signal is input in described Vehicle Controller for gathering the state acquisition interface of described train status parameter.
Preferably, when described test instruction is fault simulation instruction,
Described step S2 is specially:
According to described fault simulation instruction, generate corresponding Trouble Report information;
Described step S3 is specially:
By described Trouble Report input information in described Vehicle Controller for gathering the interface of described Trouble Report information.
The present invention also provides a kind of testing apparatus, it is characterized in that, for Vehicle Controller is carried out to fault test, described equipment comprises:
Human-computer interaction module, for receiving the test instruction of user's input;
Emulation module, generates corresponding simulating signal for the test instruction receiving according to described human-computer interaction module;
Sending module, for being input to described simulating signal according to the type of described test instruction the corresponding interface of Vehicle Controller.
Preferably, described emulation module, while being Train Control instruction for the test instruction receiving at described human-computer interaction module, generates corresponding Train Control signal according to described Train Control instruction;
Sending module, while being Train Control signal for the simulating signal generating at described emulation module, is input to described Train Control signal the bridge interface of described Vehicle Controller.
Preferably, when described emulation module is train status parameter for the test instruction receiving at described human-computer interaction module, according to described train status parameter, generate corresponding state simulation signal;
Described sending module, while being train status parameter for the test instruction receiving at described human-computer interaction module, is input in described Vehicle Controller described state simulation signal for gathering the state acquisition interface of described train status parameter.
Preferably, described emulation module, while being fault simulation instruction for the test instruction receiving at described human-computer interaction module, generates corresponding Trouble Report information according to described fault simulation instruction;
Sending module, while being Trouble Report information for the simulating signal generating at described emulation module, by described Trouble Report input information in described Vehicle Controller for gathering the interface of described Trouble Report information.
In the method for testing providing in the present invention, according to the test instruction of user's input, simulate corresponding simulating signal, and be input in Vehicle Controller on corresponding interface according to the type of test instruction, like this when testing, just, without actual bridge is linked on Vehicle Controller, increased the dirigibility of test.On the other hand, user also can edit suitable test instruction, inputs other simulating signals except Train Control instruction, thereby can realize the multiple test to Vehicle Controller in Vehicle Controller.
Accompanying drawing explanation
The schematic flow sheet of a kind of method of testing that Fig. 1 provides for the embodiment of the present invention one;
The structural representation of a kind of testing apparatus that Fig. 2 provides for the embodiment of the present invention two.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is further described.Following examples are only for technical scheme of the present invention is more clearly described, and can not limit the scope of the invention with this.
The invention provides a kind of wire examination method, for the driving ability to driver, examine, as shown in Figure 1, the method comprises:
Step S1, receives the test instruction of user's input;
Step S2, generates corresponding simulating signal according to described test instruction;
Step S3, is input to described simulating signal according to the type of described test instruction the corresponding interface of Vehicle Controller.
In practical application, after step S3, described method can also comprise: step S4, receives the feedback signal of Vehicle Controller and export to user.In practical application, with regard to realizing test, generally all can be by gathering the feedback result of Vehicle Controller and exporting to user, this process is not the content that the present invention will pay close attention to, and at this, is not described further.
Preferably, when described test instruction is Train Control instruction,
Described step S2 is specially:
According to described Train Control instruction, generate corresponding Train Control signal;
Described step S3 is specially:
Described Train Control signal is input to the bridge interface of described Vehicle Controller.
In this way, the various signals of output that can drive simulating platform, judge whether Vehicle Controller can make correct response to the signal of bridge output.
Preferably, when described test instruction is train status parameter,
Described step S2 is specially:
According to described train status parameter, generate corresponding state simulation signal;
Described step S3 is specially:
Described state simulation signal is input in described Vehicle Controller for gathering the state acquisition interface of described train status parameter.
In this way, can judge whether Vehicle Controller can make correct response to the status information of vehicle.The status information here can comprise: vehicle-mounted whether close etc.
Preferably, when described test instruction is fault simulation instruction,
Described step S2 is specially:
According to described fault simulation instruction, generate corresponding Trouble Report information;
Described step S3 is specially:
By described Trouble Report input information in described Vehicle Controller for gathering the interface of described Trouble Report information.
In this way, can judge whether Vehicle Controller can make correct reflection when certain fault occurs vehicle.Due in actual applications, can not be by making the form of certain equipment or plant failure go inspection vehicle set controller to make correct feedback to fault, therefore in the embodiment of the present invention, mode by simulation is to Vehicle Controller input fault, and then inspection vehicle set controller can be made correct feedback to fault and has great realistic meaning.
In practical application, each signals collecting interface of Vehicle Controller is connected in testing apparatus by different control lines respectively (comprising the interface of bridge interface, state acquisition interface, collection failure message), if this signals collecting interface is for often opening node, control line can be parallel to so to the switch both sides of signals collecting interface, if signals collecting interface is normally closed node, control line can be connected with the switch of signals collecting interface so, thus input simulating signal.
In above-mentioned arbitrary embodiment, also can make the bridge interface of Vehicle Controller directly be connected with actual bridge, and in testing apparatus, input train status information simultaneously, like this can the reflection of test carriage set controller under two paths of signals, can certainly in testing apparatus, input two paths of signals simultaneously.
The test instruction that is input to testing apparatus can comprise: the value that drainage pattern selects lifting/lowering level, AR button, the instruction of left/right door switch button, mode switch also to want the fault arranging on acquisition software interface to inject in EUM position, ATO start button etc., this sample value has: pilothouse activations, vehicle integrality, vehicle door status, ACK button, traction are excised, vehicle is implemented brake hard, car door license button, maintenance are braked and implemented, controller state etc.
Based on identical design, it is a kind of for Vehicle Controller is carried out to fault test that the embodiment of the present invention two also provides, and as shown in Figure 2, described equipment comprises:
Human-computer interaction module 201, for receiving the test instruction of user's input;
Emulation module 202, generates corresponding simulating signal for the test instruction receiving according to described human-computer interaction module 202;
Sending module 203, for being input to described simulating signal according to the type of described test instruction the corresponding interface of Vehicle Controller.
The sending module 203 here, can be PCI board, and this PCI board comprises digital data acquisition card, digital quantity driver card, analog acquisition card three parts.The digital quantity that the collection of digital data acquisition card is transmitted from Vehicle Controller, the analog quantity that the collection of analog acquisition card is transmitted from Vehicle Controller, digital quantity driver card is used for realizing to Vehicle Controller and drives digital quantity signal.
Preferably, emulation module 202, while being Train Control instruction for the test instruction receiving at human-computer interaction module 201, generates corresponding Train Control signal according to described Train Control instruction;
Sending module, while being Train Control signal for the simulating signal generating at described emulation module, is input to described Train Control signal the bridge interface of described Vehicle Controller.
Preferably, emulation module 202, while being train status parameter for the test instruction receiving at human-computer interaction module 201, generates corresponding state simulation signal according to described train status parameter;
Sending module 203, while being Train Control signal for the simulating signal generating at emulation module 202, is input in described Vehicle Controller described state simulation signal for gathering the state acquisition interface of described train status parameter.
Preferably, emulation module 202, while being fault simulation instruction for the test instruction receiving at described human-computer interaction module 201, generates corresponding Trouble Report information according to described fault simulation instruction;
Sending module, while being Trouble Report information for the simulating signal generating at emulation module 202, by described Trouble Report input information in described Vehicle Controller for gathering the interface of described Trouble Report information.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, do not departing under the prerequisite of the technology of the present invention principle; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (8)

1. a method of testing, is characterized in that, for Vehicle Controller is carried out to fault test, described method comprises:
Step S1, receives the test instruction of user's input;
Step S2, generates corresponding simulating signal according to described test instruction;
Step S3, is input to described simulating signal according to the type of described test instruction the corresponding interface of Vehicle Controller.
2. the method for claim 1, is characterized in that, when described test instruction is Train Control instruction,
Described step S2 is specially:
According to described Train Control instruction, generate corresponding Train Control signal;
Described step S3 is specially:
Described Train Control signal is input to the bridge interface of described Vehicle Controller.
3. the method for claim 1, is characterized in that, when described test instruction is train status parameter,
Described step S2 is specially:
According to described train status parameter, generate corresponding state simulation signal;
Described step S3 is specially:
Described state simulation signal is input in described Vehicle Controller for gathering the state acquisition interface of described train status parameter.
4. the method for claim 1, is characterized in that, when described test instruction is fault simulation instruction,
Described step S2 is specially:
According to described fault simulation instruction, generate corresponding Trouble Report information;
Described step S3 is specially:
By described Trouble Report input information in described Vehicle Controller for gathering the interface of described Trouble Report information.
5. a testing apparatus, is characterized in that, for Vehicle Controller is carried out to fault test, described equipment comprises:
Human-computer interaction module, for receiving the test instruction of user's input;
Emulation module, generates corresponding simulating signal for the test instruction receiving according to described human-computer interaction module;
Sending module, for being input to described simulating signal according to the type of described test instruction the corresponding interface of Vehicle Controller.
6. equipment as claimed in claim 5, is characterized in that,
Described emulation module, while being Train Control instruction for the test instruction receiving at described human-computer interaction module, generates corresponding Train Control signal according to described Train Control instruction;
Sending module, while being Train Control signal for the simulating signal generating at described emulation module, is input to described Train Control signal the bridge interface of described Vehicle Controller.
7. equipment as claimed in claim 5, is characterized in that,
Described emulation module, while being train status parameter for the test instruction receiving at described human-computer interaction module, generates corresponding state simulation signal according to described train status parameter;
Described sending module, while being train status parameter for the test instruction receiving at described human-computer interaction module, is input in described Vehicle Controller described state simulation signal for gathering the state acquisition interface of described train status parameter.
8. equipment as claimed in claim 5, is characterized in that,
Described emulation module, while being fault simulation instruction for the test instruction receiving at described human-computer interaction module, generates corresponding Trouble Report information according to described fault simulation instruction;
Sending module, while being Trouble Report information for the simulating signal generating at described emulation module, by described Trouble Report input information in described Vehicle Controller for gathering the interface of described Trouble Report information.
CN201310689410.7A 2013-12-16 2013-12-16 Test method and test device Pending CN103744414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310689410.7A CN103744414A (en) 2013-12-16 2013-12-16 Test method and test device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310689410.7A CN103744414A (en) 2013-12-16 2013-12-16 Test method and test device

Publications (1)

Publication Number Publication Date
CN103744414A true CN103744414A (en) 2014-04-23

Family

ID=50501442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310689410.7A Pending CN103744414A (en) 2013-12-16 2013-12-16 Test method and test device

Country Status (1)

Country Link
CN (1) CN103744414A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108427631A (en) * 2017-02-14 2018-08-21 北京京东尚科信息技术有限公司 A kind of application test systems, method, electronic equipment and readable storage medium storing program for executing
CN111381578A (en) * 2018-12-29 2020-07-07 长城汽车股份有限公司 Vehicle control unit operation method and system and electronic control unit
CN112306045A (en) * 2020-12-28 2021-02-02 西门子交通技术(北京)有限公司 Fuzzy test method, equipment and storage medium for train automatic control system
CN113126591A (en) * 2020-01-16 2021-07-16 中车青岛四方机车车辆股份有限公司 Test method and device for train controller

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008002847A (en) * 2006-06-20 2008-01-10 Toyota Motor Corp On-board equipment testing device
CN101739022A (en) * 2008-11-24 2010-06-16 比亚迪股份有限公司 Performance test system and method for control unit of engine
WO2011028420A1 (en) * 2009-09-03 2011-03-10 Fisher Controls International Llc Emergency test control panel device, system and method
CN102436253A (en) * 2011-09-06 2012-05-02 北京交控科技有限公司 Online tester for vehicle-mounted running control equipment
CN102566564A (en) * 2011-12-22 2012-07-11 北京交控科技有限公司 Vehicle-mounted controller testing system
CN202443331U (en) * 2012-03-09 2012-09-19 北京信息科技大学 Fault detector for electric control system of engineering vehicle
CN202975802U (en) * 2012-12-19 2013-06-05 中国船舶重工集团公司第七一六研究所 Engineering vehicle-mounted controller smart test system based on STM32 processor
CN202995451U (en) * 2012-11-30 2013-06-12 北京交控科技有限公司 A vehicle-mounted controller automatic testing device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008002847A (en) * 2006-06-20 2008-01-10 Toyota Motor Corp On-board equipment testing device
CN101739022A (en) * 2008-11-24 2010-06-16 比亚迪股份有限公司 Performance test system and method for control unit of engine
WO2011028420A1 (en) * 2009-09-03 2011-03-10 Fisher Controls International Llc Emergency test control panel device, system and method
CN102436253A (en) * 2011-09-06 2012-05-02 北京交控科技有限公司 Online tester for vehicle-mounted running control equipment
CN102566564A (en) * 2011-12-22 2012-07-11 北京交控科技有限公司 Vehicle-mounted controller testing system
CN202443331U (en) * 2012-03-09 2012-09-19 北京信息科技大学 Fault detector for electric control system of engineering vehicle
CN202995451U (en) * 2012-11-30 2013-06-12 北京交控科技有限公司 A vehicle-mounted controller automatic testing device
CN202975802U (en) * 2012-12-19 2013-06-05 中国船舶重工集团公司第七一六研究所 Engineering vehicle-mounted controller smart test system based on STM32 processor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108427631A (en) * 2017-02-14 2018-08-21 北京京东尚科信息技术有限公司 A kind of application test systems, method, electronic equipment and readable storage medium storing program for executing
CN111381578A (en) * 2018-12-29 2020-07-07 长城汽车股份有限公司 Vehicle control unit operation method and system and electronic control unit
CN113126591A (en) * 2020-01-16 2021-07-16 中车青岛四方机车车辆股份有限公司 Test method and device for train controller
CN112306045A (en) * 2020-12-28 2021-02-02 西门子交通技术(北京)有限公司 Fuzzy test method, equipment and storage medium for train automatic control system

Similar Documents

Publication Publication Date Title
CN104950878B (en) A kind of bullet train management information system cooperates with fault simulation system
CN104765681B (en) Train is driven control software automatization test system and method
CN112987700B (en) Integrated test system of magnetic suspension traffic operation control system
CN108009097B (en) Cloud computing simulation test method and device for rail transit signal system
CN103744781B (en) A kind of method of testing of interlocking software and test macro
CN107222362A (en) A kind of vehicle CAN network automatic test platform and its optimization method
CN105511446A (en) Signal equipment simulation testing system based on trackside equipment simulation platform
CN106444721A (en) Hardware-in-the-loop test system for whole vehicle controller for electric vehicle and test method
CN104503430B (en) Rail traffic vehicles debugging task information interactive processing method and system
CN102999041B (en) Be applicable to the environment emulator of train automatic controlling system ATC
CN112445149B (en) Semi-physical simulation test system of rail train braking system
CN107145137A (en) A kind of vehicle-mounted ATP functions of the equipments simulated test device
CN113903229B (en) Train electrical fault injection and diagnosis simulation training system and training method
CN105808432A (en) Software automated testing system and method for rail traffic drive control unit/ tractive control unit (DCU/TCU)
CN103744414A (en) Test method and test device
CN207216312U (en) The interface simulation system of train control on board equipment
CN111580501A (en) Test equipment and method for vehicle electronic stability system
CN102081145A (en) Functional verification platform of battery management system
CN109270373A (en) Full-electronic interlocking test system and method
CN102393729B (en) Test platform system and test method for auxiliary current transformer control unit
CN103913728B (en) A kind of method of testing based on portable radar comprehensive tester
CN102880173B (en) Simulation testing method, equipment and system
CN103455024B (en) ECU tests system and method
CN111220400A (en) Train debugging system, method and equipment
CN205540247U (en) Row accuse vehicle -mounted cabinet functional test device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100070 Beijing science and Technology Park of Fengtai District Seahawks 6 School Road, No. 2, No. 3 international headquarters building

Applicant after: TRAFFIC CONTROL TECHNOLOGY Co.,Ltd.

Address before: 100070 Beijing science and Technology Park of Fengtai District Haiying Road No. 6 hospital of Beijing, the headquarters of the International 2 Building No. 3

Applicant before: Beijing Traffic Control Technology Co., Ltd.

COR Change of bibliographic data
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100070 Beijing science and Technology Park of Fengtai District Seahawks Hospital No. 6 2, No. 3 (Park)

Applicant after: TRAFFIC CONTROL TECHNOLOGY Co.,Ltd.

Address before: 100070 Beijing science and Technology Park of Fengtai District Seahawks 6 School Road, No. 2, No. 3 international headquarters building

Applicant before: TRAFFIC CONTROL TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140423