The utility model content
In view of this, the purpose of the utility model embodiment is to provide a kind of proving installation, also reduces the possibility of makeing mistakes with the testing efficiency that improves automobile electronic module.
For solving the problems of the technologies described above, the utility model embodiment provides scheme as follows:
The utility model embodiment provides a kind of proving installation, and described proving installation is used for test one automobile electronic module, and described proving installation is provided be used to the interface that connects described automobile electronic module, and described proving installation comprises:
Be used for the test signal according to the described automobile electronic module of test configurations Information generation input of current test item, send to the signal generation module of described automobile electronic module by described interface;
Be used for receiving from the receiver module of described automobile electronic module in response to the response message of described test signal by described interface;
Be used for the analysis module analyzed according to described test signal and described response message, with described signal generation module be connected receiver module and be connected.
Preferably, described signal generation module comprises:
The the first normal signal generation unit that is used for the first normal signal corresponding to current test item according to described test configurations Information generation;
The Fisrt fault indicator signal generation unit that is used for Fisrt fault indicator signal corresponding to current test item according to described test configurations Information generation;
Be used for generating according to described the first normal signal and described Fisrt fault indicator signal the first test signal generation unit of described test signal, with described the first normal signal generation unit be connected Fisrt fault indicator signal generation unit and be connected.
Preferably,
Described Fisrt fault indicator signal generation unit comprises:
Be used for when the test-types of described test configurations information is diagnostic test, according to the Fisrt fault indicator signal generation subelement of the described Fisrt fault indicator signal of described test configurations Information generation;
Described the first test signal generation unit comprises:
Be used for when the test-types of described test configurations information is diagnostic test, generate described test signal according to described the first normal signal and described Fisrt fault indicator signal; When the test-types in described test configurations information was not diagnostic test, the first test signal that generates described test signal according to described the first normal signal generated subelement.
Preferably, described signal generation module comprises:
Be used for the instruction generation unit according to described test configurations Information generation steering order;
Be used for generating described test signal according to described steering order, send to the signal generation unit of described automobile electronic module by described interface, be connected with described instruction generation unit.
Preferably, described signal generation unit comprises:
Be used for generating according to described steering order the second normal signal generation unit of the second normal signal corresponding to described current test item;
Be used for generating according to described steering order the second fault indication signal generation unit of the second fault indication signal corresponding to described current test item;
Be used for generating according to described the second normal signal and described the second fault indication signal the second test signal generation unit of described test signal, with described the second normal signal generation unit be connected the second fault indication signal generation unit and be connected.
Preferably,
Described the second fault indication signal generation unit comprises:
Be used for when described steering order indication generates fault, generate described the second fault indication signal and send to the second fault indication signal of described the second test signal generation unit to generate subelement according to described steering order;
Described the second test signal generation unit comprises:
Be used for when receiving described the second fault indication signal from described the second fault indication signal generation unit, generate described test signal according to described the second normal signal and described the second fault indication signal; When not receiving described the second fault indication signal from described the second fault indication signal generation unit, the second test signal that generates described test signal according to described the second normal signal generates subelement.
Preferably, described signal generation unit comprises:
Be used for providing according to described steering order the power supply input subelement of power supply input;
Be used for generating according to described steering order the bus transmission subelement of bus transmitted signal;
The 3rd test signal that is used for generating according to described steering order, described power supply input and described bus transmitted signal described test signal generates subelement, with described power supply input subelement be connected bus and send subelement and be connected.
Preferably, described analysis module comprises:
Be used for analyzing according to described test signal and described response message, obtain the first analytic unit of actual test result;
Be used for generating according to the expected test result of described actual test result and described test configurations information the second analytic unit of test report, be connected with described the first analytic unit.
Preferably, also comprise:
Be used for according to described response message, one item to be tested being updated to the update module of described current test item, with described receiver module be connected the signal generation module and be connected.
Can find out from the above, the utility model embodiment has following beneficial effect at least:
Test accordingly by the test configurations information and executing according to current test item, make proving installation can support the test of different test items, thereby saved the time of building test circuit for different test items, improved testing efficiency and reduced the possibility of makeing mistakes.
Embodiment
For the purpose, technical scheme and the advantage that make the utility model embodiment is clearer, below in conjunction with the accompanying drawings and the specific embodiments the utility model embodiment is described in detail.
The structural representation of a kind of proving installation that Fig. 1 provides for the utility model embodiment, with reference to Fig. 1, described proving installation is used for test one automobile electronic module, and described proving installation is provided be used to the interface that connects described automobile electronic module, and described proving installation comprises:
Be used for the test signal according to the described automobile electronic module of test configurations Information generation input of current test item, send to the signal generation module of described automobile electronic module by described interface;
Be used for receiving from the receiver module of described automobile electronic module in response to the response message of described test signal by described interface;
Be used for the analysis module analyzed according to described test signal and described response message, with described signal generation module be connected receiver module and be connected.
As seen, test accordingly by the test configurations information and executing according to current test item, make proving installation can support the test of different test items, thereby saved the time of building test circuit for different test items, improved testing efficiency and reduced the possibility of makeing mistakes.
Wherein, described test can be network test, also can be diagnostic test.
Described interface can comprise power supply interface and bus.Described test signal can be power supply input and bus transmission message, and described response message can be bus acknowledge message.
The analysis of described analysis module for example meets with a response the time according to the transmitting time of the transmission of the bus in described test signal message and the time of reception of described response message; Perhaps, parse response contents (as the fault code) from described response message.
For fault test, in order to reduce the complexity of equipment, described signal generation module comprises:
The the first normal signal generation unit that is used for the first normal signal corresponding to current test item according to described test configurations Information generation;
The Fisrt fault indicator signal generation unit that is used for Fisrt fault indicator signal corresponding to current test item according to described test configurations Information generation;
Be used for generating according to described the first normal signal and described Fisrt fault indicator signal the first test signal generation unit of described test signal, with described the first normal signal generation unit be connected Fisrt fault indicator signal generation unit and be connected.
Wherein, described the first test signal generation unit can inject box for fault, perhaps, can be integrated in (for example, the situation of bus failure) in integrated circuit board.
Further, can support different test-types (for example, can network enabled test can support fault test again) in order to make proving installation,
Described Fisrt fault indicator signal generation unit comprises:
Be used for when the test-types of described test configurations information is diagnostic test, according to the Fisrt fault indicator signal generation subelement of the described Fisrt fault indicator signal of described test configurations Information generation;
Described the first test signal generation unit comprises:
Be used for when the test-types of described test configurations information is diagnostic test, generate described test signal according to described the first normal signal and described Fisrt fault indicator signal; When the test-types in described test configurations information was not diagnostic test, the first test signal that generates described test signal according to described the first normal signal generated subelement.
In addition, for the complexity that simplified apparatus is realized, described signal generation module comprises:
Be used for the instruction generation unit according to described test configurations Information generation steering order;
Be used for generating described test signal according to described steering order, send to the signal generation unit of described automobile electronic module by described interface, be connected with described instruction generation unit.
For fault test, for the complexity of further minimizing equipment,
Described signal generation unit comprises:
Be used for generating according to described steering order the second normal signal generation unit of the second normal signal corresponding to described current test item;
Be used for generating according to described steering order the second fault indication signal generation unit of the second fault indication signal corresponding to described current test item;
Be used for generating according to described the second normal signal and described the second fault indication signal the second test signal generation unit of described test signal, with described the second normal signal generation unit be connected the second fault indication signal generation unit and be connected.
Wherein, described the second test signal generation unit can inject box for fault, perhaps, can be integrated in (for example, the situation of bus failure) in integrated circuit board.
Further, can support different test-types (for example, can network enabled test can support fault test again) in order to make proving installation,
Described the second fault indication signal generation unit comprises:
Be used for when described steering order indication generates fault, generate described the second fault indication signal and send to the second fault indication signal of described the second test signal generation unit to generate subelement according to described steering order;
Described the second test signal generation unit comprises:
Be used for generating described test signal according to described the second normal signal and described the second fault indication signal when receiving described the second fault indication signal from described the second fault indication signal generation subelement; When not receiving described the second fault indication signal from described the second fault indication signal generation subelement, the second test signal that generates described test signal according to described the second normal signal generates subelement.
In addition, in order to reduce the complexity of equipment, described signal generation unit comprises:
Be used for providing according to described steering order the power supply input subelement of power supply input;
Be used for generating according to described steering order the bus transmission subelement of bus transmitted signal;
The 3rd test signal that is used for generating according to described steering order, described power supply input and described bus transmitted signal described test signal generates subelement, with described power supply input subelement be connected bus and send subelement and be connected.
Wherein, described bus transmitted signal can send message for bus, can also be the bus undesired signal.
Described analysis module can be analyzed according to described test signal and described response message, obtains actual test result; Perhaps,
Described analysis module comprises:
Be used for analyzing according to described test signal and described response message, obtain the first analytic unit of actual test result;
Be used for generating according to the expected test result of described actual test result and described test configurations information the second analytic unit of test report, be connected with described the first analytic unit.
Particularly, described reporting modules compares described actual test result and described expected test result, if identical, test is passed through, and described in described test report, the test result of current test item is for passing through; Otherwise test is not passed through, and described in described test report, the test result of current test item is not for passing through.The comparative result that has gathered all test items in described test report (as the form with the WORD document).
In order to support proving installation that a plurality of test items of slip-stick artist configuration are tested,
Described proving installation also comprises:
Be used for according to described response message, one item to be tested being updated to the update module of described current test item, with described receiver module be connected the signal generation module and be connected.
the system of the example of a kind of proving installation that Fig. 2 provides for the utility model embodiment forms structural drawing, with reference to Fig. 2, in this system, described automobile electronic module is tested controller, described instruction generation unit is the industrial computer that is connected with auxiliary input device and display device, described the second normal signal generation unit is programmable power supply, accessory power supply, the bus transceiver, bus interferometer and integrated circuit board, described the second fault indication signal generation unit is integrated in integrated circuit board, described the second test signal generation unit is that fault is injected box, described receiver module, described analysis module and described update module are integrated in the bus transceiver, described interface is that tested controller and fault are injected the interface between box.
Wherein, industrial computer, bus transceiver, bus interferometer, programmable power supply, integrated circuit board, fault are injected box and are connected controller by the connection of lan controller bus.Accessory power supply and programmable power supply are connected to integrated circuit board by pressure-wire respectively.Proving installation in this example and line can be integrated in same test cabinet.
Described the second fault indication signal sends to fault to inject box by integrated circuit board.If fault injection box not slave plate clamping is received described the second fault indication signal, fault injection box shows as channel status, is about to described the second normal signal and sends to tested controller as described test signal; Described the second fault indication signal is received in clamping if fault is injected the box slave plate, state corresponding to described the second fault indication signal is changed in the circuit connection of inside, thereby tested controller is deliberately received in the circuit of certain fault.The failure mode that fault injection box can be simulated mainly contains input/output port to power supply short circuit, input/output port shorted to earth and input/output port open circuit.
Preserved the test configurations information of a plurality of test items in industrial computer.After being activated by industrial computer, the bus transceiver can be got by industrial computer the test configurations information of these a plurality of test items.Each bus transceiver will call the test that industrial computer carries out next test item after obtaining actual test result according to test signal and response message analysis.When industrial computer is tested each test item, can be by lan controller bus control bus transceiver, bus interferometer and/or the programmable power supply change input to integrated circuit board, sometimes also can Control card the integrated circuit board internal circuit be connected and make a change, integrated circuit board is input to fault injects the signal of box and be transmitted to tested controller or integrated circuit board is input to fault and inject and after the signal of box is made fault handling, fault-signal is sent to tested controller thereby make fault inject box.
The bus transceiver can be after the test item test of all-network test be completed the unified test report that generates all these test items, and after the test item test of all diagnostic tests is completed the unified test report that generates all these test items; Perhaps, also can after completing, all test items unify to generate the test report of all these test items.
The workflow of this system can be as shown in Figure 3.The working-flow figure of the example of a kind of proving installation that Fig. 3 provides for the utility model embodiment.After bringing into operation, industrial computer carries out the initialization of this system: control programmable power supply and accessory power supply and power on, activate the bus transceiver, control fault injection box by integrated circuit board and power on to tested controller.After the bus transceiver is activated, judge whether to carry out network test according to test configurations, if so, enter network test branch; Otherwise, enter diagnostic test branch.
For network test branch, the bus transceiver judges that whether current test item needs bus to disturb, and obtains one first judged result.First when the determination result is NO, the bus transceiver need to judge whether the transform controller power supply mode, obtains one second judged result when this.Second when the determination result is NO, the bus transceiver sends corresponding bus to the lan controller bus and sends message, receives the response message from tested controller, and obtains actual test result when this; When this second judgment result is that when being, bus transceiver indication industrial computer is controlled miscellaneous equipment with the power supply mode of the tested controller of conversion, after the bus transceiver detects the power supply mode conversion and completes, send corresponding bus to the lan controller bus and send message, reception is from the response message of tested controller, and obtains actual test result.When this first judgment result is that when being, the bus transceiver starts the bus jamming equipment, and the control bus jamming equipment sends corresponding bus undesired signal to the lan controller bus, then the bus transceiver sends corresponding bus to the lan controller bus and sends message, reception is from the response message of tested controller, and obtains actual test result.
The bus transceiver judges whether the test of the test item of all-network test has all been completed, and if so, actual test result and the expected test result in test configurations information according to the test item of each network test generates test report; Otherwise the test item of the network test that the next one is not carried out is controlled the test of new current test item as current test item.
After the test report of the test item of bus transceiver generation all-network test, judge whether to have completed diagnosis test sequence according to test configurations, if so, finish all content measurements; Otherwise, enter diagnostic test branch.
For diagnostic test branch, for each current test item, bus transceiver indication industrial computer is controlled miscellaneous equipment take the power supply mode of the tested controller of conversion and then as the corresponding fault of tested controller simulation.After the bus transceiver detects the power supply mode conversion and completes, send corresponding bus to the lan controller bus and send message, receive the response message from tested controller, and obtain actual test result.
If the test item of the diagnostic test of testing is still arranged, the test item of bus transceiver diagnostic test that the next one is tested as new current test item, is controlled the test of new current test item.When the test item of all diagnostic tests is all tested when completing, the bus transceiver generates test report according to actual test result and the expected test result in test configurations information of the test item of each diagnostic test.
The bus transceiver judges whether to have completed the network test sequence according to test configurations after generating the test report of test item of all diagnostic tests, if so, finishes all content measurements; Otherwise, enter network test branch.
The above is only the embodiment of the utility model embodiment; should be understood that; for those skilled in the art; under the prerequisite that does not break away from the utility model embodiment principle; can also make some improvements and modifications, these improvements and modifications also should be considered as the protection domain of the utility model embodiment.