Electronic device for generating battery state information using active block

By introducing an active block and an auxiliary processor into the electronic device, the problem of battery status monitoring interruption in the application processor sleep mode is solved, and continuous generation of battery status is achieved under low power conditions.

CN121839952APending Publication Date: 2026-04-10SAMSUNG ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-26
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

In electronic devices, when the application processor enters sleep mode, it becomes difficult to continuously calculate battery status information, resulting in reduced power consumption but interrupted status monitoring.

Method used

An active block (which includes memory and an auxiliary processor) is used to generate battery status information even when the application processor is in sleep mode. Sensing data is generated by the battery sensing circuit and stored in memory. The auxiliary processor performs calculations in sleep mode to generate battery status information.

Benefits of technology

It enables continuous generation of battery status information in the application processor's sleep mode, reducing power consumption while ensuring the continuity of battery status monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121839952A_ABST
    Figure CN121839952A_ABST
Patent Text Reader

Abstract

The present invention provides an electronic device comprising: a battery configured to supply power to the electronic device; a battery sensing circuit electrically connected to the battery and configured to generate sensing data corresponding to the battery; and an application processor, the application processor including an active block, where the active block includes: a memory configured to store the sensing data; and an auxiliary processor configured to generate battery state information based on the sensing data, and the active block configured to generate the battery state information in response to the application processor operating in a sleep mode.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Cross-references to related applications

[0002] This application is based on and claims priority to Korean Patent Application No. 10-2024-0138026, filed on October 10, 2024, and Korean Patent Application No. 10-2025-0021537, filed on February 19, 2025, the disclosures of which are incorporated herein by reference in their entirety. Technical Field

[0003] Various exemplary embodiments of the inventive concept relate to an electronic device, and more specifically, to an electronic device for generating battery state information by using active blocks. Background Technology

[0004] In electronic devices such as mobile devices, battery state information can be calculated via an application processor (AP). However, keeping the AP continuously active in such devices leads to unnecessary power consumption, and therefore, in specific situations such as when there is low traffic, the AP can switch to a sleep mode as a low-power mode to reduce power consumption. However, when the AP is operating in sleep mode, it may become difficult to continuously calculate the battery state. Therefore, it may be beneficial to provide a method that allows continuous calculation of the battery state even when the AP is operating in sleep mode. Summary of the Invention

[0005] Various exemplary embodiments of the inventive concept provide an electronic device including an application processor that continues to generate battery status information even when operating in sleep mode.

[0006] The inventive concept is not limited to the above-described technical features, and those skilled in the art will clearly understand from the following description other technical features not mentioned herein.

[0007] Some exemplary embodiments of the inventive concept provide an electronic device including: a battery configured to power the electronic device; a battery sensing circuit electrically connected to the battery and configured to generate sensing data corresponding to the battery; an application processor including an active block, wherein the active block includes: a memory configured to store the sensing data; and an auxiliary processor configured to generate battery state information based on the sensing data, and the active block is configured to generate the battery state information in response to the application processor operating in sleep mode.

[0008] Some exemplary embodiments of the present invention provide an electronic device, including: a battery configured to power the electronic device; a battery sensing circuit electrically connected to the battery and configured to generate sensing data corresponding to the battery; an application processor including an active block and a main processor, wherein the active block includes a memory configured to store the sensing data; and an auxiliary processor configured to write the sensing data to the memory, and the main processor configured to read the sensing data from the memory and generate battery state information based on the sensing data.

[0009] Some exemplary embodiments of the inventive concept provide an electronic device, including: a battery configured to power the electronic device; a battery sensing circuit electrically connected to the battery and configured to generate sensing data corresponding to the battery; an application processor including an active block and a main processor, wherein the active block includes a memory configured to store a set of sensing data, the set of sensing data including the sensing data; and an auxiliary processor configured to write the sensing data to the memory in response to the application processor operating in a sleep mode, and the main processor configured to read the set of sensing data from the memory and generate accumulated battery state information based on the set of sensing data in response to the application processor changing its operating mode from the sleep mode to an active mode.

[0010] Some exemplary embodiments of the inventive concept provide an electronic device, including: an electronic device comprising: a first battery and a second battery configured to power the electronic device; a first battery sensing circuit configured to generate first battery sensing data based on sensing the first battery, the first battery sensing data corresponding to the first battery; a second battery sensing circuit configured to generate second battery sensing data based on sensing the second battery, the second battery sensing data corresponding to the second battery; an application processor including an active block, wherein the active block includes a memory configured to store the first battery sensing data and the second battery sensing data; and an auxiliary processor configured to generate first battery state information based on the first battery sensing data and second battery state information based on the second battery sensing data, and the active block being configured to generate the first battery state information and the second battery state information in response to the application processor operating in sleep mode.

[0011] Some exemplary embodiments of the inventive concept provide an electronic device, including: a first battery and a second battery configured to power the electronic device; a first battery sensing circuit configured to generate first battery sensing data based on sensing the first battery, the first battery sensing data corresponding to the first battery; a second battery sensing circuit configured to generate second battery sensing data based on sensing the second battery, the second battery sensing data corresponding to the second battery; an application processor including an active block and a main processor, wherein the active block includes a memory configured to store the first battery sensing data and the second battery sensing data; and an auxiliary processor configured to write the first battery sensing data and the second battery sensing data into the memory, and the main processor configured to read the first battery sensing data and the second battery sensing data from the memory, generate first battery state information based on the first battery sensing data, and generate second battery state information based on the second battery sensing data.

[0012] Some exemplary embodiments of the inventive concept provide an electronic device, including: an electronic device comprising: a first battery and a second battery configured to power the electronic device; a first battery sensing circuit configured to generate first battery sensing data based on sensing the first battery, the first battery sensing data corresponding to the first battery; a second battery sensing circuit configured to generate second battery sensing data based on sensing the second battery, the second battery sensing data corresponding to the second battery; an application processor including an active block and a main processor, wherein the active block includes a memory configured to store the first battery sensing data and the second battery sensing data; and an auxiliary processor configured to write the first battery sensing data and the second battery sensing data to the memory in response to the application processor operating in a sleep mode, and the main processor configured to read the first battery sensing data and the second battery sensing data from the memory in response to the application processor changing its operating mode from the sleep mode to an active mode, generate first accumulated battery state information based on the first battery sensing data, and generate second accumulated battery state information based on the second battery sensing data. Attached Figure Description

[0013] Various exemplary embodiments will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:

[0014] Figure 1 These are diagrams used to explain electronic devices according to some example embodiments;

[0015] Figure 2 These are diagrams used to explain electronic devices according to some example embodiments;

[0016] Figure 3 This is a diagram used to explain the sensing data according to some example embodiments;

[0017] Figure 4 These are diagrams used to explain the battery sensing circuit and battery according to some example embodiments;

[0018] Figure 5 This is a diagram used to explain the internal circuitry of a battery according to some example embodiments;

[0019] Figure 6 These are diagrams used to explain electronic devices according to some example embodiments;

[0020] Figure 7 This is a flowchart used to explain the operation method of an electronic device according to some example embodiments;

[0021] Figure 8 These are diagrams used to explain electronic devices according to some example embodiments;

[0022] Figure 9 This is a diagram used to explain the sensing data according to some example embodiments;

[0023] Figure 10 These are diagrams used to explain electronic devices according to some example embodiments;

[0024] Figure 11 This is a flowchart used to explain the operation method of an electronic device according to some example embodiments;

[0025] Figure 12 These are diagrams used to explain electronic devices according to some example embodiments;

[0026] Figure 13A and Figure 13B These are diagrams used to explain electronic devices according to some example embodiments;

[0027] Figure 14 This is a flowchart explaining a method of operating an electronic device according to some example embodiments; and

[0028] Figure 15 This is a block diagram illustrating a computer system according to some example embodiments. Detailed Implementation

[0029] In the following description, some exemplary embodiments will be described in detail with reference to the accompanying drawings. When the description is given with reference to the accompanying drawings, the same or corresponding components may be given using the same reference numerals, and repeated descriptions thereof will be omitted.

