CN209930280U - Network automation bus test rack - Google Patents
Network automation bus test rack Download PDFInfo
- Publication number
- CN209930280U CN209930280U CN201920811747.3U CN201920811747U CN209930280U CN 209930280 U CN209930280 U CN 209930280U CN 201920811747 U CN201920811747 U CN 201920811747U CN 209930280 U CN209930280 U CN 209930280U
- Authority
- CN
- China
- Prior art keywords
- control box
- fault
- gateway
- communication module
- basic
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
The utility model provides a network automation bus test rack, including bus automation test rack and external device, bus automation test rack includes programmable power supply, IO control box, fault control box, basic control box and gateway control box, external device includes PC, all controllers of whole car and communication module; the programmable power supply is respectively connected with the I/O control box, the fault control box, the basic control box, the gateway control box and the PC, the communication module is respectively connected with the I/O control box, the fault control box, the basic control box, the gateway control box and the PC, and all controllers of the whole vehicle are respectively connected with the I/O control box, the fault control box, the basic control box, the gateway control box and the communication module. The utility model discloses realize the automatic control that power and trouble were poured into, promote test bench result accuracy and efficiency of software testing, reduce bench test cost.
Description
Technical Field
The utility model relates to a car bus network field especially relates to a network automation bus test rack.
Background
The vehicle bus network rack test is an indispensable link in the vehicle model development process. The network bench test mainly comprises the contents of equal physical layer test, data link layer test, network management test, bus fault test, severity test, robustness test and the like. The bus network test bench generally comprises a power supply, a controller, a wire harness, monitoring equipment and the like.
The power supply switching, fault injection and other operations in test items such as network management test, bus fault test, robustness test and the like in the conventional bus network bench test are performed manually, so that the problems of inconsistent operation methods, unavailable operation time, easy misoperation and the like exist, and the problem point positioning and troubleshooting difficulty is high.
The existing bus network bench test is based on the wiring harness arrangement of each vehicle type, a controller and a part of actuators are connected to the wiring harness for testing, and except for physical layer testing, other test items CAN be tested only by a CAN bus, a power line and a part of hard wires. Because of there is the difference in the pencil design between each motorcycle type, when carrying out the bench test, every motorcycle type all need use new pencil to test, and the pencil cost is higher.
Disclosure of Invention
The to-be-solved technical problem of the utility model lies in providing an automatic bus test rack of network, mainly optimizes to bus network test rack, uses the control box based on CAN control, realizes the automated control that power and trouble were poured into, guarantees the uniformity of multi-vehicle type test case, reduces the maloperation frequency, promotes test rack result accuracy and efficiency of software testing, reduces rack test cost.
The utility model discloses a problem is realized like this: a network automation bus test bench comprises a bus automation test bench and an external device, wherein the bus automation test bench comprises a program control power supply, at least one I/O control box, at least one fault control box, at least one basic control box and at least one gateway control box; the programmable power supply is respectively connected with the I/O control box, the fault control box, the basic control box, the gateway control box and the PC, the communication module is respectively connected with the I/O control box, the fault control box, the basic control box, the gateway control box and the PC, and all controllers of the whole vehicle are respectively connected with the I/O control box, the fault control box, the basic control box and the gateway control box; the PC tests the states of the I/O control box, the fault control box, the basic control box and the gateway control box through the communication module; the PC controls the fault control box, the basic control box and the gateway control box through the communication module, and tests CAN communication conditions of all controllers of the whole vehicle through the fault control box, the basic control box and the gateway control box.
Furthermore, the programmable power supply is connected with the I/O control box, the fault control box, the basic control box and the gateway control box through a first power supply wiring harness, and the fault control box, the basic control box and the gateway control box are all connected to all controllers of the whole vehicle through a second power supply wiring harness.
Furthermore, communication module is connected with IO control box, fault control box, basic control box and gateway control box respectively through first CAN pencil, all controllers of whole car are connected with fault control box, basic control box and gateway control box respectively through the second CAN pencil, fault control box, basic control box and gateway control box all are connected to communication module through the third CAN pencil.
Furthermore, the program-controlled power supply is connected with the PC through a USB wire or a network cable.
Furthermore, the I/O control box is connected to all controllers of the whole vehicle through an I/O connection wiring harness.
Further, the communication module is connected to a PC through a USB cable.
Further, the communication module is a CAN bus hardware interface card with the model number of VN 1640.
The utility model has the advantages that:
1. harnesses such as a CAN harness, a power supply harness, an I/O connection harness and the like used by the network automation bus test bench are suitable for various vehicle types, have high reusability and CAN reduce the harness cost of vehicle type test;
2. the network automation bus test bench is provided with four functional control boxes (an I/O control box, a fault control box, a basic control box and a gateway control box), a PC controls the I/O control box, the fault control box, the basic control box and the gateway control box through a communication module, and the PC also controls all controllers of the whole vehicle through the fault control box, the basic control box and the gateway control box, so that the automation control of operations such as fault injection, power on-off and the like can be realized, the consistency of test cases is ensured, and the test efficiency and the accuracy are improved;
3. the network automation bus test bench comprises a test process monitoring mechanism, can quickly position the problem occurrence time, reduces the problem point troubleshooting difficulty and has strong traceability.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
Fig. 1 is the utility model relates to a network automation bus test rack's structural schematic.
Fig. 2 is an execution flow chart of the network automation bus testing method of the present invention.
Fig. 3 is a specific execution flow chart of the test case according to the present invention.
Detailed Description
In order to make the present invention more comprehensible, a preferred embodiment accompanied with figures is described in detail below.
The utility model relates to a have: vehicle bus technology, field bus CAN principle and application technology, BOACH, CAN bus communication Version 2.0 and CAN bus communication test technology.
As shown in FIG. 1, the network automation bus test bench of the present invention comprises a bus automation test bench and an external device, the bus automatic test bench comprises a programmable power supply, at least one I/O control box, at least one fault control box, at least one basic control box and at least one gateway control box, the number of the basic control boxes and the gateway control boxes is related to the number of all controllers of the whole vehicle, at least 2 controllers of the whole vehicle are provided, the total number of all the controllers of the whole vehicle is equal to the number of the gateway control boxes and the basic control boxes, the CAN protocol is specified, a single-path CAN is connected with 16 CAN controllers at most, the number of the fault control boxes is related to the number of the loops of the CAN of the whole vehicle, the number of the I/O control boxes is set according to requirements, and the I/O control boxes CAN be omitted if the whole vehicle has no requirements; the external equipment comprises a PC, all controllers of the whole vehicle and a communication module; the programmable power supply is respectively connected with the I/O control box, the fault control box, the basic control box, the gateway control box and the PC, the communication module is respectively connected with the I/O control box, the fault control box, the basic control box, the gateway control box and the PC, and all controllers of the whole vehicle are respectively connected with the I/O control box, the fault control box, the basic control box and the gateway control box; the PC tests the states of the I/O control box, the fault control box, the basic control box and the gateway control box through the communication module; the PC controls the fault control box, the basic control box and the gateway control box through the communication module, and tests CAN communication conditions of all controllers of the whole vehicle through the fault control box, the basic control box and the gateway control box.
A preferred embodiment is:
the programmable power supply is connected with the PC through a USB (universal serial bus) line or a network cable, and the PC sends a power supply control command to the programmable power supply to control the programmable power supply to be turned on and off; the programmable power supply is respectively connected with the I/O control box, the fault control box, the basic control box and the gateway control box through a first power supply wire harness, and the programmable power supply controls the power-on and power-off states of the I/O control box, the fault control box, the basic control box and the gateway control box; the fault control box, the basic control box and the gateway control box are all connected to all controllers of the whole vehicle through a second power supply wire harness, and the fault control box, the basic control box and the gateway control box are used for controlling the power-on and power-off states of different controllers in all the controllers of the whole vehicle;
the communication module is connected to the PC through a USB line, so that data interaction between the PC and the communication module is realized, the PC can normally send an instruction to the communication module, and the communication module can also normally feed back information to the PC; the communication module is respectively connected with the I/O control box, the fault control box, the basic control box and the gateway control box through a first CAN wire harness, when the state of the control box is to be tested, a command is sent to the communication module through a USB wire by the PC, then the command is respectively sent to the I/O control box, the fault control box, the basic control box and the gateway control box through the first CAN wire harness by the communication module, the state of the control box is fed back to the communication module through the first CAN wire harness after the control box executes operation, and then the state of the control box is fed back to the PC through the USB wire by the communication module, so that the control of the PC on the control boxes with four functions is realized;
the whole vehicle controller is respectively connected with the fault control box, the basic control box and the gateway control box through a second CAN wire harness, the fault control box, the basic control box and the gateway control box are all connected to the communication module through a third CAN wire harness, the I/O control box is connected to the whole vehicle controller through an I/O connection wire harness, the level of a hard wire needing hard wire signal input (5V/12V/0V) in the whole vehicle controller CAN be controlled to be increased or reduced, when the CAN communication condition of the whole vehicle controller is tested, a PC sends an instruction to the communication module through a USB wire, then the communication module sends the instruction to the fault control box, the basic control box and the gateway control box through the third CAN wire harness, and then the fault control box, the whole vehicle basic control box and the gateway control box send the instruction to all controllers through the second CAN wire harness, after all controllers of the whole vehicle are operated, the CAN communication condition is fed back to the fault control box, the basic control box and the gateway control box through the second CAN wire harness, then the fault control box, the basic control box and the gateway control box are fed back to the communication module through the third CAN wire harness, and then the communication module is fed back to the PC through the USB wire, so that all the controllers of the whole vehicle are controlled by the PC.
The test process of all controllers of the whole vehicle can be realized based on the I/O control box, the fault control box, the basic control box and the gateway control box, so that the I/O control box, the fault control box, the basic control box and the gateway control box can test all controllers of the whole vehicle under a normal state, the test of the I/O control box, the fault control box, the basic control box and the gateway control box is a premise for testing all controllers of the whole vehicle, namely the I/O control box, the fault control box, the basic control box and the gateway control box are tested firstly, and all controllers of the whole vehicle are tested after the states of all the control boxes are normal.
The communication module is a CAN bus hardware interface card with the model number of VN1640, when the communication module is connected with the I/O control box, the fault control box, the basic control box and the gateway control box by adopting a CAN bus, the port of the communication module must also be an interface matched with the CAN bus, so that the I/O control box, the fault control box, the basic control box and the gateway control box CAN be connected with the communication module, namely the interface type of the communication module is determined by the type of a wiring harness connected with the I/O control box, the fault control box, the basic control box and the gateway control box, and the two interface types are matched.
1. The bus automatic test bench consists of a programmable power supply, four functional control boxes (an I/O control box, a fault control box, a basic control box and a gateway control box) and a wire harness.
① programmed power supply for supplying power to the rack and supporting control via USB cable and network cable;
② I/O control box for increasing or decreasing the level of I/O connection wire harness and simulating the hard-line input signal required by some controller function, such as brake signal, door lock signal, etc.;
③ fault control box for injecting impedance, capacitance, short circuit and open circuit on the CAN network of the whole vehicle;
④ basic control box for controlling the power supply of a certain controller and the on-off of CAN bus loop;
⑤ gateway control box for controlling the power supply of two CAN gateway controllers and the on-off of CAN bus loop;
⑥ a first CAN line harness for receiving the command of PC to control four function control boxes and the self state of feedback control box;
⑦ second CAN line, i.e. whole vehicle CAN bus path, for connecting with the third line bundle via the fault control box, the basic control box and the gateway control box, so as to transmit the communication condition of the whole vehicle controller to the communication module and further to the PC terminal;
⑧ the third CAN line is a whole vehicle CAN bus channel connected via the box, and is used for receiving the command sent from the communication module, transmitting the command to the fault control box, the basic control box and the gateway control box, and feeding back the CAN communication condition from the fault control box, the basic control box and the gateway control box to the communication module;
⑨ USB line and network line for transmitting control command from PC.
2. The external equipment comprises a PC, all controllers of the whole vehicle and a communication module (such as VN 1640).
① PC contains software module scripts based on CAN bus such as control box control module, program control power supply control module, whole vehicle CAN communication monitoring module, etc.;
② all controllers of the whole vehicle are controllers for information interaction through a CAN/LIN bus;
③ communication module is used for the communication between PC and four kinds of function control box, if adopt the CAN pencil to connect between control box and the communication module, communication module just will adopt the module that CAN dock with the CAN pencil, like VN1640, VN1640 is a section car CAN bus hardware interface card that Vector company developed.
The utility model adds four functional control boxes (I/O control box, fault control box, basic control box and gateway control box), and the vehicle bus detection of the prior art has no control box, and all needs manual wiring operation, the operation is complex, and the accuracy is poor; the utility model discloses a control box setting can improve the accuracy and reduce the operation complexity.
As shown in fig. 2, the present invention provides a network automated bus testing method, which needs to provide the above network automated bus testing bench, and the method includes the following steps:
step 1, starting the programmable power supply to enable the programmable power supply to enter a controllable state;
step 2, executing a test case, wherein the test case is developed by using a CAPL language based on a CANoe development environment;
step 3, the PC machine judges whether the test process has faults or not, if the test process has faults, the step 4 is carried out, otherwise, the step 5 is directly carried out;
step 4, judging whether the faults occurring in the testing process have influence on the subsequent testing, if not, entering step 5, otherwise, entering step 6;
step 5, the PC machine judges whether all test cases are executed or not, if the execution is finished, the step 6 is carried out, otherwise, the step 2 is carried out;
step 6, judging the test result of the network automation test bench; the tested objects are an I/O control box, a fault control box, a basic control box, a gateway control box and all controllers of the whole vehicle, and the state of the tested objects, namely the test result, can be obtained after all test cases are executed;
and 7, closing the program-controlled power supply, and completing the test of the network automatic test bench.
As shown in fig. 3, the specific execution process for executing the test case in step 2 includes the following steps:
step 21, the PC transmits a power supply control instruction to the program-controlled power supply through a USB (universal serial bus) line or a network cable;
step 22, after receiving the power control command, the programmable power supply configures parameters (such as voltage, current and the like), and outputs current to the I/O control box, the fault control box, the basic control box and the gateway control box through the first power wiring harness to electrify;
step 23, after the I/O control box, the fault control box, the basic control box and the gateway control box are powered on, the PC sends a control box control instruction to the I/O control box, the fault control box, the basic control box and the gateway control box through the communication module in a CAN message form, that is, the PC transmits the control box control instruction to the communication module through a USB cable, and then the communication module transmits the control box control instruction to the I/O control box, the fault control box, the basic control box and the gateway control box through a first CAN wire harness;
step 24, after the I/O control box, the fault control box, the basic control box and the gateway control box receive a control command of the control box sent by the PC, the on-off operation of the relay is executed, and the state of the relay is fed back to the PC through the communication module in a CAN message form, namely the I/O control box, the fault control box, the basic control box and the gateway control box transmit the state information to the communication module through a first CAN wire harness, and then the communication module transmits the state information to the PC through a USB wire;
step 25, the PC respectively judges whether the states of the I/O control box, the fault control box, the basic control box and the gateway control box are abnormal according to the received state of the relay, if so, the step 26 is carried out, otherwise, the step 27 is carried out;
step 26, recording the state of the control box with the abnormality and the time point of the abnormality, and then entering step 29;
step 27, performing the conduction operation of a relay through the fault control box, the basic control box and the gateway control box, communicating the power supplies of all controllers of the whole vehicle, and simultaneously conducting the second CAN wire harness and the third CAN wire harness through the relay of the control box, namely communicating the second CAN wire harness and the third CAN wire harness through the relay of the control box, then transmitting the communication information of all controllers of the whole vehicle to the fault control box, the basic control box and the gateway control box through the second CAN wire harness, transmitting the communication information to the communication module through the fault control box, the basic control box and the gateway control box through the third CAN wire harness, and feeding the communication module back to the PC; the communication information of all controllers of the whole vehicle is transmitted to the fault control box, the basic control box and the gateway control box through the second CAN wire harness, then transmitted to the communication module through the fault control box, the basic control box and the gateway control box through the third CAN wire harness, and then fed back to the PC through the USB wire by the communication module, wherein the fault control box, the basic control box and the gateway control box only have the transmission function on the communication information, and have no processing process, but have physical fault injection on the wire harness;
step 28, the PC monitors CAN communication conditions of all controllers of the whole vehicle in the whole process, and judges test results of all controllers of the whole vehicle;
and 29, exiting the test case execution.
Based on the network automation bus test bench, the full automation bench test of the whole vehicle CAN network is realized by combining a PC software module.
Although specific embodiments of the present invention have been described, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the claims appended hereto.
Claims (7)
1. The utility model provides a network automation bus test bench which characterized in that: the system comprises a bus automatic test rack and an external device, wherein the bus automatic test rack comprises a programmable power supply, at least one I/O control box, at least one fault control box, at least one basic control box and at least one gateway control box, and the external device comprises a PC (personal computer), all controllers of a whole vehicle and a communication module; the programmable power supply is respectively connected with the I/O control box, the fault control box, the basic control box, the gateway control box and the PC, the communication module is respectively connected with the I/O control box, the fault control box, the basic control box, the gateway control box and the PC, and all controllers of the whole vehicle are respectively connected with the I/O control box, the fault control box, the basic control box and the gateway control box; the PC tests the states of the I/O control box, the fault control box, the basic control box and the gateway control box through the communication module; the PC controls the fault control box, the basic control box and the gateway control box through the communication module, and tests CAN communication conditions of all controllers of the whole vehicle through the fault control box, the basic control box and the gateway control box.
2. The network automation bus test rack of claim 1, wherein: the programmable power supply is connected with the I/O control box, the fault control box, the basic control box and the gateway control box through a first power supply wiring harness, and the fault control box, the basic control box and the gateway control box are all connected to all controllers of the whole vehicle through a second power supply wiring harness.
3. The network automation bus test rack of claim 1, wherein: communication module is connected with IO control box, fault control box, basic control box and gateway control box respectively through first CAN pencil, all controllers of whole car are connected with fault control box, basic control box and gateway control box respectively through the second CAN pencil, fault control box, basic control box and gateway control box all are connected to communication module through the third CAN pencil.
4. The network automation bus test rack of claim 1, wherein: the program-controlled power supply is connected with the PC through a USB wire or a network cable.
5. The network automation bus test rack of claim 1, wherein: and the I/O control box is connected to all controllers of the whole vehicle through an I/O connecting wire harness.
6. The network automation bus test rack of claim 1, wherein: the communication module is connected to the PC through a USB cable.
7. The network automation bus test rack of claim 1, wherein: the communication module is a CAN bus hardware interface card with the model number of VN 1640.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201920811747.3U CN209930280U (en) | 2019-05-31 | 2019-05-31 | Network automation bus test rack |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201920811747.3U CN209930280U (en) | 2019-05-31 | 2019-05-31 | Network automation bus test rack |
Publications (1)
Publication Number | Publication Date |
---|---|
CN209930280U true CN209930280U (en) | 2020-01-10 |
Family
ID=69092286
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201920811747.3U Expired - Fee Related CN209930280U (en) | 2019-05-31 | 2019-05-31 | Network automation bus test rack |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN209930280U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110224867A (en) * | 2019-05-31 | 2019-09-10 | 东南(福建)汽车工业有限公司 | A kind of network automatically bus test rack and its test method |
-
2019
- 2019-05-31 CN CN201920811747.3U patent/CN209930280U/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110224867A (en) * | 2019-05-31 | 2019-09-10 | 东南(福建)汽车工业有限公司 | A kind of network automatically bus test rack and its test method |
CN110224867B (en) * | 2019-05-31 | 2024-04-09 | 东南(福建)汽车工业股份有限公司 | Network automation bus test bench and test method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112859817A (en) | Complete vehicle fault diagnosis test system | |
CN108594792B (en) | Hardware-in-loop test system and test equipment for bidirectional vehicle-mounted charger | |
CN109726061B (en) | SoC chip verification method | |
CN112147981A (en) | dSPACE HIL-based electric vehicle power-on and power-off logic test method and test system | |
CN105223897A (en) | A kind of rolling stock electrical control cabinet proving installation and method of testing | |
CN105262211A (en) | Distribution master station and terminal synchronous on-line self-diagnosis method | |
CN110224867B (en) | Network automation bus test bench and test method thereof | |
CN112697455A (en) | Automatic real vehicle testing system | |
CN209930280U (en) | Network automation bus test rack | |
CN113534765A (en) | Real vehicle network test system | |
CN110727255A (en) | Whole vehicle controller software upgrading test system and vehicle | |
CN114756008A (en) | Fault injection system, automatic test system and method for automobile hybrid bus integrated rack | |
CN112269370A (en) | Vehicle control unit and motor controller combined test system and method | |
CN103425123A (en) | Automated testing method for CAN (controller area network) bus based on software script | |
CN107885190B (en) | Electric automobile function test system | |
CN214376405U (en) | Dual-channel automatic software updating system | |
CN114545886B (en) | Refreshing test bench and refreshing test method for vehicle controller | |
CN114578786A (en) | Vehicle test system | |
CN111736057A (en) | Integrated circuit board's on-line measuring device | |
CN114487632A (en) | Test platform for functions of vehicle-mounted charger | |
CN106210897A (en) | A kind of Set Top Box automatic test approach based on serial ports and system thereof | |
CN113640026B (en) | Industrial equipment testing method, device and system | |
CN118760121A (en) | Vehicle testing method and device, electronic equipment and readable medium | |
CN219372603U (en) | V2X terminal engineering is precious | |
CN112445201B (en) | Remote troubleshooting and fault positioning method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200110 |
|
CF01 | Termination of patent right due to non-payment of annual fee |