Dormancy power consumption determination method and apparatus, vehicle, storage medium, and program product

By using a current sampler to detect the power supply value of the power supply module during the battery controller's sleep state and processing it after waking up, the problem of excessive power consumption detection in the vehicle's sleep scenario is solved, achieving accurate determination of sleep power consumption and reduction of energy consumption.

CN123040747APending Publication Date: 2026-11-06XIAOMI EV TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611486777.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-22
Publication Date
2026-11-06

AI Technical Summary

Technical Problem

In vehicle sleep scenarios, existing technologies detect excessive power consumption when the battery controller is in sleep mode, leading to poor accuracy in sleep power consumption estimation, or excessive power consumption due to prolonged battery controller wake-up.

Method used

The power supply value of the power supply module is detected by a current sampler in the battery controller's sleep state, and processed after the battery controller is woken up to obtain the sleep power consumption. The power supply detection is performed by a low-power current sampler to avoid the battery controller being woken up for a long time.

Benefits of technology

This achieves accurate determination of sleep power consumption while reducing detection power consumption, ensuring that the battery controller can sleep normally and reducing unnecessary power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123040747A_ABST
    Figure CN123040747A_ABST
Patent Text Reader

Abstract

The present disclosure relates to a hibernation power consumption determination method and device, a vehicle, a storage medium and a program product, and relates to the technical field of vehicles. The method comprises: in response to a wake-up instruction, obtaining a power supply value of a power supply module, the power supply value being obtained by a current sampler detecting the power supply module when a battery controller is in a hibernation state, the power of the current sampler being less than the power of the battery controller; and obtaining hibernation power consumption of the vehicle according to the power supply value. The power supply value can be obtained by the current sampler detecting the power supply module when the battery controller is in the hibernation state, and then the power supply value can be processed after the battery controller is woken up to obtain the hibernation power consumption of the vehicle, so that the battery controller with high power can be normally hibernated, and the current sampler with low power can be used to detect the power supply of the power supply module, thereby reducing the detection energy consumption while obtaining accurate hibernation power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of vehicle technology, and in particular to a method, apparatus, vehicle, storage medium, and program product for determining sleep power consumption. Background Technology

[0002] With the increasing prevalence of intelligent control (sentinel mode, remote monitoring) and smart cockpits (in-vehicle refrigerators, air purifiers), the demand for independent power supply in vehicle hibernation scenarios is growing. It is necessary to determine the hibernation power consumption of the entire vehicle in order to perform state of charge correction and statistical analysis of overall vehicle energy consumption. Summary of the Invention

[0003] To overcome the problem of excessive power consumption in detection in related technologies, this disclosure provides a method, apparatus, vehicle, storage medium, and program product for determining sleep power consumption. This method allows the power supply module to be detected by a current sampler to obtain the power supply value when the battery controller is in sleep mode. Then, after the battery controller is awakened, the power supply value is processed to obtain the vehicle's sleep power consumption. This enables the higher-power battery controller to enter sleep mode normally, while the lower-power current sampler detects the power supply to the power module, avoiding the battery controller being in a wake-up state for extended periods. This reduces detection power consumption while obtaining accurate sleep power consumption.

[0004] According to a first aspect of the present disclosure, a method for determining sleep power consumption is provided, comprising: In response to a wake-up command, the power supply value of the power supply module is obtained. This power supply value is obtained by the current sampler detecting the power supply module when the battery controller is in a sleep state. The power of the current sampler is less than the power of the battery controller. The vehicle's sleep power consumption is obtained based on the power supply value.

[0005] In this embodiment, when the battery controller is in a sleep state, the power supply module can be detected by a current sampler to obtain the power supply value. Then, after the battery controller is woken up, the power supply value is processed to obtain the vehicle's sleep power consumption. This allows the high-power battery controller to go into sleep normally, while the low-power current sampler detects the power supply of the power supply module, avoiding the battery controller being in a wake-up state for a long time. This reduces detection energy consumption while obtaining accurate sleep power consumption.

[0006] In some possible implementations, the sleep power consumption includes the sleep power consumption of the vehicle within a sleep cycle, where a sleep cycle includes multiple sleep time periods during which the battery controller is in the sleep state; The step of obtaining the vehicle's sleep power consumption based on the power supply value includes: The power supply values ​​corresponding to the multiple sleep time periods are processed to obtain the sleep power consumption of the vehicle in the sleep cycle.

[0007] In this embodiment, the sleep power consumption within a sleep cycle can be measured. A sleep cycle may include multiple sleep time periods, and each sleep time period corresponds to a power supply value. The power supply values ​​corresponding to multiple sleep time periods can be processed to obtain the sleep power consumption of the vehicle within a sleep cycle, thereby determining the power consumption consumed by the vehicle within a sleep cycle, and then accurately correcting the vehicle's battery level to improve the accuracy of the vehicle's battery level.

[0008] In some possible implementations, a sleep period corresponds to a wake-up period, during which the battery controller is in a wake-up state; The process of processing the power supply values ​​corresponding to the multiple sleep time periods to obtain the sleep power consumption of the vehicle within the one sleep cycle includes: For any sleep period, during the wake-up period corresponding to that sleep period, the power supply value corresponding to that sleep period is processed to obtain the sleep power consumption corresponding to that sleep period. The sleep power consumption of the vehicle in the one sleep cycle is determined based on the sleep power consumption corresponding to the multiple sleep time periods.

