CN102929274A - Test system, method and device for redundancy of in-vehicle network during ground offset - Google Patents

Test system, method and device for redundancy of in-vehicle network during ground offset Download PDF

Info

Publication number
CN102929274A
CN102929274A CN2012104421689A CN201210442168A CN102929274A CN 102929274 A CN102929274 A CN 102929274A CN 2012104421689 A CN2012104421689 A CN 2012104421689A CN 201210442168 A CN201210442168 A CN 201210442168A CN 102929274 A CN102929274 A CN 102929274A
Authority
CN
China
Prior art keywords
bus
ground
power supply
communication data
redundancy
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.)
Granted
Application number
CN2012104421689A
Other languages
Chinese (zh)
Other versions
CN102929274B (en
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.)
BAIC Motor Co Ltd
Original Assignee
BAIC Motor 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 BAIC Motor Co Ltd filed Critical BAIC Motor Co Ltd
Priority to CN201210442168.9A priority Critical patent/CN102929274B/en
Publication of CN102929274A publication Critical patent/CN102929274A/en
Application granted granted Critical
Publication of CN102929274B publication Critical patent/CN102929274B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a test system, a method and a device for redundancy of an in-vehicle network during ground offset, and solves the problem that whether a controller area network (CAN) bus can communicate and diagnose normally cannot be tested when ground offset happens to power supply of an electronic control unit (ECU) system in the prior art. The test system comprises a CAN bus, a target test platform, a direct current stabilized power supply, a programmable power supply, a bus monitoring device and an upper computer, wherein the target test platform is electrically connected with the CAN bus, used for receiving and selecting a control command of to-be-tested targets required to generate the ground offset, and executes actions corresponding to the control command; the direct current stabilized power supply is connected with each to-be-tested target in the target test platform and used for supplying stable working voltage for the to-be-tested targets; the programmable power supply is connected with each to-be-tested target in the target test platform and used for providing supply voltage generating ground offset voltage for to-be-tested targets required to generate the ground offset; and the upper computer operates a bus test tool. After adoption of the technical scheme, the redundancy and reliability of a whole electronic control system can be guaranteed effectively.

Description

