Electronic equipment and control method and control device thereof
By designing the first battery assembly and the second battery assembly in the electronic device and using the control circuit to control the charge and discharge switch tube according to the battery voltage value, the problem of the switching tube and the driving circuit occupying space and increasing costs is solved, and space saving and Cost reduction.
Patent Information
- Application Number
- CN202411571752.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-02-11
AI Technical Summary
In existing electronic devices, the provided switch tubes and corresponding driving circuits occupy a large space, increasing manufacturing costs.
An electronic device is designed, adopting a first battery assembly and a second battery assembly, and controlling the charge and discharge switch tubes to be turned on or off according to the battery voltage value through a control circuit to avoid mutual charging.
There is no need to install independent switching tubes and driving circuits for the first battery, saving circuit board space and reducing manufacturing costs.
Smart Images

Figure CN119419995A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to an electronic equipment and a control method and a control device thereof. Background Art
[0002] In the related technical solutions, the electronic device adopts a design scheme of connecting two batteries in parallel, specifically, Figure 1 As shown, the electronic device 100' comprises a first battery 102', a second battery 104', a charging circuit 106', a charging interface 108' and a switch tube 110'. The charging interface 108' is connected to the input end of the charging circuit 106', the first output end of the charging circuit 106' is connected to the positive electrode of the first battery 102' through the switch tube 110', the second output end of the charging circuit 106' is connected to the positive electrode of the second battery 104', the negative electrode of the first battery 102' and the negative electrode of the second battery 104' are grounded, and the charging circuit 106' comprises a general charging module 1062' and a fast charging module 1064' arranged in parallel.
[0003] When the voltage difference between the first battery 102' and the second battery 104' is relatively large, if the first battery 102' and the second battery 104' are directly connected in parallel, a mutual charging current will be generated between the first battery 102' and the second battery 104', damaging the batteries. The switch tube 110' can play a role of isolation to avoid mutual charging between the first battery 102' and the second battery 104'.
[0004] The switch tube 110' usually adopts a 2×2 or 3×3 n-type substrate, a p-channel, and a MOS tube (positive channel Metal Oxide Semiconductor, PMOS) that transports current by the flow of holes. The Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET) is abbreviated as MOS.
[0005] Meanwhile, the switch tube 110 ′ needs a corresponding driving circuit to be controlled. Therefore, the switch tube 110 ′ and the corresponding driving circuit will occupy a large space on the circuit board of the electronic device, and will also increase the manufacturing cost of the electronic device. Summary of the invention
[0006] The purpose of the embodiments of the present application is to provide an electronic device and a control method and a control device thereof, which can solve the problem that the set switch tube and the corresponding drive circuit will occupy a large space on the circuit board in the electronic device and will also increase the manufacturing cost of the electronic device.
[0007] In a first aspect, an embodiment of the present application provides an electronic device, comprising: a first battery assembly, the first battery assembly comprising a first battery protection board and a first battery, the first battery protection board comprising a first charge and discharge switch tube, the negative electrode of the first battery is connected to the first end of the first charge and discharge switch tube, and the second end of the first charge and discharge switch tube is grounded; a second battery assembly, the second battery assembly is connected to the first battery assembly, and the second battery assembly comprises a second battery; a control circuit, connected to the first battery protection board, and used to control the first charge and discharge switch tube to be turned on or off according to the voltage value of the first battery and the voltage value of the second battery.
[0008] In a second aspect, an embodiment of the present application provides a control method for an electronic device such as any one of the first aspect, the control method comprising: obtaining a voltage value of a first battery and a voltage value of a second battery; and controlling a first charge and discharge switch tube to be turned on or off according to the voltage value of the first battery and the voltage value of the second battery.
[0009] In a third aspect, an embodiment of the present application provides a control device for an electronic device as described in any one of the first aspects, the control device comprising: an acquisition circuit for acquiring a voltage value of a first battery and a voltage value of a second battery; and a control circuit for controlling the first charge and discharge switch tube to be turned on or off according to the voltage value of the first battery and the voltage value of the second battery.
[0010] In a fourth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method of the second aspect.
[0011] In a fifth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method of the second aspect.
[0012] In an embodiment of the present application, an electronic device is proposed, which includes a first battery assembly, a second battery assembly and a control circuit. The first battery assembly includes a first battery protection board and a first battery, and a first charge and discharge switch tube is provided in the first battery protection board. Therefore, the first charge and discharge switch tube in the first battery protection board can be used as a switch tube to prevent the first battery and the second battery from charging each other. In this process, there is no need to set an independent switch tube and a corresponding drive circuit for the first battery, which saves space on the circuit board and reduces the manufacturing cost of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a connection diagram of an electronic device in a related technical solution;
[0014] Figure 2It is a schematic diagram of the topology of an electronic device provided in some embodiments of the present application;
[0015] Figure 3 is a topological schematic diagram of a first battery assembly and a control circuit provided in some embodiments of the present application;
[0016] Figure 4 is a topological schematic diagram of a first battery protection board provided in some embodiments of the present application;
[0017] Figure 5 It is one of the flow charts of the control method provided in some embodiments of the present application;
[0018] Figure 6 This is the second flow chart of the control method provided in some embodiments of the present application;
[0019] Figure 7 is a schematic block diagram of a control device provided in some embodiments of the present application;
[0020] Figure 8 It is a schematic diagram of the hardware structure of the electronic device in the embodiment of the present application.
[0021] Attached Figure 1 Markings:
[0022] 100' electronic device, 102' first battery, 104' second battery, 106' charging circuit, 1062' general charging module, 1064' fast charging module, 108' charging interface, 110' switch tube.
[0023] Attached Figures 2 to 4 Markings:
[0024] 100 electronic device, 200 first battery assembly, 202 first battery protection board, Battery1 first battery, 2022 first charge and discharge switch tube, 2024 first protection chip, 2026 drive switch tube, Q1 first charge switch tube, Q2 first discharge switch tube, Q3 first drive switch tube, Q4 second drive switch tube, 2028 first connection terminal, R1 first current limiting resistor, R2 second current limiting resistor, 302 second connection terminal, 304 second battery protection board, 3042 second charge and discharge switch tube Discharge switch tube, 3044 second protection chip, 300 second battery assembly, Battery2 second battery, 400 control circuit, 402 charging interface, 404 charging circuit, GPIO1 first control terminal, GPIO2 second control terminal, JR1 first access terminal, JR2 second access terminal, JR3 third access terminal, JR4 fourth access terminal, G1 first power supply connection terminal, D1 first ground terminal, SC power supply output terminal, G2 second power supply connection terminal, D2 second ground terminal, SR power supply access terminal. DETAILED DESCRIPTION
[0025] The embodiments of the present application will be described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and should not be construed as limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0026] The term "first" or "second" in the specification and claims of this application may include one or more of the features explicitly or implicitly. In the description of this application, unless otherwise specified, "plurality" means two or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally means that the objects connected before and after are in an "or" relationship.
[0027] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0028] The electronic device and its control method and control device provided in the embodiments of the present application are described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0029] In some embodiments of the present application, Figure 2 , Figure 3 and Figure 4 As shown, an electronic device 100 is proposed, including: a first battery assembly 200, the first battery assembly 200 includes a first battery protection board 202 and a first battery Battery1, the first battery protection board 202 includes a first charge and discharge switch tube 2022, the negative electrode B- of the first battery Battery1 is connected to the first end of the first charge and discharge switch tube 2022, and the second end of the first charge and discharge switch tube 2022 is grounded; a second battery assembly 300, the second battery assembly 300 is connected to the first battery assembly 200, and the second battery assembly 300 includes a second battery Battery2; a control circuit 400, connected to the first battery protection board 202, and used to control the first charge and discharge switch tube 2022 to be turned on or off according to the voltage value of the first battery Battery1 and the voltage value of the second battery Battery2.
[0030] In some embodiments of the present application, the first battery protection board 202 may be understood as a circuit board that protects the first battery Battery1 during the charging and discharging process of the first battery Battery1.
[0031] Specifically, the first battery protection board 202 realizes the charge and discharge protection of the first battery Battery1 by turning on or off the first charge and discharge switch tube 2022, thereby reducing the occurrence of overcharge, overdischarge and the like of the first battery Battery1.
[0032] In some embodiments of the present application, the control circuit 400 can be understood as a central processing unit, a microcontroller unit or other chip with control functions in the electronic device 100. The control circuit 400 can be selected from the electronic device 100 according to actual needs and will not be repeated here.
[0033] In an embodiment of the present application, an electronic device 100 is proposed, and the electronic device 100 includes a first battery assembly 200, a second battery assembly 300, and a control circuit 400. Among them, the first battery assembly 200 includes a first battery protection board 202 and a first battery Battery1, and a first charge and discharge switch tube 2022 is provided in the first battery protection board 202. Therefore, the first charge and discharge switch tube 2022 in the first battery protection board 202 can be used as a switch tube to prevent the first battery Battery1 and the second battery Battery2 from charging each other. In this process, there is no need to set an independent switch tube and a corresponding drive circuit for the first battery Battery1, which saves space on the circuit board and reduces the manufacturing cost of the electronic device 100.
[0034] Specifically, the first charge and discharge switch tube 2022 is controlled to be turned on or off according to the voltage value of the first battery Battery1 and the voltage value of the second battery Battery2. It can be understood that the voltage difference between the voltage value of the first battery Battery1 and the voltage value of the second battery Battery2 is determined; when the voltage difference is less than the first voltage threshold, the first charge and discharge switch tube 2022 is controlled to be turned on; when the voltage difference is greater than or equal to the first voltage threshold, the first charge and discharge switch tube 2022 is controlled to be turned off, until the updated voltage difference is less than the first voltage threshold, and the first charge and discharge switch tube 2022 is controlled to be turned on.
[0035] In this embodiment, by determining the voltage difference, when the voltage difference is less than the first voltage threshold, it is considered that the voltage difference between the first battery Battery 1 and the second battery Battery 2 is not large, and even if there is mutual charging, there is less damage to the first battery Battery 1 and the second battery Battery 2. By controlling the first charge and discharge switch tube 2022 to be turned on, the first battery Battery 1 and the second battery Battery 2 are controlled to simultaneously power other components of the electronic device 100.
[0036] When the voltage difference is greater than or equal to the first voltage threshold, it is considered that the voltage difference between the first battery Battery1 and the second battery Battery2 is large, and the first charge and discharge switch tube 2022 is controlled to be cut off to avoid mutual charging between the first battery Battery1 and the second battery Battery2, thereby protecting the first battery Battery1 and the second battery Battery2.
[0037] In addition, after the first charge and discharge switch tube 2022 is controlled to be turned off, if the updated voltage difference is less than the first voltage threshold, it is considered that the voltage difference between the first battery Battery1 and the second battery Battery2 is not large, and even if there is a mutual charging situation, the damage to the first battery Battery1 and the second battery Battery2 is small. By controlling the first charge and discharge switch tube 2022 to be turned on, the first battery Battery1 and the second battery Battery2 are used to simultaneously power other components of the electronic device 100.
[0038] In some embodiments of the present application, the first charge and discharge switch tube 2022 is an N-type metal-oxide-semiconductor (NMOS).
[0039] In some embodiments of the present application, the first battery protection board 202 also includes: a first protection chip 2024, a first end of the first protection chip 2024 is connected to the positive electrode B+ of the first battery Battery1; a driving switch tube 2026, a first end of the driving switch tube 2026 is connected to the first protection chip 2024, a second end of the driving switch tube 2026 is connected to the control end of the first charge and discharge switch tube 2022, and the control end of the driving switch tube 2026 is connected to the control circuit 400; wherein the control circuit 400 controls the first charge and discharge switch tube 2022 to be turned on or off through the driving switch tube 2026.
[0040] In some embodiments of the present application, the first protection chip 2024 may be understood as a chip for performing charge and discharge protection on the first battery Battery1. Exemplarily, the first protection chip 2024 is an analog front-end chip.
[0041] Among them, the analog front end (Analog Front End, AFE) chip is a chip commonly used in battery management systems.
[0042] In some embodiments of the present application, a driving switch tube 2026 is provided so as to drive the first charge and discharge switch tube 2022 to be turned on or off.
[0043] Exemplarily, the driving switch tube 2026 is an N-metal-oxide-semiconductor (NMOS).
[0044] In this embodiment, considering that the driving switch tube 2026 is used to drive the first charge and discharge switch tube 2022 to be turned on or off, it does not require a large current when working. Therefore, the smallest packaged NMOS can be selected, thereby saving space on the circuit board and reducing the manufacturing cost of the electronic device 100.
[0045] In this embodiment, the driving switch tube 2026 is connected in series between the first protection chip 2024 and the control end of the first charge and discharge switch tube 2022, so that when the driving switch tube 2026 is in the on state, the first protection chip 2024 can still control the on and off of the first charge and discharge switch tube 2022, so that the first battery protection board 202 can still protect the first battery Battery1.
[0046] The control end of the driving switch tube 2026 is connected to the control circuit 400, so the control circuit 400 can also control the conduction and cutoff of the first charge and discharge switch tube 2022 to prevent the first battery Battery1 and the second battery Battery2 from charging each other, thereby protecting the first battery Battery1 and the second battery Battery2.
[0047] Obviously, in the above embodiment, while not affecting the charge and discharge protection of the first battery Battery1, the first battery Battery1 and the second battery Battery2 can be prevented from charging each other, thereby realizing the reuse of the first charge and discharge switch tube 2022. There is no need to set an independent switch tube and a corresponding drive circuit for the first battery Battery1, which saves space on the circuit board and reduces the manufacturing cost of the electronic device 100.
[0048] In some embodiments of the present application, when the first charge and discharge switch tube 2022 is an NMOS, the first end of the driving switch tube 2026 and the second end of the driving switch tube 2026 are connected in series between the first protection chip 2024 and the gate of the first charge and discharge switch tube 2022 .
[0049] In some embodiments of the present application, the first charge and discharge switch tube 2022 includes a first charge switch tube Q1 and a first discharge switch tube Q2, the first end of the first charge switch tube Q1 is connected to the negative electrode of the first battery Battery1, the first end of the first discharge switch tube Q2 is connected to the second end of the first charge switch tube Q1, and the second end of the first discharge switch tube Q2 is grounded; the drive switch tube 2026 includes a first drive switch tube Q3 and a second drive switch tube Q4, the first end of the first drive switch tube Q3 is connected to the first output end of the first protection chip 2024, the second end of the first drive switch tube Q3 is connected to the control end of the first charge switch tube Q1, the control end of the first drive switch tube Q3 is connected to the first control end of the control circuit 400, the first end of the second drive switch tube Q4 is connected to the second output end of the first protection chip 2024, the second end of the second drive switch tube Q4 is connected to the control end of the first discharge switch tube Q2, and the control end of the second drive switch tube Q4 is connected to the second control end of the control circuit 400.
[0050] In this embodiment, the first battery protection board 202 is used to protect the first battery Battery1 during the charging and discharging process of the first battery Battery1. The charging and discharging are divided into a charging state and a discharging state. Therefore, the first charging and discharging switch tube 2022 includes a first charging switch tube Q1 and a first discharging switch tube Q2. At this time, the driving switch tube 2026 is also divided into a first driving switch tube Q3 and a second driving switch tube Q4 according to the conditions of the first charging switch tube Q1 and the first discharging switch tube Q2. In the process of driving the first charging and discharging switch tube 2022 to be turned on or off by the driving switch tube 2026, the control circuit 400 needs to realize the separate control of the first charging switch tube Q1 and the first discharging switch tube Q2 through the first driving switch tube Q3 and the second driving switch tube Q4 respectively, so as to prevent the first battery Battery1 and the second battery Battery2 from being charged mutually.
[0051] In some embodiments of the present application, the first battery assembly 200 also includes: a first connection terminal 2028, a first drive switch tube Q3, a second drive switch tube Q4, a second battery assembly 300 and a control circuit 400 are connected through the first connection terminal 2028, and the first connection terminal 2028 includes a first access terminal JR1, a second access terminal JR2, a third access terminal JR3, a fourth access terminal JR4, a first power supply connection terminal G1, a first ground terminal D1 and a power supply output terminal SC; wherein, the control end of the first drive switch tube Q3 is connected to the first access terminal JR1, the first control end of the control circuit 400 is connected to the second access terminal JR2, the control end of the second drive switch tube Q4 is connected to the third access terminal JR3, the second control end of the control circuit 400 is connected to the fourth access terminal JR4, the first power supply connection terminal G1 is connected to the positive electrode of the first battery Battery1, the power supply output terminal SC is connected to the second battery assembly 300, and the second end of the first discharge switch tube Q2 is connected to the first ground terminal D1.
[0052] In this embodiment, the first connection terminal 2028 is also a BTB connector for the first battery Battery1 .
[0053] The first power supply connection terminal G1 can be used as the positive electrode P+ of the first battery assembly 200 , and the first ground terminal D1 can be used as the positive electrode P− of the first battery assembly 200 .
[0054] Among them, BTB connector is the abbreviation of Board-to-board Connectors. BTB connector is used to connect two circuit boards to achieve mechanical and electrical connection. In the embodiment of the present application, the BTB connector is a battery BTB, that is, a connector used to connect a battery assembly with an electronic device 100.
[0055] In this embodiment, the first connecting terminal 2028 can be used to connect the first driving switch tube Q3, the second driving switch tube Q4, the second battery assembly 300 and the control circuit 400, thereby achieving rapid installation of the first battery assembly 200, the control circuit 400 and the second battery assembly 300, thereby improving the assembly efficiency of the electronic device 100.
[0056] Among them, the second battery assembly 300 is connected to the power supply output terminal, so that when the first connection terminal 2028 is powered, the second battery assembly 300 can draw power from the first connection terminal 2028 and charge the second battery Battery2. At the same time, the second battery Battery2 also supplies power to the control circuit 400 through the first connection terminal 2028, so that the control circuit 400 controls the conduction and cutoff of the first discharge switch tube Q2.
[0057] In some embodiments of the present application, if the driving switch transistor 2026 is an NMOS, according to the conduction condition of the NMOS, it is necessary that Vgs > Vgsth for the driving switch transistor 2026 to conduct.
[0058] Then, the first control terminal GPIO1 of the control circuit 400 and the second control terminal GPIO2 of the control circuit 400 are pulled high to 1.8V. The Vgs of the first driving switch transistor Q3 = Vg - Vs = 1.8 - 0 = 1.8V > Vgsth, and the Vgs of the second driving switch transistor Q4 = Vg - Vs = 1.8 - 0 = 1.8V > Vgsth. The first driving switch transistor Q3 and the second driving switch transistor Q4 conduct. Subsequently, the DO terminal and the CO terminal of the first protection chip 2024 are connected to the gates of the corresponding first charging switch transistor Q1 and the first discharging switch transistor Q2. When the first battery Battery1 and the second battery Battery2 are installed in place, the DO terminal and the CO terminal of the first protection chip 2024 output a high level. Therefore, the Vgs of the first charging switch transistor Q1 and the first discharging switch transistor Q2 ≥ Vgsth, and the first charging switch transistor Q1 and the first discharging switch transistor Q2 are all conducting.
[0059] If the first control terminal GPIO1 of the control circuit 400 and the second control terminal GPIO2 of the control circuit 400 are pulled low to 0V, the Vgs of the first driving switch transistor Q3 = Vg - Vs = 0 - 0 = 0V < Vgsth, and the Vgs of the second driving switch transistor Q4 = Vg - Vs = 0 - 0 = 0V < Vgsth. The first driving switch transistor Q3 and the second driving switch transistor Q4, the DO terminal and the CO terminal of the first protection chip 2024 remain disconnected from the gates of the corresponding first charging switch transistor Q1 and the first discharging switch transistor Q2, and the first charging switch transistor Q1 and the first discharging switch transistor Q2 are all cut off.
[0060] In some embodiments of the present application, the first battery assembly 200 further includes: a first current-limiting resistor R1, connected in series between the control terminal of the first driving switch transistor Q3 and the first access terminal; and / or a second current-limiting resistor R2, connected in series between the control terminal of the second driving switch transistor Q4 and the third access terminal.
[0061] In this embodiment, by setting the first current-limiting resistor R1 and the second current-limiting resistor R2, the first current-limiting resistor R1 and the second current-limiting resistor R2 are used to limit the current of the control terminal of the first driving switch transistor Q3 and the control terminal of the second driving switch transistor Q4, thereby reducing the probability of overcurrent damage to the first driving switch transistor Q3 and the second driving switch transistor Q4, and improving the reliability of the operation of the electronic device 100.
[0062] In some embodiments of the present application, the second battery assembly 300 also includes: a second connection terminal 302, the second connection terminal 302 includes a second power supply connection terminal G2, a second ground terminal D2 and a power supply access terminal SR, the second power supply connection terminal G2 is connected to the positive electrode of the second battery Battery2, the second ground terminal D2 is connected to the negative electrode of the second battery Battery2, and the power supply access terminal SR is connected to the power supply output terminal.
[0063] In this embodiment, the second battery assembly 300 is further provided with a second connection terminal 302 , so as to connect the second battery Battery2 by using the second connection terminal 302 and connect it to the first connection terminal 2028 through the power supply access terminal.
[0064] In this process, when the first battery Battery1 is isolated from the second battery Battery2 by the first charge and discharge switch tube 2022, the second battery Battery2 can still be used to supply power to the second connection terminal 302, and to supply power to other components of the electronic device 100 via the first connection terminal 2028, thereby ensuring stable operation of the electronic device 100.
[0065] Illustratively, when the first battery Battery1 is isolated from the second battery Battery2 by the first charge and discharge switch tube 2022, the second battery Battery2 can still be used to supply power to the second connection terminal 302, and supply power to the control circuit 400 via the first connection terminal 2028, so that the control circuit 400 can control the first charge and discharge switch tube 2022 to be turned on.
[0066] In some embodiments of the present application, the second battery assembly 300 also includes: a second battery protection board 304, the second battery protection board 304 includes a second charge and discharge switch tube 3042 and a second protection chip 3044; the second charge and discharge switch tube 3042 is connected in series between the second ground terminal and the negative electrode of the second battery Battery2; the first end of the second protection chip 3044 is connected to the positive electrode of the second battery Battery2, and the output end of the second protection chip 3044 is connected to the control end of the second charge and discharge switch tube 3042.
[0067] In this embodiment, the second battery protection board 304 is provided so that the second battery Battery2 can be charged and discharged using the second charge and discharge switch tube 3042 and the second protection chip 3044 provided on the second battery protection board 304, thereby improving the safety of the second battery Battery2.
[0068] In some embodiments of the present application, the electronic device 100 also includes: a charging interface 402 for connecting to a power supply; a charging circuit 404, wherein the input end of the charging circuit 404 is connected to the charging interface 402, and the output end of the charging circuit 404 is connected to the first battery protection board 202, for charging the first battery Battery1 and the second battery Battery2.
[0069] In some embodiments of the present application, the charging circuit 404 includes a general charging module and a fast charging module, wherein the charging power of the fast charging module for the first battery Battery1 and the second battery Battery2 is greater than the charging power of the general charging module for the first battery Battery1 and the second battery Battery2.
[0070] In this embodiment, by connecting the output end of the charging circuit 404 to the first battery protection board 202, in this process, when the power stored in the first battery Battery1 and the second battery Battery2 is insufficient, the charging circuit 404 can be used to charge the first battery Battery1 and the second battery Battery2.
[0071] In some embodiments of the present application, when the voltage difference is greater than or equal to the first voltage threshold and the voltage value of the first battery Battery1 is greater than the voltage value of the second battery Battery2, the first charge and discharge switch tube 2022 is controlled to be cut off; the second battery Battery2 is charged and the voltage difference is updated; if the updated voltage difference is less than the first voltage threshold, the first charge and discharge switch tube 2022 is controlled to be turned on.
[0072] In this embodiment, in a charging scenario, if the voltage difference is greater than or equal to the first voltage threshold, and the voltage value of the first battery Battery1 is greater than the voltage value of the second battery Battery2, it is considered that the second battery Battery2 needs to be charged, while the first battery Battery1 does not need to be charged. By controlling the first charge and discharge switch tube 2022 to be cut off, the charging circuit 404 gives priority to charging the second battery Battery2, thereby improving the fullness of the first battery Battery1 and the second battery Battery2.
[0073] In some embodiments of the present application, Figure 5 As shown, a control method is proposed, which is used for any electronic device as described above, and the control method includes:
[0074] Step 502, obtaining a voltage value of a first battery and a voltage value of a second battery;
[0075] Step 504: Control the first charge and discharge switch tube to be turned on or off according to the voltage value of the first battery and the voltage value of the second battery.
[0076] In this embodiment, the first charge and discharge switch tube in the first battery protection board can be used as a switch tube to prevent the first battery and the second battery from charging each other. In this process, there is no need to set an independent switch tube and a corresponding drive circuit for the first battery, which saves space on the circuit board and reduces the manufacturing cost of the electronic device.
[0077] Controlling the first charge and discharge switch tube to be turned on or off according to the voltage value of the first battery and the voltage value of the second battery specifically includes: determining the voltage difference between the voltage value of the first battery and the voltage value of the second battery; when the voltage difference is less than the first voltage threshold, controlling the first charge and discharge switch tube to be turned on; when the voltage difference is greater than or equal to the first voltage threshold, controlling the first charge and discharge switch tube to be turned off, until the updated voltage difference is less than the first voltage threshold, controlling the first charge and discharge switch tube to be turned on.
[0078] In this embodiment, the voltage difference is determined so that when the voltage difference is less than the first voltage threshold, it is considered that the voltage difference between the first battery and the second battery is not large, and even if there is mutual charging, the damage to the first battery and the second battery is small. The first charge and discharge switch tube is controlled to be turned on so that the first battery and the second battery are controlled to supply power to other components of the electronic device at the same time.
[0079] When the voltage difference is greater than or equal to the first voltage threshold, it is considered that the voltage difference between the first battery and the second battery is large, and the first charge and discharge switch tube is controlled to be cut off to avoid mutual charging between the first battery and the second battery, thereby protecting the first battery and the second battery.
[0080] In addition, after the first charge and discharge switch tube is controlled to be turned off, if the updated voltage difference is less than the first voltage threshold, it is considered that the voltage difference between the first battery and the second battery is not large, and even if there is a mutual charging situation, the damage to the first battery and the second battery is small. By controlling the first charge and discharge switch tube to be turned on, the first battery and the second battery are used to simultaneously power other components of the electronic device.
[0081] In some embodiments of the present application, when the voltage difference is greater than or equal to the first voltage threshold and the voltage value of the first battery is greater than the voltage value of the second battery, the control method further includes: outputting a reminder message, the reminder message being used to remind the user to charge the electronic device.
[0082] In this embodiment, a reminder message is output to remind the user to charge the electronic device. When the voltage difference is greater than or equal to the first voltage threshold and the voltage value of the first battery is greater than the voltage value of the second battery, the first charge and discharge switch tube is cut off, so that the electronic device cannot charge the first battery and can only charge the second battery.
[0083] In this process, during the charging process of the second battery, the voltage value of the second battery continues to increase until the updated voltage difference is less than the first voltage threshold, and the first charge and discharge switch tube is controlled to be turned on.
[0084] In this process, when the voltage difference between the first battery and the second battery is less than the first voltage threshold, the first charge and discharge switch tube is turned on to avoid mutual charging between the first battery and the second battery, thereby protecting the first battery and the second battery.
[0085] In some embodiments of the present application, Figure 6 As shown, the control method for an electronic device includes:
[0086] Step 601, the first battery and the second battery are buckled onto the mainboard, the second battery supplies power to the system by default, and the first battery is not turned on by default.
[0087] The fact that the second battery supplies power to the system by default can be understood as the second battery supplies power to other components of the electronic device, such as the control circuit, and the fact that the first battery is not turned on by default can be understood as the first charge and discharge switch tube is turned off by default.
[0088] Step 602, both batteries are fastened to the whole device.
[0089] Among them, both batteries are buckled into the whole machine, which can be understood as the first battery and the second battery are buckled into the mainboard.
[0090] Step 603, the fuel gauge 1 reads the voltage value Vbat1 of the first battery; the fuel gauge 2 reads the voltage value Vbat2 of the second battery.
[0091] Step 604, |Vbat1-Vbat2|<30mV, if the judgment result is yes, execute step 605, if the judgment result is no, execute step 606.
[0092] Among them, 30mV is also the first voltage threshold.
[0093] Step 605: The voltage difference between the two batteries is small, and it is determined that there is no risk in direct parallel connection. The first control terminal and the second control terminal of the control circuit are pulled high, and the first battery is not turned on.
[0094] Step 606: The voltage difference between the two batteries is large, and it is determined that direct parallel connection will result in a risk of large mutual charging current.
[0095] Step 607: The dual batteries together supply power to the system.
[0096] Step 608 , Vbat1>Vbat2 , if the judgment result is yes, execute step 609 , if the judgment result is no, execute step 610 .
[0097] Step 609: The first battery is not conducting, and the user interface reminds the user to plug in a charger.
[0098] Among them, reminding the user to plug in the charger is the reminder information in this application, and the user interface (UI) refers to the overall design of the software's human-computer interaction, operating logic, and interface aesthetics.
[0099] In step 610, the first battery remains disconnected and only the second battery supplies power to the system.
[0100] Step 611, the second battery is charged separately, the voltage of Vbat2 is increased, the fuel gauge 1 continuously reads the voltage value Vbat1 of the first battery, and the fuel gauge 2 continuously reads the voltage value Vbat2 of the second battery.
[0101] Step 612, only the second battery supplies power to the system, the voltage of Vbat2 decreases slowly, the fuel gauge 1 continues to read the voltage value Vbat1 of the first battery, and the fuel gauge 2 continues to read the voltage value Vbat2 of the second battery.
[0102] In the control method provided in the embodiment of the present application, the executing subject can control the device. In the embodiment of the present application, the control device provided in the embodiment of the present application is described by taking the control device executing the control method as an example.
[0103] In some embodiments of the present application, Figure 7 As shown, a control device 700 is proposed, which is used for an electronic device such as any one of the above, and the control device 700 includes: an acquisition circuit 702, used to obtain the voltage value of the first battery and the voltage value of the second battery; a processing circuit 704, used to control the first charge and discharge switch tube to be turned on or off according to the voltage value of the first battery and the voltage value of the second battery.
[0104] In this embodiment, the first charge and discharge switch tube in the first battery protection board can be used as a switch tube to prevent the first battery and the second battery from charging each other. In this process, there is no need to set an independent switch tube and a corresponding drive circuit for the first battery, which saves space on the circuit board and reduces the manufacturing cost of the electronic device.
[0105] In some embodiments of the present application, the processing circuit 704 is specifically used to: determine the voltage difference between the voltage value of the first battery and the voltage value of the second battery; when the voltage difference is less than the first voltage threshold, control the first charge and discharge switch tube to be turned on; when the voltage difference is greater than or equal to the first voltage threshold, control the first charge and discharge switch tube to be turned off, until the updated voltage difference is less than the first voltage threshold, and control the first charge and discharge switch tube to be turned on.
[0106] In some embodiments of the present application, the processing circuit 704 is specifically used to: when the voltage difference is greater than or equal to the first voltage threshold and the voltage value of the first battery is less than the voltage value of the second battery, control the first charge and discharge switch tube to be cut off; when it is detected that the voltage value of the second battery is reduced, update the voltage difference; if the updated voltage difference is less than the first voltage threshold, control the first charge and discharge switch tube to be turned on; or when the voltage difference is greater than or equal to the first voltage threshold and the voltage value of the first battery is greater than the voltage value of the second battery, control the first charge and discharge switch tube to be cut off; charge the second battery and update the voltage difference; if the updated voltage difference is less than the first voltage threshold, control the first charge and discharge switch tube to be turned on.
[0107] In some embodiments of the present application, when the voltage difference is greater than or equal to the first voltage threshold and the voltage value of the first battery is greater than the voltage value of the second battery, the processing circuit 704 is also used to: output a reminder message, where the reminder message is used to remind the user to charge the electronic device.
[0108] The control device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0109] The control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0110] The control device provided in the embodiment of the present application can achieve Figure 5 The various processes implemented by the control method embodiment can achieve the same technical effect. To avoid repetition, they will not be described here.
[0111] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0112] like Figure 8 As shown, the electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810 and other components.
[0113] Those skilled in the art will appreciate that the electronic device 800 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 810 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0114] In some embodiments of the present application, the processor 810 is used to obtain the voltage value of the first battery and the voltage value of the second battery; and control the first charge and discharge switch tube to be turned on or off according to the voltage value of the first battery and the voltage value of the second battery.
[0115] In some embodiments of the present application, the processor 810 is specifically used to determine the voltage difference between the voltage value of the first battery and the voltage value of the second battery; when the voltage difference is less than the first voltage threshold, the first charge and discharge switch tube is controlled to be turned on; when the voltage difference is greater than or equal to the first voltage threshold, the first charge and discharge switch tube is controlled to be turned off, until the updated voltage difference is less than the first voltage threshold, and the first charge and discharge switch tube is controlled to be turned on.
[0116] In some embodiments of the present application, the processor 810 is specifically used to control the first charge and discharge switch tube to be cut off when the voltage difference is greater than or equal to the first voltage threshold and the voltage value of the first battery is less than the voltage value of the second battery; update the voltage difference when it is detected that the voltage value of the second battery is reduced; if the updated voltage difference is less than the first voltage threshold, control the first charge and discharge switch tube to be turned on; or when the voltage difference is greater than or equal to the first voltage threshold and the voltage value of the first battery is greater than the voltage value of the second battery, control the first charge and discharge switch tube to be cut off; charge the second battery and update the voltage difference; if the updated voltage difference is less than the first voltage threshold, control the first charge and discharge switch tube to be turned on.
[0117] In some embodiments of the present application, when the voltage difference is greater than or equal to the first voltage threshold and the voltage value of the first battery is greater than the voltage value of the second battery, the processor 810 is also used to output a reminder message, and the reminder message is used to remind the user to charge the electronic device.
[0118] In this embodiment, the first charge and discharge switch tube in the first battery protection board can be used as a switch tube to prevent the first battery and the second battery from charging each other. In this process, there is no need to set an independent switch tube and a corresponding drive circuit for the first battery, which saves space on the circuit board and reduces the manufacturing cost of the electronic device.
[0119] It should be understood that in the embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0120] The memory 809 can be used to store software programs and various data. The memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 809 may include a volatile memory or a non-volatile memory, or the memory 809 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0121] The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 810.
[0122] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0123] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0124] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0125] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "including one" do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0126] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the embodiments of the present application are essentially or partly contributed to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0127] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. An electronic device, characterized in that: include: A first battery assembly, the first battery assembly comprising a first battery protection board and a first battery, the first battery protection board comprising a first charge and discharge switch tube, the negative electrode of the first battery is connected to a first end of the first charge and discharge switch tube, and a second end of the first charge and discharge switch tube is grounded; a second battery assembly, the second battery assembly being connected to the first battery assembly, the second battery assembly comprising a second battery; The control circuit is connected to the first battery protection board and is used to control the first charge and discharge switch tube to be turned on or off according to the voltage value of the first battery and the voltage value of the second battery.
2. The electronic device according to claim 1, characterized in that: The first battery protection board also includes: a first protection chip, wherein a first end of the first protection chip is connected to the positive electrode of the first battery; A driving switch tube, wherein a first end of the driving switch tube is connected to the first protection chip, a second end of the driving switch tube is connected to a control end of the first charge-discharge switch tube, and a control end of the driving switch tube is connected to the control circuit; Wherein, the control circuit controls the first charge and discharge switch tube to be turned on or off through the driving switch tube.
3. The electronic device according to claim 2, characterized in that: The first charge and discharge switch tube comprises a first charge switch tube and a first discharge switch tube, wherein the first end of the first charge switch tube is connected to the negative electrode of the first battery, the first end of the first discharge switch tube is connected to the second end of the first charge switch tube, and the second end of the first discharge switch tube is grounded; The driving switch tube includes a first driving switch tube and a second driving switch tube, wherein the first end of the first driving switch tube is connected to the first output end of the first protection chip, the second end of the first driving switch tube is connected to the control end of the first charging switch tube, the control end of the first driving switch tube is connected to the first control end of the control circuit, the first end of the second driving switch tube is connected to the second output end of the first protection chip, the second end of the second driving switch tube is connected to the control end of the first discharging switch tube, and the control end of the second driving switch tube is connected to the second control end of the control circuit.
4. The electronic device according to claim 3, characterized in that: The first battery assembly also includes: a first connection terminal, through which the first drive switch tube, the second drive switch tube, the second battery assembly and the control circuit are connected, and the first connection terminal includes a first access terminal, a second access terminal, a third access terminal, a fourth access terminal, a first power supply connection terminal, a first ground terminal and a power supply output terminal; Among them, the control end of the first driving switch tube is connected to the first access end, the first control end of the control circuit is connected to the second access end, the control end of the second driving switch tube is connected to the third access end, the second control end of the control circuit is connected to the fourth access end, the first power supply connection end is connected to the positive electrode of the first battery, the power supply output end is connected to the second battery assembly, and the second end of the first discharge switch tube is connected to the first ground end.
5. The electronic device according to claim 4, characterized in that: The first battery assembly also includes: A first current limiting resistor is connected in series between the control terminal of the first driving switch tube and the first access terminal; and / or The second current limiting resistor is connected in series between the control terminal of the second driving switch tube and the third access terminal.
6. The electronic device according to claim 4, characterized in that: The second battery assembly further comprises: The second connection terminal includes a second power supply connection terminal, a second ground terminal and a power supply access terminal, the second power supply connection terminal is connected to the positive electrode of the second battery, the second ground terminal is connected to the negative electrode of the second battery, and the power supply access terminal is connected to the power supply output terminal.
7. The electronic device according to claim 6, characterized in that: The second battery assembly further comprises: A second battery protection board, the second battery protection board comprising a second charge and discharge switch tube and a second protection chip; The second charge and discharge switch tube is connected in series between the second ground terminal and the negative electrode of the second battery; The first end of the second protection chip is connected to the positive electrode of the second battery, and the output end of the second protection chip is connected to the control end of the second charge and discharge switch tube.
8. The electronic device according to any one of claims 1 to 7, characterized in that: The electronic device further comprises: Charging interface, used to connect to the power supply; A charging circuit, wherein an input end of the charging circuit is connected to the charging interface, and an output end of the charging circuit is connected to the first battery protection board, and is used to charge the first battery and the second battery.
9. A control method for the electronic device according to any one of claims 1 to 8, characterized in that: The control method comprises: Obtaining a voltage value of a first battery and a voltage value of a second battery; The first charge and discharge switch tube is controlled to be turned on or off according to the voltage value of the first battery and the voltage value of the second battery.
10. The control method according to claim 9, characterized in that: The controlling the first charge and discharge switch tube to be turned on or off according to the voltage value of the first battery and the voltage value of the second battery specifically includes: determining a voltage difference between a voltage value of the first battery and a voltage value of the second battery; When the voltage difference is less than a first voltage threshold, controlling the first charge and discharge switch tube to be turned on; When the voltage difference is greater than or equal to the first voltage threshold, the first charge and discharge switch tube is controlled to be turned off, until the updated voltage difference is less than the first voltage threshold, and the first charge and discharge switch tube is controlled to be turned on.
11. The control method according to claim 10, characterized in that: When the voltage difference is greater than or equal to the first voltage threshold, the first charge and discharge switch tube is controlled to be turned off, and when the updated voltage difference is less than the first voltage threshold, the first charge and discharge switch tube is controlled to be turned on, specifically including: When the voltage difference is greater than or equal to a first voltage threshold and the voltage value of the first battery is less than the voltage value of the second battery, the first charge and discharge switch tube is controlled to be turned off; when it is detected that the voltage value of the second battery decreases, the voltage difference is updated; if the updated voltage difference is less than the first voltage threshold, the first charge and discharge switch tube is controlled to be turned on; or When the voltage difference is greater than or equal to a first voltage threshold and the voltage value of the first battery is greater than the voltage value of the second battery, the first charge and discharge switch tube is controlled to be cut off; the second battery is charged and the voltage difference is updated; if the updated voltage difference is less than the first voltage threshold, the first charge and discharge switch tube is controlled to be turned on.
12. The control method according to claim 11, characterized in that: In the case where the voltage difference is greater than or equal to a first voltage threshold, and the voltage value of the first battery is greater than the voltage value of the second battery, the control method further includes: Outputting reminder information, wherein the reminder information is used to remind the user to charge the electronic device.
13. A control device, used for the electronic device according to any one of claims 1 to 8, characterized in that: The control device comprises: An acquisition circuit, used for acquiring a voltage value of the first battery and a voltage value of the second battery; The processing circuit is used to control the first charge and discharge switch tube to be turned on or off according to the voltage value of the first battery and the voltage value of the second battery.