[0009] In this embodiment, a sleep period corresponds to a wake-up period. Therefore, within the wake-up period corresponding to the sleep period, the power supply value corresponding to that sleep period can be processed to obtain the sleep power consumption for each sleep period, thereby determining the sleep power consumption throughout the entire sleep cycle. This avoids data loss due to excessive power supply data volume, and processing the power supply values ​​for each sleep period separately reduces data processing pressure. Furthermore, the sleep power consumption corresponding to multiple sleep periods can be accumulated to obtain the vehicle's sleep power consumption within a sleep cycle, and then the sleep power consumption for the entire sleep cycle can be uniformly sent to the vehicle controller for processing.

[0010] In some possible implementations, the power supply value is obtained by the current sampler detecting the power supply module when the battery controller is in a sleep state and the current sampler has its detection function enabled.

[0011] In this embodiment, before testing the power supply module, the current sampler's detection function needs to be enabled so that the power supply module is tested only when needed, thereby reducing power consumption.

[0012] In some possible implementations, the method further includes: Before going into sleep mode, in response to the power supply request from the power supply module, configuration information is sent to the current sampler. The configuration information is used by the current sampler to enable the detection function.

[0013] In this embodiment, the current sampler's detection function is activated only when a power supply request is received from the power supply module, so that detection can be performed as needed, avoiding prolonged power consumption in the detection state and reducing power consumption.

[0014] In some possible implementations, the power supply value includes an ampere-hour integral value; The step of obtaining the vehicle's sleep power consumption based on the power supply value includes: Based on the baseline value and the ampere-hour integral value, the ampere-hour integral increment is obtained; The vehicle's sleep power consumption is obtained based on the integral increment of ampere-hours and the total voltage of the battery pack.

[0015] In this embodiment, the current sampler can directly integrate the detected current to obtain the ampere-hour integral value, so as to ensure the continuity and accuracy of the integration. Then, combined with the reference value before the current detection, the ampere-hour integral increment during the current sleep process is obtained. Finally, combined with the total battery pack voltage, a more accurate sleep power consumption during the current sleep process is obtained.

[0016] In some possible implementations, the method further includes: In the vehicle wake-up state, the sleep power consumption is sent to the vehicle controller. The sleep power consumption is used by the vehicle controller to perform at least one of the following: state of charge estimation and correction, vehicle energy consumption statistics, and energy consumption statistics of the target load device.

[0017] In this embodiment, when the vehicle is in a wake-up state, the vehicle controller is in a wake-up state, and the battery controller can send the obtained dormant power consumption to the vehicle controller for further estimation and correction of the state of charge, vehicle energy consumption statistics, and energy consumption statistics of the target load device.

[0018] In some possible implementations, the method further includes: In response to the vehicle hibernation command, the stored power supply value and hibernation power consumption are cleared to zero.

[0019] In this embodiment, before the vehicle goes into hibernation, the power supply value and hibernation power consumption stored in the previous hibernation cycle can be cleared to zero so that the power supply value and hibernation power consumption can be re-stored in the next hibernation cycle, thereby reducing the pressure on data storage.

[0020] In some possible implementations, the wake-up command is sent when the entire vehicle is woken up or periodically based on a preset wake-up duration.

[0021] In this embodiment, the battery controller can be periodically woken up, or the battery controller can be woken up when the whole vehicle is woken up, so as to be able to process the power supply value obtained by the current sampler in a timely manner, and to allow the battery controller to go into sleep mode when not needed, thereby reducing power consumption.

[0022] In some possible implementations, the storage space of the current sampler is larger than a preset storage space.

[0023] In this embodiment, the storage space of the current sampler is larger than the preset storage space, so as to be able to store a large amount of power supply value and avoid the current sampler's storage space being filled before the battery controller is woken up, thus avoiding data loss.

[0024] According to a second aspect of the present disclosure, a sleep power consumption determination apparatus is provided, comprising: The acquisition module is configured to acquire the power supply value of the power supply module in response to a wake-up command. The power supply value is obtained by the current sampler detecting the power supply module when the battery controller is in a sleep state. The power of the current sampler is less than the power of the battery controller. The module is configured to obtain the vehicle's sleep power consumption based on the power supply value.

[0025] In some possible implementations, the sleep power consumption includes the sleep power consumption of the vehicle within a sleep cycle, where a sleep cycle includes multiple sleep time periods during which the battery controller is in the sleep state; The obtaining module is configured as follows: The power supply values ​​corresponding to the multiple sleep time periods are processed to obtain the sleep power consumption of the vehicle in the sleep cycle.

[0026] In some possible implementations, a sleep period corresponds to a wake-up period, during which the battery controller is in a wake-up state; The obtaining module is configured as follows: For any sleep period, during the wake-up period corresponding to that sleep period, the power supply value corresponding to that sleep period is processed to obtain the sleep power consumption corresponding to that sleep period. The sleep power consumption of the vehicle in the one sleep cycle is determined based on the sleep power consumption corresponding to the multiple sleep time periods.

[0027] In some possible implementations, the power supply value is obtained by the current sampler detecting the power supply module when the battery controller is in a sleep state and the current sampler has its detection function enabled.

[0028] In some possible implementations, the device further includes: The sending module is configured to send configuration information to the current sampler in response to a power supply request from the power supply module before going into sleep mode. The configuration information is used by the current sampler to enable the detection function.

