A can bus interference test system and test method

By using an integrated CAN bus interference testing system and an automated testing method involving a test host, an interference meter, and CANoe devices, the problem of low testing efficiency in existing technologies has been solved, and efficient and accurate CAN bus anti-interference testing has been achieved.

CN117411805BActive Publication Date: 2026-06-09JINGDIAN AUTOMOTIVE ELECTRONICS (HUIZHOU) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
JINGDIAN AUTOMOTIVE ELECTRONICS (HUIZHOU) CO LTD
Filing Date
2023-09-26
Publication Date
2026-06-09

Smart Images

  • Figure CN117411805B_ABST
    Figure CN117411805B_ABST
Patent Text Reader

Abstract

The application provides a CAN bus interference test system and a test method; the CAN bus interference test system at least comprises a test host, an interference instrument and a CANoe device; the test host is used for sequentially calling the interference instrument and the CANoe device to respectively send a first driving signal and a second driving signal to the interference instrument and the CANoe device; the interference instrument is used for responding to the first driving signal to perform interference work on a CAN bus of a measured prototype after the measured prototype is started; the CANoe device is used for responding to the second driving signal to acquire CAN bus test data of the measured prototype after the interference instrument starts to work, and send the CAN bus test data to the test host, so that the test host analyzes and outputs interference test results. The application realizes automatic testing on the CAN bus anti-interference capability, improves test efficiency, test precision and test coverage, saves time cost, and has wide application range, high flexibility, and provides a complete test system, so that the test process is more convenient and efficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automotive testing technology, and in particular to a CAN bus interference testing system and testing method. Background Technology

[0002] As the control of various automotive systems gradually shifts towards automation and intelligence, automotive electrical systems are becoming increasingly complex. Currently, the Controller Area Network (CAN) bus dominates the automotive bus system, and the core component of the CAN bus, the CAN transceiver, serves as a bridge connecting the CAN control system and the CAN bus network. To ensure stable communication between the CAN control system and the CAN bus network, the anti-interference capability of the CAN transceiver is typically verified during the R&D phase of automotive instrument components.

[0003] The current testing method for verifying bus interference involves using CAN Stress to simulate an interference source while the vehicle's instrument panel is operating normally, and then observing the communication status of the instrument panel. This method uses three tools: LabVIEW to simulate the real vehicle environment, CAN Stress to simulate the interference source, and CANoe to observe the instrument panel communication status. These three tools are independent of each other, resulting in low testing efficiency and high time costs. Summary of the Invention

[0004] To address the aforementioned technical problems, this application provides a CAN bus interference testing system and method that is highly efficient and widely applicable.

[0005] Specifically, this application provides a CAN bus interference testing system, which includes at least a test host, an interference device and a CANoe device connected to the test host, and the interference device and the CANoe device are respectively connected to the test sample.

[0006] The test host is used to sequentially invoke the jammer and the CANoe device to send a first drive signal and a second drive signal to the jammer and the CANoe device, respectively.

[0007] The jammer is used in response to a first drive signal to perform interference on the CAN bus of the test device after it is started.

[0008] The CANoe device is used in response to the second drive signal to acquire the CAN bus test data of the test sample after the jammer starts to perform jamming operation, and send the CAN bus test data to the test host, so that the test host can analyze and output the jamming test results.

[0009] In the above technical solution, the CAN bus interference testing system realizes automated testing of the CAN bus anti-interference capability, improving testing efficiency, testing accuracy and testing coverage, and saving time costs; moreover, the system is applicable to various automotive instruments, with a wide range of applications and high flexibility; by outputting interference test results, testers can accurately assess the interference situation of the CAN bus; in addition, this application integrates the test host, interference meter and CANoe device to form a complete testing system, making the testing process more convenient and efficient. Testers only need to operate one test host to complete the test, without having to operate multiple tools separately, further improving testing efficiency.

[0010] Furthermore, the test host is equipped with LabVIEW software and CANoe software.

[0011] The LabVIEW software is used to set the interference time, interference scenario, and interference test threshold, and to call the interface of the jammer and the CANoe device to send a first drive signal to the jammer according to the interference time and interference scenario, so that the jammer performs interference on the CAN bus of the test sample according to the interference time and interference scenario; the LabVIEW software is also used to send a second drive signal and interference test threshold to the CANoe device and the CANoe software respectively.