[0030] It will be understood that an element and / or its properties may be described herein as “identical” or “equal” to other elements, and it will be further understood that an element and / or its properties described herein as “consistent,” “identical,” or “equal” to other elements may be “consistent,” “identical,” or “equal” to other elements and / or its properties. Element and / or its properties being “identical” or “equal” to other elements and / or its properties will be understood to include elements and / or its properties being consistent, identical, or equal to other elements and / or its properties within manufacturing tolerances and / or material tolerances (e.g., ±10%). Element and / or its properties being consistent, identical, and / or equal to other elements and / or its properties may be structurally identical or substantially identical, functionally identical or substantially identical, and / or compositionally identical or substantially identical.

[0031] As used herein, the term "when" can be interpreted as meaning "in response to". For example, if it is described that A is configured to execute X when B occurs, this can be interpreted as meaning that A is configured to execute X in response to the occurrence of B.

[0032] Figure 1 This is a diagram used to explain the electronic device 10 according to some example embodiments.

[0033] refer to Figure 1 The electronic device 10 may include an application processor 100, a first battery sensing circuit 200_1 to an Mth battery sensing circuit 200_M (where M is a natural number of 2 or greater), and a first battery 300_1 to an Mth battery 300_M.

[0034] In some example embodiments, the electronic device 10 may be implemented as various computing devices or mobile devices, such as mobile phones, smartphones, tablet PCs, personal digital assistants (PDAs), enterprise digital assistants (EDAs), portable multimedia players (PMPs), digital cameras, music players, portable game consoles, navigation devices, wearable devices, Internet of Things (IoT) devices, Internet of Everything (IoE) devices, e-books, virtual reality (VR) devices, and augmented reality (AR) devices, but the example embodiments are not limited thereto.

[0035] Application processor 100 may be implemented as a system-on-a-chip (SoC). Application processor 100 may include at least one of a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), an image signal processor (ISP), a neural processing unit (NPU), and a microcontroller unit (MCU), but the example embodiments are not limited thereto. In some example embodiments, the processing unit included in application processor 100 may be referred to as a processor.

[0036] Application processor 100 can run an operating system (OS) and various application software. Alternatively or additionally, application processor 100 may include or be connected to a memory interface, peripheral interface (e.g., universal serial bus (USB), display, camera, sensor, etc.), power management circuitry, or security module, thereby jointly controlling and managing electronic device 10.

[0037] In some example embodiments, the application processor 100 may operate in at least two operating modes, such as active mode or sleep mode, but the example embodiments are not limited thereto.

[0038] Active mode can refer to a state in which the main processor (CPU, GPU, DSP, NPU, etc.) and peripheral circuitry in application processor 100 are powered (or normally powered) and provided with clock signals, enabling the OS and applications to operate. In some example embodiments, when operating in active mode, application processor 100 is able to perform high-performance computing and can perform the main functions of the device in real time, such as user interface (UI) processing, network communication, and sensor data processing. When application processor 100 operates in active mode, most of the hardware constituting application processor 100 can operate to provide (or smoothly provide) user experience (UX) and multimedia functions to the user. In some example embodiments, the power consumed by application processor 100 when operating in active mode may be higher (or relatively higher) than when application processor 100 operates in sleep mode. In this document, active mode may be referred to as first mode or normal mode.

[0039] A sleep mode can refer to a state in which some or most of the circuitry of the application processor 100 is deactivated or the clock signal supply is blocked. In some example embodiments, when the application processor 100 operates in sleep mode, the clock signal applied to the main compute block, including the processor, may be stopped, or power to it may be cut off, thereby minimizing (or reducing) standby power. However, functions necessary (or used) to maintain system operation, such as battery status detection, alarms, real-time clock (RTC) signaling, sensor interrupts, and wireless communication packet reception, can be monitored and controlled via the active block 110. In some example embodiments, when user input (power button, touch event, etc.) or external events (timers, wireless signals, etc.) are detected in sleep mode, the application processor 100 can change its operating mode from sleep mode to active mode by reapplying power and clock signals. In this document, sleep mode may be referred to as a second mode or a low-power mode.

[0040] Application processor 100 may include active block 110 and main processor 120.

[0041] Active block 110 may refer to a hardware region, circuitry, or subsystem designed to maintain (or always maintain) certain functions (or core functions) such as power management, security, and system event handling within application processor 100. For example, active block 110 may continue to operate to perform, for example, power management functions, even when application processor 100 is operating in sleep mode. In some example embodiments, active block 110 may be referred to as an always-on block or an always-on domain.

[0042] In some example embodiments, even when the application processor 100 is operating in sleep mode, the active block 110 can receive sensing data from the first battery sensing circuit 200_1 to the Mth battery sensing circuit 200_M.

[0043] In some example embodiments, the active block 110 may include an auxiliary processor, and the auxiliary processor may have lower power consumption than the main processor 120.

[0044] Each of the first battery sensing circuits 200_1 to the Mth battery sensing circuits 200_M can be electrically connected to a corresponding battery in the first battery 300_1 to the Mth battery 300_M. The first battery 300_1 to the Mth battery 300_M can provide operating power for operating the electronic device 10 (or provide the power required or used for operating the electronic device 10). Figure 1The illustrated electronic device 10 includes multiple battery sensing circuits and multiple batteries, but the example embodiment is not limited thereto. For example, the electronic device 10 may include only one battery sensing circuit and only one battery. This will be referenced... Figure 2 Describe it.

[0045] In some example embodiments, the battery sensing circuit may be referred to as a fuel gauge chip, a power management integrated circuit (PMIC), or an interface PMIC (IF PMIC).

[0046] The first battery sensing circuit 200_1 to the Mth battery sensing circuit 200_M can sense the first battery 300_1 to the Mth battery 300_M. For example, the first battery sensing circuit 200_1 to the Mth battery sensing circuit 200_M can generate sensing data based on the values ​​(e.g., voltage) sensed from the first battery 300_1 to the Mth battery 300_M, and the generated sensing data can be provided to the application processor 100.

[0047] Application processor 100 can generate battery state information by calculating the battery state based on received sensing data. In some example embodiments, application processor 100 may use a fuel gauge (FG) algorithm to calculate the battery state.

[0048] The FG algorithm can refer to an algorithm used in real time to calculate state-of-charge information representing the amount of remaining energy in a battery, battery health information representing the degree of battery degradation, and internal short-circuit information indicating whether a short circuit exists within the battery. The FG algorithm can be implemented based on at least one of the equivalent circuit model (ECM) or the electrochemical thermal (ECT) model. An ECM model can refer to a model that uses an equivalent circuit including basic circuit elements such as resistors, capacitors, and voltage sources to simulate the electrical characteristics of a battery. An ECT model can refer to a model that simultaneously considers the electrochemical reactions and thermal characteristics (e.g., heat generation, heat distribution, etc.) within the battery.

[0049] For the energy management (or effective energy management) of electronic device 10, continuous monitoring of battery status may be beneficial (or necessary). However, when application processor 100 operates in sleep mode, the operation of main processor 120 is deactivated, making it difficult to monitor battery status, and consequently, the continuous generation of battery status information may be interrupted. By using activity block 110, electronic devices according to some example embodiments can continue to generate battery status information even when application processor 100 is operating in sleep mode.

[0050] Figure 2 This is a diagram used to explain the electronic device 20a according to some example embodiments. See also... Figure 1 To explain Figure 2Furthermore, redundant descriptions can be omitted.

[0051] refer to Figure 2 , Figure 2 The electronic device 20a can correspond to Figure 1 Electronic device 10. Electronic device 20a may include application processor 100a, battery sensing circuit 200 and battery 300. Battery 300 may provide power for operating electronic device 20a (or provide the power required or used for operating electronic device 20a) via operating voltage VSYS.

[0052] Application processor 100a may include active block 110. Active block 110 may include memory 111 and auxiliary processor 112.

