Electric quantity detection circuit, electric quantity detection method and electronic equipment
By designing a power detection circuit and using the single-cell platform fuel meter built in the power management chip to calculate the total power value of the battery pack, the problem of resource waste in power detection of dual-cell series battery packs is solved, and an efficient Power detection and monitoring.
Patent Information
- Application Number
- CN202011370540.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-30
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-11-30
AI Technical Summary
In the existing technology, when a battery cell group with two batteries connected in series is tested for power, the single-cell platform fuel meter in the power management chip is idle, resulting in a waste of resources.
Design a power detection circuit that measures the voltage value of a single cell in the battery pack and uses the single-cell platform fuel meter built in the power management chip to calculate the total power value of the battery pack to avoid wasting resources.
It realizes the power detection and monitoring of battery packs with multiple cells, makes full use of the resources of the power management chip, improves usage efficiency and reduces the production cost of the power detection circuit.
Smart Images

Figure CN112557915B
Abstract
Description
Technical Field
[0001] The present application relates to the field of charging technology, and in particular to a power detection circuit, a power detection method and an electronic device. Background Art
[0002] With the rapid development of electronic devices, a large number of electronic devices use a battery pack with multiple battery cells connected in series to increase the charging power and achieve the purpose of fast charging.
[0003] In the related art, taking a battery pack with two cells connected in series as an example, an independent dual-cell fuel gauge chip is usually used to detect the two cells in the battery pack, and the dual-cell fuel gauge chip provides the power information of the cells to a power management chip (Power Management IC, PMIC).
[0004] Since most power management chips have built-in single-cell platform fuel gauges, using the above circuit will cause the single-cell platform fuel gauge in the power management chip to be idle, resulting in a waste of resources. Summary of the invention
[0005] The embodiments of the present application provide a power detection circuit, a power detection method and an electronic device for realizing power detection and monitoring of a battery pack, thereby avoiding the waste of resources of a single-cell platform power meter. The technical solution includes at least the following solutions:
[0006] According to one aspect of the present application, there is provided a power detection circuit, which includes: a battery cell group, a measurement circuit and a power management chip, wherein the power management chip has a built-in single-cell platform power meter;
[0007] The battery cell group includes n battery cells connected in series, where n is an integer greater than 1;
[0008] The input end of the measuring circuit is connected to the battery cell group, and the measuring circuit is used to measure the voltage value of a single battery cell among the n battery cells;
[0009] The output end of the measurement circuit is connected to the power management chip, which is used to calculate the power value of a single battery cell based on the voltage value of a single battery cell through a single-cell platform fuel gauge, and calculate the total power value of n battery cells based on the power value of the single battery cell.
[0010] According to one aspect of the present application, a method for detecting electric quantity is provided. The method is applied to the electric quantity detection circuit as described above. The method comprises:
[0011] The measuring circuit measures the voltage value of a single battery cell among the n battery cells;
[0012] The power management chip obtains the voltage value of a single battery cell;
[0013] The power management chip calculates the total power value of n battery cells based on the voltage value of a single battery cell.
[0014] According to one aspect of the present application, an electronic device is provided, and the electronic device includes the power detection circuit as described above.
[0015] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:
[0016] After obtaining the voltage value of a single battery cell, the power management chip obtains the charge value of the single battery cell by calculation, thereby calculating the total charge value of n battery cells. That is, the power management chip can calculate the total charge value of the battery cell group based on the voltage value of a single battery cell. Through the power detection circuit provided by the present application, it is possible to realize the power detection and monitoring of a battery cell group having at least two battery cells, making full use of the single-cell platform power meter built into the power management chip, improving the use efficiency of the power management chip, and reducing the production cost of the power detection circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 is a schematic diagram of a power detection circuit provided by an exemplary embodiment of the present application;
[0019] Figure 2 is a schematic diagram of a power detection circuit provided by an exemplary embodiment of the present application;
[0020] Figure 3 is a schematic diagram of a power detection circuit provided by an exemplary embodiment of the present application;
[0021] Figure 4 is a schematic diagram of a power detection circuit provided by an exemplary embodiment of the present application;
[0022] Figure 5 is a schematic diagram of voltage equalization performed by a voltage detection chip provided by an exemplary embodiment of the present application;
[0023] Figure 6 is a flow chart of a power detection method provided by an exemplary embodiment of the present application;
[0024] Figure 7 is a flow chart of a power detection method provided by an exemplary embodiment of the present application;
[0025] Figure 8 is a flow chart of a power detection method provided by an exemplary embodiment of the present application;
[0026] Fig. 9 is a flow chart of a power detection method provided by an exemplary embodiment of the present application;
[0027] Fig.10 It is a schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present application.
[0028] The following is a description of the various reference numerals in the accompanying drawings:
[0029] 10-power detection circuit;
[0030] 11-battery cell group: 111-first battery cell; 112-second battery cell;
[0031] 12- measurement circuit: 121- voltage detection chip; 122- first voltage detection line; 123- second voltage detection line;
[0032] 13-Power management chip: 131-Single-cell platform fuel gauge;
[0033] 14-Universal Serial Bus USB interface;
[0034] 15- Charging circuit;
[0035] 16- protection components;
[0036] A, B, B1, B2, C, D, E-terminals;
[0037] 01-first control switch; 02-second control switch; 03-target resistance. DETAILED DESCRIPTION
[0038] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0039] For ease of understanding, the terms involved in the embodiments of the present application are explained below:
[0040] A power management chip refers to a chip that is responsible for the conversion, distribution, detection and other power management of electrical energy in electronic equipment. It is mainly responsible for converting source voltage and current into power that can be used by loads such as processors and sensors.
[0041] Single-cell platform fuel gauge: refers to the fuel gauge integrated into the power management chip. The fuel gauge is a device that accurately reports the information related to the power of a single or multiple cells by monitoring the cell voltage, charge and discharge current, including the hardware circuits for voltage, current, and temperature detection, and the estimation algorithm for power capacity. The single-cell platform fuel gauge only supports the power detection of a single cell.
[0042] Universal Serial Bus (USB): is a serial bus standard used to regulate the connection and communication of electronic devices.
[0043] Voltage detection chip: refers to a device used to detect the voltage of a single cell and / or multiple cells, and can also have the function of balancing the voltage of multiple cells.
[0044] Two-wire serial bus (Inter-Integrated Circuit, I2C bus): is a simple bidirectional two-wire synchronous serial bus that can be used to transmit information between two devices. The I2C bus interface is usually integrated into the chip and does not require a special interface circuit.
[0045] Digital to Analog Converter (DAC): A device that converts discrete digital signals into continuous analog signals.
[0046] Analog to Digital Converter (ADC): A device that converts continuous analog signals into discrete digital signals.
[0047] With the development of fast charging technology, electronic devices usually use battery packs connected in series for charging and discharging. In order to manage the electric energy, the power management chip needs to obtain the power information of the battery packs connected in series. Figure 1 As shown, an embodiment of the present application provides a power detection circuit. The circuit includes: a battery cell group 11, a measurement circuit 12 and a power management chip 13, and the power management chip 13 has a single-cell platform power meter 131 built in.
[0048] Schematically, the battery cell group 11 includes n battery cells connected in series, where n is an integer greater than 1. Generally, a battery cell has a positive and negative electrode, and a single or multiple battery cells are connected in series or in parallel to form a power storage part, and a single or multiple battery cells are wrapped with a protective circuit board to form a battery. In the embodiment of the present application, the battery cell group 11 includes multiple battery cells connected in series as an example, schematically as shown Figure 1 As shown, the battery cell group 11 includes at least two battery cells, a first battery cell 111 and a second battery cell 112 .
[0049] Schematically, the input end of the measuring circuit 12 is connected to the battery cell group 11, and the measuring circuit 12 is used to measure the voltage value of a single battery cell among the n battery cells. Figure 1 As shown, the battery cell group 11 and the measuring circuit 12 are connected through the branch AB. The measuring circuit 12 refers to a measuring circuit for measuring the voltage value of a single battery cell among n battery cells. Schematically, the measuring circuit 12 can measure the voltage value of only one battery cell among n battery cells, or can measure the voltage values of multiple battery cells among n battery cells, or can measure the voltage values of all battery cells among n battery cells. That is, the measuring circuit 12 can measure the voltage value of at least one battery cell among n battery cells. Schematically, the branch AB includes at least two cables for measuring the positive and negative voltages of a single battery cell among n battery cells. For example, the battery cell group 11 includes a first battery cell 111 and a second battery cell 112, and the branch AB includes three cables. Among them, the output ends of the three cables are connected to the measuring circuit 12, and the input ends of the three cables are respectively connected to three places near the positive pole of the first battery cell 111 in the series circuit, between the positive pole of the first battery cell 111 and the negative pole of the second battery cell 112, and near the negative pole of the second battery cell 112.
[0050] Schematically, the output end of the measurement circuit 12 is connected to the power management chip 13, and the power management chip 13 is used to calculate the power value of a single cell based on the voltage value of a single cell through a single cell platform fuel gauge 131, and calculate the total power value of n cells according to the power value of the single cell. Figure 1 As shown, the measurement circuit 12 is connected to the power management chip 13 through the branch CD. The single-cell platform fuel gauge 131 is a fuel gauge for measuring a single cell integrated in the power management chip 13, and the single-cell platform fuel gauge 131 can measure at least one of the voltage and current of a single cell. Schematically, the branch CD includes at least one cable for obtaining at least one of the voltage and current of a single cell. For example, the branch CD includes two cables. Among them, the input ends of the two cables are respectively connected to the positive and negative poles of the second cell 112, and the output ends of the two cables are connected to the input ends of the single-cell platform fuel gauge 131, for measuring the voltage and current of the second cell 112. Schematically, the power management chip 13 can make a more accurate estimate of the charge value of a single cell based on the voltage and current values measured by the single-cell platform fuel gauge 131.
[0051] Indicatively Figure 1 As shown, in the power detection circuit 10 provided in the embodiment of the present application, direct current is connected through the positive pole of the universal serial bus USB interface 14 and flows through the charging circuit 15 to charge the n battery cells included in the battery cell group 11.
[0052] An input terminal B of the measurement circuit 12 is connected to the battery cell group 11 through a branch AB, and voltage measurement is performed on a single battery cell among the n battery cells included in the battery cell group 11 to obtain a voltage value of at least one battery cell.
[0053] The output terminal C of the measuring circuit 12 is connected to the power management chip 13 through the branch CD. The measuring circuit 12 may send the acquired voltage value of a single battery cell to the power management chip 13 through the branch CD, or may not send it.
[0054] The power management chip 13 has a built-in single-cell platform fuel gauge 131. The single-cell platform fuel gauge 131 is used to obtain the voltage value of a single cell among the n cells included in the cell group 11, and calculate the power value of the single cell according to the voltage value of the single cell. Schematically, the voltage value of the single cell can be obtained by the measurement circuit 12, or by measuring the single cell in the cell group 11.
[0055] After obtaining the power value of a single battery cell, the power management chip 13 obtains the total power value of the n battery cells by calculation, that is, the total power value of the n battery cells is obtained by multiplying the power value of a single battery cell by n.
[0056] In order to measure the voltage value of a single battery cell, different measuring devices can be used. An optional measuring device is provided in the embodiment of the present application. Figure 2-4 As shown, the measurement circuit 12 includes a voltage detection chip 121 .
[0057] Schematically, the input end of the voltage detection chip 121 is connected to at least one of the n battery cells, and the output end of the voltage detection chip 121 is connected to the power management chip 13. The voltage detection chip refers to a device for detecting the voltage of a single cell and / or multiple cells.
[0058] Indicatively Figure 2 As shown, the input terminal B of the voltage detection chip 121 is connected to the battery cell group 11, and the output terminal C of the voltage detection chip 121 is connected to the input terminal D of the power management chip 13 through a two-wire serial I2C bus, wherein the I2C bus includes two cables.
[0059] Indicatively Figure 3 As shown, the input terminal B of the voltage detection chip 121 is connected to the battery cell group 11, and the output terminal C of the voltage detection chip 121 has a digital-to-analog converter DAC pin, which is connected to the analog-to-digital converter ADC pin on the power management chip 13 through a cable.
[0060] Indicatively Figure 4As shown, the input end B of the voltage detection chip 121 includes terminals B1, B2 and E, the terminal B1 is connected to the positive electrode of the first battery cell 111 through a cable, the terminal B2 is connected to the negative electrode of the first battery cell 111 through a cable and the connection position is located above the positive electrode of the second battery cell 112, and the terminal E is connected to the negative electrode of the second battery cell 112 through a cable; the output end C of the voltage detection chip 121 is connected to the input end D of the power management chip 13, and the branch CD can be one cable or multiple cables.
[0061] According to the above content, the voltage detection chip 121 also has the function of balancing the voltages of multiple battery cells. Schematically, in the power detection circuit 10 provided in the embodiment of the present application, the voltage detection chip 121 is also used to balance the voltages between n battery cells so that the voltage difference between the n battery cells is less than a preset value. Exemplarily, the preset value can be one of 0, 0.1, 0.15, 0.2, and 0.25. The above values are only exemplary and do not limit the preset values in this application.
[0062] The difference in the voltage values of the n battery cells is controlled within a range less than the preset value, so that the voltage values of the n battery cells tend to be consistent, and the power values of the n battery cells obtained thereby tend to be consistent, which can effectively improve the accuracy of the total power value calculated by the power management chip 13. In principle, the size of the preset value can be set according to actual needs, and this application does not limit it here. In principle, as shown in FIG. Figure 4 As shown, taking the battery cell group 11 including the first battery cell 111 and the second battery cell 112 as an example, the voltage detection chip 121 can be used to balance the voltage between the first battery cell 111 and the second battery cell 112 .
[0063] There are many ways to implement the voltage detection chip 121 to balance the voltages of n battery cells, such as discharging the battery cells with high voltage or charging the battery cells with low voltage through a series resistor to keep the voltages of the n battery cells balanced. Schematically, in the embodiment of the present application, the voltage detection chip 121 is also used to determine the target battery cell with the highest voltage among the n battery cells, and control the discharge of the target battery cell to balance the voltages between the n battery cells.
[0064] Taking the battery cell group 11 including the first battery cell 111 and the second battery cell 112 as an example, schematically as follows Figure 4As shown, the voltage detection chip 121 can be used to balance the voltages of the first battery cell 111 and the second battery cell 112. After detecting the voltages of the terminals B1, B2, and E, the voltage detection chip 121 obtains voltage values VS1, VS2, and VSS, respectively, and can obtain that the voltage value of the first battery cell 111 is VS1-VS2, and the voltage value of the second battery cell 112 is VS2-VSS. Taking the example that the value of VS1-VS2 is greater than the value of VS2-VSS, the voltage detection chip 121 can determine that the voltage value of the first battery cell 111 is the highest and determine it as the target battery cell.
[0065] Schematically, the voltage detection chip 121 has a control switch for equalizing voltage inside, and the number of control switches is the same as the number of cells in the cell group, which is used to control the charging and discharging of a single cell to keep the voltage of n cells balanced. Normally, the control switch is in the off state, and the single cell is in the charging state; when a cell needs to be discharged, the control switch needs to be closed to allow the DC power to pass.
[0066] Indicatively Figure 5 As shown, the voltage detection chip 121 includes a control circuit for controlling the first control switch 01 and the second control switch 02 built into the voltage detection chip 121. The first control switch 01 and the second control switch 02 are respectively used to control the charging and discharging of the first battery cell 111 and the second battery cell 112 to ensure that the voltages of the first battery cell 111 and the second battery cell 112 are balanced. According to the above content, after the voltage detection chip 121 determines the first battery cell 111 as the target battery cell, the first control switch 01 is closed so that the direct current passes through the terminal B1 instead of the first battery cell 111. At this time, the first battery cell 111 is in a discharge state. At the same time, a target resistor 03 is provided on the branch where the terminal B1 is located, and the target resistor 03 is used to discharge the target battery cell. When the voltage detection chip 121 measures that the difference between the voltage values of the first battery cell 111 (that is, the target battery cell) and the second battery cell 112 is less than a preset value, the first control switch 01 is disconnected so that the first battery cell 111 is switched from a discharge state to a charge state. For example, when the voltage detection chip 121 detects that the voltage values of the first battery cell 111 and the second battery cell 112 are equal, the first control switch 01 is turned off.
[0067] When the power detection circuit 10 performs power detection, the power management chip 13 can obtain the voltage value of a single battery cell in a variety of ways. Figure 2-4 As shown, taking the measurement circuit 12 including the voltage detection chip 121 as an example, the power detection circuit 10 provided in the embodiment of the present application may adopt at least one of the following three circuits:
[0068] 1. Receive the voltage value of a single battery cell through the I2C bus.
[0069] Indicatively Figure 2 As shown, in the power detection circuit 10 provided in the embodiment of the present application, the output end of the voltage detection chip 121 is connected to the power management chip 13 through a two-wire serial I2C bus.
[0070] The I2C bus is a simple bidirectional two-wire synchronous serial bus that can be used to transmit information between two devices. The two ends of the I2C bus are connected to the devices that need to transmit information. Schematically, the I2C bus includes two cables, and the input and output ends of the two cables are respectively connected to the pins on the devices that need to transmit information. In the embodiment of the present application, the devices that need to transmit information are the voltage detection chip 121 and the power management chip 13. For example, Figure 2 As shown, terminals C and D have pins for connecting to the I2C bus, and terminals C and D each have two pins for connecting to two cables of the I2C bus. The input end of the I2C bus is connected to the pin of the output end C of the voltage detection chip 121, and the output end of the I2C is connected to the pin of the input end D of the single-cell platform fuel gauge 131.
[0071] After the voltage detection chip 121 measures the voltage value of a single cell among the n cells included in the cell group 11, it sends the voltage value of the single cell to the single cell platform fuel gauge 131 through the I2C bus, and the single cell platform fuel gauge 131 receives the voltage value of the single cell. Taking the single cell as the first cell 111 as an example, the branch AB includes two cables, connecting the input end of the voltage detection chip 121 to the positive and negative electrodes of the first cell 111 respectively, and detecting that the voltages of the positive and negative electrodes of the first cell 111 are VS1 and VS2 respectively, and the voltage value of the first cell 111 is VS1-VS2; the voltage detection chip 121 sends the voltage value VS1-VS2 to the single cell platform fuel gauge 131 through the I2C bus, and the single cell platform fuel gauge 131 receives the voltage value VS1-VS2.
[0072] 2. Detect the voltage value of a single battery cell through the ADC pin.
[0073] Indicatively Figure 3 As shown, in the power detection circuit 10 provided in the embodiment of the present application, the output end of the voltage detection chip has a DAC pin, the power management chip has an ADC pin, and the DAC pin is connected to the ADC pin.
[0074] DAC is a device that converts discrete digital signals into continuous analog signals, and ADC is a device that converts continuous analog signals into discrete digital signals. Usually, there are pins on the chip for connecting DAC and ADC, and no special interface circuit is required. Figure 3As shown, the output end of the voltage detection chip 121 has a DAC pin, and the input end of the single-cell platform fuel gauge 131 has an ADC pin. The DAC pin and the ADC pin are connected through a cable to transmit the voltage value information of a single cell.
[0075] After the voltage detection chip 121 measures the voltage value of a single cell among the n cells included in the cell group 11, the voltage detection chip 121 outputs the voltage value of the single cell through the DAC pin, and the single cell platform fuel gauge 131 detects the information output by the DAC pin through the ADC pin, and obtains the voltage value of the single cell according to the detected analog signal. Taking the single cell as the second cell 112 as an example, the branch AB includes two cables, connecting the input end of the voltage detection chip 121 to the positive and negative electrodes of the second cell 112 respectively, and detecting the voltages of the positive and negative electrodes of the second cell 112 as VS2 and VSS respectively, and the voltage value of the second cell 112 can be obtained as VS2-VSS; the voltage detection chip 121 outputs the voltage value VS2-VSS through the DAC pin, and the single cell platform fuel gauge 131 detects the output information of the DAC pin through the ADC pin to obtain the voltage value VS2-VSS.
[0076] 3. Measure the voltage value of a single battery cell through the first voltage detection line and the second voltage detection line.
[0077] Indicatively Figure 4 As shown, in the power detection circuit 10 provided in the embodiment of the present application, the measurement circuit 12 further includes a first voltage detection line 122 and a second voltage detection line 123 .
[0078] Schematically, the input end of the first voltage detection line 122 is connected to the positive pole of a single battery cell, and the output end of the first voltage detection line 122 is connected to the first pin of the power management chip 13; the input end of the second voltage detection line 123 is connected to the negative pole of the single battery cell, and the output end of the second voltage detection line 123 is connected to the second pin of the power management chip 13.
[0079] The first voltage detection line 122 and the second voltage detection line 123 are used to measure the voltage value of a single battery cell, so that the power management chip 13 can calculate the total power value of n battery cells. Figure 4 As shown, the first voltage detection line 122 and the second voltage detection line 123 are used to measure the voltage value of the second battery cell 112, the input ends of the first voltage detection line 122 and the second voltage detection line 123 are respectively connected to the positive and negative poles of the second battery cell 112, and the output ends of the first voltage detection line 122 and the second voltage detection line 123 are connected to the input end of the single battery platform fuel gauge 131.
[0080] The single-cell platform fuel gauge 131 measures the voltage value of the positive electrode of the second battery cell 112 as VS3 through the first voltage detection line 122, and the single-cell platform fuel gauge 131 measures the voltage value of the negative electrode of the second battery cell 112 as VS4 through the second voltage detection line 123, so the voltage value of the second battery cell 112 can be obtained as VS3-VS4.
[0081] Indicative, Figure 4 The voltage detection chip 121 and branch CD included in the circuit are non-essential devices and cables. The voltage detection chip 121 can be used to balance the voltages of the first battery cell 111 and the second battery cell 112, and the branch CD can be used to transmit the voltage values of the first battery cell 111 and the second battery cell 112 detected by the voltage detection chip 121. Exemplarily, the power detection circuit including the first voltage detection line 122 and the second voltage detection line 123 may include only the voltage detection chip 121, only the branch CD, or may not include the voltage detection chip 121 and the branch CD, and this application does not limit this.
[0082] The three optional modes of the above circuits are only exemplary embodiments provided in this application. In actual application, they can also be separated or combined for use.
[0083] For example, the output end of the voltage detection chip 121 is connected to the power management chip 13 via a two-wire serial I2C bus, and is used to send the voltage value of the first battery cell 111; the output end of the voltage detection chip has a DAC pin, and the power management chip has an ADC pin, and the DAC pin is connected to the ADC pin, and is used to send the voltage value of the second battery cell 112.
[0084] For example, the output end of the voltage detection chip has a DAC pin, and the power management chip has an ADC pin. The DAC pin is connected to the ADC pin and is used to send the voltage values of multiple battery cells; the measurement circuit 12 also includes a first voltage detection line 122 and a second voltage detection line 123, which are used to measure the voltage value of the second battery cell 112.
[0085] For illustration purposes, the remaining splitting or merging schemes are not listed one by one, and those skilled in the art may select them according to actual needs, and this application does not limit them herein.
[0086] In addition, in order to protect the battery pack 11 from damage when an abnormality occurs, schematically shown as follows Figure 4 As shown, the power detection circuit 10 provided in the embodiment of the present application also includes a protection component 16.
[0087] Schematically, the protection component 16 is connected in series with the battery cell group 11, and is used to cut off the circuit and protect the battery cell group 11 when a circuit fault or abnormality occurs. Exemplarily, the protection component 16 can be a protection element, or a circuit composed of multiple protection elements. Exemplarily, the protection component 16 can be a fuse. The fuse can be a self-resetting fuse made of metallic sodium and has high conductivity at room temperature. When a circuit fault occurs, the current generates high temperature, causing the metallic sodium to vaporize rapidly to form a high resistance state, thereby limiting the short-circuit current; when the short-circuit current disappears, the temperature drops, and the metallic sodium restores its original conductivity.
[0088] To sum up, in the power detection circuit 10 provided in the embodiment of the present application, the power management chip 13 can calculate the total power value of the battery cell group 13 based on the voltage value of a single battery cell, thereby realizing power detection and monitoring of the battery cell group 11, making full use of the single-cell platform power meter 131 built into the power management chip 13, improving the use efficiency of the power management chip 13, and reducing the production cost of the power detection circuit 10.
[0089] Secondly, in the power detection circuit 10 provided in the embodiment of the present application, the voltage detection chip 121 can also be used to balance the voltages between n battery cells, thereby improving the accuracy of the total power value of the battery cell group 13 calculated by the power management chip 13.
[0090] In addition, the three methods for the power management chip 11 to obtain the voltage value of a single battery cell provided in the embodiments of the present application provide a variety of feasible solutions for the circuit selection of the power detection circuit 10, so that the power detection circuit 10 can adapt to a variety of application scenarios.
[0091] Indicatively Figure 6 As shown, an embodiment of the present application provides a method for detecting electric quantity, which is applied to the electric quantity detection circuit as described above. The method comprises the following steps:
[0092] Step 602 : The measuring circuit 12 measures the voltage value of a single battery cell among the n battery cells.
[0093] According to the above content, the input end of the measurement circuit 12 is connected to the battery cell group 11 to measure the voltage value of a single battery cell among the n battery cells. Specifically, the measurement circuit 12 can use different measurement devices to measure the voltage value of a single battery cell, such as a voltage detection chip 121.
[0094] Step 604: the power management chip 13 obtains the voltage value of a single battery cell.
[0095] There are at least two methods for the power management chip 13 to obtain the voltage value of a single battery cell. One is to obtain the voltage value measured by the measurement circuit 12, and the other is to obtain the voltage value directly measured on the single battery cell. For example, the power management chip 13 obtains the voltage value of a single battery cell measured by the measurement circuit 12 through the I2C bus. For another example, the single-cell platform fuel gauge 131 built into the power management chip 13 directly measures the voltage value of a single battery cell through the first voltage detection line and the second voltage detection line.
[0096] Step 606 : The power management chip 13 calculates the total power value of the n battery cells according to the voltage value of a single battery cell.
[0097] According to circuit-related theories, there are many methods for estimating the amount of electricity. Schematically, the power management chip 13 estimates the amount of electricity based on the voltage value and / or the current value.
[0098] According to step 604 , the power management chip 13 can obtain the voltage value of a single battery cell, and then obtain the power value of the single battery cell. The total power value of the n battery cells can be obtained by multiplying the power value by n.
[0099] According to the above content, since there are many ways to connect the power detection circuit, the schematic diagram is as follows Figure 7-9 As shown, according to the three ways in which the power management chip 13 obtains the voltage value of a single chip, the embodiment of the present application provides three optional power detection methods as shown below, which are applied to the power detection circuit as described above.
[0100] 1. Receive the voltage value of a single battery cell through the I2C bus.
[0101] Indicatively Figure 7 As shown, the power detection method includes the following steps:
[0102] Step 701 : The voltage detection chip 121 measures the voltage value of a single battery cell among n battery cells.
[0103] Illustratively, when the measurement circuit 12 includes a voltage detection chip 121, the voltage detection chip 121 measures the voltage value of a single cell among the n cells. The voltage detection chip 121 can measure the voltage value of one cell, or the voltage values of some cells, or the voltage values of all cells.
[0104] Step 702 : The voltage detection chip 121 balances the voltages among the n battery cells so that the voltage difference among the n battery cells is smaller than a preset value.
[0105] Schematically, when the measurement circuit 12 includes a voltage detection chip 121, the input end of the voltage detection chip 121 is connected to at least one of the n battery cells; the output end of the voltage detection chip 121 is connected to the power management chip 13, and the voltage detection chip 121 is used to balance the voltage between the n battery cells.
[0106] Specifically, step 702 includes the following three steps:
[0107] The voltage detection chip 121 determines the target cell with the highest voltage among the n cells;
[0108] The voltage detection chip 121 closes the switch of the target resistor, and the target resistor is used to discharge the target battery cell;
[0109] When the voltage difference between the n battery cells is less than a preset value, the battery cell detection chip 121 turns off the switch of the target resistor.
[0110] Taking the battery cell group 11 including the first battery cell 111 and the second battery cell 112 as an example, schematically as follows Figure 4 As shown, the voltage detection chip 121 can be used to balance the voltages of the first battery cell 111 and the second battery cell 112. After detecting the voltages of the terminals B1, B2, and E, the voltage detection chip 121 obtains voltage values VS1, VS2, and VSS, respectively, and can obtain that the voltage value of the first battery cell 111 is VS1-VS2, and the voltage value of the second battery cell 112 is VS2-VSS. Taking the example that the size of VS1-VS2 is greater than the size of VS2-VSS, the voltage detection chip 121 can determine that the voltage value of the first battery cell 111 is the highest and determine it as the target battery cell.
[0111] The voltage detection chip 121 includes a control circuit for controlling a first control switch and a second control switch ( Figure 4 Not shown, see Figure 5 ), the first control switch and the second control switch are used to control the charging and discharging of the first battery cell 111 and the second battery cell 112 respectively, so as to ensure that the voltages of the first battery cell 111 and the second battery cell 112 are balanced. According to the foregoing, after the voltage detection chip 121 determines the first battery cell 111 as the target battery cell, the first control switch is closed so that the direct current passes through the terminal B1 instead of the first battery cell 111. At this time, the first battery cell 111 is in a discharging state. At the same time, a target resistor is provided on the branch where the terminal B1 is located, and the target resistor is used to discharge the target battery cell. When the voltage detection chip 121 measures that the difference between the voltage values of the first battery cell 111 (also known as the target battery cell) and the second battery cell 112 is less than a preset value, the first control switch is disconnected so that the first battery cell 111 is switched from a discharging state to a charging state.
[0112] Illustratively, step 702 is an optional step.
[0113] Step 703: The power management chip 13 receives the voltage value of a single battery cell through the I2C bus.
[0114] Illustratively, when the output end of the voltage detection chip 121 is connected to the power management chip 13 via an I2C bus, the voltage value of a single battery cell measured by the voltage detection chip 121 is sent via I2C, and the power management chip 13 receives the voltage value.
[0115] Step 704 : The single-cell platform fuel gauge 131 calculates the power value of the single cell based on the voltage value of the single cell.
[0116] After obtaining the voltage value of a single battery cell, the single battery cell platform power meter 131 calculates the power value of the single battery cell through a power estimation method.
[0117] Step 705 : The power management chip 13 calculates the total power value of the n battery cells according to the power value of a single battery cell.
[0118] Illustratively, after obtaining the power value of a single battery cell calculated by the single-cell platform power meter 131 , the power management chip 13 multiplies the power value by n to obtain the total power value of the n battery cells.
[0119] 2. Detect the voltage value of a single battery cell through the ADC pin.
[0120] Indicatively Figure 8 As shown, the power detection method includes the following steps:
[0121] Step 801 : The voltage detection chip 121 measures the voltage value of a single battery cell among n battery cells.
[0122] In step 802 , the voltage detection chip 121 balances the voltages among the n battery cells so that the voltage difference among the n battery cells is smaller than a preset value.
[0123] Steps 801 and 802 are the same as steps 701 and 702 and will not be described again here.
[0124] Step 803: The power management chip 13 detects the voltage value of a single battery cell through the ADC pin, and the voltage value of the single battery cell is output by the ADC pin.
[0125] Schematically, the output end of the voltage detection chip has a DAC pin, and the power management chip has an ADC pin. When the DAC pin is connected to the ADC pin, the voltage value of a single battery cell measured by the voltage detection chip 121 is output through the DAC pin, and the power management chip 13 obtains the voltage value through the ADC pin.
[0126] Step 804 : The single-cell platform fuel gauge 131 calculates the power value of the single cell based on the voltage value of the single cell.
[0127] Step 805 : The power management chip 13 calculates the total power value of n battery cells according to the power value of a single battery cell.
[0128] Steps 804 and 805 are the same as steps 704 and 705 and will not be described again here.
[0129] 3. Measure the voltage value of a single battery cell through the first voltage detection line and the second voltage detection line.
[0130] Indicatively Fig. 9 As shown, the power detection method includes the following steps:
[0131] Step 902 , the power management chip 13 measures the voltage value of a single battery cell through the first voltage detection line 122 and the second voltage detection line 123 .
[0132] Illustratively, when the measurement circuit 12 includes a first voltage detection line 122 and a second voltage detection line 123, the input end of the first voltage detection line 122 is connected to the positive electrode of a single battery cell, and the output end of the first voltage detection line 122 is connected to the first pin of the power management chip 13; the input end of the second voltage detection line 123 is connected to the negative electrode of the single battery cell, and the output end of the second voltage detection line 123 is connected to the second pin of the power management chip 13. The power management chip 13 obtains the voltage value of the single battery cell by detecting the positive and negative voltages of the single battery cell.
[0133] Step 904 : The single-cell platform fuel gauge 131 calculates the power value of the single cell based on the voltage value of the single cell.
[0134] Step 906 : The power management chip 13 calculates the total power value of the n battery cells according to the power value of a single battery cell.
[0135] Steps 904 and 906 are the same as steps 704 and 705 and will not be described again here.
[0136] In summary, the three optional power detection methods provided in the embodiments of the present application can calculate the total power value of n battery cells through the voltage value of a single battery cell, thereby realizing power detection and monitoring of n battery cells.
[0137] Indicatively Fig.10As shown, the embodiment of the present application further provides an electronic device 100, which includes the power detection circuit 10 as described above. Schematically, the electronic device 100 can be a mobile terminal using a battery pack, such as a computer, a smart phone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop computer, a desktop computer, a smart TV, a smart car, or at least one of a smart device.
[0138] Through the above-mentioned power detection circuit 10, the electronic device 100 can detect and monitor the power of the battery pack carried, improve the use efficiency of the power management chip, simplify the internal structure of the electronic device 100, and reduce the production cost.
[0139] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0140] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0141] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A power detection circuit, characterized in that: The power detection circuit includes: a battery cell group, a measurement circuit and a power management chip, wherein the power management chip has a built-in single-cell platform power meter; The battery cell group includes n battery cells connected in series, where n is an integer greater than 1; The input end of the measuring circuit is connected to the battery cell group, and the measuring circuit is used to measure the voltage value of a single battery cell among the n battery cells; The output end of the measurement circuit is connected to the power management chip, and the power management chip is used to calculate the power value of the single battery cell based on the voltage value of the single battery cell through the single battery cell platform power meter, and calculate the total power value of the n battery cells according to the power value of the single battery cell; Wherein, the measurement circuit comprises: a voltage detection chip; The input end of the voltage detection chip is connected to at least one of the n battery cells; The output end of the voltage detection chip is connected to the power management chip; The voltage detection chip has a control switch for balancing voltage inside, the number of the control switches is the same as the number of cells in the cell group, and the control switch is used to control the charging and discharging of a single cell to balance the voltage between the n cells.
2. The electric quantity detection circuit according to claim 1, characterized in that: The output end of the voltage detection chip is connected to the power management chip via a two-wire serial I2C bus.
3. The electric quantity detection circuit according to claim 1, characterized in that: The output end of the voltage detection chip has a digital-to-analog converter DAC pin, and the power management chip has an analog-to-digital converter ADC pin; The DAC pin is connected to the ADC pin.
4. The electric quantity detection circuit according to claim 1, characterized in that: The measurement circuit further includes: a first voltage detection line and a second voltage detection line; The input end of the first voltage detection line is connected to the positive electrode of the single battery cell, and the output end of the first voltage detection line is connected to the first pin of the power management chip; The input end of the second voltage detection line is connected to the negative electrode of the single battery cell, and the output end of the second voltage detection line is connected to the second pin of the power management chip.
5. The electric quantity detection circuit according to any one of claims 2 to 4, characterized in that: The voltage detection chip is also used to balance the voltages among the n battery cells so that the voltage value difference among the n battery cells is smaller than a preset value.
6. The electric quantity detection circuit according to claim 1, characterized in that: The voltage detection chip is used to determine a target battery cell having the highest voltage among the n battery cells, and control the discharge of the target battery cell to balance the voltages among the n battery cells.
7. A method for detecting electric quantity, characterized in that: The method is applied to the power detection circuit according to any one of claims 1 to 6, and the method comprises: The measuring circuit measures the voltage value of the single battery cell among the n battery cells; The power management chip obtains the voltage value of the single battery cell; The power management chip calculates the total power value of the n battery cells according to the voltage value of the single battery cell.
8. The method for detecting electric quantity according to claim 7, characterized in that: The power management chip calculates the total power value of the n battery cells according to the voltage value of the single battery cell, including: The single-cell platform fuel gauge calculates the power value of the single cell based on the voltage value of the single cell; The power management chip calculates the total power value of the n battery cells according to the power value of the single battery cell.
9. The method for detecting electric quantity according to claim 7, characterized in that: The method further comprises: The voltage detection chip balances the voltages among the n battery cells so that the voltage value difference among the n battery cells is smaller than a preset value.
10. An electronic device, characterized in that: The electronic device comprises the power detection circuit as described in any one of claims 1 to 6.
