Methods, apparatus and computer-readable storage media for measuring dark current in whole vehicles

By acquiring and calculating the message discharge quantity and time during the vehicle's wake-up and hibernation periods, and combining this with preset dark current and time difference, the problem of inaccurate measurement of vehicle dark current in existing technologies is solved, and accurate measurement under different conditions is achieved.

CN119283794BActive Publication Date: 2026-04-03AVATR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

Existing methods for measuring the dark current of a vehicle fail to account for different situations, making it difficult to accurately measure the dark current of the entire vehicle.

Method used

By acquiring the discharge amount and time of the first frame message after each vehicle wake-up and the discharge amount and time of the last frame message after each vehicle hibernation, the first dark current is calculated using the preset dark current and time difference. When the discharge amount of the first frame message is less than the discharge amount of the last frame message, the vehicle battery abnormality or power failure is considered and accumulated to determine the vehicle dark current.

Benefits of technology

It improves the accuracy of vehicle dark current measurement, especially when the number of wake-up times is greater than 1, it can accurately determine the sleep time and discharge amount, thus measuring the vehicle dark current more accurately.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119283794B_ABST
    Figure CN119283794B_ABST
Patent Text Reader

Abstract

This invention relates to the field of vehicle technology and discloses a method, apparatus, and computer-readable storage medium for measuring the dark current of a vehicle. The method includes: acquiring the discharge amount and time of the first frame message after each vehicle wake-up, and the discharge amount and time of the last frame message after each vehicle hibernation; when the discharge amount of the first frame message is less than the discharge amount of the last frame message, determining a first dark current based on the discharge amount of the last frame message, a preset dark current, and a time difference; wherein the time difference is determined based on the time of the first frame message and the time of the last frame message. Applying the technical solution of this invention, the dark current of the vehicle under different conditions can be accurately measured, thereby effectively improving the accuracy of the vehicle dark current measurement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle technology, specifically to a method, apparatus, and computer-readable storage medium for measuring dark current in a vehicle. Background Technology

[0002] Vehicle quiescent current, also known as static current, refers to the current that persists even when the car is off. Although this current is small, its accumulation over time can damage the battery, affecting its performance and lifespan. The causes of quiescent current mainly include vehicle circuit design, standby power consumption of electronic devices, and improper human operation. Its impact on the battery is primarily manifested in accelerated self-discharge, impaired starting performance, increased maintenance costs, and potential safety hazards.

[0003] Existing methods for measuring vehicle dark current typically calculate the vehicle dark current by subtracting the discharge amount before the current hibernation from the discharge amount after each wake-up. This method does not consider the vehicle dark current under different conditions, making it difficult to accurately measure the vehicle dark current. Summary of the Invention

[0004] In view of the above problems, embodiments of the present invention provide a method, apparatus and computer-readable storage medium for measuring the dark current of a vehicle, which solves the technical problem in the prior art that does not consider the dark current of the vehicle under different conditions, making it difficult to accurately measure the dark current of the vehicle.

[0005] According to one aspect of the present invention, a method for measuring dark current in a vehicle is provided, the method comprising:

[0006] Get the discharge amount and time of the first frame message after each vehicle wake-up, and the discharge amount and time of the last frame message after each vehicle hibernation.

[0007] If the discharge amount of the first frame message is less than the discharge amount of the last frame message, a first dark current is determined based on the discharge amount of the last frame message, a preset dark current, and a time difference; wherein the time difference is determined based on the time of the first frame message and the time of the last frame message.

[0008] According to another aspect of the present invention, a vehicle dark current measurement device is provided, the device comprising:

[0009] The message data acquisition module is used to acquire the first frame message discharge amount and the first frame message time after each vehicle wake-up, as well as the last frame message discharge amount and the last frame message time after each vehicle hibernation.

[0010] The first dark current determination module is used to determine a first dark current based on the discharge amount of the last frame message, a preset dark current, and a time difference when the discharge amount of the first frame message is less than the discharge amount of the last frame message; wherein the time difference is determined based on the time of the first frame message and the time of the last frame message.

[0011] In one alternative embodiment, the vehicle dark current measurement device further includes a second dark current determination module, used for:

[0012] When the discharge amount of the first frame message is greater than or equal to the discharge amount of the last frame message, the sleep time is determined based on the time of the first frame message and the time of the last frame message, and the sleep discharge amount is determined based on the discharge amount of the first frame message and the discharge amount of the last frame message.

[0013] The second dark current is determined based on the amount of dormant discharge and the dormant time.

[0014] In an alternative embodiment, a preset dark current determination module is further included, used to: determine the second dark current as the preset dark current.

[0015] In one optional approach, determining the sleep time based on the time of the first frame message and the time of the last frame message, and determining the sleep discharge amount based on the discharge amount of the first frame message and the discharge amount of the last frame message, includes:

[0016] When the number of wake-up attempts is 1, the difference between the time of the first frame message and the time of the last frame message is determined as the first sleep time, and the difference between the discharge amount of the first frame message and the discharge amount of the last frame message is taken as the first sleep discharge amount.