[0012] The CANoe software is used to compare the CAN bus test data with the interference test threshold after receiving the CAN bus test data and the interference test threshold, to obtain the comparison result, and then send the comparison result to the LabVIEW software.

[0013] In the above technical solution, the installation of LabVIEW and CANoe software on the test host achieves system integration, making the testing process more efficient and convenient. Furthermore, LabVIEW software allows testers to adjust parameters such as interference time, interference scenarios, and interference test thresholds according to specific needs, meeting the interference testing requirements in different scenarios. This flexibility and adjustability enable testers to customize test settings based on actual conditions. CANoe software sends results to LabVIEW software in real time, allowing testers to promptly understand the interference operation and test data, facilitating further analysis and adjustments. In addition, LabVIEW software provides an intuitive visual interface, allowing testers to monitor and operate the test, making the entire testing process more intuitive and easier to use.

[0014] Furthermore, the LabVIEW software is also used to generate an interference test report based on the comparison results.

[0015] In the above technical solution, the interference test report is automatically generated by LabVIEW software based on the comparison results, eliminating the need for manual data processing and report writing. This saves a significant amount of time and labor, and ensures the consistency and accuracy of the report. LabVIEW software can instantly acquire the comparison results and generate reports, allowing testers to view the interference test results in real time. This real-time result presentation helps testers assess the interference situation and take timely measures for adjustment and optimization.

[0016] Furthermore, the format, content, and style of reports can be customized in LabVIEW software according to the tester's needs, making the reports more readable and easy to understand. LabVIEW software can also integrate all interference test data and comparison results, and summarize and analyze them, enabling testers to conduct comprehensive statistics and evaluation of test results, thereby drawing accurate conclusions and recommendations.

[0017] Furthermore, the CANoe device is also used to store CAN bus test data.

[0018] In the above technical solution, CAN bus test data can be automatically saved, which is beneficial for data backtracking, review and analysis or the establishment of a large database in this area when necessary.

[0019] Furthermore, the system also includes a programmable switch board and a programmable power supply, which are respectively connected to the prototype under test.

[0020] The programmable control board is used to output a start signal or a stop signal to control the start or stop of the test sample.

[0021] The programmable power supply is used to power the test sample.

[0022] In the above technical solution, the tester can easily control the start and stop of the prototype under test through the start or stop signal of the programmable switch board, which reduces the complexity of operation and the possibility of error, and improves the availability and stability of the system; the programmable power supply can provide a stable power supply to the prototype under test, ensuring the normal operation of the prototype under test during the test process.

[0023] In addition, programmable switch boards and programmable power supplies can be flexibly configured and adapted according to different test prototypes and testing requirements. Testers can select appropriate boards and power supplies according to specific test requirements to meet the needs of different test scenarios.

[0024] Based on the same concept, this application also provides a CAN bus interference testing method, applied to the aforementioned CAN bus interference testing system, comprising the following steps:

[0025] S100: The test host calls the jammer and sends a first drive signal to the jammer so that the jammer can perform interference on the CAN bus of the test sample after it is started.

[0026] S200: The test host calls the CANoe device and sends a second drive signal to the CANoe device so that the CANoe device can obtain the CAN bus test data of the test sample and send the CAN bus test data to the test host.

[0027] S300: The test host analyzes the CAN bus test data and outputs the interference test results based on the analysis results.

[0028] In the above technical solution, the entire testing process is controlled and invoked by the test host, realizing automated testing. This reduces the tediousness of manual operation and the possibility of human error, improving testing efficiency and accuracy. The CANoe device acquires the CAN bus test data of the test sample in real time and analyzes it through the test host. This allows for timely understanding of the interference effect and real-time output of results, facilitating adjustment of interference parameters and further testing. By comparing the CAN bus test data with the interference test threshold, the test host can accurately output the interference test results. This helps the tester understand the CAN bus interference situation and effect of the test sample, providing a basis for subsequent improvements and optimizations.

