Instrument analysis device

By designing an instrument analysis device, the recording and playback functions of instrument data are realized and connected to a PC through a USB interface. This solves the problems of insufficient recording function and poor stability of USB to serial port tools in the existing technology, and improves data analysis. efficiency and equipment reliability.

CN221883774UActive Publication Date: 2024-10-22MICHIP TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202322899029.5
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-10-26
Publication Date
2024-10-22
Estimated Expiration
2033-10-26

AI Technical Summary

Technical Problem

In the existing technology, the instrument analysis device only has a recording function and no playback function, and the stability and reliability of commonly used USB to serial port tools are poor, making it difficult to use in special environments.

Method used

Design an instrument analysis device, including a main controller, memory, USB interface, data connection hook, record button and playback button. It is connected to the PC through the USB interface to realize the reading, writing and playback of message data, using UART circuit and GPIO The circuit performs data transmission, and can be equipped with 4G module and display module to enhance stability and reliability.

Benefits of technology

After connecting through the USB interface, the instrument analysis device is recognized as a USB flash drive, which facilitates developers to obtain message data, improves the efficiency of problem discovery and location, and significantly improves stability and reliability through the connection of the USB interface and data cable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221883774U_ABST
    Figure CN221883774U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of electronic equipment, in particular to an instrument analysis device. Comprising a master controller, a memory, a USB interface, a data connection hook, a recording button and a playback button, the input end of the USB interface is used for connecting external terminal equipment, the output end of the USB interface is connected with the master controller, the memory is in communication connection with the master controller, the recording button and the playback button are both connected with the input end of the master controller, one end of the data connection hook is connected with the master controller, and the other end of the data connection hook is connected with the memory. The other end of the data connection hook is connected with the instrument; after the instrument analysis device is connected to the PC through the USB interface, the instrument analysis device can be identified as a USB flash disk by the PC and directly read and write files, and the PC can perform message playback through the instrument analysis device, so that a developer can obtain analysis of instrument abnormity conveniently, and the efficiency of finding and positioning problems is effectively improved; in addition, the instrument analysis device is connected with the PC through the USB interface and the USB data line, and the stability and the reliability are higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of electronic equipment, in particular to an instrument analysis device. Background Art

[0002] Currently, high-end automotive instruments all use the SOC plus MCU solution, and the SOC and MCU mostly interact through the serial port. Since the interactive message data changes in real time and cannot be judged through people's subjective consciousness, a PC is required to use special tools and software to capture and record such messages.

[0003] Currently, most people use PC host software to read serial port data for recording and analysis; most tools on PC only have recording function but no playback function, and cannot be used in some special environments; PC basically uses USB to serial port tools, and the stability and reliability of commonly used USB to serial port tools are not very good.

[0004] Therefore, it is very important for those skilled in the art to design an instrument analysis device that can record and play back message data and has high reliability. Utility Model Content

[0005] The technical problem to be solved by the embodiments of the utility model is to provide an instrument analysis device that can record and play back message data and has high reliability, so as to solve the problems that the prior art only has a recording function but no playback function, cannot be used in some special environments, and the stability and reliability of commonly used USB to serial port tools are not very good.

[0006] The utility model discloses an instrument analysis device, which is used for auxiliary analysis of instruments. The scheme is that it includes: a main controller, a memory, a USB interface, a data connection hook, a record button and a playback button. The input end of the USB interface is used to connect an external terminal device, the output end of the USB interface is connected to the main controller, the memory is communicatively connected to the main controller, the record button and the playback button are both connected to the input end of the main controller, one end of the data connection hook is connected to the main controller, and the other end of the data connection hook is connected to the instrument.

[0007] Optionally, the instrument includes a SOC module and a control module, and the SOC module and the control module are both provided with leads for connecting to a data connection hook.

[0008] Optionally, a first data connection hook and a second data connection hook are included, the first data connection hook is used to connect the main controller and the SOC module, and the second data connection hook is used to connect the main controller and the control module.

[0009] Optionally, it includes a first playback button and a second playback button, and the first playback button and the second playback button are respectively connected to the main controller.

[0010] Optionally, the main controller includes a UART circuit, and an output end of the UART circuit is connected to the first data connection hook and the second data connection hook respectively.

[0011] Optionally, the main controller further includes a GPIO circuit, and input ends of the GPIO circuit are respectively connected to the record button and the playback button.