[0017] In one optional embodiment, the step of determining the sleep time based on the time of the first frame message and the time of the last frame message, and determining the sleep discharge amount based on the discharge amount of the first frame message and the discharge amount of the last frame message, further includes:

[0018] If the number of wake-ups is greater than 1, the difference between the target first frame message time and the target last frame message time is determined as the overall time; wherein, the target first frame message time is the first frame message time after the last vehicle wake-up, and the target last frame message time is the last frame message time after the first vehicle hibernation.

[0019] The difference between the total time and the total wake-up time within the total time is used to determine the second sleep time;

[0020] The difference between the discharge amount of the first frame message after the last vehicle wake-up and the discharge amount of the last frame message after the first vehicle hibernation is determined as the second hibernation discharge amount.

[0021] In an alternative approach, the first dark current determination module is also used for:

[0022] The percentage of the discharge amount in the last frame message is obtained. When the percentage of the discharge amount meets the preset accuracy requirements, the discharge amount in the last frame message is determined to be valid.

[0023] In an alternative approach, the first dark current determination module is also used for:

[0024] When the discharge amount of the last frame message is greater than the first preset discharge amount and the discharge amount of the first frame message is less than the second preset discharge amount, the total discharge amount is determined according to the discharge amount of the first frame message, the discharge amount of the last frame message, and the total power range, and the quotient of the total discharge amount and the time difference is used as the dark current of the current sleep cycle.

[0025] When the discharge amount of the last frame message is less than or equal to the first preset discharge amount, or the discharge amount of the first frame message is greater than or equal to the second preset discharge amount, the quotient of the discharge amount of the last frame message and the time difference is used as the dark current of the current sleep cycle.

[0026] The first dark current is obtained by adding the dark current of the current sleep cycle to the preset dark current.

[0027] According to another aspect of the present invention, a vehicle dark current measurement device is provided, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other through the communication bus;

[0028] The memory is used to store at least one executable instruction that causes the processor to perform operations such as the vehicle dark current measurement method described above.

[0029] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein at least one executable instruction is stored therein, which, when executed on a vehicle dark current measurement device / apparatus, causes the vehicle dark current measurement device / apparatus to perform the operation of the vehicle dark current measurement method as described above.

[0030] In this embodiment of the invention, when the discharge amount of the first frame message is less than the discharge amount of the last frame message, i.e. the vehicle battery is abnormal or power is cut off, the first dark current is determined based on the discharge amount of the last frame message, the preset dark current, and the time difference. This takes into account the vehicle dark current under different conditions, thereby effectively improving the accuracy of the vehicle dark current measurement.

[0031] Furthermore, when the number of vehicle wake-up attempts is greater than 1, this embodiment of the invention determines the difference between the discharge amount of the first frame message after the last vehicle wake-up and the discharge amount of the last frame message after the first vehicle hibernation as the second hibernation discharge amount. This allows for accurate determination of the corresponding hibernation time and hibernation discharge amount when the number of wake-up attempts is greater than 1, and further determination of the vehicle's dark current from the start of hibernation to the current wake-up.

[0032] The above description is merely an overview of the technical solutions of the embodiments of the present invention. In order to better understand the technical means of the embodiments of the present invention and to implement them in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the embodiments of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0033] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:

[0034] Figure 1 This invention provides a schematic flowchart of a method for measuring the dark current of a vehicle according to an embodiment of the present invention.

[0035] Figure 2 This paper illustrates another flowchart of the vehicle dark current measurement method provided in an embodiment of the present invention.

[0036] Figure 3 A schematic diagram of the structure of the vehicle dark current measuring device provided in an embodiment of the present invention is shown;

[0037] Figure 4 A schematic diagram of the structure of the whole vehicle dark current measurement device provided by the present invention is shown. Detailed Implementation

[0038] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0039] Figure 1 A flowchart of a vehicle dark current measurement method provided in an embodiment of the present invention is shown. This method is executed by a vehicle dark current measurement device. Figure 1 As shown, the method includes the following steps:

[0040] Step 110: Obtain the discharge amount of the first message after each vehicle wake-up. and the time of the first message frame And the discharge amount of the last frame message after each vehicle hibernation. and last frame message time ;

[0041] Specifically, the vehicle's wake-up status can be monitored during the vehicle's power-down cycle. By recording the time of each wake-up and sleep cycle, relevant power and time information after the vehicle wakes up and sleeps can be obtained. Before obtaining the discharge amount and time of the first frame message after each vehicle wake-up, the vehicle's power level status information is obtained to determine that the current power level is OFF. In this embodiment of the invention, the vehicle sleep cycle can be n times, where n is a positive integer greater than or equal to 1, and the time from the last frame message after the vehicle sleep cycle to the first frame message time after the vehicle wakes up constitutes one vehicle sleep cycle.

[0042] In this embodiment of the invention, by determining the corresponding message discharge amount and message time through the messages sent when the vehicle is in hibernation or wake-up, the message sending time can be accurately obtained based on the timestamp in the message information, and the power information at the time of message sending can be accurately obtained from the message information. This enables accurate acquisition of time information and power information in different states, thereby effectively improving the accuracy of dark current measurement.