[0029] Furthermore, before performing step S100, the process includes setting the interference time, interference scenario, and interference test threshold using LabVIEW software in the test host.

[0030] In the above technical solution, the interference time, interference scenario, and interference test threshold can be set using LabVIEW software, allowing the test host to be customized according to specific needs. This makes the testing method more flexible and adjustable, adaptable to different interference test scenarios and requirements. By setting the interference time and interference scenario, the test host can optimize the interference effect for different prototypes under test and interference requirements. For example, it can simulate long-term continuous interference or intermittent interference to verify the reliability and stability of the prototype under test under different interference conditions. According to the test requirements, interference test thresholds can be set in LabVIEW software. These thresholds can be used to determine the degree and impact of interference, so as to evaluate the interference situation and make corresponding improvement and optimization measures. Setting through LabVIEW software can ensure the consistency and repeatability of interference parameters under different test scenarios, which helps to achieve more accurate and comparable results when conducting interference tests on different prototypes or different batches of prototypes.

[0031] Furthermore, step S100 specifically includes:

[0032] The LabVIEW software calls the interface of the jammer to send a first drive signal to the jammer according to the jamming time and jamming scenario, so that the jammer performs jamming work on the CAN bus of the test sample according to the jamming time and jamming scenario.

[0033] In the above technical solution, the interference device interface is called through LabVIEW software, and the first drive signal is sent to the interference device according to the interference time and interference scenario. The interference of the CAN bus of the sample under test has the advantages of precise control, customized settings, automated operation and real-time adjustment feedback. This helps to achieve a more accurate, efficient and reliable interference test solution.

[0034] Furthermore, step S200 specifically includes:

[0035] The LabVIEW software calls the CANoe device's interface to send a second drive signal and an interference test threshold to the CANoe device and the CANoe software, respectively. This causes the CANoe device to respond to the second drive signal, acquire the CAN bus test data of the test sample, and store and send the CAN bus test data to the CANoe software.

[0036] In the above technical solution, the CANoe device interface is called through LabVIEW software to realize the automated acquisition of CAN bus test data without manual intervention, which can ensure the accuracy and consistency of test data. After the CANoe device acquires the CAN bus test data of the test sample, it stores it and sends it to the CANoe software, which makes real-time data storage and analysis possible, further accelerating the speed of data processing and result output.

[0037] In addition, CANoe software is a widely used CAN bus development and testing tool. Its integration with LabVIEW software allows the two to work together seamlessly, providing a user-friendly interface and rich functionality, which enhances the operability and efficiency of the testing process.

[0038] Furthermore, step S300 specifically includes:

[0039] The CANoe software compares the CAN bus test data with the interference test threshold to obtain a comparison result, and sends the comparison result to the LabVIEW software, so that the LabVIEW software generates an interference test report based on the comparison result.

[0040] In the above technical solution, the CANoe software compares CAN bus test data with interference test thresholds to achieve automated comparative analysis without manual intervention, saving time and workload. By comparing CAN bus test data with interference test thresholds, the CANoe software can accurately determine the degree and impact of interference, which helps testers understand the interference situation and make corresponding adjustments and improvements based on the results. The CANoe software sends the comparison results to the LabVIEW software, enabling the LabVIEW software to receive feedback in a timely manner and generate and output results. This allows testers to understand the interference test results in real time and make real-time optimizations and adjustments during the testing process. The LabVIEW software can generate interference test reports based on the comparison results. Such reports have intuitive visualization effects, are easier to read and interpret, and testers can use the reports to comprehensively evaluate and analyze the interference effects, which helps improve system performance and reduce the impact of interference on the system.

[0041] Compared with the prior art, the beneficial effects of this application are as follows:

[0042] The CAN bus interference testing system of this application includes at least a test host, an interference device, and a CANoe device. The test host is used to sequentially invoke the interference device and the CANoe device to send a first drive signal and a second drive signal to the interference device and the CANoe device, respectively. The interference device is used in response to the first drive signal to perform interference on the CAN bus of the test device after it is started. The CANoe device is used in response to the second drive signal to acquire the CAN bus test data of the test device after the interference device starts performing interference, and to send the CAN bus test data to the test host, so that the test host analyzes and outputs the interference test results.