[0029] In some possible implementations, the power supply value includes an ampere-hour integral value; The obtaining module is configured as follows: Based on the baseline value and the ampere-hour integral value, the ampere-hour integral increment is obtained; The vehicle's sleep power consumption is obtained based on the integral increment of ampere-hours and the total voltage of the battery pack.

[0030] In some possible implementations, the device further includes: The sending module is configured to send the sleep power consumption to the vehicle controller when the vehicle is in wake-up state. The sleep power consumption is used by the vehicle controller to perform at least one of the following: state of charge estimation and correction, vehicle energy consumption statistics, and energy consumption statistics of the target load device.

[0031] In some possible implementations, the device further includes: The reset module is configured to reset the stored power supply value and the sleep power consumption to zero in response to a vehicle sleep command.

[0032] In some possible implementations, the wake-up command is sent when the entire vehicle is woken up or periodically based on a preset wake-up duration.

[0033] In some possible implementations, the storage space of the current sampler is larger than a preset storage space.

[0034] According to a third aspect of the present disclosure, a vehicle is provided, comprising: processor; Memory used to store processor-executable instructions; The processor is configured to perform the steps of the method described in the first aspect of this disclosure when executing.

[0035] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided that stores computer program instructions thereon, which, when executed by a processor, implement the steps of the method described in the first aspect of the present disclosure.

[0036] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the method described in the first aspect of the present disclosure.

[0037] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects: When the battery controller is in sleep mode, the power supply module can be detected by a current sampler to obtain the power supply value. Then, after the battery controller is woken up, the power supply value is processed to obtain the vehicle's sleep power consumption. This allows the high-power battery controller to go into sleep mode normally, while the low-power current sampler detects the power supply of the power supply module, avoiding the battery controller being in a wake-up state for a long time. This reduces detection energy consumption while obtaining accurate sleep power consumption.

[0038] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0039] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0040] Figure 1 This is a schematic diagram illustrating application scenarios of the sleep power consumption determination method based on certain conditions.

[0041] Figure 2 This is a flowchart illustrating a method for determining sleep power consumption according to an exemplary embodiment.

[0042] Figure 3 This is a schematic diagram illustrating a sleep cycle according to an exemplary embodiment.

[0043] Figure 4 This is a flowchart illustrating another method for determining sleep power consumption according to an exemplary embodiment.

[0044] Figure 5 This is a block diagram of a sleep power consumption determination device according to an exemplary embodiment.

[0045] Figure 6 This is a block diagram illustrating a vehicle according to an exemplary embodiment. Detailed Implementation

[0046] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0047] It should be noted that all actions involving the acquisition of signals, information, or data in this disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the location is situated, and with the consent of the owner of the relevant device.

[0048] With the increasing prevalence of intelligent control (sentinel mode, remote monitoring) and smart cockpits (in-car refrigerators, air purifiers), the demand for independent power supply in vehicle hibernation scenarios is growing. It is necessary to determine the hibernation power consumption of the vehicle in hibernation mode in order to correct the state of charge and statistically analyze the vehicle's energy consumption. In related technologies, power consumption is not detected when the battery controller is in hibernation mode; it is only estimated after the vehicle is awakened, based on the hibernation duration and a preset average power, resulting in poor accuracy. In another related technology, to improve accuracy, the battery controller is always awakened, and detection and real-time integration are performed through the battery controller to obtain the final hibernation power consumption. However, the battery controller cannot hibernate, resulting in high power consumption of the battery controller throughout the detection process.

[0049] Based on the above-mentioned technical problems, the present disclosure provides a method, apparatus, vehicle, storage medium, and program product for determining sleep power consumption. This method allows the power supply value to be obtained by first detecting the power supply module through a current sampler when the battery controller is in sleep mode. Then, after the battery controller is woken up, the power supply value is processed to obtain the vehicle's sleep power consumption. This enables the higher-power battery controller to enter sleep mode normally, while the lower-power current sampler detects the power supply to the power supply module, avoiding the battery controller being in a woken-up state for extended periods. This reduces detection energy consumption while obtaining accurate sleep power consumption.

[0050] In some cases, the sleep power consumption determination method provided herein can be executed by a sleep power consumption determination device, which may be a battery controller. Figure 1 This is a schematic diagram illustrating application scenarios of methods for determining sleep power consumption based on certain conditions. For example... Figure 1As shown, this can be applied to a battery management system, specifically to the battery controller within the system. The battery management system may include a power supply module, a battery controller, and a current sampler. The power supply module can be connected to the current sampler; optionally, it can be connected to both the battery controller and the current sampler separately to supply power to each. The power supply module is also used to connect to load devices to supply power. Examples of load devices include sentinel systems, remote monitoring systems, vehicle refrigerators, and air purifiers. The battery controller can communicate with the vehicle controller via CAN (Controller Area Network) to send information such as sleep power consumption to the vehicle controller. The battery controller can also be connected to the current sampler for configuration. The current sampler can be a coulomb counter or a current sampling module including a coulomb counter. The power supply module may include a battery pack, a power supply control module, a voltage conversion module, and a vehicle power distribution control module. The battery pack is connected to both the power supply control module and the vehicle power distribution control module. The power supply control module is connected to the voltage conversion module, which in turn is connected to both the current sampler and the load device. The voltage conversion module may include a first power supply module and a second power supply module, which are isolated from each other for high and low voltage. The first power supply module may be located on the high-voltage side and connected to the current sampler, providing 26V to the current sampler. The second power supply module may be located on the low-voltage side and connected to the load device, providing 24V to the load device. Figure 1 In the diagram, the high-voltage side and the low-voltage side are separated by a dotted line. A shunt resistor can be installed between the battery pack and the power supply control module, and a current sampler can be connected to the shunt resistor for current and voltage detection. The battery management system may also include a power management chip and a real-time clock. The real-time clock can be connected to the power management chip and the battery controller. The power management chip is connected to the vehicle's power distribution control module. The real-time clock can periodically wake up the battery controller, and the power management chip can convert various power sources to power the battery controller and other modules.