[0043] Step 120: If the discharge amount of the first frame message is less than the discharge amount of the last frame message, determine the first dark current based on the discharge amount of the last frame message, the preset dark current, and the time difference; wherein the time difference is determined based on the time of the first frame message and the time of the last frame message.

[0044] In a typical vehicle sleep cycle, the dark current generated when the vehicle enters sleep mode from working mode is generated. The discharge amount of the first frame message after the vehicle wakes up is greater than or equal to the discharge amount of the last frame message after the vehicle goes into sleep mode. However, when the vehicle battery malfunctions or loses power, the discharge amount of the first frame message after the vehicle wakes up is less than the discharge amount of the last frame message after the vehicle goes into sleep mode, and is also less than the discharge amount of the last frame message.

[0045] In this embodiment of the invention, if the discharge amount of the first frame message after the vehicle wakes up is less than the discharge amount of the last frame message, it can be determined that the current vehicle battery is abnormal or power outage. At this time, the current breakpoint is recorded, and the dark current of this sleep cycle is obtained by accumulating the discharge amounts of each breakpoint. The validity of the discharge amount of the last frame message during the vehicle's sleep cycle is verified. If valid, the dark current of the current sleep cycle can be further calculated based on the discharge amount of the last frame message.

[0046] In this embodiment of the invention, the preset dark current can be the dark current determined based on the previous vehicle sleep cycle. The first dark current can be obtained by adding the dark current of the current sleep cycle calculated in this embodiment. The first dark current is the dark current of the current vehicle.

[0047] In this embodiment of the invention, the first dark current is determined based on the discharge amount of the last frame message, the preset dark current, and the time difference, which can be:

[0048]

[0049] +

[0050] in, The dark current of the current sleep cycle. This refers to the total battery capacity. This represents the percentage of battery charge discharged in the last frame message. The time of the first message frame. This is the time of the last frame message.

[0051] In this embodiment of the invention, when the discharge amount of the first frame message is less than the discharge amount of the last frame message, i.e. the vehicle battery is abnormal or power is cut off, the first dark current is determined based on the discharge amount of the last frame message, the preset dark current, and the time difference. This takes into account the vehicle dark current under different conditions, thereby effectively improving the accuracy of the vehicle dark current measurement.

[0052] In an alternative approach, step S120 further includes:

[0053] When the discharge amount of the first frame message is greater than or equal to the discharge amount of the last frame message, the sleep time is determined based on the time of the first frame message and the time of the last frame message, and the sleep discharge amount is determined based on the discharge amount of the first frame message and the discharge amount of the last frame message.

[0054] The second dark current is determined based on the amount of dormant discharge and the dormant time.

[0055] In this embodiment of the invention, when the discharge amount of the first frame message in a vehicle sleep cycle is greater than or equal to the discharge amount of the last frame message, the dark current is the average discharge current relative to the sleep time. This embodiment of the invention determines the sleep discharge amount and sleep time within this vehicle sleep cycle, thereby further determining the second dark current, wherein the second dark current is the dark current during the period from the start of vehicle sleep to wake-up.

[0056] In this embodiment of the invention, when the discharge amount of the first frame message is greater than or equal to the discharge amount of the last frame message, the difference between the discharge amounts of the first and last frame messages can more accurately reflect the actual power consumption. Furthermore, the discharge amounts of the first and last frame messages can be used to accurately determine the dormant discharge amount. This can effectively simplify the dark current measurement process while ensuring accurate measurement of dark current, thereby effectively improving the efficiency of dark current measurement.

[0057] In one alternative approach, after determining the second dark current based on the amount of sleep discharge and the sleep time, the second dark current is determined as the preset dark current.

[0058] In this embodiment of the invention, the second dark current is the vehicle dark current calculated when the discharge amount of the first frame message is greater than or equal to the discharge amount of the last frame message. This embodiment of the invention uses the dark current calculated under this condition as the preset dark current. When the discharge amount of the first frame message is less than the discharge amount of the last frame message during the vehicle's sleep period, the vehicle dark current under different conditions can be accurately calculated by combining the second dark current, thereby effectively improving the accuracy of the vehicle dark current measurement.

[0059] In one optional approach, determining the sleep time based on the time of the first frame message and the time of the last frame message, and determining the sleep discharge amount based on the discharge amount of the first frame message and the discharge amount of the last frame message, includes:

[0060] When the number of wake-up attempts is 1, the difference between the time of the first frame message and the time of the last frame message is determined as the first sleep time, and the difference between the discharge amount of the first frame message and the discharge amount of the last frame message is taken as the first sleep discharge amount.

[0061] When the number of wake-ups is 1, the formula for calculating the second dark current is as follows:

[0062] .

[0063] In this embodiment of the invention, when the number of wake-up attempts is 1, the first sleep time in the sleep cycle is determined based on the discharge time of the first frame message and the last frame message of the current vehicle sleep cycle, and the first sleep discharge amount in the sleep cycle is determined based on the discharge amount of the first frame message and the discharge amount of the last frame message, so as to quickly and accurately obtain the dark current of the vehicle when the number of wake-up attempts is 1.

