Battery detection method, battery electric quantity calibration method, battery electric quantity calibration device and atomization equipment

By alternating charge and discharge cycles on the battery, real-time voltage is obtained and the average value is calculated. Battery capacity-voltage mapping data is established, which solves the problem of battery capacity calibration relying on human experience and improves the accuracy of battery capacity calibration and the adaptability of the equipment.

CN122017567APending Publication Date: 2026-05-12NEVILLA (HONG KONG) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NEVILLA (HONG KONG) LTD
Filing Date
2026-01-30
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

In existing technologies, the accuracy of the battery charge-voltage mapping relationship relies on human experience, resulting in low accuracy and affecting the accuracy of battery charge calibration.

Method used

By alternating charge and discharge cycles on the battery, multiple real-time voltages are obtained, the average voltage is calculated, and charging and discharging mapping data is established, reducing the influence of human experience and environmental differences.

Benefits of technology

It improves the accuracy of the battery charge-voltage mapping relationship, ensures the precision of battery charge calibration, adapts to the equipment environment, and reduces errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122017567A_ABST
    Figure CN122017567A_ABST
Patent Text Reader

Abstract

The invention provides a battery detection method, a battery electric quantity calibration method and device and atomization equipment, and belongs to the technical field of battery management. The battery detection method comprises the following steps: carrying out alternate charging and discharging treatment on a battery, and obtaining a plurality of first real-time voltages of the battery in a charging process; the alternate charging and discharging treatment is configured to charge rated electric quantity into the battery at a time; calculating the real-time electric quantity of the battery according to the initial electric quantity, the rated electric quantity and the charging times of the battery; obtaining a charging voltage mean value corresponding to the real-time electric quantity according to the plurality of first real-time voltages; and obtaining charging mapping data according to the real-time electric quantity and the corresponding charging voltage mean value. The real-time electric quantity of the battery corresponding to each charging voltage mean value is an accurate value calculated based on the initial electric quantity of the battery, the rated electric quantity of single charging and the number of times of charging instead of depending on manual estimation or a calculation value of a theoretical curve; therefore, the accuracy of the mapping relation between the battery voltage and the electric quantity in the charging mapping data can be effectively ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of battery management technology, specifically to a battery detection method, a battery power calibration method, an apparatus, and an atomizing device. Background Technology

[0002] As a core component of electronic devices, the battery's operating state directly affects the user experience and the reliability of the device. Therefore, accurately determining the battery's charge-voltage relationship is crucial for a battery management system to effectively manage battery operation.

[0003] Currently, the technical methods for determining the battery's charge-voltage relationship typically involve: determining the theoretical charge-discharge curve of the battery through capacity testing, conducting charging tests on the batteries in the product, recording multiple voltage data points during battery operation, and manually calculating the charge corresponding to each voltage data point. By comparing the charge calculated for each voltage data point with the theoretical charge corresponding to the voltage data on the theoretical charge-discharge curve, and in cases where the two differ, manually re-determining the charge corresponding to that voltage data point based on experience, the battery's charge-voltage mapping relationship is ultimately established.

[0004] However, the battery charge-voltage mapping relationship established based on human experience relies too heavily on subjective experience. This means the accuracy of the mapping relationship is affected not only by computational precision but also by individual differences in experience. Consequently, the battery charge-voltage relationship determined by current methods has relatively low accuracy, which in turn affects the accuracy of the actual battery charge obtained through calibration based on this relationship. Summary of the Invention

[0005] This application provides a battery testing method, a battery power calibration method, an apparatus, and an atomizing device, which can solve the problem of low accuracy in battery power-voltage mapping relationships established by human experience.

[0006] To achieve the above objectives, the technical solutions provided in this application are as follows: In some embodiments, a battery detection method is provided, the method comprising: The battery is subjected to alternating charge and discharge processes to obtain multiple first real-time voltages of the battery during the charging process; the alternating charge and discharge processes are configured to charge the battery with the rated capacity in a single charge. The real-time battery capacity is calculated based on the battery's initial charge, rated charge, and number of charging cycles. The average charging voltage corresponding to the real-time power is obtained based on the plurality of first real-time voltages; Charging mapping data is obtained based on the real-time battery level and the corresponding average charging voltage; the charging mapping data is configured to determine the real-time battery level based on the average charging voltage of the battery.

[0007] In some embodiments, the method further includes: Obtain multiple second real-time voltages of the battery during the discharge process; The average discharge voltage corresponding to the real-time charge is obtained based on the plurality of second real-time voltages; Discharge mapping data is obtained based on the real-time power level and the corresponding average discharge voltage; the discharge mapping data is configured to determine the real-time power level of the battery based on the average discharge voltage of the battery.

[0008] In some embodiments, the method further includes: Obtain the initial state of the battery before the alternating charge and discharge process; When the initial state indicates that the initial charge of the battery is lower than the rated charge threshold, the battery is subjected to alternating charge and discharge treatment.

[0009] In some embodiments, obtaining the initial state of the battery before the start of the alternating charge-discharge process includes: Obtain the initial voltage of the battery before the alternating charge-discharge process begins; The initial state indicates that the initial charge of the battery is lower than the rated charge threshold, including: the initial voltage is within a target voltage range, where the target voltage range is the voltage range of the battery when the charge is lower than the rated charge threshold.

[0010] In some embodiments, obtaining the average charging voltage corresponding to the real-time charge based on the plurality of first real-time voltages includes: The first real-time voltage within a first time period is obtained from the plurality of first real-time voltages to obtain a plurality of first target voltages; the first time period is the n seconds before the battery charging stops, where n is a positive integer. The average charging voltage corresponding to the real-time power level is obtained based on the multiple first target voltages.

[0011] In some embodiments, obtaining the average charging voltage corresponding to the real-time power level based on the plurality of first target voltages includes: The average of the multiple first target voltages is calculated to obtain the average charging voltage corresponding to the real-time power level.

[0012] In some embodiments, obtaining the average discharge voltage corresponding to the real-time charge based on the plurality of second real-time voltages includes: The second real-time voltage within a second time period is obtained from the plurality of second real-time voltages to obtain a plurality of second target voltages, wherein the second time period is m seconds after the target duration of stopping charging the battery; The average discharge voltage corresponding to the real-time charge is obtained based on the multiple second target voltages.

[0013] In some embodiments, obtaining the average discharge voltage corresponding to the amount of charge based on the plurality of second target voltages includes: The average value of the multiple second target voltages is calculated to obtain the average discharge voltage corresponding to the real-time power level.

[0014] In some embodiments, the method further includes: Under the condition that the charging is stopped, the battery is controlled to stop charging. The charging stop conditions include: the real-time power of the battery reaches the calibrated power, or the number of times the battery has been charged is greater than the target number.

[0015] In some embodiments, a battery power calibration method is provided, applied to an atomizing device; the method includes: Obtain the average actual charging voltage of the battery of the atomizing device, and the charging mapping data of the battery, wherein the charging mapping data is the charging mapping data in any of the methods described in this application; Based on the charging mapping data, the real-time power level corresponding to the average actual charging voltage is determined, and the charging power of the battery is obtained.

[0016] In some embodiments, the method further includes: Obtain the average actual discharge voltage of the battery of the atomizing device, and the discharge mapping data of the battery, wherein the discharge mapping data is the discharge mapping data in any of the methods described in this application; Based on the discharge mapping data, the real-time charge corresponding to the average actual discharge voltage is determined, and the discharge charge of the battery is obtained.

[0017] In some embodiments, a battery detection device is provided, applied to an atomizing device; the device includes: The charge / discharge module is used to perform alternating charge and discharge processes on the battery. A detection module is used to detect multiple first real-time voltages of the battery during the charging process; the alternating charge-discharge process is configured to charge the battery with its rated capacity in a single charge. The calculation module is used to calculate the real-time battery capacity based on the battery's initial capacity, rated capacity, and number of charging cycles. The first determining module is used to obtain the average charging voltage corresponding to the real-time power based on the plurality of first real-time voltages; A generation module is used to obtain charging mapping data based on the real-time power level and the corresponding average charging voltage; the charging mapping data is configured to determine the real-time power level of the battery based on the average charging voltage of the battery.