[0053] The memory 111 can store sensing data SD. The sensing data SD can be data provided from the battery sensing circuit 200. (See reference...) Figure 3 Description stored Figure 2 The structure of the sensing data SD in the electronic device 20a.

[0054] The memory 111 can be hardware capable of storing information and accessible by the auxiliary processor 112. For example, the memory 111 may include read-only memory (ROM), random access memory (RAM), dynamic RAM (DRAM), double data rate DRAM (DDR DRAM), synchronous DRAM (SDRAM), static RAM (SRAM), magnetoresistive RAM (MRAM), programmable ROM (PROM), erasable PROM (EPROM), electrical EPROM, flash memory, polymer memory, phase change memory, ferroelectric memory, silicon oxide-nitride-oxide-silicon (SONOS) memory, magnetic card / disk, optical card / disk, or a combination of at least two of these, but the exemplary embodiments are not limited thereto.

[0055] The auxiliary processor 112 can read the sensing data SD stored in the memory 111. The auxiliary processor 112 can generate battery state information BSI by performing calculations using the FG algorithm based on the read sensing data SD. The battery state information BSI can be information representing the state of the battery 300 at the time when the battery sensing circuit 200 senses the battery 300.

[0056] Battery Status Information (BSI) may include various information indicating the state of the battery. In some example embodiments, BSI may include at least one of the following: state of charge information indicating the amount of remaining energy in the battery, state of battery health information indicating the degree of battery degradation, or internal short circuit information indicating whether a short circuit exists within the battery.

[0057] The battery sensing circuit 200 may include an analog-to-digital converter (ADC). The battery sensing circuit 200 may be electrically connected to the battery 300. The battery sensing circuit 200 can monitor the state of the battery 300 by periodically sensing the battery 300, for example, per second, but the example embodiments are not limited thereto. In some example embodiments, the period during which the battery sensing circuit 200 senses the battery 300 may be referred to as a reference period. The battery sensing circuit 200 can sense analog signals (e.g., voltage) from the battery 300, and can obtain the voltage, current, and temperature values ​​of the battery 300 by converting the analog signals into sensing data SD as digital values. Figure 5 A detailed description of how the battery sensing circuit 200 obtains the voltage, current, and temperature values ​​of the battery 300.

[0058] Application processor 100a may periodically receive sensing data SD from battery sensing circuit 200, for example, per second, but exemplary embodiments are not limited thereto. In some example embodiments, the period for receiving sensing data SD may be referred to as a reference period. In some example embodiments, battery sensing circuit 200 may provide sensing data SD to memory 111 in active block 110. Therefore, even when application processor 100a is operating in sleep mode, active block 110 may read sensing data SD stored in memory 111 via auxiliary processor 112 and may generate battery state information BSI.

[0059] In some example embodiments, the application processor 100a may communicate with the battery sensing circuit 200 via an inter-integrated circuit (I2C) protocol.

[0060] Figure 3 This is a diagram used to explain the sensing data SD according to some example embodiments. Figure 4 This is a diagram used to explain the battery sensing circuit 200 and battery 300 according to some example embodiments. Figure 5 This is a diagram used to explain the internal circuitry of a battery 300 according to some example embodiments. See also... Figure 1 and Figure 2 describe Figure 3 , Figure 4 and Figure 5 Furthermore, redundant descriptions can be omitted.

[0061] refer to Figure 3The sensed data SD may include a voltage value V_VAL, a current value I_VAL, and a temperature value T_VAL. Each of the voltage value V_VAL, the current value I_VAL, and the temperature value T_VAL may be a digital value comprising k bits (where k is a natural number of 2 or greater). For example, the voltage value V_VAL, the current value I_VAL, and the temperature value T_VAL may each be a 16-bit value, but the example embodiment is not limited thereto. For example, the voltage value V_VAL, the current value I_VAL, and the temperature value T_VAL may each have a bit value greater than or less than 16 bits.

[0062] The battery sensing circuit 200 can convert analog signals (e.g., voltage) measured from the battery 300 into digital values. The digital values ​​are sensing data SD, which can be provided to the active block 110.

[0063] refer to Figure 4 and Figure 5 The battery 300 may include a current sensing resistor 310, a battery cell 320, and a voltage divider circuit 330. The voltage divider circuit 330 may include a reference resistor 331 and a thermistor 332.

[0064] Here, when the battery sensing circuit 200 senses the battery 300, it can mean that the battery sensing circuit 200 measures the voltage at the two ends of each of the current sensing resistor 310 included in the battery 300, the battery cell 320, and the thermistor 332 included in the voltage divider circuit 330.

[0065] The operating voltage VSYS used to operate application processor 100a (or required to operate application processor 100a) can be output via the first terminal of current sensing resistor 310. The first terminal of current sensing resistor 310 can be electrically connected to application processor 100a. The second terminal of current sensing resistor 310 can be electrically connected to battery cell 320. Each of the first and second terminals of current sensing resistor 310 can be electrically connected to ADC 210. The voltage difference between the first and second terminals of current sensing resistor 310 can be referred to as a first two-terminal voltage VD1. ADC 210 can convert the first two-terminal voltage VD1 into a digital value. Battery sensing circuit 200 can generate a current value I_VAL based on the digital value corresponding to the first two-terminal voltage VD1. The current value I_VAL can be a value corresponding to the current of battery 300 (e.g., the output current of battery 300).

[0066] A first terminal of battery cell 320 can be electrically connected to current sensing resistor 310. A second terminal of battery cell 320 can be electrically connected to ADC 210. Each of the first and second terminals of battery cell 320 can be electrically connected to ADC 210. The voltage difference between the first and second terminals of battery cell 320 can be referred to as a second two-terminal voltage VD2. ADC 210 can convert the second two-terminal voltage VD2 into a digital value. Battery sensing circuit 200 can generate a voltage value V_VAL based on the digital value corresponding to the second two-terminal voltage VD2. The voltage value V_VAL can be a value corresponding to the voltage of battery 300 (e.g., the output voltage of battery 300).

[0067] Thermistor 332 may be a component whose resistance value changes according to the temperature of battery 300. In some example embodiments, thermistor 332 may be a negative temperature coefficient (NTC) thermistor. An NTC thermistor may have the characteristic that its resistance decreases as the temperature increases. Here, the description is provided assuming that thermistor 332 is an NTC thermistor, but the example embodiments are not limited thereto. For example, thermistor 332 may be a positive temperature coefficient (PTC) thermistor.

[0068] A power supply voltage VDD can be applied to the first terminal of reference resistor 331. The second terminal of reference resistor 331 can be electrically connected to the first terminal of thermistor 332. The first and second terminals of thermistor 332 can be electrically connected to ADC 210. The first terminal of thermistor 332 can be electrically connected to the second terminal of reference resistor 331. The second terminal of thermistor 332 can be electrically connected to a ground node. In some example embodiments, the power supply voltage VDD can be a voltage generated by a PMIC located in electronic device 20a. The power supply voltage VDD can be different from the operating voltage VSYS.

[0069] The voltage difference between the first and second terminals of the thermistor 332 can be referred to as the third dual-terminal voltage VD3. The ADC 210 can convert the third dual-terminal voltage VD3 into a digital value. The battery sensing circuit 200 can generate a temperature value T_VAL based on the digital value corresponding to the third dual-terminal voltage VD3. The temperature value T_VAL can be a value corresponding to the temperature of the battery 300.

[0070] Figure 6 This is a diagram used to explain the electronic device 20b according to some example embodiments. See also... Figure 1 and Figure 2 To explain Figure 6 Furthermore, redundant descriptions can be omitted.

[0071] refer to Figure 6 , Figure 6The electronic device 20b can correspond to Figure 1 Electronic device 10. Figure 6 The electronic device 20b can be similar to Figure 2 The electronic device 20a is configured, but with Figure 2 The electronic device 20a is different. Figure 6 The electronic device 20b may include multiple batteries. Figure 6 The electronic device 20b shown includes two batteries, for example, a first battery 300_1 and a second battery 300_2, but the example embodiment is not limited thereto.