[0064] In one optional embodiment, the step of determining the sleep time based on the time of the first frame message and the time of the last frame message, and determining the sleep discharge amount based on the discharge amount of the first frame message and the discharge amount of the last frame message, further includes:

[0065] When the number of wake-ups is greater than 1, the difference between the target first frame message time and the target last frame message time is determined as the overall time; wherein, the target first frame message time is the first frame message time after the last vehicle wake-up, and the target last frame message time is the last frame message time after the first vehicle hibernation.

[0066] The difference between the total time and the total wake-up time within the total time is used to determine the second sleep time;

[0067] The difference between the discharge amount of the first frame message after the last vehicle wake-up and the discharge amount of the last frame message after the first vehicle hibernation is determined as the second hibernation discharge amount.

[0068] When the number of wake-ups is greater than 1, the formula for calculating the second dark current is as follows:

[0069]

[0070] in, The second dark current, This refers to the discharge amount in the last frame message during the first hibernation. The time of the last frame message during the first sleep phase. Total wake-up time.

[0071] In this embodiment of the invention, when the number of vehicle wake-up attempts is greater than 1, the vehicle has multiple sleep cycles. The entire time period from the start of sleep to the final wake-up can be defined as the overall time. The total wake-up time within the overall time period includes multiple wake-up cycles, where each wake-up cycle can be determined by the difference between the last frame message time and the previous first frame message time. Please refer to Table 1, which is a functional motion recording data table, where the start time is the previous first frame message time, the end time is the last frame message time, and the time difference between the two is one wake-up cycle.

[0072] Table 1 Function Operation Record Data Table

[0073]

[0074] In this embodiment of the invention, the difference between the overall time and the total wake-up time within the overall time is used to determine the second sleep time, which is the total sleep time within the vehicle's time. In addition, this embodiment of the invention determines the difference between the discharge amount of the first frame message after the last vehicle wake-up and the discharge amount of the last frame message after the first vehicle sleep as the second sleep discharge amount. This allows for accurate determination of the corresponding sleep time and sleep discharge amount when the number of wake-ups is greater than 1, and further determination of the vehicle's dark current from the start of the vehicle's sleep to the current wake-up.

[0075] In one alternative approach, prior to determining the first dark current, the method further includes:

[0076] The percentage of the discharge amount in the last frame message is obtained. When the percentage of the discharge amount meets the preset accuracy requirements, the discharge amount in the last frame message is determined to be valid.

[0077] In this embodiment of the invention, the total battery capacity is determined. After obtaining the discharge amount of the last frame message, the ratio of the discharge amount of the last frame message to the total battery capacity is used as the percentage of the discharge amount of the last frame message. Considering the decrease in total battery capacity due to usage time, number of cycles, and deep discharge, the percentage of discharge amount will not reach 100%.

[0078] If the percentage of discharge in the last frame does not meet the preset accuracy requirement, the percentage of discharge in the previous frame is used to re-evaluate whether it meets the preset accuracy requirement until a valid discharge is determined and used for subsequent dark current calculation, thereby ensuring the accuracy and reliability of the first dark current measurement.

[0079] In an alternative approach, step 120 further includes:

[0080] The step of determining the first dark current based on the discharge amount of the last frame message, the preset dark current, and the time difference includes:

[0081] When the discharge amount of the last frame message is greater than the first preset discharge amount and the discharge amount of the first frame message is less than the second preset discharge amount, the total discharge amount is determined according to the discharge amount of the first frame message, the discharge amount of the last frame message, and the total power range, and the quotient of the total discharge amount and the time difference is used as the dark current of the current sleep cycle.

[0082]

[0083] In this embodiment of the invention, the first preset discharge amount can be a proportion of the total power range. For example, if the power range is 0-10000, the first preset total range can be 9 / 10 of the total power range, 10 / 11 of the total power range, etc., and the second preset discharge amount can be 80, 100, 120, etc.

[0084] In this embodiment of the invention, when the discharge amount of the last frame message is greater than the first preset discharge amount, it is determined that the discharge amount of the last frame message is close to the maximum discharge range. At this time, the discharge amount of the first frame message after the next vehicle wake-up is less than the preset value, which means that the discharge amount of the first frame message has exceeded the maximum discharge range. The discharge amount is then re-measured starting from 0. Therefore, this embodiment of the invention can accurately determine the total discharge amount based on the discharge amount of the first frame message, the discharge amount of the last frame message, and the total power range.

[0085] When the discharge amount of the last frame message is less than or equal to a first preset discharge amount, or the discharge amount of the first frame message is greater than or equal to a second preset discharge amount, the quotient of the discharge amount of the last frame message and the time difference is used as the dark current of the current sleep cycle:

[0086]

[0087] The first dark current is obtained by adding the dark current of the current sleep cycle to the preset dark current.

[0088] In this embodiment of the invention, the formula for calculating the first dark current can be:

[0089] + .

[0090] In this embodiment of the invention, when the discharge amount of the first frame message is less than the discharge amount of the last frame message, the dark current of the current sleep cycle is determined and accumulated with the preset dark current to obtain the first dark current, which is the integrated dark current from the start of the vehicle's sleep to the last wake-up. This comprehensively considers the influencing factors of the vehicle's dark current under various conditions, thereby accurately determining the vehicle's dark current under various conditions and meeting the vehicle's dark current measurement requirements under different conditions.

