CN107544876A - CAN test system and method - Google Patents
CAN test system and method Download PDFInfo
- Publication number
- CN107544876A CN107544876A CN201610486094.7A CN201610486094A CN107544876A CN 107544876 A CN107544876 A CN 107544876A CN 201610486094 A CN201610486094 A CN 201610486094A CN 107544876 A CN107544876 A CN 107544876A
- Authority
- CN
- China
- Prior art keywords
- signal
- interference
- message
- controller module
- disturbed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
The present invention relates to automatization testing technique field, there is provided a kind of CAN test system and method, wherein the CAN test system includes:Controller module, for receiving CAN interference configuration signal, and according to the control signal of CAN interference configuration signal output control CAN interference modules;CAN interference modules, for being disturbed according to the control signal the CAN signal that CAN module is sent;And the controller module is additionally operable to receive and exports the CAN signal after interference.CAN test system and method for the present invention can improve the accuracy and testing efficiency of test without using expensive test equipment and without manually manufacture various bus failures while cost is reduced.
Description
Technical field
The present invention relates to automatization testing technique field, more particularly to a kind of CAN test system and method.
Background technology
CAN network has had in automotive field and has extremely been widely applied at present, thus CAN test just seems particularly
It is important.Under normal circumstances, the related test of progress CAN is needed to exploitation or even after sale, in ECU from product design
Development phase needs the test of auto electric Test Engineer progress CAN.CANoe and CANstress is currently mainly used
Two kinds of instruments carry out dependence test.However, mainly following some problem also be present for current situation:
Two kinds of above-mentioned at present instruments can not realize physics layer line mistake and the automatic test with time strong correlation, and manual
Operation will cause waveform to disturb, and then influence test result.Such as, if it is desired to carry out line error checking, this just need into
Row is manually operated, that is, tester manufactures various line mistakes according to testing requirement manually, and its drawback is exactly manually operated
Easily shake, and due to the difference of tester, it may appear that the time span of artificial manufacturing defect is different, during direct fault location
Between can not also meet test request, also occur operational error unavoidably during direct fault location and operating time length be difficult to handle
The problems such as control, thus the accuracy and reliability of test result are had influence on, or even the phenomenon of a variety of test results occurs.
In addition, some test contents very harsh to time requirement are included in CAN test, such as the test of sampled point
Need to be accurate to the 1/20 of every, it is even more small to need to be accurately measured 0.1us for the CAN network that speed is 500k, individually
Go what test can not also be realized by manual.
Also, carry out dependence test for Vector equipment for example in industry, it usually needs at the same using CANoe and
stress.But both instruments are not only expensive, and also need to operate simultaneously in test process, due to its interface configurations
More complicated (it is generally necessary to configuring more than 3 windows), operate inconvenience.In addition, the test item that can be completed is not also complete, lack
Few and time correlation test content.
The content of the invention
In view of this, the present invention is directed to propose a kind of CAN test system and method, with solve it is above-mentioned in the prior art
Testing tool is expensive and manually manufactures the problem of various bus failures influence test result.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
A kind of CAN test system, wherein the CAN test system includes:Controller module, for receiving
CAN interference configuration signal, and control the control of CAN interference modules to believe according to the CAN interference configuration signal output
Number;CAN interference modules, for being disturbed according to the control signal the CAN signal that CAN module is sent;And institute
Controller module is stated to be additionally operable to receive and export the CAN signal after interference.
Further, the CAN interference modules include multiple relays, the control signal control of the controller module output
The on off state of the multiple relay is made, to realize that the CAN signal sent to CAN module disturbs.
Further, the CAN test system also includes coder module, be arranged on the controller module with
Between CAN interference modules, the control signal for being exported to the controller module is exported to the CAN after being extended and disturbed
Module.
Further, before the CAN interference configuration signal is received, the controller module is additionally operable to receive and surveyed
Ping and rate selecting signal, and judged according to Current communications passage and speed in the TCH test channel and rate selecting signal
Whether the passage and speed of instruction are correct, and activate indicated passage in the right circumstances with indicated rate communications.
Relative to prior art, CAN test system of the present invention has the advantage that:
CAN test system of the present invention can be believed according to being received according to the CAN interference configuration
The control signal of number output control CAN interference modules, and then realize that the CAN signal sent to CAN module disturbs, from
And the CAN signal after being disturbed.Thus, it is without using expensive test equipment and various total without manually manufacture
Line failure, the accuracy and testing efficiency of test can be improved while cost is reduced.
, can not be to specifying message and report with solution another object of the present invention is to propose a kind of CAN test system
The problem of specified location in text is tested.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
A kind of CAN test system, the CAN test system include controller module, the controller module
For receiving CAN message interference configuration signal, wherein CAN message interference configuration signal includes instruction CAN letter
The information for treating interference position in number in the mark and the message to be disturbed of message to be disturbed;The controller module is also
For determining message to be disturbed in CAN signal according to the CAN message interference configuration signal and described waiting to disturb
Message in treat interference position and export interference signal to the CAN signal;And the controller module is additionally operable to
Receive and export the CAN signal after interference.
Further, the controller module is additionally operable to judge pre- timing before the CAN signal after output is disturbed
In bus communication state it is whether normal, and bus communication state within the scheduled time it is abnormal in the case of export
CAN signal after interference.
Relative to prior art, CAN test system of the present invention has the advantage that:
CAN test system of the present invention can determine message to be disturbed in CAN signal and described treat
Treat interference position in the message of interference and export interference signal to the CAN signal, so as to realize to specifying report
The interference of text and specified location in message and the CAN signal after being disturbed.
Another object of the present invention is to propose a kind of CAN method of testing, to solve above-mentioned to test in the prior art
Tool expensive and manually manufacture the problem of various bus failures influence test result.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
A kind of CAN method of testing, the CAN method of testing include:Controller module receives CAN interference
Signal is configured, and the control signal of CAN interference modules is controlled according to the CAN interference configuration signal output;The CAN is done
Module is disturbed to disturb the CAN signal that CAN module is sent according to the control signal;And the controller module connects
Receive and export the CAN signal after interference.
Further, the CAN method of testing also includes:The controller module is done in the reception CAN
TCH test channel and rate selecting signal are received before disturbing configuration signal, and the test is judged according to Current communications passage and speed
Whether the passage and speed indicated in passage and rate selecting signal be correct, and activates indicated passage in the right circumstances
With indicated rate communications.
The CAN method of testing is with the first above-mentioned CAN test system relative to possessed by prior art
Dominant Facies are same, will not be repeated here.
, can not be to specifying message and report with solution another object of the present invention is to propose a kind of CAN method of testing
The problem of specified location in text is tested.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
A kind of CAN method of testing, the CAN method of testing include:Receive CAN message interference configuration letter
Number, wherein CAN message interference configuration signal includes in instruction CAN signal the mark of message to be disturbed and described treated
The information for treating interference position in the message of interference;CAN signal is determined according to the CAN message interference configuration signal
In treat interference position and export interference signal to the CAN to believe in message to be disturbed and the message to be disturbed
Number;And receive and export the CAN signal after interference.
Further, the CAN method of testing also includes:Judge before the CAN signal after output is disturbed
Whether the bus communication state in the scheduled time is normal, and the abnormal situation of bus communication state within the scheduled time
CAN signal after lower output interference.
The CAN method of testing is with above-mentioned second of CAN test system relative to possessed by prior art
Dominant Facies are same, will not be repeated here.
Other features and advantages of the present invention will be described in detail in subsequent specific embodiment part.
Brief description of the drawings
The accompanying drawing for forming the part of the present invention is used for providing a further understanding of the present invention, schematic reality of the invention
Apply example and its illustrate to be used to explain the present invention, do not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the block diagram of the CAN test system described in the embodiment of the present invention;
Fig. 2 is the peripheral circuit of the high-speed module of the CAN module in the CAN test system described in the embodiment of the present invention
Schematic diagram;
Fig. 3 is the peripheral circuit of the low-speed module of the CAN module in the CAN test system described in the embodiment of the present invention
Schematic diagram;
Fig. 4 is the schematic diagram of the CAN interference sections of the CAN test system described in the embodiment of the present invention;
Fig. 5 is the flow chart of the CAN method of testing described in the embodiment of the present invention;And
Fig. 6 is the flow chart of the CAN method of testing described in the embodiment of the present invention.
Description of reference numerals:
12- controller modules, 14-CAN interference modules, 16-CAN modules, 18- coder modules, 20-USB interfaces, 22-
USB adapter circuits, 24-Wifi modules, 26- bluetooth modules, 28-SD card adapter circuits, 30- external power supplys, 32- power supply selection electricity
Road, 34- power modules.
Embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the present invention can phase
Mutually combination.
Describe the present invention in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is the block diagram of the CAN test system described in the embodiment of the present invention.
As shown in figure 1, a kind of CAN test system provided in an embodiment of the present invention includes:Controller module 12, is used for
CAN interference configuration signal is received, and CAN interference modules 14 are controlled according to the CAN interference configuration signal output
Control signal;CAN interference modules 14, the CAN signal for being sent according to the control signal to CAN module 16 are done
Disturb;And the controller module 12 is additionally operable to receive and exports the CAN signal after interference.
CAN test system of the present invention can be believed according to being received according to the CAN interference configuration
The control signal of number output control CAN interference modules, and then realize that the CAN signal sent to CAN module disturbs, from
And the CAN signal after being disturbed.Thus, it is without using expensive test equipment and various total without manually manufacture
Line failure, the accuracy and testing efficiency of test can be improved while cost is reduced.
In the present invention, controller module 12 can be single-chip microcomputer SCM, that is, microcontroller.It is whole that SCM, which is mainly,
The normal work of CAN test system provides various control signals and judges signal, and effect in the present invention is to realize intelligence
Can the communication between terminal and CAN test system and the communication between CAN network.
For example, hardware circuit can use 8 automobile specifieds of the U.S. micro- core (Microchip) company production
PIC18F26J50 microcontrollers can carry out the acquisition and communication of LIN signals and analog signal as master chip.Main feature
Have:With CAN communication interface, directly can be connected with CAN driver, into CAN network;, can with LIN UART interfaces
Re-synchronized automatically with realizing LIN master/slave mode of operation and can realize;With IIC interfaces, it is directly connected to carry out with memory
The amendment of data and the storage of data;With spi bus interface, it can make it that the rate of interaction with control chip reaches
10Mbit/s;Its normal working temperature can reach 150 DEG C, meet vehicle demand.
According to one embodiment of the present invention, the CAN interference modules 14 can include multiple relays, the controller
The control signal that module 12 exports controls the on off state of the multiple relay, to realize that the CAN sent to CAN module 16 is total
Line signal is disturbed.
According to one embodiment of the present invention, the CAN module 16 can include CAN high-speed modules (CANH) and CAN is low
Fast module (CANL).
Wherein high-speed module can for example use in the market relatively common and can be compatible CAN_FD (flexible
Data rate, flexible data rate) TJA1044 transceivers, it supports 3.3V and 5V, supports Remote Wake Up and low simultaneously
The features such as power consumption.The peripheral circuit of high-speed module is as shown in Figure 2.
As shown in Fig. 2 wherein U0 is high-speed transceiver, its effect is to be converted into the TTL that ECAN modules are sent in SCM
CAN signal, while CAN signal can be converted into TTL signal and be sent to SCM.Terminal 1,2 and 3 in Fig. 2,4 ends can be distinguished
Being connected to the output pin of relay, (for example, terminal 1 and 2 is connected to the output end of a relay, terminal 3 and 4 is connected to
The output end of another relay), so as to select terminal resistance according to being actually needed, and according to the difference of external network
Switch over.In the present invention, CAN module 16 can for example use 4 high-speed modules.
Also, the pin connection in high-speed module can support sleep to call out according to TJa1043datasheet (tables of data)
Wake up, the record of mistake can also be supported.
Wherein low-speed module can for example use in the market relatively common and the TJA1054 of sleep awakening can be supported to receive and dispatch
Device, while the purpose of terminal coupling can be realized according to the resistance for being actually needed selection terminal resistance.For example, between terminal 5 and 7
Connected by relay output end, the function that resistance selects is accomplished by relay connection between terminal 6 and 8, while can be with
Support single-wire communication.The peripheral circuit of low-speed module is as shown in Figure 3.
Similarly, the pin connection in low-speed module can be supported to sleep according to TJa1054datasheet (tables of data)
Wake up, the record of mistake can also be supported.
The resistance for treating selection can be included according to one embodiment of the present invention, in the CAN interference configuration signal
Size and relay switch state.
According to one embodiment of the present invention, the CAN test system also includes coder module 18, is arranged on institute
State between controller module 12 and the CAN interference modules 14, the control signal for being exported to the controller module 12 is entered
Exported after row extension to the CAN interference modules 14.
By setting coder module, it is possible to achieve the CAN test of a variety of test patterns.
For example, the requirement under every kind of different test pattern to circuit is completely different, so causing number of relays
Increase, and the control signal of oneself is required for per relay all the way, so if used completely on central control unit MCU
The GPIO (common input/output interface) in face is far from being enough, furthermore MCU workload also is difficult to meet to require.In view of
This, employs coder module in the present invention and GPIO is extended.For example, in the case where having used coder module, make
Realize that the control to 8 output signals realizes its normal work come control relay with 3 GPIO cans.
To sum up, this hardware design disclosure satisfy that every test of CAN part of detecting, disclosure satisfy that different CAN
ECU every test.
Wherein, by CAN test system of the present invention and intelligent terminal (for example, computer, mobile phone, flat board etc.) even
Connect, the operation to the test system can be realized by the intelligent terminal.
For example, as shown in figure 1, CAN interference configuration signal can be sent to described via USB interface 20 by computer
Controller module 12, wherein setting USB adapter circuits 22, the USB adapter circuits between USB interface 20 and controller module 12
22 are used to the signal of computer output being converted into TTL signal delivery value controller module 12, and for by controller module 12
The signal of output is converted into usb signal and exported to computer.
Also, as shown in figure 1, CAN test system of the present invention is also provided with Wifi modules 24 and bluetooth mould
Block 26, so that mobile phone and flat board can realize the transmission of signal by Wifi modules or bluetooth module.
In addition, the CAN signal after the interference that controller module 12 exports can be adapted to via the SD card shown in Fig. 1
Circuit 28 is stored in SD card, is achieved in the storage to disturbed test result.Alternatively, what controller module 12 exported is dry
CAN signal after disturbing can also be converted into usb signal via USB adapter circuits 22 and export to computer.
CAN test system of the present invention also includes external power supply (such as can provide 12V power supplys) 30, power supply
Selection circuit 32 and power module 34.External power supply 30 and USB interface (such as can provide 5V power supplys) 20 can be the CAN
Each module in bus testing system is powered, and the selection of power supply can be specifically realized by selection circuit 32 of powering.
For example, power supply selection circuit 32 first detects whether external power supply 30 be present, if there is just disconnection USB interface 20
Powered using the external power supply 30;Otherwise powered using USB interface 20.
When being powered using external 12V power supplys, transformation chip that power module 34 contains by 12V voltage conversion into 5V or
3.3V voltages are powered for single-chip microcomputer, and 12 voltages directly can also be directly connected to CAN interference modules 14 and supply CAN by power module 34
Signal is shorted to power supply use.
When being powered using USB, now power module 34 is directly powered for single-chip microcomputer, and the boost chip that it contains is defeated by USB
The 5V voltage conversions gone out are connected to CAN interference modules 14 into 12V voltages and are shorted to power supply for CAN signal.
According to one embodiment of the present invention, before the CAN interference configuration signal is received, the controller mould
Block 12 is additionally operable to receive TCH test channel and rate selecting signal, and judges the TCH test channel according to Current communications passage and speed
And whether the passage and speed indicated in rate selecting signal be correct, and indicated passage is activated in the right circumstances with institute
The rate communications of instruction.
Pass through the control of the on off state to multiple relays, it is possible to achieve at least one of following test pattern is (i.e.,
Realize the dependence test of physics layer line part of detecting):
CANH and CANL short circuits, CANH and GND short circuits, CANH and VCC short circuits, CANH and VBAT short circuits, CANL and GND are short
Road, CANL and VCC short circuits and CANL and VBAT short circuits.
The principle of CAN interference sections in test pattern may refer to Fig. 4.
Wherein, VCC refers to USB power supplies (for example, can be 5V power supplys), VBAT refer to external power supply (for example,
Can be 12V power supplys).
It will be appreciated by those skilled in the art that the description for each module model being related in the above-mentioned embodiment of the present invention, only
Only it is exemplary, is not intended to limit the present invention.
In embodiments of the present invention, when CAN interference modules do not work, whole system enters message monitoring pattern, i.e. just
Often receive CAN signal.
The embodiment of the present invention additionally provides a kind of CAN test system, and the CAN test system includes controller
Module 12, the controller module 12 are used to receive CAN message interference configuration signal, and wherein CAN message interference is matched somebody with somebody
Confidence number includes treating interference position in the mark and the message to be disturbed of message to be disturbed in instruction CAN signal
Information;The controller module 12 is additionally operable to be determined in CAN signal according to the CAN message interference configuration signal
Treat interference position in message to be disturbed and the message to be disturbed and export interference signal to the CAN signal;
And the controller module 12 is additionally operable to receive and exports the CAN signal after interference.
CAN test system of the present invention can determine message to be disturbed in CAN signal and described treat
Treat interference position in the message of interference and export interference signal to the CAN signal, so as to realize to specifying report
The interference of text and specified location in message and the CAN signal after being disturbed.
According to one embodiment of the present invention, the controller module 12 is additionally operable to the CAN letter after output is disturbed
Judge whether the bus communication state in the scheduled time is normal before number, and the bus communication state within the scheduled time is not
CAN signal in the case of normal after output interference.
Fig. 5 is the flow chart of the CAN method of testing described in the embodiment of the present invention.
As shown in figure 5, a kind of CAN method of testing provided in an embodiment of the present invention includes:
S500, controller module receive CAN interference configuration signal, and according to the CAN interference configuration signal
The control signal of output control CAN interference modules;
S502, the CAN interference modules are done according to the control signal to the CAN signal that CAN module is sent
Disturb;And
S504, the controller module receive and export the CAN signal after interference.
Thus, without using expensive test equipment and without manually manufacture various bus failures, cost is being reduced
The accuracy and testing efficiency of test can be improved simultaneously.
According to one embodiment of the present invention, before step S500, the CAN method of testing also includes:
S506, the controller module receive TCH test channel and rate selecting signal;
S508, the passage for judging to indicate in the TCH test channel and rate selecting signal according to Current communications passage and speed
Whether (i.e., if selection is correct) correct with speed, if correctly going to step S510, otherwise go to step S506;
S510, indicated passage is activated with indicated rate communications.
The judgment mode of specific correctness can use existing mode in the prior art, and the present invention is not carried out to this
Limit.
Alternatively, it is also possible to CAN interference configuration information is write with a brush dipped in Chinese ink in single-chip microcomputer in advance, and in monolithic machine testing
Start to perform follow-up disturbed test process when having data transfer to CAN network, now can be understood as local test pattern.
The detection whether CAN network has data transfer voltage jump can occur to realize by detecting CAN module and whether depositing.
Fig. 6 is the flow chart of the CAN method of testing described in the embodiment of the present invention.
As shown in fig. 6, a kind of CAN method of testing provided in an embodiment of the present invention includes:
S600, CAN message interference configuration signal is received, wherein CAN message interference configuration signal includes instruction
The information for treating interference position in CAN signal in the mark and the message to be disturbed of message to be disturbed;
S602, message to be disturbed in CAN signal and institute are determined according to the CAN message interference configuration signal
State in message to be disturbed and treat interference position;
S604, output interference signal to the CAN signal (that is, start interference), such as interference signal be with it is current
The opposite signal of signal level;And
S606, receive the CAN signal after interference;
S608, the CAN signal after output interference.
CAN test system of the present invention can determine message to be disturbed in CAN signal and described treat
Treat interference position in the message of interference and export interference signal to the CAN signal, so as to realize to specifying report
The interference of text and specified location in message and the CAN signal after being disturbed.
In the method, step S602 includes:
S6020, the mark of the message in CAN signal is detected, detect ID;
S6022, judge to be detected identifies whether as the mark of message to be disturbed, if going to S6024, otherwise to return
Return S6020;
S6024, detect the position of the message to be disturbed in CAN signal;
S6026, judge whether detected position is to treat interference position, if going to S6028, otherwise goes to S6024;
S6028, treat that interference position moves to right scheduled volume (for example, 0.5TQ), go to step S604.
According to one embodiment of the present invention, before S608, the CAN method of testing also includes:
S610, judge whether the bus communication state in the scheduled time (for example, 20s) is normal, if normally going to step
S6028, otherwise go to step S608.
For example, when CAN adopts sampled point of 1/16 width of a position as one position, when the non-sampled point of interference
Bus, when being moved to sampling point position, because level is disturbed, therefore false alarm can occur with normal communication when position
Text, the error message will be output.So can be by determining the position of sampled point to the detection of communication state.
Above-mentioned method is corresponding with foregoing system respectively, refers to portion is corresponded in method for the detailed description of method
Point, it will not be repeated here.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
God any modification, equivalent substitution and improvements made etc., should be included in the scope of the protection with principle.
Claims (10)
1. a kind of CAN test system, it is characterised in that the CAN test system includes:
Controller module (12), for receiving CAN interference configuration signal, and according to the CAN interference configuration signal
The control signal of output control CAN interference modules (14);
CAN interference modules (14), the CAN signal for being sent according to the control signal to CAN module (16) are done
Disturb;And
The controller module (12) is additionally operable to receive and exports the CAN signal after interference.
2. CAN test system according to claim 1, it is characterised in that the CAN interference modules (14) include more
Individual relay, the control signal of controller module (12) output controls the on off state of the multiple relay, to realize
The CAN signal sent to CAN module (16) disturbs.
3. CAN test system according to claim 2, it is characterised in that the CAN test system also includes
Coder module (18), it is arranged between the controller module (12) and the CAN interference modules (14), for the control
The control signal of device module (12) output processed is exported to the CAN interference modules (14) after being extended.
4. CAN test system according to claim 1, it is characterised in that receiving the CAN interference configuration
Before signal, the controller module (12) is additionally operable to receive TCH test channel and rate selecting signal, and is led to according to Current communications
Road and speed judge whether the passage indicated in the TCH test channel and rate selecting signal and speed are correct, and in correct feelings
Indicated passage is activated under condition with indicated rate communications.
A kind of 5. CAN test system, it is characterised in that the CAN test system includes controller module (12),
The controller module (12) is used to receive CAN message interference configuration signal, wherein CAN message interference configuration
Signal includes in instruction CAN signal the interference position for the treatment of in the mark and the message to be disturbed of message to be disturbed
Information;
The controller module (12) is additionally operable to be determined in CAN signal according to the CAN message interference configuration signal
Treat interference position in message to be disturbed and the message to be disturbed and export interference signal to the CAN signal;
And
The controller module (12) is additionally operable to receive and exports the CAN signal after interference.
6. CAN test system according to claim 5, it is characterised in that the controller module (12) is additionally operable to
Judge whether the bus communication state in the scheduled time is normal before the CAN signal after output is disturbed, and described pre-
CAN signal in the case of interior bus communication state of fixing time is abnormal after output interference.
7. a kind of CAN method of testing, it is characterised in that the CAN method of testing includes:
Controller module receives CAN interference configuration signal, and is controlled according to the CAN interference configuration signal output
The control signal of CAN interference modules;
The CAN interference modules are disturbed the CAN signal that CAN module is sent according to the control signal;And
The controller module receives and exports the CAN signal after interference.
8. CAN method of testing according to claim 7, it is characterised in that the CAN method of testing is also wrapped
Include:The controller module receives TCH test channel and rate selecting signal before the CAN interference configuration signal is received,
And judge whether are the passage that is indicated in the TCH test channel and rate selecting signal and speed according to Current communications passage and speed
Correctly, indicated passage and is activated in the right circumstances with indicated rate communications.
9. a kind of CAN method of testing, it is characterised in that the CAN method of testing includes:
CAN message interference configuration signal is received, wherein CAN message interference configuration signal includes instruction CAN letter
The information for treating interference position in number in the mark and the message to be disturbed of message to be disturbed;
Message to be disturbed in CAN signal is determined according to the CAN message interference configuration signal and described waits to disturb
Message in treat interference position and export interference signal to the CAN signal;And
Receive and export the CAN signal after interference.
10. CAN method of testing according to claim 9, it is characterised in that the CAN method of testing is also wrapped
Include:
Judge whether the bus communication state in the scheduled time is normal before the CAN signal after output is disturbed, and in institute
State bus communication state in the scheduled time it is abnormal in the case of CAN signal after output interference.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610486094.7A CN107544876A (en) | 2016-06-28 | 2016-06-28 | CAN test system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610486094.7A CN107544876A (en) | 2016-06-28 | 2016-06-28 | CAN test system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107544876A true CN107544876A (en) | 2018-01-05 |
Family
ID=60962287
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610486094.7A Pending CN107544876A (en) | 2016-06-28 | 2016-06-28 | CAN test system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107544876A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109309598A (en) * | 2018-08-01 | 2019-02-05 | 惠州市德赛西威汽车电子股份有限公司 | Sampled point automatization test system and method with CAN function test vehicle module |
CN111104272A (en) * | 2019-12-10 | 2020-05-05 | 北京振兴计量测试研究所 | CAN bus controller testing method based on RX and TX |
CN111313992A (en) * | 2020-03-11 | 2020-06-19 | 智慧航海(青岛)科技有限公司 | Intelligent ship communication performance testing method and system |
CN111694347A (en) * | 2020-06-28 | 2020-09-22 | 北京经纬恒润科技有限公司 | Function testing method and device based on bus development environment |
CN115065625A (en) * | 2022-04-26 | 2022-09-16 | 一汽奔腾轿车有限公司 | Universal automatic CAN communication test system and test method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594589A (en) * | 2012-02-01 | 2012-07-18 | 北京经纬恒润科技有限公司 | Ethernet fault injection method, device and system |
CN203299644U (en) * | 2013-03-29 | 2013-11-20 | 北京经纬恒润科技有限公司 | CAN/LIN bus test circuit and CAN/LIN bus test apparatus |
CN104678984A (en) * | 2013-11-28 | 2015-06-03 | 北车大连电力牵引研发中心有限公司 | Controller area network (CAN) bus testing device |
CN105306298A (en) * | 2015-10-28 | 2016-02-03 | 东风汽车公司 | Vehicle network based remote wireless testing system and testing method |
-
2016
- 2016-06-28 CN CN201610486094.7A patent/CN107544876A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594589A (en) * | 2012-02-01 | 2012-07-18 | 北京经纬恒润科技有限公司 | Ethernet fault injection method, device and system |
CN203299644U (en) * | 2013-03-29 | 2013-11-20 | 北京经纬恒润科技有限公司 | CAN/LIN bus test circuit and CAN/LIN bus test apparatus |
CN104678984A (en) * | 2013-11-28 | 2015-06-03 | 北车大连电力牵引研发中心有限公司 | Controller area network (CAN) bus testing device |
CN105306298A (en) * | 2015-10-28 | 2016-02-03 | 东风汽车公司 | Vehicle network based remote wireless testing system and testing method |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109309598A (en) * | 2018-08-01 | 2019-02-05 | 惠州市德赛西威汽车电子股份有限公司 | Sampled point automatization test system and method with CAN function test vehicle module |
CN109309598B (en) * | 2018-08-01 | 2021-03-23 | 惠州市德赛西威汽车电子股份有限公司 | Sampling point automatic test system and method for tested vehicle-mounted module with CAN function |
CN111104272A (en) * | 2019-12-10 | 2020-05-05 | 北京振兴计量测试研究所 | CAN bus controller testing method based on RX and TX |
CN111104272B (en) * | 2019-12-10 | 2023-04-18 | 北京振兴计量测试研究所 | CAN bus controller testing method based on RX and TX |
CN111313992A (en) * | 2020-03-11 | 2020-06-19 | 智慧航海(青岛)科技有限公司 | Intelligent ship communication performance testing method and system |
CN111694347A (en) * | 2020-06-28 | 2020-09-22 | 北京经纬恒润科技有限公司 | Function testing method and device based on bus development environment |
CN115065625A (en) * | 2022-04-26 | 2022-09-16 | 一汽奔腾轿车有限公司 | Universal automatic CAN communication test system and test method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107544876A (en) | CAN test system and method | |
CN210041853U (en) | Automatic test system for automobile CAN/LIN bus | |
CN106383268B (en) | A kind of mobile terminal power consumption test device and method of testing | |
CN203658834U (en) | General self-setting instruction automobile diagnostic equipment | |
CN106209410B (en) | Method and device for repairing communication interruption by using gateway and intelligent joint block | |
CN105676834A (en) | CAN bus interface self-matching device of on board diagnostics (OBD) | |
US8509057B2 (en) | Communication system, test apparatus, communication apparatus, communication method and test method | |
CN110673584B (en) | Reliability detection method and device for electric power-assisted brake system | |
CN109184862B (en) | Model identification method of urea pump, urea pump diagnostic instrument and diagnostic system thereof | |
CN110988654A (en) | Device and method for PCBA program burning and impedance testing | |
CN105745551B (en) | Device and method for detecting automotive battery | |
EP1037061B1 (en) | Method of testing on-vehicle electronic unit | |
CN113242532B (en) | Vehicle communication device, wiFi connection method and vehicle diagnosis system | |
CN105182957A (en) | Multi-path real-time data acquisition chip for internet of vehicles | |
CN203606443U (en) | Aging test device for vehicle electronic product | |
CN102621433A (en) | Failure detection equipment for sensors of internal combustion engine | |
CN102279109B (en) | Universal test device for signal of military vehicle chassis part | |
US20110072176A1 (en) | Meter system with master/slave meters | |
CN207352103U (en) | A kind of automobile using high-voltage relay fault detection module | |
CN201552111U (en) | Rotary coder device used for identifying vehicle type in vehicle production line | |
CN204258837U (en) | A kind of vehicle bus failure detector | |
CN212133911U (en) | Two-wire system temperature measurement system of daisy chain | |
CN208968830U (en) | A kind of host computer and automotive diagnostic system | |
JP4441556B2 (en) | Control method for vehicle power generation system | |
CN210534240U (en) | Vehicle-mounted antenna self-diagnosis circuit and vehicle-mounted electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180105 |