Electric quantity loss evaluation method and device, electronic equipment and storage medium
By dividing the quiescent current process after the vehicle is powered down into multiple power consumption stages, collecting and calculating the power loss in each stage, the problem of power loss caused by the vehicle's quiescent current is solved, and the evaluation accuracy and user experience are improved.
Patent Information
- Application Number
- CN202411856875.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2025-03-28
AI Technical Summary
The excessive quiescent current of the vehicle in the dormant state leads to power loss, which may lead to battery losses and cause the problem of the vehicle being unable to start.
By dividing the quiescent current process generated after the vehicle is powered down into multiple power consumption stages, instantaneous quiescent current is collected separately, the effective quiescent current for each stage is determined, and the power loss is calculated based on the effective quiescent current and duration.
It improves the accuracy of power consumption evaluation, prevents the battery from losing power in advance, and optimizes the user experience.
Smart Images

Figure CN119716238A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of automobile technology, and in particular relates to a method, device, electronic device and storage medium for evaluating power loss. Background Art
[0002] With the development of new energy and intelligent technology, vehicles are equipped with more and more functions, and the control accuracy requirements for vehicle electronic safety control, new energy control, intelligent driving control and other functions are also increasing. Therefore, in order to ensure the control accuracy of the vehicle, the layout density of electronic and electrical components in the vehicle has also increased dramatically.
[0003] However, when the vehicle is in dormant mode, these electronic and electrical components will generate a large amount of static current, resulting in power loss. Therefore, when the static current is too large, it will consume a large amount of power in the battery, which may cause battery failure and cause the vehicle to fail to start.
[0004] Therefore, a method to accurately evaluate static power loss is urgently needed. Summary of the invention
[0005] The purpose of the present application is to provide a power loss assessment method, device, electronic device and storage medium, aiming to solve the problem of inaccurate traditional static power loss assessment.
[0006] A first aspect of an embodiment of the present application provides a method for evaluating power loss, the method comprising:
[0007] For the target power-off scenario, according to different power consumption stages after the vehicle is powered off, the static current of the vehicle after being powered off is sampled to obtain multiple instantaneous static currents corresponding to each power consumption stage;
[0008] For each power consumption stage, determining the effective static current corresponding to each power consumption stage according to a plurality of instantaneous static currents corresponding to the power consumption stage;
[0009] Determining the power loss generated by the vehicle during the maximum parking time of the target power-off scenario according to each effective static current and the duration of each power consumption stage;
[0010] An off-power power consumption assessment is performed on the vehicle according to the power loss.
[0011] In some embodiments, the evaluating the power consumption of the vehicle when it is powered off according to the power loss includes:
[0012] Determine the battery capacity of the vehicle and the minimum battery capacity required to start the vehicle;
[0013] If the difference between the offline battery power and the power consumption is greater than the minimum battery power required for starting the vehicle, it is determined that the vehicle meets the offline power consumption condition.
[0014] In some embodiments, the evaluating the power consumption of the vehicle when it is powered off according to the power loss includes:
[0015] When there are multiple target power-off scenarios, determining the maximum power loss from the power losses generated during the maximum parking time of the multiple target power-off scenarios;
[0016] An off-power power consumption assessment is performed on the vehicle according to the maximum power loss.
[0017] In some embodiments, sampling the static current of the vehicle after it is powered off according to different power consumption stages after the vehicle is powered off to obtain multiple instantaneous static currents corresponding to each power consumption stage includes:
[0018] For each power consumption stage, determining a sampling interval corresponding to the power consumption stage;
[0019] Based on the sampling interval corresponding to each power consumption stage, static current sampling is performed in the power consumption stage to obtain multiple instantaneous static currents corresponding to the power consumption stage.
[0020] In some embodiments, based on the sampling interval corresponding to each power consumption stage, performing static current sampling in the power consumption stage to obtain multiple instantaneous static currents corresponding to the power consumption stage includes:
[0021] determining a preset sampling interval deviation;
[0022] Based on the sampling interval deviation, randomly adjusting the sampling interval in the power consumption stage;
[0023] Based on the adjusted sampling interval, static current sampling is performed in the power consumption stage to obtain multiple instantaneous static currents corresponding to the power consumption stage.
[0024] In some embodiments, determining the effective static current corresponding to each power consumption stage according to the multiple instantaneous static currents corresponding to the power consumption stage includes:
[0025] An average value of a plurality of instantaneous static currents corresponding to the power consumption stage is determined to obtain an effective static current corresponding to the power consumption stage.
[0026] In some embodiments, determining the power loss generated by the vehicle during the maximum parking time of the target power-off scenario according to each effective static current and the duration of each power consumption stage includes:
[0027] Determine the duration of each power consumption phase;
[0028] Determine the product of the effective static current in the power consumption stage and the duration of the power consumption stage as the power consumption generated in the power consumption stage;
[0029] The sum of the power consumption generated in multiple power consumption stages during the maximum parking time of the vehicle in the target power-off scenario is determined as the power loss generated by the vehicle during the maximum parking time of the target power-off scenario.
[0030] A second aspect of an embodiment of the present application provides a power loss assessment device, the device comprising:
[0031] A sampling unit, for sampling the static current of the vehicle after powering off according to different power consumption stages after the vehicle is powered off for a target power-off scenario, to obtain a plurality of instantaneous static currents corresponding to each power consumption stage;
[0032] A first determining unit, configured to determine, for each power consumption stage, an effective static current corresponding to each power consumption stage according to a plurality of instantaneous static currents corresponding to the power consumption stage;
[0033] A second determination unit is used to determine the power consumption generated by the vehicle during the maximum parking time of the target power-off scenario according to each effective static current and the duration of each power consumption stage;
[0034] An evaluation unit is used to evaluate the power consumption of the vehicle when it is powered off according to the power loss.
[0035] In some embodiments, the evaluation unit is used to determine the battery offline power level of the vehicle and the minimum battery power level required to start the vehicle; if the difference between the battery offline power level and the power loss is greater than the minimum battery power level required to start the vehicle, it is determined that the vehicle meets the offline power consumption condition.
[0036] In some embodiments, the evaluation unit is used to determine the maximum power loss from the power loss generated during the maximum parking time of the multiple target power-off scenarios when there are multiple target power-off scenarios; and perform a power-off power consumption evaluation on the vehicle based on the maximum power loss.
[0037] In some embodiments, the sampling unit is used to determine the sampling interval corresponding to each power consumption stage; based on the sampling interval corresponding to each power consumption stage, perform static current sampling within the power consumption stage to obtain multiple instantaneous static currents corresponding to the power consumption stage.
[0038] In some embodiments, the sampling unit is used to determine a preset sampling interval deviation; based on the sampling interval deviation, randomly adjust the sampling interval in the power consumption stage; based on the adjusted sampling interval, perform static current sampling in the power consumption stage to obtain multiple instantaneous static currents corresponding to the power consumption stage.
[0039] In some embodiments, the first determining unit is used to determine an average value of multiple instantaneous static currents corresponding to the power consumption stage to obtain an effective static current corresponding to the power consumption stage.
[0040] In some embodiments, the second determination unit is used to determine the duration of each power consumption stage; determine the product of the effective static current of the power consumption stage and the duration of the power consumption stage as the power consumption generated by the power consumption stage; and determine the sum of the power consumption generated by multiple power consumption stages within the maximum parking time of the target power-off scenario as the power loss generated by the vehicle within the maximum parking time of the target power-off scenario.
[0041] A third aspect of an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the power loss assessment method as described above when executing the computer program.
[0042] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the power loss assessment method as described above is implemented.
[0043] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0044] In an embodiment of the present application, the process of generating static current after the vehicle is powered off is divided into multiple power consumption stages, and instantaneous static current is collected for each power consumption stage, so that the effective static current of each power consumption stage is determined according to the instantaneous static current of the power consumption stage, and the power loss generated in each power consumption stage within the corresponding duration is determined according to the effective static current of each stage, and then the power loss generated by the vehicle during the maximum parking time is obtained, and the power consumption of the vehicle when it is powered off is evaluated according to the power consumption value. In this way, multiple instantaneous static currents are collected in each power consumption stage, so that the effective static current of each stage is determined more accurately, thereby improving the accuracy of the power consumption evaluation, thereby preventing the problem of premature battery depletion and optimizing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A schematic diagram of an electric power loss assessment system involved in an electric power loss assessment method provided by an exemplary embodiment is shown;
[0046] Figure 2 A schematic flow chart of a power loss assessment method provided by an exemplary embodiment is shown;
[0047] Figure 3 A schematic diagram of a vehicle power consumption stage provided by an exemplary embodiment is shown;
[0048] Figure 4 A schematic flow chart of a power loss assessment method provided by an exemplary embodiment is shown;
[0049] Figure 5 A schematic diagram of the structure of a power loss assessment device provided by an exemplary embodiment is shown;
[0050] Figure 6 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0052] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0053] With the development of new energy and intelligent technology, vehicles are equipped with more and more functions, and the control accuracy requirements for vehicle electronic safety control, new energy control, intelligent driving control and other functions are also increasing. Therefore, in order to ensure the control accuracy of the vehicle, the layout density of electronic and electrical components in the vehicle has also increased dramatically.
[0054] However, when the vehicle is in dormant state, some electronic and electrical components need to remain in working state, thus generating a large amount of static current, resulting in power loss. When the vehicle is in dormant state, power is generally provided by the battery. Therefore, when the static current is too large, a large amount of power in the battery will be consumed, which may cause battery loss in severe cases, resulting in problems such as the vehicle being unable to start.
[0055] In order to prevent the battery from being damaged due to the vehicle being powered off for a long time, which may cause the vehicle to be unable to start, etc., a maximum parking time for the vehicle is generally set to remind the user to start the vehicle in time to charge the battery. In order to test the effectiveness of the maximum parking time, it is necessary to evaluate the power loss of the vehicle under the power-off condition before the vehicle leaves the factory.
[0056] In some embodiments, the battery terminal current after the whole vehicle is dormant is obtained to evaluate the power loss. However, in actual applications, with the development of vehicle technology, some periodically activated functions are often integrated into vehicles, such as regular thermal inspection functions of vehicles, weak network signal search functions, etc. When these functions are activated, the static current of the vehicle will increase. When the power loss is evaluated by the battery terminal current after the whole vehicle is dormant, the static current obtained will be smaller than the actual static current because the periodically activated functions are not taken into account. Therefore, when evaluating the power loss of the vehicle under power-off conditions, the predicted static power consumption of the vehicle is smaller than the actual static power consumption, which ultimately leads to the predicted vehicle allowed parking time being longer, resulting in the vehicle running out of power earlier than the expected parking time in actual applications, affecting user use.
[0057] In order to further improve the accuracy of obtaining static current, and thus improve the accuracy of predicting the parking time of a vehicle, the present application provides a power loss assessment method, device, vehicle and storage medium, by dividing the process of generating static current after the vehicle is powered off into multiple power consumption stages, and collecting instantaneous static current for each power consumption stage respectively, so as to determine the effective static current of each power consumption stage according to the instantaneous static current of the power consumption stage respectively, so as to determine the power loss generated in each power consumption stage within the corresponding duration according to the effective static current of each stage respectively, and thus obtain the power loss generated by the vehicle during the maximum parking time, and evaluate the power consumption of the vehicle when it is powered off according to the power consumption value, so that multiple instantaneous static currents are collected in each power consumption stage, so that the effective static current of each stage is determined more accurately, thereby improving the accuracy of the power consumption assessment, and thus preventing the problem of premature battery depletion, and optimizing the user experience.
[0058] See also Figure 1 , which shows a schematic diagram of a power loss assessment system involved in a power loss assessment method provided by an exemplary embodiment. Figure 1 The system includes: a vehicle electronic and electrical system, a battery, a shunt, a data acquisition device and a host computer. The positive electrode of the battery is connected to the vehicle electronic and electrical system, the negative electrode of the battery is connected to the shunt, the shunt is also connected to the vehicle electronic and electrical system, and the data acquisition device is connected to the host computer and the shunt respectively.
[0059] The battery is used to power the electronic system of the whole vehicle when the vehicle is in a power-off state. The shunt is used to detect the static current generated when the battery powers the electronic system of the whole vehicle. In some embodiments, the shunt measures the current passing through the shunt by a fixed resistance value, for example, the current passing through the shunt is determined by detecting the voltage difference across the resistor. Accordingly, the shunt sends the input voltage and the output voltage to the data acquisition device, and the data acquisition device determines the current based on the input voltage and the output voltage. The data acquisition device is used to receive the relevant data sent by the shunt, calculate the collected instantaneous static current based on the relevant data, and send the collected instantaneous static current and the timestamp corresponding to each instantaneous static current to the host computer, which is used to receive multiple instantaneous static currents and evaluate the power-off current loss of the vehicle based on the multiple instantaneous static currents.
[0060] One thing that needs to be explained is that the shunt, data acquisition equipment and host computer in the system can be equipment other than the vehicle. Accordingly, before the vehicle leaves the factory, the battery of the vehicle is connected to the shunt to evaluate the power loss of the vehicle when it is powered off. In some embodiments, the shunt, data acquisition equipment and host computer can also be set inside the vehicle. Accordingly, the system can be used to evaluate the power loss of the vehicle when it is powered off before the vehicle leaves the factory; the vehicle can also use the system to monitor the power loss generated when the vehicle is powered off during use, and combine the remaining battery power to warn the user, thereby preventing the problem of battery power loss caused by long-term parking of the vehicle.
[0061] The power consumption evaluation method provided by the present application is described below in conjunction with specific embodiments. Figure 2 , which shows a flow chart of a power consumption evaluation method provided by an exemplary embodiment. As an example but not a limitation, the method is applied to an electronic device, which is connected to a vehicle and is used to obtain the static current of the vehicle to evaluate the power consumption when the vehicle is powered off. The electronic device includes the above-mentioned power consumption evaluation system.
[0062] S201, for a target power-off scenario, the electronic device samples the static current of the vehicle after powering off according to different power consumption stages after powering off of the vehicle, and obtains multiple instantaneous static currents corresponding to each power consumption stage.
[0063] Among them, the target power-off scenario refers to the power-off scenario in which the power loss of the vehicle is evaluated under the power-off condition before the vehicle leaves the factory. The target power-off scenario may include one or more power-off scenarios for different vehicle models, actual new needs of enterprises, etc. For example, the conventional locked vehicle power-off scenario, the power-off scenario where the anti-theft function is not fully met (for example, the scenario where the doors are not locked after the vehicle is powered off), and the power-off scenario in a weak network environment.
[0064] The power consumption stage is determined according to the different working states of the electronic components after the vehicle is powered off. In some embodiments, the different power consumption stages can be divided manually by a technician. In other embodiments, after the vehicle is powered off, the electronic components will enter a dormant state at different stages, that is, the working states of the electronic components may be different at different stages, which results in different power consumption stages after the vehicle is powered off, and these power consumption stages have different static current characteristics.
[0065] Accordingly, in the embodiment of the present application, the power consumption stage is determined according to the static current characteristics generated after the power is turned off for different vehicle models. Among them, the number and duration of power consumption stages corresponding to different vehicle models may be different. For example, see Figure 3, which shows a schematic diagram of a power consumption stage corresponding to a static current characteristic of a vehicle provided by an exemplary embodiment. Figure 3 , the power consumption stage includes four stages, and the corresponding durations of the four stages are t1, t2, t3 and t4 respectively. Among them, the first power consumption stage (the power consumption stage corresponding to t1) is the stage in which the electronic system switches the electronic devices to the dormant state one after another after the vehicle is powered off, that is, the stage in which the power consumption gradually decreases; the second power consumption stage (the power consumption stage corresponding to t2) is the stage in which all electronic devices enter the dormant state; the third power consumption stage (the power consumption stage corresponding to t3) is the stage in which the vehicle enters the complete dormant state, the functions are partially turned off, the electronic devices are partially powered off, but some electronic devices are periodically started; the fourth power consumption stage (the power consumption stage corresponding to t4) is the stage after the vehicle starts a special mode, for example, after the power-off time reaches a preset time, or the battery power is less than the preset power, the vehicle can enter the power saving mode. In this power saving mode, the vehicle shuts down more electronic devices, so the static current is reduced.
[0066] One thing that needs to be explained is that in actual applications, the power consumption stage after the vehicle is powered off can be compared to Figure 3 The power consumption stages shown may be more or less, and this is not specifically limited in the embodiments of the present application. For example, some vehicles may not be set with a special mode, and the vehicle may only have three power consumption stages corresponding to t1, t2 and t3.
[0067] Another point that needs to be explained is that Figure 3 The duration corresponding to each power consumption stage is shown as an example. In actual applications, the ratio of the duration of different power consumption stages of a vehicle is related to the characteristics of the vehicle. In the embodiments of the present application, no specific limitation is made to this.
[0068] The electronic device determines a sampling interval, and based on the determined sampling interval, controls the data acquisition device to acquire the instantaneous static current of each power consumption stage. This process can be implemented by the following steps S2011-S2012, including:
[0069] S2011: For each power consumption stage, the electronic device determines a sampling interval corresponding to the power consumption stage.
[0070] In some embodiments, the sampling interval corresponding to each power consumption stage is the same, and accordingly, the electronic device obtains a preset sampling interval. In some embodiments, different power consumption stages correspond to different sampling intervals, and accordingly, the electronic device determines the sampling interval corresponding to each power consumption stage from the corresponding relationship between the power consumption stage and the sampling interval according to the corresponding power consumption stage. Among them, the size of the sampling interval corresponding to different power consumption stages can be set as needed, and in the embodiment of the present application, no specific limitation is made to this. For example, the sampling intervals corresponding to multiple power consumption stages of a vehicle are k respectively. j , where k is the sampling interval and j represents the jth power consumption stage. Taking the above four power consumption stages as an example, j∈[1,4] and k1≤k2≤k3≤k4.
[0071] S2012, the electronic device performs static current sampling in each power consumption stage based on a sampling interval corresponding to the power consumption stage to obtain multiple instantaneous static currents corresponding to the power consumption stage.
[0072] In some embodiments, the electronic device controls the data acquisition device to perform sampling at a corresponding sampling interval in each power consumption stage, and obtains multiple instantaneous static currents corresponding to each power consumption stage. In some embodiments, in order to prevent the sampling interval from being the same as the period of a periodically activated function in the vehicle, resulting in errors in the instantaneous static current collected in the third power consumption stage or the fourth power consumption stage, the electronic device can also adjust the sampling interval according to a preset sampling interval deviation, and perform sampling based on the adjusted sampling interval. This process can be implemented by the following steps (1)-(3), including:
[0073] (1) The electronic device determines a preset sampling interval deviation.
[0074] The sampling interval deviation may be a preset deviation range. For example, the preset deviation range may be [-10ms, 10ms]. Accordingly, the sampling interval deviation may be any value between [-10ms, 10ms].
[0075] (2) The electronic device randomly adjusts the sampling interval in the power consumption stage based on the sampling interval deviation.
[0076] The electronic device selects a sampling interval deviation based on a preset deviation range, and randomly adjusts the sampling interval in the power consumption stage based on the sampling interval deviation. In the embodiment of the present application, no specific limitation is made to the adjustment.
[0077] For example, in some embodiments, the electronic device selects the same sampling interval deviation and randomly adjusts some sampling intervals. In other embodiments, the electronic device randomly selects different sampling interval deviations and adjusts each sampling interval. In other embodiments, the electronic device randomly selects different sampling interval deviations and adjusts some sampling intervals.
[0078] (3) The electronic device performs static current sampling in the power consumption stage based on the adjusted sampling interval to obtain multiple instantaneous static currents corresponding to the power consumption stage.
[0079] The electronic device controls the data acquisition device to sample the current in each power consumption stage at the adjusted sampling interval to obtain multiple instantaneous static currents corresponding to each power consumption stage.
[0080] One point that needs to be explained is that the process of collecting instantaneous static current by adjusting the sampling interval can be applied in each power consumption stage, or it can be applied only in the power consumption stage when the periodic line start function is started. In the embodiments of the present application, there is no specific limitation on this.
[0081] In this implementation, dynamic variable frequency driving is used to collect instantaneous static current, which reduces the measurement error caused by the incoordination between the sampling interval and the timing of the periodic wake-up function, and further improves the accuracy of power consumption measurement.
[0082] S202: For each power consumption stage, the electronic device determines an effective static current corresponding to each power consumption stage according to a plurality of instantaneous static currents corresponding to the power consumption stage.
[0083] For each power consumption stage, the electronic device determines the average value of multiple instantaneous static currents corresponding to each power consumption stage, and uses the average value as the effective static current corresponding to the power consumption stage. Accordingly, in some embodiments, the electronic device determines the average value of multiple instantaneous static currents corresponding to the power consumption stage to obtain the effective static current corresponding to the power consumption stage.
[0084] The method for the electronic device to determine the average value of the multiple instantaneous static currents can be set as needed. In the embodiment of the present application, the method for determining the average value is not specifically limited. For example, the electronic device can determine the average value by means of square root mean. See formula 1:
[0085] Formula 1:
[0086] Where, j represents the jth power consumption stage, I j represents the effective current in the jth power consumption stage, i jmjrepresents the mth instantaneous static current collected in the jth power consumption stage, M j represents the amount of instantaneous quiescent current, and accordingly, Among them, t j represents the duration of the jth power consumption phase, k j It represents the sampling interval of the jth power consumption stage, that is, the amount of instantaneous static current in the jth power consumption stage is the result of taking the value under the ratio of the duration of the jth power consumption stage to the sampling interval of the jth power consumption stage.
[0087] S203, the electronic device determines the power loss generated by the vehicle during the maximum parking time of the target power-off scenario according to each effective static current and the duration of each power consumption stage.
[0088] Among them, the maximum parking time is the parking time set by the developer according to actual needs. In the embodiment of the present application, the maximum parking time is not specifically limited. For example, the maximum parking time can be 2 months, 50 days or 45 days, etc. In this step, the electronic device determines the power consumed in each power consumption stage according to the duration of each power consumption stage and the effective static current of each power consumption stage, and then determines the sum of the power consumed in each power consumption stage as the power loss generated by the vehicle during the maximum parking time of the target power-off scenario. Accordingly, the process can be implemented by the following steps S2031-S2033, including:
[0089] S2031, the electronic device determines the duration of each power consumption stage.
[0090] Among them, the duration corresponding to different power consumption stages can be determined based on the static current of the vehicle monitored in real time. Alternatively, the developer calibrates the duration of the static current characteristics generated after power is turned off for different vehicle models. Among them, for any vehicle model, the calibration process can be to detect the static current characteristics of static current generated after power is turned off for multiple vehicles of the model, record the duration of different static current characteristics, and take the average duration corresponding to the same static current characteristic of different vehicles as the duration of the power consumption stage corresponding to the static current characteristic of the vehicle model.
[0091] It should be noted that, for the last power consumption stage among multiple power consumption stages, the electronic device can determine the difference between the maximum parking time and the duration of the previous several power consumption stages as the duration of the last power consumption stage.
[0092] S2032: The electronic device determines the product of the effective static current of the power consumption stage and the duration of the power consumption stage as the power consumption generated in the power consumption stage.
[0093] The power consumption refers to the power consumed when the static current is generated. For each power consumption stage, the electronic device determines the power consumed in the power consumption stage by multiplying the duration corresponding to the power consumption stage by the effective current in the power consumption stage.
[0094] S2032, the electronic device determines the sum of the power consumption generated in multiple power consumption stages during the maximum parking time of the vehicle in the target power-off scenario as the power loss generated by the vehicle during the maximum parking time of the target power-off scenario.
[0095] The electronic device can determine the power loss by the following formula 2. See formula 2:
[0096] Formula 2:
[0097] Where C is the power consumption of the vehicle during the maximum parking time of the target power-off scenario, j represents the jth power consumption stage, and I j represents the effective current in the jth power consumption stage, T represents the maximum parking time, t j represents the duration of the jth power consumption stage, and n represents the number of power consumption stages.
[0098] S204: The electronic device evaluates the power consumption of the vehicle when the vehicle is powered off based on the power loss.
[0099] The electronic device determines the relationship between the power consumption, the battery offline power and the minimum battery power required for vehicle startup, thereby evaluating the vehicle's offline power consumption. This process can be implemented through steps S2041-S2042, including:
[0100] S2041, the electronic device determines the battery offline power of the vehicle and the minimum battery power required to start the vehicle.
[0101] The battery offline power refers to the power of the battery when the vehicle leaves the factory. The battery power can be set as needed. In the embodiment of the present application, the battery power is not specifically limited. For example, the battery offline power is 80% or 85%. The minimum battery power required to start the vehicle refers to the minimum remaining power of the battery when the vehicle starts.
[0102] S2042: If the difference between the offline battery power and the power consumption is greater than the minimum battery power required for starting the vehicle, the electronic device determines that the vehicle meets the offline power consumption condition.
[0103] The electronic device determines the remaining power of the battery after the power loss occurs based on the difference between the offline power of the battery and the power loss. If the remaining power is greater than the minimum battery power required to start the vehicle, it means that the vehicle still has enough remaining power to start the vehicle after being parked for the maximum parking time in the target power-off scenario. Therefore, it is determined that the vehicle meets the power-off power consumption condition. That is, when the relationship between the offline power of the battery, the power loss of the vehicle during the maximum parking time in the power-off state, and the minimum battery power required to start the vehicle satisfies Formula 3, it is determined that the vehicle meets the power-off power consumption condition.
[0104] Formula 3: C0-C M >C1
[0105] Among them, C0 represents the offline capacity of the battery, C M It indicates the maximum power consumption of the vehicle when parked in the power-off state, and C1 indicates the minimum battery power required to start the vehicle.
[0106] In some embodiments, if the difference between the offline battery power and the power consumption is not greater than the minimum battery power required for starting the vehicle, the electronic device determines that the vehicle does not meet the offline power consumption condition. When the electronic device determines that the vehicle does not meet the offline power consumption condition, a prompt message may be displayed to the user, and the prompt message is used to prompt the user that the power consumption assessment is passed, so as to prompt the user to adjust the electronic system.
[0107] In an embodiment of the present application, the process of generating static current after the vehicle is powered off is divided into multiple power consumption stages, and instantaneous static current is collected for each power consumption stage, so that the effective static current of each power consumption stage is determined according to the instantaneous static current of the power consumption stage, and the power loss generated in each power consumption stage within the corresponding duration is determined according to the effective static current of each stage, and then the power loss generated by the vehicle during the maximum parking time is obtained, and the power consumption of the vehicle when it is powered off is evaluated according to the power consumption value. In this way, multiple instantaneous static currents are collected in each power consumption stage, so that the effective static current of each stage is determined more accurately, thereby improving the accuracy of the power consumption evaluation, thereby preventing the problem of premature battery depletion and optimizing the user experience.
[0108] In some embodiments, the target power-off scenarios that need to be detected may include multiple scenarios according to the vehicle model, actual needs of the enterprise, etc. For example, conventional locked vehicle power-off scenarios, power-off scenarios where the anti-theft function is not fully satisfied (for example, scenarios where the doors are not locked after the vehicle is powered off), and power-off scenarios in weak network environments. When there are multiple target power-off scenarios, based on each target power-off scenario, the power consumption corresponding to each target power-off scenario is determined through the above steps S201-S203, and then the power consumption of the vehicle is evaluated based on the power consumption corresponding to the multiple target power-off scenarios.
[0109] The electronic device may determine the sum of the power losses corresponding to the multiple target power-off scenarios as the power loss of the vehicle in the power-off scenario. In some embodiments, the electronic device determines the maximum power loss from the power losses corresponding to the multiple target power-off scenarios, and determines the maximum power loss as the power loss of the vehicle in the power-off scenario. Figure 4 , which shows a flow chart of a method for evaluating power consumption in the case of multiple target power-off scenarios provided by an exemplary embodiment. As an example but not a limitation, the method is applied to an electronic device, which is connected to a vehicle and is used to obtain the static current of the vehicle to evaluate the power consumption when the vehicle is powered off. The electronic device includes the above-mentioned power consumption evaluation system.
[0110] S401, for a target power-off scenario, the electronic device samples the static current of the vehicle after powering off according to different power consumption stages after powering off of the vehicle, and obtains multiple instantaneous static currents corresponding to each power consumption stage.
[0111] The principle of this step is the same as that of step S201 and will not be repeated here.
[0112] S402: For each power consumption stage, the electronic device determines an effective static current corresponding to each power consumption stage according to a plurality of instantaneous static currents corresponding to the power consumption stage.
[0113] The principle of this step is the same as that of step S202 and will not be repeated here.
[0114] S403, the electronic device determines the power loss generated by the vehicle during the maximum parking time of the target power-off scenario according to each effective static current and the duration of each power consumption stage.
[0115] The principle of this step is the same as that of step S203 and will not be repeated here.
[0116] S404, the electronic device displays the power-off state required by the vehicle according to different target power-off scenarios.
[0117] The number and type of target power-off scenarios can be set according to the vehicle model and actual needs of the enterprise, for example, conventional locked vehicle power-off scenarios, power-off scenarios where the anti-theft function is not fully satisfied (for example, the vehicle doors are not locked after the vehicle is powered off), and power-off scenarios in weak network environments.
[0118] When it is necessary to determine the power loss in a certain target power-off state, the electronic device displays the power-off state required for the target power-off state to the user so that the developer can adjust the power-off state of the vehicle. Among them, adjusting the power-off state of the vehicle includes adjusting the body of the vehicle, adjusting the parking environment of the vehicle, etc. For example, when the target power-off scenario is a power-off scenario in which the anti-theft function is not fully satisfied, the vehicle door can be set to open and then enter the power-off state. For another example, when the target power-off scenario is a power-off scenario in a weak network environment, the vehicle can be parked in an environment with poor network signals such as an underground garage.
[0119] S405, repeating steps S401-S404 to determine the power loss generated by the vehicle corresponding to multiple target power-off scenarios during the maximum parking time of the target power-off scenarios.
[0120] S406: The electronic device determines a maximum power loss from the power losses generated during the maximum parking time of the multiple target power-off scenarios.
[0121] When there are multiple target power-off scenarios, the power consumption generated during the maximum parking time of each target power-off scenario is recorded to form a data set C(l)={C1, C2, ..., C l}, where l is the number of target power-off scenarios, and C(l) represents the set of power losses generated during the maximum parking time of multiple target power-off scenarios.
[0122] The electronic device selects the maximum power consumption value, i.e., C M =MAX{C1, C2, ..., C l}.
[0123] It should be noted that the electronic device may also use the sum of power losses generated during the maximum parking time of multiple target power-off scenarios as the maximum power consumption.
[0124] S407: The electronic device evaluates the power consumption of the vehicle when it is powered off based on the maximum power loss.
[0125] The principle of this step is the same as that of step S204 and will not be repeated here.
[0126] In an embodiment of the present application, the process of generating static current after the vehicle is powered off is divided into multiple power consumption stages, and instantaneous static current is collected for each power consumption stage, so that the effective static current of each power consumption stage is determined according to the instantaneous static current of the power consumption stage, and the power loss generated in each power consumption stage within the corresponding duration is determined according to the effective static current of each stage, and then the power loss generated by the vehicle during the maximum parking time is obtained, and the power consumption of the vehicle when it is powered off is evaluated according to the power consumption value. In this way, multiple instantaneous static currents are collected in each power consumption stage, so that the effective static current of each stage is determined more accurately, thereby improving the accuracy of the power consumption evaluation, thereby preventing the problem of premature battery depletion and optimizing the user experience.
[0127] Furthermore, multiple target power-off scenarios are combined to evaluate the vehicle's power consumption when it is powered off, ensuring that the power loss generated during the maximum parking time under different target power-off scenarios of the vehicle is evaluated, thereby improving the accuracy of the power consumption evaluation, thereby preventing the battery from running out of power prematurely and optimizing the user experience.
[0128] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0129] See also Figure 5 , which shows a schematic diagram of the structure of a power loss assessment device provided by the present application, and includes various units for executing various steps in the above embodiments, see Figure 5 , the power loss assessment device comprises:
[0130] The sampling unit 501 is used for sampling the static current of the vehicle after it is powered off according to different power consumption stages after the vehicle is powered off for the target power-off scenario, and obtaining multiple instantaneous static currents corresponding to each power consumption stage;
[0131] A first determining unit 502 is used to determine, for each power consumption stage, an effective static current corresponding to each power consumption stage according to a plurality of instantaneous static currents corresponding to the power consumption stage;
[0132] A second determining unit 503 is used to determine the power consumption generated by the vehicle during the maximum parking time of the target power-off scenario according to each effective static current and the duration of each power consumption stage;
[0133] The evaluation unit 504 is used to evaluate the power consumption of the vehicle when it is powered off according to the power loss.
[0134] In some embodiments, the evaluation unit 504 is used to determine the battery offline power of the vehicle and the minimum battery power required to start the vehicle; if the difference between the battery offline power and the power loss is greater than the minimum battery power required to start the vehicle, it is determined that the vehicle meets the power consumption condition.
[0135] In some embodiments, the evaluation unit 504 is used to determine the maximum power loss from the power loss generated during the maximum parking time of the multiple target power-off scenarios when there are multiple target power-off scenarios; and perform a power-off power consumption evaluation on the vehicle based on the maximum power loss.
[0136] In some embodiments, the sampling unit 501 is used to determine the sampling interval corresponding to each power consumption stage; based on the sampling interval corresponding to each power consumption stage, perform static current sampling within the power consumption stage to obtain multiple instantaneous static currents corresponding to the power consumption stage.
[0137] In some embodiments, the sampling unit 501 is used to determine a preset sampling interval deviation; based on the sampling interval deviation, randomly adjust the sampling interval in the power consumption stage; based on the adjusted sampling interval, perform static current sampling in the power consumption stage to obtain multiple instantaneous static currents corresponding to the power consumption stage.
[0138] In some embodiments, the first determining unit 502 is used to determine an average value of multiple instantaneous static currents corresponding to the power consumption stage to obtain an effective static current corresponding to the power consumption stage.
[0139] In some embodiments, the second determination unit 503 is used to determine the duration of each power consumption stage; determine the product of the effective static current of the power consumption stage and the duration of the power consumption stage as the power consumption generated in the power consumption stage; and determine the sum of the power consumption generated in multiple power consumption stages during the maximum parking time of the vehicle in the target power-off scenario as the power loss generated by the vehicle during the maximum parking time of the target power-off scenario.
[0140] In an embodiment of the present application, the process of generating static current after the vehicle is powered off is divided into multiple power consumption stages, and instantaneous static current is collected for each power consumption stage, so that the effective static current of each power consumption stage is determined according to the instantaneous static current of the power consumption stage, and the power loss generated in each power consumption stage within the corresponding duration is determined according to the effective static current of each stage, and then the power loss generated by the vehicle during the maximum parking time is obtained, and the power consumption of the vehicle when it is powered off is evaluated according to the power consumption value. In this way, multiple instantaneous static currents are collected in each power consumption stage, so that the effective static current of each stage is determined more accurately, thereby improving the accuracy of the power consumption evaluation, thereby preventing the problem of premature battery depletion and optimizing the user experience.
[0141] Figure 6 FIG. 1 is a schematic diagram of an electronic device provided by an exemplary embodiment of the present application. Figure 6 As shown, the electronic device 6 of this embodiment includes: a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60, such as a power loss assessment program. When the processor 60 executes the computer program 62, the steps in the above-mentioned various power loss assessment method embodiments are implemented, such as Figure 2 Alternatively, when the processor 60 executes the computer program 62, the functions of each unit in the above-mentioned device embodiments are realized, for example Figure 5 The functions of units 501 to 504 are shown.
[0142] Exemplarily, the computer program 62 may be divided into one or more units, which are stored in the memory 61 and executed by the processor 60 to complete the present application. The one or more units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 62 in the electronic device 6. For example, the computer program 62 may be divided into a sampling unit, a first determination unit, a second determination unit, and an evaluation unit, and the specific functions of each module are as follows:
[0143] The sampling unit 501 is used for sampling the static current of the vehicle after it is powered off according to different power consumption stages after the vehicle is powered off for the target power-off scenario, and obtaining multiple instantaneous static currents corresponding to each power consumption stage;
[0144] A first determining unit 502 is used to determine, for each power consumption stage, an effective static current corresponding to each power consumption stage according to a plurality of instantaneous static currents corresponding to the power consumption stage;
[0145] A second determining unit 503 is used to determine the power consumption generated by the vehicle during the maximum parking time of the target power-off scenario according to each effective static current and the duration of each power consumption stage;
[0146] The evaluation unit 504 is used to evaluate the power consumption of the vehicle when it is powered off according to the power loss.
[0147] The electronic device 6 may be any electronic device with a control function. The electronic device 6 may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will appreciate that Figure 6 It is only an example of the electronic device 6 and does not constitute a limitation of the electronic device 6. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device 6 may also include input and output devices, network access devices, buses, etc.
[0148] The processor 60 may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0149] The memory 61 may be an internal storage unit of the electronic device 6, such as a hard disk or memory of the electronic device 6. The memory 61 may also be an external storage device of the electronic device 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 6. Further, the memory 61 may also include both an internal storage unit of the electronic device 6 and an external storage device. The memory 61 is used to store the computer program and other programs and data required by the terminal device. The memory 61 may also be used to temporarily store data that has been output or is to be output.
[0150] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0151] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0152] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0153] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as 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 mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0154] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0155] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0156] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0157] The embodiments of the present application further provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0158] The embodiment of the present application also provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0159] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for evaluating power loss, characterized in that: The method comprises: For the target power-off scenario, according to different power consumption stages after the vehicle is powered off, the static current of the vehicle after being powered off is sampled to obtain multiple instantaneous static currents corresponding to each power consumption stage; For each power consumption stage, determining the effective static current corresponding to each power consumption stage according to a plurality of instantaneous static currents corresponding to the power consumption stage; Determining the power loss generated by the vehicle during the maximum parking time of the target power-off scenario according to each effective static current and the duration of each power consumption stage; An off-power power consumption assessment is performed on the vehicle according to the power loss.
2. The method according to claim 1, characterized in that The step of evaluating the power consumption of the vehicle according to the power loss includes: Determine the battery capacity of the vehicle and the minimum battery capacity required to start the vehicle; If the difference between the offline battery power and the power consumption is greater than the minimum battery power required for starting the vehicle, it is determined that the vehicle meets the offline power consumption condition.
3. The method according to claim 1 or 2, characterized in that The step of evaluating the power consumption of the vehicle according to the power loss includes: When there are multiple target power-off scenarios, determining the maximum power loss from the power losses generated during the maximum parking time of the multiple target power-off scenarios; An off-power power consumption assessment is performed on the vehicle according to the maximum power loss.
4. The method according to claim 1, characterized in that The method of sampling the static current of the vehicle after it is powered off according to different power consumption stages after the vehicle is powered off, and obtaining a plurality of instantaneous static currents corresponding to each power consumption stage, includes: For each power consumption stage, determining a sampling interval corresponding to the power consumption stage; Based on the sampling interval corresponding to each power consumption stage, static current sampling is performed in the power consumption stage to obtain multiple instantaneous static currents corresponding to the power consumption stage.
5. The method according to claim 4, characterized in that The method of performing static current sampling in the power consumption stage based on the sampling interval corresponding to each power consumption stage to obtain multiple instantaneous static currents corresponding to the power consumption stage includes: determining a preset sampling interval deviation; Based on the sampling interval deviation, randomly adjusting the sampling interval in the power consumption stage; Based on the adjusted sampling interval, static current sampling is performed in the power consumption stage to obtain multiple instantaneous static currents corresponding to the power consumption stage.
6. The method according to claim 1, characterized in that The determining, according to the plurality of instantaneous static currents corresponding to the power consumption stages, the effective static current corresponding to each power consumption stage comprises: An average value of a plurality of instantaneous static currents corresponding to the power consumption stage is determined to obtain an effective static current corresponding to the power consumption stage.
7. The method according to claim 1, characterized in that The determining, according to each effective static current and the duration of each power consumption stage, the power loss generated by the vehicle during the maximum parking time of the target power-off scenario includes: Determine the duration of each power consumption phase; Determine the product of the effective static current in the power consumption stage and the duration of the power consumption stage as the power consumption generated in the power consumption stage; The sum of the power consumption generated in multiple power consumption stages during the maximum parking time of the vehicle in the target power-off scenario is determined as the power loss generated by the vehicle during the maximum parking time of the target power-off scenario.
8. A power loss assessment device, characterized in that: The device comprises: A sampling unit is used to sample the static current of the vehicle after it is powered off according to different power consumption stages after the vehicle is powered off for a target power-off scenario, and obtain multiple instantaneous static currents corresponding to each power consumption stage; A first determining unit, configured to determine, for each power consumption stage, an effective static current corresponding to each power consumption stage according to a plurality of instantaneous static currents corresponding to the power consumption stage; A second determination unit is used to determine the power consumption generated by the vehicle during the maximum parking time of the target power-off scenario according to each effective static current and the duration of each power consumption stage; An evaluation unit is used to evaluate the power consumption of the vehicle when it is powered off according to the power loss.
9. An electronic device, characterized in that: The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the power loss assessment method according to any one of claims 1 to 7.
10. 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 a processor, the power loss assessment method according to any one of claims 1 to 7 is implemented.