[0018] In some embodiments, a battery power calibration device is provided, applied to an atomizing device; the device includes: The acquisition module is used to acquire the average actual charging voltage of the battery of the atomizing device and the charging mapping data of the battery, wherein the charging mapping data is the charging mapping data in any of the methods described in this application; The second determining module is used to determine the real-time power corresponding to the average actual charging voltage based on the charging mapping data, and to obtain the charging power of the battery.

[0019] In some embodiments, an atomizing device is provided, the atomizing device comprising: Processor and memory; The memory is used to store computer programs; When the processor executes the program stored in the memory, it implements the method steps of the battery detection method or the method steps of the battery power calibration method.

[0020] In this embodiment of the application, the battery is subjected to alternating charge and discharge processing, and the alternating charge and discharge processing is configured to charge the battery with the rated capacity in a single charge. After each charge, multiple first real-time voltages of the battery during the charging process are obtained. Based on the initial capacity of the battery, the rated capacity charged in a single charge, and the number of times the battery is charged, the real-time capacity of the battery at the completion of the charge is calculated. Then, the average value of multiple first real-time voltages during the charge process is calculated to obtain the average charging voltage value corresponding to a real-time capacity of the battery.

[0021] By analogy, an accurate mapping relationship between multiple real-time battery charge levels and average charging voltages can be obtained, resulting in charging mapping data. Since the real-time battery charge level corresponding to each average charging voltage is an accurate value calculated based on the battery's initial charge level, the rated charge level for a single charge, and the number of charge cycles, rather than relying on manual estimation or theoretical curves, data errors introduced by differences in human experience or mismatched external testing environments can be avoided, effectively ensuring the accuracy of the battery voltage-charge mapping relationship in the charging mapping data.

[0022] Furthermore, since the battery detection method provided in this application can be directly applied to actual devices to directly obtain charging mapping data of the actual devices, the battery voltage and capacity mapping relationship recorded in the charging mapping data matches the device environment. Compared with related technologies, this application can effectively eliminate the error in the battery voltage and capacity mapping relationship caused by the mismatch between the capacity distribution cabinet environment and the device environment, further ensuring the accuracy of the battery voltage and capacity mapping relationship. Attached Figure Description

[0023] Figure 1 This is one of the flowcharts of the battery detection method provided in the embodiments of this application; Figure 2 This is the second flowchart of the battery detection method provided in the embodiments of this application; Figure 3 This is the third flowchart of the battery detection method provided in the embodiments of this application; Figure 4 This is the fourth flowchart of the battery detection method provided in the embodiments of this application; Figure 5 This is the fifth flowchart of the battery detection method provided in the embodiments of this application; Figure 6 This is the sixth flowchart of the battery detection method provided in the embodiments of this application; Figure 7 This is the seventh flowchart of the battery detection method provided in the embodiments of this application; Figure 8 This is one of the flowcharts of the battery power calibration method provided in the embodiments of this application; Figure 9 This is the second flowchart of the battery power calibration method provided in the embodiments of this application; Figure 10 This is one of the structural schematic diagrams of the battery detection device provided in the embodiments of this application; Figure 11 This is one of the structural schematic diagrams of the battery power calibration device provided in the embodiments of this application; Figure 12 This is one of the structural schematic diagrams of the atomizing device provided in the embodiments of this application. Detailed Implementation

[0024] The present invention will now be described in further detail with reference to specific embodiments and accompanying drawings. Similar elements in different embodiments are referred to by associated similar element reference numerals. In the following embodiments, many details are described to facilitate a better understanding of this application. However, those skilled in the art will readily recognize that some features may be omitted in different situations, or may be replaced by other elements, materials, or methods. In some cases, certain operations related to this application are not shown or described in the specification. This is to avoid obscuring the core parts of this application with excessive description. For those skilled in the art, detailed description of these related operations is not necessary; they can fully understand the related operations based on the description in the specification and general technical knowledge in the art.

[0025] Furthermore, the features, operations, or characteristics described in the specification can be combined in any suitable manner to form various embodiments. At the same time, the steps or actions in the method description can be rearranged or adjusted in a manner obvious to those skilled in the art. Therefore, the various orders in the specification and drawings are only for the clear description of a particular embodiment and do not imply a necessary order, unless otherwise stated that a particular order must be followed.

[0026] The serial numbers assigned to components in this document, such as "first" and "second," are used only to distinguish the described objects and have no sequential or technical meaning. The terms "connection" and "linkage" used in this application, unless otherwise specified, include both direct and indirect connections (linkages).

[0027] refer to Figure 1 The diagram illustrates a flowchart of a battery detection method provided in an embodiment of this application. The battery detection method is applied to an atomizing device. Figure 1 As shown, the method includes: Step 101: Perform alternating charge-discharge processing on the battery to obtain multiple first real-time voltages of the battery during the charging process. The alternating charge-discharge processing is configured to charge the battery to its rated capacity in a single cycle.

[0028] In this embodiment of the application, during the alternating charge and discharge process of the battery, multiple first real-time voltages of the battery can be obtained for each charging process, so as to obtain multiple first real-time voltages corresponding to each charging process.

[0029] This process involves alternating charge and discharge cycles, where the battery undergoes a charge-discharge cycle. This cycle is configured to first charge the battery to a fixed rated capacity, then discharge it, completing one full charge-discharge cycle. This cycle is repeated to create alternating charge and discharge cycles for the battery.

[0030] In some alternative embodiments, discharging the battery can refer to the process of discharging the battery. In other embodiments, discharging the battery can also refer to a resting process after stopping charging, to simulate the battery's discharge process. During the resting process after stopping charging, the battery is neither charging nor driving an external load and is in a resting state. The battery voltage is not disturbed by the charging voltage and gradually stabilizes from a higher value in the charging state. Since in practical applications, when the battery supplies power to an external load, i.e., when the battery is discharging, its operating state also starts from a stable resting state, the resting state voltage after stopping charging can be considered as the initial voltage in the battery discharge process. Therefore, the resting process after stopping charging can be regarded as simulating the battery discharge process.

[0031] In some embodiments, the specific value of the rated capacity can be adjusted according to the capacity characteristics of different battery models. For example, the rated capacity can be 5 mAh, 10 mAh, or 15 mAh. The charging stop time can be adjusted according to the physical characteristics of the battery and the external environment. For example, in low-temperature environments, the charging stop time can be extended to ensure battery voltage stability.

[0032] For example, alternating charge and discharge processing can be performed by an external host computer controlled by a controller in the atomizing device. The controller in the atomizing device starts the external host computer to enable the external host computer to perform alternating charging processing on the battery. The host computer can be a power supply or an ASD-906B battery simulator.

[0033] Step 102: Calculate the real-time battery capacity based on the battery's initial capacity, rated capacity, and number of charging cycles.

[0034] In this embodiment of the application, the real-time battery level after each charging process can be calculated based on the battery's initial charge, rated charge, and number of charging cycles. This allows us to obtain the real-time battery level after each charging process during the alternating charge and discharge cycle, which is also the real-time battery level when each charging cycle is completed.

[0035] Here, the initial battery capacity represents the battery's capacity before the first alternating charge-discharge cycle. The number of charge cycles represents the number of alternating charge-discharge cycles performed on the battery. During the alternating charge-discharge cycle, the real-time battery capacity Qi after the i-th charge cycle satisfies: Qi = Q0 + ΔQ × i. Since the initial battery capacity, rated battery capacity, and the number of charge cycles are all accurately quantified values, the accuracy of the calculated battery capacity can be ensured, effectively clarifying the real-time battery capacity after each charge cycle.

