CN114824536B - Battery temperature sampling method and wearable device - Google Patents

Battery temperature sampling method and wearable device Download PDF

Info

Publication number
CN114824536B
CN114824536B CN202210750247.XA CN202210750247A CN114824536B CN 114824536 B CN114824536 B CN 114824536B CN 202210750247 A CN202210750247 A CN 202210750247A CN 114824536 B CN114824536 B CN 114824536B
Authority
CN
China
Prior art keywords
temperature
battery
acquisition module
temperature acquisition
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210750247.XA
Other languages
Chinese (zh)
Other versions
CN114824536A (en
Inventor
蔡思远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210750247.XA priority Critical patent/CN114824536B/en
Publication of CN114824536A publication Critical patent/CN114824536A/en
Application granted granted Critical
Publication of CN114824536B publication Critical patent/CN114824536B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/48Accumulators combined with arrangements for measuring, testing or indicating the condition of cells, e.g. the level or density of the electrolyte
    • H01M10/486Accumulators combined with arrangements for measuring, testing or indicating the condition of cells, e.g. the level or density of the electrolyte for measuring temperature
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K13/00Thermometers specially adapted for specific purposes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K7/00Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements
    • G01K7/16Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements
    • G01K7/22Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements the element being a non-linear resistance, e.g. thermistor
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G21/00Input or output devices integrated in time-pieces
    • G04G21/02Detectors of external physical values, e.g. temperature
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/443Methods for charging or discharging in response to temperature
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/48Accumulators combined with arrangements for measuring, testing or indicating the condition of cells, e.g. the level or density of the electrolyte
    • H01M10/488Cells or batteries combined with indicating means for external visualization of the condition, e.g. by change of colour or of light density
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M2220/00Batteries for particular applications
    • H01M2220/30Batteries in portable systems, e.g. mobile phone, laptop
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Nonlinear Science (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the application discloses a battery temperature sampling method and wearable equipment, and is applied to the technical field of wearable equipment. According to the method for sampling the temperature, whether the first identification (used for identifying the first temperature acquisition module) can be detected or not is judged within the first preset time, if the first identification is not obtained within the first preset time, the temperature acquisition is carried out on the battery of the wearable device according to the second temperature acquisition module, the first temperature is obtained, over-temperature protection processing is carried out based on the first temperature, and misoperation caused when the first temperature acquisition module cannot work normally is avoided.

Description

Battery temperature sampling method and wearable device
Technical Field
The present application relates to the field of wearable device technology, and in particular, to a method for battery temperature sampling and a wearable device.
Background
With the increasing development of the functions of the smart watch, the smart watch has become the most common portable tool in people's life. At present, a fuel gauge is generally adopted to charge and discharge management of a battery of a smart watch. When the battery power is insufficient, the fuel gauge cannot work normally, so that the temperature reported by the fuel gauge is inaccurate, and the inaccurate temperature can cause misoperation. Therefore, it is desirable to propose a solution to this problem.
Disclosure of Invention
In view of this, the present application provides a method for sampling a battery temperature, a wearable device, an electronic device, a computer-readable storage medium, and a computer program product, which can avoid a problem of an incorrect operation caused by an inaccurate temperature collected by the first temperature collecting module in an abnormal operating state.
In a first aspect, a method for sampling a temperature of a battery is provided, where the method is applied to a wearable device including a battery, a first temperature acquisition module and a second temperature acquisition module, or applied to an electronic device including: the temperature acquisition device comprises a battery, a first temperature acquisition module and a second temperature acquisition module; the method comprises the following steps:
determining whether a first identifier is acquired within a first preset time, wherein the first identifier is used for identifying a first temperature acquisition module, and the first temperature acquisition module is used for monitoring the temperature of the battery;
when the first identification is not obtained within the first preset time, carrying out temperature acquisition on the battery according to a second temperature acquisition module, and obtaining a first temperature;
and executing over-temperature protection processing based on the first temperature.
The method may be performed by a wearable device or a chip in a wearable device. Alternatively, the above method may be performed by an electronic device (such as a terminal) or a chip in the electronic device. Based on the scheme, whether the first identification is read or not is judged at first, if the first identification is not read within the first preset time, the temperature of the first temperature acquisition module is not adopted for carrying out over-temperature protection processing, the temperature acquisition is carried out on the battery by switching to other temperature acquisition modules (such as the second temperature acquisition module), and then the over-temperature protection processing is carried out on the basis of the first temperature acquired by the second temperature acquisition module, so that the problem of misoperation caused by inaccurate temperature acquired by the first temperature acquisition module under an abnormal working state is solved, and the accuracy of the acquired battery temperature is improved.
In one possible implementation, the method further includes:
when the first identifier is acquired within the first preset time, acquiring the temperature of the battery by using the first temperature acquisition module to acquire a second temperature;
and executing over-temperature protection processing based on the second temperature.
Therefore, under the condition that the first identifier is obtained, it is described that the first temperature acquisition module works normally, the first temperature acquisition module can still be used for sampling the temperature of the battery, and the over-temperature protection processing is executed based on the second temperature acquired by the first temperature acquisition module.
In one possible implementation manner, the performing the over-temperature protection process based on the first temperature includes:
determining whether the first temperature is greater than a first temperature threshold;
when the first temperature is higher than a first temperature threshold value, controlling the battery to stop supplying power to the load (for example, the load can be supplied with power by using a charging signal);
using the battery to power a load when the first temperature is less than or equal to a first temperature threshold.
The first temperature threshold is a safe operating temperature threshold of the battery.
Therefore, when the temperature of the battery is judged to be higher than the first temperature threshold value, the connection between the battery and the load can be disconnected, namely, the battery is stopped to supply power to the load, so that the battery is protected. Of course, when it is determined that the temperature of the battery is not higher than the first temperature threshold, the battery may be continuously used to supply power to the load.
In one possible implementation, when the first temperature is greater than a first temperature threshold, the method further includes:
displaying a first interface, wherein the first interface comprises a first window used for prompting a user that the temperature of the battery is too high.
Therefore, when the first temperature is judged to be higher than the first temperature threshold value, a prompt can be sent to the user through the interface so that the user can make a proper response.
In one possible implementation, the second temperature acquisition module is an NTC temperature sensor. The NTC temperature sensor may be an NTC thermistor of the watch back case. Therefore, by using the NTC thermistor of the watch rear shell to collect the temperature of the battery, a new temperature sampling passage can be avoided, and the cost is saved.
It is to be understood that the second temperature acquisition module may also be a newly introduced temperature sampling module, which is not limited in this embodiment of the application.
In one possible implementation, the first temperature acquisition module is an electricity meter.
In a second aspect, there is provided a wearable device comprising means for performing any of the methods of the first aspect. The device can be a watch (or a smart watch) or a chip in the watch (or the smart watch). The device includes an input unit, a display unit, and a processing unit. The wearable device further comprises a battery, a first temperature acquisition module and a second temperature acquisition module.
When the device is a watch, the processing unit may be a processor, the input unit may be a communication interface, the display unit may be a graphics processing module and a screen; the watch may further comprise a memory for storing computer program code which, when executed by the processor, causes the terminal to perform any of the methods of the first aspect.
When the device is a chip in a watch, the processing unit may be a logic processing unit inside the chip, the input unit may be an output interface, a pin, a circuit, or the like, and the display unit may be a graphics processing unit inside the chip; the chip may also include a memory, which may be a memory within the chip (e.g., registers, cache, etc.) or a memory external to the chip (e.g., read-only memory, random access memory, etc.); the memory is adapted to store computer program code which, when executed by the processor, causes the chip to perform any of the methods of the first aspect.
In a third aspect, an electronic device is provided that includes means for performing any of the methods of the first aspect. The device may be a terminal or a chip within a terminal. The electronic device includes an input unit, a display unit, and a processing unit. The electronic equipment comprises a battery, a first temperature acquisition module and a second temperature acquisition module.
When the apparatus is a terminal, the processing unit may be a processor, the input unit may be a communication interface, and the display unit may be a graphic processing module and a screen; the watch may further comprise a memory for storing computer program code which, when executed by the processor, causes the terminal to perform any of the methods of the first aspect.
When the device is a chip within a terminal, the processing unit may be a logic processing unit within the chip, the input unit may be an output interface, a pin or a circuit, etc., and the display unit may be a graphics processing unit within the chip; the chip may also include a memory, which may be a memory within the chip (e.g., registers, cache, etc.) or a memory external to the chip (e.g., read-only memory, random access memory, etc.); the memory is adapted to store computer program code which, when executed by the processor, causes the chip to perform any of the methods of the first aspect.
In a fourth aspect, there is provided a computer readable storage medium having stored computer program code which, when executed by a wearable device, causes the wearable device to perform any of the methods of the first aspect; alternatively, the computer program code, when executed by an electronic device, causes the electronic device to perform any of the methods of the first aspect.
In a fifth aspect, there is provided a computer program product comprising: computer program code which, when run by a wearable device, causes the wearable device to perform any of the methods of the first aspect; alternatively, the computer program code, when executed by an electronic device, causes the electronic device to perform any of the methods of the first aspect.
Drawings
FIG. 1 is a diagram of one example of a watch of an embodiment of the present application;
FIG. 2 is a schematic diagram of a software system for use with an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram of a method of battery temperature sampling of an embodiment of the present application;
FIG. 4 is a circuit schematic of an embodiment of the present application;
FIG. 5 is a diagram illustrating an exemplary judgment flow of the over-temperature protection process according to an embodiment of the present application;
FIG. 6 is an exemplary diagram of a watch interface according to an embodiment of the application;
FIG. 7 is an exemplary diagram of a handset interface according to an embodiment of the application;
FIG. 8 is a schematic diagram of an arrangement according to an embodiment of the present application;
fig. 9 is a schematic block diagram of an apparatus for battery temperature sampling according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
The embodiment of the application is suitable for electronic equipment, and the electronic equipment can be wearable equipment, such as a smart watch, a smart bracelet, a smart ring, a wrist band, a helmet, a headband, glasses or other wearable equipment and the like.
Optionally, the electronic device may also be a terminal device. Terminal devices include, but are not limited to, cell phones, tablets, wireless communication devices, remote terminals, mobile devices, user terminals, handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, in-vehicle devices, and terminal devices in future 5G or 6G networks, and the like.
The wearable device comprises a battery and at least two temperature acquisition paths. For example, the wearable device includes two temperature acquisition paths, specifically, the temperature acquisition path that realizes through first temperature acquisition module promptly to and, the temperature acquisition path that realizes through second temperature acquisition module.
For convenience of description, the embodiments of the present application are described by taking the wearable device as a watch as an example.
Fig. 1 is a schematic view of a wristwatch to which an embodiment of the present application is applied. As shown in fig. 1, the wristwatch includes a dial 101 and a band 102. The user can wear the watch through the wristband 102 and view the content displayed by the watch display through the watch face 101.
In one implementation, in the embodiment of the present application, as shown in fig. 1, the elements related to the temperature control of the battery of the watch may include the following: a microprocessor 103, a watch back case NTC resistor 104 (which may correspond to the second temperature acquisition module), a fuel gauge 105 (which may correspond to the first temperature acquisition module), and a battery NTC resistor 106. Among them, the NTC resistor is a thermistor, also called a Negative Temperature Coefficient (NTC) resistor.
Generally, an electricity meter 105 in a watch is connected to a battery (such as a battery NTC resistor 106) in the watch, and is responsible for charging and discharging management of the watch battery. The fuel gauge 105 may collect the temperature of the battery NTC resistor 106 and report the collected temperature to the microprocessor 103. The battery in the watch is capable of powering the fuel gauge 105.
Alternatively, the microprocessor 103 may be a Micro Controller Unit (MCU). The MCU may receive the battery temperature reported by the fuel gauge 105. In some embodiments, the MCU determines whether a first identifier is obtained within a first preset time period, where the first identifier is used to identify the fuel gauge 105; when the first identifier is not obtained within the first preset time, the NTC resistor 104 of the watch back shell collects the temperature of the battery and obtains a first temperature; and executing over-temperature protection processing based on the first temperature.
It should be noted that the elements shown in the above-mentioned wristwatch are only exemplary, and do not constitute a specific limitation of the wristwatch. In other embodiments of the present application, the watch of FIG. 1 may include more or fewer components than those shown in FIG. 1, or the watch of FIG. 1 may include a combination of some of the components shown in FIG. 1, or the watch of FIG. 1 may include sub-components of some of the components shown in FIG. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination of software and hardware.
It should be understood that fig. 1 only illustrates an example in which the rear case temperature sensor is an NTC resistor, and the embodiments of the present application are not limited thereto. The back shell temperature sensor in the watch may also be of other types. For example, the NTC resistor 104 of the watch back case may be replaced by another type of temperature sensor.
It should be further understood that fig. 1 is only a schematic illustration of an application scenario of the present application, which does not limit the embodiments of the present application, and the present application is not limited thereto.
When the battery is low, the electricity meter 105 in the watch cannot work normally. For example, when the supply voltage of the battery is less than 2.5 volts (V), the fuel gauge 105 cannot operate normally. If the fuel gauge 105 fails to operate normally, the temperature of the battery detected by the fuel gauge 105 may be inaccurate or abnormal, which may cause some problems of malfunction.
For example, when the supply voltage of the battery is less than 2.5V, the fuel gauge cannot work normally, so that the battery temperature collected by the fuel gauge is an abnormal temperature (for example, -40 degrees), and the abnormal temperature of-40 degrees is reported to the microprocessor 103. The microprocessor 103 considers the current battery to be low, but the actual temperature of the battery may not be. At this time, the microprocessor 103 executes subsequent operations, such as controlling the watch to start up, according to the low temperature state of the battery, but the watch cannot be started up normally. It can be understood that inaccurate battery temperature reported by the fuel gauge may also cause other misoperation problems, for example, the battery of the watch cannot be charged normally.
In view of this, the present application provides a method for sampling a battery temperature and a wearable device. According to the temperature sampling method, whether the first identification (used for identifying the first temperature acquisition module) can be detected or not is judged within the first preset time, if the first identification is not obtained within the first preset time all the time, the temperature acquisition is carried out on the battery of the wearable device according to the second temperature acquisition module, the first temperature is obtained, the over-temperature protection processing is carried out based on the first temperature, the misoperation caused when the first temperature acquisition module cannot normally work is avoided, and the stability of the wearable device can be improved.
A schematic diagram of a software system applied to the embodiment of the present application is first described below with reference to fig. 2.
Fig. 2 is a schematic diagram of a software system applied to the embodiment of the present application. As shown in fig. 2, the software system adopting the layered architecture is divided into a plurality of layers, and each layer has a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the software system may be divided into six layers, which are, from top to bottom, an application layer, a system service layer, an algorithm library (library), a hardware abstraction layer HAL, a kernel layer (kernel), and a driver layer (driver).
As shown in fig. 2, the application layer includes a dial, a motion record, a call, and an exercise.
It is understood that part of the application programs are shown in fig. 2, and in fact, the application program layer may also include other application programs, which is not limited in this application. Such as applications that also include information, alarm, weather, stopwatch, compass, timer, flashlight, calendar, payroll, etc.
As shown in fig. 2, the system services layer includes step counting, heart rate services, calories, heart health, and the like.
The algorithm library may include a plurality of algorithm modules. For example, as shown in fig. 2, the algorithm library includes a dimming algorithm module, a sleep algorithm, a wearing algorithm, and the like. The wearing algorithm is used for detecting the wearing state of the watch.
As shown in fig. 2, the hardware abstraction layer includes C + + libraries, storage, display, touch, etc. The C + + library is used for providing system resources for the algorithm library.
It will be appreciated that the hardware abstraction layer shown in fig. 2 is part of the content, and in fact the hardware abstraction layer HAL may also comprise other content, such as a bluetooth module, a GPS module, etc.
As shown in FIG. 2, the kernel layer includes an OS kernel. The OS kernel is used to perform management and scheduling.
The driver layer is used for driving hardware resources. A plurality of driver modules may be included in the driver layer. As shown in fig. 2, the driving layer includes a first temperature acquisition module driver, a second temperature acquisition module driver, a PPG driver, an LCD driver, a motor, and the like.
In some embodiments, the first temperature acquisition module drive may be an electricity meter drive. The OS kernel can monitor the temperature of the battery by driving the scheduling fuel gauge through the fuel gauge.
In some embodiments, the second temperature acquisition module drive may be a back-shell NTC resistive drive. The OS kernel can drive and call the rear shell NTC resistor to collect the temperature of the battery through the second temperature collection module.
The process of temperature sampling according to the embodiment of the present application is described below with reference to fig. 2. The OS kernel schedules the first temperature acquisition module driver to cause the first temperature acquisition module to acquire data (e.g., battery temperature). The first temperature acquisition module driver may return acquired data to the OS kernel. The OS kernel may perform relevant scheduling based on the collected data. When the OS kernel cannot obtain the identifier of the first temperature acquisition module, the second temperature acquisition module can be scheduled to drive so that the second temperature acquisition module can acquire data (for example, sample the temperature of the battery), and perform over-temperature protection processing based on the data acquired by the second temperature acquisition module.
Optionally, when the temperature of the battery is determined to be too high, the OS kernel further reports a result of the too high temperature to the application layer. And the application program layer prompts a user on a UI (user interface) based on the overhigh temperature result reported by the OS kernel so that the user can intuitively know the high-temperature warning of the battery.
It is to be understood that the above describes the software architecture of the wearable device by taking fig. 2 as an example, and the embodiments of the present application are not limited thereto.
Referring to fig. 3 to 7, a method of sampling a battery temperature according to an embodiment of the present application is described.
Fig. 3 shows a schematic flow diagram of a method 300 of battery temperature sampling in an embodiment of the application. The method 300 is applied to a wearable device, and the wearable device comprises a battery, a first temperature acquisition module and a second temperature acquisition module. For example, the method 300 may be applied to the watch shown in FIG. 1. As shown in fig. 3, the method 300 includes:
s310, whether a first identifier is acquired within a first preset time is determined, wherein the first identifier is used for identifying a first temperature acquisition module, and the first temperature acquisition module is used for monitoring the temperature of the battery.
Illustratively, taking a microprocessor (such as 103 in fig. 1) in the watch as an example, the microprocessor may read the first identifier within a first preset time period, and then determine whether the first identifier can be read or detected.
The first identifier may be understood as an identifier of the first temperature acquisition module.
The first temperature acquisition module is responsible for charging and discharging (charging and discharging for short) management of the battery. The first temperature acquisition module can acquire data of the battery, maintain a battery use history record and the like.
Illustratively, the first temperature acquisition module may be the fuel gauge 105 of fig. 1 for monitoring the temperature of the watch battery.
It is understood that the first temperature acquisition module can also realize other management functions of the battery. For example, the first temperature acquisition module may also monitor voltage, charge/discharge current, and the like.
In one implementation, the first temperature acquisition module is an electricity meter. Accordingly, the first identifier is an identifier of the fuel gauge, such as a fuel gauge chip identifier (chip ID).
Generally speaking, when the first temperature acquisition module cannot work normally, the processor cannot read the identifier (corresponding to the first identifier) of the first temperature acquisition module. Based on this, whether this application embodiment is through reading first sign, whether judging first temperature acquisition module normally works, and then whether the temperature of deciding to adopt first temperature acquisition module collection.
According to one implementation mode, if the first identifier can be read, the first temperature acquisition module is indicated to work normally; if the first identifier cannot be read, the first temperature acquisition module is in an abnormal working state, and the temperature acquired by the first temperature acquisition module is inaccurate, so that the subsequent operation, such as temperature judgment of the battery, cannot be executed by using the temperature acquired by the first temperature acquisition module.
The first preset time period may be a preset time value. For example, if the first preset time duration is 15 seconds, the polling may be 15 seconds, that is, the first identifier is read every 15 seconds. It is to be understood that the duration of the first preset duration may depend on the product implementation, and the examples herein are only exemplary descriptions, and the embodiments of the present application are not limited thereto.
The embodiment of the application provides a corresponding solution for determining whether the microprocessor reads the first identifier within the first preset time.
And S320, if the first identifier is not obtained within the first preset time, carrying out temperature acquisition on the battery of the wearable device according to the second temperature acquisition module, and obtaining a first temperature.
The second temperature acquisition module is different from the first temperature acquisition module. Compared with the first temperature acquisition module, the second temperature acquisition module is not originally responsible for charge and discharge management of the battery. In this embodiment of the application, if the first identifier is not obtained within the first preset time period, it is determined that the first temperature acquisition module is abnormal in operation, and at this time, the processor does not perform subsequent processing using the temperature acquired by the first temperature acquisition module, or shields the temperature acquired by the first temperature acquisition module, but switches to the second temperature acquisition module to perform acquisition of the battery temperature.
The embodiment of the present application does not limit the specific form of the second temperature acquisition module. The second temperature acquisition module may be a certain temperature acquisition module existing in the wearable device, or may be a temperature acquisition module added by a new one, which is not limited. For example, the second temperature acquisition module may be the NTC resistor of the watch back case in fig. 1. Therefore, by using the NTC thermistor of the watch rear shell to collect the temperature of the battery, a new temperature sampling passage can be avoided, and the cost can be saved.
And S330, executing over-temperature protection processing based on the first temperature.
In the embodiment of the application, whether the first identifier is read or not is judged firstly, if the first identifier is not read within a first preset time period, the temperature of the first temperature acquisition module is not adopted for carrying out over-temperature protection processing, the temperature acquisition is carried out on the battery by switching to other temperature acquisition modules (such as a second temperature acquisition module), and then the over-temperature protection processing is carried out based on the first temperature acquired by the second temperature acquisition module, so that the problem of misoperation caused by inaccurate temperature acquired by the first temperature acquisition module in an abnormal working state is solved, and the accuracy of the acquired battery temperature is improved.
Optionally, as a possible implementation manner, executing an over-temperature protection process based on the first temperature includes:
determining whether the first temperature is greater than a first temperature threshold;
when the first temperature is higher than a first temperature threshold value, controlling the battery not to supply power to the load (or controlling the battery to stop discharging), and supplying power to the load by using a charging signal;
and when the first temperature is less than or equal to a first temperature threshold value, using a battery to supply power for the load.
The first temperature threshold is a temperature threshold at which the battery operates safely. The value of the first temperature threshold is not specifically limited in the embodiments of the present application. The value of the first temperature threshold may depend on the battery manufacturer's settings. For example, if the first temperature threshold is 120 ℃, the over-temperature protection process is started when the temperature of the battery is determined to be higher than 120 ℃.
That is, when the temperature of the battery is determined to be higher than the first temperature threshold, the connection between the battery and the load may be disconnected, that is, the battery is stopped to supply power to the load, so as to protect the battery. When the temperature of the battery is judged not to be higher than the first temperature threshold value, the battery can be continuously used for supplying power to the load.
The manner of controlling the battery not to supply power to the load in the embodiment of the present application is not particularly limited. For example, the connection between the battery and the load may be cut off.
For example, the specific process of the microprocessor executing the over-temperature protection processing by the first temperature includes: judging whether the first temperature is greater than a first temperature threshold value; if the first temperature is higher than the first temperature threshold, disconnecting the battery from the load, stopping the discharging process of the battery, and charging the load by using the charging signal; if the first temperature is less than or equal to the first temperature threshold, which indicates that the current temperature does not exceed the safe operating temperature of the battery, the battery may continue to discharge, i.e., charge the load through the battery.
The embodiment of the present application does not limit the specific manner of the over-temperature protection treatment.
Fig. 4 is a circuit schematic of an embodiment of the present application. As shown in fig. 4, the circuit includes a charging chip, an inductor, a load, a battery, and VBUS. The charging chip comprises a control module, a field effect tube Q1, a field effect tube Q2, a field effect tube Q3 and a field effect tube Q4.
The charging chip can be implemented by a buck circuit (or a buck converter circuit). The connection relationship of the elements packaged in the charging chip can refer to the illustration in fig. 4. As shown in FIG. 4, Q1 has one end connected to Q2 and the other end connected to VBUS. VBUS is the chip that charges, can be connected with external power source. One end of Q2 is connected with Q1 in series, and the other end is connected with the inductor. One end of Q3 is connected with the ground, and the other end is connected with the inductor. One end of Q4 is connected to the load and the other end is connected to the Vbat pin of the battery.
One end of the inductor is connected with the load. The inductor is used for realizing a filtering function.
The control module in the charging chip can control the turn-off and turn-on of each field effect transistor contained in the charging chip. According to one implementation mode, the control module is in communication connection with an MCU in the watch and determines to switch on Q4 or a port Q4 based on an instruction of the MCU.
Illustratively, the control module may be notified to turn off Q4 when the MCU determines that the temperature of the battery (e.g., the first temperature, or the second temperature) is higher than a first temperature threshold. After Q4 is turned off, the load can be charged through the charging chip, but the battery cannot be charged through the charging chip. When the MCU determines that the temperature of the battery (e.g., the first temperature, or the second temperature) is less than or equal to the first temperature threshold, the control module may be notified to turn on Q4. After Q4 is turned on, the load can be charged by the battery, and the battery can be charged by the charging chip.
It should be understood that fig. 4 is only illustrated with one load as an example, but the embodiment of the present application is not limited thereto. In fact, more loads may be included in fig. 4.
Optionally, the circuit further comprises an SC fast charging chip. As shown in fig. 4, one end of the SC fast charging chip is connected to the VBUS pin, and the other end is connected to the battery. The SC quick charging chip can be used for realizing quick charging of the battery.
It should be understood that the circuit principle shown in fig. 4 is only one implementation of the over-temperature protection process, and the embodiments of the present application are not limited thereto. In fact, other over-temperature protection treatments may be used by those skilled in the art.
Optionally, as an optional implementation manner, when it is determined that the first temperature is less than or equal to the first temperature threshold, the method further includes: the battery is charged by trickle charging.
Trickle charging refers to the process of supplementing the electric quantity of the battery by a tiny pulse current so as to enable the voltage of the battery to rise. When the temperature of the battery is determined not to be higher than the safe operating temperature threshold and the battery voltage is determined to be lower than the normal operating voltage (for example, the battery voltage is less than 3.5V), the battery may be trickle charged. Alternatively, the normal operating voltage of the battery may be 3.5V-4.4V. It should be understood that the normal operating voltage of the battery is only illustrated as 3.5V to 4.4V, and the embodiments of the present application are not limited thereto. In fact, the normal operating voltage of the battery may have other voltage interval values, which may depend on the manufacturer or product implementation, and the application is not limited in particular.
In addition, the trickle charge is used to protect the battery, and when the battery is in an undervoltage state, if a normal charging mode (for example, a fast charging mode) is used, the battery may be damaged, and the service life of the battery may be affected.
With the trickle charge, the battery voltage may rise back to the normal operating voltage, for example, the power supply voltage of the battery is greater than 3.5V, and then the wearable device may be restarted at this time, and the electricity meter may resume normal operation at this time. After the electricity meter returns to normal operation, the microprocessor can read the identification of the electricity meter.
It should be understood that, during the trickle charging process of the battery voltage, the battery voltage may rise back from 2.5V to 3.5V, during which the battery voltage is not yet turned on, so the electricity meter cannot normally operate, until the voltage of the battery is greater than 3.5V, the battery can normally operate, the wearable device is turned on again, and at this time, the electricity meter can be recovered to be normal.
Of course, if the voltage of the battery is 3.5V-4.4V at the normal operating voltage, when the wearable device is powered on and works normally, the voltage of the battery gradually decreases with the use of the battery power, for example, the voltage drops from 4.4V to 2.5V, and if the wearable device is not powered off and the power supply voltage of the battery for the fuel gauge is not lower than 2.5V, the fuel gauge can still work normally. Stated differently, it is understood that the voltage at which the fuel gauge operates normally is greater than or equal to 2.5V. If the power supply voltage of the battery for the fuel gauge is lower than 2.5V, the fuel gauge cannot work normally.
It should be understood that, the normal operating voltage of the fuel gauge is greater than or equal to 2.5V, which is only an example, and the embodiments of the present application are not limited thereto. In fact, the normal operating voltage of the electricity meter may have other voltage values, which may depend on the manufacturer or product implementation, and the application is not limited in particular.
The above describes a related implementation of temperature acquisition of the battery by the second temperature acquisition module. Of course, when the first identifier is read, the temperature of the battery can still be acquired by the first temperature acquisition module.
Optionally, as an implementation manner, the method 300 further includes:
s340, if the first identifier is acquired within the first preset time, acquiring the temperature of the battery by using the first temperature acquisition module to acquire a second temperature;
and S350, executing over-temperature protection processing based on the second temperature.
That is, if the first identifier is obtained, which indicates that the first temperature collection module is working normally, the first temperature collection module may be used to sample the temperature of the battery. The second temperature refers to the temperature collected by the first temperature collection module. After the second temperature is obtained, the over-temperature protection process may be performed using the second temperature.
It should be understood that the process of performing the over-temperature protection based on the second temperature is similar to the process of performing the over-temperature protection based on the first temperature, for example, by comparing the magnitude relationship between the second temperature and the first temperature threshold to determine whether the battery supplies power to the load, and the detailed process of performing the over-temperature protection based on the second temperature will not be described herein again.
The embodiment of the present application does not specifically limit the timing of reading the first identifier. An implementation mode, after trickle charge is carried out to the battery, along with the rising of battery voltage, battery voltage can rise to normal operating voltage again, for example the supply voltage of battery is greater than 3.5V, wearable equipment can restart this moment, and the fuel gauge can normally work this moment, and microprocessor can read the sign of fuel gauge again (corresponding first sign) so, then can reuse the temperature that the fuel gauge gathered and carry out the excess temperature protection and handle.
The process of temperature sampling is described below in conjunction with the specific example in fig. 5. Fig. 5 is a diagram showing an example of a determination flow of the overheat protection process. As shown in fig. 5, the method 400 includes:
step 401, judging whether the identifier of the electricity meter is acquired.
If the identification of the electricity meter is acquired, executing step 402-B, and if the identification of the electricity meter is not acquired, executing step 402-A.
Alternatively, as described above, a first preset time period may be set, and it is determined whether the identifier of the fuel gauge is obtained within the first preset time period. The description of the first preset duration may refer to the foregoing, and is not repeated herein.
Step 402-A, a first temperature acquisition module is used for acquiring the temperature of the battery to obtain a first temperature.
At step 402-B, an over-temperature protection process is performed based on the temperature collected by the fuel gauge.
In step 403, it is determined whether the first temperature is greater than a first temperature threshold.
If the first temperature is greater than the first temperature threshold, perform step 404; if the first temperature is not greater than the first temperature threshold, step 405 is performed.
In step 404, the battery is controlled to stop discharging, and a charging chip (such as the charging chip shown in fig. 5) is switched to supply power to the system load.
In step 405, the battery is controlled to supply power to the load and trickle charge the battery at the same time.
After step 404 or step 405, the process may return to step 401 and repeat the above process.
Some terms or specific implementations related to the steps in the method 400 may refer to the foregoing description, and are not repeated herein.
In the embodiment of the application, if it is determined that the first temperature is greater than the first temperature threshold, a prompt may be sent to the user through the interface, so that the user may make an appropriate response.
Optionally, when the first temperature is greater than the first temperature threshold, the method 300 further includes:
displaying a first interface, wherein the first interface comprises a first window, and the first window is used for prompting a user that the temperature of the battery is too high.
That is, a high temperature warning of the battery may be issued to the user through the interface when the temperature of the battery is above a temperature threshold for safe operation.
It is to be understood that, here, the description is given by taking an example of issuing a prompt to a user through an interface when the first temperature is greater than the first temperature threshold, but the embodiment of the present application is not limited thereto. For example, if it is determined that the battery temperature (e.g., the second temperature) collected by the first temperature collection module is greater than the first temperature threshold, a prompt may be sent to the user through the interface.
For ease of understanding, the following description is made in conjunction with the interfaces in fig. 6 and 7. It should be understood that the interfaces shown in fig. 6 and 7 are not limiting on the embodiments of the present application.
FIG. 6 illustrates an example diagram of a watch interface. As shown in fig. 6, a window 501 pops up in the watch interface, and the content displayed in the window 501 is "the battery temperature is too high". A close control 502 may also be included in window 501. If the user has read the content in window 501, the user can click on control 502 to close window 501.
It should be understood that fig. 6 is only described by taking a watch as an example, but the embodiments of the present application are not limited thereto.
Optionally, when the watch establishes a communication connection with the terminal, the first window may be displayed through an interface of the terminal.
Fig. 7 shows an exemplary diagram of a handset interface. The mobile phone is in communication connection with the watch. When the battery temperature of the watch is detected to exceed the safety threshold, a window 601 can pop up in the interface of the mobile phone, and the content displayed in the window 601 is 'the watch battery temperature is too high', so that the user is prompted to pay attention to the watch battery temperature. A close control 602 may also be included in window 601. If the user has read the content in window 601, the user can click on control 602 to close window 601.
It should be understood that the exemplary diagrams of the interfaces shown in the embodiments of the present application are only for facilitating understanding of those skilled in the art, and the embodiments of the present application are not limited to the specific scenarios illustrated.
It should also be understood that the embodiment of the present application is described by taking a watch as an example, but the method for sampling the battery temperature of the embodiment of the present application may also be applied to other wearable devices or electronic devices.
Taking a mobile phone as an example, the first temperature acquisition module is used for acquiring a temperature of a battery of the mobile phone in the mobile phone, and when the first temperature acquisition module cannot work normally, the first temperature acquisition module may be switched to another temperature sampling module in the mobile phone to acquire the temperature of the battery of the mobile phone, and the another temperature sampling module may be an existing temperature sampling module in the mobile phone or a newly added temperature sampling module, which is not limited specifically. Similarly, the embodiment of the above embodiment regarding over-temperature protection, or the embodiment of displaying a high-temperature warning prompt window to the user, may also be applied to a mobile phone.
The method for sampling the battery temperature according to the embodiment of the present application is described in detail above with reference to fig. 1 to 7. An embodiment of the apparatus of the present application will be described in detail below with reference to fig. 8 and 9. It should be understood that the device of the embodiments of the present application may perform the method embodiments of battery temperature sampling of the foregoing embodiments, that is, the following specific working processes of the product, and reference may be made to the corresponding processes in the foregoing method embodiments.
Fig. 8 shows a schematic diagram of a device 500 suitable for use in the present application. The apparatus 500 may be a watch, a wrist band, a wearable electronic device or other wearable device, and the like, and the specific type of the apparatus 500 is not limited in any way by the embodiments of the present application.
As shown in fig. 8, the apparatus 500 may include Radio Frequency (RF) circuitry 210, a memory 220, other input devices 230, a touch screen 240, a PPG module 251, a buzzer 252, audio circuitry 260, an I/0 subsystem 270, a processor 280, and a power supply 290.
The configuration shown in fig. 8 is not intended to specifically limit the apparatus 500. In other embodiments of the present application, apparatus 500 may include more or fewer components than those shown in FIG. 8, or apparatus 500 may include a combination of some of the components shown in FIG. 8, or apparatus 500 may include sub-components of some of the components shown in FIG. 8. The components shown in fig. 8 may be implemented in hardware, software, or a combination of software and hardware.
The RF circuit 210 may be used for transmitting and receiving information, or for receiving and transmitting signals during a call. Illustratively, downlink information from the base station is received and processed by the processor 280, and uplink data is transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 210 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), general Packet Radio Service (GPRS), code Division Multiple Access (CDMA), wideband Code Division Multiple Access (WCDMA), long Term Evolution (LTE), email, short Message Service (SMS), etc.
The memory 220 may be used to store software programs, and the processor 280 may perform various functions of the apparatus 500 by operating the software programs stored in the memory 220. The memory 220 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area that may store data maintained according to the use of the apparatus 500 (such as audio data, a phone book, etc.), and the like. Further, the memory 220 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
Other input devices 230 may be used to receive entered numeric or character information and generate key signal inputs relating to user settings and function controls of apparatus 500. In particular, other input devices 230 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, a light mouse (a light mouse is a touch-sensitive surface that does not display visual output, or is an extension of a touch-sensitive surface formed by a touch screen), and the like. The other input devices 230 are connected to other input device controllers 271 of the I/O subsystem 270 and are in signal communication with the processor 280 under the control of the other input device controllers 271.
The touch screen 240 may be used to display information input by or provided to the user and various menus of the apparatus 500, and may also accept user input. The touch screen 240 may include a display panel 241 and a touch panel 242. The display panel 241 may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini light-emitting diode (Mini LED), a Micro light-emitting diode (Micro LED), a Micro OLED (Micro OLED), or a quantum dot light-emitting diode (QLED).
Touch panel 242, also referred to as a display screen, a touch-sensitive screen, etc., may collect contact or non-contact operations (e.g., operations performed by a user on or near touch panel 242 using any suitable object or accessory such as a finger, a stylus, etc., and may also include somatosensory operations; the operations include single-point control operations, multi-point control operations, etc.) and drive the corresponding connected devices according to a preset program. Alternatively, the touch panel 242 may include two parts of a touch detection device and a touch controller. The touch detection device detects gestures of a user, namely touch direction and gesture, detects signals brought by touch operation, and transmits the signals to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into information that can be processed by the processor, and then sends the information to the processor 280, and receives and executes commands sent from the processor 280. In addition, the touch panel 242 may be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave, and the touch panel 242 may be implemented by any technology developed in the future. Further, touch panel 242 may overlay display panel 241, a user may operate on or near touch panel 242 overlaid on display panel 241 according to content displayed on display panel 241 (the display content includes, but is not limited to, a soft keyboard, a virtual mouse, virtual keys, icons, etc.), touch panel 242 detects the operation on or near touch panel 242, and transmits the operation to processor 280 through I/O subsystem 270 to determine user input, and processor 280 then provides corresponding visual output on display panel 241 through I/O subsystem 270 according to the user input. Although in fig. 5, the touch panel 242 and the display panel 241 are implemented as two separate components to implement the input and output functions of the apparatus 500, in some embodiments, the touch panel 242 and the display panel 241 may be integrated to implement the input and output functions of the apparatus 500.
Prompt information for wearing style, wearing status, etc., and historical information in the form of visual (numbers, tables, graphics) or audible (synthesized voice or tones) of the detected heart rate may be provided on the display panel 241 under program control of the processor 280. As one non-limiting example, a visual graph may be displayed showing the heart rate calculated every 5 minutes during a previous fixed time interval (e.g., 1 hour) or after the exercise session has ended (as determined by its indication from the user). Average heart rate information or statistical information of heart rate during a previous time period or time periods may also be provided on the display panel 241 under the control of the processor 280. As another example, the current heart rate value may be provided on the display panel 241 as a "real-time" heart rate value that is periodically (e.g., every second) displayed to the user during the course of an exercise program in progress.
PPG module 251, which includes a light emitter and a light sensor. The heart rate is measured through the PPG module and is based on the absorption principle that the material was to light, and the blood vessel of skin is shone to the light emitter in the PPG module of electronic equipment, and light that light sensor received and is passed through from the skin. Because different volumes of blood in the blood vessel absorb different green light, the blood flow is increased and the green light absorption amount is increased when the heart beats, and the blood flow is reduced when the heart beats in the gap, and the absorbed green light is reduced. Thus, heart rate can be measured from the absorbance of blood. In operation, the light emitter may transmit a light beam to the skin of the user, and the light beam may be reflected by the skin of the user and received by the light sensor. The light sensor may convert the light into an electrical signal indicative of its intensity. The electrical signal may be in analog form and may be converted to digital form by an analog-to-digital converter. The digital signal from the analog-to-digital converter may be a time domain PPG signal that is fed to processor 280. The output of the accelerometer may also be converted to digital form using an analog-to-digital converter. The processor 280 may receive the digitized signals from the light sensors and digitize the accelerometer output signals of the accelerometers and may process these signals to provide a heart rate or wear status output signal to a memory device, visual display, audible annunciator, touch screen, or other output indicator.
A temperature collection module 253 for collecting temperature. In some embodiments, temperature acquisition module 253 includes two temperature acquisition paths, such as an electricity meter and a watch back case NTC resistor. The fuel gauge is used to collect the temperature of the battery of the device 500. In some embodiments, if the processor 280 does not obtain the first identifier within the first preset time period, the temperature of the battery is collected according to the NTC resistor of the watch back case, and a first temperature is obtained; and executing over-temperature protection processing based on the first temperature.
The device 500 may also include at least one sensor, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 241 according to the brightness of ambient light, and a proximity sensor that turns off the backlight of the display panel 241 and/or the touch panel 242 when the device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for vibration recognition related functions (such as pedometer, tapping) and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured for the apparatus 500, further description is omitted here.
The device 500 may also include a buzzer 252, the buzzer 252 may generate vibrations as directed by the processor 280.
Audio circuitry 260 may provide an audio interface between a user and device 500. The audio circuit 260 may transmit the converted signal of the received audio data to the speaker 261, and the converted signal is converted into a sound signal by the speaker 261 and output; on the other hand, the microphone converts the collected sound signals into signals, which are received by the audio circuit 260 and converted into audio data, which are output to the RF circuit 210 for transmission to, for example, a cellular phone, or to the memory 220 for further processing.
The external devices used by the I/O subsystem 270 to control input and output may include other devices, an input controller 271, a sensor controller 272, and a display controller 273. Optionally, one or more other input control device controllers 271 receive signals from and/or transmit signals to other input devices 230, and the other input devices 230 may include physical buttons (push buttons, rocker buttons, etc.), dials, swipe switches, joysticks, click wheels, a light mouse (which may be a touch-sensitive surface that does not display visual output, or an extension of a touch-sensitive surface formed by a touch screen). It is noted that other input control device controllers 271 may be connected to any one or more of the above devices. The display controller 273 in the I/O subsystem 270 receives signals from the touch screen 240 and/or transmits signals to the touch screen 240. After the touch screen 240 detects the user input, the display controller 273 converts the detected user input into an interaction with the user interface object displayed on the touch screen 240, i.e., implements a human-computer interaction. The sensor controller 272 may receive signals from one or more sensors 251 and/or transmit signals to one or more sensors 251.
The processor 280 is the control center of the apparatus 500, connects various parts of the entire cellular phone using various interfaces and lines, performs various functions of the apparatus 500 and processes data by operating or executing software programs and/or modules stored in the memory 220 and calling data stored in the memory 220. Alternatively, processor 280 may include one or more processing units. For example, the processor 110 may include at least one of the following processing units: an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and a neural-Network Processor (NPU). The different processing units may be independent devices or integrated devices.
Alternatively, processor 280 may integrate an application processor and a modem processor. The application processor mainly processes an operating system, a user interface, an application program and the like; the modem processor handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 280.
The device 500 also includes a power source 290 (such as a battery) to power the various components. Alternatively, the power source may be logically connected to the processor 280 through a power management system, such that the functions of managing charging, discharging, and power consumption are performed through the power management system. It should be understood that although not shown, the apparatus 500 may also include a camera, a bluetooth module, etc., which are not described in detail herein.
The modules stored in the memory 220 may include: an operating system, a contact/motion module, a graphics module, and an application program, among others.
The contact/motion module is used to detect contact between an object or finger and the touch screen 240 or the click-type touch wheel, capture the speed (direction and magnitude) and acceleration (change in magnitude or direction) of the contact, and determine the type of the contact event. For example, various contact event detection modules, sometimes gestures, in combination with elements in a user interface implement some operations: finger pinching/pinching, and the like.
The graphics module is used to render and display graphics, including web pages, icons, digital images, videos, and animations on a touch screen or other display.
Applications may include contacts, telephones, video conferencing, email clients, instant messaging, personal sports, cameras, image management, video players, music players, calendars, plug-ins (e.g., weather, stock, calculator, clock, dictionary), custom plug-ins, searches, notes, maps, and online videos, among others.
It should be understood that the connection relationship between the modules shown in fig. 8 is only illustrative and is not intended to limit the connection relationship between the modules of the apparatus 500. Alternatively, the modules of the apparatus 500 may also adopt a combination of the connection manners in the above embodiments.
Fig. 9 is a schematic block diagram of a device 900 for sampling battery temperature according to an embodiment of the present application. As shown in fig. 9, the apparatus 900 includes: a processing module 910, a battery module 920, a first temperature acquisition module 930, and a second temperature acquisition module 940.
In one possible example, the processing module 910 is configured to determine whether a first identifier is obtained within a first preset time period, where the first identifier is used to identify a first temperature acquisition module, and the first temperature acquisition module 930 is used to monitor the temperature of the battery module 920;
when the first identifier is not obtained within the first preset time, calling the second temperature acquisition module 940 to acquire the temperature of the battery module 920 and obtaining a first temperature;
and executing over-temperature protection processing based on the first temperature.
Optionally, as a possible implementation manner, the processing module 910 is further configured to, when the first identifier is obtained within the first preset time period, perform temperature collection on the battery module 920 by using the first temperature collection module 930 to obtain a second temperature; and executing over-temperature protection processing based on the second temperature.
Optionally, as a possible implementation manner, the processing module 910 is configured to execute an over-temperature protection process based on the first temperature, and includes:
determining whether the first temperature is greater than a first temperature threshold;
when the first temperature is greater than a first temperature threshold, controlling the battery module 920 to stop discharging, and supplying power to a load by using a charging signal;
when the first temperature is less than or equal to a first temperature threshold, the battery module 920 is used to supply power to a load.
Optionally, as a possible implementation manner, the apparatus 900 further includes a display module 950, and when the first temperature is greater than the first temperature threshold, the processing module 910 is further configured to invoke the display module 950 to display a first interface, where the first interface includes a first window, and the first window is used to prompt a user that the temperature of the battery is too high.
Optionally, as a possible implementation manner, the second temperature acquisition module 940 is an NTC temperature sensor.
Optionally, as a possible implementation manner, the first temperature acquisition module 930 is an electricity meter.
It should be appreciated that the apparatus 900 described above is embodied in the form of functional modules (or units). The term "module" herein may be implemented in software and/or hardware, and the embodiment of the present application is not particularly limited thereto.
For example, a "module" may be a software program, a hardware circuit, or a combination of both that implements the functionality described above. The hardware circuitry may include an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor (e.g., a shared, dedicated, or group processor) and memory that execute one or more software or firmware programs, an integrated logic circuit, and/or other suitable devices that provide the described functionality. In a simple embodiment, those skilled in the art will appreciate that the apparatus 900 may take the form shown in FIG. 1. For example, the processing module 910 is implemented by an MCU; the battery module 920 may be implemented by a battery NTC resistor; the first temperature acquisition module 930 is implemented by an ammeter; the second temperature acquisition module 940 is implemented by a watch back case NTC resistor.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The present application also provides a computer program product which, when executed by a processor, implements the method of any of the method embodiments of the present application.
The computer program product may be stored in a memory and may be eventually transformed into an executable object file by preprocessing, compiling, assembling and linking.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a computer, implements the method of any of the method embodiments of the present application. The computer program may be a high-level language program or an executable object program.
The computer readable storage medium may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate SDRAM, enhanced SDRAM, SLDRAM, synchronous Link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solutions of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk, and the like.
It should be understood that, in the various embodiments of the present application, the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Additionally, the terms "system" and "network" are often used interchangeably herein. The term "and/or" herein is merely an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship. For example, A/B may represent A or B.
The terms (or numbers) "first", "second", "8230, etc. appearing in the embodiments of the present application are for descriptive purposes only, i.e. for distinguishing between different objects, e.g. different" temperatures ", etc., and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first," second, "" 8230, etc. may explicitly or implicitly include one or more features. In the description of the embodiments of the present application, "at least one" means one or more. "plurality" means two or more. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of a single item or a plurality of items.
For example, items similar to "appearing in the embodiments of the present application include at least one of: the meaning of a, B, and C "typically means that the item may be any of the following, unless otherwise specified: a; b; c; a and B; a and C; b and C; a, B and C; a and A; a, A and A; a, A and B; a, A and C, A, B and B; a, C and C; b and B, B, B and C, C and C; c, C and C, and other combinations of A, B and C. The above description is made by taking 3 elements of a, B and C as examples of optional items of the item, and when the expression "item" includes at least one of the following: a, B, \8230;, and X ", i.e., with more elements in the expression, then the items to which the item can be applied can also be obtained according to the rules described above.
In short, the above description is only a preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method for sampling battery temperature is applied to a wearable device, the wearable device comprises a battery, a first temperature acquisition module and a second temperature acquisition module, and the method comprises the following steps:
determining whether a first identifier is acquired within a first preset time, wherein the first identifier is used for identifying a first temperature acquisition module, and the first temperature acquisition module is used for monitoring the temperature of the battery;
when the first identification is not obtained within the first preset time, carrying out temperature acquisition on the battery according to a second temperature acquisition module, and obtaining a first temperature;
and executing over-temperature protection processing based on the first temperature.
2. The method of claim 1, further comprising:
when the first identifier is acquired within the first preset time, acquiring the temperature of the battery by using the first temperature acquisition module to acquire a second temperature;
and executing over-temperature protection processing based on the second temperature.
3. The method of claim 1 or 2, wherein the performing an over-temperature protection process based on the first temperature comprises:
determining whether the first temperature is greater than a first temperature threshold;
when the first temperature is higher than a first temperature threshold value, controlling a battery to stop supplying power to a load;
using the battery to power a load when the first temperature is less than or equal to a first temperature threshold.
4. The method of claim 3, wherein when the first temperature is greater than a first temperature threshold, the method further comprises:
displaying a first interface, wherein the first interface comprises a first window used for prompting a user that the temperature of the battery is too high.
5. The method of claim 1, 2 or 4, wherein the second temperature acquisition module is an NTC temperature sensor.
6. The method of claim 1, 2 or 4, wherein the first temperature acquisition module is an electricity meter.
7. A wearable device, comprising: the temperature acquisition device comprises a microprocessor, a battery, a first temperature acquisition module and a second temperature acquisition module;
the microprocessor is used for detecting a first identifier within a first preset time period, the first identifier is used for identifying the first temperature acquisition module, and the first temperature acquisition module is used for acquiring the temperature of the battery;
if the first identification is not obtained within the first preset time, calling the second temperature acquisition module to acquire the temperature of the battery to acquire a first temperature;
and executing over-temperature protection processing based on the first temperature.
8. An electronic device, comprising a processor and a memory, the processor and the memory being coupled, the memory for storing a computer program that, when executed by the processor, causes the electronic device to perform the method of any of claims 1 to 6.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to carry out the method of any one of claims 1 to 6.
10. A chip comprising a processor that, when executing instructions, performs the method of any one of claims 1 to 6.
CN202210750247.XA 2022-06-29 2022-06-29 Battery temperature sampling method and wearable device Active CN114824536B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210750247.XA CN114824536B (en) 2022-06-29 2022-06-29 Battery temperature sampling method and wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210750247.XA CN114824536B (en) 2022-06-29 2022-06-29 Battery temperature sampling method and wearable device

Publications (2)

Publication Number Publication Date
CN114824536A CN114824536A (en) 2022-07-29
CN114824536B true CN114824536B (en) 2022-11-08

Family

ID=82522947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210750247.XA Active CN114824536B (en) 2022-06-29 2022-06-29 Battery temperature sampling method and wearable device

Country Status (1)

Country Link
CN (1) CN114824536B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203218404U (en) * 2013-04-19 2013-09-25 深圳市维都利电子有限公司 Polymer lithium-ion battery with overheating outage function
CN204205570U (en) * 2014-10-21 2015-03-11 深圳市优特利电源有限公司 Four series lithium batteries and baffle thereof
CN105811037A (en) * 2016-04-18 2016-07-27 安徽锐能科技有限公司 Detection device and detection method of battery temperature detection module
CN110416641A (en) * 2019-07-17 2019-11-05 珠海格力电器股份有限公司 Battery pack over-temperature protection control method and device, storage medium and controller
KR20210052009A (en) * 2019-10-31 2021-05-10 주식회사 엘지화학 Diagnosis apparatus and diagnosis method for battery temperature sensor, and electric vehicle
CN216489821U (en) * 2021-11-15 2022-05-10 深圳市蓝禾科技有限公司 Wearable electric heating product with over-temperature protection function and protection circuit thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150102778A (en) * 2013-11-13 2015-09-08 삼성에스디아이 주식회사 Battery pack, apparatus including battery pack, and method of managing battery pack
KR101628489B1 (en) * 2014-09-25 2016-06-08 현대자동차주식회사 Apparatus and method for controlling high voltage battery in vehicle
US20170244141A1 (en) * 2016-02-22 2017-08-24 Faraday&Future Inc. Temperature dependent fuse for battery cooling system
CN109148985A (en) * 2017-06-15 2019-01-04 苏州宝时得电动工具有限公司 A kind of battery pack charging method and device
AU2018441905B9 (en) * 2018-09-21 2022-08-11 Huawei Technologies Co., Ltd. Electronic device low-temperature protection method and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203218404U (en) * 2013-04-19 2013-09-25 深圳市维都利电子有限公司 Polymer lithium-ion battery with overheating outage function
CN204205570U (en) * 2014-10-21 2015-03-11 深圳市优特利电源有限公司 Four series lithium batteries and baffle thereof
CN105811037A (en) * 2016-04-18 2016-07-27 安徽锐能科技有限公司 Detection device and detection method of battery temperature detection module
CN110416641A (en) * 2019-07-17 2019-11-05 珠海格力电器股份有限公司 Battery pack over-temperature protection control method and device, storage medium and controller
KR20210052009A (en) * 2019-10-31 2021-05-10 주식회사 엘지화학 Diagnosis apparatus and diagnosis method for battery temperature sensor, and electric vehicle
CN216489821U (en) * 2021-11-15 2022-05-10 深圳市蓝禾科技有限公司 Wearable electric heating product with over-temperature protection function and protection circuit thereof

Also Published As

Publication number Publication date
CN114824536A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
US10095186B2 (en) User interface activation
CN110192383B (en) Electronic device and operation method thereof
CN105930631B (en) Method for measuring bio-signals and wearable electronic device thereof
KR102398716B1 (en) Method for detecting biometric information and an electronic device thereof
US10394192B2 (en) Smart watch, operation control method and apparatus therefor
US20170075316A1 (en) Smart Watch with Power Saving Timekeeping Only Functionality and Methods Therefor
KR20180047654A (en) Method for recognizing user activity and electronic device for the same
KR20170136317A (en) Electronic apparatus and operating method thereof
KR20170138667A (en) Method for activating application and electronic device supporting the same
US10198118B2 (en) Operating method and electronic device for processing method thereof
CN109718112A (en) Medication based reminding method, device and computer readable storage medium
CN105830016B (en) Power management method and power management device for user equipment
CN107426802B (en) Terminal management method and device
CN108293080A (en) A kind of method of contextual model switching
CN107710724A (en) Use the method and its electronic equipment of sensing data control display
CN113545745B (en) Usage monitoring method and medium for wearable electronic device and electronic device thereof
CN108700924B (en) Function operating method and electronic device supporting the same
EP3738504A1 (en) Electronic device for generating health information on basis of plurality of biosignals and operation method therefor
WO2019104779A1 (en) Pressure measurement method and terminal
CN115391161A (en) Log transmission method, device, system and storage medium
CN113703641A (en) Message preview method and device, wearable device and computer readable storage medium
CN114824536B (en) Battery temperature sampling method and wearable device
CN114532992A (en) Method, device and system for detecting snooze state and computer readable storage medium
CN113157090A (en) Bright screen control method and device of electronic equipment and electronic equipment
CN113288049A (en) Data acquisition method, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant