CN102929274B - In-vehicle networking ground skewed redundant test macro, method and apparatus - Google Patents

In-vehicle networking ground skewed redundant test macro, method and apparatus Download PDF

Info

Publication number
CN102929274B
CN102929274B CN201210442168.9A CN201210442168A CN102929274B CN 102929274 B CN102929274 B CN 102929274B CN 201210442168 A CN201210442168 A CN 201210442168A CN 102929274 B CN102929274 B CN 102929274B
Authority
CN
China
Prior art keywords
ground
host computer
bus
power supply
monitoring device
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.)
Active
Application number
CN201210442168.9A
Other languages
Chinese (zh)
Other versions
CN102929274A (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

Landscapes

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

Abstract

The present invention discloses a kind of In-vehicle networking ground skewed redundant test macro, method and apparatus, for solve in prior art when the power supply of ECU offsets with occurring cannot testing CAN bus can the problem of normal communication and diagnosis.This test macro comprises: CAN; Target detection platform, is electrically connected with CAN, in order to receive the selected steering order needing the measured target offset with producing, and performs the action corresponding to this steering order; D.C. regulated power supply, is connected with each measured target in target detection platform, for providing stable operating voltage to measured target; Programmable power supply, is connected with each measured target in target detection platform, needs the measured target offset with producing to provide the supply voltage producing ground, ground offset voltage for giving; Bus monitoring device; Host computer, runs bus test instrument.Adopt technical scheme of the present invention, effectively can ensure redundancy and the reliability of car load electric-control system.

Description

In-vehicle networking ground skewed redundant test macro, method and apparatus
Technical field
The present invention relates to communication technique field, particularly a kind of In-vehicle networking ground skewed redundant test macro, method and apparatus.
Background technology
Along with the development of automotive engineering, the electronics ECU(electronic control unit used in Hyundai Motor) and communication system get more and more, as engine electric-controlled system, automatic transmission control system, automatic cruising system and in-vehicle multi-media system etc.Each ECU is linked together by the appearance of In-vehicle networking, shares signal resource, greatly reduces the use of wire harness, reduce complete vehicle weight and cost, improve real-time and the security of vehicle.But the increase of electronic control unit quantity, the complicacy of arranging at vehicle interior offsets with also will inevitably increasing the power supply appearance of ECU.When ECU occur offset, CAN(ControllerArea Network, controller local area network) 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, when the power supply of ECU offsets with occurring cannot testing CAN bus can normal communication and diagnosis, thus have influence on redundancy and the reliability of car load electric-control system, to this problem, not yet effective solution is proposed at present.
Summary of the invention
The invention provides a kind of In-vehicle networking ground skewed redundant test macro, method and apparatus, for solve in prior art when the power supply of ECU offsets with occurring cannot testing CAN bus can the problem of normal communication and diagnosis.
For achieving the above object, according to a first aspect of the invention, a kind of In-vehicle networking ground skewed redundant test macro is provided, and by the following technical solutions:
This test macro comprises: CAN, comprises CAN_H wire and CAN_L wire; Target detection platform, is electrically connected with CAN, in order to receive the selected steering order needing the measured target offset with producing, and performs the action corresponding to this steering order; D.C. regulated power supply, is connected with each measured target in target detection platform, for providing stable operating voltage to measured target; Programmable power supply, is connected with each measured target in target detection platform, needs the measured target offset with producing to provide the supply voltage producing ground, ground offset voltage for giving; Bus monitoring device, its CAN_H pin leads is connected with the CAN_H wire of CAN, and the CAN_L pin leads of bus monitoring device is connected with the CAN_L wire of CAN; Bus monitoring device also communicates with programmable power supply, in order to programmable power supply sending controling instruction; Host computer, runs bus test instrument, and respectively with bus monitoring device and target detection Platform communication.
Further, target detection platform comprises: several ECU (Electrical Control Unit), and the CAN_H pin leads of each ECU (Electrical Control Unit) is connected with the CAN_H wire of CAN, and the CAN_L pin leads of each ECU (Electrical Control Unit) is connected with the CAN_L wire of CAN; Several relays, corresponding to several ECU (Electrical Control Unit); The normally closed contact of each relay is connected with the earth terminal of D.C. regulated power supply, and the normally opened contact of each relay is connected with the earth terminal of programmable power supply; Control board, be provided with signal output channels that is corresponding and several relays, each signal output channels is coupled in the control end of the relay corresponding with this signal output channels; The input end of Control board is connected with host computer, for receiving the selected steering order needing the ECU (Electrical Control Unit) offset with producing that host computer sends, and controls the break-make of the relay corresponding with this ECU (Electrical Control Unit); The positive pole of programmable power supply is connected with the positive pole of D.C. regulated power supply, and all ECU (Electrical Control Unit) of common connection.
Further, Control board is NI PCI-6259 data collecting card.
Further, the input end of Control board is connected by PCI serial ports with host computer.
Further, bus test instrument is CANOE.
According to a second aspect of the invention, provide a kind of In-vehicle networking ground skewed redundant method of testing, and by the following technical solutions:
This method of testing comprises: the random random number producing selected measured target; Send the steering order corresponding to random number; Send the voltage range instruction of ground skew testing requirement; Receive the message information of CAN communication data; Run bus test instrument, diagnose out the message information of the CAN communication data of reception to be exception message.
Further, diagnose out the message information of the CAN communication data of reception be exception message after also comprise: preserve the message information of CAN communication data received.
Further, diagnose out the message information of the CAN communication data of reception be exception message after also comprise: the current configuration of recording the test macro corresponding to exception message.
Further, the current configuration of test macro comprises: produce exception message and the random number that arranges; Produce exception message and send ground skew testing requirement voltage range.
According to a third aspect of the present invention, provide a kind of In-vehicle networking ground skewed redundant system safety testing device, and by the following technical solutions:
This proving installation comprises: random generating module, for producing the random number of selected measured target at random; First sending module, for sending the steering order corresponding to random number; Second sending module, for offseting the voltage range instruction of testing requirement with sending; First receiver module, for receiving the message information of CAN communication data; First diagnostic module, for running bus test instrument, diagnoses out the message information of the CAN communication data of reception to be exception message.
Further, proving installation also comprises: preserve module, for preserving the message information of the CAN communication data of reception.
Further, proving installation also comprises: logging modle, for recording the current configuration of the test macro corresponding to exception message.
Further, the current configuration of test macro comprises: produce exception message and the random number that arranges; Produce exception message and send ground skew testing requirement voltage range.
According to a fourth aspect of the present invention, provide a kind of In-vehicle networking ground skewed redundant 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; Send the steering order corresponding to the operational order received; Receive the message information of CAN communication data; Run bus test instrument, diagnose out the message information of the CAN communication data of reception to be exception message.
According to a fifth aspect of the present invention, provide a kind of In-vehicle networking ground skewed redundant system safety testing device, and by the following technical solutions:
This proving installation comprises: the second receiver module, for receiving the operational order selecting measured target and the ground offset voltage needing to offset with producing; 3rd sending module, for the steering order that the operational order sent to receive is corresponding; 3rd receiver module, for receiving the message information of CAN communication data; Second opinion module, for running bus test instrument, diagnoses out the message information of the CAN communication data of reception to be exception message.
From technique scheme of the present invention, by programmable power supply, ground offset voltage is produced to measured target, and use bus test instrument to analyze the message information of CAN communication data in test process, and diagnose out exception message, effectively ensure that 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, can realize carrying out unit testing and system testing to any vehicle system or any ECU network service with the ground skew can tolerated during diagnosis, greatly reduce automobile development cost, and improve automobile development efficiency.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
The test philosophy figure that Fig. 1 offsets with representing CAN;
Fig. 2 represents the structural representation of the In-vehicle networking ground skewed redundant test macro of the embodiment of the present invention;
Fig. 3 represents the sectional drawing of the ground skew Comprehensive Control panel of host computer in Fig. 2;
Fig. 4 represents the process flow diagram of the In-vehicle networking ground skewed redundant method of testing of the embodiment of the present invention;
Fig. 5 represents the structural representation of the In-vehicle networking ground skewed redundant system safety testing device of the embodiment of the present invention;
Fig. 6 represents the process flow diagram of the In-vehicle networking ground skewed redundant method of testing of the another enforcement of the present invention; And
Fig. 7 represents the structural representation of the In-vehicle networking ground skewed redundant system safety testing device of further embodiment of this invention.
Embodiment
Below in conjunction with accompanying drawing, embodiments of the invention are described in detail, 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 the test philosophy offset with understanding CAN.
The test philosophy figure that Fig. 1 offsets with representing CAN.
Shown in Figure 1, accessed in CAN by ECU11 and ECU12, use programmable power supply 13 couples of ECU11 to power, D.C. regulated power supply 14 couples of ECU12 power, and are connected by two positive sources, produce an equal electromotive force.D.C. regulated power supply 14 is made to keep the normal 12V of voltage stabilizing to power, now regulate the output voltage of programmable power supply 13, make supply voltage that it exports 13.5V to ECU11, then ECU11 produces ground skew, use bus monitoring device 15 to gather the communication data of CAN simultaneously, run bus monitoring instrument CANoe and detect CAN whether can proper communication.
Fig. 2 represents the structural representation of the In-vehicle networking ground skewed redundant test macro of the embodiment of the present invention.The figure shows for 30 measured targets, the structure of In-vehicle networking ground skewed redundant test macro.According to the actual needs of user, the number of other kind of measured target also can be set.
Shown in Figure 2, the In-vehicle networking ground skewed redundant test macro of the embodiment of the present invention mainly comprises:
CAN 21, comprises CAN_H wire and CAN_L wire, and its two ends arrange 120 Ω terminal resistance RL1 and RL2 respectively.
30 measured targets 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) is connected with the CAN_H wire of CAN 21, and the CAN_L pin leads of each ECU (Electrical Control Unit) is connected with the CAN_L wire of CAN 21.
30 relay J _ 1, J_2 ... J_30, each relay is a corresponding measured target respectively, and all relays are the identical SPDT relay of structure, for relay J _ 1, its structure is described, this relay J _ 1 is provided with normally opened contact A1, normally closed contact B1, control end P_01.
Control 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 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 the disconnection of each relay is controlled by Control board 22, for example, when the control end P_01 of relay J _ 1 receive be the control signal of high level 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 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 Control board 22 be composition target detection platform jointly, in order to receive the selected steering order needing the measured target offset with producing, and perform the action corresponding to this steering order, namely Control board 22 controls adhesive and the disconnection of each relay, thus realizes the selected measured target needing to produce ground skew.
D.C. regulated power supply 23, its earth terminal GND is connected with the normally closed contact of each relay, for providing stable operating voltage to measured target.
Programmable power supply 24, its earth terminal GND is connected with the normally opened contact of each relay, and its positive pole is connected with the positive pole of D.C. regulated power supply 23 and is jointly connected all measured targets.Programmable power supply 24 needs the measured target offset with producing to provide the supply voltage producing ground offset voltage for giving.
Bus monitoring device 25, its CAN_H pin leads is connected with the CAN_H wire of CAN 21, the CAN_L pin leads of bus monitoring device 25 is connected with the CAN_L wire of CAN 21, this connection is used for the communication data of Real-time Collection CAN 21, to provide Data Source to CAN 21 Communication diagnostic; Bus monitoring device 25 also communicates with programmable power supply 24, and in order to send the steering order about producing ground offset voltage to programmable power supply 24, programmable power supply 24 exports the supply voltage conformed to this ground offset voltage according to instruction.
Host computer 26, runs bus test instrument, and communicates with Control board 22 with bus monitoring device 25 respectively.Host computer 26 is for sending the selected steering order needing the measured target offset with producing to Control board 22, Control board 22 controls the break-make of each relay according to this steering order, and the control end namely to relay corresponding to chosen measured target exports high-level control signal.Host computer 26 also sends the steering order of required ground offset voltage to bus monitoring device 25, this instruction is sent to programmable power supply 24 by bus monitoring device 25.
Preferably, bus test instrument is emulation tool CANoe, itself and bus monitoring device 25 support the use, the gathered communication data message information about CAN 21 is sent to CANoe by bus monitoring device 25, CANoe carries out analyzing and making diagnosis, if message information is exception message, then CAN 21 communication abnormality, and record the current configuration of now test macro, ground skew under avoiding ECU (Electrical Control Unit) in the normal operation of In-vehicle networking to produce current configuration, thus effectively ensure that redundancy and the reliability of car load electric-control system.
Preferably, host computer 26 is connected with Control board 22 by PCI serial ports.
Fig. 3 represents the sectional drawing 30 of the ground skew Comprehensive Control panel of host computer in Fig. 2.
In the present embodiment, In-vehicle networking ground of the present invention skewed redundant test macro both offset automatic test with completing by Stochastic choice measured target, the ground of the host computer shown in sectional drawing 30 in Fig. 3 also can be utilized to offset Comprehensive Control panel and to complete manual test, namely the target selection button DUTselected on sectional drawing 30 is operated, select the measured target needing to produce ground skew, select the ground offset voltage needed again, system completes the ground skew test to selected measured target according to these two parameters.
Known from the above description, In-vehicle networking ground of the present invention skewed redundant test macro, power to measured target by adopting D.C. regulated power supply and programmable power supply, in simulation car load operational process, ECU (Electrical Control Unit) produces ground skew, and run bus monitoring tool analysis and diagnose this ground to offset the impact caused to the communication of CAN, ensure that 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, can realize carrying out unit testing and system testing to any vehicle system or any ECU network service with the ground skew can tolerated during diagnosis, greatly reduce automobile development cost, and improve automobile development efficiency.
Fig. 4 represents the process flow diagram of the In-vehicle networking ground skewed redundant method of testing of the embodiment of the present invention.The figure shows a kind of method automatically completing the skewed redundant test of In-vehicle networking ground, for the In-vehicle networking ground skewed redundant test macro in Fig. 2, this method of testing is described in detail.
Shown in Figure 4, this method of testing comprises the following steps:
Step 401: the random random number producing selected measured target.
In this step, the random number of measured target is produced at random by host computer 26, such as, when random number is 5, then selected measured target is continuous 5 measured targets from DUT_1, certainly also can arrange other random number and the corresponding relation of measured target according to actual needs.
Step 403: send the steering order corresponding to random number.
In this step, after host computer 26 produces the random number of measured target, the control command corresponding to this random number will be sent to Control board 22, Control board 22 will according to the control of this control command to the break-make of chosen measured target, for example, when continuous 5 measured targets that selected measured target is from DUT_1, Control board 22 will export high-level control signal to the control end 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: the voltage range instruction sending ground skew testing requirement.
In this step, after the measured target offset with producing is determined, host computer 26 will send and offset the voltage range instruction of testing requirement with carrying out to bus monitoring device 25 to these measured targets, corresponding control command is sent to programmable power supply 24 by bus monitoring device 25, the voltage range instruction of programmable power supply 24 base area skew testing requirement, exports corresponding supply voltage to the measured target needing to offset with producing.
Step 407: the message information receiving CAN communication data.
In the whole test process of system, the communication data of bus monitoring device 25 Real-time Collection CAN 21, and the message information of this communication data is uploaded to host computer 26 in real time.
Step 409: run bus test instrument, diagnose out the message information of the CAN communication data of reception to be exception message.
In this step, host computer 26 runs bus test instrument CANoe, and itself and bus monitoring device 25 support the use, and the message information of CANoe to the communication data that bus monitoring device 25 is uploaded is analyzed and make diagnosis, if message information is exception message, then CAN 21 communication abnormality.
After communication abnormality appears in CAN 21, system will preserve the message information occurring abnormal CAN communication data automatically, and register system current configuration now, the current configuration of this system comprises:
(1) exception message and the random number that arranges is produced;
(2) produce exception message and send ground skew testing requirement voltage range.
In this step, preserve and record above-mentioned information, the ground skew under avoiding ECU (Electrical Control Unit) in the normal operation of In-vehicle networking to produce current configuration, thus effectively ensure that redundancy and the reliability of car load electric-control system.
Known from the above description, In-vehicle networking ground of the present invention skewed redundant method of testing, by the mode selecting measured target at random, automatically test is offset to these measured targets, and produce ground offset voltage by programmable power supply 24 pairs of measured targets, and use bus test instrument CANoe to analyze the message information of CAN communication data in test process, and diagnose out exception message, effectively ensure that 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, can realize carrying out unit testing and system testing to any vehicle system or any ECU network service with the ground skew can tolerated during diagnosis, greatly reduce automobile development cost, and improve automobile development efficiency.
Fig. 5 represents the structural representation of the In-vehicle networking ground skewed redundant system safety testing device 500 of the embodiment of the present invention.
Shown in Figure 5, this proving installation mainly comprises:
Random generating module 501, for producing the random number of selected measured target at random; First sending module 503, for sending the steering order corresponding to random number; Second sending module 505, for offseting the voltage range instruction of testing requirement with sending; First receiver module 507, for receiving the message information of CAN communication data; First diagnostic module 509, for running bus test instrument, diagnoses out the message information of the CAN communication data of reception to be exception message; Preserve module 511, for preserving the message information of the CAN communication data of reception; Logging modle 513, for recording the current configuration of the test macro corresponding to exception message.
Preferably, the current configuration of test macro comprises: produce exception message and the random number that arranges; Produce exception message and send ground skew testing requirement voltage range.
Known from the above description, In-vehicle networking ground of the present invention skewed redundant system safety testing device, by arranging random generating module 500, random selected measured target, by programmable power supply, measured target is offset with producing, and use bus test instrument CANoe to analyze the message information of CAN communication data in test process, and diagnose out exception message, effectively ensure that 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, can realize carrying out unit testing and system testing to any vehicle system or any ECU network service with the ground skew can tolerated during diagnosis, greatly reduce automobile development cost, and improve automobile development efficiency.
Fig. 6 represents the process flow diagram of the In-vehicle networking ground skewed redundant method of testing of the another enforcement of the present invention.The figure shows a kind of method manually completing the skewed redundant test of In-vehicle networking ground, for the In-vehicle networking ground skewed redundant test macro in Fig. 2, this method of testing is described in detail.
Shown in Figure 6, this method of testing comprises the following steps:
Step 601: receive the selected measured target of with needing generation skew and the operational order of ground offset voltage.
In this step, need the ground skew Comprehensive Control panel of the host computer shown in sectional drawing 30 in application drawing 3, first the measured target needing to offset with producing will be selected, and the ground offset voltage required for measured target offset while the generation of these needs is set, after user operation, host computer 26 will receive aforesaid operations instruction.
Step 603: send the steering order corresponding to the operational order received.
In this step, the selected steering order of the measured target offset with producing that needs is sent to Control board 22 by host computer 26, and Control board 22 will according to the control of this control command to the break-make of chosen measured target.Simultaneously, the steering order of selected ground offset voltage is also sent to bus monitoring device 25 by host computer 26, corresponding control command is sent to programmable power supply 24 by bus monitoring device 25, and programmable power supply 24 will export corresponding supply voltage to the measured target needing to offset with producing.
Step 605: the message information receiving CAN communication data.
This step is with step 407.
Step 607: run bus test instrument, diagnose out the message information of the CAN communication data of reception to be exception message.
This step is with step 409.
Known from the above description, In-vehicle networking ground of the present invention skewed redundant method of testing, by offseting the operation of Comprehensive Control panel to host computer, selected measured target and the ground offset voltage needing the skew of generation ground, ground offset voltage is produced by programmable power supply 24 pairs of measured targets, and use bus test instrument CANoe to analyze the message information of CAN communication data in test process, and diagnose out exception message, effectively ensure that redundancy and the reliability of car load electric-control system.
Fig. 7 represents the structural representation of the In-vehicle networking ground skewed redundant system safety testing device 700 of further embodiment of this invention.
Shown in Figure 7, this proving installation mainly comprises:
Second receiver module 701, for receiving the operational order selecting measured target and the ground offset voltage needing to offset with producing; 3rd sending module 703, for the steering order that the operational order sent to receive is corresponding; 3rd receiver module 705, for receiving the message information of CAN communication data; Second opinion module 707, for running bus test instrument, diagnoses out the message information of the CAN communication data of reception to be exception message.
Known from the above description, In-vehicle networking ground of the present invention skewed redundant system safety testing device, by arranging the second receiver module 701, receive the selected measured target of with needing generation skew and the operational order of ground offset voltage, test is offset with carrying out to selected measured target, and use bus test instrument CANoe to analyze the message information of CAN communication data in test process, and diagnose out exception message, effectively ensure that redundancy and the reliability of car load electric-control system.
To sum up, In-vehicle networking ground of the present invention skewed redundant test macro, method and apparatus, by programmable power supply, ground offset voltage is produced to measured target, and use bus test instrument CANoe to analyze the message information of CAN communication data in test process, and diagnose out exception message, effectively ensure that redundancy and the reliability of car load electric-control system.Simultaneously In-vehicle networking ground of the present invention skewed redundant test macro, method and apparatus can also be applied to the hardware and software platform network test of various, can realize carrying out unit testing and system testing to any vehicle system or any ECU network service with the ground skew can tolerated during diagnosis, greatly reduce automobile development cost, and improve automobile development efficiency.
It is more than the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles 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 (14)