[0091] Please see Figure 2 This is another schematic diagram of a process for measuring the dark current of a vehicle, provided by an embodiment of the present invention.

[0092] Implementing the embodiments of the present invention has the following beneficial effects:

[0093] In this embodiment of the invention, when the discharge amount of the first frame message is less than the discharge amount of the last frame message, i.e. the vehicle battery is abnormal or power is cut off, the first dark current is determined based on the discharge amount of the last frame message, the preset dark current, and the time difference. This takes into account the vehicle dark current under different conditions, thereby effectively improving the accuracy of the vehicle dark current measurement.

[0094] Furthermore, when the number of vehicle wake-up attempts is greater than 1, this embodiment of the invention determines the difference between the discharge amount of the first frame message after the last vehicle wake-up and the discharge amount of the last frame message after the first vehicle hibernation as the second hibernation discharge amount. This allows for accurate determination of the corresponding hibernation time and hibernation discharge amount when the number of wake-up attempts is greater than 1, and further determination of the vehicle's dark current from the start of hibernation to the current wake-up.

[0095] Figure 3 A schematic diagram of an embodiment of the vehicle dark current measurement device of the present invention is shown. Figure 3 As shown, the device 300 includes: a message data acquisition module 310 and a first dark current determination module, wherein,

[0096] The message data acquisition module 310 is used to acquire the first frame message discharge amount and the first frame message time after each vehicle wake-up, as well as the last frame message discharge amount and the last frame message time after each vehicle hibernation.

[0097] The first dark current determination module 320 is used to determine a first dark current based on the discharge amount of the last frame message, a preset dark current, and a time difference when the discharge amount of the first frame message is less than the discharge amount of the last frame message; wherein the time difference is determined based on the time of the first frame message and the time of the last frame message.

[0098] In one alternative embodiment, the vehicle dark current measurement device further includes a second dark current determination module, used for:

[0099] When the discharge amount of the first frame message is greater than or equal to the discharge amount of the last frame message, the sleep time is determined based on the time of the first frame message and the time of the last frame message, and the sleep discharge amount is determined based on the discharge amount of the first frame message and the discharge amount of the last frame message.

[0100] The second dark current is determined based on the amount of dormant discharge and the dormant time.

[0101] In an alternative embodiment, a preset dark current determination module is further included, used to: determine the second dark current as the preset dark current.

[0102] In one optional approach, determining the sleep time based on the time of the first frame message and the time of the last frame message, and determining the sleep discharge amount based on the discharge amount of the first frame message and the discharge amount of the last frame message, includes:

[0103] When the number of wake-up attempts is 1, the difference between the time of the first frame message and the time of the last frame message is determined as the first sleep time, and the difference between the discharge amount of the first frame message and the discharge amount of the last frame message is taken as the first sleep discharge amount.

[0104] In one optional embodiment, the step of determining the sleep time based on the time of the first frame message and the time of the last frame message, and determining the sleep discharge amount based on the discharge amount of the first frame message and the discharge amount of the last frame message, further includes:

[0105] If the number of wake-ups is greater than 1, the difference between the target first frame message time and the target last frame message time is determined as the overall time; wherein, the target first frame message time is the first frame message time after the last vehicle wake-up, and the target last frame message time is the last frame message time after the first vehicle hibernation.

[0106] The difference between the total time and the total wake-up time within the total time is used to determine the second sleep time;

[0107] The difference between the discharge amount of the first frame message after the last vehicle wake-up and the discharge amount of the last frame message after the first vehicle hibernation is determined as the second hibernation discharge amount.

[0108] In an alternative embodiment, the first dark current determination module 320 is further configured to:

[0109] The percentage of the discharge amount in the last frame message is obtained. When the percentage of the discharge amount meets the preset accuracy requirements, the discharge amount in the last frame message is determined to be valid.

[0110] In an alternative embodiment, the first dark current determination module 320 is further configured to:

[0111] When the discharge amount of the last frame message is greater than the first preset discharge amount and the discharge amount of the first frame message is less than the second preset discharge amount, the total discharge amount is determined according to the discharge amount of the first frame message, the discharge amount of the last frame message, and the total power range, and the quotient of the total discharge amount and the time difference is used as the dark current of the current sleep cycle.

[0112] When the discharge amount of the last frame message is less than or equal to the first preset discharge amount, or the discharge amount of the first frame message is greater than or equal to the second preset discharge amount, the quotient of the discharge amount of the last frame message and the time difference is used as the dark current of the current sleep cycle.

[0113] The first dark current is obtained by adding the dark current of the current sleep cycle to the preset dark current.

[0114] In this embodiment of the invention, when the discharge amount of the first frame message is less than the discharge amount of the last frame message, i.e. the vehicle battery is abnormal or power is cut off, the first dark current is determined based on the discharge amount of the last frame message, the preset dark current, and the time difference. This takes into account the vehicle dark current under different conditions, thereby effectively improving the accuracy of the vehicle dark current measurement.