[0036] In some embodiments, the number of charging cycles can be counted by a controller in the atomizing device, with the controller incrementing the number of charging cycles by one after each charge-discharge process. Further optionally, the battery's charge capacity can be determined based on the charging current and charging time; for example, the charge capacity Q2 = Iavg × Δt. Δt represents the charging time, which can be in hours or seconds. Q2 represents the amount of charge injected into the battery during the charging time Δt, which can be in ampere-hours or milliampere-hours. Iavg represents the average current during the charging time Δt, which can be in amperes or milliamperes. Furthermore, since the battery's charging current can be obtained in real time through detection, the charge capacity of the battery during a single charge can be controlled by adjusting the charging time based on the real-time charging current, thereby ensuring that the battery is charged with the rated capacity in a single charge.

[0037] Step 103: Obtain the average charging voltage corresponding to the real-time power based on multiple first real-time voltages.

[0038] In some embodiments of this application, as described above, during the alternating charge-discharge process of the battery, multiple first real-time voltages of the battery can be obtained during each charge. Furthermore, for each charge process, the average of the multiple first real-time voltages of the battery during that charge process is calculated to obtain an average charging voltage. This average charging voltage can be considered as the battery voltage after that charge process, corresponding to the real-time charge level of the battery after that charge process. Similarly, based on the multiple first real-time voltages of the battery during each charge process, the average charging voltage corresponding to the real-time charge level of the battery after each charge process can be obtained. Since the alternating charge-discharge process is repeated cyclically, a series of discrete and precise real-time charge levels can be determined by performing multiple charge-discharge processes on the battery, thereby determining an average charging voltage corresponding to each real-time charge level.

[0039] For example, assume that the alternating charge-discharge process of the battery includes: a first charge-discharge process, a second charge-discharge process, and a third charge-discharge process (i.e., i = 3). The atomizing device acquires j first real-time voltages V111-V11j during the charging process of the first charge-discharge process, calculates the real-time charge Q1 of the battery after this charging process, and calculates the average of the n first real-time voltages V111-V11j to obtain the average charging voltage Vavg11 corresponding to the real-time charge Q1. The atomizing device acquires n first real-time voltages V121-V12j during the charging process of the second charge-discharge process, calculates the real-time charge Q2 of the battery after this charging process, and calculates the average of the j first real-time voltages V121-V12j to obtain the average charging voltage Vavg12 corresponding to the real-time charge Q2. The atomizing device acquires j first real-time voltages V131-V13j during the charging process of the battery in the third charge-discharge process, calculates the real-time charge Q3 of the battery after this charging process, and calculates the average value of the j first real-time voltages V131-V13j to obtain the average charging voltage Vavg13 corresponding to the real-time charge Q3.

[0040] By calculating the average of multiple first real-time voltages during a single charge, voltage fluctuations and noise interference that occur during battery charging can be effectively avoided, thus preventing the accuracy of confirming the battery voltage after a single charge.

[0041] Furthermore, as the battery charge increases to a higher level, the voltage's sensitivity to changes in charge decreases, resulting in a more gradual voltage rise. Even small voltage measurement deviations can compromise the accuracy of the mapping between battery charge and voltage. Therefore, a single measurement of the battery voltage during each charge cycle may not accurately represent the final battery voltage after the charging process. Consequently, by collecting multiple first real-time voltages during each charge cycle and calculating the average of these voltages, a charging voltage average is obtained. This average charging voltage is then used to accurately represent the final battery voltage after the charging process, effectively ensuring the accuracy of the battery voltage.

[0042] For example, when the battery voltage exceeds 3.9V, the voltage change becomes gradual as the battery continues to charge. Even small voltage measurement deviations can lead to significant errors in the mapping data between battery charge and voltage, affecting the accuracy of this mapping. It should be noted that other algorithms can also be used to obtain the average charging voltage corresponding to the real-time charge based on multiple first real-time voltages. For instance, the average of the first real-time voltages (excluding the maximum and minimum values) can be used as the average charging voltage corresponding to the real-time charge. This reduces the impact of interference factors on the first real-time voltages and allows them to be included in the calculation of the average charging voltage, making the average charging voltage more accurately reflect the battery voltage after charging.

[0043] Step 104: Obtain charging mapping data based on the real-time battery level and the corresponding average charging voltage. The charging mapping data is configured to determine the battery's real-time battery level based on the battery's charging voltage.

[0044] In this embodiment, the charging mapping data is a dataset established by performing alternating charge and discharge processing on the battery, resulting in multiple real-time battery levels and the average charging voltage corresponding to each real-time battery level. It indicates the mapping relationship between battery level and voltage during the charging process. Specifically, the charging mapping data includes: the real-time battery level after multiple charging processes, and the average charging voltage corresponding to each real-time battery level. For example, continuing with the example in step 103 above, the charging mapping data includes: real-time battery levels Q1, Q2, and Q3, and the average charging voltage Vavg11 corresponding to real-time battery level Q1, the average charging voltage Vavg12 corresponding to real-time battery level Q2, and the average charging voltage Vavg13 corresponding to real-time battery level Q3.

[0045] Specifically, the charging mapping data is configured to determine the real-time battery level based on the battery's charging voltage. Optionally, during the charging process, the atomizing device acquires the battery's actual charging voltage and charging mapping data, and determines the real-time battery level corresponding to the actual charging voltage based on the charging mapping data, thereby obtaining the actual charging capacity of the battery and accurately confirming the actual charging status of the battery.

[0046] In some embodiments, charging mapping data can be recorded in the form of lookup tables, matrices, or fitted curves. For example, charging mapping data can be recorded in the form of a lookup table to obtain a battery charge-charging voltage mapping table. During charging, the atomizing device can obtain the actual charging voltage of the battery and determine the actual charging capacity by querying the battery charge-charging voltage mapping table, thus accurately confirming the actual charging status of the battery. Furthermore, the atomizing device can also display the determined battery charging capacity in real time during charging, allowing users to accurately understand the battery's charging status and improving the reliability and user experience of the atomizing device.

[0047] In this embodiment, the battery is subjected to alternating charge-discharge processing, configured to charge the battery with its rated capacity in a single charge. After each charge, multiple first real-time voltages of the battery during the charging process are acquired. Based on the battery's initial capacity, the rated capacity charged in a single charge, and the number of charges, the real-time capacity of the battery at the end of that charge is calculated. The average of these multiple first real-time voltages during that charge is then calculated to obtain the average charging voltage corresponding to a given real-time capacity. This process is repeated to obtain an accurate mapping relationship between the battery's multiple real-time capacities and the average charging voltage, resulting in charging mapping data. Since the real-time capacity corresponding to each average charging voltage is an accurate value calculated based on the battery's initial capacity, the rated capacity charged in a single charge, and the number of charges, rather than relying on manual estimation or theoretical curves, data errors introduced due to differences in human experience or mismatched external testing environments can be avoided, effectively ensuring the accuracy of the battery voltage-capacity mapping relationship in the charging mapping data. Furthermore, since the battery detection method provided in this application can be directly applied to actual devices to directly obtain charging mapping data of the actual devices, the battery voltage and capacity mapping relationship recorded in the charging mapping data matches the device environment. Compared with related technologies, this application can effectively eliminate the error in the battery voltage and capacity mapping relationship caused by the mismatch between the capacity distribution cabinet environment and the device environment, further ensuring the accuracy of the battery voltage and capacity mapping relationship.

[0048] In some embodiments of this application, such as Figure 2 As shown, the battery testing method also includes: Step 201: Obtain multiple second real-time voltages of the battery during the discharge process.

[0049] In this embodiment of the application, during the alternating charge and discharge process of the battery, multiple second real-time voltages of the battery can be obtained for each discharge process, so as to obtain multiple second real-time voltages corresponding to each discharge process.

[0050] In some optional embodiments, discharging the battery may refer to the process of discharging the battery. Accordingly, alternatively, multiple second real-time voltages of the battery can be acquired during each battery discharge process. In other embodiments, discharging the battery may also refer to a resting process after charging is stopped, to simulate the battery discharge process. Accordingly, alternatively, multiple second real-time voltages of the battery during the resting process after each charging stop can be acquired.

[0051] Step 202: Obtain the average discharge voltage corresponding to the real-time charge based on multiple second real-time voltages.

