Device anomaly detection method and device, electronic equipment and storage medium
By obtaining the working parameters of the vehicle's low-voltage device to calculate the energy consumption and combining the sliding average filtering algorithm, the problem of low accuracy of vehicle energy consumption abnormality detection is solved, and refined energy consumption monitoring and abnormality detection of low-voltage devices is realized, which improves vehicle safety.
Patent Information
- Application Number
- CN202410097069.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-23
- Publication Date
- 2025-07-25
AI Technical Summary
In the prior art, vehicle energy consumption abnormality detection has the problem of low accuracy, especially insufficient energy consumption monitoring of low-voltage devices, which affects vehicle safety.
By obtaining the working parameters of each low-voltage device in the vehicle, including operating voltage and operating current, calculating its actual energy consumption, and combining the sliding average filtering algorithm to make abnormal judgments, energy consumption monitoring and abnormal detection of low-voltage devices can be achieved.
It improves the accuracy of energy consumption monitoring of vehicle medium and low voltage devices, timely identify abnormal energy consumption, and improves the safety and functional reliability of the vehicle.
Smart Images

Figure CN120370054A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicles, and more specifically, to a device anomaly detection method, device, electronic device, and storage medium. Background Art
[0002] In the automotive industry, the detection of abnormal energy consumption of vehicles is of great significance for improving fuel efficiency, reducing energy consumption, and minimizing environmental pollution. Currently, the monitoring of abnormal energy consumption data of vehicles is usually achieved through intelligentization and networking.
[0003] However, the current analysis methods usually rely on manual analysis and judgment after the vehicle networking system obtains the operating conditions of the vehicle, which suffer from subjectivity and low accuracy. Summary of the Invention
[0004] The purpose of the embodiments of the present application is to provide a device anomaly detection method, device, electronic device, and storage medium to improve the low accuracy of the existing energy consumption anomaly detection method.
[0005] In a first aspect, the embodiments of the present application provide a device anomaly detection method, which includes:
[0006] Obtain the operating parameters of each low-voltage device in the vehicle, where the operating parameters include the operating voltage and operating current of the corresponding low-voltage device;
[0007] Calculate the actual energy consumption of the corresponding low-voltage device according to the operating parameters of each low-voltage device;
[0008] Judge the anomaly situation of the corresponding low-voltage device according to the actual energy consumption of each low-voltage device.
[0009] In the above implementation process, by obtaining the operating parameters of each low-voltage device in the vehicle, where the operating parameters include the operating voltage and operating current of the low-voltage device, then calculating the actual energy consumption of the corresponding low-voltage device according to the operating parameters of each low-voltage device, and judging the anomaly of the low-voltage device according to the actual energy consumption. In this way, the operating parameters of the low-voltage devices in the vehicle can be automatically obtained for energy consumption calculation and anomaly judgment, which can improve the accuracy. And in this solution, the energy consumption of each low-voltage device in the vehicle can be monitored, and the low-voltage devices with abnormal energy consumption can be identified in time, improving the vehicle safety.
[0010] Optionally, the calculating the actual energy consumption of the corresponding low-voltage device according to the operating parameters of each low-voltage device includes:
[0011] Obtain the actual energy consumption of the corresponding low-voltage device during the target time period according to the operating parameters of each low-voltage device during the target time period.
[0012] In the above implementation process, the actual energy consumption of each low-voltage device during the corresponding period can be obtained according to requirements, and thus the energy consumption during different periods can be monitored flexibly.
[0013] Optionally, the target period includes a single cycle period from when the vehicle is powered on to when it is powered off. The target period is divided into multiple sub-periods. The obtaining of the working parameters of each low-voltage device in the vehicle includes:
[0014] Obtain the working parameters of each low-voltage device in the vehicle during each sub-period;
[0015] The obtaining of the actual energy consumption of the corresponding low-voltage device during the target period according to the working parameters of each low-voltage device during the target period includes:
[0016] Obtain the energy consumption of the corresponding low-voltage device during each sub-period according to the working parameters of each low-voltage device during each sub-period;
[0017] Add up the energy consumption of the corresponding low-voltage device during each sub-period to obtain the actual energy consumption of the corresponding low-voltage device during the single cycle period.
[0018] In the above implementation process, the energy consumption monitoring of each low-voltage device in the vehicle during the single cycle period can be realized, and the single cycle period is divided into multiple sub-periods to calculate the energy consumption. In this way, the energy consumption fluctuation of the low-voltage device can be known, and thus a more accurate energy consumption can be obtained.
[0019] Optionally, after adding up the energy consumption of the corresponding low-voltage device during each sub-period to obtain the actual energy consumption of the corresponding low-voltage device during the single cycle period, it further includes:
[0020] Calculate the actual load rate of the corresponding low-voltage device during the single cycle period according to the actual energy consumption of the corresponding low-voltage device during the single cycle period and the total energy consumption of multiple low-voltage devices during the single cycle period;
[0021] Judge the abnormal situation of the corresponding low-voltage device according to the actual load rate of each low-voltage device during the single cycle period.
[0022] In the above implementation process, by obtaining the actual load rate of each low-voltage device during the single cycle period, the monitoring of the actual load rate of the low-voltage device can be realized, and thus the abnormal detection of the low-voltage device can be realized through the actual load rate.
[0023] Optionally, the target period includes the entire life cycle period of the vehicle from the first power-on moment to the current moment. The entire life cycle period is divided into multiple single-cycle periods of the vehicle from power-on to power-off. Obtaining the actual energy consumption of the corresponding low-voltage device within the target period according to the operating parameters of each low-voltage device within the target period includes:
[0024] Obtaining the energy consumption of the corresponding low-voltage device within a single-cycle period according to the operating parameters of each low-voltage device within each single-cycle period;
[0025] Adding up the energy consumption of the corresponding device within a single-cycle period, and calculating to obtain the actual energy consumption of the corresponding low-voltage device within the entire life cycle period.
[0026] In the above implementation process, it is possible to monitor the energy consumption of each low-voltage device in the vehicle within the entire life cycle period.
[0027] Optionally, after adding up the energy consumption of the corresponding device within a single-cycle period and calculating to obtain the actual energy consumption of the corresponding low-voltage device within the entire life cycle period, it further includes:
[0028] Calculating the actual load rate of the corresponding low-voltage device within the entire life cycle period according to the actual energy consumption of the corresponding low-voltage device within the entire life cycle period and the total energy consumption of multiple low-voltage devices within the entire life cycle period;
[0029] Judging the abnormal situation of the corresponding low-voltage device according to the actual load rate of each low-voltage device within the entire life cycle period.
[0030] In the above implementation process, by obtaining the actual load rate of each low-voltage device within the entire life cycle period, it is possible to monitor the actual load rate of the low-voltage device in this way, and further, the abnormal detection of the low-voltage device can be realized through the actual load rate.
[0031] Optionally, obtaining the actual energy consumption of the corresponding low-voltage device within the target period according to the operating parameters of each low-voltage device within the target period includes:
[0032] According to the operating parameters of each low-voltage device, using a moving average filtering algorithm to calculate the average energy consumption of the corresponding low-voltage device within each sampling period, and the average energy consumption within each sampling period is used as the actual energy consumption of the low-voltage device within that sampling period.
[0033] In the above implementation process, since the moving average filtering algorithm can effectively filter out interference noise, using the moving average filtering algorithm to calculate the actual energy consumption of the low-voltage device can calculate more accurate energy consumption.
[0034] Optionally, determining the abnormal conditions of corresponding low-voltage devices according to the actual energy consumption of each low-voltage device includes:
[0035] If the average energy consumption in a sampling period among multiple sampling periods is greater than the set energy consumption, it is determined that the corresponding low-voltage device has abnormal energy consumption;
[0036] Or,
[0037] If the difference between the average energy consumption in the i-th sampling period and the average energy consumption in the (i - 1)-th sampling period among multiple sampling periods is greater than the set difference, it is determined that the corresponding low-voltage device has abnormal energy consumption;
[0038] Or,
[0039] If the difference between the average energy consumption in the i-th sampling period and the average energy consumption in the (i - 1)-th sampling period is greater than the set difference in more than the set number of sampling periods among multiple sampling periods, it is determined that the corresponding low-voltage device has abnormal energy consumption;
[0040] Or, if the difference between the average energy consumption in the i-th sampling period and the average energy consumption in the (i - 1)-th sampling period is greater than the set difference in more than the set number of consecutive sampling periods among multiple sampling periods, it is determined that the corresponding low-voltage device has abnormal energy consumption.
[0041] In the above implementation process, the abnormal energy consumption conditions of low-voltage devices can be detected by the above methods.
[0042] Optionally, determining the abnormal conditions of corresponding low-voltage devices according to the actual energy consumption of each low-voltage device includes:
[0043] Obtaining the working mode of the corresponding low-voltage device;
[0044] Determining the abnormal conditions of the corresponding low-voltage device according to the actual energy consumption of the corresponding low-voltage device in the working mode.
[0045] In the above implementation process, since the energy consumption of low-voltage devices may change under different working modes, when judging abnormalities, the actual energy consumption in its working mode is also combined for judgment, with higher accuracy.
[0046] Optionally, obtaining the working parameters of each low-voltage device in the vehicle includes:
[0047] After each low-voltage device in the vehicle has worked for a preset duration, obtaining the working parameters of each low-voltage device.
[0048] In the above implementation process, perhaps the working state of low-voltage devices is unstable when they start working, and the obtained working parameters may be inaccurate. Therefore, the working parameters are obtained after the preset duration of work, with higher accuracy.
[0049] Optionally, after calculating the actual energy consumption of the corresponding low-voltage device according to the operating parameters of each low-voltage device, the method further includes:
[0050] Outputting the actual energy consumption of each low-voltage device to a display terminal, a user terminal, and / or the cloud of the vehicle for display. Thereby, the user can know the energy consumption of each low-voltage device.
[0051] Optionally, the obtaining the operating parameters of each low-voltage device in the vehicle includes:
[0052] Obtaining the operating parameters of each low-voltage device recorded by a low-voltage energy distribution module in the vehicle, where the low-voltage energy distribution module is configured to feed back the operating parameters requested by each low-voltage device to a DCDC converter, and the DCDC converter supplies power corresponding to the operating parameters to each low-voltage device. In this way, the operating parameters of each low-voltage device can be recorded by the low-voltage energy distribution module, thereby enabling refined energy consumption monitoring.
[0053] In a second aspect, an embodiment of the present application provides a device anomaly detection device, where the device includes:
[0054] An operating parameter acquisition module, configured to acquire the operating parameters of each low-voltage device in the vehicle, where the operating parameters include the operating voltage and operating current of the corresponding low-voltage device;
[0055] An energy consumption calculation module, configured to calculate the actual energy consumption of the corresponding low-voltage device according to the operating parameters of each low-voltage device;
[0056] An anomaly determination module, configured to determine the anomaly situation of the corresponding low-voltage device according to the actual energy consumption of each low-voltage device.
[0057] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, where the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the method provided in the first aspect are run.
[0058] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the method provided in the first aspect are run.
[0059] Other features and advantages of the present application will be described in the subsequent description, and part of them will become obvious from the description, or can be understood by implementing the embodiments of the present application. The objectives and other advantages of the present application can be achieved and obtained through the structures specifically pointed out in the written description, claims, and drawings. Description of the Drawings
[0060] To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required to be used in the embodiments of the present application. It should be understood that the following drawings only show some embodiments of the present application and should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.
[0061] Figure 1 Flowchart of a device anomaly detection method provided by an embodiment of the present application;
[0062] Figure 2 Schematic diagram of the setting structure of a low-voltage energy distribution module provided by an embodiment of the present application;
[0063] Figure 3 Schematic diagram of the implementation principle of a moving average filtering algorithm provided by an embodiment of the present application;
[0064] Figure 4 Block diagram of the implementation structure of a moving average filtering algorithm provided by an embodiment of the present application;
[0065] Figure 5 Overall implementation block diagram of device anomaly detection and anomaly recognition provided by an embodiment of the present application;
[0066] Figure 6 Block diagram of the structure of a device anomaly detection device provided by an embodiment of the present application;
[0067] Figure 7 Schematic diagram of the structure of an electronic device for executing the device anomaly detection method provided by an embodiment of the present application. Detailed implementation manners
[0068] The following will clearly and completely describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application.
[0069] It should be noted that the terms "system" and "network" in the embodiments of the present invention can be used interchangeably. "Multiple" means two or more. In view of this, in the embodiments of the present invention, "multiple" can also be understood as "at least two". "And / or" describes the association relationship of associated objects and indicates that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " generally represents an "or" relationship between the associated objects before and after without special instructions.
[0070] High-voltage devices in a vehicle have a greater impact on vehicle safety. Therefore, in related technologies, generally only the high-voltage devices in the vehicle are monitored for energy consumption to identify high-voltage devices with abnormal energy consumption, while the low-voltage devices in the vehicle are ignored. However, the abnormality of low-voltage devices also has a certain impact on vehicle safety. In related technologies, to monitor the energy consumption of devices, after obtaining the operating conditions of the vehicle through the vehicle networking system, manual analysis and judgment are carried out, which has the problem of low accuracy.
[0071] Therefore, to improve the above problems, an embodiment of the present application provides a device abnormality detection method. This method obtains the operating parameters of each low-voltage device in the vehicle, and the operating parameters include the operating voltage and operating current of the low-voltage device. Then, the actual energy consumption of the corresponding low-voltage device is calculated based on the operating parameters of each low-voltage device, and an abnormality judgment is made on the low-voltage device according to the actual energy consumption. In this way, the operating parameters of the low-voltage devices in the vehicle can be automatically obtained for energy consumption calculation and abnormality judgment, which can improve the accuracy. And in this solution, the energy consumption of each low-voltage device in the vehicle can be monitored, and low-voltage devices with abnormal energy consumption can be identified in time, improving vehicle safety.
[0072] Please refer to Figure 1 , Figure 1 FIG. [X] is a flowchart of a device abnormality detection method provided by an embodiment of the present application. This method includes the following steps:
[0073] Step S110: Obtain the operating parameters of each low-voltage device in the vehicle.
[0074] Among them, the operating parameters of each low-voltage device include the operating voltage and operating current of the low-voltage device. In some implementation manners, the operating parameters of each low-voltage device can be obtained from a DCDC converter (DC-to-DC converter). The DCDC converter can output the corresponding operating voltage and operating current for each low-voltage device and record them. Then, the operating parameters of each low-voltage device can be obtained from the information recorded in the DCDC converter. The input power supply of the DCDC converter is the battery or generator on the vehicle, which can be a high-voltage battery or a low-voltage battery. The DCDC converter can convert the high-voltage electricity of the power battery into low-voltage electricity, playing the role of electric energy conversion and distribution.
[0075] In some other implementation manners, the operating parameters of each low-voltage device can be recorded by the low-voltage energy distribution module. Therefore, the operating parameters of each low-voltage device recorded by the low-voltage energy distribution module in the vehicle can be obtained. The low-voltage energy distribution module can be used to feedback the operating parameters requested by each low-voltage device to the DCDC converter, and the DCDC converter can allocate the power supply corresponding to the operating parameters to each low-voltage device. In this way, the operating parameters of each low-voltage device can be recorded through the low-voltage energy distribution module, so as to achieve refined energy consumption monitoring.
[0076] In some implementation manners, the low-voltage energy distribution module can be arranged between the DCDC converter and each low-voltage device. The power supply schematic diagram for each low-voltage device through the low-voltage energy distribution module is as Figure 2 shown. After the low-voltage device is powered on, each low-voltage device will request the corresponding operating current and operating voltage from the DCDC converter. The low-voltage energy distribution module can feedback the operating current and operating voltage requested by each low-voltage device to the DCDC converter. After receiving the request, the DCDC converter will allocate the operating current and operating voltage requested by each low-voltage device. The operating current and operating voltage allocated by the DCDC converter to each low-voltage device will pass through the low-voltage energy distribution module and be allocated to each low-voltage device by the low-voltage energy distribution module. In this way, the low-voltage energy distribution module can record the operating current and operating voltage allocated to each low-voltage device in real time.
[0077] In some other implementation manners, the low-voltage energy distribution module can also record the operating parameters of the low-voltage device obtained by real-time measurement. For example, the operating voltage measured by the voltage sensor and the operating current measured by the current sensor. The data measured by the voltage sensor and the current sensor can be sent to the low-voltage energy distribution module for recording.
[0078] It can be understood that in practical applications, if the low-voltage energy distribution module is not installed in the vehicle, the operating parameters of each low-voltage device can be recorded through the DCDC converter, or the operating parameters of each low-voltage device can be obtained from the data measured by the voltage sensor or the current sensor. If the low-voltage energy distribution module is installed in the vehicle, the operating parameters of each low-voltage device can be recorded through the low-voltage energy distribution module. Of course, the low-voltage energy distribution module also has other functions, such as energy consumption calculation and abnormal monitoring of energy consumption.
[0079] In some other implementation manners, the operating parameters of each low-voltage device can also be directly obtained from the data measured by the voltage sensor and the current sensor, that is, the voltage sensor and the current sensor can also transmit the data measured in real time or at regular intervals to the execution entity of the method in this solution. In this way, after obtaining the operating parameters of each low-voltage device, the execution entity of the method can perform energy consumption calculation and abnormal judgment.
[0080] In addition, each low-voltage device may refer to devices and systems that use low-voltage electricity in a vehicle. For example, each low-voltage device includes but is not limited to: lighting systems (such as various lighting devices inside and outside the vehicle, such as headlights, taillights, turn signals, fog lights, dashboard lighting, etc.), electric windows and sunroofs, braking systems, entertainment systems (such as radios, players, Bluetooth connections, audio speakers, etc.), air conditioning systems, navigation systems, charging interfaces, seat heating and ventilation systems, battery systems, water pump systems, vehicle control units, etc. Each low-voltage device in the vehicle consumes less power when working, but a large number and long-term abnormal power consumption will also cause the vehicle's electrical energy to be quickly consumed. In this solution, energy consumption monitoring of each low-voltage device can not only improve the functional positioning of the entire vehicle, but also allow users to timely understand the whereabouts of the vehicle's power.
[0081] It can be understood that in actual applications, the low-voltage devices in each vehicle may vary, and they will not be listed and explained one by one here. Each low-voltage device mentioned in this solution may refer to all low-voltage devices in the vehicle, or may refer to some low-voltage devices in the vehicle. For example, if it is necessary to monitor the energy consumption of some of the low-voltage devices, only the working parameters of some low-voltage devices can be obtained. For example, only the low-voltage devices related to entertainment are monitored for energy consumption.
[0082] Step S120: Calculate the actual energy consumption of the corresponding low-voltage device according to the working parameters of each low-voltage device.
[0083] After obtaining the working parameters of each low-voltage device, the actual energy consumption of each low-voltage device can be calculated according to the working parameters of each low-voltage device. For example, the power of each low-voltage device in a certain period can be counted, and the actual energy consumption of the low-voltage device can be obtained by multiplying the power by the period.
[0084] It should be noted that the execution entity of the energy consumption detection method in this solution can be a processor in the vehicle, or a cloud system, or a low-voltage energy distribution module, or can also be collectively referred to as a vehicle system. For example, if the execution entity is a processor or a cloud system, the low-voltage energy distribution module can send the recorded working parameters of each low-voltage device to the processor or the cloud system in real time or at regular intervals, so that the processor or the cloud system can obtain the working parameters of each low-voltage device and perform energy consumption calculation.
[0085] If the execution entity is a processor in the vehicle, after the vehicle is powered off this time, it stores the working parameters of each low-voltage device during the power-on period of the vehicle. After the vehicle is powered on next time, the actual energy consumption of each low-voltage device during the previous power-on period can be calculated, or the processor can also statistically calculate the actual energy consumption of each low-voltage device in real time, so that the actual energy consumption of each current low-voltage device can be known before the vehicle is powered off.
[0086] If the execution entity is the cloud, then after the vehicle is powered off this time, the actual energy consumption of each low-voltage component during this power-on period can be calculated through the cloud. Of course, the cloud can also calculate the actual energy consumption of each low-voltage component in real time.
[0087] Step S130: Determine the abnormal conditions of the corresponding low-voltage components according to the actual energy consumption of each low-voltage component.
[0088] In order to monitor the abnormal energy consumption conditions of each low-voltage component, the abnormal conditions of the corresponding low-voltage components can also be determined according to the actual energy consumption of the corresponding low-voltage component. If an abnormality occurs in the corresponding low-voltage component, a prompt message can be output to the display terminal of the vehicle, or a prompt message can also be output to the user terminal or the cloud.
[0089] In some implementation manners, it can be determined whether the actual energy consumption of the low-voltage component is greater than the set energy consumption value. If so, it can be determined that the low-voltage component is abnormal; otherwise, it is not abnormal. It can be understood that the set energy consumption value can be different for different low-voltage components, or of course the same, and the specific value can be set according to the actual situation.
[0090] When the low-voltage component is abnormal, it can output corresponding prompt messages to the display terminal of the vehicle. The prompt messages can include information such as the name of the abnormal low-voltage component and the abnormal energy consumption. By monitoring the abnormal energy consumption conditions of the low-voltage components to output prompt messages, the user can be timely reminded to discover the abnormal low-voltage components and ensure the safety of the vehicle.
[0091] In the above implementation process, by obtaining the working parameters of each low-voltage component in the vehicle, the working parameters include the working voltage and working current of the low-voltage component. The working parameters can be obtained by real-time measurement or recorded by the corresponding devices in the vehicle. Then, the actual energy consumption of the corresponding low-voltage component is calculated according to the working parameters of each low-voltage component, and the abnormality of the low-voltage component is judged according to the actual energy consumption. In this way, the working parameters of the low-voltage components in the vehicle can be automatically obtained for energy consumption calculation and abnormality judgment, which can improve the accuracy. And in this solution, the energy consumption of each low-voltage component in the vehicle can be monitored, and the low-voltage components with abnormal energy consumption can be identified in time, improving the safety of the vehicle.
[0092] The following introduces the implementation manner of obtaining the actual energy consumption of each low-voltage component.
[0093] The actual energy consumption of the low-voltage component refers to the actual energy consumption during a certain period. Therefore, the actual energy consumption of the corresponding low-voltage component during the target period can be obtained according to the working parameters of each low-voltage component during the target period.
[0094] Among them, the target period can refer to a specified period, such as the single-cycle period from vehicle power-on to power-off, or the entire life cycle from vehicle power-on after factory to the current moment, or it can also be the period from vehicle power-on to the current moment, etc. The target period can be flexibly defined according to the requirements of energy consumption monitoring in actual applications.
[0095] The working parameters of each low-voltage device in the vehicle may change. If the working parameters of each recorded low-voltage device are obtained, the working parameters that change at each moment of each low-voltage device can be recorded. For example, if the working voltage and / or working current change, they can all be obtained through record query. If the working parameters within the target period need to be obtained, the working parameters of each low-voltage device within the target period can be obtained by setting query conditions, or the working parameters of each low-voltage device within the target period can be measured.
[0096] If the working parameters of a certain low-voltage device change within the target period, for example, its working voltage is U1 and working current is I1 in period a, and its working voltage is U2 and working current is I2 in period b, then the energy consumption in its two periods can be calculated respectively, and then the energy consumption in the two periods can be added to obtain the actual energy consumption of the low-voltage device within the target period. For example, the actual energy consumption of the low-voltage device within the target period = U1 * I1 * a + U2 * I2 * b.
[0097] In the above implementation process, the actual energy consumption of each low-voltage device within the corresponding period can be obtained according to the requirements, and then the energy consumption in different periods can be monitored flexibly.
[0098] On the basis of the above embodiments, in order to monitor the energy consumption of each low-voltage device within a single-cycle period, the target period can include the single-cycle period from vehicle power-on to power-off. When calculating its energy consumption, the target period can be divided into multiple sub-periods, and then the working parameters of each low-voltage device in each sub-period of the vehicle can be obtained. Then, according to the working parameters of each low-voltage device in each sub-period, the energy consumption of the corresponding low-voltage device in each sub-period can be obtained, and then the energy consumption of the corresponding low-voltage device in each sub-period can be added to obtain the actual energy consumption of the corresponding low-voltage device within the single-cycle period.
[0099] Among them, the single-cycle period here refers to the period from each vehicle power-on to power-off. Dividing the target period into multiple sub-periods here can be divided according to the period of working parameter change, or can be equally spaced, such as one minute as a sub-period, or can also be manually divided according to requirements. The specific division method can be flexibly defined according to the actual situation.
[0100] The calculation formula for the actual energy consumption of the i-th low-voltage device within the single-cycle period is as follows:
[0101] E cyc = A i1 * V i1 * t i1 + A i2 * V i2 * t i2 +...+ A in * V in * t in ;
[0102] Wherein, E cyc represents the actual energy consumption of the i-th low-voltage device, A in represents the working current of the i-th low-voltage device in the n-th sub-period (if the working current changes during this sub-period, it can refer to the average working current), V in represents the working voltage of the i-th low-voltage device in the n-th sub-period (if the working voltage changes during this sub-period, it can refer to the average working voltage), t in represents the n-th sub-period of the i-th low-voltage device, and n represents the number of divided sub-periods.
[0103] In the above implementation process, it is possible to monitor the energy consumption of each low-voltage device in a vehicle during a single cycle period, and divide the single cycle period into multiple sub-periods to calculate the energy consumption. In this way, the energy consumption fluctuation of the low-voltage device can be known, and then a more accurate energy consumption can be obtained.
[0104] On the basis of the above embodiments, in order to more accurately monitor the abnormal conditions of each low-voltage device, the actual load rate of the corresponding low-voltage device during a single cycle period can also be calculated according to the actual energy consumption of the corresponding low-voltage device during a single cycle period and the total energy consumption of multiple low-voltage devices during a single cycle period. Then, the abnormal conditions of the corresponding low-voltage device can be judged according to the actual load rate of each low-voltage device during a single cycle period.
[0105] Among them, calculating the actual load rate of each low-voltage device can reflect the energy consumption ratio of the corresponding low-voltage device, so that the abnormal conditions of a certain low-voltage device can be observed.
[0106] The calculation formula for the actual load rate of a certain low-voltage device during a single cycle period is as follows:
[0107] P cyc = E cyc / E cyc(DCDC+Battery) ;
[0108] Wherein, P cyc represents the actual load rate of one of the low-voltage devices, E cyc represents the actual energy consumption of the low-voltage device during a single cycle period, Ecyc(DCDC+Battery) Represents the total energy consumption of multiple low-voltage devices during a single cycle period, which is equal to the sum of the actual energy consumptions of each of the multiple low-voltage devices during the single cycle period.
[0109] In this way, the actual load rate of each low-voltage device during a single cycle period can be obtained, so that the actual load conditions of each low-voltage device can be known. Subsequently, abnormal judgment can be carried out. For example, if it is found that the actual load rate of a certain low-voltage device is greater than the set load rate, then it can be considered that there may be an abnormality in this low-voltage device, and the user can be reminded to perform maintenance. Otherwise, it is considered normal. The set load rate here can be set separately for each low-voltage device. For example, the set load rates corresponding to each low-voltage device can be different. Of course, a same set load rate can also be set uniformly.
[0110] In the above implementation process, by obtaining the actual load rates of each low-voltage device during a single cycle period, the monitoring of the actual load rates of the low-voltage devices can be realized. Furthermore, abnormal detection of the low-voltage devices can be achieved through the actual load rates.
[0111] On the basis of the above embodiments, energy consumption monitoring of the whole life cycle of each low-voltage device can also be carried out. Then the above target period can include the whole life cycle period of the vehicle from the first power-on moment to the current moment. The whole life cycle period is divided into multiple single cycle periods of the vehicle from power-on to power-off. That is, the whole life cycle includes multiple single cycle periods. When calculating the actual energy consumption of each low-voltage device, the energy consumption of the corresponding low-voltage device during a single cycle period can be obtained according to the working parameters of each low-voltage device during each single cycle period, and then the energy consumptions of the corresponding low-voltage device during the single cycle periods are added together to calculate the actual energy consumption of the corresponding low-voltage device during the whole life cycle period.
[0112] Among them, the whole life cycle period here refers to the period of the vehicle from the first power-on after leaving the factory to the current moment. If the vehicle has not been powered off at the current moment, then the whole life cycle period can include multiple single cycle periods before the current moment and the period from the vehicle power-on to the current moment in the current single cycle.
[0113] After calculating the actual energy consumption of each low-voltage device in each single cycle period as described above, its actual energy consumption can be saved. For example, for a certain low-voltage device, the actual energy consumptions in 5 single cycle periods are calculated. Then its actual energy consumption during the whole life cycle period is the sum of the actual energy consumptions in these 5 single cycle periods. Or the sum of the actual energy consumptions of this low-voltage device in all periods calculated before can also be used as its actual energy consumption during the whole life cycle period. In this way, energy consumption monitoring of the whole life cycle of each low-voltage device can be carried out.
[0114] On the basis of the above embodiments, in order to monitor the load rate of each low-voltage device throughout its life cycle, the actual load rate of the corresponding low-voltage device during the full life cycle period can also be calculated according to the actual energy consumption of the corresponding low-voltage device during the full life cycle period and the total energy consumption of multiple low-voltage devices during the full life cycle period. Then, the abnormal conditions of the corresponding low-voltage devices can be judged according to the actual load rates of the respective low-voltage devices during the full life cycle period.
[0115] The total energy consumption of multiple low-voltage devices during the full life cycle period refers to the sum value of the actual energy consumptions of multiple low-voltage devices during the full life cycle period. For example, to calculate the actual load rate of a certain low-voltage device during the full life cycle period, its calculation formula is similar to the above formula for calculating the actual load rate of a low-voltage device during a single cycle period, which is to divide its actual energy consumption during the full life cycle period by the total energy consumption of multiple low-voltage devices during the full life cycle period, and the obtained value is the actual load rate.
[0116] In this way, the actual load rate of each low-voltage device during the full life cycle period can be obtained, so that the actual load conditions of each low-voltage device can be known. Furthermore, subsequent abnormal judgments can be made. For example, if it is found that the actual load rate of a certain low-voltage device during the full life cycle period is greater than the preset load rate, then it can be considered that the low-voltage device may be abnormal, and the user can be reminded to perform maintenance. Otherwise, it is considered normal. The preset load rate here can be set separately for each low-voltage device. For example, the preset load rates corresponding to each low-voltage device can be different. Of course, a same preset load rate can also be set uniformly. It can be understood that the preset load rate here may be different from the set load rate during the load rate judgment in the above single cycle period.
[0117] In the above implementation process, by obtaining the actual load rates of each low-voltage device during the full life cycle period, the monitoring of the actual load rates of the low-voltage devices can be realized, and then the abnormal detection of the low-voltage devices can be realized through the actual load rates.
[0118] In some other implementation manners, the abnormal conditions can be judged by combining the actual energy consumption and the actual load rate of the low-voltage device. For example, if the actual energy consumption during the single cycle period or the full life cycle period is greater than the set energy consumption value of the corresponding period and the actual load rate during the single cycle period or the full life cycle period is greater than the set load rate of the corresponding period, it is determined that the low-voltage device is abnormal. Otherwise, it is considered normal.
[0119] On the basis of the above embodiments, in order to more accurately identify the low-voltage devices with abnormal energy consumption, according to the working parameters of each low-voltage device, the sliding average filtering algorithm can be used to calculate the average energy consumption of the corresponding low-voltage device in each sampling period, and the average energy consumption in each sampling period is used as the actual energy consumption of the low-voltage device in that sampling period.
[0120] Here, it can be understood that the target time period is a sampling period. The principle of the moving average filtering algorithm can be understood as taking the current sampling value and multiple past sampling values together to calculate the average value. In the next sampling period, the first sampling value of the previous sampling period is removed, and then the sampling value of the current sampling period is added to calculate the average value. The moving average filtering algorithm has good real-time performance, so it can achieve real-time energy consumption detection. Its implementation principle is as Figure 3 shown ( Figure 3 the loop in
[0121] refers to the sampling period). i For example, in this solution, 10-fold moving average filtering is adopted, and the average energy consumption e within 30 s i is used as the signal input of the moving average filtering algorithm. Based on the moving average filtering algorithm, the total average energy consumption E of 10 sampling values within the sampling period is calculated Figure 4 as shown, and the energy consumption difference F between the i-th sampling period and the previous sampling period can also be obtained i , F i The smaller the value, the smaller the change in the working parameters of the low-voltage device, indicating that the low-voltage device is working properly.
[0122] The implementation steps of the moving average filtering algorithm are as follows:
[0123] (1) Adopt 10-fold moving average filtering (of course, the multiple can be set according to the actual situation), and the calculation formula is E1 represents the average energy consumption of the first sampling period. For example, if the sampling period is 5 minutes, e i represents the average energy consumption every 30 s within 5 minutes.
[0124] (2) Take the average energy consumption of the low-voltage device within 30 s as the signal input. In the next sampling period, the first sampling value of the previous sampling period is removed, and then the first sampling value of the current sampling period is added to calculate the average value. That is to say, for example, 10 sampling values (obtaining these 10 values from e1 to e 10 ) are collected in the first sampling period, and then their average energy consumption is calculated. When calculating the average energy consumption of the second sampling period, the sampling value e 11 is collected within the second sampling period, and then the average energy consumption of these 10 sampling values from e2 to e 11 is calculated.
[0125] (3) Solve the total average energy consumption of 10 sampling values within the current sampling period, and its calculation formula is The energy consumption difference F i = E i - E i-1 , where E i is the total average energy consumption of the i-th sampling period, Fi is the difference in energy consumption between the i-th sampling period and the previous sampling period.
[0126] In the above implementation process, since the moving average filtering algorithm has a good inhibitory effect on periodic interference and high smoothness, using the moving average filtering algorithm to obtain the actual energy consumption of each low-voltage device within the target period can effectively eliminate the influence of noise on energy consumption calculation and has higher accuracy.
[0127] Based on the above embodiments, in order to monitor the energy consumption of each low-voltage device, when the vehicle records the working parameters of each low-voltage device, the identification of the low-voltage device (such as identity identification information such as name) can be stored after establishing a corresponding correspondence with its working parameters, so as to facilitate targeted acquisition of the working parameters of the corresponding low-voltage device for energy consumption calculation. And after calculating the energy consumption, the identification of the low-voltage device can be stored after establishing a correspondence with its actual energy consumption, so that the energy consumption of specific low-voltage devices can be monitored specifically.
[0128] Based on the above embodiments, in order to enable users to know the energy consumption of each low-voltage device in a timely manner, the actual energy consumption of each low-voltage device can also be output to the display terminal, user terminal, and / or cloud of the vehicle for display.
[0129] Its actual energy consumption can be real-time energy consumption, or the actual energy consumption of a single cycle period, or the actual energy consumption of the entire life cycle period, or the average energy consumption within a single sampling period, or all these energy consumptions can be output to each terminal for display. In this way, the energy consumption of each low-voltage device can be known from multiple devices, and the energy consumption monitoring of each low-voltage device can be realized.
[0130] Of course, the above method of calculating energy consumption through the moving average filtering algorithm requires a large amount of computing resources, so it can be calculated by the cloud, and the cloud can identify energy consumption anomalies. The overall implementation block diagram can be as Figure 5 shown.
[0131] In some other implementation manners, the actual energy consumption of the low-voltage device in each sampling period can also be combined to judge its abnormal situation, including the following several methods:
[0132] Method 1: If the average energy consumption in a sampling period among multiple sampling periods is greater than the set energy consumption, it is determined that the corresponding low-voltage device has an energy consumption anomaly.
[0133] For example, after obtaining the average energy consumption of a certain low-voltage device in one sampling period, compare its average energy consumption with the set energy consumption. If the average energy consumption in a certain sampling period is greater than the set energy consumption, it is considered that the low-voltage device has abnormal energy consumption. At this time, a prompt message can be output. If its average energy consumption is less than or equal to the set energy consumption, it can be considered that its energy consumption is normal.
[0134] Understandably, the set energy consumption here can be a standard energy consumption value set for all low-voltage devices, or a set energy consumption can be set for each low-voltage device.
[0135] Method 2: If the difference between the average energy consumption in the i-th sampling period and the average energy consumption in the (i - 1)-th sampling period among multiple sampling periods is greater than the set difference, it is determined that the corresponding low-voltage device has abnormal energy consumption.
[0136] The difference between the average energy consumptions here is the F in the above embodiment. i , after obtaining the average energy consumption of each sampling period of the low-voltage device, compare the difference between its average energy consumption and the average energy consumption of the low-voltage device in the previous sampling period. If the difference is greater than the set difference, such as F i = E i -E i-1 > F, where F represents the set difference, it means that its energy consumption change is large, then it can be considered that the low-voltage device has abnormal energy consumption. At this time, a prompt message can be output, otherwise the energy consumption is normal.
[0137] Among them, the specific value of the set difference F can be flexibly set according to the actual situation.
[0138] Method 3: If the difference between the average energy consumption in the i-th sampling period and the average energy consumption in the (i - 1)-th sampling period among multiple sampling periods exceeds the set number, it is determined that the corresponding low-voltage device has abnormal energy consumption.
[0139] In this method, for example, after obtaining the average energy consumption of each sampling period of the low-voltage device, compare the difference between its average energy consumption and the average energy consumption of the low-voltage device in the previous sampling period. If the difference is greater than the set difference, it will not directly determine that its energy consumption is abnormal at this time. The number of differences greater than the set difference can also be continuously counted. For example, when counting to the 6th sampling period, 4 differences are greater than the set difference. If the set number is set to 3, it can be determined that the low-voltage device has abnormal energy consumption at this time.
[0140] Method 4: If there are more than the set number of consecutive differences between the average energy consumption in the i-th sampling period and the average energy consumption in the (i - 1)-th sampling period among multiple sampling periods that are greater than the set difference, it is determined that the corresponding low-voltage device has abnormal energy consumption.
[0141] The difference between Method 4 and the above-mentioned Method 3 is that in Method 4, continuous judgment is required. For example, when the Nth sampling period is counted, if there are continuously x differences that are all greater than the set difference (such as the set quantity is set to x, for example, from the ith difference to the i + x - 1th difference, such as from the 1st difference to the 4th difference, or from the 2nd difference to the 5th difference are all greater than the set difference), it can be determined at this time that the low-voltage device has abnormal energy consumption.
[0142] It can be understood that the set quantity in Method 3 and Method 4 can be flexibly set according to the actual situation, and different set quantities can be set for each low-voltage device, or the same set quantity can also be set.
[0143] On the basis of the above embodiments, since the low-voltage device may involve a change in its working mode during the engineering process, such as an air-conditioning system, its energy consumption is also different under different working modes. Therefore, when judging the abnormal situation of the low-voltage device, the working mode of the corresponding low-voltage device can also be obtained, and then the abnormal situation of the corresponding low-voltage device can be judged according to the actual energy consumption of the corresponding low-voltage device under the working mode.
[0144] For example, in the above method of judging abnormal situations, it can also be combined with the working mode for judgment. For example, the comparison thresholds set under different working modes are different, such as the above-mentioned set energy consumption, set difference, set quantity, etc. These comparison thresholds can be set differently under different working modes. Therefore, the working mode of the low-voltage device can be obtained first, and then the comparison threshold under this working mode can be obtained, and then the above method can be used for abnormal identification, such as judging the abnormal situation of the corresponding low-voltage device according to the actual energy consumption of the corresponding low-voltage device under its working mode. Of course, here the actual load rate of the corresponding low-voltage device under its working mode can also be obtained to judge the abnormal situation of the corresponding low-voltage device.
[0145] In the above implementation process, since the energy consumption of the low-voltage device may change under different working modes, when judging abnormalities, it is also combined with the actual energy consumption under its working mode for judgment, and the accuracy is higher.
[0146] On the basis of the above embodiments, when the vehicle starts to be powered on, the working parameters of its various low-voltage devices may be unstable. Therefore, the working parameters of each low-voltage device can be obtained after each low-voltage device of the vehicle has worked for a preset duration.
[0147] For example, the low-voltage energy distribution module in the vehicle records the working parameters of each low-voltage device in real time after the vehicle is powered on, and when calculating the energy consumption, the working parameters after the preset duration can be obtained. At this time, the recorded working parameters can be relatively stable values.
[0148] Alternatively, the operating parameters involved in the energy consumption calculation are the operating parameters of the low-voltage device after a preset working duration in the current operating mode. This is because a change in the operating mode will cause a sudden change in energy consumption. Therefore, abnormal identification of the low-voltage device needs to be carried out under a constant operating mode.
[0149] For example, in the above method of calculating energy consumption using the moving average filtering algorithm, after the operating mode of the low-voltage device changes, resampling is performed. Then, after the low-voltage device has worked for a preset duration in the current operating mode and its operating parameters are obtained, energy consumption calculation can be carried out. That is, when the current operating mode changes, the operating parameters of the low-voltage device will change, and the historical data of the moving average filtering algorithm is no longer applicable. At this time, the moving average filtering algorithm is restarted based on the current operating mode for abnormal identification.
[0150] In the above implementation process, the operating state of the low-voltage device may be unstable during its initial operation, and the obtained operating parameters may be inaccurate. Therefore, obtaining the operating parameters after a preset working duration has higher accuracy.
[0151] Therefore, this solution can monitor the energy consumption of each low-voltage device and identify abnormal energy consumption, and can display the real-time energy consumption, single-cycle energy consumption, and / or full-life-cycle energy consumption of each low-voltage device on the vehicle display terminal, user terminal, and / or cloud in real time or at regular intervals, realizing a refined display of energy consumption. Moreover, when an energy consumption abnormality occurs in the low-voltage device, it can be detected in time and the user can be reminded to achieve the effects of energy saving and high safety.
[0152] Please refer to Figure 6 , Figure 6 FIG. Figure 1 is a structural block diagram of a device abnormality detection device 200 provided in an embodiment of the present application. The device 200 may be a module, program segment, or code on an electronic device. It should be understood that the device 200 corresponds to the above Figure 1 method embodiment and can execute
[0153] Each step involved in the method embodiment. The specific functions of the device 200 can be referred to the description above. To avoid repetition, the detailed description is appropriately omitted here.
[0154] An operating parameter acquisition module 210, configured to acquire the operating parameters of each low-voltage device in the vehicle, where the operating parameters include the operating voltage and operating current of the corresponding low-voltage device;
[0155] An energy consumption calculation module 220, configured to calculate the actual energy consumption of the corresponding low-voltage device according to the operating parameters of each low-voltage device;
[0156] An abnormality determination module 230, configured to determine the abnormality of the corresponding low-voltage device according to the actual energy consumption of each low-voltage device.
[0157] Optionally, the energy consumption calculation module 220 is configured to obtain the actual energy consumption of the corresponding low-voltage device during the target period according to the operating parameters of each low-voltage device during the target period.
[0158] Optionally, the target period includes a single cycle period from when the vehicle is powered on to when it is powered off. The target period is divided into multiple sub-periods. The operating parameter acquisition module 210 is configured to acquire the operating parameters of each low-voltage device of the vehicle during each sub-period; the energy consumption calculation module 220 is configured to obtain the energy consumption of the corresponding low-voltage device during each sub-period according to the operating parameters of each low-voltage device during each sub-period; and add up the energy consumption of the corresponding low-voltage device during each sub-period to obtain the actual energy consumption of the corresponding low-voltage device during the single cycle period.
[0159] Optionally, the device 200 further includes:
[0160] A load rate calculation module, configured to calculate the actual load rate of the corresponding low-voltage device during the single cycle period according to the actual energy consumption of the corresponding low-voltage device during the single cycle period and the total energy consumption of multiple low-voltage devices during the single cycle period;
[0161] The abnormality determination module 230 is further configured to determine the abnormality condition of the corresponding low-voltage device according to the actual load rate of each low-voltage device during the single cycle period.
[0162] Optionally, the target period includes the entire life cycle period of the vehicle from the first power-on moment to the current moment. The entire life cycle period is divided into multiple single cycle periods from when the vehicle is powered on to when it is powered off. The energy consumption calculation module 220 is configured to obtain the energy consumption of the corresponding low-voltage device during the single cycle period according to the operating parameters of each low-voltage device during each single cycle period; and add up the energy consumption of the corresponding device during the single cycle period to calculate the actual energy consumption of the corresponding low-voltage device during the entire life cycle period.
[0163] Optionally, the device 200 further includes:
[0164] A load rate calculation module, configured to calculate the actual load rate of the corresponding low-voltage device during the entire life cycle period according to the actual energy consumption of the corresponding low-voltage device during the entire life cycle period and the total energy consumption of multiple low-voltage devices during the entire life cycle period;
[0165] The abnormality determination module 230 is further configured to determine the abnormality condition of the corresponding low-voltage device according to the actual load rate of each low-voltage device during the entire life cycle period.
[0166] Optionally, the energy consumption calculation module 220 is configured to calculate, according to the working parameters of each low-voltage device, the average energy consumption of the corresponding low-voltage device in each sampling period by using a moving average filtering algorithm, and use the average energy consumption in each sampling period as the actual energy consumption of the low-voltage device in that sampling period.
[0167] Optionally, the anomaly determination module 230 is configured to determine that an energy consumption anomaly occurs in the corresponding low-voltage device if the average energy consumption in a sampling period among multiple sampling periods is greater than the set energy consumption; or, determine that an energy consumption anomaly occurs in the corresponding low-voltage device if the difference between the average energy consumption in the i-th sampling period and the average energy consumption in the (i - 1)-th sampling period among multiple sampling periods is greater than the set difference; or, determine that an energy consumption anomaly occurs in the corresponding low-voltage device if the difference between the average energy consumption in the i-th sampling period and the average energy consumption in the (i - 1)-th sampling period is greater than the set difference in more than the set number of sampling periods among multiple sampling periods; or, determine that an energy consumption anomaly occurs in the corresponding low-voltage device if the difference between the average energy consumption in the i-th sampling period and the average energy consumption in the (i - 1)-th sampling period is greater than the set difference in more than the set number of consecutive sampling periods among multiple sampling periods.
[0168] Optionally, the anomaly determination module 230 is configured to obtain the working mode of the corresponding low-voltage device; and determine the anomaly situation of the corresponding low-voltage device according to the actual energy consumption of the corresponding low-voltage device in the working mode.
[0169] Optionally, the working parameter acquisition module 210 is configured to acquire the working parameters of each low-voltage device after each low-voltage device in the vehicle has worked for a preset duration.
[0170] Optionally, the device 200 further includes:
[0171] An output module, configured to output the actual energy consumption of each low-voltage device to a display terminal, a user terminal, and / or the cloud of the vehicle for display.
[0172] Optionally, the working parameter acquisition module 210 is configured to acquire the working parameters of each low-voltage device recorded by a low-voltage energy distribution module in the vehicle, where the low-voltage energy distribution module is configured to feed back the working parameters requested by each low-voltage device to a DCDC converter, and the DCDC converter supplies power corresponding to the working parameters to each low-voltage device.
[0173] It should be noted that those skilled in the art can clearly understand that, for the sake of convenience and brevity of description, the specific working processes of the above-described device can refer to the corresponding processes in the foregoing method embodiments, and will not be described herein again.
[0174] Please refer to Figure 7 , Figure 7Schematic structural diagram of an electronic device for implementing a device anomaly detection method provided by an embodiment of the present application. The electronic device may include: at least one processor 310, such as a CPU, at least one communication interface 320, at least one memory 330, and at least one communication bus 340. Among them, the communication bus 340 is used to enable connection communication between these components. Among them, the communication interface 320 of the device in the embodiment of the present application is used to communicate signaling or data with other node devices. The memory 330 may be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. Optionally, the memory 330 may also be at least one storage device located far from the aforementioned processor. The memory 330 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 310, the electronic device executes the above Figure 1 shown method process.
[0175] It can be understood that Figure 7 the structure shown is only schematic, and the electronic device may further include more or fewer components than Figure 7 shown in, or have a different configuration from Figure 7 shown in. Figure 7 Each component shown in can be implemented by hardware, software, or a combination thereof.
[0176] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it executes the method process executed by the electronic device in the method embodiment as Figure 1 shown.
[0177] This embodiment discloses a computer program product. The computer program product includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided by the above method embodiments. For example, it includes:
[0178] Obtain the working parameters of each low-voltage device in the vehicle, where the working parameters include the working voltage and working current of the corresponding low-voltage device;
[0179] Calculate the actual energy consumption of the corresponding low-voltage device according to the working parameters of each low-voltage device;
[0180] Judge the anomaly situation of the corresponding low-voltage device according to the actual energy consumption of each low-voltage device.
[0181] In summary, the embodiments of the present application provide a method, apparatus, electronic device, and storage medium for detecting device anomalies. The method obtains the operating parameters of each low-voltage device in a vehicle, where the operating parameters include the operating voltage and operating current of each low-voltage device, and then calculates the actual energy consumption of the corresponding low-voltage device based on the operating parameters of each low-voltage device, and determines whether there is an anomaly in the low-voltage device based on the actual energy consumption. In this way, the operating parameters of the low-voltage devices in the vehicle can be automatically obtained for energy consumption calculation and anomaly determination, which can improve the accuracy. Moreover, in this solution, the energy consumption of each low-voltage device in the vehicle can be monitored, and low-voltage devices with abnormal energy consumption can be identified in a timely manner, improving vehicle safety.
[0182] In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces, and the indirect coupling or communication connection of the apparatus or unit may be in an electrical, mechanical, or other form.
[0183] In addition, the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0184] Furthermore, in each embodiment of the present application, the functional modules can be integrated together to form an independent part, or each module can exist alone, or two or more modules can be integrated to form an independent part.
[0185] In this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.
[0186] The above are only the embodiments of the present application and are not used to limit the protection scope of the present application. For those skilled in the art, the present application can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A device abnormality detection method, characterized in that, The method includes: Obtaining the operating parameters of each low-voltage device in the vehicle, where the operating parameters include the operating voltage and operating current of the corresponding low-voltage device; Calculating the actual energy consumption of the corresponding low-voltage device according to the operating parameters of each low-voltage device; Judging the abnormal situation of the corresponding low-voltage device according to the actual energy consumption of each low-voltage device.
2. The method according to claim 1, wherein The calculating the actual energy consumption of the corresponding low-voltage device according to the operating parameters of each low-voltage device includes: Obtaining the actual energy consumption of the corresponding low-voltage device during the target period according to the operating parameters of each low-voltage device during the target period.
3. The method according to claim 2, characterized in that The target period includes a single cycle period from the vehicle power-on to power-off, and the target period is divided into multiple sub-periods. The obtaining the operating parameters of each low-voltage device in the vehicle includes: Obtaining the operating parameters of each low-voltage device in the vehicle during each sub-period; The obtaining the actual energy consumption of the corresponding low-voltage device during the target period according to the operating parameters of each low-voltage device during the target period includes: Obtaining the energy consumption of the corresponding low-voltage device during each sub-period according to the operating parameters of each low-voltage device during each sub-period; Adding up the energy consumption of the corresponding low-voltage device during each sub-period to obtain the actual energy consumption of the corresponding low-voltage device during the single cycle period.
4. The method according to claim 3, characterized in that, After adding up the energy consumption of the corresponding low-voltage device during each sub-period to obtain the actual energy consumption of the corresponding low-voltage device during the single cycle period, it further includes: Calculating the actual load rate of the corresponding low-voltage device during the single cycle period according to the actual energy consumption of the corresponding low-voltage device during the single cycle period and the total energy consumption of multiple low-voltage devices during the single cycle period; Judging the abnormal situation of the corresponding low-voltage device according to the actual load rate of each low-voltage device during the single cycle period.
5. The method according to claim 2, characterized in that The target period includes the entire life cycle period of the vehicle from the first power-on moment to the current moment, and the entire life cycle period is divided into multiple single cycle periods from the vehicle power-on to power-off. The obtaining the actual energy consumption of the corresponding low-voltage device during the target period according to the operating parameters of each low-voltage device during the target period includes: Obtaining the energy consumption of the corresponding low-voltage device during the single cycle period according to the operating parameters of each low-voltage device during each single cycle period; Adding up the energy consumption of the corresponding device during the single cycle period to calculate the actual energy consumption of the corresponding low-voltage device during the entire life cycle period.
6. The method according to claim 5, characterized in that, After adding up the energy consumption of the corresponding device during the single cycle period to calculate the actual energy consumption of the corresponding low-voltage device during the entire life cycle period, it further includes: Calculating the actual load rate of the corresponding low-voltage device during the entire life cycle period according to the actual energy consumption of the corresponding low-voltage device during the entire life cycle period and the total energy consumption of multiple low-voltage devices during the entire life cycle period; Judging the abnormal situation of the corresponding low-voltage device according to the actual load rate of each low-voltage device during the entire life cycle period.
7. The method according to claim 2, characterized in that The obtaining the actual energy consumption of the corresponding low-voltage device during the target period according to the operating parameters of each low-voltage device during the target period includes: According to the operating parameters of each low-voltage device, the average energy consumption of the corresponding low-voltage device in each sampling period is calculated using a moving average filtering algorithm, and the average energy consumption in each sampling period is used as the actual energy consumption of the low-voltage device in that sampling period.
8. The method according to claim 7, characterized in that The determination of the abnormal conditions of the corresponding low-voltage device based on the actual energy consumption of each low-voltage device includes: If the average energy consumption in a sampling period among multiple sampling periods is greater than the set energy consumption, it is determined that the corresponding low-voltage device has an abnormal energy consumption; Or, If the difference between the average energy consumption in the i-th sampling period and the average energy consumption in the (i - 1)-th sampling period among multiple sampling periods is greater than the set difference, it is determined that the corresponding low-voltage device has an abnormal energy consumption; Or, If the difference between the average energy consumption in the i-th sampling period and the average energy consumption in the (i - 1)-th sampling period is greater than the set difference in more than the set number of sampling periods among multiple sampling periods, it is determined that the corresponding low-voltage device has an abnormal energy consumption; Or, if the difference between the average energy consumption in the i-th sampling period and the average energy consumption in the (i - 1)-th sampling period is greater than the set difference in more than the set number of consecutive sampling periods among multiple sampling periods, it is determined that the corresponding low-voltage device has an abnormal energy consumption.
9. The method according to claim 1, characterized in that The determination of the abnormal conditions of the corresponding low-voltage device based on the actual energy consumption of each low-voltage device includes: Obtain the operating mode of the corresponding low-voltage device; Judge the abnormal conditions of the corresponding low-voltage device according to the actual energy consumption of the corresponding low-voltage device in the operating mode.
10. The method according to any one of claims 1-9, characterized in that, The obtaining of the operating parameters of each low-voltage device in the vehicle includes: After each low-voltage device in the vehicle has worked for a preset duration, obtain the operating parameters of each low-voltage device.
11. The method according to any one of claims 1-9, characterized in that After calculating the actual energy consumption of the corresponding low-voltage device according to the operating parameters of each low-voltage device, it further includes: Output the actual energy consumption of each low-voltage device to the display terminal, user terminal, and / or cloud of the vehicle for display.
12. The method according to any one of claims 1-9, characterized in that, The obtaining of the operating parameters of each low-voltage device in the vehicle includes: Obtain the operating parameters of each low-voltage device recorded by the low-voltage energy distribution module in the vehicle, where the low-voltage energy distribution module is used to feedback the operating parameters requested by each low-voltage device to the DCDC converter, and the DCDC converter supplies power corresponding to the operating parameters for each low-voltage device.
13. A device abnormality detection device, characterized in that, The device includes: An operating parameter acquisition module, configured to acquire the operating parameters of each low-voltage device in the vehicle, where the operating parameters include the operating voltage and operating current of the corresponding low-voltage device; An energy consumption calculation module, configured to calculate the actual energy consumption of the corresponding low-voltage device according to the operating parameters of each low-voltage device; An abnormality judgment module, configured to judge the abnormal conditions of the corresponding low-voltage device according to the actual energy consumption of each low-voltage device.
14. An electronic device, characterized in that, It includes a processor and a memory, and the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the method described in any one of claims 1 - 12 is run.
15. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the method described in any one of claims 1 - 12 is run.