[0043] This application realizes automated testing of the anti-interference capability of CAN bus, improves testing efficiency, testing accuracy and testing coverage, saves time and costs, and has a wide range of applications and high flexibility. It also provides a complete testing system, making the testing process more convenient and efficient.

[0044] This application solves the technical problem in the prior art that, under normal vehicle instrument operation, using LabVIEW to simulate the real vehicle environment, CAN Stress to simulate interference sources, and CANoe to view the instrument communication status results in low work efficiency and high time cost due to the independence of the three tools. Attached Figure Description

[0045] Figure 1 This is a framework diagram of the CAN bus interference testing system described in this application.

[0046] Figure 2 For application Figure 1 The flowchart of the test method for the CAN bus interference test system. Detailed Implementation

[0047] This application provides a CAN bus interference testing system and method to solve the technical problem in the prior art that, under normal vehicle instrument operation, using LabVIEW to simulate the real vehicle environment, CAN Stress to simulate the interference source, and CANoe to view the instrument communication status results in low work efficiency and high time cost due to the independence of the three tools.

[0048] The following describes in further detail a CAN bus interference testing system and testing method of this application, with reference to specific embodiments and accompanying drawings.

[0049] Example 1:

[0050] Please see Figure 1 This application provides a CAN bus interference testing system, the system including at least a test host, an interference device and a CANoe device connected to the test host, and the interference device and the CANoe device are respectively connected to the test sample.

[0051] In this embodiment, the jammer is a CAN Stress, which can perform periodic jamming, continuous jamming until the deadline, and maintain jamming while the trigger is active, etc., according to the configuration. The CANoe device is a Vector CAN bus analysis tool used to complete the acquisition and storage of CAN bus test data in the subsequent process.

[0052] In addition, while the tested sample is an automotive odometer, those skilled in the art can also apply this system to interference testing of other types of automotive instruments according to actual application requirements.

[0053] The test host is used to sequentially invoke the jammer and the CANoe device to send a first drive signal and a second drive signal to the jammer and the CANoe device, respectively.

[0054] The jammer is used in response to a first drive signal to perform interference on the CAN bus of the test device after it is started.

[0055] The CANoe device is used in response to the second drive signal to acquire the CAN bus test data of the test sample after the jammer starts to perform jamming operation, and send the CAN bus test data to the test host, so that the test host can analyze and output the jamming test results.

[0056] It should be noted that the CAN bus interference testing system achieves automated testing of the CAN bus's anti-interference capability, improving testing efficiency, accuracy, and coverage while saving time and costs. Furthermore, the system is applicable to various automotive instruments, offering a wide range of applications and high flexibility. By outputting interference test results, testers can accurately assess the interference situation of the CAN bus. In addition, this application integrates the test host, interference meter, and CANoe device into a complete testing system, making the testing process more convenient and efficient. Testers only need to operate one test host to complete the test, eliminating the need to operate multiple tools separately, further improving testing efficiency.

[0057] Furthermore, the test host is equipped with LabVIEW software and CANoe software.

[0058] The LabVIEW software is used to set the interference time, interference scenario, and interference test threshold, and to call the interface of the jammer and the CANoe device to send a first drive signal to the jammer according to the interference time and interference scenario, so that the jammer performs interference on the CAN bus of the test sample according to the interference time and interference scenario; the LabVIEW software is also used to send a second drive signal and interference test threshold to the CANoe device and the CANoe software respectively.

[0059] In this embodiment, the tester can select the interference time period and interference scenario type on the interface, such as continuous wave interference, pulse interference or noise interference, etc. The tester can also set parameters such as the frequency range, amplitude and period of the interference to meet the test requirements.

[0060] The LabVIEW software calls the jammer's interface and sends the first drive signal to the jammer according to the jamming time and jamming scenario set by the tester. In this way, the jammer will perform jamming on the CAN bus of the test device according to these parameters. The LabVIEW software can ensure that the drive signal is sent accurately and precisely to achieve the jamming.

[0061] LabVIEW software can also connect to and communicate with the CANoe device by calling its interface; then, LabVIEW software sends a second drive signal and an interference test threshold to the CANoe device and the CANoe software respectively; the second drive signal can be used to trigger the CANoe device to acquire data from the CAN bus of the test device; the interference test threshold is used by the CANoe software to compare and analyze the acquired data.