[0052] In some embodiments of this application, discharging the battery can also refer to a resting process after stopping battery charging, used to simulate the battery's discharge process. Therefore, the real-time battery charge after each charging process is also the real-time battery charge at the beginning of each discharge process. Furthermore, since the battery voltage change is essentially static during this resting process, the second real-time voltage collected during this resting process can be considered the battery voltage at the beginning of the discharge process.

[0053] Optionally, during the alternating charge-discharge process, multiple second real-time voltages of the battery can be obtained during each resting process (discharge process). Then, for each resting process, the average of these multiple second real-time voltages is calculated to obtain the average discharge voltage. This average discharge voltage can be considered the battery voltage at the beginning of the discharge process, corresponding to the real-time charge level at the beginning of the discharge process. Similarly, based on the multiple second real-time voltages during each resting process, the average discharge voltage corresponding to the real-time charge level at the beginning of each discharge process can be obtained. Since the alternating charge-discharge process is repeated cyclically, a series of discrete and precise real-time charges can be determined by performing multiple charge-discharge processes on the battery, thereby determining an average discharge voltage corresponding to each real-time charge level.

[0054] In other embodiments of this application, discharging the battery may refer to the process of discharging the battery. Alternating charge-discharge processing is also configured to discharge the battery to a second rated capacity in a single cycle. To distinguish it from the second rated capacity, the rated capacity charged into the battery in a single cycle may be referred to as the first rated capacity. The second rated capacity is less than the first rated capacity.

[0055] Optionally, during the alternating charge-discharge process, multiple second real-time voltages of the battery can be obtained during each discharge. Then, for each discharge process, the average of these multiple second real-time voltages is calculated to obtain the average discharge voltage. This average discharge voltage can be considered the battery voltage at the beginning of the discharge process, corresponding to the real-time charge level at the beginning of the discharge process. Similarly, based on the multiple second real-time voltages during each discharge process, the average discharge voltage corresponding to the real-time charge level at the beginning of each discharge process can be obtained. Since the alternating charge-discharge process is repeated cyclically, a series of discrete and precise real-time charge levels can be determined through multiple charge-discharge processes, thereby determining an average discharge voltage corresponding to each real-time charge level.

[0056] For example, continuing with the example from step 103 above. Assume the alternating charge-discharge process of the battery includes: a first charge-discharge process, a second charge-discharge process, and a third charge-discharge process (i.e., i = 3). The atomizing device acquires j second real-time voltages V211-V21j during the discharge process of the battery in the first charge-discharge process, calculates the average value of the j second real-time voltages V211-V21j, and obtains the average discharge voltage Vavg21 corresponding to the real-time charge Q1. The atomizing device acquires j second real-time voltages V221-V22j during the discharge process of the battery in the second charge-discharge process, calculates the average value of the j second real-time voltages V221-V22j, and obtains the average discharge voltage Vavg22 corresponding to the real-time charge Q2. The atomizing device acquires j second real-time voltages V231-V23j during the discharge process of the battery in the third charge-discharge process, calculates the average value of the j second real-time voltages V231-V23j, and obtains the average discharge voltage Vavg23 corresponding to the real-time charge Q3.

[0057] By calculating the average of multiple second real-time voltages during a single discharge, voltage fluctuations and noise interference that occur during battery discharge can be effectively avoided, thus preventing the accuracy of confirming the battery voltage at the beginning of a single discharge. It should be noted that other algorithms can also be used to obtain the average discharge voltage corresponding to the real-time charge based on multiple second real-time voltages. For example, the average of the second real-time voltages (excluding the maximum and minimum values) can be determined as the average discharge voltage corresponding to the real-time charge. This reduces the impact of interference factors on the second real-time voltages and allows them to be included in the calculation of the average discharge voltage, making the average discharge voltage more accurately reflect the battery voltage at the beginning of the discharge process.

[0058] Step 203: Obtain discharge mapping data based on the real-time battery level and the corresponding average discharge voltage. The discharge mapping data is configured to determine the battery's real-time battery level based on the battery's discharge voltage.

[0059] In this embodiment, the discharge mapping data is a dataset established by performing alternating charge and discharge processes on the battery, resulting in multiple real-time battery levels and the average discharge voltage corresponding to each real-time battery level. It indicates the mapping relationship between battery level and voltage during the battery discharge process. Specifically, the discharge mapping data includes: the real-time battery level after multiple charge processes, and the average discharge voltage corresponding to each real-time battery level. For example, continuing with the example in step 202 above, the discharge mapping data includes: real-time battery levels Q1, Q2, and Q3, and the average discharge voltage Vavg21 corresponding to real-time battery level Q1, the average discharge voltage Vavg22 corresponding to real-time battery level Q2, and the average discharge voltage Vavg23 corresponding to real-time battery level Q3.

[0060] Specifically, the discharge mapping data is configured to determine the real-time battery charge based on the battery's discharge voltage. Optionally, during the discharge process, the atomizing device acquires the actual discharge voltage and discharge mapping data of its battery, and determines the real-time charge corresponding to the actual discharge voltage based on the discharge mapping data, thereby obtaining the actual discharge charge of the battery and accurately confirming the actual discharge status of the battery.

[0061] In some embodiments, discharge mapping data can be recorded in the form of lookup tables, matrices, or fitted curves. For example, discharge mapping data can be recorded in the form of a lookup table to obtain a battery charge-discharge voltage mapping table. During the discharge process, the atomizing device can obtain the actual discharge voltage of the battery and determine the actual discharge charge by querying the battery charge-discharge voltage mapping table, thus accurately confirming the actual discharge status of the battery. Furthermore, the atomizing device can also display the determined battery discharge charge in real time during the discharge process, allowing users to accurately understand the battery's discharge status and improving the reliability and user experience of the atomizing device.

[0062] In some embodiments of this application, such as Figure 3 As shown, before performing alternating charge and discharge treatment on the battery in step 101, the battery testing method further includes: Step 301: Obtain the initial state of the battery before the alternating charge and discharge process.

[0063] In this embodiment of the application, the initial state of the battery can be obtained before performing alternating charge and discharge processing. The initial state at least indicates the current battery charge level. Optionally, the initial state includes at least the battery's initial charge level or the battery's initial voltage.

[0064] In some embodiments, obtaining the initial state includes detecting the current voltage value of the battery or detecting the initial charge level of the battery. The initial state may also include parameters such as battery temperature and health status.

[0065] Step 302: When the initial state indicates that the initial charge of the battery is lower than the rated charge threshold, the battery is subjected to alternating charge and discharge treatment.

[0066] In this embodiment, after obtaining the initial state of the battery before the alternating charge-discharge process, it can be determined whether the initial state indicates that the battery's initial charge level is lower than the rated charge threshold, thereby determining whether the battery is currently in an optimal state for collecting charging mapping data and / or discharging mapping data. It is easy to understand that the lower the initial charge level of the battery, the more rounds of charging and discharging can be performed during the alternating charge-discharge process, thus allowing for the collection of more average charging voltage and average discharging voltage values ​​corresponding to the actual charge level of the battery, resulting in richer charging and discharging mapping data. Clearly, a battery in an optimal data collection state can be understood as having a lower initial charge level.

[0067] Therefore, if the initial state indicates that the battery's initial charge level is below the rated charge threshold, it indicates that the battery is currently in an optimal state for acquiring charging and / or discharging mapping data, and alternating charging and discharging processing can begin. Conversely, if the initial state indicates that the battery's initial charge level is not below the rated charge threshold, it indicates that the battery is not currently in an optimal state for acquiring charging and / or discharging mapping data, and alternating charging and discharging processing can be avoided.

[0068] In an optional embodiment, the initial state includes the battery's initial voltage. The initial state indicates that the battery's initial charge level is below a rated charge threshold, including an initial voltage within a target voltage range. This target voltage range is the range of voltages the battery can withstand when its charge level is below the rated charge threshold.

[0069] Optionally, step 301, obtaining the initial state of the battery before the alternating charge-discharge treatment, includes obtaining the initial voltage of the battery before starting the alternating charge-discharge treatment. Step 302, when the initial state indicates that the initial charge of the battery is lower than the rated charge threshold, starting the alternating charge-discharge treatment of the battery includes starting the alternating charge-discharge treatment of the battery when the initial voltage is within the target voltage range.