[0072] The electronic device 20b may include an application processor 100a, a first battery sensing circuit 200_1, a second battery sensing circuit 200_2, a first battery 300_1, and a second battery 300_2.

[0073] Each of the first battery 300_1 and the second battery 300_2 can provide power for operating the electronic device 20b via the operating voltage VSYS (or can provide the power used or required for operating the electronic device 20b).

[0074] The first battery sensing circuit 200_1 may be electrically connected to the first battery 300_1. The first battery sensing circuit 200_1 may include a first ADC 210_1. The first battery sensing circuit 200_1 may provide the memory 111 with first battery sensing data SD_B1 corresponding to the first battery 300_1 by periodically sensing the first battery 300_1 via the first ADC 210_1.

[0075] The second battery sensing circuit 200_2 can be electrically connected to the second battery 300_2. The second battery sensing circuit 200_2 may include a second ADC 210_2. The second battery sensing circuit 200_2 can periodically sense the second battery 300_2 via the second ADC 210_2 to provide the memory 111 with second battery sensing data SD_B2 corresponding to the second battery 300_2.

[0076] In some example embodiments, each of the first battery sensing data SD_B1 and the second battery sensing data SD_B2 may have the same characteristics as... Figure 3 The sensing data SD shown has the same structure.

[0077] In some example embodiments, the first battery sensing data SD_B1 and the second battery sensing data SD_B2 can be provided to the application processor 100a via the same input / output pin located in the application processor 100a. Communication between the application processor 100a and each of the first battery sensing circuit 200_1 and the second battery sensing circuit 200_2 can follow the I2C protocol.

[0078] The auxiliary processor 112 can read first battery sensing data SD_B1 and second battery sensing data SD_B2 stored in memory 111. The auxiliary processor 112 can generate first battery state information BSI1 representing the state of the first battery 300_1 by performing calculations using the FG algorithm based on the read first battery sensing data SD_B1. Alternatively or additionally, the auxiliary processor 112 can generate second battery state information BSI2 representing the state of the second battery 300_2 by performing calculations using the FG algorithm based on the read second battery sensing data SD_B2.

[0079] Figure 7 This is a flowchart used to explain the operation method of an electronic device according to some example embodiments. Figure 7 It can be used for explanation Figure 2 Electronic device 20a and Figure 6 A flowchart of the operation method of the electronic device 20b is provided below. The following mainly describes... Figure 2 The operation of the electronic device 20a is understandable. Figure 6 The electronic device 20b can operate in the same (or similar) manner. See reference... Figure 1 , Figure 2 and Figure 6 To explain Figure 7 Furthermore, redundant descriptions can be omitted.

[0080] refer to Figure 7 In operation S110, electronic device 20a can sense battery 300 via battery sensing circuit 200. Electronic device 20a can generate sensing data SD based on the sensing results.

[0081] In some example embodiments, the battery sensing circuit 200 can sense a first two-terminal voltage VD1, which is the voltage (or multiple voltages) sensed at the two terminals of the current sensing resistor 310 of the battery 300, and can generate a current value I_VAL based on the first two-terminal voltage VD1.

[0082] In some example embodiments, the battery sensing circuit 200 can sense a second dual-terminal voltage VD2, which is a voltage (or multiple voltages) sensed at the two terminals of the battery cell 320 of the battery 300, and can generate a voltage value V_VAL based on the second dual-terminal voltage VD2.

[0083] In some example embodiments, the battery sensing circuit 200 can sense a third dual-terminal voltage VD3, which is the voltage (or multiple voltages) sensed at the two terminals of the thermistor 332 of the battery 300, and can generate a temperature value T_VAL based on the third dual-terminal voltage VD3.

[0084] In operation S120, electronic device 20a can receive sensing data SD from battery sensing circuit 200 via active block 110. Electronic device 20a can store the sensing data SD in memory 111.

[0085] In operation S130, electronic device 20a can read sensing data SD stored in memory 111 via auxiliary processor 112 by accessing memory 111. Electronic device 20a can generate battery status information BSI based on the sensing data SD read via auxiliary processor 112.

[0086] In some example embodiments, when the auxiliary processor 112 generates battery state information (BSI), it may mean that the auxiliary processor 112 generates the battery state information BSI by performing calculations using the FG algorithm based on sense data SD.

[0087] In operation S140, the electronic device 20a can update the battery state of the electronic device 20a (e.g., the amount of remaining energy in the battery, the degree of battery degradation, and whether there is a short circuit inside the battery) based on the battery state information BSI.

[0088] In some example embodiments, the electronic device 20a may also include a display device (such as a monitor). The battery status can be displayed on the display device (such as a monitor) included in the electronic device 20a so that it is visually identifiable by the user.

[0089] In some example embodiments, the electronic device 20a may periodically (e.g., in each reference cycle) perform operations S110 to S140.

[0090] Figure 8 This is a diagram used to explain the electronic device 30a according to some example embodiments. See also... Figure 1 To explain Figure 8 Furthermore, redundant descriptions can be omitted.

[0091] refer to Figure 8 , Figure 8 The electronic device 30a can correspond to Figure 1 Electronic device 10. Electronic device 30a may include application processor 100b, battery sensing circuit 200 and battery 300. Battery 300 may provide power for operating electronic device 30a (or the power used or required for operating electronic device 30a) via operating voltage VSYS.

[0092] Application processor 100b may include active block 110 and main processor 120. Active block 110 may include memory 111 and auxiliary processor 112.

[0093] Memory 111 can store a group of sensing data SDG. The group of sensing data SDG can include first sensing data SD_1 to Nth sensing data SD_N (where N is a natural number of 2 or greater). The first sensing data SD_1 to Nth sensing data SD_N can be data provided from the battery sensing circuit 200. (Refer to...) Figure 9 Description stored Figure 8 The structure of the first sensing data SD_1 to the Nth sensing data SD_N in the electronic device 30a.

[0094] Electronic device 30a can provide sensing data SD to active block 110 regardless of the operating mode of application processor 100b, and active block 110 can store the received sensing data SD in memory 111.

[0095] In some example embodiments, when the application processor 100b is in active mode, the battery sensing circuit 200 can provide sensing data SD to the active block 110.

[0096] In some example embodiments, when the application processor 100b is in sleep mode, the battery sensing circuit 200 can provide sensing data SD to the active block 110.

[0097] When the auxiliary processor 112 writes the sensing data SD received from the battery sensing circuit 200 into the memory 111, the sensing data SD can be stored in the memory 111.

[0098] In some example embodiments, the battery sensing circuit 200 can sense the battery 300 in each reference cycle (e.g., per second), and the active block 110 can receive sensing data SD from the battery sensing circuit 200 in each reference cycle and can store the received sensing data SD. For example, the sensing data SD generated by the battery sensing circuit 200 sensing the battery 300 at a first time point can be stored in the memory 111 as first sensing data SD_1. Alternatively or additionally, for example, the sensing data SD generated by the battery sensing circuit 200 sensing the battery 300 at a second time point can be stored in the memory 111 as second sensing data SD_2. Alternatively or additionally, for example, the sensing data SD generated by the battery sensing circuit 200 sensing the battery 300 at the Nth time point can be stored in the memory 111 as Nth sensing data SD_N.

[0099] When the application processor 100b is operating in active mode, the main processor 120 can read the sensing data group SDG stored in the memory 111.

[0100] In some example embodiments, the main processor 120 may read the sensing data group SDG from the memory 111 and initialize the memory 111. Alternatively, the main processor 120 may initialize the memory 111 by erasing the sensing data group SDG stored in the memory 111. Alternatively, the main processor 120 may initialize the memory 111 after reading the sensing data group SDG from the memory.

[0101] In some example embodiments, the auxiliary processor 112 may not be deactivated (e.g., it may be active) even when the application processor 100b is operating in sleep mode. The main processor 120 may be deactivated when the application processor 100b is operating in sleep mode.