[0062] The CANoe software is used to compare the CAN bus test data with the interference test threshold after receiving the CAN bus test data and the interference test threshold, to obtain the comparison result, and then send the comparison result to the LabVIEW software.

[0063] In this embodiment, the LabVIEW software can acquire CAN bus test data from the CANoe device in real time, compare and analyze it with the interference test threshold, and send the comparison results to the LabVIEW software for subsequent use.

[0064] Furthermore, the LabVIEW software is also used to generate an interference test report based on the comparison results.

[0065] In this embodiment, based on the comparison results, LabVIEW software can generate an interference test report, which typically includes the following:

[0066] Summarize the basic information of the interference test, including test time, interference scenario settings, and interference time range; evaluate the impact of interference on the performance of the vehicle odometer, such as data transmission error rate and response time delay.

[0067] In addition, interference test reports can also display interference test data and comparison results in the form of charts and graphs. Based on the comparison results and interference effect assessment, they can also give conclusions and suggestions about the interference, such as suggestions for improvement measures or adjustment of interference parameters.

[0068] It should be noted that LabVIEW software automatically generates interference test reports based on the comparison results, eliminating the need for manual data processing and report writing. This saves a significant amount of time and labor, and ensures the consistency and accuracy of the reports. LabVIEW software can instantly acquire comparison results and generate reports, allowing testers to view the interference test results in real time. This real-time presentation helps testers assess the interference situation and take timely measures for adjustment and optimization.

[0069] Furthermore, the CANoe device is also used to store CAN bus test data.

[0070] In this embodiment, in the CANoe software, the tester can set the storage method and storage format, and can also specify the format of the stored file, such as the CANoe proprietary format (.blf), the standard format (.asc), or the general format (*.csv), etc.

[0071] In addition, using CANoe software, testers can manage and browse stored CAN bus test data; testers can quickly find specific data files through the browser interface or search function; CANoe software also provides functions for loading, editing, deleting and exporting data files for further analysis and data sharing.

[0072] It should be noted that CAN bus test data can be automatically saved, which is beneficial for data backtracking, review and analysis when necessary, or for building a large database in this area.

[0073] Furthermore, the system also includes a programmable switch board and a programmable power supply, which are respectively connected to the prototype under test.

[0074] The programmable control board is used to output a start signal or a stop signal to control the start or stop of the test sample.

[0075] In this embodiment, when the programmable switch board outputs a start signal, the signal is transmitted to the prototype under test (DUT) to start the DUT; similarly, when the programmable switch board outputs a stop signal, the DUT will receive the stop signal and stop.

[0076] The programmable power supply is used to power the test sample.

[0077] It should be noted that, through the start or stop signals of the programmable switch board, the tester can easily control the start and stop of the prototype under test, reducing the complexity of operation and the possibility of errors, and improving the availability and stability of the system; the programmable power supply can provide a stable power supply to the prototype under test, ensuring the normal operation of the prototype under test during the testing process.

[0078] In addition, programmable switch boards and programmable power supplies can be flexibly configured and adapted according to different test prototypes and testing requirements. Testers can select appropriate boards and power supplies according to specific test requirements to meet the needs of different test scenarios.

[0079] Example 2:

[0080] Please see Figure 2 This application also provides a CAN bus interference testing method, applied to the aforementioned CAN bus interference testing system, comprising the following steps:

[0081] S100: The test host calls the jammer and sends a first drive signal to the jammer so that the jammer can perform interference on the CAN bus of the test sample after it is started.

[0082] Before performing step S100, the following steps are included: setting the interference time, interference scenario, and interference test threshold using LabVIEW software in the test host.