[0070] Specifically, a target voltage range can be preset, which is the voltage range of the battery when its charge level is below the rated charge threshold. After obtaining the initial voltage of the battery before alternating charge-discharge processing, it can be determined whether the initial voltage is within the target voltage range to determine whether the battery is currently in an optimal state for acquiring charge mapping data and / or discharge mapping data. If the initial voltage is within the target voltage range, it indicates that the battery is currently in an optimal state for acquiring charge mapping data and / or discharge mapping data, and alternating charge-discharge processing can begin. Conversely, if the initial voltage is not within the target voltage range, it indicates that the battery is not currently in an optimal state for acquiring charge mapping data and / or discharge mapping data, and alternating charge-discharge processing can be omitted. For example, the rated charge threshold can be in the range of [10%, 20%]. Correspondingly, the target voltage range can be [0, 3.2]V.

[0071] In another optional case, the initial state includes the battery's initial charge level. Correspondingly, step 301, which involves obtaining the battery's initial state before the alternating charge-discharge process, includes: obtaining the battery's initial charge level before the alternating charge-discharge process begins.

[0072] Specifically, a preset rated capacity threshold can be used. After obtaining the initial capacity of the battery before alternating charge and discharge processing, it can be determined whether the initial capacity is less than the rated capacity threshold to determine whether the battery is currently in an optimal state for acquiring charging mapping data and / or discharging mapping data. If the initial capacity is less than the rated capacity threshold, it indicates that the battery is currently in an optimal state for acquiring charging mapping data and / or discharging mapping data, and alternating charge and discharge processing can begin. Conversely, if the initial capacity is greater than or equal to the rated capacity threshold, it indicates that the battery is not currently in an optimal state for acquiring charging mapping data and / or discharging mapping data, and alternating charge and discharge processing can be omitted. For example, the rated capacity threshold can be set to [10%, 20%].

[0073] In this optional embodiment, by acquiring the initial state of the battery before the alternating charge and discharge process, and starting the alternating charge and discharge process when the initial state indicates that the initial charge of the battery is lower than the rated charge threshold, it is possible to start the alternating charge and discharge process when the battery charge is low, so as to perform more rounds of charge and discharge process on the battery. This allows for the collection of more average charging voltage and average discharging voltage corresponding to the actual charge of the battery, resulting in richer and more complete charging and discharging mapping data, effectively avoiding the problem of low data integrity caused by the initial charge of the battery being too high.

[0074] In some embodiments of this application, such as Figure 4As shown, step 103, which obtains the average charging voltage corresponding to the real-time charge based on multiple first real-time voltages, includes: Step 1031: Obtain the first real-time voltage within a first time period from a plurality of first real-time voltages to obtain a plurality of first target voltages. The first time period is the n seconds before the battery charging stops, where n is a positive integer.

[0075] Step 1032: Obtain the average charging voltage corresponding to the real-time power level based on multiple first target voltages.

[0076] In this embodiment of the application, during the alternating charge-discharge process of the battery, for each charging process, multiple first real-time voltages can be obtained within the first n seconds before charging stops, resulting in multiple first target voltages, thus obtaining multiple first target voltages corresponding to each charging process. Here, n is a positive integer, and its value can be configured according to the battery characteristics, ensuring that a stable voltage value of the battery can be obtained. Optionally, n can be 1, 2, or 3, etc. For example, if n is 1, the first time period is the first 1 second before charging stops.

[0077] Optionally, the process of obtaining the average charging voltage corresponding to the real-time charge level based on multiple first target voltages can include calculating the average of the multiple first target voltages to obtain the average charging voltage corresponding to the real-time charge level. Specifically, for each charging process, the average of the multiple first target voltages of the battery during that charging process can be calculated to obtain the average charging voltage. This average charging voltage can be considered as the battery voltage after that charging process, which corresponds to the real-time charge level of the battery after that charging process. Similarly, based on the multiple first target voltages of the battery during each charging process, the average charging voltage corresponding to the real-time charge level of the battery after each charging process can be obtained.

[0078] During the period before charging stops, the charging current to the battery is typically constant. Although the battery voltage hasn't reached stability, its fluctuations are relatively gradual. This minimizes the impact of instantaneous voltage fluctuations and noise interference on the real-time voltage data, effectively indicating the battery voltage at the point of charging stop. Therefore, selecting the average real-time voltage within the first time period effectively filters out random interference, yielding an accurate representation of the battery's actual voltage after charging—the voltage at the point of charging stop—which precisely corresponds to the battery's remaining charge. Clearly, utilizing the real-time voltage within the first time period of each charging cycle provides highly accurate charging mapping data, avoiding errors caused by sampling interference.

[0079] In some embodiments of this application, such as Figure 5As shown, step 202, which obtains the average discharge voltage corresponding to the charge based on multiple second real-time voltages, includes: Step 2021: Obtain the second real-time voltage within the second time period from multiple second real-time voltages to obtain multiple second target voltages. The second time period is m seconds after the target duration of stopping battery charging.

[0080] Step 2022: Obtain the average discharge voltage corresponding to the real-time charge based on multiple second target voltages.

[0081] In some embodiments of this application, discharging the battery can also refer to a resting process after stopping battery charging, used to simulate the battery's discharge process. In alternating charge-discharge processing of the battery, for each resting process (discharge process), multiple second real-time voltages can be acquired within m seconds after the target duration of charging cessation, to obtain multiple second target voltages corresponding to each resting process. Here, m is a positive integer, and its value can be configured according to battery characteristics, ensuring a stable battery voltage value can be obtained. Optionally, m can be 1, 2, or 3, etc. The target duration represents the waiting time from stopping charging to starting to acquire the second target voltage. By setting this target duration, it can be ensured that the battery voltage transitions from the charging state to the resting state before acquiring the accurate second target voltage, thereby ensuring that the second target voltage can effectively represent the battery voltage at the beginning of the battery discharge process. The value of this target duration can be configured according to battery characteristics. Optionally, the target duration can be 500 milliseconds, 800 milliseconds, or 1 second.

[0082] Optionally, the process of obtaining the average discharge voltage corresponding to the real-time charge based on multiple second target voltages can include calculating the average of multiple second target voltages to obtain the average discharge voltage corresponding to the real-time charge. Specifically, for each resting process, the average of multiple second target voltages of the battery during that resting process can be calculated to obtain the average discharge voltage. This average discharge voltage can be considered as the battery voltage at the beginning of the battery discharge process, which corresponds to the real-time charge of the battery after that charging process (i.e., at the beginning of the battery discharge process). Similarly, based on the multiple second target voltages of the battery during each resting process, the average charging voltage corresponding to the real-time charge of the battery after each charging process can be obtained.

[0083] Because the charging current gradually decreases to zero and the battery voltage stabilizes after charging stops, the real-time battery voltage data acquired during this period is minimally affected by instantaneous voltage fluctuations and noise interference, effectively representing the battery voltage at the initial stage of discharge. Therefore, selecting the average real-time voltage data within the second time period effectively filters out random interference, ensuring an accurate representation of the battery voltage at the initial stage of discharge and its precise correspondence with the initial battery charge level. Clearly, utilizing the real-time voltage within the second time period during each static processing step yields highly accurate discharge mapping data, avoiding errors caused by sampling interference.

[0084] In some embodiments of this application, before performing alternating charge and discharge processing on the battery in step 101, the battery detection method further includes: determining whether the battery is a battery being charged for the first time, so as to start performing alternating charge and discharge processing on the battery if the battery is a battery being charged for the first time.

[0085] Since the collection of battery charging and discharging mapping data depends on charging and discharging the battery, batteries that have been charged typically already have their charging and discharging mapping data collected. Therefore, by determining whether a battery has been charged, it is possible to determine whether charging and discharging mapping data has already been collected for that battery, thereby avoiding the need for repeated collection of battery charging and discharging mapping data.