[0102] The main processor 120 can generate accumulated battery state information (ABSI) by performing calculations based on the sensing data group SDG using the FG algorithm. The accumulated battery state information (ABSI) can be information that cumulatively includes battery state information from each time point from a first time point to a Nth time point.

[0103] In some example embodiments, the accumulated battery state information (ABSI) generated by the main processor 120 of the electronic device 30a can be simply referred to as battery state information.

[0104] In some example embodiments, the application processor 100b may communicate with the battery sensing circuit 200 via the I2C protocol.

[0105] In some example embodiments, when the application processor 100b is in sleep mode, the electronic device 30a can store the results of sensing the battery 300 via the active block 110, and when the application processor 100b is in active mode, the electronic device 30a can generate accumulated battery state information (ABSI) based on the sensing data group SDG stored in the active block 110 when the application processor 100b is operating in sleep mode. Therefore, the electronic device 30a can maintain an indication of the state of the battery 300.

[0106] Figure 9 This is a diagram used to explain the sensed data SD according to some example embodiments. See also... Figure 1 , Figure 3 and Figure 8 To explain Figure 9 Furthermore, redundant descriptions can be omitted.

[0107] refer to Figure 9 Each of the first sensing data SD_1 to the Nth sensing data SD_N can have the same characteristics as... Figure 3 The sensing data has the same structure as SD.

[0108] In some example embodiments, the first sensing data SD_1 may include values ​​obtained by sensing the battery 300 at a first time point. For example, the first sensing data SD_1 may include a first voltage value V_VAL1 representing the voltage of the battery 300 at the first time point, a first current value I_VAL1 representing the current of the battery 300 at the first time point, and a first temperature value T_VAL1 representing the temperature of the battery 300 at the first time point. Similarly, the second sensing data SD_2 may include values ​​obtained by sensing the battery 300 at a second time point, and the Nth sensing data SD_N may include values ​​obtained by sensing the battery 300 at the Nth time point.

[0109] Figure 10 This is a diagram used to explain the electronic device 30b according to some example embodiments. See also... Figure 1 , Figure 8 and Figure 9 To explain Figure 10 Furthermore, redundant descriptions can be omitted.

[0110] refer to Figure 10 , Figure 10 The electronic device 30b can correspond to Figure 1 Electronic device 10. Figure 10 The electronic device 30b can be similar to Figure 8 The electronic device 30a is configured, but with Figure 8 The electronic device 30a is different. Figure 10 The electronic device 30b may include multiple batteries. Figure 10The electronic device 30b is shown to include two batteries, for example, a first battery 300_1 and a second battery 300_2, but the example embodiment is not limited thereto.

[0111] The electronic device 30b may include an application processor 100b, a first battery sensing circuit 200_1, a second battery sensing circuit 200_2, a first battery 300_1, and a second battery 300_2.

[0112] Each of the first battery 300_1 and the second battery 300_2 can be provided with power for operating the electronic device 30b via the operating voltage VSYS (or provide the power used or required for operating the electronic device 30b).

[0113] The first battery sensing circuit 200_1 can be electrically connected to the first battery 300_1. The first battery sensing circuit 200_1 may include a first ADC 210_1. The first battery sensing circuit 200_1 can provide the active block 110 with first battery sensing data SD_B1 corresponding to the first battery 300_1 by periodically sensing the first battery 300_1 via the first ADC 210_1.

[0114] The second battery sensing circuit 200_2 can be electrically connected to the second battery 300_2. The second battery sensing circuit 200_2 may include a second ADC 210_2. The second battery sensing circuit 200_2 can provide the active block 110 with second battery sensing data SD_B2 corresponding to the second battery 300_2 by periodically sensing the second battery 300_2 via the second ADC 210_2.

[0115] In some example embodiments, each of the first battery sensing data SD_B1 and the second battery sensing data SD_B2 may have the same characteristics as... Figure 3 The sensing data SD shown has the same structure.

[0116] In some example embodiments, the first battery sensing data SD_B1 and the second battery sensing data SD_B2 can be provided to the application processor 100b via the same input / output pin located in the application processor 100b. Communication between the application processor 100b and each of the first battery sensing circuit 200_1 and the second battery sensing circuit 200_2 can follow the I2C protocol.

[0117] Regardless of whether the application processor 100b is in active mode or sleep mode, the active block 110 can store the first battery sensing data SD_B1 and the second battery sensing data SD_B2 received from the first battery sensing circuit 200_1 and the second battery sensing circuit 200_2, respectively, in the memory 111.

[0118] In some example embodiments, when the application processor 100b operates in active mode, the main processor 120 can read the first battery sensing data group SDG_B1 and the second battery sensing data group SDG_B2 stored in the memory 111. Each of the first battery sensing data group SDG_B1 and the second battery sensing data group SDG_B2 can correspond to Figure 9 The sensor data group SDG is shown in the diagram. Here, the first battery sensor data group SDG_B1 can refer to the set of first battery sensor data SD_B1 measured according to a reference period. The second battery sensor data group SDG_B2 can refer to the set of second battery sensor data SD_B2 measured according to a reference period.

[0119] The main processor 120 can generate first accumulated battery state information ABSI1, representing the state of the first battery 300_1 from a first time point to the Nth time point, by performing calculations using the FG algorithm based on the read first battery sensing data group SDG_B1. The main processor 120 can also generate second accumulated battery state information ABSI2, representing the state of the second battery 300_2 from the first time point to the Nth time point, by performing calculations using the FG algorithm based on the read second battery sensing data group SDG_B2.

[0120] Figure 11 This is a flowchart used to explain the operation method of an electronic device according to some example embodiments. Figure 11 It can be used for explanation Figure 8 Electronic device 30a and Figure 10 A flowchart of the operation method of the electronic device 30b is provided below. The following mainly describes... Figure 8 The operation of the electronic device 30a is understandable. Figure 10 The electronic device 30b can operate in the same (or similar) manner. See reference... Figure 1 , Figure 8 and Figure 10 To explain Figure 11 Furthermore, redundant descriptions can be omitted.

[0121] refer to Figure 11 In operation S210, electronic device 30a can sense battery 300 via battery sensing circuit 200. Battery sensing circuit 200 can generate sensing data SD based on the sensing result. Active block 110 can receive sensing data SD from battery sensing circuit 200.

[0122] In operation S220, electronic device 30a can write sensing data SD received from battery sensing circuit 200 to memory 111 via auxiliary processor 112 of active block 110.

[0123] In some example embodiments, regardless of whether the application processor 100b is in active or sleep mode, the active block 110 can store the sensing data SD in the memory 111.

[0124] In some example embodiments, the activity block 110 may periodically (e.g., in each reference cycle) perform operations S210 and S220.

[0125] In operation S230, when the application processor 100b is in sleep mode, the main processor 120 of the electronic device 30a can remain in standby mode without performing subsequent operations. In other words, the main processor 120 can remain in standby mode without performing any operations after operation S230, until the application processor 100b changes to active mode.

[0126] In some example embodiments, when the application processor 100b is in sleep mode, the main processor 120 may be inactive.

[0127] In some example embodiments, when the application processor 100b is in sleep mode, operations S210 and S220 may be repeated only periodically.

[0128] In operation S240, when the operating mode of application processor 100b is active mode as determined in operation S230, main processor 120 can read sensing data group SDG from memory 111.

[0129] In some example embodiments, the main processor 120 may read the sensing data group SDG from the memory 111 and initialize the memory 111. Alternatively, the main processor 120 may initialize the memory 111 by erasing the sensing data group SDG stored in the memory 111. Alternatively, the main processor 120 may initialize the memory 111 after reading the sensing data group SDG from the memory.

[0130] In operation S250, the main processor 120 can generate accumulated battery state information (ABSI) based on the read sensor data group SDG.

[0131] In operation S260, the electronic device 30a can update the battery state of the electronic device 30a (e.g., the amount of remaining energy in the battery, the degree of battery degradation, and whether there is a short circuit inside the battery) based on the accumulated battery state information ABSI.