[0012] Optionally, a 4G module is also included, and the 4G module is used to connect to the client to transmit data back.

[0013] Optionally, an indicator light is also included, and the indicator light is connected to the main controller.

[0014] Optionally, a display module is further included, and the display module is connected to the main controller.

[0015] Optionally, the memory is an EMMC embedded memory.

[0016] Compared with the prior art, the beneficial effect of the instrument analysis device provided by the embodiment of the utility model is that: by designing an instrument analysis device, when the instrument analysis device is connected to a PC via a USB interface, it can be recognized by the PC as a U disk and directly read and write files, and the PC can play back messages through the instrument analysis device, which greatly facilitates developers to obtain analysis of instrument abnormalities and effectively improves the efficiency of discovering and locating problems; and, the instrument analysis device is connected to the PC via a USB interface and a USB data cable, and has greater stability and reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The technical solution of the utility model will be further described in detail below with reference to the accompanying drawings and embodiments, in which:

[0018] Figure 1 This is a schematic diagram of the structure of the instrument analysis device provided by the embodiment of the utility model Figure 1 ;

[0019] Figure 2 This is a schematic diagram of the structure of the instrument analysis device provided by the embodiment of the utility model Figure 2 ;

[0020] Figure 3 This is a schematic diagram of the structure of the instrument analysis device provided by the embodiment of the utility model Figure 3 . DETAILED DESCRIPTION

[0021] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. Now, in conjunction with the accompanying drawings, a preferred embodiment of the present utility model is described in detail.

[0022] like Figure 1 As shown, the utility model provides a specific embodiment of an instrument analysis device.

[0023] An instrument analysis device, used for auxiliary analysis of instrument 1, reference Figure 1 The instrument analysis device includes: a main controller 21, a memory 22, a USB interface 23, a data connection hook 24, a record button 25 and a playback button 26; the input end of the USB interface 23 is used to connect to an external terminal device, the output end of the USB interface 23 is connected to the main controller 21, the memory 22 is communicatively connected to the main controller 21, the record button 25 and the playback button 26 are both connected to the input end of the main controller 21, one end of the data connection hook 24 is connected to the main controller 21, and the other end of the data connection hook 24 is connected to the instrument 1.

[0024] Specifically, refer to Figure 1 The USB interface 23 is a common computer peripheral device connection standard, which is used to transmit data and provide power supply between the computer and the external device; by connecting the input end of the USB interface 23 to the external terminal device (such as a computer) and connecting the output end of the USB interface 23 to the main controller 21, data transmission between the external terminal device (such as a computer) and the main controller 21 can be realized, and the message data in the instrument analysis device can be viewed or copied on the external terminal device (such as a computer).

[0025] Further, refer to Figure 1 The memory 22 is mainly used to store message data. By connecting the memory 22 to an external terminal device (such as a computer) through the USB interface 23, the instrument analysis device will be identified as a USB flash drive, so that the message data thereon can be directly viewed or copied. In this way, the USB flash drive can be simulated to directly read and write files, which greatly facilitates developers to obtain abnormalities of the message analysis instrument 1, thereby improving the efficiency of discovering and locating problems.

[0026] Further, refer to Figure 1The data connection hook 24 is mainly used to connect the main controller 21 and the instrument 1. When it is necessary to collect serial port message data, first use the data connection hook 24 to hook the corresponding communication serial port test on the instrument 1, and turn on the power of the instrument analysis device, and connect it to the external terminal device through the USB interface 23 and the USB data transmission line to realize the communication between the instrument 1 and the external terminal device; when it is necessary to replay the serial port data, first hook the data connection hook 24 to the corresponding communication serial port test on the instrument 1, and disconnect the communication serial port between the instrument 1 and the vehicle, so that the real interactive data of the instrument 1 is sent by the instrument analysis device to realize message playback.

[0027] Further, refer to Figure 1 The record button 25 and the playback button 26 are both connected to the input end of the main controller 21. Pressing the record button 25 and pressing the playback button 26 can cause the corresponding GPIO port of the main controller 21 to produce a level change to realize the input of the control signal; among them, pressing the record button 25 can start the serial port message data collection, and pressing the playback button 26 can start the serial port data playback and reproduction.

