A can device simulation apparatus

CN224873862UActive Publication Date: 2026-10-20YIBIN COWIN AUTO CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202522751649.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-12-25
Publication Date
2026-10-20
Estimated Expiration
2035-12-25

AI Technical Summary

Technical Problem

但其软硬件价格昂贵,存在开发团队工具不足的问题,导致工程师的开发工具使用权限和范围受到限制,影响项目开发效率

Benefits of technology

[0014]本实用新型的的优点在于:低成本的实现了待测ECU的CAN通信测试。使用了成本便宜的通用CAN通信设备作为硬件载体,使用CANoe实现开发、诊断、测试等,通过电脑虚拟通道来传递CAN通信数据。由此即保留了CANoe的开发优势,又使用通用CAN设备硬件替代了昂贵的VectorCAN工具硬件套件,大大降低了使用成本,便于工具的普及,提高项目开发效率

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224873862U_ABST
    Figure CN224873862U_ABST
Patent Text Reader

Abstract

The utility model discloses a CAN equipment simulation device, including general CAN equipment hardware, general CAN equipment data buffer module, CAN data transceiver model module, canoe host computer, canoe data buffer module, wherein general CAN equipment hardware is connected with the ECU controller of measurement, general CAN equipment hardware is connected with general CAN equipment data buffer module, general CAN equipment data buffer module is connected with CAN data transceiver model module, CAN data transceiver model module is used to realize the data migration of virtual channel between general CAN equipment and canoe host computer, and through virtual channel, data is sent to canoe host computer, the output of canoe host computer is connected to canoe data buffer module, and the communication data is passed to general CAN equipment data buffer module through CAN data transceiver model module in canoe data buffer module. The scheme has realized the CAN communication test of the ECU of measurement with low cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of automotive development and control, and in particular to a CAN device simulation device. Background Technology

[0002] In modern automobiles, the number of Electronic Control Units (ECUs) has surged, and various control systems need to work collaboratively. Traditional point-to-point wiring results in bulky wiring harnesses, high costs, and a high failure rate. Therefore, an efficient and reliable data communication network has become an essential choice, and the CAN bus was developed for this purpose. Its core advantages are: it uses serial communication and broadcasting, requiring only one pair of twisted-pair wires to connect all nodes, greatly simplifying wiring and reducing weight and cost. Secondly, it has excellent real-time performance and reliability, and its priority-based non-destructive arbitration mechanism ensures that critical information (such as braking commands) is transmitted first. In addition, the CAN protocol has strong error detection and handling capabilities, ensuring stable operation in harsh electromagnetic environments. In short, CAN communication is the cornerstone for achieving efficient, reliable, and low-cost data interaction between various automotive systems and a key technology driving the development of automotive electronics and intelligence.

[0003] CAN communication devices are essential for development and testing. They are typically used in conjunction with a CANoe host computer and communication unit to connect with the ECU under test (ECU) to complete the test. For example, the test system based on a CAN communication matrix for a power domain controller, patent application number 202420040242.2, often uses a host computer to test the ECU. With the development of automotive technology, there are numerous CAN devices in the automotive industry, but they differ in performance, functionality, and cost. Communication testing requires compatibility with multiple CAN devices. Vector's CAN development toolkit is renowned for its high performance, full functionality, and ease of use, and is widely recognized in the automotive industry. However, its hardware and software are expensive, leading to a shortage of tools for development teams. This restricts engineers' access to and scope of development tools, impacting project development efficiency. Utility Model Content

[0004] The purpose of this invention is to overcome the shortcomings of the prior art and provide a CAN device simulation device for low-cost CAN communication testing of the ECU under test.