[0132] In some example embodiments, the electronic device 30a may also include a display device (such as a monitor). The battery status can be displayed on the display device (such as a monitor) included in the electronic device 30a so that it is visually identifiable by a user.

[0133] In some example embodiments, the electronic device 30a may periodically (e.g., in each reference cycle) perform operations S230 to S260.

[0134] Figure 12 This is a diagram used to explain the electronic device 40a according to some example embodiments. See also... Figure 1 explain Figure 12 Furthermore, redundant descriptions can be omitted.

[0135] refer to Figure 12 , Figure 12 The electronic device 40a can correspond to Figure 1 Electronic device 10. Electronic device 40a may include application processor 100c, battery sensing circuit 200 and battery 300. Battery 300 may be provided with power for operating electronic device 40a (or the power used or required for operating electronic device 40a) via operating voltage VSYS.

[0136] Application processor 100c may include active block 110 and main processor 120. Active block 110 may include memory 111 and auxiliary processor 112.

[0137] The memory 111 can store a group of sensing data SDG. The group of sensing data SDG can include first sensing data SD_1 to Nth sensing data SD_N (where N is a natural number of 2 or greater). The first sensing data SD_1 to Nth sensing data SD_N can be data provided from the battery sensing circuit 200.

[0138] In some example embodiments, when the application processor 100c is in sleep mode, the electronic device 40a can store the sensing data SD in the memory 111. In some example embodiments, when the application processor 100c is in active mode, the electronic device 40a can process the sensing data SD via the main processor 120.

[0139] In some example embodiments, when the application processor 100c is in sleep mode, the battery sensing circuit 200 can provide sensing data SD to the active block 110. The active block 110 can store the received sensing data SD in the memory 111.

[0140] In some example embodiments, when the application processor 100c is in active mode, the battery sensing circuit 200 can provide sensing data SD to the main processor 120.

[0141] When the auxiliary processor 112 writes the sensing data SD received from the battery sensing circuit 200 into the memory 111, the sensing data SD can be stored in the memory 111.

[0142] In some example embodiments, the battery sensing circuit 200 can sense the battery 300 in each reference cycle (e.g., per second), and the active block 110 can receive sensing data SD from the battery sensing circuit 200 in each reference cycle and can store the received sensing data SD.

[0143] In some example embodiments, when the operating mode of the application processor 100c changes from sleep mode to active mode, the main processor 120 can read the sensing data group SDG stored in the memory 111.

[0144] In some example embodiments, the main processor 120 may read the sensing data group SDG from the memory 111 and initialize the memory 111. Alternatively, the main processor 120 may initialize the memory 111 by erasing the sensing data group SDG stored in the memory 111. Alternatively, the main processor 120 may initialize the memory 111 after reading the sensing data group SDG from the memory.

[0145] In some example embodiments, the auxiliary processor 112 may not be deactivated (e.g., it may be active) even when the application processor 100c is operating in sleep mode. The main processor 120 may be deactivated when the application processor 100c is operating in sleep mode.

[0146] The main processor 120 can generate accumulated battery state information (ABSI) by performing calculations based on the sensing data group SDG using the FG algorithm. The accumulated battery state information (ABSI) can be information that cumulatively includes battery state information from each time point from a first time point to a Nth time point.

[0147] In some example embodiments, when the application processor 100c is in an active mode (e.g., the operating mode remains active after changing from sleep mode to active mode), the battery sensing circuit 200 can provide sensing data SD to the main processor 120. The main processor 120 can generate battery state information BSI by performing calculations using the FG algorithm based on the sensing data SD received from the battery sensing circuit 200. The battery state information BSI can be information representing the state of the battery 300 at a point in time when the battery sensing circuit 200 senses the battery 300. Therefore, the electronic device 40a can maintain an indication of the state of the battery 300.

[0148] In some example embodiments, the application processor 100c can communicate with the battery sensing circuit 200 via the I2C protocol. In some example embodiments, the signal line through which it provides sensing data SD can be branched within the application processor 100c into a signal line connected to the active block 110 and a signal line connected to the main processor 120.

[0149] Figure 13A and Figure 13B This is a diagram used to explain the electronic device 40b according to some example embodiments. See also... Figure 1 and Figure 12 To explain Figure 13A and Figure 13B Furthermore, redundant descriptions can be omitted.

[0150] refer to Figure 13A , Figure 13A The electronic device 40b can correspond to Figure 1 Electronic device 10. Figure 13A The electronic device 40b can be similar to Figure 12 The electronic device 40a is configured, but with Figure 12 The electronic device 40a is different. Figure 13A The electronic device 40b may include multiple batteries. Figure 13A The electronic device 40b shown includes two batteries, for example, a first battery 300_1 and a second battery 300_2, but the example embodiment is not limited thereto.

[0151] The electronic device 40b may include an application processor 100c, a first battery sensing circuit 200_1, a second battery sensing circuit 200_2, a first battery 300_1, and a second battery 300_2.

[0152] Each of the first battery 300_1 and the second battery 300_2 can be provided with power for operating the electronic device 40b via the operating voltage VSYS (or the power used or required by operating the electronic device 40b).

[0153] The first battery sensing circuit 200_1 may be electrically connected to the first battery 300_1. The first battery sensing circuit 200_1 may include a first ADC 210_1. The first battery sensing circuit 200_1 may provide first battery sensing data SD_B1 corresponding to the first battery 300_1 to the active block 110 or the main processor 120 by periodically sensing the first battery 300_1 via the first ADC 210_1.

[0154] The second battery sensing circuit 200_2 can be electrically connected to the second battery 300_2. The second battery sensing circuit 200_2 may include a second ADC 210_2. The second battery sensing circuit 200_2 can periodically sense the second battery 300_2 via the second ADC 210_2 to provide the active block 110 or the main processor 120 with second battery sensing data SD_B2 corresponding to the second battery 300_2.

[0155] In some example embodiments, each of the first battery sensing data SD_B1 and the second battery sensing data SD_B2 may have the same characteristics as... Figure 3 The sensing data SD shown has the same structure.

[0156] In some example embodiments, the first battery sensing data SD_B1 and the second battery sensing data SD_B2 can be provided to the application processor 100c via the same input / output pin located in the application processor 100c. Communication between the application processor 100c and each of the first battery sensing circuit 200_1 and the second battery sensing circuit 200_2 can follow the I2C protocol. In some example embodiments, the signal line providing the first battery sensing data SD_B1 and the signal line providing the second battery sensing data SD_B2 can be connected as a single signal line external to the application processor 100c. The signal line in the application processor 100c can be branched into signal lines connected to the active block 110 and signal lines connected to the main processor 120.

[0157] In some example embodiments, when the application processor 100c is in sleep mode, the first battery sensing circuit 200_1 can provide first battery sensing data SD_B1 to the active block 110, and the second battery sensing circuit 200_2 can provide second battery sensing data SD_B2 to the active block 110. The active block 110 can store the received first battery sensing data SD_B1 and the received second battery sensing data SD_B2 in the memory 111.

[0158] In some example embodiments, when the operating mode of the application processor 100c changes from sleep mode to active mode, the main processor 120 can read the first battery sensing data group SDG_B1 and the second battery sensing data group SDG_B2 stored in the memory 111.

[0159] Each of the first battery sensing data group SDG_B1 and the second battery sensing data group SDG_B2 can correspond to Figure 9 The sensor data group SD_G is shown in the figure.

[0160] The main processor 120 can generate first accumulated battery state information ABSI1, representing the state of the first battery 300_1 from a first time point to the Nth time point, by performing calculations using the FG algorithm based on the read first battery sensing data group SDG_B1. The main processor 120 can also generate second accumulated battery state information ABSI2, representing the state of the second battery 300_2 from the first time point to the Nth time point, by performing calculations using the FG algorithm based on the read second battery sensing data group SDG_B2.