[0028] Currently, high-end automotive instruments all use the SOC plus MCU solution, and the SOC and MCU mostly interact through the serial port; currently, most of them use the PC's host software to read the serial port data for recording and analysis; most of the tools on the PC only have the recording function, but no playback function, and cannot be used in some special environments; PCs basically use USB to serial port tools, which have poor stability and reliability.

[0029] In this embodiment, an instrument analysis device is designed. When the instrument analysis device is connected to a PC via a USB interface, it can be recognized by the PC as a USB disk and directly read and write files, and the PC can play back messages through the instrument analysis device, which greatly facilitates developers to obtain analysis of instrument abnormalities and effectively improves the efficiency of discovering and locating problems. In addition, the instrument analysis device is connected to the PC via a USB interface and a USB data cable, and has greater stability and reliability.

[0030] In one embodiment, reference Figure 2 The meter 1 includes a SOC module 11 and a control module 22 , and both the SOC module 11 and the control module 22 are provided with leads for connecting with a data connection hook 24 .

[0031] Specifically, refer to Figure 2The SOC module 11 is a part of the automobile instrument 1 used to monitor and display the battery power status of the electric vehicle or hybrid vehicle. The main function of the SOC module 11 is to measure the remaining power of the battery and display it in the form of a percentage on the automobile instrument panel 1, so that the driver can clearly understand the battery charging status and arrange the driving plan and charging plan reasonably; the control module 22 is a microcontroller. The control module 22 plays a key role in the automobile instrument 1 and is mainly responsible for controlling and managing various functions and displays on the instrument panel 1.

[0032] Further, refer to Figure 2 A first communication serial port test point is provided on the SOC module 11, and a first lead is connected to the first communication serial port test point to facilitate connection with the data connection hook 24 on the instrument analysis device; a second communication serial port test point is provided on the control module 22, and a second lead is connected to the second communication serial port test point to facilitate connection with the data connection hook 24 on the instrument analysis device.

[0033] In one embodiment, reference Figure 2 The instrument analysis device includes a first data connection hook 241 and a second data connection hook 242 . The first data connection hook 241 is used to connect the main controller 21 and the SOC module 11 , and the second data connection hook 242 is used to connect the main controller 21 and the control module 22 .

[0034] Specifically, refer to Figure 2 One end of the first data connection hook 241 is connected to one of the input and output interfaces on the main controller 21, and the other end of the first data connection hook 241 is connected to the first lead on the SOC module 11; one end of the second data connection hook 242 is connected to another input and output interface on the main controller 21, and the other end of the second data connection hook 242 is connected to the second lead on the control module 22; thereby realizing data transmission between the instrument 1 and the instrument analysis device.

[0035] In one embodiment, reference Figure 2 The instrument analysis device includes a first playback button 261 and a second playback button 262, and the first playback button 261 and the second playback button 262 are connected to the main controller 21 respectively.

[0036] Specifically, refer to Figure 2 The first playback button 261 and the second playback button 262 are both fixed on the outer packaging shell of the instrument analysis device. The first playback button 261 is connected to a GPIO port on the main controller 21, and the second playback button 262 is connected to another GPIO port on the main controller 21. The first playback button 261 and the second playback button 262 can be triggered by physical pressing, thereby changing the level of the corresponding GPIO port of the main controller 21.

[0037] When the main controller 21 detects that the GPIO port corresponding to the first playback button 261 has turned to a low level, the serial port sending end data of the control module 22 is controlled to be closed, and the serial port message data of the corresponding SOC module 11 stored in the memory 22 is sent; when the main controller 21 detects that the GPIO port corresponding to the second playback button 262 has turned to a low level, the serial port sending end data of the control module 11 is controlled to be closed, and the serial port message data of the corresponding control module 22 stored in the memory 22 is sent.

[0038] In one embodiment, reference Figure 3 The main controller 21 includes a UART circuit 211, and the output end of the UART circuit 211 is connected to the first data connection hook 241 and the second data connection hook 242 respectively.

[0039] Specifically, refer to Figure 3 The UART circuit 211 is mainly used to send serial port message data. When the main controller 21 turns off the serial port sending end data of the control module 22, the serial port message data corresponding to the SOC module 11 stored in the memory 22 is sent through the UART circuit 211; when the main controller 21 turns off the serial port sending end data of the SOC module 11, the serial port message data corresponding to the control module 22 stored in the memory 22 is sent through the UART circuit 211.