[0083] It should be noted that LabVIEW software allows for the setting of interference time, interference scenarios, and interference test thresholds, enabling the test host to be customized according to specific needs. This makes the testing method more flexible and adjustable, adaptable to different interference test scenarios and requirements. By setting interference time and scenarios, the test host can optimize the interference effect for different prototypes under test and interference requirements. For example, it can simulate long-term continuous interference or intermittent interference to verify the reliability and stability of the prototype under test under different interference conditions. According to testing requirements, interference test thresholds can be set in LabVIEW software. These thresholds can be used to determine the degree and impact of interference, so as to evaluate the interference situation and make corresponding improvement and optimization measures. Setting through LabVIEW software can ensure the consistency and repeatability of interference parameters under different test scenarios, which helps to achieve more accurate and comparable results when conducting interference tests on different prototypes or different batches of prototypes.

[0084] Furthermore, step S100 specifically includes:

[0085] The LabVIEW software calls the interface of the jammer to send a first drive signal to the jammer according to the jamming time and jamming scenario, so that the jammer performs jamming work on the CAN bus of the test sample according to the jamming time and jamming scenario.

[0086] It should be noted that by calling the jammer interface through LabVIEW software and sending the first drive signal to the jammer according to the jamming time and jamming scenario, the jamming of the CAN bus of the test sample has the advantages of precise control, customized settings, automated operation and real-time adjustment feedback. This helps to achieve a more accurate, efficient and reliable jamming test solution.

[0087] S200: The test host calls the CANoe device and sends a second drive signal to the CANoe device so that the CANoe device can obtain the CAN bus test data of the test sample and send the CAN bus test data to the test host.

[0088] The specific steps of S200 are as follows:

[0089] The LabVIEW software calls the CANoe device's interface to send a second drive signal and an interference test threshold to the CANoe device and the CANoe software, respectively. This causes the CANoe device to respond to the second drive signal, acquire the CAN bus test data of the test sample, and store and send the CAN bus test data to the CANoe software.

[0090] It should be noted that by calling the CANoe device interface through LabVIEW software, the acquisition of CAN bus test data can be automated without manual intervention, ensuring the accuracy and consistency of the test data. After the CANoe device acquires the CAN bus test data of the test sample, it stores it and sends it to the CANoe software, which makes real-time data storage and analysis possible, further accelerating the speed of data processing and result output.

[0091] In addition, CANoe software is a widely used CAN bus development and testing tool. Its integration with LabVIEW software allows the two to work together seamlessly, providing a user-friendly interface and rich functionality, which enhances the operability and efficiency of the testing process.

[0092] S300: The test host analyzes the CAN bus test data and outputs the interference test results based on the analysis results.

[0093] The specific steps of S300 are as follows:

[0094] The CANoe software compares the CAN bus test data with the interference test threshold to obtain a comparison result, and sends the comparison result to the LabVIEW software, so that the LabVIEW software generates an interference test report based on the comparison result.

[0095] It should be noted that the CANoe software automates the comparison and analysis of CAN bus test data with interference test thresholds, eliminating the need for manual intervention and saving time and workload. By comparing CAN bus test data with interference test thresholds, the CANoe software can accurately determine the degree and impact of interference. This helps testers understand the interference situation and make corresponding adjustments and improvements based on the results. The CANoe software sends the comparison results to LabVIEW software, enabling LabVIEW to receive feedback in a timely manner and generate and output results. This allows testers to understand the interference test results in real time and make real-time optimizations and adjustments during the testing process. The LabVIEW software can generate interference test reports based on the comparison results. These reports have intuitive visualization effects, making them easier to read and interpret. Testers can use the reports to comprehensively evaluate and analyze the interference effects, which helps improve system performance and reduce the impact of interference on the system.

[0096] In summary, this application provides a CAN bus interference testing system and method. The CAN bus interference testing system includes at least a test host, an interference device, and a CANoe device. The test host sequentially invokes the interference device and the CANoe device to send a first drive signal and a second drive signal to the interference device and the CANoe device, respectively. The interference device, in response to the first drive signal, performs interference on the CAN bus of the test device after it is started. The CANoe device, in response to the second drive signal, acquires the CAN bus test data of the test device after the interference device begins to perform interference, and sends the CAN bus test data to the test host, enabling the test host to analyze and output the interference test results. This application achieves automated testing of the CAN bus anti-interference capability, improves testing efficiency, testing accuracy, and testing coverage, saves time costs, and has a wide range of applications and high flexibility. It also provides a complete testing system, making the testing process more convenient and efficient.

