Serial port and CAN data wireless debugging recording system
The serial port and CAN data wireless debugging and recording system with a distributed structure of the server and client solves the problems of unmanned chassis debugging being unportable and limited in distance, realizes wireless remote debugging and multi-interface data transmission, and improves debugging efficiency and convenience.
Patent Information
- Application Number
- CN202422611848.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2034-10-29
AI Technical Summary
Traditional serial port and CAN data debugging and recording systems have problems with debugging in unmanned chassis, such as being difficult to carry and limited by distance. In particular, it is difficult to achieve efficient wireless debugging in a moving state.
It adopts a distributed structure of server and client, uses WIFI for wireless remote debugging, combines server and client Raspberry Pi development boards, power supply voltage regulator modules, touch display and other components, and transmits and processes data through the UDP protocol to achieve wireless debugging and recording of serial port and CAN interface data.
It realizes efficient and convenient remote debugging of unmanned chassis, improves the flexibility and portability of the debugging process, supports data transmission of multiple interface types, provides an intuitive user interface, and improves debugging efficiency.
Smart Images

Figure CN223308611U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of computer communications, in particular to a serial port and CAN data wireless debugging and recording system. Background Art
[0002] In modern industrial production, serial and CAN interface devices are essential for data transmission and communication between various devices. Debugging and recording data from these devices is crucial for ensuring proper operation and troubleshooting. Traditional serial and CAN data debugging and recording systems have a single debugging interface and typically require a direct wired connection. This poses challenges for debugging unmanned chassis in motion, such as portability and limited distance. Summary of the Invention
[0003] The purpose of this utility model is to provide a serial port and CAN data wireless debugging and recording system, which provides a convenient and efficient solution for remote debugging and data recording of unmanned chassis in industrial production, thereby improving the efficiency and flexibility of the debugging process.
[0004] In order to achieve the above tasks, the present invention adopts the following technical solutions:
[0005] A serial port and CAN data wireless debugging and recording system includes a server and a client, wherein:
[0006] The server is used to connect to the unmanned chassis to be debugged, and the server includes a server Raspberry Pi development board, a first power supply, a first power supply voltage regulator module, a server upper shell, and a server lower shell; the output interface of the first power supply is connected to the input interface of the first power supply voltage regulator module through a first power switch, and the first power supply is connected to the first charging interface; the first power supply voltage regulator module is connected to the power interface of the server Raspberry Pi development board; the server Raspberry Pi development board is provided with a first USB interface, and the first USB interface is connected to the debugging interface of the unmanned chassis through a converter; a card slot is provided between the server upper shell and the server lower shell, and the server upper shell is assembled on the server lower shell through the card slot and fixed;
[0007] The client Raspberry Pi development board is connected to the server via WIFI and data is transmitted via UDP protocol. The server is used to issue instructions to the client and receive debugging feedback data.
[0008] Furthermore, the client includes a client Raspberry Pi development board, a second power supply, a second power supply voltage stabilizing module, a touch display, a client upper shell, and a client lower shell; the touch display is embedded in the client upper shell, the second power output interface is connected to the second power supply voltage stabilizing module through a second power switch, and the second power supply is connected to the second charging interface; the output interface of the second power supply voltage stabilizing module is connected to the power interface of the client Raspberry Pi development board, the MICRO HDMI interface of the client Raspberry Pi development board is connected to the HDMI interface of the touch display, the MINI USB interface of the client Raspberry Pi development board is connected to the Type C touch interface of the touch display through a USB-Type C data cable, and a card slot is provided between the client upper shell and the client lower shell, and the client upper shell is assembled on the client lower shell through the card slot and fixed.
[0009] Furthermore, the first power supply and the second power supply both adopt 12V 10000mAh lithium batteries.
[0010] Furthermore, the models of the server-side Raspberry Pi development board and the client-side Raspberry Pi development board are both Raspberry Pi 4 Model B.
[0011] Furthermore, the converter types of the debugging interface of the unmanned chassis include USB-RS232, USB-RS485, USB-TTL or USB-CAN.
[0012] Furthermore, the server-side Raspberry Pi development board, the first power supply, and the first power supply voltage regulator module are all fixed in the server-side lower shell; the first power switch, the first charging interface, and the first USB interface are all arranged on the outer wall of the server-side lower shell.
[0013] Compared with the prior art, the present invention has the following technical features:
[0014] 1. This utility model adopts a distributed debugging method between the server and the client, and can perform wireless remote debugging through the WIFI network, making the debugging process more flexible and convenient, and providing efficient technical support and convenient tools for unmanned chassis debugging.
[0015] 2. The system realizes the debugging and recording of serial port and CAN interface data, covering various interfaces such as RS232, RS485, TTL serial port and CAN interface to meet the debugging requirements of unmanned chassis with different data transmission interfaces.
[0016] 3. The client is a handheld terminal equipped with a touch display, providing a more intuitive and easy-to-operate user interface, effectively improving the convenience and flexibility of chassis debugging. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is a schematic diagram of the server structure;
[0018] Figure 2 This is a schematic diagram of the client's structure;
[0019] Figure 3 This is a workflow diagram of the present utility model.
[0020] Explanation of the numbers in the figure: 1 server upper shell, 2 first power supply, 3 first power switch, 4 first charging port, 5 server lower shell, 6 first USB port, 7 first network port, 8 server Raspberry Pi development board, 9 first USB-C POWER IN port, 10 output port OUT+, OUT- binding posts, 11 first power supply voltage regulator module, 12 input port IN+, IN- binding posts, 13 touch display, 14 client upper shell, 15 second power supply, 16 client lower shell, 17 second charging port, 18 second power switch, 19 second USB port, 20 MICRO HDMI port, 21 client Raspberry Pi development board, 22 second power supply voltage regulator module, 23 second USB-C POWER IN port, 24 output port OUT+, OUT- binding posts, 25 input port IN+, IN- binding posts. DETAILED DESCRIPTION
[0021] See attached Figure 1 and Figure 3 The utility model discloses a serial port and CAN data wireless debugging and recording system, which includes a server and a client, wherein:
[0022] The server is used to connect to the unmanned chassis to be debugged. The server includes a server Raspberry Pi development board 8, a first power supply 2, a 5V first power supply voltage regulator module 11, a server upper shell 1, a server lower shell 5, a first power switch 3 and a first charging interface 4. The server Raspberry Pi development board 8, the first power supply 2, and the 5V first power supply voltage regulator module 11 are all arranged in the server lower shell 5 and fixed by screws; the first power switch 3 and the first charging interface 4 are both arranged on the outer wall of the server lower shell 5; the positive and negative output interfaces of the first power supply 2 are connected to the input interface IN+ and IN- terminals 12 of the 5V first power supply voltage regulator module 11 through the first power switch 3 through a wire, and the input interface of the first power supply 2 is connected to the first charging interface 4; in this embodiment, the first power supply 2 adopts a 12V 10000mAh lithium battery; the server Raspberry Pi development board 8 is a Raspberry Pi 4 Model B, and the output interface OUT+ and OUT- terminals 10 of the 5V first power supply voltage regulator module 11 are connected to the first USB-C The POWER IN interface 9 is connected to power the server-side Raspberry Pi development board 8; the server-side Raspberry Pi development board 8 is provided with a first USB interface 6 and a network port 7, and the first USB interface 6 and the first network port 7 are arranged on the outer wall of the server-side lower shell 5, wherein the first USB interface 6 is connected to the debugging interface of the unmanned chassis via a USB-RS232, USB-RS485, USB-TTL or USB-CAN corresponding converter. The debugging interface types include RS232, RS485, TTL serial port and CAN interface to meet the debugging requirements of chassis with different interface types; a card slot is provided between the server-side upper shell 1 and the server-side lower shell 5, and the server-side upper shell 1 is arranged on the server-side lower shell 5 and is fastened by screws;
[0023] The client is wirelessly connected to the server via WIFI to realize the functions of receiving debugging feedback data and issuing instructions; the client includes a client Raspberry Pi development board 21, a second power supply 15, a second power supply voltage regulator module 22, a touch display 13, a client upper shell 14, a client lower shell 16, a second power switch 18 and a second charging interface 17; the client Raspberry Pi development board 21, the second power supply 15, and the 5V second power supply voltage regulator module 22 are all arranged on the client lower shell 16 and fixed by screws; the second power switch 18 and the second charging interface 17 are both arranged on the outer wall of the client lower shell 16; the touch display 13 is embedded in the client upper shell 14, the second power supply 15 adopts a 12V 10000mAh lithium battery, and the positive and negative output interfaces of the second power supply 15 are connected to the 5V second power supply voltage regulator module 22 input interface IN+ and IN- terminals 25 through wires, and the second power supply 15 input interface is connected to the second charging interface 17; the client Raspberry Pi development board model is Raspberry Pi 4 Model B. The output interface OUT+ and OUT- terminals 24 of the 5V second power supply voltage regulator module 22 are connected to the second USB-C POWER IN interface 23 of the client Raspberry Pi development board 21. The MICRO HDMI interface 20 of the client Raspberry Pi development board 21 is connected to the HDMI interface of the touch display via an HDMI-MICRO HDMI adapter cable. The MINI USB interface of the client Raspberry Pi development board 21 is connected to the Type C touch interface of the touch display 13 via a USB-Type C data cable. The operator directly uses the touch display 13 on the client for debugging, which is simple and intuitive. The client Raspberry Pi development board 21 is also provided with a second USB interface 19 and a second network port to facilitate subsequent expansion and debugging. A card slot is provided between the client upper shell 14 and the client lower shell 16. The client upper shell 14 is provided on the client lower shell 16 and is fastened by screws.
[0024] The client Raspberry Pi development board 21 and the server Raspberry Pi development board 8 are connected via WIFI and data transmission is performed via UDP protocol, thereby improving the convenience and flexibility of chassis debugging.
[0025] See attached Figure 3 , the working principle of the utility model is as follows:
[0026] When using this system to debug an unmanned chassis, the server is fixed on the unmanned chassis to be debugged, and the first USB interface 6 of the server is connected to the debugging interface through the corresponding converter; turn on the power switches of the server and the client, and the debugging programs in the server Raspberry Pi development board 8 and the client Raspberry Pi development board 21 will start up automatically. At the same time, the server automatically starts the WIFI hotspot, and the client will automatically connect to the server WIFI hotspot; the server selects the corresponding serial port or CAN interface driver according to the converter connected to the server Raspberry Pi development board 8 to communicate data with the unmanned chassis.
[0027] The client is a handheld terminal. The debugging personnel operate through the touch display 13 interface of the client to send control data to the unmanned chassis. The client packages the sent data and sends it to the server through the UDP protocol. After receiving the data, the server parses and verifies it and sends it to the unmanned chassis through the serial port; at the same time, the server receives the feedback data of the unmanned chassis through the serial port, verifies it and packages it, and sends it to the client through the UDP protocol. The client parses and verifies the received data and displays it on the touch display 13, or chooses to save it as a TXT format file for analysis by the debugging personnel.
[0028] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.
Claims
1. A serial port and CAN data wireless debugging and recording system, characterized in that: It includes server and client, including: The server is used to connect to the unmanned chassis to be debugged, and the server comprises a server Raspberry Pi development board (8), a first power supply (2), a first power supply voltage stabilizing module (11), a server upper shell (1), and a server lower shell (5); the output interface of the first power supply (2) is connected to the input interface of the first power supply voltage stabilizing module (11) via a first power switch (3), and the first power supply (2) is connected to a first charging interface (4); the first power supply voltage stabilizing module (11) is connected to the power interface of the server Raspberry Pi development board; the server Raspberry Pi development board (8) is provided with a first USB interface (6), and the first USB interface (6) is connected to the debugging interface of the unmanned chassis via a converter; a card slot is provided between the server upper shell (1) and the server lower shell (5), and the server upper shell (1) is assembled on the server lower shell (5) via the card slot and fixed; The client Raspberry Pi development board (21) is connected to the server via WIFI and data is transmitted via UDP protocol. The server is used to issue instructions to the client and receive debugging feedback data.
2. The serial port and CAN data wireless debugging and recording system according to claim 1, characterized in that: The client comprises a client Raspberry Pi development board (21), a second power supply (15), a second power supply voltage stabilizing module (22), a touch display (13), a client upper shell (14), and a client lower shell (16); the touch display (13) is embedded in the client upper shell (14); the output interface of the second power supply (15) is connected to the second power supply voltage stabilizing module (22) via a second power switch (18); the second power supply (15) is connected to a second charging interface (17); the output interface of the second power supply voltage stabilizing module (22) is connected to the power interface of the client Raspberry Pi development board (21); the MICRO HDMI interface (20) of the client Raspberry Pi development board (21) is connected to the HDMI interface of the touch display (13); the MINI USB interface of the client Raspberry Pi development board (21) is connected to the Type C touch interface of the touch display (13) via a USB-Type A card slot is provided between the client upper shell (14) and the client lower shell (16), and the client upper shell (14) is assembled on the client lower shell (16) through the card slot and fixed.
3. The serial port and CAN data wireless debugging and recording system according to claim 2, characterized in that: The first power source (2) and the second power source (15) both use 12V 10000mAh lithium batteries.
4. The serial port and CAN data wireless debugging and recording system according to claim 2, characterized in that: The models of the server-side Raspberry Pi development board (8) and the client-side Raspberry Pi development board (21) are both Raspberry Pi 4 Model B.
5. The serial port and CAN data wireless debugging and recording system according to claim 1, characterized in that: The converter types of the debugging interface of the unmanned chassis include USB-RS232, USB-RS485, USB-TTL or USB-CAN.
6. The serial port and CAN data wireless debugging and recording system according to claim 1, characterized in that: The server-side Raspberry Pi development board (8), the first power supply (2), and the first power supply voltage stabilizing module (11) are all fixed in the server-side lower housing (5); the first power switch (3), the first charging interface (4), and the first USB interface (6) are all arranged on the outer wall of the server-side lower housing (5).