[0115] Furthermore, when the number of vehicle wake-up attempts is greater than 1, this embodiment of the invention determines the difference between the discharge amount of the first frame message after the last vehicle wake-up and the discharge amount of the last frame message after the first vehicle hibernation as the second hibernation discharge amount. This allows for accurate determination of the corresponding hibernation time and hibernation discharge amount when the number of wake-up attempts is greater than 1, and further determination of the vehicle's dark current from the start of hibernation to the current wake-up.

[0116] Figure 4 The diagram shows a structural schematic of an embodiment of the whole vehicle dark current measurement device of the present invention. The specific embodiments of the present invention do not limit the specific implementation of the whole vehicle dark current measurement device.

[0117] like Figure 4 As shown, the vehicle dark current measurement device may include: processor 402, communication interface 404, memory 406, and communication bus 408.

[0118] The processor 402, communication interface 404, and memory 406 communicate with each other via communication bus 408. Communication interface 404 is used to communicate with other network elements, such as clients or other servers. Processor 402 executes program 410, specifically performing the relevant steps described in the embodiment of the method for measuring dark current in a vehicle.

[0119] Specifically, program 410 may include program code, which includes computer-executable instructions.

[0120] Processor 402 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included in the vehicle dark current measurement device may be processors of the same type, such as one or more CPUs; or they may be processors of different types, such as one or more CPUs and one or more ASICs.

[0121] Memory 406 is used to store program 410. Memory 406 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0122] Specifically, program 410 can be called by processor 402 to cause the vehicle dark current measurement device to perform the following operations:

[0123] Get the discharge amount and time of the first frame message after each vehicle wake-up, and the discharge amount and time of the last frame message after each vehicle hibernation.

[0124] If the discharge amount of the first frame message is less than the discharge amount of the last frame message, a first dark current is determined based on the discharge amount of the last frame message, a preset dark current, and a time difference; wherein the time difference is determined based on the time of the first frame message and the time of the last frame message.

[0125] In an alternative approach, program 410 may be invoked by processor 402 to cause the vehicle dark current measurement device to perform the following operations:

[0126] When the discharge amount of the first frame message is greater than or equal to the discharge amount of the last frame message, the sleep time is determined based on the time of the first frame message and the time of the last frame message, and the sleep discharge amount is determined based on the discharge amount of the first frame message and the discharge amount of the last frame message.

[0127] The second dark current is determined based on the amount of dormant discharge and the dormant time.

[0128] In an alternative approach, program 410 may be invoked by processor 402 to cause the vehicle dark current measurement device to perform the following operations:

[0129] After determining the second dark current based on the dormant discharge amount and the dormant time, the second dark current is determined as the preset dark current.

[0130] In an alternative approach, program 410 may be invoked by processor 402 to cause the vehicle dark current measurement device to perform the following operations:

[0131] When the number of wake-up attempts is 1, the difference between the time of the first frame message and the time of the last frame message is determined as the first sleep time, and the difference between the discharge amount of the first frame message and the discharge amount of the last frame message is taken as the first sleep discharge amount.

[0132] In an alternative approach, program 410 may be invoked by processor 402 to cause the vehicle dark current measurement device to perform the following operations:

[0133] If the number of wake-ups is greater than 1, the difference between the target first frame message time and the target last frame message time is determined as the overall time; wherein, the target first frame message time is the first frame message time after the last vehicle wake-up, and the target last frame message time is the last frame message time after the first vehicle hibernation.

[0134] The difference between the total time and the total wake-up time within the total time is used to determine the second sleep time;

[0135] The difference between the discharge amount of the first frame message after the last vehicle wake-up and the discharge amount of the last frame message after the first vehicle hibernation is determined as the second hibernation discharge amount.

[0136] In an alternative approach, program 410 may be invoked by processor 402 to cause the vehicle dark current measurement device to perform the following operations:

[0137] The percentage of the discharge amount in the last frame message is obtained. When the percentage of the discharge amount meets the preset accuracy requirements, the discharge amount in the last frame message is determined to be valid.

[0138] In an alternative approach, program 410 may be invoked by processor 402 to cause the vehicle dark current measurement device to perform the following operations:

[0139] When the discharge amount of the last frame message is greater than the first preset discharge amount and the discharge amount of the first frame message is less than the second preset discharge amount, the total discharge amount is determined according to the discharge amount of the first frame message, the discharge amount of the last frame message, and the total power range, and the quotient of the total discharge amount and the time difference is used as the dark current of the current sleep cycle.

[0140] When the discharge amount of the last frame message is less than or equal to the first preset discharge amount, or the discharge amount of the first frame message is greater than or equal to the second preset discharge amount, the quotient of the discharge amount of the last frame message and the time difference is used as the dark current of the current sleep cycle.

[0141] The first dark current is obtained by adding the dark current of the current sleep cycle to the preset dark current.

[0142] In this embodiment of the invention, when the discharge amount of the first frame message is less than the discharge amount of the last frame message, i.e. the vehicle battery is abnormal or power is cut off, the first dark current is determined based on the discharge amount of the last frame message, the preset dark current, and the time difference. This takes into account the vehicle dark current under different conditions, thereby effectively improving the accuracy of the vehicle dark current measurement.