[0051] Figure 2 This is a flowchart illustrating a method for determining sleep power consumption according to an exemplary embodiment, such as... Figure 2 As shown, this method can be applied to a battery controller and may include the following steps.

[0052] In step S201, in response to the wake-up command, the power supply value of the power supply module is obtained. The power supply value is obtained by the current sampler detecting the power supply module when the battery controller is in a sleep state. The power of the current sampler is less than the power of the battery controller.

[0053] In this embodiment, a wake-up command can be used to wake up the battery controller. Upon receiving the wake-up command, the battery controller is awakened and enters a wake-up state. In the wake-up state, the battery controller can obtain the power supply value of the power supply module from the current sampler. This power supply value is obtained by the current sampler detecting the power supply module when the battery controller is in a sleep state. The power supply value can be the detected current or the ampere-hour integral value obtained by integrating the detected current. Optionally, the current sampler has a corresponding detection register for recording the power supply value, and the power supply value of the power supply module can be obtained from the detection register of the current sampler. The power supply module is connected to both the battery controller and the current sampler to supply power to both, allowing the current sampler to continue operating and detecting the power supply module to obtain its power supply value even when the battery controller is in a sleep state. Furthermore, the power of the current sampler is less than the power of the battery controller, thereby reducing the detection power consumption during the detection process.

[0054] In step S202, the vehicle's sleep power consumption is obtained based on the power supply value.

[0055] In this embodiment, the watt-hour power consumption can be determined based on the power supply value to obtain the vehicle's sleep power consumption.

[0056] In this embodiment, when the battery controller is in a sleep state, the power supply module can be detected by a current sampler to obtain the power supply value. Then, after the battery controller is woken up, the power supply value is processed to obtain the vehicle's sleep power consumption. This allows the high-power battery controller to go into sleep normally, while the low-power current sampler detects the power supply of the power supply module, avoiding the battery controller being in a wake-up state for a long time. This reduces detection energy consumption while obtaining accurate sleep power consumption.

[0057] Figure 3 This is a schematic diagram illustrating a sleep cycle according to an exemplary embodiment, such as... Figure 3 As shown, in some possible implementations, the sleep power consumption includes the sleep power consumption of the vehicle in a sleep cycle, and a sleep cycle includes multiple sleep time periods during which the battery controller is in a sleep state. Based on the power supply value, the vehicle's sleep power consumption is obtained, including: The power supply values ​​corresponding to multiple sleep time periods are processed to obtain the sleep power consumption of the vehicle in one sleep cycle.

[0058] In this embodiment, the sleep cycles within a sleep cycle can be detected and statistically obtained. A sleep cycle can be the time period between adjacent vehicle sleep times and vehicle wake-up times. Within a sleep cycle, besides the vehicle wake-up time, there may be situations where the battery controller is woken up or not. If the battery controller is not woken up, there is only one sleep time period in the entire sleep cycle. If the battery controller is woken up, there is at least one wake-up time, meaning it may be woken up once or multiple times, thus a sleep cycle may include multiple sleep time periods. During the sleep time period, the battery controller is in a sleep state. A corresponding power supply value can be obtained for each sleep time period through a current sampler. The power supply values ​​corresponding to multiple sleep time periods can be processed to obtain the sleep power consumption of the vehicle within a sleep cycle.

[0059] In some possible implementations, a sleep period corresponds to a wake-up period, during which the battery controller is in a wake-up state; The power supply values ​​corresponding to multiple sleep periods are processed to obtain the sleep power consumption of the vehicle within one sleep cycle, including: For any given sleep period, the power supply value corresponding to that sleep period is processed during the wake-up period to obtain the sleep power consumption corresponding to that sleep period. Based on the sleep power consumption corresponding to multiple sleep periods, the sleep power consumption of the vehicle in a sleep cycle is determined.

[0060] In this embodiment, after the battery controller is woken up by a wake-up command, it enters a wake-up state, continues to sleep after a preset wake-up duration, corresponding to a wake-up time period. This wake-up time period corresponds to the previous adjacent sleep time period; that is, one sleep time period corresponds to one wake-up time period. For any sleep time period, after obtaining the power supply value through the current sampler, the power supply value of the current sampler can be read in a timely manner within the wake-up time period corresponding to that sleep time period. This avoids data loss due to excessive power supply value data volume, and processing the power supply values ​​of each sleep time period separately reduces data processing pressure. Furthermore, the sleep power consumption corresponding to multiple sleep time periods can be accumulated to obtain the sleep power consumption of the vehicle in one sleep cycle, and then the sleep power consumption of the entire sleep cycle can be uniformly sent to the vehicle controller for processing.