[0040] In one embodiment, reference Figure 3 The main controller 21 also includes a GPIO circuit 212, and the input end of the GPIO circuit 212 is connected to the record button 25 and the playback button 26 respectively.

[0041] Specifically, refer to Figure 3 The GPIO circuit 212 includes a plurality of GPIO pins for connecting external components and the main controller 21 , and the record button 25 and the playback button 26 are respectively connected to different GPIO pins in the GPIO circuit 212 .

[0042] In one embodiment, reference Figure 3 , and also includes a 4G module 27, which is used to connect to the client to transmit data back.

[0043] Specifically, refer to Figure 3 The instrument analysis device can transmit data back to the developer's computer through the 4G module 27. During the field experiment, the data can be transmitted back to the developer's computer in real time through the 4G module 27 to facilitate the developer to analyze in time.

[0044] In one embodiment, reference Figure 3, and also includes an indicator light 28, which is connected to the main controller 21.

[0045] Specifically, refer to Figure 3 The instrument analysis device includes three indicator lights 28, which respectively correspond to the first indicator light 281 of the record button 25, the second indicator light 282 of the first playback button 261 and the third indicator light 283 of the second playback button 262. The first indicator light 281, the second indicator light 282 and the third indicator light 283 are all arranged on the external packaging shell of the instrument analysis device.

[0046] When the instrument analysis device is powered on and starts running, the first indicator light 281 lights up and starts flashing slowly; when recording starts, the first indicator light 281 starts flashing quickly. If it is 4G synchronous backhaul, the first indicator light 281 flashes quickly first and then slowly and alternates once; when the first playback button 261 is pressed, the second indicator light 282 starts flashing quickly. When the second playback button 262 is pressed, the third indicator light 283 starts flashing quickly. The status of the indicator light 28 can help users determine the current analysis status.

[0047] In one embodiment, reference Figure 3 The instrument analysis device also includes a display module 29 , which is connected to the main controller 21 .

[0048] Specifically, refer to Figure 3 The display module 29 is mainly used to display the number of messages during the recording and playback process. When the message can be displayed, after pressing the first playback button 261 and the second playback button 262, the display module 29 will display the position of the current message. The developer can know the message data that caused the abnormality through the message position displayed by the display module 29.

[0049] In one embodiment, the memory 22 is an EMMC embedded memory.

[0050] It should be understood that the above embodiments are only used to illustrate the technical solutions of the present utility model rather than to limit it. For those skilled in the art, the technical solutions described in the above embodiments can be modified, or some of the technical features therein can be replaced by equivalents; and all these modifications and replacements should fall within the scope of protection of the claims attached to the present utility model.

Claims

1. An instrument analysis device, used for auxiliary analysis of instruments, characterized in that: include: A main controller, a memory, a USB interface, a data connection hook, a record button and a playback button, wherein the input end of the USB interface is used to connect to an external terminal device, the output end of the USB interface is connected to the main controller, the memory is communicatively connected to the main controller, the record button and the playback button are both connected to the input end of the main controller, one end of the data connection hook is connected to the main controller, and the other end of the data connection hook is connected to the instrument, and also includes a 4G module, which is used to connect to the client to transmit data back.

2. The instrument analysis device according to claim 1, characterized in that: The instrument comprises a SOC module and a control module, and the SOC module and the control module are both provided with leads for connecting with a data connection hook.

3. The instrument analysis device according to claim 2, characterized in that: It includes a first data connection hook and a second data connection hook, wherein the first data connection hook is used to connect the main controller and the SOC module, and the second data connection hook is used to connect the main controller and the control module.

4. The instrument analysis device according to claim 1, characterized in that: It includes a first playback button and a second playback button, and the first playback button and the second playback button are respectively connected to the main controller.

5. The instrument analysis device according to claim 3, characterized in that: The main controller includes a UART circuit, and an output end of the UART circuit is connected to the first data connection hook and the second data connection hook respectively.

6. The instrument analysis device according to claim 1, characterized in that: The main controller also includes a GPIO circuit, and the input end of the GPIO circuit is connected to the record button and the playback button respectively.

7. The instrument analysis device according to claim 1, characterized in that: It also includes an indicator light, which is connected to the main controller.

8. The instrument analysis device according to claim 1, characterized in that: It also includes a display module, which is connected to the main controller.

9. The instrument analysis device according to claim 1, characterized in that: The memory is an EMMC embedded memory.