[0143] Furthermore, when the number of vehicle wake-up attempts is greater than 1, this embodiment of the invention determines the difference between the discharge amount of the first frame message after the last vehicle wake-up and the discharge amount of the last frame message after the first vehicle hibernation as the second hibernation discharge amount. This allows for accurate determination of the corresponding hibernation time and hibernation discharge amount when the number of wake-up attempts is greater than 1, and further determination of the vehicle's dark current from the start of hibernation to the current wake-up.

[0144] This invention provides a computer-readable storage medium storing at least one executable instruction that, when executed on a vehicle dark current measurement device / app, causes the vehicle dark current measurement device / app to perform the vehicle dark current measurement method in any of the above method embodiments.

[0145] Specifically, the executable instructions can be used to cause the vehicle dark current measurement equipment / device to perform the following operations:

[0146] Get the discharge amount and time of the first frame message after each vehicle wake-up, and the discharge amount and time of the last frame message after each vehicle hibernation.

[0147] If the discharge amount of the first frame message is less than the discharge amount of the last frame message, a first dark current is determined based on the discharge amount of the last frame message, a preset dark current, and a time difference; wherein the time difference is determined based on the time of the first frame message and the time of the last frame message.

[0148] In one alternative approach, the executable instructions can specifically be used to cause the whole vehicle dark current measurement device / appliance to perform the following operations:

[0149] When the discharge amount of the first frame message is greater than or equal to the discharge amount of the last frame message, the sleep time is determined based on the time of the first frame message and the time of the last frame message, and the sleep discharge amount is determined based on the discharge amount of the first frame message and the discharge amount of the last frame message.

[0150] The second dark current is determined based on the amount of dormant discharge and the dormant time.

[0151] In one alternative approach, the executable instructions can specifically be used to cause the whole vehicle dark current measurement device / appliance to perform the following operations:

[0152] After determining the second dark current based on the dormant discharge amount and the dormant time, the second dark current is determined as the preset dark current.

[0153] In one alternative approach, the executable instructions can specifically be used to cause the whole vehicle dark current measurement device / appliance to perform the following operations:

[0154] If the number of wake-ups is greater than 1, the difference between the target first frame message time and the target last frame message time is determined as the overall time; wherein, the target first frame message time is the first frame message time after the last vehicle wake-up, and the target last frame message time is the last frame message time after the first vehicle hibernation.

[0155] The difference between the total time and the total wake-up time within the total time is used to determine the second sleep time;

[0156] The difference between the discharge amount of the first frame message after the last vehicle wake-up and the discharge amount of the last frame message after the first vehicle hibernation is determined as the second hibernation discharge amount.

[0157] In one alternative approach, the executable instructions can specifically be used to cause the whole vehicle dark current measurement device / appliance to perform the following operations:

[0158] The percentage of the discharge amount in the last frame message is obtained. When the percentage of the discharge amount meets the preset accuracy requirements, the discharge amount in the last frame message is determined to be valid.

[0159] In one alternative approach, the executable instructions can specifically be used to cause the whole vehicle dark current measurement device / appliance to perform the following operations:

[0160] When the discharge amount of the last frame message is greater than the first preset discharge amount and the discharge amount of the first frame message is less than the second preset discharge amount, the total discharge amount is determined according to the discharge amount of the first frame message, the discharge amount of the last frame message, and the total power range, and the quotient of the total discharge amount and the time difference is used as the dark current of the current sleep cycle.

[0161] When the discharge amount of the last frame message is less than or equal to the first preset discharge amount, or the discharge amount of the first frame message is greater than or equal to the second preset discharge amount, the quotient of the discharge amount of the last frame message and the time difference is used as the dark current of the current sleep cycle.

[0162] The first dark current is obtained by adding the dark current of the current sleep cycle to the preset dark current.

[0163] In this embodiment of the invention, when the discharge amount of the first frame message is less than the discharge amount of the last frame message, i.e. the vehicle battery is abnormal or power is cut off, the first dark current is determined based on the discharge amount of the last frame message, the preset dark current, and the time difference. This takes into account the vehicle dark current under different conditions, thereby effectively improving the accuracy of the vehicle dark current measurement.

[0164] Furthermore, when the number of vehicle wake-up attempts is greater than 1, this embodiment of the invention determines the difference between the discharge amount of the first frame message after the last vehicle wake-up and the discharge amount of the last frame message after the first vehicle hibernation as the second hibernation discharge amount. This allows for accurate determination of the corresponding hibernation time and hibernation discharge amount when the number of wake-up attempts is greater than 1, and further determination of the vehicle's dark current from the start of hibernation to the current wake-up.

[0165] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system, or other device. Furthermore, the embodiments of this invention are not directed to any particular programming language.

[0166] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. Similarly, for the sake of brevity and to aid in understanding one or more aspects of the invention, in the description of exemplary embodiments of the invention above, various features of the embodiments are sometimes grouped together in a single embodiment, figure, or description thereof. The claims, which follow the detailed description, are hereby expressly incorporated into that detailed description, wherein each claim itself is a separate embodiment of the invention.