[0061] Optionally, the power supply values ​​corresponding to multiple sleep periods can be uniformly processed within the wake-up period corresponding to the last sleep period of the entire sleep cycle, so as to obtain the sleep power consumption of the vehicle in a sleep cycle.

[0062] In some possible implementations, the power supply value is obtained by the current sampler detecting the power supply module when the battery controller is in sleep mode and the current sampler has its detection function enabled.

[0063] In this embodiment, when the battery controller is in a sleep state and the current sampler has its detection function enabled, the current sampler starts to detect the power supply module in order to obtain the power supply value of the power supply module. If the detection function is not enabled, the current sampler does not detect the power supply module so that the power supply module is detected only when needed, thereby reducing power consumption.

[0064] In some possible implementations, the method further includes: Before going into sleep mode, in response to the power supply request from the power supply module, configuration information is sent to the current sampler. The configuration information is used to enable the detection function of the current sampler.

[0065] In this embodiment, upon receiving a power supply request from the power supply module, the current sampler's detection function is activated via configuration information to perform detection as needed. The power supply value can be an ampere-hour integral value, and the detection function can include an ampere-hour integration function. For example, the power supply request from the power supply module can be a power supply request from the power supply control module to supply power to the load device. Before entering sleep mode, the battery controller can determine whether it has received a power supply request from the power supply module. If a power supply request is received, configuration information can be sent to the current sampler to enable its detection function. During battery controller sleep mode, the power supply module is detected, obtaining the detected current and voltage. The detected current is then integrated in ampere-hours using the ampere-hour integration function to obtain the power supply value, i.e., the ampere-hour integral value. Optionally, after sending the configuration information to the current sampler, the battery controller can enter sleep mode.

[0066] In some possible implementations, the power supply value may include an ampere-hour integral value; Based on the power supply value, the vehicle's sleep power consumption is obtained, including: Based on the baseline value and the ampere-hour integral value, the ampere-hour integral increment is obtained; based on the ampere-hour integral increment and the total battery pack voltage, the vehicle's sleep power consumption is obtained.

[0067] In this embodiment, the power supply value may include an ampere-hour integral value, i.e., ampere-hour integration is performed by a current sampler. After the current sampler detects the current, it further performs ampere-hour integration to obtain the ampere-hour integral value. The ampere-hour integral value can be read and combined with a reference value to obtain the ampere-hour integral increment when the battery controller is in sleep mode. Then, combined with the detection voltage detected by the battery controller in sleep mode, i.e., the total voltage of the battery pack, the watt-hour integral increment, i.e., the sleep power consumption of the vehicle, is calculated. Wherein, if there is only one sleep time period, the reference value can be 0. If there are multiple sleep time periods, the reference value of the first time period is 0, and the reference value of the subsequent sleep time period is the power supply value corresponding to the current sleep time period. For any sleep time period, the sleep power consumption corresponding to the sleep time period can be accumulated with the sleep power consumption corresponding to all previous sleep time periods to obtain the current total power consumption, and the current total power consumption is stored in non-volatile memory for verification. Optionally, the ampere-hour integral increment corresponding to the sleep time period can also be accumulated with the ampere-hour integral increment corresponding to all previous sleep time periods to obtain the current total ampere-hour integral increment, and the current total ampere-hour integral increment is stored in non-volatile memory.

[0068] Optionally, when the battery controller is in a wake-up state, the detection current of the power supply module is acquired. This detection current is obtained by a current sampler detecting the power supply module when the battery controller is in a wake-up state. Based on this detection current, the wake-up power consumption of the vehicle when the battery controller is in a wake-up state is obtained. The battery controller can perform high-precision active integration of the detection current and combine it with the detection voltage detected when the battery controller is in a wake-up state to obtain the wake-up power consumption of the vehicle when the battery controller is in a wake-up state. This wake-up power consumption can then be sent to the vehicle controller.

[0069] Optionally, the power supply value may include the detected current at different times. That is, the current is detected by the current sampler, and the battery controller performs ampere-hour integration. After the current sampler obtains the detected current, the battery controller further performs ampere-hour integration to obtain the ampere-hour integrated value. Combined with a reference value, the ampere-hour integrated increment of the battery controller in the sleep state is obtained. Then, combined with the detected voltage detected by the battery controller in the sleep state, i.e., the total voltage of the battery pack, the watt-hour integrated increment, i.e., the sleep power consumption of the vehicle, is calculated.

[0070] In some possible implementations, the method further includes: In the vehicle wake-up state, the sleep power consumption is sent to the vehicle controller. The sleep power consumption is used by the vehicle controller to perform at least one of the following: state of charge estimation and correction, vehicle energy consumption statistics, and energy consumption statistics of the target load device.

[0071] In this embodiment, during vehicle wake-up, the sleep power consumption, ampere-hour integral increment, and wake-up power consumption can be sent to the vehicle controller. This allows the vehicle controller to perform state of charge estimation and correction, vehicle energy consumption statistics, and energy consumption statistics for target load devices. The sleep power consumption and ampere-hour integral increment can be sent to the vehicle controller periodically. During vehicle wake-up, the sleep power consumption and ampere-hour integral increment remain unchanged, both being values ​​obtained from the previous sleep cycle.

[0072] In some possible implementations, the method further includes: In response to the vehicle's sleep command, the stored power supply value and sleep power consumption are cleared to zero.