[0086] Optionally, before performing alternating charge-discharge processing on the battery, it can be determined whether the battery is being charged for the first time, to ascertain whether its charge mapping data and discharge mapping data have been collected before. If the battery is being charged for the first time, indicating that its charge mapping data and discharge mapping data have not been collected before, alternating charge-discharge processing can begin to obtain the battery's charge mapping data and discharge mapping data. If it is determined that the battery is not being charged for the first time, indicating that its charge mapping data and discharge mapping data have already been collected, alternating charge-discharge processing can be omitted to collect the battery's charge mapping data and discharge mapping data. In this embodiment, by determining whether the battery has been charged before, it is determined whether charge mapping data and discharge mapping data have been collected for that battery, thereby avoiding the repeated collection of the battery's charge mapping data and discharge mapping data.

[0087] In some embodiments of this application, the battery detection method further includes controlling the battery to stop charging when charging stop conditions are met. These charging stop conditions include: the battery's real-time charge level reaching a calibrated charge level, or the battery having been charged more than a target number of times.

[0088] In this embodiment, the charging stop condition is used to limit the timing of stopping the alternating charge-discharge process of the battery. Optionally, after performing one alternating charge-discharge process on the battery, it can be determined whether the battery meets the charging stop condition, so that if the charging stop condition is met, the battery is controlled to stop charging; if the charging stop condition is not met, the next alternating charge-discharge process continues.

[0089] The conditions for stopping charging include: the battery's charge reaching the rated charge level, or the number of charging cycles exceeding the target number. Optionally, the rated charge level can be the battery's charge level when fully charged, such as 100%. That is, when the battery's charge level reaches the rated charge level, it indicates that the battery has reached its full charge state. Alternatively, the rated charge level can be any other preset charge level, the value of which can be set according to actual needs. The target number can be the maximum allowable number of alternating charge-discharge cycles for the battery. In practical applications, the target number can be determined based on the battery's rated charge level, initial charge level, and rated charge level. For example, target number = (rated charge level - initial charge level) / rated charge level. In some embodiments, the target number is set based on the maximum allowable number of charge-discharge cycles.

[0090] For example, the charging stop condition includes the battery's charging cycles exceeding a target number. After one alternating charge-discharge cycle, it can be determined whether the number of charging cycles is less than the target number. If the number of charging cycles is greater than or equal to the target number, indicating that the battery has reached full charge, the alternating charge-discharge cycle is stopped. If the number of charging cycles is less than the target number, indicating that the battery has not reached full charge, the alternating charge-discharge cycle continues. In this embodiment, by adding a charging stop condition, charging can be stopped when the battery reaches full charge, ensuring the integrity of charging and discharging mapping data while effectively preventing overcharging and protecting battery safety and lifespan.

[0091] In this embodiment, the battery is subjected to alternating charge-discharge processing, configured to charge the battery with its rated capacity in a single charge. Multiple first real-time voltages are acquired after each charge. Based on the battery's initial capacity, the rated capacity charged in a single charge, and the number of charges, the battery's real-time capacity at the end of each charge is calculated. The average of these multiple first real-time voltages during that charge is then calculated, yielding the average charging voltage corresponding to a given real-time capacity. This process continues, providing an accurate mapping between the battery's multiple real-time capacities and the average charging voltage, resulting in charging mapping data. Since the real-time capacity corresponding to each average charging voltage is an accurate value calculated based on the battery's initial capacity, the rated capacity charged in a single charge, and the number of charges, rather than relying on manual estimation or theoretical curves, data errors introduced by differences in human experience or mismatched external testing environments are avoided. This effectively ensures the accuracy of the battery voltage-capacity mapping relationship in the charging mapping data. Furthermore, since the battery detection method provided in this application can be directly applied to actual devices to directly obtain charging mapping data of the actual devices, the battery voltage and capacity mapping relationship recorded in the charging mapping data matches the device environment. Compared with related technologies, this application can effectively eliminate the error in the battery voltage and capacity mapping relationship caused by the mismatch between the capacity distribution cabinet environment and the device environment, further ensuring the accuracy of the battery voltage and capacity mapping relationship.

[0092] To facilitate understanding of the technical solution of this application, the following two examples further illustrate the battery detection method provided in the embodiments of this application. In these examples, the battery detection method is executed by a controller in an atomizing device.

[0093] For example, such as Figure 6 As shown, the battery detection method includes: when the battery starts charging, the controller determines whether the battery in the atomizing device is being charged for the first time. If it is not the first charge, the battery is charged normally. If it is the first charge, the controller acquires the battery's initial voltage (initial state) and determines whether the initial voltage is within the target voltage range, i.e., (3.15V, 3.25V). Therefore, if the initial voltage is within the target voltage range, the controller can control the host computer to begin alternating charge and discharge processing of the battery in the atomizing device; if the initial voltage is not within the target voltage range, an alarm can be issued to suggest pausing charging of the atomizing device to consume its power, facilitating the collection of battery charging and discharging mapping data. The alternating charge and discharge processing is configured to charge the battery with 10 mA (rated capacity) per charge.

[0094] During the alternating charge and discharge process, the battery voltage is recorded in real time to obtain multiple initial actual voltages during charging. Furthermore, it is determined whether the battery has received 10 mA of charge to decide whether to stop charging. If the battery has not received 10 mA of charge, charging continues while the battery voltage is recorded in real time.

[0095] Once the battery has been charged to 10 mA, charging is stopped. The controller calculates the battery's real-time charge level after the initial 10 mA charge and the average battery voltage during the first second (the first time period) before charging is stopped, thus obtaining the average charging voltage corresponding to the current real-time charge level. Furthermore, the controller calculates the average battery voltage during the second time period (800 milliseconds after charging stops), thus obtaining the average discharging voltage corresponding to the current real-time charge level.

[0096] The controller determines whether the battery's actual charge level has reached the calibrated charge level. If the battery's actual charge level has reached the calibrated charge level, it establishes charging mapping data based on the battery's real-time charge level and the corresponding average charging voltage, and establishes discharging mapping data based on the battery's real-time charge level and the corresponding average discharging voltage. Current detection ends, and the battery begins normal charging. If the battery's actual charge level has not reached the calibrated charge level, it determines whether to recharge the battery. If the battery is recharged, it performs alternating charge and discharge cycles, and the charging count is incremented by one. If the battery is not recharged, current detection ends, and the battery begins normal charging.

[0097] In this application example, by performing alternating charge and discharge processing on the battery, the charging voltage and discharging voltage of the battery at the same charge level can be obtained, and the battery charging mapping data and discharging mapping data can be established. These data are used by the atomizing device to determine the charging amount corresponding to the actual charging voltage during actual charging, and to determine the discharging amount corresponding to the actual discharging voltage during actual discharging, thereby ensuring the accuracy of the determined battery charge level.

[0098] Furthermore, in atomizing devices, a battery detection method is implemented on the printed circuit board assembly (PCBA) of the actual project to record and learn the battery's charge and discharge data. This generates charge and discharge mapping data that perfectly matches the specific hardware combination, and produces charge and discharge curves that record this data. This effectively avoids the problem of inaccurate battery capacity confirmation due to hardware differences. The specific hardware combination includes: a specific battery, a specific charging chip, and a specific printed circuit board (PCB) layout.

[0099] In another example, the battery detection method provided in this application embodiment is implemented jointly by a host computer and an atomizing device. The host computer, under the control of the controller, can perform alternating charge and discharge processing on the battery. The specific method steps are as follows: Figure 7 As shown.

[0100] After detecting the connection between the host computer and the atomizing device, the controller in the atomizing device can prompt the technician to start charging the battery by clicking on the host computer. The controller resets the accumulated charge level of the battery to zero. During the charging process, it acquires the battery charging current in real time, counts the charging time, and calculates the amount of electricity charged into the battery based on the charging current and charging time to obtain the accumulated charge level, and determines whether the accumulated charge level has reached the rated capacity (10mAh). If the accumulated charge level has not reached the rated capacity, it returns to acquiring the battery charging current in real time; if the accumulated charge level has reached the rated capacity, it controls the host computer to stop charging the battery for 2 seconds, and then controls the host computer to resume charging the battery after 2 seconds of cessation. The controller resets the accumulated charge level of the battery to zero, and so on, until the controller determines that the actual battery capacity has reached the calibrated capacity, and then controls the host computer to stop the alternating charging and discharging of the battery. It should be noted that the duration of the charging stop needs to be greater than the sum of the target time and the second time period.