[0167] Those skilled in the art will understand that the modules in the device of the embodiment can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiment can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components, except that at least some of such features and / or processes or units are mutually exclusive.

[0168] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be construed as limiting the order of execution.

Claims

1. A method for measuring the dark current of a vehicle, characterized in that, include: Get the discharge amount and time of the first frame message after each vehicle wake-up, and the discharge amount and time of the last frame message after each vehicle hibernation. If the discharge amount of the first frame message is less than the discharge amount of the last frame message, a first dark current is determined based on the discharge amount of the last frame message, a preset dark current, and a time difference; wherein, the time difference is determined based on the time of the first frame message and the time of the last frame message; the preset dark current is the dark current determined based on the previous vehicle sleep cycle; Wherein, when the discharge amount of the first frame message is greater than or equal to the discharge amount of the last frame message, the sleep time is determined according to the time of the first frame message and the time of the last frame message, and the sleep discharge amount is determined according to the discharge amount of the first frame message and the discharge amount of the last frame message. The second dark current is determined based on the dormant discharge amount and the dormant time; The second dark current is determined as the preset dark current.

2. The method for measuring the dark current of a vehicle according to claim 1, characterized in that, The step of determining the sleep time based on the time of the first frame message and the time of the last frame message, and determining the sleep discharge amount based on the discharge amount of the first frame message and the discharge amount of the last frame message, includes: When the number of wake-up attempts is 1, the difference between the time of the first frame message and the time of the last frame message is determined as the first sleep time, and the difference between the discharge amount of the first frame message and the discharge amount of the last frame message is taken as the first sleep discharge amount.

3. The method for measuring the dark current of a vehicle according to claim 1, characterized in that, The step of determining the sleep time based on the time of the first frame message and the time of the last frame message, and determining the sleep discharge amount based on the discharge amount of the first frame message and the discharge amount of the last frame message, further includes: If the number of wake-ups is greater than 1, the difference between the target first frame message time and the target last frame message time is determined as the overall time; wherein, the target first frame message time is the first frame message time after the last vehicle wake-up, and the target last frame message time is the last frame message time after the first vehicle hibernation. The difference between the total time and the total wake-up time within the total time is used to determine the second sleep time; The difference between the discharge amount of the first frame message after the last vehicle wake-up and the discharge amount of the last frame message after the first vehicle hibernation is determined as the second hibernation discharge amount.

4. The method for measuring the dark current of a vehicle according to claim 1, characterized in that, Before determining the first dark current, the following is also included: The percentage of the discharge amount in the last frame message is obtained. When the percentage of the discharge amount meets the preset accuracy requirements, the discharge amount in the last frame message is determined to be valid.

5. The method for measuring the dark current of a vehicle according to claim 1, characterized in that, The step of determining the first dark current based on the discharge amount of the last frame message, the preset dark current, and the time difference includes: When the discharge amount of the last frame message is greater than the first preset discharge amount and the discharge amount of the first frame message is less than the second preset discharge amount, the total discharge amount is determined according to the discharge amount of the first frame message, the discharge amount of the last frame message, and the total power range, and the quotient of the total discharge amount and the time difference is used as the dark current of the current sleep cycle. When the discharge amount of the last frame message is less than or equal to the first preset discharge amount, or the discharge amount of the first frame message is greater than or equal to the second preset discharge amount, the quotient of the discharge amount of the last frame message and the time difference is used as the dark current of the current sleep cycle. The first dark current is obtained by adding the dark current of the current sleep cycle to the preset dark current.

6. A device for measuring dark current in a vehicle, characterized in that, The device includes: The message data acquisition module is used to acquire the first frame message discharge amount and the first frame message time after each vehicle wake-up, as well as the last frame message discharge amount and the last frame message time after each vehicle hibernation. The first dark current determination module is used to determine a first dark current based on the discharge amount of the last frame message, a preset dark current, and a time difference when the discharge amount of the first frame message is less than the discharge amount of the last frame message; wherein the time difference is determined based on the time of the first frame message and the time of the last frame message; and the preset dark current is the dark current determined based on the previous vehicle sleep cycle. Wherein, when the discharge amount of the first frame message is greater than or equal to the discharge amount of the last frame message, the sleep time is determined according to the time of the first frame message and the time of the last frame message, and the sleep discharge amount is determined according to the discharge amount of the first frame message and the discharge amount of the last frame message. The second dark current is determined based on the dormant discharge amount and the dormant time; The second dark current is determined as the preset dark current.

7. A device for measuring dark current in a vehicle, characterized in that, include: The processor, memory, communication interface, and communication bus are provided, wherein the processor, memory, and communication interface communicate with each other via the communication bus. The memory is used to store at least one executable instruction that causes the processor to perform the operation of the whole vehicle dark current measurement method as described in any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one executable instruction, which, when executed on the vehicle dark current measurement device / apparatus, causes the vehicle dark current measurement device / apparatus to perform the operation of the vehicle dark current measurement method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • State of charge estimation device

    CN111913119A

  • Whole vehicle dark current measurement method and system, vehicle and storage medium

    CN114563615A