1. an In-vehicle networking ground skewed redundant test macro, is characterized in that, comprising:
CAN, comprises CAN_H wire and CAN_L wire;
Target detection platform, is electrically connected with described CAN, in order to receive the selected steering order needing the measured target offset with producing, and performs the action corresponding to this steering order;
D.C. regulated power supply, is connected with each measured target in described target detection platform, provides stable operating voltage for giving described measured target;
Programmable power supply, is connected with each measured target in described target detection platform, needs the measured target offset with producing to provide the supply voltage producing ground offset voltage for giving;
Bus monitoring device, its CAN_H pin leads is connected with the CAN_H wire of described CAN, and the CAN_L pin leads of described bus monitoring device is connected with the CAN_L wire of described CAN; Described bus monitoring device also communicates with described programmable power supply, in order to described programmable power supply sending controling instruction;
Host computer, runs bus test instrument, and respectively with bus monitoring device and target detection Platform communication;
Described target detection platform comprises:
Several ECU (Electrical Control Unit), the CAN_H pin leads of each described ECU (Electrical Control Unit) is connected with the CAN_H wire of described CAN, and the CAN_L pin leads of each described ECU (Electrical Control Unit) is connected with the CAN_L wire of described CAN;
Several relays, corresponding to ECU (Electrical Control Unit) described in several; The normally closed contact of each described relay is connected with the earth terminal of described D.C. regulated power supply, and the normally opened contact of each described relay is connected with the earth terminal of described programmable power supply;
Control board, be provided with signal output channels that is corresponding and relay described in several, 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 board is connected with described host computer, for receiving the selected steering order needing the ECU (Electrical Control Unit) offset with producing that described host computer sends, and controls the break-make of the relay corresponding with this ECU (Electrical Control Unit);
The positive pole of described programmable power supply is connected with the positive pole of described D.C. regulated power supply, and all described ECU (Electrical Control Unit) of common connection.
2. test macro as claimed in claim 1, it is characterized in that, described Control board is NI PCI-6259 data collecting card.
3. test macro as claimed in claim 1, it is characterized in that, the input end of described Control board is connected by PCI serial ports with described host computer.
4. test macro as claimed any one in claims 1 to 3, it is characterized in that, described bus test instrument is CANOE.
5. an In-vehicle networking ground skewed redundant method of testing, is characterized in that, be applied to host computer, host computer respectively with the target detection Platform communication described in bus monitoring device and independent claims 1, method comprises:
Host computer produces the random number of selected measured target at random;
Host computer sends the steering order corresponding to described random number to target detection platform by CAN;
Host computer sends the voltage range instruction of ground skew testing requirement to bus monitoring device, programmable power supply is sent to by bus monitoring device, be connected with each measured target in described target detection platform by programmable power supply, provide the supply voltage producing ground offset voltage to the measured target needing to produce ground skew;
Host computer receives the message information of the CAN communication data gathered from bus monitoring device, sends to bus test instrument;
Host computer runs bus test instrument, and the message information of the described CAN communication data that bus test tool diagnostics goes out to receive is exception message.
6. method of testing as claimed in claim 5, is characterized in that, described diagnose out the message information of the described CAN communication data of reception be exception message after also comprise:
Preserve the message information of the described CAN communication data received.
7. method of testing as claimed in claim 5, is characterized in that, described diagnose out the message information of the described CAN communication data of reception be exception message after also comprise:
Record the current configuration of the test macro corresponding to described exception message.
8. method of testing as claimed in claim 7, it is characterized in that, the current configuration of described test macro comprises:
Produce described exception message and the described random number arranged;
Produce described exception message and the voltage range offseting testing requirement sent describedly.
9. an In-vehicle networking ground skewed redundant system safety testing device, is characterized in that, be positioned at host computer, host computer respectively with the target detection Platform communication described in bus monitoring device and independent claims 1, device comprises:
Random generating module, for producing the random number of selected measured target at random;
First sending module, for sending the steering order corresponding to described random number to target detection platform by CAN;
Second sending module, for offseting the voltage range instruction of testing requirement with sending to bus monitoring device, programmable power supply is sent to by bus monitoring device, be connected with each measured target in described target detection platform by programmable power supply, provide the supply voltage producing ground offset voltage to the measured target needing to produce ground skew;
First receiver module, for receiving the message information of the CAN communication data gathered from bus monitoring device, sends to bus test instrument;
First diagnostic module, for running bus test instrument, the message information of the described CAN communication data that bus test tool diagnostics goes out to receive is exception message.
10. proving installation as claimed in claim 9, it is characterized in that, described proving installation also comprises:
Preserve module, for preserving the message information of the described CAN communication data of reception.
11. proving installations as claimed in claim 9, it is characterized in that, described proving installation also comprises:
Logging modle, for recording the current configuration of the test macro corresponding to described exception message.
12. proving installations as claimed in claim 11, it is characterized in that, the current configuration of described test macro comprises:
Produce described exception message and the described random number arranged;
Produce described exception message and the voltage range offseting testing requirement sent describedly.
13. 1 kinds of In-vehicle networkings ground skewed redundant method of testings, is characterized in that, be applied to host computer, host computer respectively with the target detection Platform communication described in bus monitoring device and independent claims 1, method comprises:
Host computer receives the selected measured target of with needing generation skew and the operational order of ground offset voltage;
Host computer sends the steering order corresponding to the described operational order received to Control board;
Host computer sends the voltage range instruction of ground skew testing requirement to bus monitoring device, programmable power supply is sent to by bus monitoring device, be connected with each measured target in described target detection platform by programmable power supply, provide the supply voltage producing ground offset voltage to the measured target needing to produce ground skew;
Host computer receives the message information of the CAN communication data gathered from bus monitoring device, sends to bus test instrument;
Host computer runs bus test instrument, and the message information of the described CAN communication data that bus test tool diagnostics goes out to receive is exception message.
14. 1 kinds of In-vehicle networkings ground skewed redundant system safety testing devices, is characterized in that, be positioned at host computer, host computer respectively with the target detection Platform communication described in bus monitoring device and independent claims 1, device comprises:
Second receiver module, for receiving the operational order selecting measured target and the ground offset voltage needing to offset with producing;
3rd sending module, for the corresponding steering order of the described operational order sent to receive to Control board;
Host computer sends the voltage range instruction of ground skew testing requirement to bus monitoring device, programmable power supply is sent to by bus monitoring device, be connected with each measured target in described target detection platform by programmable power supply, provide the supply voltage producing ground offset voltage to the measured target needing to produce ground skew;
3rd receiver module, for receiving the message information of CAN communication data, sends to bus test instrument;
Second opinion module, for running bus test instrument, the message information of the described CAN communication data that bus test tool diagnostics goes out to receive 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 CN102929274A (en) 2013-02-13
CN102929274B true 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)