[0073] In this embodiment, before the vehicle enters sleep mode, the power supply value and sleep power consumption stored in the previous sleep cycle can be cleared to zero so that the power supply value and sleep power consumption can be re-stored in the next sleep cycle. The stored power supply value may include the power supply value stored by the current sampler and the power supply value stored by the battery controller. The sleep power consumption may be the sleep power consumption stored by the battery controller. The ampere-hour integral increment stored by the battery controller may also be cleared to zero.

[0074] In some possible implementations, the wake-up command is sent when the entire vehicle is woken up or periodically based on a preset wake-up duration.

[0075] In this embodiment, the battery controller can be periodically woken up by a real-time clock, or the battery controller can be woken up when the whole vehicle is woken up, so as to be able to process the power supply value obtained by the current sampler in a timely manner, and to allow the battery controller to go into sleep mode when not needed, thereby reducing power consumption.

[0076] In some possible implementations, the current sampler has a larger storage space than a preset storage space. This larger storage space allows for the storage of a larger amount of power supply values, preventing the current sampler's storage space from becoming full and resulting in data loss before the battery controller is woken up. This, in turn, reduces the frequency of battery controller wake-up, thereby reducing detection power consumption. For example, the current sampler may use a 24-bit accumulator to provide storage space.

[0077] Figure 4 This is a flowchart illustrating another method for determining sleep power consumption according to an exemplary embodiment, such as... Figure 4 As shown, the following steps may be included: In step S401, the battery controller can determine whether a power supply request was received before entering sleep mode. If not, step S402 is executed; if yes, step S403 is executed.

[0078] In step S402, no detection is performed. The current detector does not detect the power supply module.

[0079] In step S403, a current sampler is configured for detection.

[0080] In step S404, the current sampler detects the power supply value while the battery controller is in a sleep state.

[0081] In step S405, the battery controller is woken up and obtains the sleep power consumption. After being woken up, the battery controller processes the power supply value to obtain the sleep power consumption.

[0082] In step S406, the battery controller enters sleep mode.

[0083] In step S407, the current sampler detects the power supply value while the battery controller is in a sleep state.

[0084] In step S408, the vehicle is woken up and the sleep power consumption is obtained. Simultaneously, the battery controller is also woken up, and it processes the power supply value to obtain the sleep power consumption.

[0085] In step S409, the total sleep power consumption is sent to the vehicle controller.

[0086] In step S410, the vehicle's data is cleared before it goes into sleep mode. This can clear the stored power supply value and sleep power consumption.

[0087] Figure 5 This is a block diagram illustrating a sleep power consumption determination device according to an exemplary embodiment. (Refer to...) Figure 5 The sleep power consumption determination device 500 includes an acquisition module 501 and an acquisition module 502.

[0088] The acquisition module 501 is configured to acquire the power supply value of the power supply module in response to a wake-up command. The power supply value is obtained by the current sampler detecting the power supply module when the battery controller is in a sleep state. The power of the current sampler is less than the power of the battery controller. The acquisition module 502 is configured to obtain the vehicle's sleep power consumption based on the power supply value.

[0089] In some possible implementations, the sleep power consumption includes the sleep power consumption of the vehicle within a sleep cycle, where a sleep cycle includes multiple sleep time periods during which the battery controller is in the sleep state; The obtaining module 502 is configured as follows: The power supply values ​​corresponding to the multiple sleep time periods are processed to obtain the sleep power consumption of the vehicle in the sleep cycle.

[0090] In some possible implementations, a sleep period corresponds to a wake-up period, during which the battery controller is in a wake-up state; The obtaining module 502 is configured as follows: For any sleep period, during the wake-up period corresponding to that sleep period, the power supply value corresponding to that sleep period is processed to obtain the sleep power consumption corresponding to that sleep period. The sleep power consumption of the vehicle in the one sleep cycle is determined based on the sleep power consumption corresponding to the multiple sleep time periods.

[0091] In some possible implementations, the power supply value is obtained by the current sampler detecting the power supply module when the battery controller is in a sleep state and the current sampler has its detection function enabled.

[0092] In some possible implementations, the sleep power consumption determination device 500 further includes: The sending module is configured to send configuration information to the current sampler in response to a power supply request from the power supply module before going into sleep mode. The configuration information is used by the current sampler to enable the detection function.

[0093] In some possible implementations, the power supply value includes an ampere-hour integral value; The obtaining module 502 is configured as follows: Based on the baseline value and the ampere-hour integral value, the ampere-hour integral increment is obtained; The vehicle's sleep power consumption is obtained based on the integral increment of ampere-hours and the total voltage of the battery pack.

[0094] In some possible implementations, the sleep power consumption determination device 500 further includes: The sending module is configured to send the sleep power consumption to the vehicle controller when the vehicle is in wake-up state. The sleep power consumption is used by the vehicle controller to perform at least one of the following: state of charge estimation and correction, vehicle energy consumption statistics, and energy consumption statistics of the target load device.

[0095] In some possible implementations, the sleep power consumption determination device 500 further includes: The reset module is configured to reset the stored power supply value and the sleep power consumption to zero in response to a vehicle sleep command.

[0096] In some possible implementations, the wake-up command is sent when the entire vehicle is woken up or periodically based on a preset wake-up duration.

[0097] In some possible implementations, the storage space of the current sampler is larger than a preset storage space.

