Semiconductor device, battery pack, semiconductor device control method, and control program
The semiconductor device addresses the inaccuracy in battery capacity measurement by measuring and integrating both self-consumption and load currents, ensuring precise calculation of remaining battery capacity.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-08-03
- Publication Date
- 2026-03-11
AI Technical Summary
As power consumption in loads has decreased, the current consumption of battery management units has become significant compared to the load, leading to inaccurate measurement of the full charge capacity of batteries, which in turn affects the accuracy of calculating the remaining battery capacity.
A semiconductor device with a current measurement circuit that measures currents to both the device itself and a load, and an arithmetic processing circuit that calculates the remaining capacity based on integrated current values, accurately accounting for both types of current consumption.
Enables accurate measurement of the remaining battery capacity by considering both self-consumption and load currents, improving accuracy even after long storage periods.
Smart Images

Figure 0007828255000004 
Figure 0007828255000005 
Figure 0007828255000006
Abstract
Description
[Technical Field]
[0001] The present disclosure relates to a semiconductor device, a battery pack, a control method for a semiconductor device, and a control program, and, for example, to a semiconductor device, a battery pack, a control method for a semiconductor device, and a control program suitable for accurately measuring the remaining capacity of a battery. [Background technology]
[0002] A battery pack connected to a load such as a laptop computer or a smartphone is composed of a battery that supplies power to the load and a battery management device that manages the battery. Technology related to battery packs is disclosed in, for example, Patent Document 1. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 6298616 Summary of the Invention [Problem to be solved by the invention]
[0004] The battery management unit has a function of calculating the remaining capacity of a battery. The remaining capacity of a battery is calculated by subtracting the used capacity of the battery (the capacity discharged from the battery from the start to the end of discharge) from the full charge capacity of the battery (the capacity discharged from the battery from the fully charged state to the complete discharge). Therefore, the battery management unit is required to accurately measure the remaining capacity of the battery by accurately measuring the full charge capacity of the battery.
[0005] Before the trend toward lower power consumption in loads, the current consumption of battery management units was negligibly small compared to the current consumption of the load, and was therefore not taken into account when measuring the full charge capacity of the battery. However, in recent years, as the power consumption of loads has decreased, the current consumption of battery management units has become significant compared to the current consumption of the load. Therefore, if only the current consumption of the load is taken into account, the battery management unit cannot accurately measure the full charge capacity of the battery, and as a result, it is not possible to accurately measure the remaining capacity of the battery. Other issues and novel features will become apparent from the description of this specification and the accompanying drawings. [Means for solving the problem]
[0006] The semiconductor device according to the present disclosure includes a current measurement circuit that measures the current value of a first current supplied from a battery to the semiconductor device itself and the current value of a second current supplied from the battery to a load, and an arithmetic processing circuit that calculates the remaining capacity of the battery based on the integrated value of the first current and the integrated value of the second current from the start of discharge by the battery to the end of discharge.
[0007] The control method for a semiconductor device according to the present disclosure measures the current value of a first current supplied from a battery to the semiconductor device itself and the current value of a second current supplied from the battery to a load, and calculates the remaining capacity of the battery based on the integrated value of the first current and the integrated value of the second current from the start of discharge by the battery to the end of discharge.
[0008] The control program according to the present disclosure causes a computer to perform the following processes: measuring the current value of a first current supplied from a battery to a semiconductor device, which is the device itself, and the current value of a second current supplied from the battery to a load; and calculating the remaining capacity of the battery based on the integrated value of the first current and the integrated value of the second current from the start of discharging by the battery to the end of discharging. [Effects of the Invention]
[0009] The present disclosure can provide a semiconductor device, a battery pack, a control method for a semiconductor device, and a control program that can accurately measure the remaining capacity of a battery. [Brief explanation of the drawings]
[0010] [Figure 1] 1 is a block diagram showing a configuration example of a battery pack including a battery management device according to a first embodiment; [Figure 2] 2 is a block diagram showing an example of the configuration of a basic part of a battery management device provided in the battery pack shown in FIG. 1. FIG. [Figure 3] 1 is a diagram illustrating a configuration example of a part of a battery management device according to a first embodiment; [Figure 4] 4 is a flowchart showing an operation of the battery management device according to the first embodiment. [Figure 5] 3 is a block diagram for explaining the operation of an arithmetic processing circuit provided in the battery management device according to the first embodiment. FIG. [Figure 6] FIG. 2 is a diagram illustrating a first modified example of the battery management device according to the first embodiment. [Figure 7] FIG. 10 is a diagram illustrating a second modified example of the battery management device according to the first embodiment. [Figure 8] 8 is a flowchart showing a self-consumption current measuring operation performed by the battery management device shown in FIG. 7. [Figure 9] FIG. 10 is a diagram illustrating a third modified example of the battery management device according to the first embodiment. [Figure 10] 10 is a diagram for explaining operation modes of the battery management unit shown in FIG. 9. FIG. [Figure 11] 10 is a diagram illustrating a state of the battery management unit shown in FIG. 9 in a load disconnection mode. [Figure 12] 10 is a diagram illustrating a state of the battery management unit shown in FIG. 9 in a heavy load connection mode. [Figure 13] 10 is a diagram illustrating a state of the battery management unit shown in FIG. 9 in a light load connection mode. [Figure 14]10 is a timing chart showing an example of operation of the battery management unit shown in FIG. 9 in a light load connection mode. [Figure 15] 10 is a timing chart showing another example of the operation of the battery management unit shown in FIG. 9 in the light load connection mode. [Figure 16] 10 is a timing chart showing another example of the operation of the battery management unit shown in FIG. 9 in the light load connection mode. [Figure 17] 10 is a flowchart showing the operation of the battery management device shown in FIG. 9 in a light load connection mode. [Figure 18] FIG. 10 is a diagram illustrating a fourth modified example of the battery management device according to the first embodiment. [Figure 19] FIG. 10 is a diagram illustrating a fifth modified example of the battery management device according to the first embodiment. [Figure 20] FIG. 10 is a diagram illustrating a configuration example of a part of a battery management device according to a second embodiment. [Figure 21] FIG. 10 is a diagram illustrating a configuration example of a part of a battery management device according to a third embodiment. [Figure 22] FIG. 10 is a diagram illustrating a modification of the battery management device according to the third embodiment. [Figure 23] FIG. 10 is a diagram illustrating a configuration example of a part of a battery management device according to a fourth embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0011] Hereinafter, embodiments will be described with reference to the drawings. Note that the drawings are simplified, and the technical scope of the embodiments should not be narrowly interpreted based on the description in the drawings. Furthermore, identical elements are given the same reference numerals, and duplicate explanations will be omitted.
[0012] In the following embodiments, when necessary for convenience, the description will be divided into multiple sections or embodiments. However, unless otherwise specified, they are not unrelated to each other, and one is a partial or complete modification, application example, detailed explanation, supplementary explanation, etc. of the other. Furthermore, in the following embodiments, when the number of elements (including the number, numerical value, amount, range, etc.) is mentioned, it is not limited to that specific number, and may be more or less than the specific number, unless otherwise specified or when it is clearly limited to a specific number in principle.
[0013] Furthermore, in the following embodiments, the components (including operational steps, etc.) are not necessarily essential unless otherwise specified or considered to be clearly essential in principle. Similarly, in the following embodiments, when referring to the shape, positional relationship, etc. of components, etc., it is intended to include those that are substantially similar or approximate to the shape, etc., unless otherwise specified or considered to be clearly not essential in principle. The same applies to the above numbers, etc. (including numbers, numerical values, amounts, ranges, etc.).
[0014] <First Embodiment> Fig. 1 is a block diagram showing a configuration example of a battery pack 1 including a battery management device 12 according to a first embodiment. Fig. 1 also shows a load 50 connected to the battery pack 1. The load 50 is, for example, a notebook computer, a smartphone, or the like.
[0015] As shown in FIG. 1, the battery pack 1 includes a battery 11 that supplies power to a load, a battery management device (semiconductor device) 12 that manages the battery 11, a resistive element (second resistive element) Rs, a charge / discharge FET 14, and a temperature sensor 15.
[0016] The battery 11 is, for example, a lithium ion battery, and is composed of m (m is an integer of 1 or more) battery cells connected in series.
[0017] The charge / discharge FET 14 is provided on a current path connecting the battery 11 and the load 50. When the battery management device 12 detects an abnormality in the current flowing between the battery 11 and the load 50, the charge / discharge FET 14 cuts off the charge / discharge current flowing through the current path.
[0018] Temperature sensor 15 is provided near battery 11 and detects the temperature of battery 11. More specifically, temperature sensor 15 has a thermistor whose resistance value changes depending on the temperature, and outputs the potential difference between both ends of the thermistor. The temperature corresponding to this potential difference is extracted from a temperature-resistance characteristics table or the like, thereby determining the temperature around temperature sensor 15 (i.e., battery 11).
[0019] The resistance element Rs is provided on a current path connecting the battery 11 and the load 50. Therefore, the current supplied from the battery 11 to the load 50 flows through the resistance element Rs.
[0020] The battery management device 12 is also called an FGIC (Fuel Gauge Integrated Circuit), and measures the remaining capacity of the battery 11 and protects the battery 11 from overvoltage and overcurrent.
[0021] Fig. 2 is a block diagram showing an example of the configuration of the basic parts of the battery management unit 12. As shown in Fig. 2, the battery management unit 12 includes at least a selector 121, a voltage measurement circuit 122, a current measurement circuit 123, an arithmetic processing circuit 124, a charge / discharge control circuit 125, a communication circuit 126, a memory circuit 127, and a power supply circuit 128.
[0022] The battery management unit 12 is provided with at least external terminals VCC, GND, VIN_0 to VIN_m-1, VIN_top, TIN, ISENS0, ISENS1, FOUT, and DT. The external terminal VCC is supplied with the output voltage of the battery 11 (the voltage at the positive terminal of the battery 11) from outside the battery management unit 12. The external terminal GND is supplied with the reference voltage of the battery 11 (the voltage at the negative terminal of the battery 11) from outside the battery management unit 12. In this embodiment, a case where the reference voltage of the battery 11 is 0 V will be described as an example. The external terminal VIN_0 is supplied with the voltage at the negative terminal of the battery 11 from outside the battery management unit 12. The external terminals VIN_1 to VIN_m-1 are supplied with the voltages of the nodes between the m battery cells constituting the battery 11 from outside the battery management unit 12. The external terminal VIN_top is supplied with the voltage at the positive terminal of the battery 11 from outside the battery management unit 12. The external terminal TIN is supplied with the output voltage of the temperature sensor 15 (a voltage corresponding to the temperature detected by the temperature sensor 15) from outside the battery management unit 12. The external terminals ISENS0 and ISENS1 are supplied with the voltage across the resistor element Rs from outside the battery management unit 12. The battery management unit 12 outputs a control signal to the charge / discharge FET 14 via the external terminal FOUT. The battery management unit 12 also exchanges data with the load 50 via the external terminal DT.
[0023] The selector 121 selects and outputs at least one of the positive terminal, the negative terminal of the battery 11, the voltages of the nodes between the m battery cells that make up the battery 11, and the output voltage of the temperature sensor 15, based on the calculation results of the arithmetic processing circuit 124. For example, the selector 121 can also select and output the potential difference between the positive terminal and the negative terminal of the battery 11 (i.e., the voltages of the positive terminal and the negative terminal of the battery 11).
[0024] The voltage measurement circuit 122 measures the voltage selected by the selector 121. When the selector 121 selects the potential difference between the positive terminal and the negative terminal of the battery 11, the voltage measurement circuit 122 measures the potential difference between the positive terminal and the negative terminal of the battery 11. The potential difference between the positive terminal and the negative terminal of the battery 11 corresponds to the output voltage of the battery 11.
[0025] The current measuring circuit 123 measures the current value Isense of the current (second current) flowing through the resistive element Rs. In other words, the current measuring circuit 123 measures the current value Isense of the current supplied from the battery 11 to the load 50. For example, the current measuring circuit 123 has an AD converter that detects the potential difference across the resistive element Rs, and calculates the current value Isense of the current flowing through the resistive element Rs based on the resistance value of the resistive element Rs and the potential difference across the resistive element Rs detected by the AD converter.
[0026] The arithmetic processing circuit 124 performs predetermined arithmetic processing on the measurement results by the voltage measurement circuit 122, the measurement results by the current measurement circuit 123, and the measurement results by the current measurement circuit 129 (described later), and then instructs each functional block of the battery management unit 12 to perform a predetermined operation based on the results of the arithmetic processing. For example, the arithmetic processing circuit 124 instructs the communication circuit 126 to transmit data obtained by processing by the arithmetic processing circuit 124 to the load 50, or to receive data transmitted from the load 50. Furthermore, if the arithmetic processing circuit 124 detects an abnormality in the current flowing between the battery 11 and the load 50, it instructs the charge / discharge control circuit 125 to cut off the charge / discharge current flowing through the current path.
[0027] The memory circuit 127 stores the results of the arithmetic processing performed by the arithmetic processing circuit 124, intermediate data generated during the arithmetic processing, etc. The memory circuit 127 also stores information on the charging rate of the battery 11 according to the output voltage of the battery 11 (the potential difference across the battery 11). For example, the memory circuit 127 stores information indicating that the charging rate of the battery 11 is 100% when the output voltage of the battery 11 is at its maximum value, and information indicating that the charging rate of the battery 11 is 0% when the output voltage of the battery 11 is at its minimum value.
[0028] The power supply circuit 128 is provided between the external terminals VCC and GND, and generates an operating voltage for the internal circuits (each functional block) of the battery management unit 12. In other words, the power supply circuit 128 converts the output voltage of the battery 11 into a voltage suitable for operation of the internal circuits of the battery management unit 12, and outputs the converted voltage. The internal circuits of the battery management unit 12 are driven by the voltage generated by the power supply circuit 128.
[0029] Here, the battery management unit 12 further includes a current measurement circuit 129 (not shown in FIG. 2) that measures the current value Iic of the current (first current) supplied from the battery 11 to the battery management unit 12.
[0030] Fig. 3 is a diagram showing an example of the configuration of a portion of the battery management unit 12. As shown in Fig. 3, the battery management unit 12 further includes a current measurement circuit 129. The current measurement circuit 129 includes at least a resistive element (first resistive element) R1 and an AD converter 1291, for example.
[0031] The resistor R1 is provided between the external terminal VCC and the high-potential terminal of the power supply circuit 128. The external terminal VCC receives the output voltage of the battery 11 from outside the battery management unit 12, and thus a current flows through the resistor R1 from the battery 11 to the battery management unit 12. The AD converter 1291 detects a potential difference across the resistor R1. More specifically, the AD converter 1291 converts the potential difference across the resistor R1 into a digital signal and outputs it. Since the resistance of the resistor R1 is predetermined, the potential difference across the resistor R1 detected by the AD converter 1291 can be used to calculate the current value Iic of the current flowing through the resistor R1. Therefore, the detection result by the AD converter 1291 may be used as a measurement result of the current value Iic of the current flowing through the resistor R1.
[0032] The arithmetic processing circuit 124 calculates the used capacity Quse of the battery 11 based on the integrated value of the current value Iic of the current flowing through the resistance element R1 (i.e., the current supplied from the battery 11 to the battery management unit 12) from the start to the end of discharging of the battery 11, and the integrated value of the current value Isense of the current flowing through the resistance element Rs (i.e., the current supplied from the battery 11 to the load 50). The used capacity Quse is the capacity discharged from the battery 11 from the start to the end of discharging of the battery 11. The used capacity Quse can be expressed as the following equation (1).
[0033]
number
[0034] The full charge capacity Qmax of the battery 11 can be expressed by the following equation (2). The full charge capacity Qmax is the capacity discharged from the battery from a fully charged state to a completely discharged state. SOCa indicates the charging rate of the battery 11 at the start of discharging the battery 11, and SOCb indicates the charging rate of the battery 11 at the end of discharging the battery 11.
[0035]
number
[0036] Here, the remaining capacity Qrem of the battery 11 is obtained by subtracting the used capacity Quse from the full charge capacity Qmax. Therefore, the arithmetic processing circuit 124 can calculate the remaining capacity Qrem based on the measurement results of the used capacity Quse and the full charge capacity Qmax.
[0037] (Operation of the battery management unit 12) Next, the operation of the battery management unit 12 will be described with reference to Fig. 4 and Fig. 5. Fig. 4 is a flowchart showing the operation of the battery management unit 12. Fig. 5 is a block diagram for explaining the operation of the arithmetic processing circuit 124 provided in the battery management unit 12. As shown in Fig. 5, the battery management unit 12 is divided into an operation in hardware (HW) and an operation in firmware (FW). Note that the processing of S101 to S106 shown in Fig. 5 corresponds to the processing of steps S101 to S106 shown in Fig. 4.
[0038] First, the discharge of the battery 11 is started. At this time, the battery management unit 12 measures the output voltage of the battery 11 at the start of the discharge of the battery 11. Here, the memory circuit 127 stores information on the charging rate of the battery 11 corresponding to the output voltage of the battery 11. Therefore, the battery management unit 12 can extract the charging rate SOCa of the battery 11 at the start of the discharge of the battery 11 from the output voltage of the battery 11 at the start of the discharge of the battery 11 (step S101).
[0039] Thereafter, the battery management unit 12 measures the current value Isense of the current flowing through the resistance element Rs (ie, the current supplied from the battery 11 to the load 50) from the start to the end of discharging of the battery 11 (step S102).
[0040] The battery management unit 12 also measures the current value Iic of the current flowing through the resistance element R1 (ie, the current supplied from the battery 11 to the battery management unit 12) from the start to the end of discharging of the battery 11 (step S103).
[0041] Thereafter, the battery management unit 12 calculates the usage capacity Quse of the battery 11 based on the integrated value of the current value Isense and the integrated value of the current value Iic from the start to the end of discharging of the battery 11 (step S104). Specifically, the battery management unit 12 calculates the usage capacity Quse of the battery 11 using the above formula (1).
[0042] Furthermore, the battery management unit 12 measures the output voltage of the battery 11 at the end of discharging of the battery 11. Here, the memory circuit 127 stores information on the charging rate of the battery 11 corresponding to the output voltage of the battery 11. Therefore, the battery management unit 12 can extract the charging rate SOCb of the battery 11 at the end of discharging of the battery 11 from the output voltage of the battery 11 at the end of discharging of the battery 11 (step S105).
[0043] Here, the battery management unit 12 calculates the full charge capacity Qmax of the battery based on the battery charging rate SOCa at the start of discharge, the battery charging rate SOCb at the end of discharge, and the used capacity Quse of the battery 11 (step S106). Specifically, the battery management unit 12 calculates the full charge capacity Qmax of the battery 11 using the above equation (2). The battery management unit 12 can calculate the remaining capacity Qrem of the battery 11 from the used capacity Quse and the full charge capacity Qmax of the battery 11.
[0044] In this way, the battery management unit 12 measures the used capacity Quse and the full charge capacity Qmax of the battery 11 based on not only the integrated value of the current value Isense of the current consumed by the load 50 from the start to the end of discharge of the battery 11 but also the integrated value of the self-consumption current Iic, and calculates the remaining capacity Qrem of the battery 11 based on the measurement results. This allows the battery management unit 12 to calculate the remaining capacity Qrem of the battery 11 with higher accuracy than when calculating the remaining capacity Qrem of the battery 11 without taking into account the current value Iic of the self-consumption current. This allows the battery management unit 12 to accurately calculate the remaining capacity Qrem of the battery 11 even when starting up after a long period of storage, such as during product transportation.
[0045] <First Modification of Battery Management Unit 12> 6 is a diagram illustrating a battery management unit 12a as a first modified example of the battery management unit 12. The battery management unit 12a further includes an external terminal CAL. The external terminal CAL is connected to a high-potential terminal of the power supply circuit 128 and to one of the terminals of the resistor element R1, the other terminal being different from the one terminal connected to the external terminal VCC.
[0046] Outside the battery management unit 12a, a constant current source 17 is provided between external terminals CAL and VCC, and a battery 16 is provided between the external terminals CAL and GND. Note that an existing external terminal may be used instead of the external terminal CAL.
[0047] The operation modes of the battery management unit 12a include at least a normal operation mode in which normal operation is performed and a calibration mode in which calibration is performed. When the operation mode of the battery management unit 12a is the calibration mode, a reference current generated by a constant current source 17 flows from the external terminal VCC to the external terminal CAL via the resistor element R1. At this time, in the battery management unit 12a, for example, the AD converter 1291 is adjusted to accurately detect the potential difference across the resistor element R1, which is determined by the resistance value of the resistor element R1 and the current value of the reference current. The other configurations of the battery management unit 12a are the same as those of the battery management unit 12, so a description thereof will be omitted.
[0048] <Second Modification of Battery Management Unit 12> 7 is a diagram showing a second modified example of the battery management unit 12 as a battery management unit 12b. Compared to the battery management unit 12, the battery management unit 12b does not include a resistance element R1 and an AD converter 1291, but includes switch elements SW11 and SW12 and a switching control circuit 130. Note that a resistance element R4 is provided outside the battery management unit 12 instead of the resistance element R1. Also, an existing voltage measurement circuit 122 is used instead of the AD converter 1291.
[0049] The switch element (first switch element) SW11 is provided between the external terminal VCC and a high potential side terminal of the power supply circuit 128. The switch element (second switch element) SW12 is provided between the external terminal VBAT and a high potential side terminal of the power supply circuit 128. The switching control circuit 130 switches the switch elements SW11 and SW12 on and off in accordance with instructions from the arithmetic processing circuit 124, for example.
[0050] Outside the battery management unit 12b, a resistance element R4 having a resistance value larger than that of the resistance component R3 on the current path between the external terminal VCC and the positive terminal of the battery 11 is provided between the external terminal VBAT and the positive terminal of the battery 11. For example, the resistance value of the resistance component R3 is about 10Ω, while the resistance value of the resistance element R4 is large, about 1 kΩ.
[0051] Other configurations of the battery management unit 12b are the same as those of the battery management unit 12, and therefore, description thereof will be omitted.
[0052] 8 is a flowchart showing the self-consumption current measurement operation by the battery management unit 12b. The operation modes of the battery management unit 12b include at least a self-consumption current measurement mode in which the self-consumption current is measured, and a normal operation mode in which the self-consumption current is not measured and normal operation is performed.
[0053] First, when the operation mode is the normal operation mode, the battery management unit 12b turns on the switch element SW11 and turns off the switch element SW12, thereby supplying the output voltage of the battery 11 to the power supply circuit 128 via the external terminal VCC.
[0054] After that, the operation mode of the battery management unit 12b switches from the normal operation mode to the self-consumption current measurement mode. Accordingly, the battery management unit 12b switches the switch element SW12 from off to on (step S201) and switches the switch element SW11 from on to off (step S202). As a result, a current flows from the battery 11 to the battery management unit 12b via the resistor element R4, which has a large resistance value. At this time, the selector 121 selects and outputs the potential difference between the external terminals VBAT and VIN_top. That is, at this time, the selector 121 selects and outputs the potential difference across the resistor element R4. As a result, the voltage measurement circuit 122 detects the potential difference across the resistor element R4. More specifically, the voltage measurement circuit 122 is an AD converter that converts the potential difference across the resistor element R4 into a digital signal and outputs it (step S203). Here, since the resistance value of the resistor element R4 is predetermined, it is possible to calculate the current value Iic of the current flowing through the resistor element R4 from the potential difference across the resistor element R4 detected by the voltage measurement circuit 122. Therefore, the measurement result by the voltage measurement circuit 122 may be used as the measurement result of the current value Iic of the current flowing through the resistor element R4. The measurement result by the voltage measurement circuit 122 (AD converted value) is stored in a register and used to calculate the used capacity. Thereafter, the battery management unit 12b switches the switch element SW11 from OFF to ON (step S205) and switches the switch element SW12 from ON to OFF (step S206). As a result, the operation mode of the battery management unit 12b switches from the self-consumption current measurement mode to the normal operation mode.
[0055] In this way, the battery management unit 12b can achieve effects equivalent to those of the battery management unit 12. Furthermore, by using the resistor element R4 with a large resistance value, the battery management unit 12b can measure the current value Iic of the self-consumption current with higher accuracy. Furthermore, since the battery management unit 12b does not need to include the resistor element R4 with a large resistance value inside, it is possible to achieve a smaller circuit scale.
[0056] <Third Modification of Battery Management Unit 12> 9 is a diagram showing a battery management unit 12c as a third modified example of the battery management unit 12. Compared to the battery management unit 12, the battery management unit 12c further includes switch elements SW21 and SW22, a comparison circuit 131, and a switching control circuit 132. Furthermore, the battery management unit 12c does not include the current measurement circuit 123, and an AD converter 1291 also serves as the current measurement circuit 123.
[0057] The switch elements SW21 and SW22 function as selectors that select and output either the potential difference across the resistor element R1 or the potential difference across the resistor element Rs. Specifically, the switch element SW21 is configured to selectively connect one terminal of the resistor element R1 or one terminal of the resistor element Rs to one input terminal of the AD converter 1291. The switch element SW22 is configured to selectively connect the other terminal of the resistor element R1 or the other terminal of the resistor element Rs to the other input terminal of the AD converter 1291. The comparator circuit 131 compares the potentials across the resistor element Rs. The switching control circuit 132 switches the switch elements SW21 and SW22 on and off based on, for example, instructions from the arithmetic processing circuit 124, the comparison result by the comparator circuit 131, and information acquired from the outside via the external terminal SYSIN.
[0058] The other configurations of the battery management unit 12c are the same as those of the battery management unit 12, and therefore the description thereof will be omitted.
[0059] Fig. 10 is a diagram for explaining the operation modes of the battery management unit 12c. As shown in Fig. 10, the operation modes of the battery management unit 12c include a no-load mode (first mode) in which the battery 11 is not connected to the load 50, a heavy-load connection mode (second mode) in which the battery 11 is connected to the load 50 that is in normal operation, and a light-load connection mode (third mode) in which the battery 11 is connected to the load 50 that is not operating.
[0060] First, the operation of the battery management unit 12c when the operation mode of the battery management unit 12c is the unconnected load mode will be described with reference to Fig. 11. Fig. 11 is a diagram showing the state of the battery management unit 12c in the unconnected load mode.
[0061] In the load-disconnection mode, the battery 11 is not connected to the load 50. When the battery 11 is not connected to the load 50, the current value Isense of the current supplied from the battery 11 to the load 50 is substantially 0 A. In contrast, because the battery management unit 12c continues to operate, the current value Iic of the current supplied from the battery 11 to the battery management unit 12c becomes dominant over the current value Isense. At this time, the switching control circuit 132 determines that the operation mode is the load-disconnection mode by, for example, receiving information via the external terminal SYSIN that the load 50 is not connected to the battery 11, or by receiving a comparison result from the comparison circuit 131 that the potential difference across the resistor element Rs is close to 0 V (i.e., no current flows through the resistor element Rs).
[0062] In this case, the switching control circuit 132 causes the switch elements SW21 and SW22 to select the potential difference across the resistor element R1 and output it to the AD converter 1291. As a result, the AD converter 1291 detects the potential difference across the resistor element R1. More specifically, the AD converter 1291 converts the potential difference across the resistor element R1 into a digital signal. Here, because the resistance value of the resistor element R1 is predetermined, it is possible to calculate the current value Iic of the current flowing through the resistor element R1 from the potential difference across the resistor element R1 detected by the AD converter 1291. Therefore, the detection result by the AD converter 1291 may be used as a measurement result of the current value Iic of the current flowing through the resistor element R1.
[0063] Next, the operation of the battery management unit 12c when the operation mode of the battery management unit 12c is the heavy load connection mode will be described with reference to Fig. 12. Fig. 12 is a diagram showing the state of the battery management unit 12c in the heavy load connection mode.
[0064] In the heavy load connection mode, the battery 11 is connected to the load 50 that is in normal operation. In this case, the current consumed by the load 50 increases. That is, the current value Isense of the current supplied from the battery 11 to the load 50 becomes dominant over the current value Iic supplied from the battery 11 to the battery management unit 12c. At this time, the switching control circuit 132 determines that the operation mode is the heavy load connection mode by, for example, receiving information via the external terminal SYSIN that the load 50 is connected to the battery 11, or by receiving a comparison result from the comparison circuit 131 that indicates that the potential difference across the resistance element Rs is equal to or greater than a predetermined value (i.e., the current value Isense is equal to or greater than a predetermined value).
[0065] In this case, the switching control circuit 132 causes the switch elements SW21 and SW22 to select the potential difference across the resistor element Rs and output it to the AD converter 1291. As a result, the AD converter 1291 detects the potential difference across the resistor element Rs. More specifically, the AD converter 1291 converts the potential difference across the resistor element Rs into a digital signal. Here, because the resistance value of the resistor element Rs is predetermined, it is possible to calculate the current value Isense of the current flowing through the resistor element Rs from the potential difference across the resistor element Rs detected by the AD converter 1291. Therefore, the detection result by the AD converter 1291 may be used as a measurement result of the current value Isense of the current flowing through the resistor element Rs.
[0066] Next, the operation of the battery management unit 12c when the operation mode of the battery management unit 12c is the light load connection mode will be described with reference to Fig. 13. Fig. 13 is a diagram showing the state of the battery management unit 12c in the light load connection mode.
[0067] In the light-load connection mode, the battery 11 is connected to a load 50 that is not operating. The non-operating load 50 refers to, for example, a load 50 in a sleep state or an equivalent state. In this case, since neither the current value Isense nor the current value Iic can be ignored, both the current value Isense and the current value Iic are measured. In the light-load connection mode, the operation of the load 50 is limited to a predetermined steady state, so fluctuations in the current values Isense and Iic are small. Therefore, the battery management unit 12c alternately measures the current value Isense and the current value Iic, estimates the current value Iic during the current value Isense measurement from the measured value of the current value Iic, and estimates the current value Isense during the current value Iic measurement from the measured value of the current value Isense, and then calculates the integrated values of the current values Isense and Iic during the light-load connection mode.
[0068] 14 is a timing chart showing an example of the operation of the battery management unit 12c in the light load connection mode. In FIG. 14, "V" represents the measurement of the battery voltage, "T" represents the measurement of the battery temperature, "Cs" represents the measurement of the current value Isense, and "Ci" represents the measurement of the current value Iic.
[0069] 14, the battery management unit 12c switches between measuring the current value Isense and measuring the current value Iic every second. The battery management unit 12c also measures the battery voltage and the battery temperature every second. Note that the switching between measuring the current value Isense and measuring the current value Iic does not have to be performed every second, and may be performed at predetermined time intervals.
[0070] For example, if the light-load connection mode is 20 seconds, the measurement time for the current value Isense is 10 seconds, and the measurement time for the current value Iic is 10 seconds. However, even while the current value Isense is being measured, current is being supplied from the battery 11 to the battery management unit 12c. Similarly, even while the current value Iic is being measured, current is being supplied from the battery 11 to the load 50. Therefore, the battery management unit 12c estimates the current value Isense during the measurement period of the current value Iic from the measured value of the current value Isense, and then calculates the integrated value of the current value Isense for the period of the light-load connection mode (20 seconds in this case). Similarly, the battery management unit 12c estimates the current value Iic during the measurement period of the current value Isense from the measured value of the current value Iic, and then calculates the integrated value of the current value Iic for the period of the light-load connection mode (20 seconds in this case).
[0071] 15 is a timing chart showing another example of the operation of the battery management unit 12c in the light load connection mode. In FIG. 15, "V" represents the measurement of the battery voltage, "T" represents the measurement of the battery temperature, "Cs" represents the measurement of the current value Isense, and "Ci" represents the measurement of the current value Iic.
[0072] 15, the battery management unit 12c measures the current value Isense, the current value Iic, the battery voltage, and the battery temperature at a predetermined cycle (every X seconds). More specifically, as a first measurement pattern P1, the battery management unit 12c measures the current value Isense within one cycle, then measures the current value Iic, and then simultaneously measures the battery voltage and the battery temperature. The method for calculating the integrated value of the current value Isense and the integrated value of the current value Iic is basically the same as in the example of FIG. 14, and therefore a description thereof will be omitted. Note that the measurement of the current values Isense and Iic is not limited to being performed at a predetermined cycle, and may be performed when the degree of change in temperature exceeds a threshold value, taking into account that the current consumption of the power supply circuit 128 is highly temperature-dependent.
[0073] Fig. 16 is a timing chart showing another example of operation of the battery management unit 12c in the light load connection mode. In Fig. 16, "V" represents measurement of battery voltage, "T" represents measurement of battery temperature, "Cs" represents measurement of current value Isense, and "Ci1" and "Ci2" represent measurements of current value Iic. Here, "Ci1" represents measurement of current value Iic performed independently, and "Ci2" represents measurement of current value Iic performed simultaneously with measurement of battery voltage and measurement of battery temperature.
[0074] 16, the battery management unit 12c measures the current value Isense, the current value Iic, the battery voltage, and the battery temperature at a predetermined interval (every X seconds). More specifically, as the second measurement pattern P2, the battery management unit 12c measures the current value Isense within one interval, then measures the current value Iic, the battery voltage, and the battery temperature simultaneously. This makes it possible to calculate the integrated value of the current value Iic, taking into account the transient increase in current consumption due to the measurement of the battery voltage and the measurement of the battery temperature.
[0075] In this case, the usage capacity Quse of the battery 11 in the light load connection mode can be expressed as the following equation (3): where Iic1 represents the measured value of the current Iic measured independently, and Iic2 represents the measured value of the current Isense measured simultaneously with the measurement of the battery voltage and the measurement of the battery temperature.
[0076]
number
[0077] 17 is a flowchart showing the operation of the battery management unit 12c in the light load connection mode. The operation in FIG. 17 corresponds to the operation in FIG.
[0078] First, when the operating mode of the battery management unit 12c switches to the light-load connection mode (YES in step S501), the battery management unit 12c controls the switch elements SW21 and SW22 to select the potential difference across the resistor element Rs and output the selected potential difference to the AD converter 1291 (step S502). This causes the AD converter 1291 to detect the potential difference across the resistor element Rs. More specifically, the AD converter 1291 converts the potential difference across the resistor element Rs into a digital signal. Here, since the resistance value of the resistor element Rs is predetermined, it is possible to calculate the current value Isense of the current flowing through the resistor element Rs from the potential difference across the resistor element Rs detected by the AD converter 1291. Therefore, the detection result by the AD converter 1291 may be used as a measurement result of the current value Isense of the current flowing through the resistor element Rs. The measured current value Isense is integrated (step S503) and stored in a register (step S504). The integrated value of the current value Isense stored in the register is used to calculate the usage capacity Quse of the battery 11 during the light load connection mode after the light load connection mode ends.
[0079] After that (after one second has elapsed in this example), the battery management unit 12c causes the switch elements SW21 and SW22 to select the potential difference across the resistor element R1 and output it to the AD converter 1291 (step S505). As a result, the AD converter 1291 detects the potential difference across the resistor element R1. More specifically, the AD converter 1291 converts the potential difference across the resistor element R1 into a digital signal. Here, since the resistance value of the resistor element R1 is predetermined, it is possible to calculate the current value Iic of the current flowing through the resistor element R1 from the potential difference across the resistor element R1 detected by the AD converter 1291. Therefore, the detection result by the AD converter 1291 may be used as a measurement result of the current value Iic of the current flowing through the resistor element R1. The measured current value Iic is integrated (step S506) and stored in a register (step S507). The integrated value of the current value Iic stored in the register is used to calculate the usage capacity Quse of the battery 11 during the light load connection mode after the light load connection mode ends.
[0080] After that (after 2 seconds have elapsed in this example), the process waits until X-2 seconds have elapsed (step S508). After waiting, if the operation mode is the light-load connection mode, the processes of steps S502 to S508 are performed in the next cycle. Then, if the operation mode is no longer the light-load connection mode (NO in step S501), the battery management unit 12 calculates the usage capacity Quse of the battery 11 during the light-load connection mode and completes the operation.
[0081] In this way, the battery management unit 12c can suppress an increase in circuit size because it can measure the current values Iic and Isense using the common AD converter 1291. Furthermore, because the battery management unit 12c measures each of the current values Iic and Isense intermittently, it is possible to reduce the measurement time compared to when measuring each of the current values Iic and Isense constantly.
[0082] <Fourth Modification of Battery Management Unit 12> 18 is a diagram showing a battery management unit 12d as a fourth modified example of the battery management unit 12. Compared to the battery management unit 12, the battery management unit 12d further includes an adder circuit 1292. Furthermore, the battery management unit 12d does not include the current measurement circuit 123, and an AD converter 1291 also serves as the current measurement circuit 123.
[0083] The adder circuit 1292 adds the potential difference V1 across the resistor element R1 and the potential difference V2 across the resistor element Rs and outputs the result. The AD converter 1291 detects the addition result V3 (=V1+V2) from the adder circuit 1292. More specifically, the AD converter 1291 converts the addition result V3 from the adder circuit 1292 into a digital signal and outputs it. Here, because the resistance values of the resistor elements R1 and Rs are predetermined, it is possible to calculate the sum of the current values Iic and Isense of the currents flowing through the resistor elements R1 and Rs from the potential difference V3 detected by the AD converter 1291. Therefore, the detection result by the AD converter 1291 may be used as a measurement result of the sum of the current values Iic and Isense of the currents flowing through the resistor elements R1 and Rs.
[0084] Although the battery management unit 12d needs to make the resistance values of the resistor elements R1 and Rs approximately the same or amplify the potential difference across the resistor element Rs, it is possible to suppress an increase in circuit size because the current values Iic and Isense can be measured using a common AD converter 1291. Furthermore, the battery management unit 12d combines the measurement results of the current values Iic and Isense into a single measurement result, and therefore can use the same firmware as when calculating the remaining capacity of the battery 11 using only the measurement result of the current value Isense.
[0085] <Fifth Modification of Battery Management Unit 12> 19 is a diagram illustrating a battery management unit 12e as a fifth modified example of the battery management unit 12. Compared to the battery management unit 12, the battery management unit 12e further includes an adder circuit 1294.
[0086] The adder circuit 1294 adds and outputs the detection result by the AD converter 1291 (a digital signal corresponding to the potential difference across the resistor element R1) and the detection result by the current measurement circuit 123, which is also an AD converter (a digital signal corresponding to the potential difference across the resistor element Rs). The addition result by the adder circuit 1294 may be used as a measurement result of the sum of the current values Iic and Isense of the currents flowing through the resistor elements R1 and Rs, respectively.
[0087] Since the battery management unit 12e combines the measurement results of the current values Iic and Isense into a single measurement result, it is possible to use the same firmware as when calculating the remaining capacity of the battery 11 using only the measurement results of the current value Isense.
[0088] <Embodiment 2> 20 is a diagram illustrating a configuration example of a portion of the battery management unit 22 according to the second embodiment. In the battery management unit 12, the resistive element R1 is provided between the external terminal VCC and the high-potential side terminal of the power supply circuit 128, whereas in the battery management unit 22, the resistive element R1 is provided between the external terminal GND and the low-potential side power supply terminal of the power supply circuit 128. The other configuration of the battery management unit 22 is the same as that of the battery management unit 12, and therefore description thereof will be omitted.
[0089] The battery management unit 22 can achieve effects equivalent to those of the battery management unit 12. In the battery management units 12a to 12e, the current measurement circuit 129 or a circuit equivalent thereto may also be provided between the external terminal GND and the low potential side terminal of the power supply circuit 128, instead of being provided between the external terminal VCC and the high potential side terminal of the power supply circuit 128.
[0090] <Third Embodiment> 21 is a diagram illustrating a configuration example of a portion of a battery management unit 32 according to a third embodiment. In the battery management unit 12, the resistive element R1 is provided between the external terminal VCC and the high-potential side terminal of the power supply circuit 128, whereas in the battery management unit 32, n (n is an integer equal to or greater than 2) resistive elements R1_1 to R1_n are provided between the external terminal VCC and the high-potential side external terminals of n functional blocks B_1 to B_n, respectively. The functional blocks B_1 to B_n are internal circuits of the battery management unit 32, and include, for example, an arithmetic processing circuit 124, a charge / discharge control circuit 125, etc.
[0091] Furthermore, the battery management unit 32 includes n AD converters 1291_1 to 1291_n that detect the potential difference between both ends of each of the resistance elements R1_1 to R1_n, instead of the AD converter 1291. The other configuration of the battery management unit 32 is the same as that of the battery management unit 12, and therefore description thereof will be omitted.
[0092] Here, since the resistance value of each of the resistance elements R1_1 to R1_n is predetermined, it is possible to calculate the current values Iic_1 to Iic_n of the currents flowing through each of the resistance elements R1_1 to R1_n from the detection results of each of the AD converters 1291_1 to 1291_n. Therefore, the detection results of each of the AD converters 1291_1 to 1291_n may be used as the measurement results of the current values Iic_1 to Iic_n of the currents flowing through each of the resistance elements R1_1 to R1_n. The sum of the current values Iic_1 to Iic_n corresponds to the current value Iic.
[0093] The battery management unit 32 can achieve effects similar to those of the battery management unit 12. Furthermore, the battery management unit 32 can detect the current value of the current supplied to each functional block, and therefore can identify a faulty functional block.
[0094] <Modification of the battery management unit 32> 22 is a diagram showing a modified example of the battery management unit 32 as a battery management unit 32a. The battery management unit 32a includes a selector 1295 and one AD converter 1291 instead of including a plurality of AD converters 1291_1 to 1291_n. The selector 1295 selectively outputs one of the potential differences across each of the resistance elements R1_1 to R1_n. The AD converter 1291 detects the potential difference selected by the selector 1295. The other configuration of the battery management unit 32 is the same as that of the battery management unit 32, so a description thereof will be omitted. The battery management unit 32a can achieve effects similar to those of the battery management unit 32.
[0095] <Fourth Embodiment> 23 is a diagram illustrating a configuration example of a portion of a battery management unit 42 according to the fourth embodiment. The battery management unit 42 further includes a comparison circuit 133 that compares the potentials across the resistor element R1, and a protection circuit 134 that protects the battery management unit 42 from at least one of an overvoltage and an overcurrent supplied from the battery 11 to the battery management unit 42 when the comparison circuit 133 outputs a comparison result indicating that the potential difference across the resistor element R1 is equal to or greater than a threshold. The other configuration of the battery management unit 42 is the same as that of the battery management unit 12, and therefore a description thereof will be omitted.
[0096] The battery management device 42 can achieve effects equivalent to those of the battery management device 12. In addition, the battery management device 42 can protect the battery management device 42 from at least one of an overvoltage and an overcurrent supplied from the battery 11 to the battery management device 42.
[0097] The present invention is not limited to the above-described embodiment, and can be modified as appropriate within the scope of the invention.
[0098] In addition, the present disclosure can be realized by causing a CPU (Central Processing Unit) to execute a computer program for all or part of the processing of the battery management device 12.
[0099] The above-mentioned program includes a set of instructions (or software code) that, when loaded into a computer, causes the computer to perform one or more functions described in the embodiments. The program may be stored in a non-transitory computer-readable medium or a tangible storage medium. By way of example and not limitation, computer-readable media or tangible storage media include random-access memory (RAM), read-only memory (ROM), flash memory, solid-state drive (SSD) or other memory technology, CD-ROM, digital versatile disc (DVD), Blu-ray disc or other optical disk storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage device. The program may be transmitted on a transitory computer-readable medium or a communication medium. By way of example and not limitation, transitory computer-readable media or communication media include electrical, optical, acoustic, or other forms of propagated signals. [Explanation of symbols]
[0100] 1 Battery pack 50 load 11 Battery 12 Battery management device 12a, 12b, 12c, 12d, 12e Battery management device 14 Charge / discharge FET 15 Temperature Sensor 16 Battery 17 Constant current source 22 Battery management device 32 Battery Management Device 32a Battery management device 42 Battery Management Device 121 Selector 122 Voltage measurement circuit 123 Current measurement circuit 124 Arithmetic Processing Circuit 125 Charge / discharge control circuit 126 Communication Circuit 127 Memory circuit 128 Power supply circuit 129 Current measurement circuit 130 Switching control circuit 131 Comparison circuit 132 Switching control circuit 133 Comparison circuit 134 Protection circuit 1291 AD converter 1291_1~1291_n AD converter 1292 Addition Circuit 1294 Adding Circuit 1295 Selector B_1~B_n function blocks R1 Resistor element R1_1~R1_n resistive elements Rs Resistive element R3 resistance component R4 resistor element SW11, SW12 switch elements SW21, SW22 switch elements
Claims
1. A current measuring circuit that measures a current value of a first current supplied from a battery to a semiconductor device that is the device itself, and a current value of a second current supplied from the battery to a load; an arithmetic processing circuit that calculates a remaining capacity of the battery based on an integrated value of the first current and an integrated value of the second current from the start of discharge to the end of discharge of the battery; Equipped with The current measurement circuit a first resistor element provided between a first external terminal to which the output voltage of the battery is supplied and a high-potential terminal of a power supply circuit that generates an operating voltage for an internal circuit of the semiconductor device; an AD converter that detects a potential difference between both ends of the first resistor element; Equipped with a current value corresponding to the detection result by the AD converter is used as a measurement result representing the current value of the first current by the current measurement circuit; Semiconductor device.
2. a second external terminal connected to the other terminal of the first resistor element, other than the one terminal connected to the first external terminal, together with a high potential side terminal of the power supply circuit; When the operation mode is a calibration mode out of a normal operation mode and a calibration mode, a reference current flows from the first external terminal to the second external terminal via the first resistor element. The semiconductor device according to claim 1 .
3. A current measurement circuit that measures a current value of a first current supplied from a battery to a semiconductor device that is the device itself, and a current value of a second current supplied from the battery to a load; an arithmetic processing circuit that calculates a remaining capacity of the battery based on an integrated value of the first current and an integrated value of the second current from the start of discharge to the end of discharge of the battery; Equipped with a first switch element provided between a first external terminal to which the output voltage of the battery is supplied and a high-potential side terminal of a power supply circuit that generates an operating voltage for an internal circuit of the semiconductor device; a second switch element provided between a third external terminal to which the output voltage of the battery is supplied via a third resistor element having a resistance value larger than a resistance component on a current path connecting the battery and the load, and a high potential side terminal of the power supply circuit; a switching control circuit that turns on the first switch element and turns off the second switch element when the operation mode is the normal operation mode out of a normal operation mode and a self-consumption current measurement mode, and turns off the first switch element and turns on the second switch element when the operation mode is the self-consumption current measurement mode; a selector that selects and outputs a potential difference between the positive terminal of the battery and the third external terminal at least when the operation mode is a self-consumption current measurement mode; an AD converter that detects the potential difference selected by the selector; Equipped with a current value corresponding to a detection result by the AD converter when the operation mode is a self-consumption current measurement mode is used as a measurement result representing a current value of the first current by the current measurement circuit; Semiconductor device.
4. A current measuring circuit that measures a current value of a first current supplied from a battery to a semiconductor device that is the device itself, and a current value of a second current supplied from the battery to a load; an arithmetic processing circuit that calculates a remaining capacity of the battery based on an integrated value of the first current and an integrated value of the second current from the start of discharge to the end of discharge of the battery; Equipped with The current measurement circuit a first resistor element provided between a first external terminal to which the output voltage of the battery is supplied and a high-potential terminal of a power supply circuit that generates an operating voltage for an internal circuit of the semiconductor device; a selector that selectively outputs a potential difference between both ends of the first resistor element and a potential difference between both ends of a second resistor element that is provided on a current path connecting the battery and the load and through which the second current supplied from the battery to the load flows; a switching control circuit that controls the selection by the selector in accordance with an operation mode; an AD converter that detects the potential difference selected by the selector; Equipped with a current value corresponding to the potential difference across the first resistor element detected by the AD converter is used as a measurement result representing the current value of the first current by the current measurement circuit, and a current value corresponding to the potential difference across the second resistor element detected by the AD converter is used as a measurement result representing the current value of the second current by the current measurement circuit. Semiconductor device.
5. The switching control circuit has an operation mode of a first mode in which the battery is not connected to the load, a second mode in which the battery is connected to the load in normal operation, and a third mode in which the battery is connected to the load in stopped operation, and in the first mode, causes the selector to select and output a potential difference across the first resistance element, in the second mode, causes the selector to select and output a potential difference across the second resistance element, and in the third mode, causes the selector to periodically switch and select and output the potential difference across the first resistance element and the potential difference across the second resistance element. The semiconductor device according to claim 4 .
6. A current measuring circuit that measures a current value of a first current supplied from a battery to a semiconductor device that is the device itself, and a current value of a second current supplied from the battery to a load; an arithmetic processing circuit that calculates a remaining capacity of the battery based on an integrated value of the first current and an integrated value of the second current from the start of discharge to the end of discharge of the battery; Equipped with The current measurement circuit a first resistor element provided between a first external terminal to which the output voltage of the battery is supplied and a high-potential terminal of a power supply circuit that generates an operating voltage for an internal circuit of the semiconductor device; an adder circuit that adds a potential difference across the first resistor element and a potential difference across a second resistor element that is provided on a current path connecting the battery and the load and through which the second current supplied from the battery to the load flows; an AD converter that detects the addition result by the addition circuit; Equipped with a current value corresponding to the detection result by the AD converter is used as a measurement result representing a total value of the current value of the first current and the current value of the second current measured by the current measurement circuit; Semiconductor device.
7. A current measuring circuit that measures a current value of a first current supplied from a battery to a semiconductor device that is the device itself, and a current value of a second current supplied from the battery to a load; an arithmetic processing circuit that calculates a remaining capacity of the battery based on an integrated value of the first current and an integrated value of the second current from the start of discharge to the end of discharge of the battery; Equipped with The current measurement circuit a first resistor element provided between a first external terminal to which the output voltage of the battery is supplied and a high-potential terminal of a power supply circuit that generates an operating voltage for an internal circuit of the semiconductor device; a first AD converter that detects a potential difference between both ends of the first resistor element; a second AD converter that detects a potential difference across a second resistor element that is provided on a current path connecting the battery and the load and through which the second current that is supplied from the battery to the load flows; an adder circuit that adds together the detection result from the first AD converter and the detection result from the second AD converter; Equipped with a current value corresponding to the addition result by the adding circuit is used as a measurement result representing a sum of the current value of the first current and the current value of the second current by the current measuring circuit; Semiconductor device.
8. A current measuring circuit that measures a current value of a first current supplied from a battery to a semiconductor device that is the device itself, and a current value of a second current supplied from the battery to a load; an arithmetic processing circuit that calculates a remaining capacity of the battery based on an integrated value of the first current and an integrated value of the second current from the start of discharge to the end of discharge of the battery; Equipped with The current measurement circuit a first resistor element provided between a fourth external terminal to which the reference voltage of the battery is supplied and a low-potential side terminal of a power supply circuit that generates an operating voltage for an internal circuit of the semiconductor device; an AD converter that detects a potential difference between both ends of the first resistor element; Equipped with a current value corresponding to the detection result by the AD converter is used as a measurement result representing the current value of the first current by the current measurement circuit; Semiconductor device.
9. A current measuring circuit that measures a current value of a first current supplied from a battery to a semiconductor device that is the device itself, and a current value of a second current supplied from the battery to a load; an arithmetic processing circuit that calculates a remaining capacity of the battery based on an integrated value of the first current and an integrated value of the second current from the start of discharge to the end of discharge of the battery; Equipped with The current measurement circuit a plurality of first resistor elements provided between a first external terminal to which the output voltage of the battery is supplied and high-potential side terminals of a plurality of functional blocks provided in the semiconductor device; a plurality of AD converters for detecting potential differences across each of the plurality of first resistor elements; Equipped with a current value corresponding to each of the detection results by the plurality of AD converters is used as a measurement result representing a current value of the first current by the current measurement circuit; Semiconductor device.
10. A current measuring circuit that measures a current value of a first current supplied from a battery to a semiconductor device that is the device itself, and a current value of a second current supplied from the battery to a load; an arithmetic processing circuit that calculates a remaining capacity of the battery based on an integrated value of the first current and an integrated value of the second current from the start of discharge to the end of discharge of the battery; Equipped with The current measurement circuit a plurality of first resistor elements provided between a first external terminal to which the output voltage of the battery is supplied and high-potential side terminals of a plurality of functional blocks provided in the semiconductor device; a selector that selectively outputs one of the potential differences across each of the plurality of first resistor elements; an AD converter that detects the potential difference selected by the selector; Equipped with a current value corresponding to the potential difference between both ends of each of the plurality of first resistor elements detected by the AD converter is used as a measurement result representing the current value of the first current measured by the current measurement circuit; Semiconductor device.
11. a comparison circuit that compares the potentials across the first resistor element; a protection circuit that protects the semiconductor device from at least one of an overvoltage and an overcurrent supplied from the battery when the comparison circuit outputs a comparison result indicating that the potential difference between both ends of the first resistance element is equal to or greater than a threshold; Furthermore, The semiconductor device according to claim 1 .
12. The semiconductor device according to claim 1; the battery; A battery pack comprising:
13. A semiconductor device comprising: using a current measurement circuit to measure a current value of a first current supplied from a battery to the semiconductor device, which is the device itself, and a current value of a second current supplied from the battery to a load; using an arithmetic processing circuit, calculating the remaining capacity of the battery based on the integrated value of the first current and the integrated value of the second current from the start of discharge to the end of discharge by the battery; A method for controlling a semiconductor device, comprising: The current measurement circuit a first resistor element provided between a first external terminal to which the output voltage of the battery is supplied and a high-potential terminal of a power supply circuit that generates an operating voltage for an internal circuit of the semiconductor device; an AD converter that detects a potential difference between both ends of the first resistor element; Equipped with a current value corresponding to the detection result by the AD converter is used as a measurement result representing the current value of the first current by the current measurement circuit; A method for controlling a semiconductor device.
14. A process of measuring, using a current measurement circuit, a current value of a first current supplied from a battery to a semiconductor device that is the device itself, and a current value of a second current supplied from the battery to a load; calculating a remaining capacity of the battery based on an integrated value of the first current and an integrated value of the second current from the start of discharge to the end of discharge by the battery using an arithmetic processing circuit; A control program for causing a computer to execute the above, The current measurement circuit a first resistor element provided between a first external terminal to which the output voltage of the battery is supplied and a high-potential terminal of a power supply circuit that generates an operating voltage for an internal circuit of the semiconductor device; an AD converter that detects a potential difference between both ends of the first resistor element; Equipped with a current value corresponding to the detection result by the AD converter is used as a measurement result representing the current value of the first current by the current measurement circuit; Control program.
Citation Information
Patent Citations
Processing device
JP1987098616A
Battery full-charge capacity detection method
JP2008261669A
Semiconductor integrated circuit and operation method therefor
JP2012247339A
Battery pack monitoring device, secondary battery apparatus and vehicle
JP2013051759A
Semiconductor device for battery control and battery pack
JP2013211975A