Data storage and reading device based on CAN bus

Through the data storage and reading device based on the CAN bus, the problem of low data transmission rate of the CAN bus is solved, efficient storage and convenient reading of EXCEL format data is realized, and the query needs of the large data volume of new energy vehicles is met.

CN223065732UActive Publication Date: 2025-07-04ANHUI ART AUTOMOBILE ELECTRONICS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422285134.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2025-07-04
Estimated Expiration
2034-09-19

AI Technical Summary

Technical Problem

The data transmission rate of existing CAN buses is low, resulting in data loss or difficulty in obtaining. Especially when the amount of data in new energy vehicles increases significantly, traditional data acquisition tools cannot meet the needs of high-speed transmission, and the data format differences lead to cumbersome querying.

Method used

A data storage and reading device based on CAN bus is designed, including an MCU module, a USB module, a wireless communication module, a power supply module and a memory module. It communicates with the CAN bus through the RS485 module, and uses the M487 MCU to run the RT-Thread system. The stored data is in EXCEL format, and supports USB storage device reading.

Benefits of technology

It realizes efficient storage and convenient reading of CAN bus data, generates EXCEL format documents, facilitates data screening and processing, reduces dependence on professional equipment, and avoids data loss and cumbersome query processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223065732U_ABST
    Figure CN223065732U_ABST
Patent Text Reader

Abstract

The utility model discloses a data storage and reading device based on a CAN bus, and relates to the technical field of CAN buses. The wireless communication device comprises an MCU module, a USB module, a wireless communication module, a power supply module and a memory module, the MCU module is communicated with the CAN bus module through the RS485 module; the MCU module is connected with the USB module, and is connected with external equipment through the USB module to read data; the MCU module is further connected with a WAKEUP awakening module. The MCU module stores data through the memory module; the power supply module supplies power to the device. According to the utility model, key data of each device is stored, excel-format documents can be automatically generated, the stored data can be read through a USB storage device when needed, and the data can be read conveniently without professional devices; the data can be stored in a large amount without frequently going to a vehicle to read the data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model belongs to the technical field of CAN bus, and particularly relates to a data storage and reading device based on CAN bus. Background Technique

[0002] CAN bus refers to Controller Area Network, which is a commonly used communication method in automotive electronic control systems (ECUs). CAN bus has characteristics such as large capacity, high speed, and reliability, and is widely used in fields such as automobile manufacturing, industrial control, and robot control. The USB port is a Universal Serial Bus, which can connect a computer and various peripherals, such as printers, keyboards, mice, etc.

[0003] In automotive electronic control systems, CAN bus is usually used to transmit various sensor signals, vehicle speed signals, engine control and other data. Traditional CAN bus data acquisition tools generally use the serial port method for data transmission. However, the serial port transmission rate is low and cannot meet the requirements of high-speed data transmission. With the vigorous development of new energy vehicles, there are more and more electronic devices on vehicles nowadays, and the data that needs to be processed on the CAN bus has increased significantly. Many data need to be recorded and queried.

[0004] Currently, not all vehicles are connected to the data platform, or due to the small storage space of the device, the data has been overwritten, and some key data cannot be stored in time, resulting in data loss; or the data of some devices is not easy to obtain. As a result, when some vehicles need to query special data, they need to contact the device manufacturer and read the data through specific devices. The data format differences cannot be viewed randomly, and the time period is too long and the process is cumbersome. Content of the Utility Model

[0005] The purpose of the utility model is to provide a data storage and reading device based on CAN bus, which stores the key data of each device and can automatically generate an excel format document. When needed, the stored data can be read through a USB storage device, solving the problems in the background technique.

[0006] To solve the above technical problems, the utility model is realized through the following technical solutions:

[0007] The utility model is a data storage and reading device based on CAN bus, including an MCU module, a USB module, a wireless communication module, a power supply module, and a memory module; the MCU module communicates with the CAN bus module through an RS485 module; the MCU module is connected to the USB module and reads data through the USB module and connects to external devices; the MCU module is also connected with a WAKEUP wake-up module; the MCU module stores data through the memory module; the power supply module provides electrical energy for the device.

[0008] Further, the MCU module is an MCU of model M487, running the RT-Thread real-time operating system.

[0009] Further, the wireless communication module includes a WiFi module and a 4G module.

[0010] Further, the power supply module includes a switch module and an overvoltage protection circuit module.

[0011] Further, the memory module uses NAND FLASH.

[0012] Further, the MCU module also includes a JTAG interface.

[0013] The utility model has the following beneficial effects:

[0014] The utility model stores the key data of each device and can automatically generate an excel format document. When needed, the stored data can be read through a USB storage device. It also has the advantages of convenient data reading without the need for professional equipment; a large amount of data can be saved without the need to frequently go to the vehicle to read data; the data reading format is EXCEL format, which is convenient for screening and other processing of the required data.

[0015] Of course, when implementing any product of the utility model, it is not necessarily required to achieve all the above-mentioned advantages simultaneously. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present utility model, the drawings required for describing the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present utility model. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0017] Figure 1 It is a system diagram of a data storage and reading device based on the CAN bus of the present utility model;

[0018] Figure 2 It is a circuit schematic diagram of the MCU module;

[0019] Figure 3 It is a circuit schematic diagram of the WAKEUP wake-up module;

[0020] Figure 4 It is a circuit schematic diagram of the NAND FLASH module;

[0021] Figure 5 It is a circuit schematic diagram of the switch module;

[0022] Figure 6It is the schematic diagram of the overvoltage protection circuit module;

[0023] Figure 7 It is the circuit diagram of the 4G module;