[0101] In summary, the battery testing method provided in this application performs alternating charge and discharge treatment on the battery, and calculates the average charging voltage corresponding to the real-time battery capacity after each fixed rated charge, achieving an accurate one-to-one mapping between the real-time battery capacity and the average charging voltage. Since the real-time battery capacity corresponding to each average charging voltage is an accurate value calculated using a formula based on the initial capacity, rated capacity, and number of charge cycles, rather than relying on manual estimation or external theoretical curves, it avoids mapping errors introduced by differences in human experience, subjective calculations, and mismatches in the external testing environment, ensuring the accuracy of the established battery voltage-capacity mapping relationship. Furthermore, since the battery testing method provided in this application can be directly applied to atomizing devices, directly acquiring the battery capacity and voltage within the atomizing device, the obtained battery capacity-voltage correspondence matches the device environment. Compared to related technologies, this application effectively eliminates errors in the voltage-capacity mapping relationship caused by mismatches between the capacity testing cabinet environment and the device environment, further ensuring the accuracy of the battery voltage-capacity mapping relationship.

[0102] This application also provides a battery power calibration method, please refer to... Figure 8 The document illustrates a flowchart of a battery power calibration method provided in an embodiment of this application. The battery power calibration method is applied to an atomizing device, and the method includes: Step 801: Obtain the actual charging voltage of the battery in the atomizing device, as well as the battery charging mapping data.

[0103] Step 802: Based on the charging mapping data, determine the amount of electricity corresponding to the actual charging voltage to obtain the battery's charging capacity.

[0104] The charging mapping data refers to the charging mapping data obtained in any of the battery detection methods provided in the embodiments of this application. In the embodiments of this application, during the charging process of the atomizing device, the charging capacity corresponding to the actual charging voltage of the battery can be determined based on the accurate charging mapping data of the battery, so as to accurately reflect the actual charging status of the battery.

[0105] In some embodiments of this application, such as Figure 9 As shown, the battery power calibration method also includes: Step 901: Obtain the actual discharge voltage of the battery in the atomizing device, as well as the battery discharge mapping data.

[0106] Step 902: Based on the discharge mapping data, determine the amount of electricity corresponding to the actual discharge voltage to obtain the battery's discharge capacity.

[0107] The discharge mapping data refers to the discharge mapping data obtained in any of the battery detection methods provided in the embodiments of this application. In the embodiments of this application, during the discharge process of the atomizing device, the discharge capacity corresponding to the actual discharge voltage of the battery can be determined based on the accurate discharge mapping data of the battery, so as to accurately reflect the actual discharge situation of the battery.

[0108] Automatic power calibration solves the problem of inaccurate power display caused by reliance on human experience in related technologies.

[0109] It should be noted that the establishment of discharge mapping data can be referred to the relevant descriptions in the foregoing embodiments, and will not be repeated in this application embodiment.

[0110] In summary, the battery power calibration method provided in this application can determine the charging capacity corresponding to the actual charging voltage of the battery based on accurate battery charging mapping data during the charging process of the atomizing device, so as to accurately reflect the actual charging status of the battery. Similarly, during the discharging process of the atomizing device, it can determine the discharging capacity corresponding to the actual discharging voltage of the battery based on accurate battery discharging mapping data, so as to accurately reflect the actual discharging status of the battery.

[0111] Please refer to Figure 10 This illustration shows a structural schematic diagram of a battery detection device provided in an embodiment of this application. The battery detection device is applied to an atomizing device. Figure 10 As shown, the battery testing device 1000 includes: The charge / discharge module 1001 is used to perform alternating charge / discharge processing on the battery.

[0112] The acquisition module 1002 is used to acquire multiple first real-time voltages of the battery during the charging process; the alternating charge-discharge process is configured to charge the battery with the rated capacity in a single charge.

[0113] The calculation module 1003 is used to calculate the real-time battery power based on the battery's initial power, rated power, and the number of times the battery has been charged.

[0114] The first determining module 1304 is used to obtain the average charging voltage corresponding to the real-time power based on multiple first real-time voltages.

[0115] The generation module 1305 is used to obtain charging mapping data based on the real-time power level and the corresponding average charging voltage; the charging mapping data is configured to determine the real-time power level of the battery based on the average charging voltage of the battery.

[0116] In this embodiment, the battery is subjected to alternating charge and discharge cycles. After each fixed rated charge is added to the battery, the average charging voltage corresponding to the real-time battery charge is calculated, achieving an accurate one-to-one mapping between the real-time battery charge and the average charging voltage. Since the real-time battery charge corresponding to each average charging voltage is an accurate value calculated using a formula based on the initial charge, rated charge, and number of charge cycles, rather than relying on manual estimation or external theoretical curves, mapping errors introduced by differences in human experience, calculation subjectivity, and mismatches in the external testing environment can be avoided, ensuring the accuracy of the established battery voltage-charge mapping relationship. Furthermore, since the battery detection method provided in this embodiment can be directly applied to atomizing devices, directly acquiring the battery charge and voltage within the atomizing device, the obtained battery charge-voltage correspondence matches the device environment. Compared to related technologies, this application effectively eliminates errors in the voltage-charge mapping relationship caused by mismatches between the capacity testing cabinet environment and the device environment, further ensuring the accuracy of the battery voltage-charge mapping relationship.

[0117] Optionally, the acquisition module 1002 is also used to acquire multiple second real-time voltages of the battery during the discharge process; The first determining module 1004 is further configured to obtain the average discharge voltage corresponding to the real-time charge based on multiple second real-time voltages; and to obtain discharge mapping data based on the real-time charge and the corresponding average discharge voltage; the discharge mapping data is configured to determine the real-time charge of the battery based on the average discharge voltage of the battery.

[0118] Optionally, the acquisition module 1002 is also used to acquire the initial state of the battery before the alternating charge and discharge process; The charge / discharge module 1001 is also used to start alternating charge / discharge processing on the battery when the initial state indicates that the initial charge of the battery is lower than the rated charge threshold.

[0119] Optionally, the acquisition module 1002 is further configured to: detect the initial voltage of the battery before the start of the alternating charge and discharge process; the initial state indicates that the initial charge of the battery is lower than the rated charge threshold, including: the initial voltage is within a target voltage range, the target voltage range being the voltage range of the battery when the charge is lower than the rated charge threshold.

[0120] Optionally, the first determining module 1004 is further configured to: The first real-time voltage within a first time period is obtained from multiple first real-time voltages to obtain multiple first target voltages. The first time period is the n seconds before the battery charging stops, where n is a positive integer. The average charging voltage corresponding to the real-time charge level is obtained based on multiple first target voltages.

[0121] Optionally, the first determining module 1004 is further configured to: calculate the average of multiple first target voltages to obtain the average charging voltage corresponding to the real-time power level.

[0122] Optionally, the first determining module 1004 is further configured to: The second real-time voltage within the second time period is obtained from multiple second real-time voltages to obtain multiple second target voltages. The second time period is m seconds after the target duration of stopping battery charging. The average discharge voltage corresponding to the real-time charge is obtained based on multiple second target voltages.

[0123] Optionally, the first determining module 1004 is further configured to: calculate the average of multiple second target voltages to obtain the average discharge voltage corresponding to the real-time charge.

[0124] Optionally, the first determining module 1004 is further configured to: determine that the battery is a battery being charged for the first time before detecting multiple first real-time voltages of the battery during the charging process.

[0125] Optionally, the battery detection device 1000 further includes a control module for controlling the battery to stop charging when charging stop conditions are met, including: the battery's charge level reaching a calibrated charge level, or the number of times the battery has been charged exceeding a target number.

