CAN network test system
By designing a CAN network test system and using a switch test circuit and an oscilloscope to implement short-circuit testing between the CAN_H signal line and CAN_L signal line and power supply short-circuit testing, the problems of complexity and high cost of the existing system are solved, and a low-cost, simple-to-use system is realized. CAN network fault tolerance test improves fault tolerance performance.
Patent Information
- Application Number
- CN202420166681.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-24
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2034-01-24
AI Technical Summary
The existing CAN network fault tolerance test system is complex to set up and operate, and the cost is high. As a result, companies with insufficient capabilities fail to conduct CAN network fault tolerance testing, which may lead to CAN error frames or signal line shutdown, causing serious consequences.
A CAN network test system including a power module, a switch test circuit, an acquisition module and a timing module is designed. The short circuit test between the CAN_H signal line and the CAN_L signal line, and the short circuit test between the positive and negative poles of the power supply are realized by turning the switch on and off. Use an oscilloscope to display waveforms, simplify the test process and reduce system costs.
It realizes multiple functions and good performance of CAN network fault tolerance test. The system is low cost, simple to use, suitable for more needs, and improves the fault tolerance performance of CAN network.
Smart Images

Figure CN221862871U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to a network signal testing system, in particular to a CAN network testing system. Background Art
[0002] At present, for vehicle CAN network fault tolerance testing, capable companies usually use script-based testing systems to achieve automated testing of CAN network fault tolerance; while companies with insufficient capabilities usually do not conduct CAN network fault tolerance testing.
[0003] The use of CAN network fault tolerance automated testing requires complex test system construction and operation, places high demands on relevant personnel, and has high system costs. If the CAN network fault tolerance test is not performed, the consistency of the CAN network is unknown, and CAN error frames or CAN signal lines may be closed, leading to serious consequences. Summary of the invention
[0004] In view of this, the purpose of the utility model is to provide a CAN network testing system, which has multiple functions and good performance to meet the fault tolerance test, and the system is low-cost and easy to use, so that more people in need have the opportunity to carry out CAN network fault tolerance testing and improve the fault tolerance performance of the CAN network.
[0005] The utility model provides a CAN network test system, comprising a power supply module, a switch test circuit, a collection module and a tested component;
[0006] The measured component includes a positive power input terminal and a negative power input terminal, and also includes a CAN signal circuit, and the CAN signal circuit includes a CAN_H signal line and a CAN_L signal line;
[0007] The power module includes a positive power output terminal and a negative power output terminal, which are used to provide power to the tested component and the switch test circuit;
[0008] The switch test circuit includes a switch S3, a switch S4, a switch S6, a switch S8, and a switch S9, wherein the switch S3 is electrically connected to the negative power output terminal of the power module, the switch S4 is electrically connected to the positive power output terminal of the power module, the CAN_H signal line is connected in parallel with one end of S9 through the switch S6, S3, and S4, and the CAN_L signal line is connected in parallel with the other end of S9 through the switch S8, and the CAN signal circuit is tested by turning the switch on and off;
[0009] The acquisition module is electrically connected to the CAN_H signal line and the CAN_L signal line respectively, and is used to acquire the circuit status of the CAN signal.
[0010] By adopting this circuit and closing and opening the switch, the short circuit test between the CAN_H signal line and the CAN_L signal line, the short circuit test between CAN_H and the positive pole of the power supply, the short circuit test between CAN_L and the positive pole of the power supply, the short circuit test between CAN_H and the negative pole of the power supply, and the short circuit test between CAN_L and the negative pole of the power supply can be realized.
[0011] Furthermore, the switch test circuit also includes a switch S1 and a switch S2, wherein the switch S1 is connected in series between the positive power output terminal of the power module and the positive power input terminal of the component under test, and the switch S2 is connected in series between the negative power output terminal of the power module and the negative power input terminal of the component under test. Adding two switches can further implement the positive power open circuit test and the negative power open circuit test of the component under test.
[0012] Furthermore, the switch test circuit further includes a switch S5 and a switch S7, wherein the switch S5 is connected in series between the CAN_H signal line and S6; and the switch S7 is connected in series between the CAN_L signal line and S8.
[0013] Furthermore, the acquisition module is an oscilloscope.
[0014] Furthermore, the CAN network test system includes a timing module, and the timing module is used to control the closing and opening time of the switch.
[0015] The beneficial effects of the utility model are as follows: the utility model has multiple functions and good performances satisfying the fault tolerance test of the CAN network, and the system is low in cost and easy to use. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The utility model is further described below in conjunction with the accompanying drawings and embodiments:
[0017] Figure 1 It is a schematic diagram of the circuit structure of the utility model. DETAILED DESCRIPTION
[0018] The utility model is further described in detail below:
[0019] The utility model provides a CAN network test system comprising a power supply module, a switch test circuit, a collection module and a tested component;
[0020] The measured component includes a positive power input terminal and a negative power input terminal, and also includes a CAN signal circuit, and the CAN signal circuit includes a CAN_H signal line and a CAN_L signal line;
[0021] The power supply module includes a positive power output terminal and a negative power output terminal, which are used to provide electrical energy to the component under test and the switch test circuit; the positive power output terminal of the power supply module is electrically connected to the positive power input terminal of the component under test, and the negative power output terminal of the power supply module is electrically connected to the negative power input terminal of the component under test.
[0022] The switch test circuit includes a switch S3, a switch S4, a switch S6, a switch S8, and a switch S9, wherein the switch S3 is electrically connected to the negative power output terminal of the power module, the switch S4 is electrically connected to the positive power output terminal of the power module, the CAN_H signal line is connected in parallel with one end of S9 through the switch S6, S3, and S4, and the CAN_L signal line is connected in parallel with the other end of S9 through the switch S8, and the CAN signal circuit is tested by turning the switch on and off;
[0023] The acquisition module is electrically connected to the CAN_H signal line and the CAN_L signal line respectively, and is used to acquire the circuit status of the CAN signal.
[0024] By adopting this circuit, the short circuit test between the CAN_H signal line and the CAN_L signal line, the short circuit test between CAN_H and the positive pole of the power supply, the short circuit test between CAN_L and the positive pole of the power supply, the short circuit test between CAN_H and the negative pole of the power supply, and the short circuit test between CAN_L and the negative pole of the power supply can be realized by closing and opening the switch. The switch in the switch test circuit can be, but is not limited to, existing commonly used switch elements such as relays, thyristors, and MOS tubes.
[0025] Furthermore, the switch test circuit also includes a switch S1 and a switch S2, wherein the switch S1 is connected in series between the positive power output terminal of the power module and the positive power input terminal of the component under test, and the switch S2 is connected in series between the negative power output terminal of the power module and the negative power input terminal of the component under test. Adding two switches can further implement the positive power open circuit test and the negative power open circuit test of the component under test.
[0026] Furthermore, the switch test circuit also includes a switch S5 and a switch S7, wherein the switch S5 is connected in series between the CAN_H signal line and S6; the switch S7 is connected in series between the CAN_L signal line and S8, and the CAN_H signal line and the CAN_L signal line can be turned on and off separately when collecting the circuit status.
[0027] Specifically, the acquisition module has more than three detection ports, the first detection port is electrically connected to the ground, the second detection port is electrically connected to the CAN_H signal line through the switch S5 after being connected in parallel with the switch S6, and the third detection port is electrically connected to the CAN_L signal line through the switch S7 after being connected in parallel with the switch S8. The above-mentioned acquisition CAN signal circuit state is a voltage state, that is, the voltage between the CAN_H signal line and the ground and the voltage between the CAN_L signal line and the ground. Preferably, the acquisition module is an oscilloscope. The voltage waveform between the CAN_H signal line and the ground and the voltage waveform between the CAN_L signal line and the ground during the test are displayed by the oscilloscope, so as to obtain the time required for the CAN signal circuit to recover from the removal of the fault. The oscilloscope can be selected as a digital storage oscilloscope, and the 220V mains power is used as the power supply.
[0028] Furthermore, the CAN network test system includes a timing module, which is used to control the closing and opening time of the switch. Preferably, the switch in the switch test circuit adopts a time relay, which can realize automatic delayed opening and closing, and is easy to use. On the other hand, the CAN network test system can also use a programmable relay. Most of the existing programmable relays have a timing function and have multiple sets of switches, and the power supply module can also use a power supply module integrated on the programmable relay. The use of programmable relays can make it more convenient for users to use, and the entire system occupies less space.
[0029] The specific testing process is as follows:
[0030] Short circuit test between CAN_H / CAN_L: S1, S2, S5, S7 are closed, S3, S4, S6, S8, S9 are disconnected, and the oscilloscope continues to capture the waveform. After stabilization for 5 seconds, S6, S8, S9 are closed to achieve a short circuit between CAN_H and CAN_L. After maintaining the short circuit for 30 seconds, S6, S8, S9 are disconnected again. By comparing the waveforms before and after, the waveform differences and the time it takes for the waveform circuit to return to normal after the fault can be analyzed and recorded.
[0031] CAN_H short-circuit test with the positive power supply: S1, S2, S5, and S7 are closed, and S3, S4, S6, S8, and S9 are disconnected. The oscilloscope continuously captures the waveform. After stabilization for 5 seconds, S4 and S6 are closed, and CAN_H is short-circuited with the positive power supply through the S4, S5, and S6 relays. After maintaining the short circuit for 30 seconds, S4 and S6 are disconnected again. The waveform differences before and after can be compared, and the time for the waveform circuit to return to normal after the fault can be analyzed and recorded.
[0032] CAN_L short-circuit test with the positive power supply: S1, S2, S5, and S7 are closed, and S3, S4, S6, S8, and S9 are disconnected. The oscilloscope continuously captures the waveform. After stabilization for 5 seconds, S4, S8, and S9 are closed. CAN_L is short-circuited with the positive power supply through the S4, S7, S8, and S9 relays. After 30 seconds, S4, S8, and S9 are disconnected again. The waveform differences before and after can be compared to analyze and record the waveform differences and the time it takes for the waveform circuit to return to normal after the fault.
[0033] CAN_H short-circuit test with the negative pole of the power supply: S1, S2, S5, and S7 are closed, and S3, S4, S6, S8, and S9 are disconnected. The oscilloscope continuously captures the waveform. After stabilization for 5 seconds, S3 and S6 are closed, and CAN_H is short-circuited with the negative pole of the power supply through the S3, S5, and S6 relays. After 30 seconds, S3 and S6 are disconnected again. The waveform differences before and after can be compared to analyze and record the waveform differences and the time it takes for the waveform circuit to return to normal after the fault.
[0034] CAN_L short-circuit test with the negative pole of the power supply: S1, S2, S5, and S7 are closed, and S3, S4, S6, S8, and S9 are disconnected. The oscilloscope continuously captures the waveform. After stabilization for 5 seconds, S3, S8, and S9 are closed, and CAN_H is short-circuited with the negative pole of the power supply through the S3, S7, S8, and S9 relays. After 30 seconds, S3, S8, and S9 are disconnected again. The waveform differences before and after can be compared to analyze and record the waveform differences and the time it takes for the waveform circuit to return to normal after the fault.
[0035] Power supply positive open circuit test: S1, S2, S5, S7 are closed, S3, S4, S6, S8, S9 are disconnected, and the oscilloscope captures the waveform. After stabilization for 5 seconds, S1 is disconnected to realize the positive open circuit of the power supply. After holding for 30 seconds, S1 is closed again. By comparing the waveforms before and after, the waveform differences and the time it takes for the waveform circuit to return to normal after a fault can be analyzed and recorded.
[0036] Power supply negative pole open circuit test: S1, S2, S5, S7 are closed, S3, S4, S6, S8, S9 are disconnected, and the oscilloscope captures the waveform. After stabilization for 5 seconds, S2 is disconnected to realize the negative pole of the power supply open circuit. After maintaining the time for 30 seconds, S2 is closed again. By comparing the waveforms before and after, the waveform differences and the time it takes for the waveform circuit to return to normal after the fault can be analyzed and recorded.
[0037] The above-mentioned stabilization time before fault and fault duration can be changed as needed.
[0038] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the utility model rather than to limit it. Although the utility model has been described in detail with reference to the preferred embodiments, ordinary technicians in the field should understand that the technical solution of the utility model can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution of the utility model, which should be included in the scope of the claims of the utility model.
Claims
1. A CAN network testing system, characterized in that: It includes a power supply module, a switch test circuit, an acquisition module and a component under test; The measured component includes a positive power input terminal and a negative power input terminal, and also includes a CAN signal circuit, and the CAN signal circuit includes a CAN_H signal line and a CAN_L signal line; The power module includes a positive power output terminal and a negative power output terminal, which are used to provide power to the tested component and the switch test circuit; The switch test circuit includes a switch S3, a switch S4, a switch S6, a switch S8, and a switch S9, wherein the switch S3 is electrically connected to the negative power output terminal of the power module, the switch S4 is electrically connected to the positive power output terminal of the power module, the CAN_H signal line is connected in parallel with one end of S9 through the switch S6, S3, and S4, and the CAN_L signal line is connected in parallel with the other end of S9 through the switch S8, and the CAN signal circuit is tested by turning the switch on and off; The acquisition module is electrically connected to the CAN_H signal line and the CAN_L signal line respectively, and is used to acquire the circuit status of the CAN signal.
2. The CAN network test system according to claim 1, characterized in that: The switch test circuit also includes a switch S1 and a switch S2, wherein the switch S1 is connected in series between the positive power output terminal of the power module and the positive power input terminal of the measured component, and the switch S2 is connected in series between the negative power output terminal of the power module and the negative power input terminal of the measured component.
3. The CAN network testing system according to claim 1, characterized in that: The switch test circuit further includes a switch S5 and a switch S7. The switch S5 is connected in series between the CAN_H signal line and S6; the switch S7 is connected in series between the CAN_L signal line and S8.
4. The CAN network testing system according to claim 1, characterized in that: The acquisition module is an oscilloscope.
5. The CAN network testing system according to claim 1, characterized in that: It also includes a timing module, which is used to control the closing and opening time of the switch.