[0161] In some example embodiments, when the application processor 100c is in active mode, the first battery sensing circuit 200_1 can provide first battery sensing data SD_B1 to the main processor 120, and the second battery sensing circuit 200_2 can provide second battery sensing data SD_B2 to the main processor 120.

[0162] The main processor 120 can generate first battery state information BSI1 by performing calculations using the FG algorithm based on first battery sensing data SD_B1 received from the first battery sensing circuit 200_1. In some example embodiments, the first battery state information BSI1 may be information representing the state of the first battery 300_1 at the time when the first battery sensing circuit 200_1 senses the first battery 300_1.

[0163] The main processor 120 can generate second battery state information BSI2 by performing calculations using the FG algorithm based on second battery sensing data SD_B2 received from the second battery sensing circuit 200_2. In some example embodiments, the second battery state information BSI2 may be information representing the state of the second battery 300_2 at a point in time when the second battery sensing circuit 200_2 senses the second battery 300_2.

[0164] refer to Figure 13B , Figure 13B The electronic device 40c can correspond to Figure 13A Electronic device 40b. However, Figure 13B The application processor 100c can receive first battery sensing data SD_B1 and second battery sensing data SD_B2 via different input / output pins. Communication between the application processor 100c and each of the first battery sensing circuit 200_1 and the second battery sensing circuit 200_2 can follow the I2C protocol.

[0165] In some example embodiments, the first battery sensing data SD_B1 and the second battery sensing data SD_B2 can be provided to the application processor 100c via different input / output pins provided in the application processor 100c. For example, the first battery sensing data SD_B1 can be provided to the application processor 100c via a first input / output pin provided in the application processor 100c. The second battery sensing data SD_B2 can be provided to the application processor 100c via a second input / output pin provided in the application processor 100c.

[0166] The signal line that provides the first battery sensing data SD_B1 can be branched within the application processor 100c into a signal line connected to the active block 110 and a signal line connected to the main processor 120.

[0167] The signal line that provides the second battery sensing data SD_B2 can be branched within the application processor 100c into a signal line connected to the active block 110 and a signal line connected to the main processor 120.

[0168] Figure 14 This is a flowchart used to explain the operation method of an electronic device according to some example embodiments. Figure 14 It can be used for explanation Figure 12 Electronic device 40a, Figure 13A Electronic device 40b and Figure 13B A flowchart of the operation method of the electronic device 40c. The following mainly describes... Figure 12 The operation of the electronic device 40a is understandable. Figure 13A Electronic device 40b and Figure 13B The electronic device 40c can operate in the same (or similar) manner. See reference... Figure 1 , Figure 12 and Figures 13A to 13B To explain Figure 14 Furthermore, redundant descriptions can be omitted.

[0169] refer to Figure 14 In operation S310, electronic device 40a can determine whether the operating mode of application processor 100c is sleep mode via active block 110.

[0170] In operation S320, electronic device 40a can sense battery 300 via battery sensing circuit 200. Battery sensing circuit 200 can generate sensing data SD based on the sensing result. As a result of the determination in operation S310, when it is determined that the operating mode of application processor 100c is sleep mode, active block 110 can receive sensing data SD from battery sensing circuit 200.

[0171] In some example embodiments, when the active block 110 receives sensing data SD from the battery sensing circuit 200, the main processor 120 may not receive sensing data SD from the battery sensing circuit 200.

[0172] In operation S330, electronic device 40a can write sensing data SD received from battery sensing circuit 200 to memory 111 via auxiliary processor 112 of active block 110.

[0173] In some example embodiments, when the application processor 100c is in sleep mode, the active block 110 may periodically (e.g., in each reference cycle) execute operations S320 and S330.

[0174] In operation S340, when the operating mode of the application processor 100c is sleep mode, the main processor 120 of the electronic device 40a can standby without performing subsequent operations.

[0175] In some example embodiments, when the application processor 100c is in sleep mode, the main processor 120 may be inactive.

[0176] In some example embodiments, when the application processor 100c is in sleep mode, the electronic device 40a may periodically repeat only operations S320 and S330.

[0177] In operation S350, when the operating mode of application processor 100c is sleep mode as determined in operation S340, the main processor 120 of electronic device 40a can standby without performing subsequent operations until the operating mode of application processor 100c changes to active mode.

[0178] In operation S360, when the operating mode of application processor 100c changes from sleep mode to active mode as a result of the determination in operation S350, main processor 120 can read sensing data group SDG from memory 111.

[0179] In some example embodiments, when the main processor 120 performs operation S360, operation S370 may be omitted, and the main processor 120 may then perform operations S380 and S390.

[0180] In some example embodiments, the main processor 120 may read the sensing data group SDG from the memory 111 and initialize the memory 111. Alternatively, the main processor 120 may initialize the memory 111 by erasing the sensing data group SDG stored in the memory 111. Alternatively, the main processor 120 may initialize the memory 111 after reading the sensing data group SDG from the memory.

[0181] In operation S370, when the operating mode of application processor 100c is active mode as a result of the determination in operation S340, main processor 120 can receive sensing data SD from battery sensing circuit 200.

[0182] In some example embodiments, when the main processor 120 receives sensing data SD from the battery sensing circuit 200, the active block 110 may not receive sensing data SD from the battery sensing circuit 200.

[0183] In operation S380, the main processor 120 may generate accumulated battery state information (ABSI) based on the sensing data group SDG read according to operation S360. Alternatively or additionally, the main processor 120 may generate battery state information (BSI) based on the sensing data SD received from the battery sensing circuit 200 according to operation S370.

[0184] In operation S390, the electronic device 40a can update the battery state of the electronic device 40a (e.g., the amount of remaining energy in the battery, the degree of battery degradation, and whether there is a short circuit inside the battery) based on the accumulated battery state information ABSI.

[0185] In some example embodiments, the electronic device 40a may also include a display device (such as a monitor). The battery status can be displayed on the display device (such as a monitor) included in the electronic device 40a so that it is visually identifiable by a user.

[0186] In some example embodiments, the electronic device 40a may periodically (e.g., in each reference cycle) perform operations S340 to S390.

[0187] Figure 15 This is a block diagram illustrating a system 1000 according to some example embodiments.

[0188] refer to Figure 15 System 1000 may correspond to the electronic device 10 described with reference to the accompanying drawings. System 1000 may refer to any system including general-purpose or special-purpose computing systems. For example, system 1000 may include a PC, server computer, laptop computer, home appliance, etc. Figure 15 As shown, system 1000 may include at least one processor 1100, network adapter 1200, memory 1300, input / output (I / O) interface 1400, storage device 1500, display 1600, mobile block 1700 and battery 1800.

[0189] At least one processor 1100 can execute program modules including computer system executable instructions. Program modules may include routines, programs, objects, components, logic, data structures, etc., that perform specific tasks or implement specific abstract data types. Memory 1300 may include computer system readable media in the form of volatile memory, such as RAM. At least one processor 1100 can access memory 1300 and can execute instructions loaded in memory 1300. Storage device 1500 may be a non-volatile storage system and may store information in a non-volatile storage device. In some example embodiments, storage device 1500 may include at least one program product comprising training of a machine learning model configured to perform layout simulations described above with reference to the accompanying drawings. As a non-limiting example, a program may include an OS, at least one application, other program modules, and program data.

[0190] Network adapter 1200 provides access to a local area network (LAN), wide area network (WAN), and / or public network (e.g., the Internet). Input / output (I / O) interface 1400 provides a communication channel with peripheral devices such as keyboards, pointing devices, and audio systems. Display 1600 can output various information for user inspection.

[0191] The active block 1700 can be a hardware component that operates (or always operates) even when the system 1000 is operating in sleep mode.

[0192] Battery 1800 can be configured to supply operating power to system 1000. Although Figure 15 Only one battery is shown (e.g., battery 1800), but the example embodiment is not limited to this. For example, system 1000 may include two or more batteries.