[0098] Regarding the sleep power consumption determination device 500 in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated here.

[0099] This disclosure also provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the steps of the sleep power consumption determination method provided in this disclosure.

[0100] Figure 6 This is a block diagram illustrating a vehicle according to an exemplary embodiment. For example, vehicle 600 may be a hybrid vehicle, a non-hybrid vehicle, an electric vehicle, a fuel cell vehicle, or other type of vehicle. Vehicle 600 may have driver assistance functions.

[0101] Reference Figure 6 The vehicle 600 may include various subsystems, such as an infotainment system 610, a perception system 620, a decision control system 630, a drive system 640, and a computing platform 650. The vehicle 600 may also include more or fewer subsystems, and each subsystem may include multiple components. Furthermore, each subsystem and each component of the vehicle 600 can be interconnected via wired or wireless means.

[0102] In some embodiments, the infotainment system 610 may include a communication system, an entertainment system, and a navigation system, etc.

[0103] The perception system 620 may include several sensors for sensing information about the environment surrounding the vehicle 600. For example, the perception system 620 may include a global positioning system (which may be GPS, BeiDou, or other positioning systems), an inertial measurement unit (IMU), lidar, millimeter-wave radar, ultrasonic radar, and a camera device.

[0104] The decision control system 630 may include a computing system, a vehicle controller, a steering system, a throttle, and a braking system.

[0105] The drive system 640 may include components that provide powered motion to the vehicle 600. In one embodiment, the drive system 640 may include an engine, an energy source, a transmission system, and wheels. The engine may be one or a combination of internal combustion engines, electric motors, and compressed air engines. The engine is capable of converting energy provided by the energy source into mechanical energy.

[0106] Some or all of the functions of vehicle 600 are controlled by computing platform 650. Computing platform 650 may include at least one processor 651 and memory 652, processor 651 can execute instructions 653 stored in memory 652.

[0107] Processor 651 can be any conventional processor, such as a commercially available CPU. Processors may also include graphics processing units (GPUs), field-programmable gate arrays (FPGAs), systems-on-chips (SoCs), application-specific integrated circuits (ASICs), or combinations thereof.

[0108] The memory 652 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0109] In addition to instruction 653, memory 652 can also store data, such as road maps, route information, vehicle position, direction, speed, and other data. The data stored in memory 652 can be used by computing platform 650.

[0110] In this embodiment of the disclosure, processor 651 may execute instruction 653 to complete all or part of the steps of the above-described method for determining sleep power consumption.

[0111] In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable device, the computer program having a code portion for performing the above-described sleep power consumption determination method when executed by the programmable device.

[0112] Those skilled in the art will also understand that the various illustrative logical blocks and steps listed in the embodiments of this application can be implemented by electronic hardware, computer software, or a combination of both. Whether such functionality is implemented through hardware or software depends on the specific application and the overall system design requirements. Those skilled in the art can implement the described functionality using various methods for each specific application, but such implementation should not be construed as exceeding the scope of protection of the embodiments of this application.

[0113] Furthermore, the term “exemplary” is used herein to mean serving as an example, instance, or illustration. Any aspect or design described herein as “exemplary” is not necessarily to be construed as advantageous compared to other aspects or designs. Rather, the use of the term “exemplary” is intended to present the concept in a concrete manner. As used herein, the term “or” is intended to mean an inclusive “or” rather than an exclusive “or.” That is, unless otherwise specified or clear from the context, “X applies A or B” is intended to mean any of the natural inclusive arrangements. That is, “X applies A or B” satisfies any of the foregoing instances if X applies A; X applies B; or both X applies A and B. Additionally, unless otherwise specified or clear from the context to refer to the singular form, the articles “a” and “an” as used in this application and the appended claims are generally understood to mean “one or more.”

[0114] Similarly, although this disclosure has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art upon reading and understanding this specification and the accompanying drawings. This disclosure includes all such modifications and variations and is limited only by the scope of the claims. In particular, with respect to the various functions performed by the components described above (e.g., elements, resources, etc.), unless otherwise indicated, the terminology used to describe such components is intended to correspond to any component (functionally equivalent) that performs the specific function of the described component, even if structurally not equivalent to the disclosed structure. Furthermore, although specific features of this disclosure may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations, as may be desired and advantageous to any given or particular application. Moreover, with regard to the terms “comprising,” “owning,” “having,” “having,” or variations thereof as used in the detailed description or claims, such terms are intended to be inclusive in a manner similar to the term “including.”

[0115] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the appended claims.

[0116] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

[0117] It should be understood that other aspects may be utilized and structural or logical changes may be made without departing from the concepts of this disclosure. Therefore, the following detailed description should not be considered limiting.

[0118] It should be understood that, unless otherwise specifically indicated, features of various embodiments of this disclosure described herein can be combined with each other. As used herein, the term “and / or” includes any one of the relevant listed items and any combination of any two or more; similarly, “at least one of…” includes any one of the relevant listed items and any combination of any two or more.

[0119] Although terms such as “first,” “second,” and “third” may be used herein to describe various components, parts, regions, layers, or sections, these components, parts, regions, layers, or sections are not limited to these terms. Rather, these terms are used only to distinguish one component, part, region, layer, or section from another. Therefore, without departing from the teachings of the examples described herein, the first component, part, region, layer, or section mentioned in the examples may also be referred to as the second component, part, region, layer, or section. Furthermore, the terms “first” and “second” are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as “first” or “second” may explicitly or implicitly include at least one of that feature. In the description herein, “a plurality” means at least two, such as two, three, etc., unless otherwise explicitly specified.