In-vehicle networking ground skew redundancy test macro, method and apparatus
Technical field
The present invention relates to communication technique field, particularly a kind of In-vehicle networking ground skew redundancy test macro, method and apparatus.
Background technology
Along with the development of automotive engineering, employed electronics ECU(electronic control unit in the Hyundai Motor) and communication system more and more, such as engine electric-controlled system, automatic transmission control system, automatic cruising system and in-vehicle multi-media system etc.The appearance of In-vehicle networking is linked together each ECU, shares signal resource, has greatly reduced the use of wire harness, has reduced complete vehicle weight and cost, has improved real-time and the security of vehicle.But the increase of electronic control unit quantity, the power supply that the complicacy of arranging at vehicle interior also will inevitably increase ECU goes out the terrain skew.Go out in the situation of terrain skew CAN(Controller Area Network, controller local area network at ECU) bus can normal communication and diagnosis will directly have influence on redundancy and the reliability of car load electric-control system.
In the prior art, go out when the power supply of ECU in the situation of terrain skew can't testing CAN bus can normal communication and diagnosis, thereby have influence on redundancy and the reliability of car load electric-control system, to this problem, effective solution is not yet proposed at present.
Summary of the invention
The invention provides a kind of In-vehicle networking ground skew redundancy test macro, method and apparatus, be used for solving in prior art goes out the terrain skew when the power supply of ECU the situation can't testing CAN bus can normal communication and the problem of diagnosis.
For achieving the above object, according to a first aspect of the invention, provide a kind of In-vehicle networking ground skew redundancy test macro, and by the following technical solutions:
This test macro comprises: the CAN bus comprises CAN_H wire and CAN_L wire; The target detection platform is electrically connected with the CAN bus, in order to receiving the selected steering order that needs to produce the measured target of ground skew, and carries out and this steering order is moved accordingly; D.C. regulated power supply links to each other with each measured target in the target detection platform, is used for providing stable operating voltage to measured target; Programmable power supply links to each other with each measured target in the target detection platform, and being used for provides the supply voltage that produces ground, ground offset voltage to the measured target that needs to produce the ground skew; Bus monitoring equipment, its CAN_H pin leads links to each other with the CAN_H wire of CAN bus, and the CAN_L pin leads of bus monitoring equipment links to each other with the CAN_L wire of CAN bus; Bus monitoring equipment is also communicated by letter with programmable power supply, in order to the programmable power supply sending controling instruction; Host computer, operation bus test instrument, and communicate by letter with the target detection platform with bus monitoring equipment respectively.
Further, the target detection platform comprises: several ECU (Electrical Control Unit), and the CAN_H pin leads of each ECU (Electrical Control Unit) links to each other with the CAN_H wire of CAN bus, and the CAN_L pin leads of each ECU (Electrical Control Unit) links to each other with the CAN_L wire of CAN bus; Several relays are corresponding to several ECU (Electrical Control Unit); The normally closed contact of each relay links to each other with the earth terminal of D.C. regulated power supply, and the normally opened contact of each relay links to each other with the earth terminal of programmable power supply; The Control integrated circuit board is provided with signal output channels corresponding and several relays, and each signal output channels is coupled in the control end of the relay corresponding with this signal output channels; The input end of Control integrated circuit board links to each other with host computer, is used for receiving the selected steering order that needs the ECU (Electrical Control Unit) of generation ground skew of host computer transmission, and controls the break-make of the relay corresponding with this ECU (Electrical Control Unit); The positive pole of programmable power supply links to each other with the positive pole of D.C. regulated power supply, and jointly connects all ECU (Electrical Control Unit).
Further, the Control integrated circuit board is NI PCI-6259 data collecting card.
Further, the input end of Control integrated circuit board links to each other by the PCI serial ports with host computer.
Further, the bus test instrument is CANOE.
According to a second aspect of the invention, provide a kind of In-vehicle networking ground skew redundancy method of testing, and by the following technical solutions:
This method of testing comprises: the random number that produces at random selected measured target; Send and the corresponding steering order of random number; Send the voltage range instruction of ground skew testing requirement; Receive the message information of CAN bus communication data; Operation bus test instrument, diagnosing out the message information of the CAN bus communication data of reception is exception message.
Further, diagnosing out the message information of the CAN bus communication data of reception is that exception message also comprises afterwards: the message information of preserving the CAN bus communication data that receive.
Further, diagnosing out the message information of the CAN bus communication data of reception is that exception message also comprises afterwards: the current configuration of record and the corresponding test macro of exception message.
Further, the current configuration of test macro comprises: produce exception message and the random number that arranges; The voltage range of the ground skew testing requirement that produces exception message and send.
According to a third aspect of the present invention, provide a kind of In-vehicle networking ground skew redundancy proving installation, and by the following technical solutions:
This proving installation comprises: generation module at random is used for producing at random the random number of selected measured target; The first sending module is used for sending and the corresponding steering order of random number; The second sending module is used for sending the voltage range instruction of ground skew testing requirement; The first receiver module is for the message information that receives CAN bus communication data; The first diagnostic module is used for operation bus test instrument, and diagnosing out the message information of the CAN bus communication data of reception is exception message.
Further, proving installation also comprises: preserve module, be used for preserving the message information of the CAN bus communication data that receive.
Further, proving installation also comprises: logging modle is used for the current configuration of record and the corresponding test macro of exception message.
Further, the current configuration of test macro comprises: produce exception message and the random number that arranges; The voltage range of the ground skew testing requirement that produces exception message and send.
According to a fourth aspect of the present invention, provide a kind of In-vehicle networking ground skew redundancy method of testing, and by the following technical solutions:
This method of testing comprises: receive selected needs and produce the measured target of ground skew and the operational order of ground offset voltage; The corresponding steering order of the operational order of send and receive; Receive the message information of CAN bus communication data; Operation bus test instrument, diagnosing out the message information of the CAN bus communication data of reception is exception message.
According to a fifth aspect of the present invention, provide a kind of In-vehicle networking ground skew redundancy proving installation, and by the following technical solutions:
This proving installation comprises: the second receiver module is used for receiving selected need the to produce measured target of ground skew and the operational order of ground offset voltage; The 3rd sending module is for the corresponding steering order of operational order of send and receive; The 3rd receiver module is for the message information that receives CAN bus communication data; The second opinion module is used for operation bus test instrument, and diagnosing out the message information of the CAN bus communication data of reception is exception message.
By technique scheme of the present invention as can be known, by programmable power supply measured target is produced the ground offset voltage, and use the bus test instrument that the message information of CAN bus communication data in the test process is analyzed, and diagnose out exception message, effectively guaranteed redundancy and the reliability of car load electric-control system.Technique scheme can also be applied to the hardware and software platform network test of various simultaneously, unit testing and system testing are carried out in the ground skew that can tolerate in the time of can realizing any vehicle system or any ECU network service and diagnosis, greatly reduce the automobile development cost, and improved automobile development efficient.
Description of drawings
Accompanying drawing is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 represents the test philosophy figure of CAN bus ground skew;
Fig. 2 represents the structural representation of the In-vehicle networking ground skew redundancy test macro of the embodiment of the invention;
The sectional drawing of the ground of host computer skew Comprehensive Control panel in Fig. 3 presentation graphs 2;
Fig. 4 represents the process flow diagram of the In-vehicle networking ground skew redundancy method of testing of the embodiment of the invention;
Fig. 5 represents the structural representation of the In-vehicle networking ground skew redundancy proving installation of the embodiment of the invention;
Fig. 6 represents the process flow diagram of the In-vehicle networking ground skew redundancy method of testing of the another enforcement of the present invention; And
Fig. 7 represents the structural representation of the In-vehicle networking ground skew redundancy proving installation of further embodiment of this invention.
Embodiment
Below in conjunction with accompanying drawing embodiments of the invention are elaborated, but the multitude of different ways that the present invention can be defined by the claims and cover is implemented.
Before introducing the concrete technical scheme of the present invention, need to understand the test philosophy of CAN bus ground skew.
Fig. 1 represents the test philosophy figure of CAN bus ground skew.
Referring to shown in Figure 1, in ECU11 and ECU12 access CAN bus, use 13 couples of ECU11 of programmable power supply to power, 14 couples of ECU12 of D.C. regulated power supply power, and two positive sources are linked to each other, and produce an equal electromotive force.Make D.C. regulated power supply 14 keep the normal 12V power supply of voltage stabilizing, regulate the output voltage of programmable power supply 13 this moment, make the supply voltage of its output 13.5V to ECU11, then ECU11 produces the ground skew, use simultaneously bus monitoring equipment 15 to gather the communication data of CAN bus, whether operation bus monitoring instrument CANoe detects the CAN bus can proper communication.
Fig. 2 represents the structural representation of the In-vehicle networking ground skew redundancy test macro of the embodiment of the invention.The figure shows take 30 measured targets as example the structure of In-vehicle networking ground skew redundancy test macro.According to user's actual needs, the number of other kinds measured target can be set also.
Referring to shown in Figure 2, the In-vehicle networking ground of embodiment of the invention skew redundancy test macro mainly comprises:
CAN bus 21 comprises CAN_H wire and CAN_L wire, and its two ends arrange respectively 120 Ω terminal resistance RL1 and RL2.
30 measured target DUT_1, DUT_2 ... DUT_30, each measured target represents an ECU (Electrical Control Unit) ECU, the CAN_H pin leads of each ECU (Electrical Control Unit) links to each other with the CAN_H wire of CAN bus 21, and the CAN_L pin leads of each ECU (Electrical Control Unit) links to each other with the CAN_L wire of CAN bus 21.
30 relay J _ 1, J_2 ... J_30, the respectively corresponding measured target of each relay, all relays are the identical single-pole double-throw (SPDT) type relay of structure, take relay J _ 1 as example, its structure is described, this relay J _ 1 is provided with normally opened contact A1, normally closed contact B1, control end P_01.
Control integrated circuit board 22, be provided with the signal output channels corresponding to each relay, each signal output channels is coupled in the control end of the relay corresponding with this signal output channels, this Control integrated circuit board is preferably NI PCI-6259 type capture card, its signal output channels is coupled in the control end P_01 of 30 relays successively, P_02 ... P_30, adhesive and disconnection by Control integrated circuit board 22 each relay of control, for example, when the control end P_01 of relay J _ 1 receive be the control signal of high level the time, normally closed contact B1 disconnects, normally opened contact A1 adhesive is connected, when the control end P_01 of relay J _ 1 again receive be low level control signal the time, normally closed contact B1 again adhesive connects, normally opened contact A1 disconnects.
Above-mentioned measured target DUT_1, DUT_2 ... DUT_30, relay J _ 1, J_2 ... J_30 and the Control integrated circuit board 22 common target detection platforms that form, in order to receive the steering order of the selected measured target that is offset with needing to produce, and carry out and this steering order is moved accordingly, be adhesive and the disconnection of Control integrated circuit board 22 each relay of control, thereby realize the selected measured target that needs to produce the ground skew.
D.C. regulated power supply 23, its earth terminal GND links to each other with the normally closed contact of each relay, and being used for provides stable operating voltage to measured target.
Programmable power supply 24, its earth terminal GND links to each other with the normally opened contact of each relay, and its positive pole links to each other with the positive pole of D.C. regulated power supply 23 and jointly is connected all measured targets.Programmable power supply 24 is used for providing the supply voltage that produces the ground offset voltage to the measured target that needs to produce the ground skew.
Bus monitoring equipment 25, its CAN_H pin leads links to each other with the CAN_H wire of CAN bus 21, the CAN_L pin leads of bus monitoring equipment 25 links to each other with the CAN_L wire of CAN bus 21, this connection is used for the communication data of Real-time Collection CAN bus 21, in order to provide Data Source to CAN bus 21 Communication diagnostics; Bus monitoring equipment 25 is also communicated by letter with programmable power supply 24, in order to send to programmable power supply 24 about producing the steering order of ground offset voltage, the supply voltage that programmable power supply 24 conforms to this ground offset voltage according to instruction output.
Host computer 26, operation bus test instrument, and communicate by letter with Control integrated circuit board 22 with bus monitoring equipment 25 respectively.Host computer 26 is used for sending the selected steering order that needs the measured target of generation ground skew to Control integrated circuit board 22, Control integrated circuit board 22 is controlled the break-make of each relay according to this steering order, namely to the control end output high-level control signal of relay corresponding to chosen measured target.Host computer 26 also sends the steering order of needed ground offset voltage to bus monitoring equipment 25, bus monitoring equipment 25 sends to programmable power supply 24 with this instruction.
Preferably, the bus test instrument is emulation tool CANoe, itself and bus monitoring equipment 25 support the use, bus monitoring equipment 25 sends to CANoe with the communication data message information about CAN bus 21 that gathers, CANoe analyzes and makes diagnosis, if message information is exception message, CAN bus 21 communication abnormalities then, and the current configuration of record test macro this moment, avoid ECU (Electrical Control Unit) normal in service at In-vehicle networking to produce ground skew under the current configuration, thereby effectively guaranteed redundancy and the reliability of car load electric-control system.
Preferably, host computer 26 links to each other with Control integrated circuit board 22 by the PCI serial ports.
The sectional drawing 30 of the ground of host computer skew Comprehensive Control panel in Fig. 3 presentation graphs 2.
In the present embodiment, In-vehicle networking of the present invention ground skew redundancy test macro both can be offset automatically test by selecting at random measured target with finishing, also can utilize the ground skew Comprehensive Control panel of the host computer shown in the sectional drawing 30 among Fig. 3 to finish manual test, namely operate the target selection button DUT selected on the sectional drawing 30, select to need to produce the measured target of ground skew, select the ground offset voltage of needs, system finishes according to these two parameters the ground skew of selected measured target is tested again.
From the above description as can be known, In-vehicle networking of the present invention ground skew redundancy test macro, power to measured target by adopting D.C. regulated power supply and programmable power supply, ECU (Electrical Control Unit) produces the ground skew in the simulation car load operational process, and operation bus monitoring tool analysis diagnoses this ground to be offset the impact that the communication to the CAN bus causes, and guaranteed redundancy and the reliability of car load electric-control system.This system can be applied to the hardware and software platform network test of various simultaneously, by simple setting, unit testing and system testing are carried out in the ground skew that can tolerate in the time of can realizing any vehicle system or any ECU network service and diagnosis, greatly reduce the automobile development cost, and improved automobile development efficient.
Fig. 4 represents the process flow diagram of the In-vehicle networking ground skew redundancy method of testing of the embodiment of the invention.The figure shows a kind of method of automatically finishing the test of In-vehicle networking ground skew redundancy, the In-vehicle networking ground in Fig. 2 is offset the redundancy test macro as example, and this method of testing is elaborated.
Referring to shown in Figure 4, this method of testing may further comprise the steps:
Step 401: the random number that produces at random selected measured target.
In this step, the random number of measured target is to be produced at random by host computer 26, for example, and when random number is 5, then selected measured target is continuous 5 measured targets from DUT_1, and other random number and the corresponding relation of measured target also can be set certainly according to actual needs.
Step 403: send and the corresponding steering order of random number.
In this step, after host computer 26 produces the random number of measured target, will send with the corresponding control command of this random number to Control integrated circuit board 22, Control integrated circuit board 22 will be according to the break-make of this control command control to chosen measured target, for example, when selected measured target is continuous 5 measured targets from DUT_1, Control integrated circuit board 22 will be to the control end output high-level control signal of relay corresponding to these 5 measured targets, the relay normally closed contact that these 5 measured targets are corresponding disconnects, and normally opened contact is connected.
Step 405: send the voltage range instruction of ground skew testing requirement.
In this step, after the measured target that produces the ground skew is determined, host computer 26 will send these measured targets are offset the voltage range instruction of testing requirement to bus monitoring equipment 25 with carrying out, bus monitoring equipment 25 sends to programmable power supply 24 with corresponding control command, the voltage range instruction of programmable power supply 24 base areas skew testing requirement is exported corresponding supply voltage to the measured target that needs to produce the ground skew.
Step 407: the message information that receives CAN bus communication data.
In the whole test process of system, the communication data of bus monitoring equipment 25 Real-time Collection CAN buses 21, and the message information of this communication data is uploaded to host computer 26 in real time.
Step 409: operation bus test instrument, diagnosing out the message information of the CAN bus communication data of reception is exception message.
In this step, host computer 26 operation bus test instrument CANoe, itself and bus monitoring equipment 25 support the use, and CANoe analyzes and makes diagnosis to the message information of the communication data that bus monitoring equipment 25 is uploaded, if message information is exception message, CAN bus 21 communication abnormalities then.
After communication abnormality appearred in CAN bus 21, system will preserve the message information that unusual CAN bus communication data occur automatically, and register system current configuration at this moment, and the current configuration of this system comprises:
(1) produces exception message and the random number that arranges;
(2) produce exception message and the voltage range of the ground skew testing requirement that sends.
In this step, preserve and record above-mentioned information, avoid ECU (Electrical Control Unit) normal in service at In-vehicle networking to produce ground skew under the current configuration, thereby effectively guaranteed redundancy and the reliability of car load electric-control system.
From the above description as can be known, In-vehicle networking of the present invention ground skew redundancy method of testing, by the mode of selecting at random measured target these measured targets automatically are offset test, and by 24 pairs of measured targets generations of programmable power supply ground offset voltage, and use bus test instrument CANoe that the message information of CAN bus communication data in the test process is analyzed, and diagnose out exception message, effectively guaranteed redundancy and the reliability of car load electric-control system.The method can be applied to the hardware and software platform network test of various simultaneously, unit testing and system testing are carried out in the ground skew that can tolerate in the time of can realizing any vehicle system or any ECU network service and diagnosis, greatly reduce the automobile development cost, and improved automobile development efficient.
Fig. 5 represents the structural representation of the In-vehicle networking ground skew redundancy proving installation 500 of the embodiment of the invention.
Referring to shown in Figure 5, this proving installation mainly comprises:
Generation module 501 at random, are used for producing at random the random number of selected measured target; The first sending module 503 is used for sending and the corresponding steering order of random number; The second sending module 505 is used for sending the voltage range instruction of ground skew testing requirement; The first receiver module 507 is for the message information that receives CAN bus communication data; The first diagnostic module 509 is used for operation bus test instrument, and diagnosing out the message information of the CAN bus communication data of reception is exception message; Preserve module 511, be used for preserving the message information of the CAN bus communication data that receive; Logging modle 513 is used for the current configuration of record and the corresponding test macro of exception message.
Preferably, the current configuration of test macro comprises: produce exception message and the random number that arranges; The voltage range of the ground skew testing requirement that produces exception message and send.
From the above description as can be known, In-vehicle networking of the present invention ground skew redundancy proving installation, by at random generation module 500 is set, select at random measured target, by programmable power supply measured target is produced the ground skew, and use bus test instrument CANoe that the message information of CAN bus communication data in the test process is analyzed, and diagnose out exception message, effectively guaranteed redundancy and the reliability of car load electric-control system.The method can be applied to the hardware and software platform network test of various simultaneously, unit testing and system testing are carried out in the ground skew that can tolerate in the time of can realizing any vehicle system or any ECU network service and diagnosis, greatly reduce the automobile development cost, and improved automobile development efficient.
Fig. 6 represents the process flow diagram of the In-vehicle networking ground skew redundancy method of testing of the another enforcement of the present invention.The figure shows a kind of method of manually finishing the test of In-vehicle networking ground skew redundancy, the In-vehicle networking ground in Fig. 2 is offset the redundancy test macro as example, and this method of testing is elaborated.
Referring to shown in Figure 6, this method of testing may further comprise the steps:
Step 601: receive selected need the to produce measured target of ground skew and the operational order of ground offset voltage.
In this step, the ground skew Comprehensive Control panel that needs the host computer shown in the sectional drawing 30 in the application drawing 3, at first to select the measured target that needs to produce the ground skew, and needed ground of the measured target offset voltage that this need to be offset with producing is set, after user's operation, host computer 26 will receive the aforesaid operations instruction.
Step 603: the corresponding steering order of the operational order of send and receive.
In this step, the steering order that host computer 26 will be selected the measured target that is offset with needing to produce sends to Control integrated circuit board 22, and Control integrated circuit board 22 will be according to the break-make of this control command control to chosen measured target.Simultaneously, the steering order of the ground offset voltage that host computer 26 also will be selected sends to bus monitoring equipment 25, bus monitoring equipment 25 sends to programmable power supply 24 with corresponding control command, and programmable power supply 24 will be exported corresponding supply voltage to the measured target that needs to produce the ground skew.
Step 605: the message information that receives CAN bus communication data.
This step is with step 407.
Step 607: operation bus test instrument, diagnosing out the message information of the CAN bus communication data of reception is exception message.
This step is with step 409.
From the above description as can be known, In-vehicle networking of the present invention ground skew redundancy method of testing, by the operation to host computer ground skew Comprehensive Control panel, selected measured target and the ground offset voltage that needs to produce the ground skew, produce the ground offset voltage by 24 pairs of measured targets of programmable power supply, and use bus test instrument CANoe that the message information of CAN bus communication data in the test process is analyzed, and diagnose out exception message, effectively guaranteed redundancy and the reliability of car load electric-control system.
Fig. 7 represents the structural representation of the In-vehicle networking ground skew redundancy proving installation 700 of further embodiment of this invention.
Referring to shown in Figure 7, this proving installation mainly comprises:
The second receiver module 701 is used for receiving selected need the to produce measured target of ground skew and the operational order of ground offset voltage; The 3rd sending module 703 is for the corresponding steering order of operational order of send and receive; The 3rd receiver module 705 is for the message information that receives CAN bus communication data; Second opinion module 707 is used for operation bus test instrument, and diagnosing out the message information of the CAN bus communication data of reception is exception message.
From the above description as can be known, In-vehicle networking of the present invention ground skew redundancy proving installation, by the second receiver module 701 is set, receive selected need the to produce measured target of ground skew and the operational order of ground offset voltage, selected measured target is offset test with carrying out, and use bus test instrument CANoe that the message information of CAN bus communication data in the test process is analyzed, and diagnose out exception message, effectively guaranteed redundancy and the reliability of car load electric-control system.
To sum up, In-vehicle networking of the present invention ground skew redundancy test macro, method and apparatus, by programmable power supply measured target is produced the ground offset voltage, and use bus test instrument CANoe that the message information of CAN bus communication data in the test process is analyzed, and diagnose out exception message, effectively guaranteed redundancy and the reliability of car load electric-control system.Simultaneously In-vehicle networking of the present invention ground skew redundancy test macro, method and apparatus can also be applied to the hardware and software platform network test of various, unit testing and system testing are carried out in the ground skew that can tolerate in the time of can realizing any vehicle system or any ECU network service and diagnosis, greatly reduce the automobile development cost, and improved automobile development efficient.
It more than is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (15)