[0024] Figure 8 It is the circuit diagram of the WiFi module. Specific implementation manners

[0025] Next, the technical solutions in the embodiments of the present utility model will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present utility model. Obviously, the described embodiments are only a part of the embodiments of the present utility model, rather than all of the embodiments. Based on the embodiments in the present utility model, all other embodiments obtained by those of ordinary skill in the art without making creative efforts belong to the scope of protection of the present utility model.

[0026] The CAN bus, namely the Controller Area Network, is a serial communication protocol that can effectively support distributed real-time control with a high security level. The data on the CAN bus is divided into analog signals and digital signals. The analog signals are detected by sensors and the obtained signals are converted (A / D) into digital signals, which are sent to the MCU. The MCU then sends the generated CAN messages to the bus. The analog signals are generally displayed on a pointer meter, such as air pressure 1, air pressure 2, etc. The digital signals are relatively simple and can be directly received by the MCU and then the messages are sent to the CAN bus, such as engine diagnosis, brake pad wear, etc., and are generally displayed on the instrument. The two signal lines for CAN transmission are called CAN_H and CAN_L. Power-on state: CAN_H (2.5V), CAN_L (2.5V) or CAN_L (3.5V), CAN_H (1.5V). Power-off state: There should be a resistance value of 60 - 62 ohms between CAN_H and CAN_L. Two 120-ohm resistors are respectively in the instrument module and the rear control module, and the parallel resistance is about 60 ohms.

[0027] As Figure 1 shown, it is the system architecture of a data storage and reading device based on the CAN bus. The system architecture includes an MCU module, a USB module, a wireless communication module, a WAKEUP wake-up module, an RS485 module, a power supply module, and a memory module.

[0028] The MCU module communicates with the CAN bus module through the RS485 module; the MCU module is connected to the USB module and reads data from external devices through the USB module.

[0029] As Figure 2As shown, the MCU module is an MCU with the model number M487, running the RT-Thread real-time operating system, processing the CAN message data of each device above, using the FATS file module, and storing specific data in an EXCEL format document for easy viewing according to the data storage protocol.

[0030] As Figure 3 shown, the MCU module is also connected to a WAKEUP wake-up module; the CAN bus has two WAKEUP pins, which are connected together inside the module. The front control module is the WAKEUP output, and other modules are the WAKEUP inputs. When connecting the wires, the WAKEUP of each module on the bus must be connected to the front control together. When the front control power supply is normal and the key is in the first gear (ACC gear) on, the front control works normally, the WAKEUP outputs (the output voltage value is approximately equal to the current power supply voltage), and other modules on the bus receive the WAKEUP signal and are woken up. Under the condition of normal power supply, each module starts to work.

[0031] As Figure 4 shown, the MCU module stores data through the memory module, and the memory module uses NANDFLASH; specific data is stored in an EXCEL format document for easy viewing according to the data storage protocol.

[0032] The power supply module provides electrical energy for the device system, with an output voltage of 5V. The power supply module includes a switch module and an overvoltage protection circuit module. As Figure 5 shown is the circuit of the switch module, and as shown in 6 is the circuit of the overvoltage protection circuit module.

[0033] The wireless communication module includes a WiFi module and a 4G module. As Figure 7 shown is the circuit diagram of the 4G module, and as Figure 8 shown is the circuit diagram of the WiFi module.

[0034] The MCU module also includes a JTAG interface. The JTAG (Joint Test Action Group) interface is an international standard electronic circuit test protocol, originally developed for facilitating chip-level testing and debugging. JTAG is an interface technology for testing chips and debugging. It allows developers to access the internal registers of the CPU and devices connected to the CPU bus, such as the registers of built-in modules like FLASH, RAM, SOC, etc., and the registers of peripherals such as UART, Timers, GPIO, etc. As long as the CPU with a JTAG Debug interface module has a normal clock, these registers can be accessed through the JTAG interface.

[0035] This solution uses an MCU of model M487, runs the RT-Thread real-time operating system, which is used to read the CAN message data of each device on the CAN bus, uses the FATS file module, and stores specific data in an EXCEL format document for easy viewing according to the data storage protocol.

[0036] In the description of this specification, the description with reference to terms such as "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.

[0037] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the present invention to the specific embodiments described. Obviously, many modifications and variations can be made according to the content of this specification. These embodiments are selected and specifically described in this specification to better explain the principle and practical application of the present invention, so that those skilled in the art can well understand and utilize the present invention. The present invention is only limited by the claims and their full scope and equivalents.

Claims

1. A data storage and reading device based on the CAN bus, characterized in that: It includes an MCU module, a USB module, a wireless communication module, a power supply module, and a memory module; the MCU module communicates with the CAN bus module through the RS485 module; the MCU module is connected to the USB module and reads data by connecting to external devices through the USB module; the MCU module is also connected to a WAKEUP wake-up module; the MCU module stores data through the memory module; the power supply module provides electrical energy for the device.

2. The data storage and reading device based on the CAN bus according to claim 1, characterized in that, The MCU module is an MCU of model M487 and runs the RT-Thread real-time operating system.

3. A data storage and reading device based on the CAN bus according to claim 1, characterized in that The wireless communication module includes a WiFi module and a 4G module.

4. The data storage and reading device based on the CAN bus according to claim 1, characterized in that The power supply module includes a switch module and an overvoltage protection circuit module.

5. A data storage and reading device based on the CAN bus according to claim 1, characterized in that, The memory module uses NAND FLASH.

6. The data storage and reading device based on the CAN bus according to claim 1, characterized in that, The MCU module also includes a JTAG interface.