[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:

[0006] A CAN device simulation device includes general CAN device hardware, a general CAN device data buffer module, a CAN data transceiver model module, a CANoe host computer, and a CANoe data buffer module.

[0007] The general-purpose CAN device hardware is communicatively connected to the ECU controller under test; the general-purpose CAN device hardware is communicatively connected to the general-purpose CAN device data buffer module, and the general-purpose CAN device data buffer module is communicatively connected to the CAN data transceiver model module; the CAN data transceiver model module is used to realize data migration between the general-purpose CAN device and the Canoe host computer through a virtual channel, and sends data to the Canoe host computer through the virtual channel. The output terminal of the Canoe host computer is connected to the Canoe data buffer module, and the Canoe data buffer module transmits communication data to the general-purpose CAN device data buffer module through the CAN data transceiver model module.

[0008] The Canoe host computer uses the Vector Canoe host computer module to perform CAN function test control on the ECU under test and receive and output corresponding communication data signals in the test example.

[0009] The general-purpose CAN device data buffer module and the Canoe data buffer module are both used for caching CAN data transmission and reception.

[0010] The CAN data transceiver model module is developed and configured in the Simulink environment to enable data migration between general CAN devices and the CANoe host computer via a virtual channel.

[0011] The CAN data transceiver model module includes a general CAN tool receiving module and a VectorCAN tool transmitting module. The general CAN tool receiving module uses the CANReceive module from the Simulink module library, configured as a MathWorksVirtualChannel, to receive data from the general CAN tool and transmit the received communication data from the general CAN device data buffer module to the VectorCAN tool transmitting module. The VectorCAN tool transmitting module uses the CANTransmit module from the Simulink module library, configured as a VectorVirtualChannel, to transmit the data received by the general CAN tool to the CANoe host computer module.

[0012] The CAN data transceiver model module also includes a VectorCAN tool receiving module and a general CAN tool transmitting module;

[0013] The VectorCAN tool receiving module uses the CANReceive module in the Simulink module library, configured as a VectorVirtualChannel, to receive data buffered in the VectorCANoe data buffer. The general-purpose CAN tool transmitting module 9 uses the CANTransmit module in the Simulink module library, configured as a MathWorksVirtualChannel, to send data from the VectorCAN tool receiving module to the general-purpose CAN device data buffer module. Then, using the general-purpose CAN device hardware as a carrier, the data is sent to the ECU controller via the CAN bus to complete the communication function.

[0014] The advantages of this invention are: it enables low-cost CAN communication testing of the ECU under test. It uses inexpensive, general-purpose CAN communication equipment as the hardware carrier, and CANoe is used for development, diagnostics, and testing, transmitting CAN communication data through a virtual computer channel. This retains the development advantages of CANoe while replacing the expensive VectorCAN toolkit with general-purpose CAN equipment hardware, significantly reducing usage costs, facilitating tool adoption, and improving project development efficiency. Attached Figure Description

[0015] The following is a brief explanation of the contents of each of the accompanying drawings and the markings in the drawings:

[0016] Figure 1 This is a schematic diagram showing the connection relationship between the modules in this utility model. Detailed Implementation

[0017] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings and the description of the preferred embodiments.

[0018] This invention relates to the automotive field, specifically to a CAN device simulation device for automotive CAN communication development, diagnosis, and testing. The device is stable, feature-rich, and low-cost, making it easy for engineers to use and improving development efficiency.

[0019] The technical solution adopted in this solution is: a CAN device, including: a general CAN device hardware module, a general CAN device data buffer module, a CAN data transceiver model module, a VectorCANoe host computer module, and a VectorCANoe data buffer module;

[0020] The general-purpose CAN device hardware module serves as the hardware carrier for CAN communication, enabling connection and communication with the ECU controller via the CAN bus.

[0021] The general-purpose CAN device data buffer module buffers CAN transmit and receive data to ensure that no data is lost.

[0022] The CAN data transceiver model module completes model configuration development in the Simulink environment and generates code, dynamic link library, and executable file. The executable file is called through CAPL code in CANoe, enabling data migration between general CAN devices and CANoe host computer via virtual channel to achieve communication function.

[0023] The VectorCANoe host computer module is an operable interface that enables development, diagnosis, testing, and other functions, and completes communication data processing.

[0024] The VectorCANoe data buffer module implements buffering of CAN transmit and receive data to ensure that data is not lost;

[0025] As a further optimization, the CAN data transceiver model module includes: MathWorksVirtualChannel general CAN tool receiving module, VectorVirtualChannelVectorCAN tool transmitting module, MathWorksVirtualChannel general CAN tool transmitting module, and VectorVirtualChannelVectorCAN tool receiving module.

[0026] The MathWorksVirtualChannel universal CAN tool receiving module uses the CANReceive module in the Simulink module library, is configured as a MathWorksVirtualChannel virtual channel, and realizes the reception of universal CAN tool data and transmits communication data to the VectorVirtualChannelVectorCAN tool transmitting module;

[0027] The VectorVirtualChannel VectorCAN tool's transmitting module uses the CANTransmit module from the Simulink module library and is configured as a VectorVirtualChannel virtual channel to transmit data received by the general CAN tool to the VectorCANoe host computer module for processing of the communication data.

[0028] The VectorVirtualChannelVectorCAN tool's receive module uses the CANReceive module from the Simulink module library, configured as a VectorVirtualChannel virtual channel, to receive data buffered in the VectorCANoe data buffer.

[0029] The MathWorksVirtualChannel universal CAN tool transmitting module uses the CANTransmit module from the Simulink module library and is configured as a MathWorksVirtualChannel virtual channel. It transmits data from the VectorVirtualChannelVectorCAN tool receiving module to the universal CAN device data buffer module, and then uses the universal CAN device hardware as a carrier to send it to the ECU controller via the CAN bus.

[0030] General-purpose CAN devices refer to low-cost and universal CAN devices, such as USB-CAN devices, ZLK CAN, PCAN, etc.; the general-purpose CAN device data buffer module refers to the storage unit in the CAN communication data conversion process, which corresponds one-to-one with general-purpose CAN devices.

[0031] The present invention aims to provide a CAN device simulation device for automotive CAN communication development, diagnosis, testing and other work. The device is stable, has comprehensive functions and low cost, and is easy for engineers to use, thereby improving development efficiency.

[0032] like Figure 1 As shown, a CAN device simulation device of the present invention includes: a general CAN device hardware module 2, a general CAN device data buffer module 3, a CAN data transceiver model module 10, a VectorCANoe host computer module 6, and a VectorCANoe data buffer module 7.

[0033] Specifically, the general-purpose CAN device hardware module 2, as the hardware carrier of CAN communication, realizes the connection and communication with the ECU controller through the CAN bus;

[0034] The general-purpose CAN device data buffer module 3 buffers CAN transmit and receive data to ensure that data is not lost;

[0035] The CAN data transceiver model module 10 completes model configuration development in the Simulink environment and generates code, dynamic link library, and exe executable file. The executable file is called through CANoe's CAPL code, enabling data migration between general CAN devices and CANoe host computer via a virtual channel to achieve communication function.

[0036] VectorCANoe host computer module 6 is an operable interface that realizes functions such as development, diagnosis, and testing, and completes communication data processing;

[0037] VectorCANoe data buffer module 7 implements buffering of CAN transmit and receive data to ensure that data is not lost;

[0038] The CAN data transceiver model module 10 includes: MathWorksVirtualChannel general CAN tool receiving module 4, VectorVirtualChannelVectorCAN tool transmitting module 5, VectorVirtualChannelVectorCAN tool receiving module 8, and MathWorksVirtualChannel general CAN tool transmitting module 9.

[0039] The MathWorksVirtualChannel universal CAN tool receiving module 4 uses the CANReceive module in the Simulink module library, is configured as a MathWorksVirtualChannel virtual channel, and realizes the reception of universal CAN tool data and transmits communication data to the VectorVirtualChannelVectorCAN tool transmitting module 5;

[0040] VectorVirtualChannelVectorCAN tool transmitting module 5 uses the CANTransmit module in the Simulink module library and is configured as a VectorVirtualChannel virtual channel to send the data received by the general CAN tool to the VectorCANoe host computer module 6 for processing of the communication data;

[0041] VectorVirtualChannelVectorCAN tool receiver module 8 uses the CANReceive module in the Simulink module library, configured as a VectorVirtualChannel virtual channel, to receive data from VectorCANoe data buffer 7;

[0042] The MathWorksVirtualChannel universal CAN tool transmitting module 9 uses the CANTransmit module in the Simulink module library and is configured as a MathWorksVirtualChannel virtual channel. It transmits data from the VectorVirtualChannelVectorCAN tool receiving module 8 to the universal CAN device data buffer module 3, and then uses the universal CAN device hardware as a carrier to send the data to the ECU controller via the CAN bus to complete the communication function.

[0043] This invention uses inexpensive, general-purpose CAN communication equipment as the hardware carrier, and CANoe for development, diagnosis, and testing, transmitting CAN communication data through a virtual computer channel. This retains the development advantages of CANoe while replacing the expensive VectorCAN toolkit with general-purpose CAN equipment hardware, significantly reducing usage costs, facilitating tool adoption, and improving project development efficiency.

[0044] Obviously, the specific implementation of this invention is not limited to the above-described methods. Any non-substantial improvements made using the inventive concept and technical solution of this invention are within the protection scope of this invention.

Claims

1. A CAN device simulation device, characterized in that: This includes general CAN device hardware, general CAN device data buffer module, CAN data transceiver model module, Canoe host computer, and Canoe data buffer module; The general-purpose CAN device hardware is communicatively connected to the ECU controller under test; the general-purpose CAN device hardware is communicatively connected to the general-purpose CAN device data buffer module, and the general-purpose CAN device data buffer module is communicatively connected to the CAN data transceiver model module; the CAN data transceiver model module is used to realize data migration between the general-purpose CAN device and the Canoe host computer through a virtual channel, and sends data to the Canoe host computer through the virtual channel. The output terminal of the Canoe host computer is connected to the Canoe data buffer module, and the Canoe data buffer module transmits communication data to the general-purpose CAN device data buffer module through the CAN data transceiver model module.

2. The CAN device simulation device as described in claim 1, characterized in that: The Canoe host computer uses the Vector Canoe host computer module to perform CAN function test control on the ECU under test and receive and output corresponding communication data signals in the test example.

3. A CAN device simulation device as described in claim 1 or 2, characterized in that: The general-purpose CAN device data buffer module and the Canoe data buffer module are both used for caching CAN data transmission and reception.

4. A CAN device simulation device as described in claim 1 or 2, characterized in that: The CAN data transceiver model module is developed and configured in the Simulink environment to enable data migration between general CAN devices and the CANoe host computer via a virtual channel.

5. A CAN device simulation device as described in claim 1 or 2, characterized in that: The CAN data transceiver model module includes a general CAN tool receiving module and a VectorCAN tool transmitting module. The general CAN tool receiving module uses the CANReceive module from the Simulink module library, configured as a MathWorksVirtualChannel, to receive data from the general CAN tool and transmit the received communication data from the general CAN device data buffer module to the VectorCAN tool transmitting module. The VectorCAN tool transmitting module uses the CANTransmit module from the Simulink module library, configured as a VectorVirtualChannel, to transmit the data received by the general CAN tool to the CANoe host computer module.

6. The CAN device simulation device as described in claim 5, characterized in that: The CAN data transceiver model module also includes a VectorCAN tool receiving module and a general CAN tool transmitting module; The VectorCAN tool receiving module uses the CANReceive module in the Simulink module library and is configured as a VectorVirtualChannel to receive data buffered in the VectorCANoe data buffer. The general CAN tool transmitting module (9) uses the CANTransmit module in the Simulink module library and is configured as a MathWorksVirtualChannel to send the data from the VectorCAN tool receiving module to the general CAN device data buffer module. Then, using the general CAN device hardware as a carrier, the data is sent to the ECU controller via the CAN bus to complete the communication function.

Citation Information

Patent Citations

  • Test system based on CAN communication matrix of power domain controller

    CN222167461U