1. an In-vehicle networking ground skew redundancy test macro is characterized in that, comprising:
The CAN bus comprises CAN_H wire and CAN_L wire;
The target detection platform is electrically connected with described CAN bus, in order to receiving the selected steering order that needs to produce the measured target of ground skew, and carries out and this steering order is moved accordingly;
D.C. regulated power supply links to each other with each measured target in the described target detection platform, is used for providing stable operating voltage to described measured target;
Programmable power supply links to each other with each measured target in the described target detection platform, and being used for provides the supply voltage that produces ground, ground offset voltage to the measured target that needs to produce the ground skew;
Bus monitoring equipment, its CAN_H pin leads links to each other with the CAN_H wire of described CAN bus, and the CAN_L pin leads of described bus monitoring equipment links to each other with the CAN_L wire of described CAN bus; Described bus monitoring equipment is also communicated by letter with described programmable power supply, in order to described programmable power supply sending controling instruction;
Host computer, operation bus test instrument, and communicate by letter with the target detection platform with bus monitoring equipment respectively.
2. test macro as claimed in claim 1 is characterized in that, described target detection platform comprises:
Several ECU (Electrical Control Unit), the CAN_H pin leads of each described ECU (Electrical Control Unit) links to each other with the CAN_H wire of described CAN bus, and the CAN_L pin leads of each described ECU (Electrical Control Unit) links to each other with the CAN_L wire of described CAN bus;
Several relays are corresponding to several described ECU (Electrical Control Unit); The normally closed contact of each described relay links to each other with the earth terminal of described D.C. regulated power supply, and the normally opened contact of each described relay links to each other with the earth terminal of described programmable power supply;
The Control integrated circuit board is provided with signal output channels corresponding and several described relays, and each described signal output channels is coupled in the control end of the relay corresponding with this signal output channels;
The input end of described Control integrated circuit board links to each other with described host computer, is used for receiving the selected steering order that needs the ECU (Electrical Control Unit) of generation ground skew of described host computer transmission, and controls the break-make of the relay corresponding with this ECU (Electrical Control Unit);
The positive pole of described programmable power supply links to each other with the positive pole of described D.C. regulated power supply, and jointly connects all described ECU (Electrical Control Unit).
3. test macro as claimed in claim 2 is characterized in that, described Control integrated circuit board is NI PCI-6259 data collecting card.
4. test macro as claimed in claim 2 is characterized in that, the input end of described Control integrated circuit board links to each other by the PCI serial ports with described host computer.
5. such as each described test macro in the claim 1 to 4, it is characterized in that described bus test instrument is CANOE.
6. an In-vehicle networking ground skew redundancy method of testing is characterized in that, comprising:
Produce at random the random number of selected measured target;
Send and the corresponding steering order of described random number;
Send the voltage range instruction of ground skew testing requirement;
Receive the message information of CAN bus communication data;
Operation bus test instrument, diagnosing out the message information of the described CAN bus communication data of reception is exception message.
7. method of testing as claimed in claim 6 is characterized in that, the described message information of diagnosing out the described CAN bus communication data of reception is also to comprise after the exception message:
Preserve the message information of the described CAN bus communication data that receive.
8. method of testing as claimed in claim 6 is characterized in that, the described message information of diagnosing out the described CAN bus communication data of reception is also to comprise after the exception message:
The current configuration of record and the corresponding test macro of described exception message.
9. method of testing as claimed in claim 8 is characterized in that, the current configuration of described test macro comprises:
The described random number that produces described exception message and arrange;
The voltage range that is offset testing requirement that produces described exception message and send describedly.
10. an In-vehicle networking ground skew redundancy proving installation is characterized in that, comprising:
Generation module is used for producing at random the random number of selecting measured target at random;
The first sending module is used for sending and the corresponding steering order of described random number;
The second sending module is used for sending the voltage range instruction of ground skew testing requirement;
The first receiver module is for the message information that receives CAN bus communication data;
The first diagnostic module is used for operation bus test instrument, and diagnosing out the message information of the described CAN bus communication data of reception is exception message.
11. proving installation as claimed in claim 10 is characterized in that, described proving installation also comprises:
Preserve module, be used for preserving the message information of the described CAN bus communication data that receive.
12. proving installation as claimed in claim 10 is characterized in that, described proving installation also comprises:
Logging modle is used for the current configuration of record and the corresponding test macro of described exception message.
13. proving installation as claimed in claim 10 is characterized in that, the current configuration of described test macro comprises:
The described random number that produces described exception message and arrange;
The voltage range that is offset testing requirement that produces described exception message and send describedly.
14. an In-vehicle networking ground skew redundancy method of testing is characterized in that, comprising:
Receive selected need the to produce measured target of ground skew and the operational order of ground offset voltage;
The corresponding steering order of described operational order of send and receive;
Receive the message information of CAN bus communication data;
Operation bus test instrument, diagnosing out the message information of the described CAN bus communication data of reception is exception message.
15. an In-vehicle networking ground skew redundancy proving installation is characterized in that, comprising:
The second receiver module is used for receiving selected need the to produce measured target of ground skew and the operational order of ground offset voltage;
The 3rd sending module is for the corresponding steering order of described operational order of send and receive;
The 3rd receiver module is for the message information that receives CAN bus communication data;
The second opinion module is used for operation bus test instrument, and diagnosing out the message information of the described CAN bus communication data of reception is exception message.
CN201210442168.9A 2012-11-07 2012-11-07 In-vehicle networking ground skewed redundant test macro, method and apparatus Active CN102929274B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210442168.9A CN102929274B (en) 2012-11-07 2012-11-07 In-vehicle networking ground skewed redundant test macro, method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210442168.9A CN102929274B (en) 2012-11-07 2012-11-07 In-vehicle networking ground skewed redundant test macro, method and apparatus

