Body fat scale, low-power consumption electric quantity detection method, device and program product thereof
By using a voltage divider branch switching mechanism with different resistance values in the body fat scale, the problem of high power consumption in power detection is solved, achieving high-precision power detection and improved battery life.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN UNIQUE SCALES CO LTD
- Filing Date
- 2025-12-22
- Publication Date
- 2026-06-02
AI Technical Summary
Existing body fat scales consume a significant amount of power during battery detection to improve the accuracy of the results, which is detrimental to extending battery life.
A first voltage divider branch and a second voltage divider branch with different resistance values are used. The first voltage divider branch detects the initial remaining power and predicts the second remaining power. The power deviation is compared. If the deviation is greater than the threshold, the second voltage divider branch is switched to for calibration. Finally, the third remaining power is used as a reference point, and the fourth remaining power is determined by combining the voltage detection results of the first voltage divider branch.
The accuracy of remaining battery power detection has been improved, the power consumption during the battery power detection process has been reduced, and the battery life of the body fat scale has been extended.
Smart Images

Figure CN121432236B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of body fat scales, and more particularly to a body fat scale and its low-power power detection method, device and program product. Background Technology
[0002] A body fat scale is a smart scale that incorporates bioelectrical impedance analysis (BIA). In addition to measuring weight, it uses a weak electric current to pass through the body and calculates multiple body composition data, such as body fat percentage, muscle mass, water percentage, bone mass, and basal metabolic rate (BMR), by utilizing the differences in conductivity between tissues such as fat, muscle, and bone. This helps users gain a more comprehensive understanding of their health status.
[0003] During use, body fat scales typically need to accurately measure the remaining battery power to allow users to charge them promptly and avoid affecting normal operation. However, to improve the accuracy of the remaining battery power measurement, a significant amount of power is usually consumed during the measurement process, resulting in a high standby current for the body fat scale and negatively impacting its battery life. Summary of the Invention
[0004] In view of this, embodiments of this application provide a body fat scale and its low-power power detection method, device and program product to solve the problem that in the prior art, when performing power detection, a large amount of power is consumed in order to improve the accuracy of the detection results, which is not conducive to improving the battery life.
[0005] A first aspect of this application provides a low-power battery detection method for a body fat scale. The body fat scale includes a controller, a branch selection switch, a battery, a first voltage divider branch, and a second voltage divider branch. The controller controls the on / off state of the branch selection switch to select the first voltage divider branch and / or the second voltage divider branch to detect the remaining battery power. The resistance of the first voltage divider branch is greater than the resistance of the second voltage divider branch. The method includes:
[0006] The first remaining battery power of the body fat scale at a first moment is detected by the first voltage divider branch, and the second remaining battery power of the body fat scale at the first moment is predicted based on the usage data of the body fat scale.
[0007] Compare the first remaining power with the second remaining power to determine a first power deviation between the first remaining power and the second remaining power.
[0008] When the first power deviation is greater than the preset first deviation threshold, the branch selection switch is controlled to turn on the second voltage divider branch, and the third remaining power of the body fat scale is obtained through the detection of the second voltage divider branch.
[0009] The branch selection switch is controlled to disconnect the second voltage divider branch, and the third remaining power is used as the remaining power reference point. The fourth remaining power of the body fat scale is determined by the remaining power reference point and the voltage detection result of the first voltage divider branch.
[0010] In conjunction with the first aspect, in a first possible implementation of the first aspect, determining the fourth remaining battery level of the body fat scale through the remaining battery level reference point and the voltage detection result of the first voltage divider branch includes:
[0011] The second voltage at the second moment is collected by the first voltage divider branch, and the voltage change at the second moment relative to the first moment is determined. The second moment is the moment after the first moment.
[0012] The fourth remaining charge of the body fat scale at the second moment is determined based on the voltage change and the remaining charge reference point.
[0013] In conjunction with the first possible implementation of the first aspect, in the second possible implementation of the first aspect, determining the fourth remaining battery power of the body fat scale at the second moment based on the voltage change and the remaining battery power reference point includes:
[0014] Based on the remaining power reference point, find the corresponding curve segment in the pre-set remaining power-open circuit voltage curve;
[0015] Based on the voltage change, locate the fourth remaining charge of the body fat scale at the second moment in the curve segment.
[0016] In conjunction with the first aspect, in a third possible implementation of the first aspect, after detecting the third remaining battery power of the body fat scale through the second voltage divider branch, the method further includes:
[0017] The second remaining power is compared with the third remaining power to determine a second power deviation between the second remaining power and the third remaining power;
[0018] When the second power deviation is greater than the preset second deviation threshold, the second remaining power is updated by the third remaining power.
[0019] In conjunction with the first aspect, in the fourth possible implementation of the first aspect, the common terminal of the branch selection switch is connected to the first terminal of the battery of the body fat scale, the normally closed terminal of the branch selection switch is connected to the first terminal of the first voltage divider branch, the normally open terminal of the branch selection switch is connected to the first terminal of the second voltage divider branch, the second terminal of the first voltage divider branch and the second terminal of the second voltage divider branch are connected to the second terminal of the battery, and the control terminal of the branch selection switch is connected to the controller.
[0020] Controlling the branch selection switch to connect the second voltage divider branch includes:
[0021] The normally open terminal of the branch selection switch is closed, and the current of the battery flows to the second voltage divider branch through the branch selection switch;
[0022] Controlling the branch selection switch to disconnect the second voltage divider branch includes:
[0023] The normally closed terminal of the branch selection switch is closed, and the current from the battery flows to the first voltage divider branch through the branch selection switch.
[0024] In conjunction with any one of the first to fourth possible implementations of the first aspect, in the fifth possible implementation of the first aspect, detecting the first remaining battery power of the body fat scale at a first moment through the first voltage divider branch includes:
[0025] The body fat scale collects multiple detection voltages within a first time interval through the first voltage divider branch, where the first time interval is the time interval in which the first moment is located.
[0026] The multiple detected voltages are filtered and averaged to obtain an average voltage;
[0027] Based on the preset remaining power-open circuit voltage curve, the remaining power corresponding to the average voltage is found, and the found remaining power is taken as the first remaining power at the first moment.
[0028] In a sixth possible implementation of the first aspect, in conjunction with any one of the first to fourth possible implementations of the first aspect, before controlling the branch selection switch to connect the second voltage divider branch and detecting the third remaining battery power of the body fat scale through the second voltage divider branch, the method further includes:
[0029] The load power of the body fat scale at the first moment is detected;
[0030] If the load power is greater than a predetermined power threshold, monitor a third moment when the load power is less than or equal to the power threshold;
[0031] After a predetermined period of time following the third moment, the first remaining battery power of the body fat scale is detected again through the first voltage divider branch.
[0032] A second aspect of this application provides a low-power battery detection device for a body fat scale. The body fat scale includes a controller, a branch selection switch, a battery, a first voltage divider branch, and a second voltage divider branch. The controller controls the on / off state of the branch selection switch to select the first voltage divider branch and / or the second voltage divider branch to detect the remaining battery power. The resistance of the first voltage divider branch is greater than the resistance of the second voltage divider branch. The device includes:
[0033] The remaining power detection unit is used to detect the first remaining power of the body fat scale at a first moment through the first voltage divider branch, and to predict the second remaining power of the body fat scale at the first moment based on the usage data of the body fat scale.
[0034] The first power deviation determination unit is used to compare the first remaining power with the second remaining power to determine the first power deviation between the first remaining power and the second remaining power.
[0035] A branch control unit is used to control the branch selection switch to turn on the second voltage divider branch when the first power deviation is greater than a preset first deviation threshold, and to detect the third remaining power of the body fat scale through the second voltage divider branch.
[0036] The remaining power determination unit is used to control the branch selection switch to disconnect the second voltage divider branch, use the third remaining power as the remaining power reference point, and determine the fourth remaining power of the body fat scale by using the remaining power reference point and the voltage detection result of the first voltage divider branch.
[0037] A third aspect of this application provides a body fat scale, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the body fat scale causes the body fat scale to perform the method as described in any of the first aspects.
[0038] A fourth aspect of this application provides a computer program product that, when run on a computer, causes the computer to execute the methods described in the first aspect or its various implementations.
[0039] A fifth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method as described in any of the first aspects.
[0040] A sixth aspect of this application provides a chip for implementing the methods in the various implementations of the first aspect described above. Specifically, the chip includes a processor for calling and running a computer program from a memory, causing a device equipped with the chip to perform the methods as described in the first aspect or its various implementations.
[0041] The beneficial effects of this application embodiment compared with the prior art are as follows: During use, the body fat scale in this application embodiment detects the first remaining power at a first moment through a first voltage divider branch with low power consumption. Based on the remaining power prediction curve, it determines the second remaining power at the first moment. When the first power deviation between the first remaining power and the second remaining power is greater than a first deviation threshold, the control branch selection switch turns on the second voltage divider branch. After detecting the third remaining power through the second voltage divider branch, the second voltage divider branch is turned off, and the third remaining power is used as the remaining power reference point. The fourth remaining power is determined through the voltage detection result of the first voltage divider branch. Determining the fourth remaining power based on the remaining power reference point obtained by the second voltage divider branch helps improve the accuracy of remaining power detection. Furthermore, when the first power deviation is less than or equal to the first deviation threshold, the first voltage divider branch with a larger resistance is used for detection, which can effectively reduce the power consumed during the remaining power detection process and help improve the battery life of the body fat scale. Attached Figure Description
[0042] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 This is a schematic diagram of the circuit structure of a body fat scale provided in an embodiment of this application;
[0044] Figure 2 This is a schematic diagram illustrating the implementation process of a low-power battery detection method for a body fat scale provided in an embodiment of this application;
[0045] Figure 3 This is a schematic diagram of the change curve of remaining power and open circuit voltage provided in an embodiment of this application;
[0046] Figure 4 This is a schematic diagram illustrating the determination of a fourth remaining battery level, provided in an embodiment of this application.
[0047] Figure 5 This is a schematic diagram illustrating how the triggering of the second voltage divider branch is determined based on the load power, according to an embodiment of this application.
[0048] Figure 6 This is a schematic diagram of a low-power battery detection device for a body fat scale provided in an embodiment of this application;
[0049] Figure 7 This is a schematic diagram of a body fat scale provided in an embodiment of this application. Detailed Implementation
[0050] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0051] To illustrate the technical solution described in this application, specific embodiments are provided below.
[0052] A body fat scale is an intelligent health measurement device that uses bioelectrical impedance analysis. In addition to measuring weight, it applies weak AC signals to the human body through electrodes. Based on the different impedance characteristics of tissues such as fat, muscle, and water, it calculates various body composition parameters such as body fat percentage, muscle mass, water percentage, bone mass, and basal metabolic rate, providing users with a comprehensive and multidimensional assessment of their health status.
[0053] In practical use, body fat scales need to have reliable battery level detection capabilities to remind users to charge in time and ensure continuous device availability. However, to achieve high-precision battery level monitoring, traditional measurement solutions often require keeping the high-power detection circuit constantly on or frequently starting up, resulting in a significant increase in standby current and hindering the extension of the device's overall battery life after a single charge.
[0054] To address the aforementioned issues, this application proposes a low-power battery detection method for a body fat scale. Figure 1 A circuit diagram of a body fat scale for implementing this method is shown below. Figure 1 As shown, the body fat scale includes a controller U1, a branch selection switch K1, a battery U2, a first voltage divider branch, and a second voltage divider branch. The controller U1 controls the on / off state of the branch selection switch K1, including the on / off state of the first voltage divider branch and the second voltage divider branch, to select which of the two voltage divider branches is used to detect the remaining battery power.
[0055] like Figure 1As shown, the branch selection switch K1 can be a single-pole double-throw switch, including a common terminal, a normally closed terminal, a normally open terminal, and a control terminal. The first voltage divider branch includes a first resistor R1 and a second resistor R2, and the second voltage divider branch includes a third resistor R3 and a fourth resistor R4. The first resistor R1 and the second resistor R2 in the first voltage divider branch are connected in series, and the third resistor R3 and the fourth resistor R4 in the second voltage divider branch are connected in series. The common terminal of the branch selection switch K1 is connected to the first terminal of the battery U2 of the body fat scale. The first terminal of the first voltage divider branch is connected to the normally closed terminal of the branch selection switch K1, the first terminal of the second voltage divider branch is connected to the normally open terminal of the branch selection switch K1, and the second terminals of both the first and second voltage divider branches are connected to the second terminal of the battery U2. The control terminal of the branch selection switch K1 is connected to the controller U1.
[0056] in, Figure 1 In this example, the first terminal of battery U2 is the positive terminal, and the second terminal is the negative terminal. However, this is not a limitation; the first terminal of battery U2 can also be the negative terminal, and the second terminal the positive terminal. Figure 1 The branch selection switch K1 shown is a single-pole double-throw controllable switch. A single-pole double-throw controllable switch can also be replaced by two separate controllable switches. The number of resistors in the first and second voltage divider branches is not limited to two; multiple resistors can also be included.
[0057] Figure 1 The resistance of the first voltage divider branch is greater than that of the second voltage divider branch. That is, the sum of the resistances of the first resistor R1 and the second resistor R2 is greater than the sum of the resistances of the third resistor R3 and the fourth resistor R4. For example, the sum of the first resistor R1 and the second resistor R2 is in the megaohm range, and the sum of the third resistor R3 and the fourth resistor R4 is in the kiloohm range. Assuming the sum of the first resistor R1 and the second resistor R2 is 1MΩ, and the sum of the third resistor R3 and the fourth resistor R4 is 1KΩ, if the battery voltage is 4.2V-12.6V, then the current in the first voltage divider branch is in the microampere range, and the current in the second voltage divider branch is in the milliampere range. The power required for the first voltage divider branch to detect remaining battery power is much less than the power required for the second voltage divider branch.
[0058] Figure 2 This is a schematic diagram illustrating the implementation process of a low-power battery detection method for a body fat scale according to an embodiment of this application. The method is based on the circuit structure of the body fat scale described above, and is detailed below:
[0059] In S201, the first remaining battery power of the body fat scale at a first moment is detected by the first voltage divider branch, and the second remaining battery power of the body fat scale at the first moment is predicted based on the usage data of the body fat scale.
[0060] When the body fat scale detects its remaining battery power at a given moment using the first voltage divider branch, the controller can activate the branch selection switch to connect the first terminal of the first voltage divider branch to the first terminal of the battery. This allows battery current to flow through the branch selection switch to the first voltage divider branch. The first voltage divider branch includes at least two resistors connected in series. The voltage division effect of these two resistors ensures that the voltage at their connection point matches the controller's voltage detection range, effectively detecting the voltage at the connection point of the first resistor R1 and the second resistor R2. The battery voltage at the first moment can be obtained by the ratio of the first resistor R1 to the second resistor R2.
[0061] For example Figure 1 In the circuit structure shown, a voltage of V1 is detected at the connection point of the first resistor R1 and the second resistor R2. Therefore, the first voltage of the battery can be calculated as follows: .
[0062] Based on the calculated battery voltage, including the first voltage, the first remaining capacity corresponding to the first voltage can be found according to a pre-established table of remaining capacity-open circuit voltage. Alternatively, it can be based on... Figure 3 The curve showing the change in remaining battery capacity versus open-circuit voltage allows you to find the remaining battery capacity corresponding to the open-circuit voltage of any battery. This curve can be pre-measured for the batteries in a body fat scale.
[0063] Because the resistances of the first resistor R1 and the second resistor R2 are relatively large, the current flowing through the first voltage divider branch is relatively small. For example, when the sum of the resistances of the first voltage divider branch is in the megaohm range, the current flowing through the first voltage divider branch to detect the first voltage is in the microampere range. Therefore, the error in the detected first remaining battery capacity may be relatively large, for example, around 0-10%. To improve the accuracy of the first remaining battery capacity, a first time interval can be determined based on the first moment. For example, the first time interval can be the time interval in which the first moment occurs. Multiple detection voltages are collected within the first time interval, and these voltages are filtered and averaged to obtain the average voltage. Alternatively, a subset of the multiple detection voltages can be selected to calculate the average voltage. Based on the determined average voltage, a pre-set remaining capacity-open circuit voltage curve can be found, and the remaining capacity corresponding to the average voltage can be determined. This remaining capacity is then identified as the first remaining battery capacity at the first moment, resulting in higher accuracy for the first remaining voltage.
[0064] The body fat scale's usage data includes measurement records, firmware update records, and standby time. Measurement records may include the duration of measurement periods, and firmware update records may include the duration of firmware updates. Based on pre-determined power consumption per unit time under different usage states, the scale can predict the remaining battery power at a given moment.
[0065] For example, in the data usage, the duration of the measurement state is t1, the duration of the firmware update state is t2, the duration of the standby state is t3, the power consumption per unit time in the measurement state is a1, the power consumption per unit time in the firmware update state is a2, and the power consumption per unit time in the standby state is a3. Then, predict the second remaining battery level at the first moment. .
[0066] In some possible implementations, environmental data, such as ambient temperature, can also be collected. Based on the ambient temperature and combined with usage data, the power consumption under different usage states can be corrected, resulting in a more accurate prediction of the second remaining power.
[0067] In S202, the first remaining power is compared with the second remaining power to determine a first power deviation between the first remaining power and the second remaining power.
[0068] Since the second remaining charge is the predicted remaining charge of the body fat scale under normal circumstances, when comparing the first remaining charge and the second remaining charge to determine the first charge deviation between the first and second remaining charges, the first charge deviation can be used to represent the degree of deviation between the first remaining charge detected by a voltage divider branch and the predicted second remaining charge. If the deviation is large, it indicates that there may be a measurement error in the first remaining charge.
[0069] In S203, when the first power deviation is greater than the preset first deviation threshold, the branch selection switch is controlled to turn on the second voltage divider branch, and the third remaining power of the body fat scale is obtained through the detection of the second voltage divider branch.
[0070] When the first remaining power deviation is greater than the preset first deviation threshold, it indicates that the first remaining power deviates significantly from the second remaining power predicted under normal circumstances, and the first remaining power needs to be calibrated.
[0071] like Figure 1As shown, the second voltage divider branch in this embodiment includes at least a third resistor R3 and a fourth resistor R4 connected in series. The sum of the resistances of the third resistor R3 and the fourth resistor R4 is relatively small, resulting in a larger current flowing through the second voltage divider branch. The accuracy of the voltage detection at the connection point of the third resistor R3 and the fourth resistor R4 by the controller is relatively high. A detection method similar to that of the first voltage divider branch can be used to obtain the third remaining charge detected by the second voltage divider branch.
[0072] Following the same detection and calculation method as the first voltage, the voltage at the connection point of the third resistor R3 and the fourth resistor R4 is obtained through the second voltage divider branch, which is V2. Therefore, the second voltage of the battery can be calculated. .
[0073] The second voltage can also be obtained by filtering and averaging multiple detected voltages.
[0074] Based on the calculated battery voltage, including the second voltage, the first remaining capacity corresponding to the first voltage can be found according to a pre-established table of remaining capacity-open circuit voltage. Alternatively, it can be based on... Figure 3 The remaining battery capacity versus open-circuit voltage curve shown allows you to find the remaining battery capacity corresponding to any given battery voltage. This curve can be pre-measured for the body fat scale's batteries.
[0075] Because the resistance values of the third resistor R3 and the fourth resistor R4 are relatively small, the current flowing through the second voltage divider branch is relatively large. For example, when the sum of the resistances of the first voltage divider branch is in the kiloohm range, the current flowing through the second voltage detected by the first voltage divider branch is in the milliampere range. The error of the detected third remaining battery charge is smaller than that of the first remaining charge, and the first remaining charge can be corrected by the third remaining charge.
[0076] according to Figure 1 The circuit structure shown allows the normally open terminal of the control branch selection switch to close when the second voltage divider branch is activated, enabling the battery current to flow through the switch to the second voltage divider branch. At this time, the second voltage of the battery can be detected at the voltage detection point of the second voltage divider branch, i.e., the connection point between the third resistor R3 and the fourth resistor R4, and the third remaining battery capacity can be determined based on this second voltage.
[0077] In one possible implementation, the first voltage divider branch and the second voltage divider branch can be connected to separate branch selection switches. When the branch selection switch connects the second voltage divider branch to the battery, the branch selection switch can disconnect the first voltage divider branch from the battery, or the branch selection switch can simultaneously keep the first voltage divider branch connected to the battery.
[0078] In S204, the branch selection switch is controlled to disconnect the second voltage divider branch, the third remaining power is used as the remaining power reference point, and the fourth remaining power of the body fat scale is determined by the remaining power reference point and the voltage detection result of the first voltage divider branch.
[0079] If the deviation between the first and second remaining battery charges exceeds a first deviation threshold, it typically indicates a significant error in the first remaining battery charge detected by the first voltage divider branch, requiring correction. In this case, after selecting the second voltage divider branch for the third remaining battery charge measurement using the branch selection switch, the connection between the second voltage divider branch and the battery can be disconnected promptly, reducing power loss in the second voltage divider branch. Figure 1 As shown, the normally closed terminal of the branch selection switch can be closed and the normally open terminal of the branch selection switch can be opened. The battery current flows to the first voltage divider branch through the branch selection switch. At this time, the first voltage divider branch can detect the first voltage.
[0080] Alternatively, in a possible implementation, if the switches for the two voltage divider branches are separate switches, the branch selection switch for the second voltage divider branch can be disconnected after the third remaining charge is detected.
[0081] After using the third remaining power level as the remaining power reference point, the voltage change of the first voltage detected by the first voltage divider branch from the first time point to the second time point can be determined based on the remaining power reference point at the first time point. That is, the change between the first voltage detected at the second time point and the first time point. Based on this voltage change and the remaining power reference point, the fourth remaining power level of the body fat scale at the second time point can be determined.
[0082] The second time point refers to any time point after the first time point.
[0083] After correcting the remaining power reference point through the second voltage divider branch, the fourth remaining power with higher accuracy can be determined by the voltage change through the voltage detection result of the first voltage divider branch with lower power. Therefore, it can effectively reduce the power consumption of power detection and improve the accuracy of remaining power detection.
[0084] When determining the fourth remaining energy based on the remaining energy reference point and the voltage change of the first voltage divider branch, the remaining energy reference point at the first moment can be used to find the curve segment corresponding to the remaining energy reference point in the pre-set remaining energy-open circuit voltage curve. Based on the voltage change at the second moment relative to the first moment, the fourth remaining energy at the second moment can be found in that curve segment.
[0085] like Figure 4As shown in the diagram for determining the fourth remaining power, at the first time T1, based on the first remaining power Q1 determined by the first voltage divider branch and the second remaining power Q2 predicted based on usage data, it is determined that the first power deviation ΔQ1 is greater than the first deviation threshold. The second voltage divider branch is then closed to detect the third remaining power Q3, and then the second voltage divider branch is disconnected. The third remaining power Q3 is used as the remaining power reference point at the first time.
[0086] After determining the remaining battery capacity reference point through the second voltage divider branch, the corresponding curve segment can be found. This curve segment includes the relationship between voltage change and remaining battery capacity change. Assuming the voltage change at the second time T2 relative to the first time T1 is ΔV, the fourth remaining battery capacity Q4 at the second time can be found in this curve segment. That is, by using the lower-power first voltage divider branch, the accuracy of the detection results can be improved by combining it with the corrected remaining battery capacity reference value, and the detection power can be effectively reduced, which is beneficial for extending the battery's operating time.
[0087] In this embodiment, to further improve the accuracy of triggering the second voltage divider branch, when the third remaining power is detected by the second voltage divider branch, the third remaining power can be compared with the predicted second remaining power to determine the existing second power deviation. If the second power deviation is greater than the second deviation threshold, the second remaining power can be updated using the third remaining power. Based on the updated second remaining power, the remaining power prediction curve is determined, making the predicted remaining power more accurate. This allows for a more accurate acquisition of the trigger time of the second voltage divider branch, reducing the probability of false triggering and further improving the battery's battery life.
[0088] In a possible implementation, to further reduce false triggering, this embodiment of the application can detect the load power of the body fat scale at a first moment before the control branch selection switch is turned on to connect the second voltage divider branch and the third remaining power of the body fat scale is detected through the second voltage divider branch. If the load power of the body fat scale at the first moment is greater than a predetermined power threshold, it indicates that it is currently in a high-power working state, which consumes a lot of battery power. At this time, the first remaining power corresponding to the detected battery voltage may deviate from the predicted second remaining power. In this case, the branch selection switch can be left untriggered to connect the second voltage divider branch, and the third moment when the load power is less than or equal to the power threshold can be monitored. After a predetermined time after the third moment, the first remaining power of the body fat scale can be detected again through the first voltage divider branch for comparison and judgment with the predicted second remaining voltage.
[0089] for example Figure 5As shown in the schematic diagram of determining the triggering of the second voltage divider branch based on the load power, at time T1, the load power P1 is greater than the power threshold P0. At this time, even if the first energy deviation ΔQ1 between the detected first remaining energy Q1 and the second remaining energy Q2 is greater than the first deviation threshold, the second voltage divider branch is not triggered to detect the third remaining energy Q3.
[0090] At time T2 (the third time), the load power P1 is monitored to be less than the power threshold P0, and timing begins. After a predetermined time ΔT, the fifth remaining power Q1' is detected through the first voltage divider branch. If the power deviation ΔQ1' between the fifth remaining power Q1' and the sixth remaining power Q2' predicted at this time is greater than the first deviation threshold, the second voltage divider branch is triggered to detect the third remaining power Q3, so as to correct the first and second remaining power, or correct the fifth and sixth remaining power, through the more accurate third remaining power Q3.
[0091] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0092] Figure 6 This is a schematic diagram of a low-power battery detection device for a body fat scale according to an embodiment of this application. The body fat scale includes a controller, a branch selection switch, a battery, a first voltage divider branch, and a second voltage divider branch. The controller controls the on / off state of the branch selection switch to select the first voltage divider branch and / or the second voltage divider branch to detect the remaining battery power. The resistance of the first voltage divider branch is greater than the resistance of the second voltage divider branch. The device includes:
[0093] The remaining power detection unit 601 is used to detect the first remaining power of the body fat scale at a first moment through the first voltage divider branch, and predict the second remaining power of the body fat scale at the first moment based on the usage data of the body fat scale.
[0094] The first power deviation determination unit 602 is used to compare the first remaining power with the second remaining power to determine the first power deviation between the first remaining power and the second remaining power.
[0095] The branch control unit 603 is used to control the branch selection switch to turn on the second voltage divider branch when the first power deviation is greater than the preset first deviation threshold, and to detect the third remaining power of the body fat scale through the second voltage divider branch.
[0096] The remaining power determination unit 604 is used to control the branch selection switch to disconnect the second voltage divider branch, use the third remaining power as the remaining power reference point, and determine the fourth remaining power of the body fat scale through the remaining power reference point and the voltage detection result of the first voltage divider branch.
[0097] Figure 6 The body fat scale shown has a low-power battery detection device, and Figure 2 The low-power battery detection method shown corresponds to the body fat scale.
[0098] Figure 7 This is a schematic diagram of a body fat scale provided in an embodiment of this application. Figure 7 As shown, the body fat scale 7 of this embodiment includes: a processor 70, a memory 71, and a computer program 72 stored in the memory 71 and executable on the processor 70, such as a low-power battery detection program for the body fat scale. When the processor 70 executes the computer program 72, it implements the steps in the various embodiments of the low-power battery detection method for body fat scales described above. Alternatively, when the processor 70 executes the computer program 72, it implements the functions of each module / unit in the various device embodiments described above.
[0099] For example, the computer program 72 may be divided into one or more modules / units, which are stored in the memory 71 and executed by the processor 70 to complete this application. The one or more modules / units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program 72 in the body fat scale 7.
[0100] The body fat scale may include, but is not limited to, a processor 70 and a memory 71. Those skilled in the art will understand that... Figure 7 This is merely an example of a body fat scale 7 and does not constitute a limitation on the body fat scale 7. It may include more or fewer components than shown, or combine certain components, or different components. For example, the body fat scale may also include input / output devices, network access devices, buses, etc.
[0101] The processor 70 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0102] The memory 71 can be an internal storage unit of the body fat scale 7, such as a hard drive or memory. The memory 71 can also be an external storage device of the body fat scale 7, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory 71 can include both internal and external storage units of the body fat scale 7. The memory 71 is used to store the computer program and other programs and data required by the body fat scale. The memory 71 can also be used to temporarily store data that has been output or will be output.
[0103] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0104] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0105] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0106] In the embodiments provided in this application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0107] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0108] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0109] If the integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by hardware related to computer program instructions. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.
[0110] In addition, this application also provides a computer program product that, when run on a computer, causes the computer to execute the methods in the above-described implementations.
[0111] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A low-power battery detection method for a body fat scale, characterized in that, The body fat scale includes a controller, a branch selection switch, a battery, a first voltage divider branch, and a second voltage divider branch. The controller controls the on / off state of the branch selection switch to select whether to use the first voltage divider branch and / or the second voltage divider branch to detect the remaining battery power. The resistance of the first voltage divider branch is greater than the resistance of the second voltage divider branch. The method includes: The first remaining battery power of the body fat scale at a first moment is detected by the first voltage divider branch, and the second remaining battery power of the body fat scale at the first moment is predicted based on the usage data of the body fat scale. Compare the first remaining power with the second remaining power to determine a first power deviation between the first remaining power and the second remaining power. When the first power deviation is greater than the preset first deviation threshold, the branch selection switch is controlled to turn on the second voltage divider branch, and the third remaining power of the body fat scale is obtained through the detection of the second voltage divider branch. The branch selection switch is controlled to disconnect the second voltage divider branch. The third remaining power is used as the remaining power reference point at the first moment. The fourth remaining power of the body fat scale is determined by the remaining power reference point and the voltage detection result of the first voltage divider branch. This includes collecting the second voltage at the second moment through the first voltage divider branch, determining the voltage change at the second moment relative to the first moment, where the second moment is a moment after the first moment; finding the corresponding curve segment in the pre-set remaining power-open circuit voltage curve according to the remaining power reference point; and finding the fourth remaining power of the body fat scale at the second moment in the curve segment according to the voltage change.
2. The method according to claim 1, characterized in that, After obtaining the third remaining battery power of the body fat scale through the second voltage divider branch, the method further includes: The second remaining power is compared with the third remaining power to determine a second power deviation between the second remaining power and the third remaining power; When the second power deviation is greater than the preset second deviation threshold, the second remaining power is updated by the third remaining power.
3. The method according to claim 1, characterized in that, The common terminal of the branch selection switch is connected to the first terminal of the body fat scale's battery; the normally closed terminal of the branch selection switch is connected to the first terminal of the first voltage divider branch; the normally open terminal of the branch selection switch is connected to the first terminal of the second voltage divider branch; the second terminals of the first voltage divider branch and the second voltage divider branch are connected to the second terminal of the battery; and the control terminal of the branch selection switch is connected to the controller. Controlling the branch selection switch to connect the second voltage divider branch includes: The normally open terminal of the branch selection switch is closed, and the current of the battery flows to the second voltage divider branch through the branch selection switch; Controlling the branch selection switch to disconnect the second voltage divider branch includes: The normally closed terminal of the branch selection switch is closed, and the current from the battery flows to the first voltage divider branch through the branch selection switch.
4. The method according to any one of claims 1-3, characterized in that, Detecting the first remaining battery power of the body fat scale at a first moment through the first voltage divider branch includes: The body fat scale collects multiple detection voltages within a first time interval through the first voltage divider branch, where the first time interval is the time interval in which the first moment is located. The multiple detected voltages are filtered and averaged to obtain an average voltage; Based on the preset remaining power-open circuit voltage curve, the remaining power corresponding to the average voltage is found, and the found remaining power is taken as the first remaining power at the first moment.
5. The method according to any one of claims 1-3, characterized in that, Before the branch selection switch is turned on to connect the second voltage divider branch, and the third remaining battery power of the body fat scale is detected through the second voltage divider branch, the method further includes: The load power of the body fat scale at the first moment is detected; If the load power is greater than a predetermined power threshold, monitor a third moment when the load power is less than or equal to the power threshold; After a predetermined period of time following the third moment, the first remaining battery power of the body fat scale is detected again through the first voltage divider branch.
6. A low-power battery detection device for a body fat scale, characterized in that, The body fat scale includes a controller, a branch selection switch, a battery, a first voltage divider branch, and a second voltage divider branch. The controller controls the on / off state of the branch selection switch to select whether to use the first voltage divider branch and / or the second voltage divider branch to detect the remaining battery power. The resistance of the first voltage divider branch is greater than the resistance of the second voltage divider branch. The device includes: The remaining power detection unit is used to detect the first remaining power of the body fat scale at a first moment through the first voltage divider branch, and to predict the second remaining power of the body fat scale at the first moment based on the usage data of the body fat scale. The first power deviation determination unit is used to compare the first remaining power with the second remaining power to determine the first power deviation between the first remaining power and the second remaining power. A branch control unit is used to control the branch selection switch to turn on the second voltage divider branch when the first power deviation is greater than a preset first deviation threshold, and to detect the third remaining power of the body fat scale through the second voltage divider branch. The remaining power determination unit is used to control the branch selection switch to disconnect the second voltage divider branch, use the third remaining power as the remaining power reference point at the first moment, and determine the fourth remaining power of the body fat scale through the remaining power reference point and the voltage detection result of the first voltage divider branch. This includes collecting the second voltage at the second moment through the first voltage divider branch, determining the voltage change at the second moment relative to the first moment, where the second moment is a moment after the first moment; searching for the corresponding curve segment in a pre-set remaining power-open circuit voltage curve according to the remaining power reference point; and searching for the fourth remaining power of the body fat scale at the second moment in the curve segment according to the voltage change.
7. A body fat scale, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it causes the body fat scale to perform the method as described in any one of claims 1-5.
8. A computer program product comprising computer program instructions, characterized in that, When the computer program is run, the method as described in any one of claims 1-5 is performed.
Citation Information
Patent Citations
Battery remaining power detecting method and device
CN109375107A
SOC estimation method and device of vehicle battery, medium, controller and vehicle
CN114814595A