Data acquisition device and method, electronic device, vehicle, medium and product
By integrating the data acquisition device in the vehicle electronic control unit to collect and process the operating status data in real time, the problem of complex and low efficiency of data acquisition in the prior art is solved, and robust operating status monitoring and efficient data acquisition are achieved.
Patent Information
- Application Number
- CN202510006863.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2045-01-02
AI Technical Summary
In the prior art, data acquisition work for ECU is complex and difficult, resulting in low data acquisition efficiency and missed acquisition timing.
A data acquisition device integrated into the vehicle electronic control unit is designed. Through the acquisition module and the data processing module, the operation status data of the vehicle electronic control unit is collected and processed in real time, and the prompt information is feedbacked in abnormal situations.
It realizes robust monitoring of the operating status of the vehicle electronic control unit, improves the efficiency and reliability of data acquisition, and ensures the trustworthiness and effectiveness of the collected data.
Smart Images

Figure CN119984383A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data acquisition, and in particular to a data acquisition device, a data acquisition method, an electronic device, a vehicle, a computer-readable storage medium, and a computer program product. Background Art
[0002] In order to ensure the stable operation and timely update of various functions of the vehicle, it is usually necessary to frequently collect the operating data of vehicle components such as ECU (Electronic Control Unit). However, the data collection work for ECU in related technologies is relatively complex and difficult, and may require the use of specific tools such as oscilloscopes, resulting in low data collection efficiency and missed collection opportunities. Summary of the invention
[0003] The present application provides a data collection device, a data collection method, an electronic device, a vehicle, a computer-readable storage medium, and a computer program product.
[0004] An embodiment of the present application provides a data acquisition device, which is integrated in a vehicle electronic control unit and configured to collect operating status data of the vehicle electronic control unit to determine the operating status of the vehicle electronic control unit.
[0005] Thus, in the implementation mode of the present application, the operating status data of the vehicle's electronic control unit can be collected by the data acquisition device, so that the operating status of the vehicle's electronic control unit can be determined through the operating status data, which ensures the robust monitoring of the operating status of the vehicle's electronic control unit to a certain extent. In addition, since the data acquisition device is integrated in the vehicle's electronic control unit, the data acquisition device can collect the operating status data of the vehicle's electronic control unit relatively stably, so that the operating status of the vehicle's electronic control unit can be determined robustly. Moreover, compared with the method in which the data acquisition device and the vehicle's electronic control unit are separately arranged, since the data acquisition device is integrated in the vehicle's electronic control unit, the operating environment of the data acquisition device and the operating environment of the vehicle's electronic control unit can be the same or similar, and thus the operating status data collected by the data acquisition device can reliably reflect the status of the vehicle's electronic control unit under the current operating environment, thereby ensuring the credibility and validity of the operating status data collected by the data acquisition device.
[0006] In certain embodiments of the present application, the vehicle electronic control unit includes an electronic control unit body and a housing, and the electronic control unit body and the data acquisition device are disposed in the unit housing.
[0007] In this way, in the embodiment of the present application, based on the outer shell of the vehicle electronic control unit, the electronic control unit body and the data acquisition device arranged in the outer shell can operate stably based on the external protection capabilities of the outer shell, such as the anti-electromagnetic interference capability. At the same time, since the data acquisition device is arranged on the inner side of the outer shell of the vehicle electronic control unit, the external protection capabilities of the outer shell, such as the anti-electromagnetic interference capability, are difficult to act on the data acquisition device, thereby ensuring the robust collection of operating status data by the data acquisition device.
[0008] In certain embodiments of the present application, the data acquisition device is configured to feed back prompt information indicating that the operating state of the vehicle electronic control unit is abnormal when the operating state data is abnormal.
[0009] Thus, in the embodiment of the present application, the data acquisition device can feedback prompt information of abnormal operation of the vehicle electronic control unit when the operating status data of the vehicle electronic control unit is abnormal, and the abnormal operating status of the vehicle electronic control unit can be determined in time.
[0010] In certain embodiments of the present application, the data acquisition device includes an acquisition module and a data processing module connected to the acquisition module, and the data processing module is configured to determine the operating status data based on the data acquisition results of the acquisition module.
[0011] Thus, in the implementation mode of the present application, the data acquisition device can be realized by a collection module and a data processing module connected to the collection module.
[0012] In certain embodiments of the present application, the operating status data includes an operating voltage, the acquisition module includes a voltage acquisition module, and the data processing module is configured to determine the operating voltage based on the data acquisition result of the voltage acquisition module on the voltage of the vehicle electronic control unit.
[0013] Thus, in the embodiment of the present application, the data processing module can determine the operating voltage of the vehicle electronic control unit according to the data collection result of the voltage collection module on the voltage of the vehicle electronic control unit.
[0014] In certain embodiments of the present application, the operating status data includes an operating temperature, the acquisition module includes a temperature acquisition module, and the data processing module is configured to determine the operating temperature based on the data acquisition result of the temperature acquisition module on the temperature of the vehicle electronic control unit.
[0015] Thus, in the embodiment of the present application, the data processing module can determine the operating temperature of the vehicle electronic control unit according to the data collection result of the temperature collection module on the temperature of the vehicle electronic control unit.
[0016] In certain embodiments of the present application, the operating status data includes an operating log, the collection module includes a log collection module, and the data processing module is configured to obtain the operating log according to the log collection module.
[0017] In this way, in the implementation mode of the present application, the data processing module can obtain the operation log generated by the vehicle electronic control unit according to the log collection module.
[0018] In certain embodiments of the present application, the data acquisition device includes a storage module, and the data acquisition device is configured to store the operating status data in the storage module.
[0019] Thus, in the implementation mode of the present application, the operation status data can be stored in the storage module.
[0020] In certain embodiments of the present application, the data acquisition device is configured to store the operating status data and a timestamp corresponding to the operating status data in the storage module.
[0021] Thus, in the implementation manner of the present application, the running status data and the timestamp corresponding to the running status data may be stored in the storage module, so that the running status data may be associated with time, thereby improving the validity of the running status data.
[0022] In certain embodiments of the present application, the data acquisition device includes a communication module, and the data acquisition device is configured to send the operating status data through the communication module.
[0023] Thus, in the implementation mode of the present application, the operation status data can be sent via the communication module.
[0024] In certain embodiments of the present application, the communication module includes multiple sub-communication modules, each of which corresponds to a communication protocol, and the data acquisition device is configured to send the operating status data through a communication protocol corresponding to at least one of the sub-communication modules.
[0025] Thus, in the embodiment of the present application, the operating status data of the vehicle electronic control unit can be sent through the communication protocol supported by each sub-communication module, so that the operating status data can be sent based on different communication protocols.
[0026] In certain embodiments of the present application, the data acquisition device is connected to a power supply module of the vehicle electronic control unit, and the power supply module supplies power to the data acquisition device and the vehicle electronic control unit in turn.
[0027] Thus, in the embodiment of the present application, the data acquisition device is enabled to collect the operating status data of the vehicle electronic control unit during the power-on process based on the priority power supply of the power supply module of the vehicle electronic control unit.
[0028] In certain embodiments of the present application, the data acquisition device includes a voltage protection module, and the data acquisition device receives electrical energy through the voltage protection module.
[0029] Thus, in the implementation mode of the present application, the data acquisition device can receive electrical energy through the voltage protection module, thereby ensuring the stable operation of the data acquisition device.
[0030] In certain embodiments of the present application, the voltage protection module includes a short circuit protection module, and the short circuit protection module is configured to disconnect the power transmission and reception of the data acquisition device when the data acquisition device is short-circuited.
[0031] Thus, in the embodiment of the present application, when the data acquisition device is short-circuited, the short-circuit protection module can disconnect the power transmission and reception of the data acquisition device, thereby avoiding the impact on the vehicle electronic control unit when the data acquisition device is short-circuited.
[0032] In certain embodiments of the present application, the voltage protection module includes a power supply stabilization module, and the power supply stabilization module is configured to stabilize the received voltage and provide the stabilized voltage to the data acquisition device.
[0033] Thus, in the implementation mode of the present application, the data acquisition device can stabilize the received voltage through the power supply voltage stabilization module, and then operate with the stabilized voltage, thereby ensuring the stable operation of the data acquisition device.
[0034] The present application provides a method for detecting an operating state, including:
[0035] The operating status data of the vehicle electronic control unit is acquired, wherein the operating status data is acquired by the above-mentioned data acquisition device.
[0036] Thus, in the implementation mode of the present application, the operating status data of the vehicle's electronic control unit can be collected by the data acquisition device, so that the operating status of the vehicle's electronic control unit can be determined through the operating status data, which ensures the robust monitoring of the operating status of the vehicle's electronic control unit to a certain extent. In addition, since the data acquisition device is integrated in the vehicle's electronic control unit, the data acquisition device can collect the operating status data of the vehicle's electronic control unit relatively stably, so that the operating status of the vehicle's electronic control unit can be determined robustly. Moreover, compared with the method in which the data acquisition device and the vehicle's electronic control unit are separately arranged, since the data acquisition device is integrated in the vehicle's electronic control unit, the operating environment of the data acquisition device and the operating environment of the vehicle's electronic control unit can be the same or similar, and thus the operating status data collected by the data acquisition device can reliably reflect the status of the vehicle's electronic control unit under the current operating environment, thereby ensuring the credibility and validity of the operating status data collected by the data acquisition device.
[0037] In certain embodiments of the present application, the operating status data is collected by the data collection device, or sent by the vehicle electronic control unit.
[0038] Thus, in the implementation mode of the present application, the operating status data sent by the vehicle electronic control unit can be collected or received by the data collection device, so that the operating status data can be obtained in two ways, which to a certain extent ensures the robust acquisition of the operating status data.
[0039] An embodiment of the present application provides a vehicle, including a vehicle electronic control unit, and also including the above-mentioned data acquisition device or the above-mentioned electronic device.
[0040] An embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by one or more processors, the above-mentioned data collection method is implemented.
[0041] The embodiment of the present application provides a computer program product, including a computer program / instruction, which implements the above-mentioned data collection method when executed by a processor.
[0042] The control device, electronic device, vehicle, computer-readable storage medium and computer program product provided in the embodiments of the present application can collect the operating status data of the vehicle's electronic control unit through the data acquisition device, so that the operating status of the vehicle's electronic control unit can be determined through the operating status data, which ensures the robust monitoring of the operating status of the vehicle's electronic control unit to a certain extent. In addition, since the data acquisition device is integrated in the vehicle's electronic control unit, the data acquisition device can collect the operating status data of the vehicle's electronic control unit relatively stably, so that the operating status of the vehicle's electronic control unit can be determined robustly. Moreover, compared with the method in which the data acquisition device and the vehicle's electronic control unit are separately arranged, since the data acquisition device is integrated in the vehicle's electronic control unit, the operating environment of the data acquisition device and the operating environment of the vehicle's electronic control unit can be the same or similar, and thus the operating status data collected by the data acquisition device can reliably reflect the status of the vehicle's electronic control unit under the current operating environment, thereby ensuring the credibility and validity of the operating status data collected by the data acquisition device.
[0043] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0045] Figure 1 This is a schematic diagram of a data acquisition device in some embodiments of the present application;
[0046] Figure 2 A schematic diagram of application scenarios in certain embodiments of the present application;
[0047] Figure 3 This is a flow chart of a data collection method in certain embodiments of the present application;
[0048] Figure 4 A schematic diagram of an application scenario in certain embodiments of the present application. DETAILED DESCRIPTION
[0049] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.
[0050] With the continuous increase in user demands and the rapid development of new energy vehicles, the functions supported by the ECU (Electronic Control Unit) in vehicles are becoming more complex and powerful. Accordingly, the types of reliability tests for ECU functions are increasing, upgrades and iterations are more frequent, and the number of bugs (defects) is increasing. Therefore, in order to ensure the timely discovery and elimination of bugs, it is very important to collect operating data for ECU.
[0051] However, there are a large number of ECUs installed in vehicles, and each ECU is distributed in different positions of the vehicle. In addition, the ECU is usually designed to be waterproof and sealed during assembly, which makes it difficult to collect data from the ECU. Accordingly, the process of analyzing BUGs based on the collected data is more complicated.
[0052] Also, in the traditional process of locating, analyzing, and solving bugs, it is usually necessary to connect the relevant serial ports in the ECU to computers, oscilloscopes, and other tools and instruments to collect the key signals of the ECU, the surface temperature of components, etc. This method is often difficult to operate and is prone to introduce additional factors that interfere with bug analysis. Once the computer collects serial port information, it is necessary to retest the collected data, and the data collection cycle is very long, which makes it difficult to reproduce some bugs, making it difficult to collect the first-hand data for engineers to analyze and solve the problem, which ultimately seriously affects the time to repair the bug, the efficiency of bug solving is low, and the cost of R&D testing increases.
[0053] In the related art, one data acquisition solution is to forward the data signal and serial port data collected by the ADC to a remote server for storage via WIFI. However, in a metal enclosed environment (such as an ECU wrapped in a metal incubator or a metal shell), WIFI-based communication will fail, and data transmission will not be possible. Another data acquisition solution in the related art is to set a corresponding device in the T-BOX to operate Flash (flash memory) or EMMC (Embedded Multi Media Card) after the SOC (System On Chip) and MCU are running normally, and then store the serial port debugging log. However, before the SOC (System On Chip) and MCU are running normally, such as during the power-on initialization stage, the log before operating Flash or EMMC is difficult to record and save.
[0054] Based on the above problems you may encounter, please refer to Figure 1 The embodiment of the present application provides a data acquisition device 100, which is integrated in a vehicle electronic control unit. The data acquisition device 100 is configured to collect operating status data of the vehicle electronic control unit to determine the operating status of the vehicle electronic control unit.
[0055] Specifically, in the implementation mode of the present application, the user or the vehicle control center in the vehicle can collect various information of the vehicle electronic control unit, such as voltage, temperature, current and other operating status data, through the "data acquisition device 100" integrated in the vehicle electronic control unit, so as to determine the operating status of the vehicle electronic control unit, thereby providing data support for the user to eliminate bugs and update codes, or facilitating the vehicle control center to monitor the operating status of the vehicle electronic control unit to make corresponding decisions.
[0056] In one example, the vehicle electronic control unit includes an ECU (Electronic Control Unit) in the vehicle.
[0057] In one example, the data acquisition device 100 operates independently of the vehicle electronic control unit to prevent its own data acquisition work from affecting the normal operation of the vehicle electronic control unit.
[0058] In certain embodiments of the present application, the data acquisition device 100 is an integrated component that is integrated into the vehicle electronic control unit and can be integrated inside the vehicle electronic control unit in a relatively small volume.
[0059] It is understandable that the specific manner in which the data acquisition device 100 is integrated into the vehicle's electronic control unit can be set according to actual conditions. For example, in one example, the data acquisition device 100 is a PCB (Printed Circuit Board), which is integrated with multiple electronic components to collect the operating status data of the vehicle's electronic control unit. Furthermore, in the case where the data acquisition device 100 is a PCB, the data acquisition device 100 can be set in the vehicle's electronic control unit by welding or plug-in, and operate independently of the vehicle's electronic control unit, thereby operating with lower power consumption and occupying a smaller volume of the internal space of the vehicle's electronic control unit, thereby reducing the impact of the data acquisition device 100 being set in the vehicle's electronic control unit.
[0060] Specifically, when the vehicle electronic control unit includes a PCB board and the data acquisition device 100 is a PCB board, the PCB board of the vehicle electronic control unit and the PCB board of the data acquisition device 100 can be welded to each other, thereby realizing the integrated setting of the data acquisition device 100 in the vehicle electronic control unit.
[0061] For another example, when the vehicle electronic control unit includes a PCB board and the data acquisition device 100 is a PCB board, the PCB board of the vehicle electronic control unit can be connected to the PCB board of the data acquisition device 100 in a plug-in manner, thereby realizing the integrated setting of the data acquisition device 100 in the vehicle electronic control unit.
[0062] In addition, in one example, the vehicle electronic control unit is implemented by a circuit board, and a plurality of electronic components are installed on the circuit board to jointly implement the functions corresponding to the vehicle electronic control unit. At the same time, the electronic components on the circuit board are arranged according to the pre-planned area range. Furthermore, in the case where the data acquisition device 100 is a combination of multiple electronic components, an area on the circuit board in the vehicle electronic control unit can be used to place multiple electronic components corresponding to the data acquisition device 100, thereby realizing the integrated setting of the data acquisition device 100 in the vehicle electronic control unit.
[0063] Thus, in the embodiment of the present application, the operating status data of the vehicle's electronic control unit can be collected by the data acquisition device 100, so that the operating status of the vehicle's electronic control unit can be determined through the operating status data, which ensures the robust monitoring of the operating status of the vehicle's electronic control unit to a certain extent. In addition, since the data acquisition device 100 is integrated in the vehicle's electronic control unit, the data acquisition device 100 can collect the operating status data of the vehicle's electronic control unit relatively stably, so that the operating status of the vehicle's electronic control unit can be determined robustly. Moreover, compared with the method in which the data acquisition device 100 and the vehicle's electronic control unit are separately arranged, since the data acquisition device 100 is integrated in the vehicle's electronic control unit, the operating environment of the data acquisition device 100 and the operating environment of the vehicle's electronic control unit can be the same or similar, and thus the operating status data collected by the data acquisition device 100 can reliably reflect the state of the vehicle's electronic control unit under the current operating environment, thereby ensuring the credibility and validity of the operating status data collected by the data acquisition device 100.
[0064] In certain embodiments of the present application, the vehicle electronic control unit includes an electronic control unit body and a housing, and the electronic control unit body and the data acquisition device 100 are disposed in the unit housing.
[0065] Specifically, in the embodiment of the present application, in order to ensure the stable operation of the vehicle electronic control unit, the electronic control unit body of the vehicle electronic control unit is arranged on the inner side of the outer shell of the vehicle electronic control unit. Furthermore, when the outer shell of the vehicle electronic control unit has external protection capabilities such as anti-electromagnetic interference, the outer shell can provide a stable and safe internal environment for the electronic control unit body, thereby ensuring the stable operation of the electronic control unit body.
[0066] In one example, the housing of the vehicle electronic control unit is a closed metal housing.
[0067] In one example, the outer shell of the vehicle electronic control unit is a box with metal shielding characteristics, or in other words, the electronic control unit body of the vehicle electronic control unit is arranged inside the box.
[0068] In addition, it should be noted that in order to ensure that the data acquisition device 100 can accurately and reliably collect the operating data of the vehicle's electronic control unit, in the embodiment of the present application, the data acquisition device 100 and the electronic control unit body of the vehicle's electronic control unit are both arranged on the inside of the outer shell of the vehicle's electronic control unit. As a result, the external protection of the outer shell of the vehicle's electronic control unit cannot act on the data acquisition device 100 on the inside, so that the data acquisition device 100 can stably collect the operating status data of the vehicle's electronic control unit. At the same time, the data acquisition device 100 can also operate stably based on the inner shell environment provided by the outer shell of the vehicle's electronic control unit.
[0069] Therefore, in the embodiment of the present application, the data acquisition device 100 can be suitable for closed environments and anti-interference experiments, or in other words, when the vehicle electronic control unit is an ECU wrapped in a closed metal shell, a test box with metal shielding, etc., because the data acquisition device 100 is integrated in the vehicle electronic control unit, the anti-electromagnetic interference characteristics and metal shielding characteristics of the vehicle electronic control unit itself are unlikely to affect the data acquisition work of the data acquisition device 100.
[0070] In this way, in the embodiment of the present application, based on the outer shell of the vehicle electronic control unit, the electronic control unit body and the data acquisition device 100 arranged in the outer shell can operate stably based on the external protection ability of the outer shell, such as the anti-electromagnetic interference ability. At the same time, since the data acquisition device 100 is arranged on the inner side of the outer shell of the vehicle electronic control unit, the external protection ability of the outer shell, such as the anti-electromagnetic interference ability, is difficult to act on the data acquisition device 100, thereby ensuring the robust collection of the operating status data by the data acquisition device 100.
[0071] In certain embodiments of the present application, the data acquisition device 100 is configured to feedback prompt information of abnormal operation of the vehicle electronic control unit when the operating status data is abnormal.
[0072] Specifically, in the implementation manner of the present application, after collecting the operating status data of the electronic device, the data acquisition device 100 may perform anomaly detection on the operating status data, that is, determine whether there is an anomaly in the operating status data.
[0073] For example, when the operating status data includes the operating temperature of the electronic device, the data acquisition device 100 may feedback prompt information of abnormal operating temperature of the vehicle electronic control unit to the receiving end of the operating status data when the operating temperature exceeds a preset temperature threshold.
[0074] For another example, when the operating status data includes the operating voltage of the electronic device, the data acquisition device 100 may feedback prompt information of abnormal operating voltage of the vehicle electronic control unit to the receiving end of the operating status data when the operating voltage exceeds a preset voltage threshold.
[0075] In one example, the vehicle electronic control unit is controlled by a control device in the vehicle (such as a domain control), and then the data acquisition device 100 integrated in the vehicle ECU can send the collected "operation status information of the vehicle electronic control unit" to the control device, and can also feedback prompt information to the control device when the operation status data of the vehicle electronic control unit is abnormal. For example, when the temperature rise of the ECU is detected to be abnormal and thus leads to a high risk of fire, it can be reported to the vehicle control center for the vehicle control center to make a decision.
[0076] Thus, in the embodiment of the present application, the data acquisition device 100 can feedback prompt information of abnormal operation of the vehicle electronic control unit when the operating status data of the vehicle electronic control unit is abnormal, and the abnormal operating status of the vehicle electronic control unit can be determined in time.
[0077] In certain embodiments of the present application, the data acquisition device 100 includes an acquisition module and a data processing module 101 connected to the acquisition module, and the data processing module 101 is configured to determine the operating status data according to the data acquisition results of the acquisition module.
[0078] Specifically, the data acquisition device 100 in the embodiment of the present application can perform data acquisition work for the vehicle electronic control unit through one or more acquisition modules, and process the data acquisition results of each acquisition module through the data processing module 101, so as to determine the operating status data of the vehicle electronic control unit.
[0079] In one example, the data processing module 101 is a MCU (Microprogrammed Control Unit).
[0080] In one example, the data acquisition result of the acquisition module refers to the voltage data collected by an ADC (Analog to Digital Converter). Accordingly, the data processing module 101 can convert the voltage data collected by the ADC to obtain operating status data such as the operating temperature and operating voltage of the electronic device.
[0081] Thus, in the embodiment of the present application, the data acquisition device 100 can be implemented by a collection module and a data processing module 101 connected to the collection module.
[0082] Please refer again Figure 1 In certain embodiments of the present application, the operating status data includes an operating voltage, the acquisition module includes a voltage acquisition module 102, and the data processing module 101 is configured to determine the operating voltage based on the data acquisition result of the voltage acquisition module 102 for the voltage of the vehicle electronic control unit.
[0083] Specifically, in the embodiment of the present application, the data acquisition device 100 includes a voltage acquisition module 102, which is used to acquire key signal voltage values (such as operating voltage values, driving voltage values, output voltage values, etc.) of a vehicle electronic control unit (such as an ECU) through an ADC, and transmit the data acquisition results in the form of voltage data to a data processing module 101, so that the data processing module 101 converts the "data acquisition results in the form of voltage data" to determine the key signal voltage values (such as operating voltage values, driving voltage values, output voltage values, etc.) of a vehicle electronic control unit (such as an ECU).
[0084] Thus, in the embodiment of the present application, the data processing module 101 can determine the operating voltage of the vehicle electronic control unit according to the data collection result of the voltage collection module 102 on the voltage of the vehicle electronic control unit.
[0085] In certain embodiments of the present application, the operating status data includes operating temperature, the acquisition module includes a temperature acquisition module 103, and the data processing module 101 is configured to determine the operating temperature based on the data acquisition result of the temperature acquisition module 103 on the temperature of the vehicle electronic control unit.
[0086] Specifically, in the embodiment of the present application, the data acquisition device 100 includes a temperature acquisition module 103. The temperature acquisition module 103 is responsible for temperature sampling of the vehicle electronic control unit and feeds back the sampling result to the data processing module 101.
[0087] In one example, the temperature acquisition module 103 is used to collect the internal temperature of the vehicle's electronic control unit through ADC, and pass the data acquisition results in the form of voltage data to the data processing module 101, so that the data processing module 101 converts the "data acquisition results in the form of voltage data" to determine the internal temperature of the vehicle's electronic control unit, that is, the operating temperature.
[0088] In one example, the temperature acquisition module 103 may be composed of a flexible flat cable and a thermistor disposed on the flexible flat cable. Also, the temperature acquisition module 103 may perform a temperature acquisition operation for the vehicle electronic control unit based on the thermal sensitivity characteristics of the thermistor.
[0089] In one example, the temperature acquisition module 103 is composed of a voltage divider resistor, a thermistor, and a two-wire flexible flat cable, and the thermistor is welded on the two-wire flexible flat cable so that it can be placed on the chip surface to collect temperature.
[0090] Thus, in the embodiment of the present application, the data processing module 101 can determine the operating temperature of the vehicle electronic control unit according to the data collection result of the temperature collection module 103 on the temperature of the vehicle electronic control unit.
[0091] In certain embodiments of the present application, the operating status data includes an operating log generated by the vehicle electronic control unit, the collection module includes a log collection module 104 , and the data processing module 101 is configured to obtain the operating log according to the log collection module 104 .
[0092] Specifically, in the implementation manner of the present application, the data processing module 101 can obtain the operation log generated by the vehicle electronic control unit through the log collection module 104.
[0093] In one example, the log collection module 104 can receive or collect the operation log output by the vehicle electronic control unit through the TX (Transmit) serial port of the vehicle electronic control unit, and transmit the operation log to the data processing module 101 through the RX (Receive) serial port of the data processing module 101.
[0094] In this way, in the embodiment of the present application, the data processing module 101 can obtain the operation log generated by the vehicle electronic control unit according to the log collection module 104.
[0095] In certain embodiments of the present application, the data acquisition device 100 includes a storage module 105 , and the data acquisition device 100 is configured to store the operating status data in the storage module 105 .
[0096] Specifically, in the embodiment of the present application, the data acquisition device 100 may include a storage module 105 , so that after the operating status data of the vehicle electronic control unit is acquired, the operating status data may be written into the storage module 105 .
[0097] In one example, the storage module 105 is implemented based on Flash.
[0098] In one example, the operating status data is stored in the storage module 105 in a TXT (text document) format.
[0099] In one example, the data processing module 101 and the storage module 105 perform data exchange via a SPI (Serial Peripheral Interface) protocol.
[0100] Thus, in the embodiment of the present application, the operation status data can be stored in the storage module 105 .
[0101] In certain embodiments of the present application, the data acquisition device 100 is configured to store the operating status data and the timestamp corresponding to the operating status data in the storage module 105 .
[0102] Specifically, in order to improve the availability of the operating status data, in the embodiment of the present application, the data acquisition device 100 may also store the operating status data and the timestamp corresponding to the operating status data in the storage module 105 after acquiring the operating status data of the vehicle electronic control unit. Then, the user can determine the operating status of the vehicle electronic control unit at different times based on the operating status data and the timestamp corresponding to the operating status data in the storage module 105.
[0103] In one example, the data acquisition device 100 includes a data processing module 101, a temperature acquisition module 103, a voltage acquisition module 102, and a log acquisition module 104. Then, the data processing module 101 can convert the voltage data collected by the temperature acquisition module 103 and the voltage acquisition module 102 through ADC at the same time into the operating temperature and operating voltage of the vehicle electronic control unit, and then process the UART (Universal Asynchronous Receiver / Transmitter) data sent by the log acquisition module 104 at that time, and store the operating temperature, operating voltage and processed UART data (i.e., operating log) in Flash, and merge the operating temperature, operating voltage and processed UART data under the same timestamp. Therefore, after the user obtains the operating status data of the vehicle electronic control unit through the data acquisition device 100, the operating temperature, operating voltage and processed UART data can be determined according to the operating temperature, operating voltage and processed UART data at the same timestamp, so as to facilitate the user to analyze and solve the problem.
[0104] Thus, in the implementation manner of the present application, the running status data and the timestamp corresponding to the running status data may be stored in the storage module 105, so that the running status data may be associated with time, thereby improving the validity of the running status data.
[0105] In certain embodiments of the present application, the data acquisition device 100 includes a communication module, and the data acquisition device 100 is configured to send the operating status data through the communication module.
[0106] Specifically, in the implementation manner of the present application, the data acquisition device 100 may include a communication module for external communication, and then the data acquisition device 100 may send the collected operating status data to the outside world such as the user's mobile terminal, computer equipment, or the control unit in the vehicle (such as domain control) through the communication module.
[0107] Thus, in the implementation mode of the present application, the operation status data can be sent via the communication module.
[0108] In certain embodiments of the present application, the communication module includes multiple sub-communication modules, one sub-communication module corresponds to a communication protocol, and the data acquisition device 100 is configured to send operating status data via the communication protocol corresponding to at least one sub-communication module.
[0109] Specifically, in the implementation mode of the present application, the data acquisition device 100 includes multiple sub-communication modules, and each sub-communication module supports a communication protocol. Accordingly, the data acquisition device 100 can send the operating status data of the vehicle electronic control unit to the outside world through any sub-communication module and the communication protocol supported by the sub-communication module.
[0110] To more clearly illustrate the implementation method of this application, please refer to Figure 1 , that is, Figure 1 As shown, the data acquisition device 100 includes a CAN communication module 106 supporting the CAN (Controller Area Network) protocol and a data copy interface 107 supporting the USB (Universal Serial Bus) 2.0 protocol. The CAN communication module 106 and the data copy interface 107 are both sub-communication modules in the embodiment of the present application. Therefore, in the embodiment of the present application, the data acquisition device 100 can send the operating status data of the vehicle electronic control unit to the outside world through the CAN communication module 106 using the CAN protocol, or send the operating status data of the vehicle electronic control unit to the outside world through the data copy interface 107 using the USB2.0 protocol.
[0111] In one example, the data copy interface 107 of the data acquisition device 100 can be connected to a device such as a personal computer, so that a user can read the operation log stored in the Flash in the data storage device through a personal computer or other device to analyze problems occurring during the operation of the vehicle electronic control unit.
[0112] Thus, in the embodiment of the present application, the operating status data of the vehicle electronic control unit can be sent through the communication protocol supported by each sub-communication module, so that the operating status data can be sent based on different communication protocols.
[0113] In certain embodiments of the present application, the data acquisition device 100 is connected to a power supply module of a vehicle electronic control unit, and the power supply module supplies power to the data acquisition device 100 and the vehicle electronic control unit in turn.
[0114] To more clearly illustrate the implementation of this application, please refer to Figure 2 , Figure 2 This is a schematic diagram of an application scenario in some embodiments of the present application, that is, Figure 2As shown, the data acquisition device 100 in the embodiment of the present application can draw power from the front-stage anti-reverse overvoltage protection module (corresponding to the power supply module of the vehicle electronic control unit) of the ECU (i.e., the vehicle electronic control unit). In addition, the output power of the front-stage anti-reverse overvoltage protection module will be preferentially provided to the data acquisition device 100, so that the power-on time of the data acquisition device 100 is earlier than the power-on time of the ECU. Therefore, the data acquisition device 100 monitors the initial state of the ECU power-on, that is, collects the operating state data of the ECU during the power-on initialization process.
[0115] Thus, in the embodiment of the present application, the data acquisition device 100 is enabled to collect the operating status data of the vehicle electronic control unit during the power-on process based on the priority power supply of the power supply module of the vehicle electronic control unit.
[0116] In certain embodiments of the present application, the data acquisition device 100 includes a voltage protection module, and the data acquisition device 100 receives electrical energy through the voltage protection module.
[0117] Specifically, in the embodiment of the present application, in order to ensure the stable operation of the data acquisition device 100, the data acquisition device 100 also includes a voltage protection module in the embodiment of the present application to avoid the input of excessively high voltage or high voltage input caused by accidental short circuit connection.
[0118] Thus, in the embodiment of the present application, the data acquisition device 100 can receive electrical energy through the voltage protection module, thereby ensuring the stable operation of the data acquisition device 100 .
[0119] See also Figure 2 In certain embodiments of the present application, the voltage protection module includes a short circuit protection module 108, and the short circuit protection module 108 is configured to disconnect the power transmission and reception of the data acquisition device 100 when the data acquisition device 100 is short-circuited.
[0120] Specifically, in the embodiment of the present application, the data acquisition device 100 includes a short circuit protection module 108 to disconnect the power receiving and sending of the data acquisition device 100 when the data acquisition device 100 is short-circuited.
[0121] In one example, the short circuit protection module 108 includes a resettable fuse.
[0122] Please refer again Figure 2 In one example, the short-circuit protection module 108 can disconnect the data acquisition device 100 from the power supply terminal when a short circuit occurs in the data acquisition device 100 , thereby protecting the ECU device from being affected by the data acquisition device 100 .
[0123] Thus, in the embodiment of the present application, when the data acquisition device 100 is short-circuited, the short-circuit protection module 108 can disconnect the power transmission and reception of the data acquisition device 100, thereby preventing the data acquisition device 100 from affecting the vehicle's electronic control unit when the short circuit occurs.
[0124] See also Figure 2 In some embodiments of the present application, the voltage protection module includes a power supply stabilization module 109 , which is configured to stabilize the received voltage and provide the stabilized voltage to the data acquisition device 100 .
[0125] Specifically, in the embodiment of the present application, the data acquisition device 100 includes a power supply stabilizing module 109, so that a stable voltage input can be received through the power supply stabilizing module 109, or in other words, after the power supply stabilizing module 109 stabilizes the received voltage, the processed voltage is provided to other components in the data acquisition device 100, thereby realizing the power supply of the power supply stabilizing module 109.
[0126] Thus, in the embodiment of the present application, the data acquisition device 100 can stabilize the received voltage through the power supply voltage stabilization module 109 and then operate with the stabilized voltage, thereby ensuring the stable operation of the data acquisition device 100.
[0127] In certain embodiments of the present application, the data acquisition device 100 also includes a USB communication interface 110 for communicating with the SOC or MCU. The data acquisition device 100 is connected to the SOC or MCU in the vehicle's electronic control unit via the USB communication interface 110, so that the user data acquisition device 100 and the SOC or MCU connected to the data acquisition device 100 via the USB communication interface 110 can export the storage log of the SOC or MCU for analysis.
[0128] In some embodiments of the present application, the data acquisition device 100 further includes a program debugging and burning interface 111. The program debugging and burning interface 111 is used for program debugging and program downloading of the data acquisition device 100, so that the data acquisition device 100 can update its own code through the program debugging and burning interface 111 according to different application requirements.
[0129] In some embodiments of the present application, the data acquisition device 100 further includes a clock module 112. The clock module 112 is responsible for providing a clock signal to the data acquisition device 100 so that the data acquisition device 100 can work normally.
[0130] See also Figure 3 In certain embodiments of the present application, the present application provides a data collection method, including:
[0131] 21: Obtaining the operating status data of the vehicle electronic control unit to determine the operating status of the vehicle electronic control unit, wherein the operating status data is collected by the above-mentioned data collection device.
[0132] The embodiment of the present application also provides an electronic device, which includes a memory and a processor. The method for determining the position of the electronic device of the embodiment of the present application can be implemented by the electronic device of the embodiment of the present application. Specifically, a computer program is stored in the memory, and the processor is used to obtain the operating status data of the vehicle electronic control unit to determine the operating status of the vehicle electronic control unit, wherein the operating status data is collected by the above-mentioned data collection device.
[0133] Specifically, in the implementation manner of the present application, the electronic device may collect the operating status data of the vehicle's electronic control unit through the above-mentioned data acquisition device 100, such as collecting the operating status data of the ECU in the vehicle through the data acquisition device 100.
[0134] In one example, the electronic device is a PC (Personal Computer), a tablet computer (or a portable computer), etc.
[0135] In one example, the electronic device is a component, equipment or system in a vehicle, such as a vehicle control center.
[0136] In addition, it can be understood that the working mode, specific structure and other contents of the data acquisition device 100 can refer to the contents shown in the previous text, and will not be repeated here to avoid repetition.
[0137] In this way, the operating status data of the vehicle's electronic control unit can be collected by the data acquisition device 100, so that the operating status of the vehicle's electronic control unit can be determined through the operating status data, which ensures the robust monitoring of the operating status of the vehicle's electronic control unit to a certain extent. In addition, since the data acquisition device 100 is integrated in the vehicle's electronic control unit, the data acquisition device 100 can collect the operating status data of the vehicle's electronic control unit relatively stably, so that the operating status of the vehicle's electronic control unit can be determined robustly. Moreover, compared with the method in which the data acquisition device 100 and the vehicle's electronic control unit are separately arranged, since the data acquisition device 100 is integrated in the vehicle's electronic control unit, the operating environment of the data acquisition device 100 and the operating environment of the vehicle's electronic control unit can be the same or similar, and thus the operating status data collected by the data acquisition device 100 can reliably reflect the status of the vehicle's electronic control unit under the current operating environment, thereby ensuring the credibility and validity of the operating status data collected by the data acquisition device 100.
[0138] In certain embodiments of the present application, the operating status data is collected by the data collection device 100 or sent by the vehicle electronic control unit.
[0139] Specifically, in the implementation manner of the present application, the operating status data collection for the vehicle electronic control unit can be completed by the data collection device 100 collecting the operating status data of the vehicle electronic control unit and / or receiving the operating status data sent by the vehicle electronic control unit.
[0140] Therefore, when the vehicle's electronic control unit operates abnormally and cannot communicate with the outside world, the data acquisition device 100 in the embodiment of the present application can monitor the abnormal time nodes in the vehicle's electronic control unit and store the operating status data of the abnormal time nodes for user determination and analysis.
[0141] Thus, in the embodiment of the present application, the operating status data sent by the vehicle electronic control unit can be collected or received by the data collection device 100, so that the operating status data can be obtained in two ways, which to a certain extent ensures the robust acquisition of the operating status data.
[0142] To more clearly illustrate the implementation methods of this application, please refer to Figure 1 and Figure 4 , Figure 4 Schematic diagram of application scenarios in certain embodiments of the present application. Specifically, the vehicle includes a vehicle control center, a data acquisition device 100 and an ECU, and the data acquisition device 100 is integrated in the ECU.
[0143] Furthermore, if Figure 1 and Figure 4 As shown, the data acquisition device 100 includes a data processing module 101, a temperature acquisition module 103, a voltage acquisition module 102, an operation log acquisition module 104, etc. Among them, the temperature acquisition module 103 can be used for temperature monitoring of a specific chip in the vehicle electronic control unit or a specific position in the vehicle electronic control unit (corresponding to chip ①, position ①), to meet the needs of excessive current high-side switch or other monitoring at the chip, and to meet the needs of excessive current copper area or other monitoring at a specific position. And, the voltage acquisition module 102 can be used to monitor the operating voltage (corresponding to signal ①). In addition, the operation log acquisition module 104 can be used to monitor and collect operation logs (corresponding to UART data ①).
[0144] Furthermore, the data acquisition module can process and package the operating temperature, operating voltage, and UART data collected under the unified data stamp into a TXT file, and store the TXT file in an off-chip Flash.
[0145] Furthermore, in the embodiment of the present application, the data processing module 101 can immediately report to the vehicle control center when it detects that the temperature of a specific chip or a specific location has risen abnormally and exceeded a preset threshold, so that the vehicle control center can decide whether to issue an early warning to the vehicle owner based on the reported data to inform the vehicle that there is a risk of short circuit fire, control failure, etc., and thus request the vehicle owner to turn off the engine immediately and escape from the vehicle.
[0146] In addition, in the embodiment of the present application, the vehicle control center can receive the operating status data sent by the "monitored ECU", and can obtain the operating status data of the "monitored ECU" through the data acquisition device 100. In other words, the data acquisition device 100 of the embodiment of the present application can be used as a backup device for the "monitored ECU". Therefore, in the case that the "monitored ECU" fails and cannot send its own operating status data to the vehicle control center, the vehicle control center can remotely send a CAN command to the data processing module 101 in the data acquisition device 100 through the CAN communication module 106 of the data acquisition device 100 to enable the data acquisition device 100, and then read the operating status data of the ECU before the failure from the Flash (i.e., the storage module 105) through the data processing module 101 in the data acquisition device 100 and upload it to the pan-tilt head, so that engineers can quickly analyze the cause of the failure of the ECU.
[0147] In one example, the data acquisition device 100 in the implementation manner of the present application also includes a data copy interface 107 that supports the USB2.0 protocol. The data copy interface 107 is a backup interface and can be used as an external data transmission channel when other interfaces such as the CAN communication module 106 fail, so as to read data in the Flash through this interface.
[0148] In one example, the data acquisition device 100 also includes a USB communication interface 110 (and a SOC backup communication interface) for communicating with a SOC or MCU, which can be used in OTA (Over-the-Air Technology) upgrade data or other data transmission scenarios.
[0149] An embodiment of the present application further provides a vehicle, which includes a vehicle electronic control unit and also includes the above-mentioned data acquisition device 100 or the above-mentioned electronic device.
[0150] The embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by one or more processors, the above-mentioned vehicle control method is implemented.
[0151] The embodiment of the present application also provides a computer program product, including a computer program / instruction, which implements the above-mentioned vehicle control method when executed by a processor.
[0152] In the description of this specification, the descriptions with reference to the terms "specifically", "further", "particularly", "understandably", etc. are intended to mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not intended to refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0153] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0154] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A data acquisition device, characterized in that: The data acquisition device is integrated with the vehicle electronic control unit, and is configured to collect operating status data of the vehicle electronic control unit to determine the operating status of the vehicle electronic control unit.
2. The device according to claim 1, characterized in that The vehicle electronic control unit comprises an electronic control unit body and a housing, and the electronic control unit body and the data acquisition device are arranged in the unit housing.
3. The device according to claim 1, characterized in that The data acquisition device is configured to feed back prompt information indicating that the operating state of the vehicle electronic control unit is abnormal when the operating state data is abnormal.
4. The device according to claim 1, characterized in that The data acquisition device comprises an acquisition module and a data processing module connected to the acquisition module, and the data processing module is configured to determine the operating status data according to the data acquisition result of the acquisition module.
5. The device according to claim 4, characterized in that The operating status data includes an operating voltage, the acquisition module includes a voltage acquisition module, and the data processing module is configured to determine the operating voltage according to a data acquisition result of the voltage acquisition module on the voltage of the vehicle electronic control unit.
6. The device according to claim 4, characterized in that The operating status data includes an operating temperature, the acquisition module includes a temperature acquisition module, and the data processing module is configured to determine the operating temperature according to a data acquisition result of the temperature acquisition module on the temperature of the vehicle electronic control unit.
7. The device according to claim 4, characterized in that The operation status data includes an operation log, the collection module includes a log collection module, and the data processing module is configured to obtain the operation log according to the log collection module.
8. The device according to claim 1, characterized in that The data acquisition device comprises a storage module, and the data acquisition device is configured to store the operating status data in the storage module.
9. The device according to claim 8, characterized in that The data acquisition device is configured to store the operating status data and a timestamp corresponding to the operating status data in the storage module.
10. The device according to claim 1, characterized in that The data acquisition device comprises a communication module, and the data acquisition device is configured to send the operating status data through the communication module.
11. The device according to claim 10, characterized in that The communication module includes a plurality of sub-communication modules, each of which corresponds to a communication protocol, and the data acquisition device is configured to send the operating status data via the communication protocol corresponding to at least one of the sub-communication modules.
12. The device according to claim 1, characterized in that The data acquisition device is connected to a power supply module of the vehicle electronic control unit, and the power supply module supplies power to the data acquisition device and the vehicle electronic control unit in sequence.
13. The device according to claim 1, characterized in that The data acquisition device comprises a voltage protection module, and the data acquisition device receives electric energy through the voltage protection module.
14. The device according to claim 13, characterized in that The voltage protection module includes a short circuit protection module, and the short circuit protection module is configured to disconnect the power transmission and reception of the data acquisition device when the data acquisition device is short-circuited.
15. The device according to claim 13, characterized in that The voltage protection module includes a power supply voltage stabilization module, and the power supply voltage stabilization module is configured to perform voltage stabilization processing on the received voltage and provide the stabilized voltage to the data acquisition device.
16. A method for detecting an operating state, characterized in that: include: Acquire the operating status data of the vehicle electronic control unit to determine the operating status of the vehicle electronic control unit, wherein the operating status data is collected by the data collection device according to any one of claims 1-15.
17. The method according to claim 16, characterized in that The operating status data is collected by the data collection device or sent by the vehicle electronic control unit.
18. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method according to claim 16 or 17 is implemented.
19. A vehicle, characterized in that: The vehicle includes a vehicle electronic control unit and also includes the device described in any one of claims 1-15 and 18.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by one or more processors, the method of claim 16 or 17 is implemented.
21. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method of claim 16 or 17 is implemented.
Citation Information
Patent Citations
Vehicle-mounted cable and working method thereof
CN110949288A
Temperature error correction system and method for automatic road vehicle weighing instrument
CN112345057A
Information acquisition method and device, electronic equipment and storage medium
CN113096269A
Anti-tamper control method, device and system for vehicle controller
CN115158223A
Data processing method and device, electronic equipment, storage medium and vehicle
CN115437975A