Publications (2)

Publication Number Publication Date
CN102929274A true CN102929274A (en) 2013-02-13
CN102929274B CN102929274B (en) 2015-08-05

Family

ID=47644102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210442168.9A Active CN102929274B (en) 2012-11-07 2012-11-07 In-vehicle networking ground skewed redundant test macro, method and apparatus

Country Status (1)

Country Link
CN (1) CN102929274B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103511095A (en) * 2013-09-18 2014-01-15 潍柴动力股份有限公司 System and method for collecting rotation speed signals of internal combustion engine
CN104483959A (en) * 2014-11-04 2015-04-01 普华基础软件股份有限公司 Fault simulation and test system
CN104568459A (en) * 2014-12-15 2015-04-29 刘笑涡 OBD intelligent device, test method and system thereof, and ECU simulator
CN105515893A (en) * 2015-11-26 2016-04-20 普华基础软件股份有限公司 Method for determining location of sample point
CN110389571A (en) * 2018-04-20 2019-10-29 广州小鹏汽车科技有限公司 A kind of bus automatization test system and method
CN111026655A (en) * 2019-11-29 2020-04-17 深圳震有科技股份有限公司 System stability testing method, terminal and storage medium
CN111176918A (en) * 2019-12-28 2020-05-19 苏州浪潮智能科技有限公司 Server testing method, system, equipment and computer readable storage medium
CN111880134A (en) * 2020-06-24 2020-11-03 南方电网科学研究院有限责任公司 Method and device for testing quality abnormity of electronic transformer measurement system
CN113306534A (en) * 2021-06-30 2021-08-27 东风商用车有限公司 Unmanned hub redundancy brake control system and method
CN113341779A (en) * 2020-03-02 2021-09-03 纬湃科技投资(中国)有限公司 Light-mixed whole vehicle system and ground deviation detection device thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020173927A1 (en) * 2001-05-21 2002-11-21 Benton Vandiver System for testing of intelligent electronic devices with digital communications
KR100834699B1 (en) * 2007-02-12 2008-06-02 지멘스 오토모티브 주식회사 Apparatus for diagnosing electric error of can communicating line of car
CN202512433U (en) * 2012-02-07 2012-10-31 北京汽车股份有限公司 Test cabinet of vehicle network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020173927A1 (en) * 2001-05-21 2002-11-21 Benton Vandiver System for testing of intelligent electronic devices with digital communications
KR100834699B1 (en) * 2007-02-12 2008-06-02 지멘스 오토모티브 주식회사 Apparatus for diagnosing electric error of can communicating line of car
CN202512433U (en) * 2012-02-07 2012-10-31 北京汽车股份有限公司 Test cabinet of vehicle network

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103511095B (en) * 2013-09-18 2016-06-08 潍柴动力股份有限公司 The acquisition system of a kind of internal-combustion engine rotational speed signal and method
CN103511095A (en) * 2013-09-18 2014-01-15 潍柴动力股份有限公司 System and method for collecting rotation speed signals of internal combustion engine
CN104483959A (en) * 2014-11-04 2015-04-01 普华基础软件股份有限公司 Fault simulation and test system
CN104568459A (en) * 2014-12-15 2015-04-29 刘笑涡 OBD intelligent device, test method and system thereof, and ECU simulator
CN105515893B (en) * 2015-11-26 2020-07-28 普华基础软件股份有限公司 Method for determining position of sampling point
CN105515893A (en) * 2015-11-26 2016-04-20 普华基础软件股份有限公司 Method for determining location of sample point
CN110389571A (en) * 2018-04-20 2019-10-29 广州小鹏汽车科技有限公司 A kind of bus automatization test system and method
CN111026655A (en) * 2019-11-29 2020-04-17 深圳震有科技股份有限公司 System stability testing method, terminal and storage medium
CN111026655B (en) * 2019-11-29 2023-06-30 深圳震有科技股份有限公司 System stability testing method, terminal and storage medium
CN111176918A (en) * 2019-12-28 2020-05-19 苏州浪潮智能科技有限公司 Server testing method, system, equipment and computer readable storage medium
CN113341779A (en) * 2020-03-02 2021-09-03 纬湃科技投资(中国)有限公司 Light-mixed whole vehicle system and ground deviation detection device thereof
CN111880134A (en) * 2020-06-24 2020-11-03 南方电网科学研究院有限责任公司 Method and device for testing quality abnormity of electronic transformer measurement system
CN111880134B (en) * 2020-06-24 2023-01-03 南方电网科学研究院有限责任公司 Method and device for testing quality abnormity of electronic transformer measurement system
CN113306534A (en) * 2021-06-30 2021-08-27 东风商用车有限公司 Unmanned hub redundancy brake control system and method
CN113306534B (en) * 2021-06-30 2022-02-18 东风商用车有限公司 Unmanned hub redundancy brake control system and method