[0097] Although exemplary embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above exemplary embodiments are merely illustrative and are not intended to limit the scope of this application. Various changes and modifications can be made therein by those skilled in the art without departing from the scope and spirit of this application. All such changes and modifications are intended to be included within the scope of this application as claimed in the appended claims.

[0098] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0099] Although the description of this application has been made in conjunction with the specific embodiments described above, it will be apparent to those skilled in the art that many substitutions, modifications, and variations can be made based on the foregoing. Therefore, all such substitutions, modifications, and variations are included within the spirit and scope of the appended claims.

Claims

1. A CAN bus interference testing system, characterized in that, The system includes at least a test host, and an jammer and a CANoe device connected to the test host, wherein the jammer and the CANoe device are respectively connected to the test sample. The test host is used to sequentially call the jammer and the CANoe device to send a first drive signal and a second drive signal to the jammer and the CANoe device, respectively. The jammer is used in response to the first drive signal to perform jamming on the CAN bus of the test sample after it is started. The CANoe device is used to respond to the second drive signal to acquire the CAN bus test data of the sample under test after the jammer starts to perform jamming operation, and send the CAN bus test data to the test host, so that the test host can analyze and output the jamming test results. The test host is equipped with LabVIEW software and CANoe software. The LabVIEW software is used to send a second drive signal and an interference test threshold to the CANoe device and the CANoe software, respectively. The CANoe software is used to compare the CAN bus test data with the interference test threshold after receiving the CAN bus test data and the interference test threshold to obtain a comparison result, and then send the comparison result to the LabVIEW software.

2. The CAN bus interference testing system according to claim 1, characterized in that, The LabVIEW software is used to set the interference time, interference scenario, and interference test threshold, and to call the interface between the jammer and the CANoe device to send a first drive signal to the jammer according to the interference time and interference scenario, so that the jammer performs interference work on the CAN bus of the test sample according to the interference time and interference scenario.

3. The CAN bus interference testing system according to claim 2, characterized in that, The LabVIEW software is also used to generate an interference test report based on the comparison results.

4. The CAN bus interference testing system according to claim 3, characterized in that, The CANoe device is also used to store CAN bus test data.

5. The CAN bus interference testing system according to claim 4, characterized in that, The system also includes a programmable switch board and a programmable power supply, which are respectively connected to the test sample. The programmable switch board is used to output a start signal or a stop signal, so as to control the start or stop of the test sample through the start signal or the stop signal; The programmable power supply is used to power the test sample.

6. A CAN bus interference testing method, characterized in that, The CAN bus interference testing system according to any one of claims 1-5 includes the following steps: S100: The test host calls the jammer and sends a first drive signal to the jammer so that the jammer can perform jamming on the CAN bus of the test sample after it is started. S200: The test host calls the CANoe device and sends a second drive signal to the CANoe device so that the CANoe device can obtain the CAN bus test data of the test sample and send the CAN bus test data to the test host; S300: The test host analyzes the CAN bus test data and outputs the interference test results based on the analysis results.

7. The CAN bus interference testing method according to claim 6, characterized in that, Before performing step S100, the following steps are included: setting the interference time, interference scenario, and interference test threshold using LabVIEW software in the test host.

8. The CAN bus interference test method according to claim 7, characterized in that, Specifically, step S100 involves calling the interface of the jammer through the LabVIEW software to send a first drive signal to the jammer according to the jamming time and jamming scenario, so that the jammer performs jamming work on the CAN bus of the test sample according to the jamming time and jamming scenario.

9. The CAN bus interference testing method according to claim 8, characterized in that, Specifically, step S200 involves calling the interface of the CANoe device through the LabVIEW software, sending a second drive signal and an interference test threshold to the CANoe device and the CANoe software respectively, so that the CANoe device responds to the second drive signal, acquires the CAN bus test data of the test sample, and stores and sends the CAN bus test data to the CANoe software.

10. The CAN bus interference testing method according to claim 9, characterized in that, Specifically, step S300 involves comparing the CAN bus test data with the interference test threshold using the CANoe software to obtain a comparison result, and then sending the comparison result to the LabVIEW software, which generates an interference test report based on the comparison result.