Claims

1. A method for determining sleep power consumption, characterized in that, include: In response to a wake-up command, the power supply value of the power supply module is obtained. This power supply value is obtained by the current sampler detecting the power supply module when the battery controller is in a sleep state. The power of the current sampler is less than the power of the battery controller. The vehicle's sleep power consumption is obtained based on the power supply value.

2. The sleep power consumption determination method of claim 1, wherein, The sleep power consumption includes the sleep power consumption of the vehicle in a sleep cycle. A sleep cycle includes multiple sleep time periods, during which the battery controller is in the sleep state. The step of obtaining the vehicle's sleep power consumption based on the power supply value includes: The power supply values ​​corresponding to the multiple sleep time periods are processed to obtain the sleep power consumption of the vehicle in the sleep cycle.

3. The sleep power consumption determination method according to claim 2, characterized by, One sleep period corresponds to one wake-up period, during which the battery controller is in a wake-up state; The process of processing the power supply values ​​corresponding to the multiple sleep time periods to obtain the sleep power consumption of the vehicle within the one sleep cycle includes: For any sleep period, during the wake-up period corresponding to that sleep period, the power supply value corresponding to that sleep period is processed to obtain the sleep power consumption corresponding to that sleep period. The sleep power consumption of the vehicle in the one sleep cycle is determined based on the sleep power consumption corresponding to the multiple sleep time periods.

4. The sleep power consumption determination method of claim 1, wherein The power supply value is obtained by the current sampler detecting the power supply module when the battery controller is in sleep mode and the current sampler has its detection function enabled.

5. The sleep power consumption determination method of claim 4, wherein, The method further includes: Before going into sleep mode, in response to the power supply request from the power supply module, configuration information is sent to the current sampler. The configuration information is used by the current sampler to enable the detection function.

6. The sleep power consumption determination method according to any one of claims 1-5, characterized in that, The power supply value includes the ampere-hour integral value; The step of obtaining the vehicle's sleep power consumption based on the power supply value includes: Based on the baseline value and the ampere-hour integral value, the ampere-hour integral increment is obtained; The vehicle's sleep power consumption is obtained based on the integral increment of ampere-hours and the total voltage of the battery pack.

7. The sleep power consumption determination method according to any one of claims 1-5, characterized by, The method further includes: In the vehicle wake-up state, the sleep power consumption is sent to the vehicle controller. The sleep power consumption is used by the vehicle controller to perform at least one of the following: state of charge estimation and correction, vehicle energy consumption statistics, and energy consumption statistics of the target load device.

8. The sleep power consumption determination method according to any one of claims 1-5, characterized by, The method further includes: In response to the vehicle hibernation command, the stored power supply value and hibernation power consumption are cleared to zero.

9. The sleep power consumption determination method according to any one of claims 1-5, characterized by, The wake-up command is sent when the entire vehicle is woken up or periodically based on a preset wake-up duration.

10. The method for determining sleep power consumption according to any one of claims 1-5, characterized in that, The storage space of the current sampler is larger than the preset storage space.

11. A sleep power consumption determination device, characterized in that, include: The acquisition module is configured to acquire the power supply value of the power supply module in response to a wake-up command. The power supply value is obtained by the current sampler detecting the power supply module when the battery controller is in a sleep state. The power of the current sampler is less than the power of the battery controller. The module is configured to obtain the vehicle's sleep power consumption based on the power supply value.

12. The sleep power consumption determination device according to claim 11, characterized in that, The sleep power consumption includes the sleep power consumption of the vehicle in a sleep cycle. A sleep cycle includes multiple sleep time periods, during which the battery controller is in the sleep state. The obtaining module is configured as follows: The power supply values ​​corresponding to the multiple sleep time periods are processed to obtain the sleep power consumption of the vehicle in the sleep cycle.

13. The sleep power consumption determination device according to claim 12, characterized in that, One sleep period corresponds to one wake-up period, during which the battery controller is in a wake-up state; The obtaining module is configured as follows: For any sleep period, during the wake-up period corresponding to that sleep period, the power supply value corresponding to that sleep period is processed to obtain the sleep power consumption corresponding to that sleep period. The sleep power consumption of the vehicle in the one sleep cycle is determined based on the sleep power consumption corresponding to the multiple sleep time periods.

14. The sleep power consumption determination device according to any one of claims 11-13, characterized in that, The power supply value includes the ampere-hour integral value; The obtaining module is configured as follows: Based on the baseline value and the ampere-hour integral value, the ampere-hour integral increment is obtained; The vehicle's sleep power consumption is obtained based on the integral increment of ampere-hours and the total voltage of the battery pack.

15. The sleep power consumption determination device according to any one of claims 11-13, characterized in that, The device further includes: The sending module is configured to send the sleep power consumption to the vehicle controller when the vehicle is in wake-up state. The sleep power consumption is used by the vehicle controller to perform at least one of the following: state of charge estimation and correction, vehicle energy consumption statistics, and energy consumption statistics of the target load device.

16. A vehicle, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the steps of the method according to any one of claims 1-10 when executing.

17. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program performs the steps of the method described in any one of claims 1-10.

18. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the steps of the method according to any one of claims 1-10.