Families Citing this family (10)

* 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
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
CN110389571A (en) * 2018-04-20 2019-10-29 广州小鹏汽车科技有限公司 A kind of bus automatization test system and method
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
CN113341779B (en) * 2020-03-02 2023-06-16 纬湃科技投资(中国)有限公司 Light-mixing whole vehicle system and ground offset detection device thereof
CN111880134B (en) * 2020-06-24 2023-01-03 南方电网科学研究院有限责任公司 Method and device for testing quality abnormity of electronic transformer measurement system
CN113306534B (en) * 2021-06-30 2022-02-18 东风商用车有限公司 Unmanned hub redundancy brake control system and method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202512433U (en) * 2012-02-07 2012-10-31 北京汽车股份有限公司 Test cabinet of vehicle network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6795789B2 (en) * 2001-05-21 2004-09-21 Omnicron Electronics Corp. Usa 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

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202512433U (en) * 2012-02-07 2012-10-31 北京汽车股份有限公司 Test cabinet of vehicle network

Also Published As

Publication number Publication date
CN102929274A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
CN102929274B (en) In-vehicle networking ground skewed redundant test macro, method and apparatus
CN110471400B (en) Vehicle-mounted Ethernet real vehicle test method
CN108900377A (en) A kind of CAN network test macro and test method
CN201707605U (en) Embedded automobile OBD (On-Board Diagnostics) fault diagnosing device
CN110233768B (en) UDS-based CAN bus test system and CAN bus test method
CN107765676A (en) A kind of onboard diagnostic system and its method based on Ethernet
CN104914849A (en) Fault recording device and method
CN106325231A (en) Method and system for remote fault detection of vehicles on production line
MX2010011139A (en) Usb isolation for vehicle communication interface.
CN205003544U (en) Automotive production line detecting system that rolls off production line
CN103217969B (en) Based on the remote automobile diagnostic system of a key navigation mobile service platform
CN107592239A (en) A kind of CAN network power supply changes automatic test device and its method
CN212276236U (en) Portable real vehicle network automatic test system
CN110727264A (en) Automobile control system
CN103149033A (en) Offline fault detection method for electromobile
CN102540018B (en) Device and method for evaluating endurance and reliability of CAN (Controller Area Network) bus
CN103064399B (en) Fault simulation analytical equipment for vehicle diagnostics
CN113810403B (en) Charging pile vulnerability detection method and detection device based on communication protocol
CN113242532B (en) Vehicle communication device, wiFi connection method and vehicle diagnosis system
CN104007751A (en) Body control module test method and body control module test system
CN207133650U (en) The test system of Car Electronic Control device
CN106406271A (en) Automobile offline detection system and method
CN206187050U (en) Detection apparatus for rail vehicle system failure
CN108737502B (en) Device and method for monitoring connection state of vehicle-mounted communication module in real time
CN208224834U (en) A kind of onboard diagnostic system based on Ethernet

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