[0193] In some example embodiments, the method of operating the electronic device can be implemented in a computer program product. The computer program product may include a non-transitory computer-readable medium (or storage medium) comprising computer-readable program instructions for causing at least one processor 1100 to generate state information of the battery 1800. As a non-limiting example, the computer-readable instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, configuration data, or source code or object code written in at least one programming language.

[0194] Computer-readable media can be any type of medium capable of non-transitory retention and storage of instructions executable by at least one processor 1100 or any instruction-executable device. Computer-readable media can be, but is not limited to, electronic storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any combination thereof. For example, computer-readable media can be mechanical encoding devices such as portable computer floppy disks, hard disks, RAM, ROM, electrically erasable programmable ROM (EEPROM), flash memory, SRAM, CDs, DVDs, memory sticks, floppy disks, punch cards, or any combination thereof.

[0195] Some exemplary embodiments of the inventive concept provide a method of operating an electronic device, the method including sensing a battery via a battery sensing circuit, receiving sensing data from the battery sensing circuit, generating battery state information based on the sensing data, and updating the battery state based on the battery state information.

[0196] In some example embodiments, in the method of operating an electronic device, sensing the battery includes generating sensing data based on the sensing results.

[0197] In some example embodiments, in the operation method of the electronic device, the sensing result includes at least one of the battery current value, battery voltage value, or battery temperature value.

[0198] In some example embodiments, the method of operating the electronic device further includes storing the sensed data in the memory of the electronic device, and receiving the sensed data by the electronic device via an active block.

[0199] In some example embodiments, the method of operating the electronic device further includes reading sensing data via an auxiliary processor and generating battery status information based on the reading of the sensing data.

[0200] In some example embodiments, the operation method of the electronic device is performed periodically during a specific reference period.

[0201] One or more of the elements disclosed above may include or be implemented in one or more processing circuits, such as hardware including logic circuits; hardware / software combinations, such as a processor running software; or combinations thereof. For example, the processing circuits may more specifically include, but are not limited to, a central processing unit (CPU), an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field-programmable gate array (FGPA), a system-on-a-chip (SoC), a programmable logic unit, a microprocessor, an application-specific integrated circuit (ASIC), etc.

[0202] While the inventive concept has been specifically shown and described with reference to some exemplary embodiments thereof, it should be understood that various changes in form and detail may be made therein without departing from the spirit and scope of the appended claims.

Claims

1. An electronic device comprising: A battery configured to supply power to the electronic device; A battery sensing circuit, which is electrically connected to the battery and configured to generate sensing data corresponding to the battery; as well as Application processor, the application processor including an active block, The active block includes: A memory, configured to store the sensed data; and An auxiliary processor is configured to generate battery state information based on the sensed data, and The activity block is configured to generate the battery status information in response to the application processor operating in sleep mode.

2. The electronic device according to claim 1, wherein The application processor also includes a main processor configured to be activated in response to the application processor operating in an active mode. The power consumption of the auxiliary processor is less than that of the main processor, and The activity block is configured to generate the battery status information based on the sensed data in response to the application processor operating in the activity mode.

3. The electronic device according to claim 1, wherein, The sensing data includes: The current value represents the current of the battery at the sensing time point, at which the battery sensing circuit senses the battery; Voltage value, the voltage value representing the voltage of the battery at the sensing time point; and Temperature value, which represents the temperature of the battery at the sensing time point.

4. The electronic device according to claim 1, wherein The battery sensing circuit is configured to sense the battery in each reference cycle, and The active block is configured to receive the sensing data from the battery sensing circuit in each reference cycle.

5. The electronic device according to claim 1, wherein, The battery includes: Current sensing resistor; Battery cells, the battery cells being electrically connected to the current sensing resistor; and A voltage divider circuit, comprising a thermistor and a reference resistor.

6. The electronic device according to claim 5, wherein, The battery sensing circuit includes an analog-to-digital converter (ADC), which is configured to: A first digital value is generated based on the voltage at the two terminals of the current sensing resistor, and this first digital value corresponds to the current of the battery. A second digital value is generated based on the voltage at the two terminals of the battery cell, the second digital value corresponding to the voltage of the battery, and A third digital value is generated based on the voltage at the two terminals of the thermistor, and the third digital value corresponds to the temperature of the battery.

7. The electronic device according to claim 1, wherein, The battery status information includes at least one of the following: State of charge information indicating the amount of remaining energy in the battery; Battery health status information indicating the degree of degradation of the battery; or This indicates whether there is an internal short circuit within the battery.

8. The electronic device according to claim 1, wherein The auxiliary processor is configured to generate the battery status information based on a power calculation method, the battery status information corresponding to the sensing data, and The energy calculation method is based on at least one of the equivalent circuit model (ECM) or the electrochemical thermal (ECT) model.

9. An electronic device comprising: A battery configured to supply power to the electronic device; A battery sensing circuit, which is electrically connected to the battery and configured to generate sensing data corresponding to the battery; as well as The application processor includes an active block and a main processor. The active block includes A memory configured to store the sensed data; as well as An auxiliary processor is configured to write the sensing data into the memory, and The main processor is configured to read the sensing data from the memory and generate battery status information based on the sensing data.

10. The electronic device according to claim 9, wherein, The main processor is configured to read the sensing data from the memory and generate the battery status information based on the sensing data in response to the application processor operating in active mode.

11. The electronic device according to claim 10, wherein, The main processor is configured to initialize the memory after reading the sensed data from the memory.

12. The electronic device according to claim 9, wherein, The sensing data includes: The current value represents the current of the battery at the sensing time point, at which the battery sensing circuit senses the battery; Voltage value, the voltage value representing the voltage of the battery at the sensing time point; and Temperature value, which represents the temperature of the battery at the sensing time point.

13. The electronic device according to claim 9, wherein The battery sensing circuit is configured to sense the battery in each reference cycle, and The active block is configured to receive the sensing data from the battery sensing circuit in each reference cycle.

14. The electronic device according to claim 9, wherein, The battery status information includes at least one of the following: State of charge information indicating the amount of remaining energy in the battery; Battery health status information indicating the degree of degradation of the battery; or This indicates whether there is an internal short circuit within the battery.

15. The electronic device according to claim 9, wherein The main processor is configured to generate the battery status information based on a power calculation method, the battery status information corresponding to the sensing data, and The energy calculation method is based on at least one of the equivalent circuit model (ECM) or the electrochemical thermal (ECT) model.

16. An electronic device comprising: A battery configured to supply power to the electronic device; A battery sensing circuit, which is electrically connected to the battery and configured to generate sensing data corresponding to the battery; as well as The application processor includes an active block and a main processor. The active block includes A memory configured to store a group of sensing data, the group of sensing data including the sensing data; as well as An auxiliary processor, configured to write the sensed data to the memory in response to the application processor operating in sleep mode, and The main processor is configured to read the sensing data set from the memory and generate accumulated battery state information based on the sensing data set in response to a change in the operating mode of the application processor from the sleep mode to the active mode.

17. The electronic device according to claim 16, wherein, The main processor is configured to receive the sensing data from the battery sensing circuit and generate battery status information based on the sensing data in response to the application processor operating in the active mode.

18. The electronic device according to claim 16, wherein, The main processor is configured to read the sensing data from the memory and initialize the memory.

19. The electronic device according to claim 16, wherein, The application processor is configured to operate in the sleep mode at a first time point and a second time point, and The sensing data set includes: The first sensing data generated by the battery sensing circuit at the first time point; and The second sensing data generated by the battery sensing circuit at the second time point.

20. The electronic device according to claim 16, wherein The battery sensing circuit is configured to sense the battery in each reference cycle. The active block is configured to receive the sensing data from the battery sensing circuit in each reference cycle in response to the application processor operating in the sleep mode, and The main processor is configured to receive the sensing data from the battery sensing circuit in each reference cycle in response to the application processor operating in the active mode.

Citation Information

Patent Citations

  • DC-DC converter, control method and control program

    KR1020240138026A

  • Test devices and test methods for energy cell manufacturing production industries and manufacturing methods for test devices

    KR1020250021537A