[0126] In summary, the battery testing device provided in this application performs alternating charge and discharge processing on the battery, and calculates the average charging voltage corresponding to the real-time battery charge after each fixed rated charge, achieving an accurate one-to-one mapping between the real-time battery charge and the average charging voltage. Since the real-time battery charge corresponding to each average charging voltage is an accurate value calculated using a formula based on the initial charge, rated charge, and number of charge cycles, rather than relying on manual estimation or external theoretical curves, it avoids mapping errors introduced by differences in human experience, subjective calculations, and mismatches in the external testing environment, ensuring the accuracy of the established battery voltage-charge mapping relationship. Furthermore, since the battery testing method provided in this application can be directly applied to atomizing devices, directly acquiring the battery charge and voltage in the atomizing device, the obtained battery charge-voltage correspondence matches the device environment. Compared to related technologies, this application effectively eliminates errors in the voltage-charge mapping relationship caused by mismatches between the capacity testing cabinet environment and the device environment, further ensuring the accuracy of the battery voltage-charge mapping relationship.

[0127] Please refer to Figure 11 This illustration shows a schematic diagram of a battery power calibration device provided in an embodiment of this application. The battery power calibration device is applied to an atomizing device. Figure 11 As shown, the battery power calibration device 1100 includes: The acquisition module 1101 is used to acquire the actual charging voltage of the battery of the atomizing device, as well as the battery charging mapping data. The charging mapping data is the charging mapping data in any battery detection method provided in the embodiments of this application.

[0128] The second determining module 1102 is used to determine the amount of electricity corresponding to the actual charging voltage based on the charging mapping data, and obtain the charging capacity of the battery.

[0129] Optionally, the acquisition module 1101 is further configured to acquire the actual discharge voltage of the battery of the atomizing device and the discharge mapping data of the battery, wherein the discharge mapping data is the discharge mapping data in any battery detection method provided in the embodiments of this application; The second determining module 1102 is also used to determine the amount of electricity corresponding to the actual discharge voltage based on the discharge mapping data, and obtain the discharge amount of the battery.

[0130] In summary, the battery power calibration device provided in this application can determine the charging capacity corresponding to the actual charging voltage of the battery based on accurate battery charging mapping data during the charging process of the atomizing device, so as to accurately reflect the actual charging status of the battery. Similarly, during the discharging process of the atomizing device, it can determine the discharging capacity corresponding to the actual discharging voltage of the battery based on accurate battery discharging mapping data, so as to accurately reflect the actual discharging status of the battery.

[0131] This application also provides an atomizing device; please refer to [reference needed]. Figure 12 The diagram shows a schematic of the structure of an atomizing device provided in an embodiment of this application. The atomizing device 1500 includes a processor 1501 and a memory 1502.

[0132] Memory 1501 is used to store computer programs.

[0133] The processor 1502 is used to execute the program stored in the storage 1501. When the program is executed by the processor 1502, it implements the various steps of the above-described battery detection method or battery power calibration method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0134] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0135] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A battery testing method, characterized in that, The method includes: The battery is subjected to alternating charge and discharge processes to obtain multiple first real-time voltages of the battery during the charging process; the alternating charge and discharge processes are configured to charge the battery with the rated capacity in a single charge. The real-time battery capacity is calculated based on the battery's initial charge, rated charge, and number of charging cycles. The average charging voltage corresponding to the real-time power is obtained based on the plurality of first real-time voltages; Charging mapping data is obtained based on the real-time power level and the corresponding average value of the charging voltage; the charging mapping data is configured to determine the real-time power level of the battery based on the charging voltage of the battery.

2. The method according to claim 1, characterized in that, The method further includes: Obtain multiple second real-time voltages of the battery during the discharge process; The average discharge voltage corresponding to the real-time charge is obtained based on the plurality of second real-time voltages; Discharge mapping data is obtained based on the real-time power level and the corresponding discharge voltage; the discharge mapping data is configured to determine the real-time power level of the battery based on the battery's discharge voltage.

3. The method according to claim 2, characterized in that, The method further includes: Obtain the initial state of the battery before the alternating charge and discharge process; When the initial state indicates that the initial charge of the battery is lower than the rated charge threshold, the battery is subjected to alternating charge and discharge treatment.

4. The method according to claim 3, characterized in that, The step of obtaining the initial state of the battery before the start of the alternating charge-discharge process includes: Obtain the initial voltage of the battery before the alternating charge-discharge process begins; The initial state indicates that the initial charge of the battery is lower than the rated charge threshold, including: the initial voltage is within a target voltage range, where the target voltage range is the voltage range of the battery when the charge is lower than the rated charge threshold.

5. The method according to claim 2, characterized in that, The step of obtaining the average charging voltage corresponding to the real-time power level based on the plurality of first real-time voltages includes: The first real-time voltage within a first time period is obtained from the plurality of first real-time voltages to obtain a plurality of first target voltages; the first time period is the n seconds before the battery charging stops, where n is a positive integer. The average charging voltage corresponding to the real-time power level is obtained based on the multiple first target voltages.

6. The method according to claim 5, characterized in that, The step of obtaining the average charging voltage corresponding to the real-time power level based on the plurality of first target voltages includes: The average of the multiple first target voltages is calculated to obtain the average charging voltage corresponding to the real-time power level.

7. The method according to claim 2, characterized in that, The step of obtaining the average discharge voltage corresponding to the real-time charge based on the plurality of second real-time voltages includes: The second real-time voltage within a second time period is obtained from the plurality of second real-time voltages to obtain a plurality of second target voltages, wherein the second time period is m seconds after the target duration of stopping charging the battery; The average discharge voltage corresponding to the real-time charge is obtained based on the multiple second target voltages.

8. The method according to claim 7, characterized in that, The step of obtaining the average discharge voltage corresponding to the real-time charge based on the plurality of second target voltages includes: The average value of the multiple second target voltages is calculated to obtain the average discharge voltage corresponding to the real-time power level.

9. The method according to any one of claims 1-8, characterized in that, The method further includes: Under the condition that the charging is stopped, the battery is controlled to stop charging. The charging stop conditions include: the real-time power of the battery reaches the calibrated power, or the number of times the battery has been charged is greater than the target number.

10. A battery capacity calibration method, characterized in that, Applied to atomizing devices; the method includes: Obtain the actual charging voltage of the battery of the atomizing device, and the charging mapping data of the battery, wherein the charging mapping data is the charging mapping data in any of the methods of claims 1 to 9; Based on the charging mapping data, the real-time power level corresponding to the actual charging voltage is determined, and the charging power of the battery is obtained.

11. The method according to claim 10, characterized in that, The method further includes: Obtain the actual discharge voltage of the battery in the atomizing device, as well as the discharge mapping data of the battery; Based on the discharge mapping data, the real-time charge corresponding to the actual discharge voltage is determined, and the discharge charge of the battery is obtained.

12. A battery testing device, characterized in that, Applied to atomizing devices; the device includes: The charge / discharge module is used to perform alternating charge and discharge processes on the battery. An acquisition module is used to acquire multiple first real-time voltages of the battery during the charging process; the alternating charge-discharge process is configured to charge the battery with its rated capacity in a single charge. The calculation module is used to calculate the real-time battery capacity based on the battery's initial capacity, rated capacity, and number of charging cycles. The first determining module is used to obtain the average charging voltage corresponding to the real-time power based on the plurality of first real-time voltages; A generation module is used to obtain charging mapping data based on the real-time power level and the corresponding average charging voltage; the charging mapping data is configured to determine the real-time power level of the battery based on the average charging voltage of the battery.

13. A battery charge calibration device, characterized in that, Applied to atomizing devices; the device includes: The acquisition module is used to acquire the actual charging voltage of the battery of the atomizing device and the charging mapping data of the battery, wherein the charging mapping data is the charging mapping data in any one of the methods of claims 1 to 9; The second determining module is used to determine the real-time power corresponding to the actual charging voltage based on the charging mapping data, and to obtain the charging power of the battery.

14. An atomizing device, characterized in that, The atomizing device includes: Processor and memory; The memory is used to store computer programs; When the processor executes the program stored in the memory, it implements the method steps of any one of claims 1 to 9, or implements the method steps of claim 10 or 11.