Also Published As

Publication number Publication date
CN102929274B (en) 2015-08-05

Similar Documents

Publication Publication Date Title
CN102929274A (en) Test system, method and device for redundancy of in-vehicle network during ground offset
CN110471400B (en) Vehicle-mounted Ethernet real vehicle test method
CN201707605U (en) Embedded automobile OBD (On-Board Diagnostics) fault diagnosing device
CN106325231A (en) Method and system for remote fault detection of vehicles on production line
CN108900377A (en) A kind of CAN network test macro and test method
CN106536260A (en) Battery system, and method for operating said battery system
MX2010011139A (en) Usb isolation for vehicle communication interface.
CN109507981B (en) Vehicle testing method and device and machine-readable storage medium
CN101895394A (en) Method and device for realizing data exchange with on-board diagnostics (OBD) seat
CN110233768A (en) CAN bus test macro and CAN bus test method based on UDS
CN107592239A (en) A kind of CAN network power supply changes automatic test device and its method
CN110727264A (en) Automobile control system
CN105676834A (en) CAN bus interface self-matching device of on board diagnostics (OBD)
US10024923B2 (en) Device and method for interfacing a vehicle-external testing device to a battery removed from a vehicle
CN113242532B (en) Vehicle communication device, wiFi connection method and vehicle diagnosis system
CN103064399A (en) Breakdown simulation analyzing device used for vehicle diagnosis
CN207133650U (en) The test system of Car Electronic Control device
CN104007751A (en) Body control module test method and body control module test system
CN104160427A (en) Current measuring device and method
JPH05240741A (en) Apparatus for collecting diagnostic data of a plurality of electronic units of vehicle
CN209400919U (en) A kind of general-utility test platform suitable for a variety of electronic control unit
CN102074139A (en) Automotive electric controlled steering system training equipment
CN108255160B (en) 38PIN interface automobile bus communication line selection system and method
CN109213111B (en) Vehicle control unit testing method and system
CN214851308U (en) Vehicle-mounted equipment test system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant