Discharging circuit, control method and related device
By designing a discharge circuit in the terminal equipment and adjusting the power output voltage using the step-down boost module and the step-down module, the problem of fast power consumption and frequent charging of the terminal equipment is solved, and efficient use of power capacity and user experience is achieved.
Patent Information
- Application Number
- PCT/CN2024/080641
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-29
- Filing Date
- 2024-03-07
- Publication Date
- 2024-12-05
AI Technical Summary
The terminal equipment consumes fast power and has high charging frequency. In the prior art, multiple batteries are connected in series with high voltage but have low capacitance efficiency, which cannot effectively reduce the charging frequency of the power supply.
Design a discharge circuit to adjust the voltage output of the power supply by using a step-down boost module and a step-down module during charging, ensuring that the load can still be powered when the power supply output voltage is small, and the efficiency of power supply capacity is improved. .
It realizes that the power supply continues to power the load when the power output voltage is small, reduces the power supply usage speed and charging frequency, improves the user experience, and improves the efficiency of power supply capacity.
Smart Images

Figure CN2024080641_05122024_PF_FP_ABST
Abstract
Description
Discharge circuit, control method and related device
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on May 29, 2023, with application number 202310622009.5 and application name “Discharge Circuit, Control Method and Related Devices”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of terminal technology, and in particular to a discharge circuit, a control method and related devices. Background Art
[0003] With the development and progress of society, mobile phones, tablet computers and other terminal devices have become an indispensable part of people's lives. Terminal devices are usually equipped with batteries to facilitate user use.
[0004] However, terminal devices consume power quickly and require frequent charging.
[0005] Summary of the Invention
[0006] The present invention provides a discharge circuit, control method, and related devices for use in the field of terminal technology. When the power supply output voltage is low, the circuit used during the charging process steps down the power supply output voltage. This allows the power supply to continue to supply power to the load even when the power supply voltage is low, increasing the available power, reducing the power supply usage rate, and reducing the charging frequency, thereby improving the user experience.
[0007] In a first aspect, embodiments of the present application provide a discharge circuit. The discharge circuit includes: a power supply, a first module, a second module, a charging interface, and a processor; the input of the first module is connected to the charging interface, the output of the first module is connected to the power supply, the input of the second module is connected to the charging interface, and the output of the second module is connected to a load; the first module and the second module are both controlled by the processor; the power supply includes one or more batteries; the processor is configured to control the first module to adjust the charging voltage at the charging interface to charge the power supply; the processor is further configured to control the second module to adjust the charging voltage at the charging interface to supply power to the load when the power supply reaches a charging cutoff voltage; and the processor is further configured to control the first module and / or the second module to adjust the voltage output by the power supply to supply power to the load when the voltage output by the power supply is less than a first value.
[0008] The first module may correspond to a buck-boost module, and the second module may correspond to a buck module, which is not limited in the present embodiment.
[0009] In this way, when the voltage output by the power supply is small, it can continue to supply power to the load, thereby increasing the amount of power available to the power supply, reducing the speed of power supply use, reducing the frequency of power supply charging, and improving user experience.
[0010] Optionally, the discharge circuit also includes: a charge pump; a power supply connected to an input end of the charge pump, and an output end of the charge pump connected to a load; a processor, specifically used to control the charge pump to adjust the voltage output by the power supply when the voltage output by the power supply is greater than or equal to a first value; the processor, specifically used to control the first module and / or the second module to adjust the voltage output by the power supply when the voltage output by the power supply is less than the first value, so that the voltage at the load is greater than or equal to a second value, the second value is less than the first value, and the second value is greater than or equal to the minimum voltage required for the load to operate.
[0011] In this way, when the voltage output by the power supply is large, the charge pump is used to supply power to the load, thereby reducing power loss and improving power conversion efficiency.
[0012] Optionally, the ratio of the voltage value corresponding to the input end of the charge pump to the voltage value corresponding to the output end of the charge pump is a preset value; the ratio of the voltage value corresponding to the input end of the first module to the voltage value corresponding to the output end of the second module is less than the preset value.
[0013] In this way, when the power supply output voltage is high, the charge pump is used to supply power to the load, reducing power loss and improving power conversion efficiency. When the power supply output voltage is low, the first module and / or the second module is used to supply power to the load.
[0014] Optionally, the processor is specifically used to control the first module to boost the voltage output by the power supply; the processor is specifically used to control the second module to step down the voltage after the boosting process of the first module.
[0015] In this way, power supply to the load is achieved through the first module and the second module.
[0016] Optionally, the first module includes: a switch tube Q1, a switch tube Q2, a switch tube Q3, a switch tube Q4 and an inductor L1; the second pole of Q1 is connected to the first pole of Q2, the second pole of Q2 is grounded, the second pole of Q3 is connected to the first pole of Q4, Q4 is grounded, one end of the inductor L1 is connected to the second pole of Q1, the other end of the inductor L1 is connected to the second pole of Q3, the first pole of Q1 is connected to the charging interface, and the first pole of Q3 is connected to the power supply; the third poles of Q1, Q2, Q3 and Q4 are all controlled by the processor; the processor has The circuit is used to control the first module to operate in the first mode or the second mode to boost the voltage output by the power supply; in the first mode, Q1 and Q2 are alternately turned on, Q3 is turned on, and Q4 is turned off, wherein Q1 is turned on when Q2 is turned off, and Q1 is turned on when Q2 is turned off; any cycle in the second mode includes a first time period and a second time period; in the first time period, Q1 is turned on, Q2 is turned off, and Q3 and Q4 are alternately turned on, wherein Q3 is turned on when Q4 is turned off, and Q3 is turned on when Q4 is turned off; in the second time period, Q1 and Q2 are alternately turned on, Q3 is turned on, and Q4 is turned off.
[0017] In this way, the voltage boosting process of the first module is achieved by controlling the switch tubes Q1 - Q4 and the inductor L1 .
[0018] Optionally, the discharge circuit also includes: a first switch, one end of the first switch is connected to the input end of the first module, and the other end of the first switch is connected to the output end of the first module; the first switch is controlled by a processor; the processor is also used to control the first switch to open when charging the power supply; the processor is also used to control the first switch to close when the power supply is discharging, and to control the second module to adjust the voltage output by the power supply.
[0019] In this way, the first module is in bypass mode, and the load is powered by the second module.
[0020] Optionally, the second module includes: a switch Q5, a switch D1, an inductor L2, and a capacitor C1; one end of Q5 is connected to one end of the first switch, the other end of Q5 is connected to one end of the inductor L2, the other end of the inductor L2 is connected to the other end of the first switch, one end of D1 is connected to one end of the inductor L2, one end of the capacitor C1 is connected to the other end of the inductor L2, the other end of D1 is grounded, and the other end of the capacitor C1 is grounded; a processor, specifically used to control the closure of the first switch, and to control the second module to adjust the voltage output by the power supply.
[0021] In this way, the voltage reduction process of the second module is achieved by controlling the corresponding devices in the second module.
[0022] Optionally, the discharge circuit also includes a second switch, one end of the second switch is connected to the input end of the second module, and the other end of the second switch is connected to the output end of the second module; the second switch is controlled by the processor; the processor is also used to control the second switch to open when charging the power supply; the processor is also used to control the second switch to close when the power supply is discharging, and to control the first module to adjust the voltage output by the power supply.
[0023] In this way, the second module is in bypass mode, and the load is powered by the first module.
[0024] Optionally, the first module includes: a switch tube Q6, a switch tube Q7, a switch tube Q8, a switch tube Q9 and an inductor L2; the second pole of Q6 is connected to the first pole of Q7, the second pole of Q7 is grounded, the second pole of Q8 is connected to the first pole of Q9, Q9 is grounded, one end of the inductor L2 is connected to the second pole of Q6, the other end of the inductor L2 is connected to the second pole of Q8, the first pole of Q6 is connected to the charging interface, and the first pole of Q8 is connected to the power supply; the third pole of Q6, the third pole of Q7, the third pole of Q8, and the third pole of Q9 are all controlled by the processor; the processor is specifically used to control Q6 to be turned on, Q7 to be turned off, and Q8 and Q9 to be turned on alternately.
[0025] In this way, the voltage reduction process of the first module is achieved by controlling the corresponding devices in the first module.
[0026] Optionally, the discharge circuit also includes: a switching tube Q10; the first pole of the switching tube Q10 is connected to the charging interface, and the second pole of the switching tube Q10 is connected to the input end of the power adjustment module; two opposing diodes are connected between the first pole and the second pole of the switching tube Q10.
[0027] In this way, the leakage of the charging interface can be reduced and the user experience can be improved.
[0028] Optionally, the discharge circuit also includes a third module; the input end of the third module is connected to the charging interface, and the output end of the third module is connected to the power supply; the third module is used to charge the power supply when the charging voltage value of the charging interface is greater than or equal to the voltage value required for charging the power supply.
[0029] The third module may correspond to a direct charging module, which is not limited in this embodiment of the present application.
[0030] In this way, the charging port can charge the power supply directly.
[0031] In a second aspect, an embodiment of the present application provides a power management chip, comprising: the discharge circuit according to any one of the first aspects.
[0032] In a third aspect, embodiments of the present application provide a terminal device, which may also be referred to as a terminal, user equipment (UE), mobile station (MS), or mobile terminal (MT). The terminal device may be a mobile phone, a smart TV, a wearable device, a tablet computer, a computer with wireless transceiver capabilities, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, and the like.
[0033] The terminal device includes: any discharge circuit of the first aspect, the discharge circuit is used to supply power to the load.
[0034] In a fourth aspect, embodiments of the present application provide a control method. The method includes: a processor monitoring a voltage output by a power supply; when the voltage output by the power supply is less than a first value, the processor controlling a first module and / or a second module to adjust the voltage output by the power supply to supply power to a load.
[0035] Optionally, the processor controls the first module and / or the second module to adjust the voltage output by the power supply, including: the processor controls the first module to boost the voltage output by the power supply; the processor controls the second module to step down the voltage boosted by the first module.
[0036] Optionally, the discharge circuit includes a first switch; the method also includes: when the voltage output by the power supply is less than a first value, the processor controls the first switch to close; the processor controls the first module and / or the second module to adjust the voltage output by the power supply, including: the processor controls the second module to reduce the voltage output by the power supply.
[0037] Optionally, the discharge circuit includes a second switch; the method also includes: when the voltage output by the power supply is less than the first value, the processor controls the second switch to close; the processor controls the first module and / or the second module to adjust the voltage output by the power supply, including: the processor controls the first module to reduce the voltage output by the power supply.
[0038] In the fifth aspect, an embodiment of the present application provides a terminal device, which includes: a processor and a memory; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, so that the terminal device executes the method as in the fourth aspect.
[0039] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method according to the fourth aspect.
[0040] In a seventh aspect, an embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the method of the fourth aspect.
[0041] In an eighth aspect, an embodiment of the present application provides a chip, the chip including a processor, the processor being used to call a computer program in a memory to execute the method of the fourth aspect.
[0042] It should be understood that the second to eighth aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] FIG1 is a schematic diagram of a dual-battery discharge circuit in a possible design;
[0044] FIG2 is a schematic structural diagram of a discharge circuit provided in an embodiment of the present application;
[0045] FIG3 is a schematic structural diagram of a buck-boost module provided in an embodiment of the present application;
[0046] FIG4A is a schematic diagram of waveforms of the third electrodes of each switching tube in a boost mode according to an embodiment of the present application;
[0047] FIG4B is a schematic diagram of a current path in a buck-boost module provided in an embodiment of the present application;
[0048] FIG4C is a schematic diagram of a current path in a buck-boost module provided in an embodiment of the present application;
[0049] FIG4D is a schematic diagram of waveforms of the third electrodes of each switching tube in the buck-boost mode provided by an embodiment of the present application;
[0050] FIG4E is a schematic diagram of a current path in a buck-boost module provided in an embodiment of the present application;
[0051] FIG4F is a schematic diagram of a current path in a buck-boost module provided in an embodiment of the present application;
[0052] FIG5 is a schematic structural diagram of a buck-boost module and a buck module provided in an embodiment of the present application;
[0053] FIG6 is a schematic structural diagram of a buck-boost module and a buck module provided in an embodiment of the present application;
[0054] FIG7 is a schematic flow chart of a discharge method provided in an embodiment of the present application;
[0055] FIG8 is a schematic structural diagram of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] To facilitate understanding of the embodiments of the present application, some of the terms involved in the present application are first briefly explained.
[0057] 1. Other terms
[0058] In the embodiments of this application, terms such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the terms "first chip" and "second chip" are used solely to distinguish between different chips and do not define their order. Those skilled in the art will understand that terms such as "first" and "second" do not define the quantity or execution order, and do not necessarily define differences.
[0059] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0060] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, a--c, bc, or abc, where a, b, c can be single or multiple.
[0061] 2. Terminal equipment
[0062] The terminal device of the embodiment of the present application may also be any form of electronic device. For example, the electronic device may include a handheld device, a vehicle-mounted device, etc. For example, some electronic devices include: mobile phones, tablet computers, PDAs, laptop computers, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving cars, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in 5G networks or future evolved public land mobile communication networks. The terminal equipment in the network (PLMN), etc., is not limited to this in the embodiments of the present application.
[0063] As an example and not a limitation, in the embodiments of the present application, the electronic device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are fully functional, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.
[0064] In addition, in the embodiments of the present application, the electronic device can also be a terminal device in the Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network of human-machine interconnection and object-to-object interconnection.
[0065] The electronic devices in the embodiments of the present application may also be referred to as: terminal equipment, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.
[0066] In the embodiments of the present application, the electronic device or each network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also known as main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as the Linux operating system, the Unix operating system, the Android operating system, the iOS operating system, or the Windows operating system. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software.
[0067] Terminal devices are usually equipped with batteries for user convenience. However, the battery of terminal devices is consumed quickly and the charging frequency is high.
[0068] Some terminal devices use multiple batteries connected in series to increase the charging speed of the terminal devices. However, the battery capacity is inefficiently used in this manner.
[0069] Specifically, the voltage output by multiple batteries connected in series is higher than the voltage of a single battery. For example, the voltage output by two batteries connected in series is typically twice the voltage of a single battery. In practical applications, a charge pump is provided between the multiple batteries and the load to reduce the voltage output by the dual batteries by half before outputting it to the load.
[0070] For example, Figure 1 is a schematic diagram of a dual-battery discharge circuit in a possible design. As shown in Figure 1 , the dual-battery discharge circuit includes a power supply 101, a charge pump 102, and a load 103. Power supply 101 is connected to the input of charge pump 102, and the output of charge pump 102 is connected to load 103.
[0071] The power supply 101 is used to power a load 103. As shown in FIG1 , the power supply 101 is composed of two batteries connected in series, namely, battery 1011 and battery 1012. The positive electrode of battery 1011 is connected to the negative electrode of battery 1012, and the positive electrode of battery 1012 is connected to the input terminal of the charge pump 102.
[0072] The charge pump 102 is used to reduce the voltage output by the power supply 101 by one half and output the reduced voltage to the load 103 .
[0073] It should be noted that in the circuit shown in FIG1 , power supply 101 cannot discharge to the cutoff discharge voltage. For example, if the minimum supply voltage of load 103 is a first voltage V1, the cutoff discharge voltage of battery 1011 and the cutoff discharge voltage of battery 1012 are both a second voltage V2, and V2 is less than V1, in the circuit shown in FIG1 , when the voltage output by power supply 101 is less than 2V1, power supply 101 cannot continue to supply power to load 103, power supply 101 cannot continue to discharge, and the capacity of power supply 101 is inefficiently used.
[0074] Taking the minimum supply voltage of load 103 as 3.4V, and the cut-off discharge voltage of battery 1011 and the cut-off discharge voltage of battery 1012 as 3.0V as an example, in the circuit shown in Figure 1, when the voltage output by power supply 101 is less than 6.8V, it is unable to continue to supply power to load 103, the discharge of power supply 101 is incomplete, the power corresponding to 6.8V-6.0V cannot be used, and the utilization efficiency of the capacitance of power supply 101 is low.
[0075] In view of this, embodiments of the present application provide a discharge circuit, control method, and related apparatus. When the power supply output voltage is low, the circuit used during the charging process steps down the power supply output voltage. This allows the load to continue to be powered even when the power supply voltage is low, improving the efficiency of the power supply's capacity.
[0076] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be implemented independently or in combination with each other. For the same or similar concepts or processes, some embodiments may not be described in detail.
[0077] For example, Figure 2 is a schematic diagram of a discharge circuit according to an embodiment of the present application. As shown in Figure 2, the discharge circuit includes: a power supply 201, a charge pump 202, a load 203, a buck-boost module 204, a buck module 205, a charging interface 206, and a processor 207.
[0078] The power supply 201 is connected to the input of the charge pump 202, and the output of the charge pump 202 is connected to the load 203. The charging interface 206 is connected to the input of the buck-boost module 204, and the output of the buck-boost module 204 is connected to the power supply 201. The charging interface 206 is connected to the input of the buck module 205, and the output of the buck module 205 is connected to the load 203.
[0079] In the embodiment of the present application, the power supply 201 is used to supply power to the load 203. The power supply 201 includes at least two batteries connected in series.
[0080] The charge pump 202 is configured to adjust the output voltage of the power supply 201 according to a preset step-down ratio mode when the output voltage of the power supply 201 is greater than or equal to the first value, or to shut down when the output voltage of the power supply 201 is less than the first value.
[0081] In the embodiment of the present application, the second value is the value corresponding to the minimum supply voltage of load 301. The first value is the ratio of the second value to the preset step-down ratio. The second value is the value corresponding to the minimum supply voltage of load 203. The minimum supply voltage can be understood as the minimum voltage required for the operation of load 203. The minimum supply voltage can also be referred to as the minimum operating voltage. This embodiment of the present application is not limited to this.
[0082] In some embodiments, the first value is an integer multiple of the second value. In this way, the charge pump reduces the voltage output by the power supply 201 by a multiple. It is understood that, taking the preset step-down ratio as N as an example, it can be considered that the voltage input to the charge pump 202 is N times the voltage output by the charge pump 202, and it can also be considered that the voltage output by the power supply 201 is N times the voltage output by the charge pump 202.
[0083] In some embodiments, the preset step-down ratio is the same as the number of batteries connected in series in the power supply 201. For example, if the power supply 201 has two batteries connected in series, the preset step-down ratio of the charge pump 202 may be 2; if the power supply 201 includes three batteries, the preset step-down ratio of the charge pump 202 may be 3.
[0084] It can be understood that Figure 2 only shows the case where the power supply 201 includes two batteries connected in series and the preset step-down ratio of the charge pump is 2. In actual applications, the power supply 201 can also include 3, 4 or 5 batteries connected in series. Accordingly, the preset step-down ratio of the charge pump can be 3, 4 or 5, etc. The embodiment of the present application does not specifically limit the number of batteries connected in series in the power supply 201 and the preset step-down ratio of the charge pump 202.
[0085] The charge pump may be composed of a switch tube Q1, a switch tube Q2, a switch tube Q3, a switch tube Q4, and a capacitor C1. The embodiment of the present application does not limit the specific structure of the charge pump.
[0086] The buck-boost module 204 is used to boost the charging voltage when the charging voltage of the charging interface 206 is lower than the voltage required for charging the power source 201 , so as to charge the power source 201 .
[0087] The step-down module 205 is used to supply power to the load 203 after the power supply 201 completes charging. Charging completion can be understood as the voltage of the power supply 201 reaching the charging cut-off voltage. This allows the charging voltage at the charging port to be stepped down for use by the load 203, eliminating the need for the power supply 201 to power the load 203.
[0088] The charge cut-off voltage can be understood as the voltage at which the battery reaches a fully charged state during the specified constant current charging period. The charge cut-off voltage can also be called the charge termination voltage.
[0089] It is understood that the charge cut-off voltage is the load voltage of the power supply at the end of charging, as specified by the manufacturer. Depending on different battery combinations, battery types, different charging conditions, battery capacity requirements, and battery life requirements, the manufacturer's specified battery charge cut-off voltage may also vary. This embodiment of the present application is not limited to this.
[0090] Charging interface 206 is used to provide a charging voltage to charge power supply 201 and power load 203. Charging interface 206 can be connected to an external power source, such as a power bank or an outlet, via a charging cable. The charging interface can be a Type-C interface, a Lightning interface, or a Micro USB interface. Charging interface 206 can also be a wireless charging interface. The specific type of charging interface is not limited in this embodiment of the application.
[0091] It should be noted that in the embodiment of the present application, the discharge circuit can implement voltage reduction processing on the voltage output by the power supply 201 through the buck-boost module 204 and / or the buck module 205 when the voltage output by the power supply 201 is less than the first value.
[0092] In a possible implementation manner 1, the discharge circuit implements a voltage reduction process on the voltage output by the power supply 201 through the voltage reduction and boost module 204 and the voltage reduction module 205 when the voltage output by the power supply 201 is less than a first value.
[0093] Specifically, the discharge circuit boosts the voltage output by the power supply 201 through the buck-boost module 204 , and then steps down the boosted voltage through the buck module 205 .
[0094] 3 is a schematic structural diagram of a buck-boost module 204 provided in an embodiment of the present application. As shown in FIG3 , the buck-boost module 204 includes a switch Q1, a switch Q2, a switch Q3, a switch Q4, and an inductor L1.
[0095] The second terminal of Q1 is connected to the first terminal of Q2, which is grounded. The second terminal of Q3 is connected to the first terminal of Q4, which is grounded. One end of inductor L1 is connected to the second terminal of Q1, and the other end of inductor L1 is connected to the second terminal of Q3. The first terminal of Q1 is connected to charging port 206, and the first terminal of Q3 is connected to power supply 201.
[0096] In the embodiment of the present application, the first terminal of Q1 can be used as the input terminal of the buck-boost module 204 , and the first terminal of Q3 can be used as the output terminal of the buck-boost module 204 .
[0097] In the embodiment of the present application, when the power source 201 is discharged through the buck-boost module 204 , the buck-boost module 204 operates in a boost mode or a buck-boost mode.
[0098] In boost mode, Q1 and Q2 are turned on alternately, Q3 is turned on, and Q4 is turned off.
[0099] In the buck-boost mode, the buck-boost module 204 operates alternately in the buck mode and the boost mode. In the buck mode, Q1 is turned on, Q2 is turned off, and Q3 and Q4 are turned on alternately.
[0100] The following describes the boost mode and the buck-boost mode of the buck-boost module 204 during the discharge process, in conjunction with Figures 4A-4F. For example, assuming that Q1-Q4 are all N-type metal oxide semiconductor field effect transistors (NMOS transistors), the source (S) of Q1 is connected to the drain (D) of Q2, the source of Q2 is grounded, the source of Q3 is connected to the drain of Q4, and Q4 is grounded. One end of the inductor L1 is connected to the source of Q1, and the other end of the inductor L1 is connected to the source of Q3.
[0101] For example, FIG4A is a waveform diagram of the third pole of each switch tube in the boost mode provided by an embodiment of the present application. As shown in FIG4A,
[0102] As shown in FIG. 4A , Q1 and Q2 correspond to high level alternately, Q3 corresponds to high level, and Q4 corresponds to low level.
[0103] A high level can be understood as a level value greater than or equal to the sum of the source voltage of the switch tube and the fully turned-on voltage. A low level can be understood as a level value less than the sum of the source voltage of the switch tube and the threshold voltage (for example, Vgs(th)). The fully turned-on voltage can be understood as the voltage corresponding to the third pole and the second pole when the switch tube is fully turned on. The threshold voltage can also be called the turn-on voltage, or the turn-on voltage. For example, the threshold voltage of the germanium switch tube is about 0.3V, the threshold voltage of the silicon switch tube is about 0.7V, and the threshold voltage of the GaN device is about 1.4V.
[0104] Q1 and Q2 correspond to high levels alternately. This means that when the gate of Q1 corresponds to a high level and the gate of Q2 corresponds to a low level, Q1 is turned on and Q2 is turned off. When the gate of Q1 corresponds to a low level and the gate of Q2 corresponds to a high level, Q1 is turned off and Q2 is turned on. When Q3 corresponds to a high level, Q3 is turned on; when Q4 corresponds to a low level, Q4 is turned off.
[0105] From the waveform diagram shown in FIG4A , it can be seen that the boost mode includes two phases, namely the D phase and the 1-D phase.
[0106] In phase D, Q2 and Q3 are both high, and Q1 and Q4 are both low. Consequently, Q2 and Q3 are both on, while Q1 and Q4 are both off. The current path in the buck-boost module can be shown as the gray dashed line in Figure 4B. Specifically, power supply 201, Q3, inductor L1, and Q2 form a loop, with power supply 201 charging inductor L1. Phase D can also be referred to as the inductor charging phase.
[0107] In the 1-D phase, Q1 and Q3 are both high, and Q2 and Q4 are both low. Consequently, Q1 and Q3 are both on, while Q2 and Q4 are both off. The current path in the buck-boost module can be shown as the gray dashed line in Figure 4C. Specifically, power supply 201, Q3, inductor L1, Q1, buck module 205, and load 203 form a loop, causing inductor L1 to discharge. The 1-D phase can also be referred to as the inductor discharge phase.
[0108] It is understood that when the charge and discharge of inductor L1 reach equilibrium, during stage T0, the input terminal V0 of the buck-boost module is the difference between the voltage Vi output by the power supply and the voltage Vc across capacitor C1, i.e., Vi - Vc = V0. During stage T1, the voltage V0 of the load is the difference between the voltage Vi output by power supply 201 and the voltage VL during inductor discharge, i.e., V0 = Vi + Vc.
[0109] For example, Figure 4D illustrates the waveforms of the third terminals of each switching transistor in the buck-boost mode according to an embodiment of the present application. As shown in Figure 4D , the T0 and T1 phases alternate. During the T0 phase, Q1 corresponds to a high level, Q2 corresponds to a low level, and Q3 and Q4 alternately correspond to high levels.
[0110] It is understood that the T0 stage corresponds to the buck mode, and the T1 stage corresponds to the boost mode. The boost mode can be described with reference to the corresponding descriptions of FIG. 4B and FIG. 4C above, and will not be described in detail here.
[0111] As can be seen from Figure 4D, the T0 stage includes two sub-stages, namely the E stage and the 1-E stage.
[0112] In phase E, Q1 and Q3 are both at a high level, while Q2 and Q4 are both at a low level. Consequently, Q1 and Q3 are both on, while Q2 and Q4 are both off. The current path in the buck-boost module can be shown as the gray dashed line in Figure 4E. Specifically, power supply 201, Q3, inductor L1, Q1, buck module 205, and load 203 form a loop, charging inductor L1. Phase E can also be referred to as the inductor charging phase.
[0113] In the 1-E phase, Q1 and Q4 are both at a high level, while Q2 and Q3 are both at a low level. Consequently, Q1 and Q4 are both on, while Q2 and Q3 are both off. The current path in the buck-boost module can be shown as the gray dashed line in Figure 4F. Specifically, inductor L1, Q1, buck module 205, load 203, and Q4 form a loop, and inductor L1 discharges. The 1-E phase can also be referred to as the inductor discharge phase.
[0114] In some embodiments, as the power supply is used, the voltage output by the power supply decreases, and the ratio of the time between the T0 phase and the T1 phase decreases. The embodiments of the present application do not limit the ratio of the time between the T0 phase and the T1 phase, or the change in the ratio of the time between the T0 phase and the T1 phase.
[0115] In a second possible implementation, the discharge circuit includes a first switch. The discharge circuit uses a voltage-reduction module 205 to reduce the voltage output by the power supply 201 when the voltage output by the power supply 201 is less than a first value. At this time, the voltage-reduction module 204 is in bypass mode.
[0116] For example, Figure 5 is a schematic diagram of the structure of a buck-boost module 204 and a buck-boost module 205 provided in an embodiment of the present application. As shown in Figure 5, the buck-boost module 204 includes a first switch 501 and a buck-boost circuit 502. One end of the first switch 501 is connected to the input of the buck-boost circuit 502; the other end of the first switch 501 is connected to the output of the buck-boost circuit 502.
[0117] For example, the buck-boost circuit 502 may be composed of four switching transistors and an inductor. The specific control method can refer to the corresponding description above and will not be repeated here. The embodiment of the present application does not limit the specific composition of the buck-boost circuit 502.
[0118] In the embodiment of the present application, when the power source 201 is charged by the buck-boost module 204 , the first switch 501 is disconnected, and the buck-boost circuit 502 boosts the charging voltage of the charging interface.
[0119] When the voltage output by the power supply 201 is less than the first value, the first switch 501 is closed and the buck-boost circuit 502 is bypassed, or the buck-boost circuit 502 is in bypass mode.
[0120] The first switch 501 may be a single-pole single-throw switch, a switch tube, or other types of switches. The embodiment of the present application does not limit the specific type of the first switch 501.
[0121] It is understandable that the first switch 501 may be located in the buck-boost module 204 or independently outside the buck-boost module 204. The embodiment of the present application does not limit the specific location of the first switch 501.
[0122] Buck module 205 includes a switch Q5, an inductor L2, a switch D1, and a capacitor C1. The other end of switch Q5 is connected to one end of inductor L2, one end of switch D1 is connected to one end of inductor L2, one end of capacitor C1 is connected to the other end of inductor L2, the other end of switch D1 is grounded, and the other end of capacitor C1 is grounded.
[0123] Switch Q5 can be a single-pole single-throw switch, a switching transistor, a diode, etc. This embodiment of the present application does not limit the specific type of switch 6011. Switch D1 can be a diode or a switching transistor, for example, an NMOS transistor or a PMOS transistor. This embodiment of the present application does not limit the specific structure of the step-down module.
[0124] The working principle of the step-down circuit shown in FIG5 is described below.
[0125] When switch Q5 is turned on, inductor L2 is magnetized and stores energy, causing the current flowing through the inductor to increase linearly, while also charging capacitor C1 and providing energy to the load. At this point, the voltage Vout output to the load slowly rises. If switch Q5 remains closed and the voltage drop across the switch is not considered, Vout will be approximately equal to the charging voltage at the charging port (S1 has a voltage drop).
[0126] When switch Q5 is turned on, inductor L2 is discharged through switch D1, and inductor current IL decreases linearly. Output voltage Vout is maintained to slowly decrease by capacitor C1 discharge Ic and the reduced inductor current IL. If switch Q5 is continuously turned off, Vout will eventually drop to 0V.
[0127] In the buck circuit shown in FIG5 , the voltage output to the load can be controlled by controlling the duty cycle of the switch Q5 .
[0128] In some embodiments, the step-down module is further provided with a voltage regulation circuit. A voltage divider resistor is connected to the output end of the step-down circuit (e.g., the other end of inductor L2), and the output voltage is sampled to the feedback end FB (VFB). After comparison with the reference voltage, an op amp outputs a voltage, which is then compared with the triangular wave to generate a PWM signal to drive the switch Q5, thereby achieving closed-loop voltage control. The embodiments of the present application do not specifically limit the voltage regulation circuit.
[0129] In a third possible implementation, the discharge circuit includes a second switch. The discharge circuit uses the buck-boost module 204 to step down the voltage output by the power supply 201 when the voltage output by the power supply 201 is less than a first value. At this time, the buck module 205 is in bypass mode.
[0130] For example, Figure 6 is a schematic diagram of the structure of a buck-boost module 204 and a buck module 205 provided in an embodiment of the present application. As shown in Figure 6, the buck module 205 includes a second switch 601 and a buck circuit 602. One end of the second switch 601 is connected to the input end of the buck circuit 602; the other end of the second switch 601 is connected to the output end of the buck circuit 602. The buck circuit 602 can be composed of two switches, an inductor, and a capacitor. The buck circuit 602 can be as shown in the buck module in Figure 5. The specific structure of the buck circuit is not limited in this embodiment of the present application. The components include a switch Q5, an inductor L2, a switch D1, and a capacitor C1. One end of the switch Q5 is connected to one end of the switch 601, the other end of the switch Q5 is connected to one end of the inductor L2, the other end of the inductor L2 is connected to the other end of the switch 601, one end of the switch D1 is connected to one end of the inductor L2, one end of the capacitor C1 is connected to the other end of the inductor L2, the other end of the switch D1 is grounded, and the other end of the capacitor C1 is grounded.
[0131] Switch Q5 can be a single-pole single-throw switch, a switching transistor, a diode, etc. This embodiment of the present application does not limit the specific type of switch 6011. Switch D1 can be a diode or a switching transistor, for example, an NMOS transistor or a PMOS transistor. This embodiment of the present application does not limit the specific structure of the step-down circuit 602.
[0132] The buck-boost module 204 may include: switch tubes Q6, Q7, Q8, Q9 and inductor L2. The specific control method of the buck-boost module 204 can refer to the above corresponding description and will not be repeated here.
[0133] It is understandable that the buck circuit 602 shown in FIG6 is only an example and may also be a circuit of other forms. The embodiment of the present application does not limit the specific structure of the buck circuit 602.
[0134] It is understandable that the second switch 601 may be located in the step-down module 205 or independently outside the step-down module 205. The embodiment of the present application does not limit the specific location of the second switch 601.
[0135] In summary, the circuit shown in Figure 2 can continue to supply power to the load when the power supply output voltage is small, thereby increasing the available power of the power supply, reducing the power supply usage speed, reducing the charging frequency of the power supply, and improving the user experience.
[0136] It is understandable that the circuit connection method provided in the above embodiment is only an example, and the same function can be achieved through other connection methods, which are not limited here.
[0137] On the basis of the above embodiment, the discharge circuit further includes a direct charging module 208. One end of the direct charging module 208 is connected to the charging interface 206, and the other end of the direct charging module 208 is connected to the power supply 201.
[0138] The direct charging module 208 is used to charge the power supply 201 when the charging voltage value of the charging interface is greater than or equal to the voltage value required for charging the power supply 201.
[0139] The embodiments of the present application do not limit the specific structure of the direct charging module.
[0140] Based on the above embodiment, the discharge circuit further includes a switch tube 209 . A first terminal of the switch tube 209 is connected to the charging interface 206 ; a second terminal of the switch tube 209 is connected to the input end of the step-down module 205 .
[0141] In some embodiments, the switch 209 is a bidirectionally cutoff MOS transistor. The source and drain of the bidirectionally cutoff MOS transistor are connected to two opposing diodes. This can reduce leakage in the charging port when the power supply 201 is discharging, improving the user experience.
[0142] It can be understood that, in the circuit of the above embodiment, when the voltage output by the power supply is greater than or equal to the first value, the voltage output by the power supply is adjusted by the charge pump.
[0143] In some embodiments, the discharge circuit does not include a charge pump. During discharge, the voltage output by the power supply is adjusted using the buck-boost module and / or the buck module. The specific implementation is similar to the scenario described above where the voltage output by the power supply is less than the first value and will not be further described here.
[0144] For example, FIG7 is a flow chart of a discharge method provided in an embodiment of the present application. As shown in FIG7 , the discharge method includes:
[0145] S701: The processor monitors the voltage output by the power supply.
[0146] It is understandable that the processor can be replaced by a module with control functions such as SOC, MCU, etc., and this embodiment of the present application is not limited to this.
[0147] S702: When the voltage output by the power supply is less than a first value, the processor controls the buck-boost module and / or the buck module to adjust the voltage output by the power supply to supply power to the load.
[0148] Specifically, a module with a control function, such as a processor or SOC, controls the charge pump to perform voltage reduction according to a preset voltage reduction ratio mode through an enable signal or other arbitrary methods.
[0149] In a possible implementation manner 1, the processor controls the first module to boost the voltage output by the power supply; and the processor controls the second module to step down the voltage boosted by the first module.
[0150] In this way, by adjusting the control methods of the first and second modules, the power supply can be used to supply power to the load when the output voltage is low, thereby increasing the available power of the power supply, reducing the power supply usage speed, and reducing the charging frequency of the power supply, thereby improving the user experience. In addition, there is no need for additional switches or other components, and the discharge circuit occupies a small area.
[0151] In a second possible implementation, the discharge circuit includes a first switch; the method further includes: when the voltage output by the power supply is less than a first value, the processor controls the first switch to close; the processor controls the buck-boost module and / or the buck module to adjust the voltage output by the power supply, including: the processor controls the buck module to step down the voltage output by the power supply.
[0152] In this way, by adjusting the control methods of the first and second modules, the load can be powered when the power supply output voltage is low, thereby increasing the available power of the power supply, reducing the power supply usage speed, and reducing the charging frequency of the power supply, thereby improving the user experience. Compared with possible implementation method 1, the control logic is simpler.
[0153] In possible implementation method three, the discharge circuit includes a second switch; the method also includes: when the voltage output by the power supply is less than the first value, the processor controls the second switch to close; the processor controls the buck-boost module and / or the buck module to adjust the voltage output by the power supply, including: the processor controls the buck-boost module to step down the voltage output by the power supply.
[0154] In this way, by adjusting the control methods of the first and second modules, the load can be powered when the power supply output voltage is low, thereby increasing the available power of the power supply, reducing the power supply usage speed, and reducing the charging frequency of the power supply, thereby improving the user experience. Compared with possible implementation method 1, the control logic is simpler.
[0155] In summary, the power supply can continue to supply power when the output voltage is relatively low, thereby improving the efficiency of the power supply capacity.
[0156] Optionally, the discharge circuit further includes a charge pump. The control method further includes: S703.
[0157] S703: When the voltage output by the power supply is greater than or equal to a first value, the processor controls the charge pump to adjust the voltage output by the power supply.
[0158] In some embodiments, the charge pump adjusts the voltage output by the power supply according to a preset step-down ratio.
[0159] The method of the embodiment of the present application has been described above. The device for performing the above method provided by the embodiment of the present application is described below. Those skilled in the art will understand that the method and device can be combined and referenced with each other, and the relevant device provided by the embodiment of the present application can perform the steps in the above method.
[0160] The control method provided in the embodiment of the present application can be applied to electronic devices with a discharge function. The electronic devices include terminal devices. The specific device form of the terminal device can refer to the above related descriptions and will not be repeated here.
[0161] An embodiment of the present application provides a terminal device, which includes: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the terminal device executes the above method.
[0162] For example, FIG8 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. As shown in FIG8, the terminal device includes: the terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0163] It should be understood that the structures illustrated in the embodiments of the present invention do not constitute specific limitations on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0164] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0165] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0166] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly retrieve it from the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0167] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0168] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the terminal device. In other embodiments of the present application, the terminal device may also adopt a different interface connection method from the above embodiment, or a combination of multiple interface connection methods.
[0169] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via a wireless charging coil in the terminal device. While charging the battery 142, the charging management module 140 can also power the electronic device through the power management module 141.
[0170] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0171] It is understood that the power source in the discharge circuit in the above embodiment corresponds to the battery 142 in Figure 8. The charging interface corresponds to the USB interface 130. The power management module 141 includes the discharge circuit shown in the above embodiment.
[0172] In some embodiments, the power management module 141 is located in the processor.
[0173] The terminal device implements display functionality through a GPU, display screen 194, and an application processor. The GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0174] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, the terminal device can include one or N display screens 194, where N is a positive integer greater than 1.
[0175] The terminal device can realize the shooting function through the ISP, camera 193, video codec, GPU, display 194 and application processor.
[0176] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and transformed into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.
[0177] Camera 193 is used to capture still images or videos. In some embodiments, the terminal device may include one or N cameras 193, where N is a positive integer greater than 1. The types of the multiple cameras 193 can vary. For example, camera 193 may include a camera for capturing color images or a time-of-flight camera. In the embodiments of the present application, a camera can be understood as a camera. Cameras include: the AO camera, time-of-flight camera, etc. in the embodiments of the present application.
[0178] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0179] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 can include a program storage area and a data storage area.
[0180] The terminal device can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0181] Keys 190 include a power button, a volume button, and other buttons. Keys 190 can be mechanical or touch-sensitive. The terminal device can receive key inputs and generate key signal inputs related to user settings and function control of the terminal device. Indicator 192 can be an indicator light that can be used to indicate charging status, battery level changes, messages, missed calls, notifications, and the like.
[0182] In addition, on top of the above components, the device also runs an operating system, such as the iOS operating system, the Android operating system, or the Windows operating system. Applications can be installed and run on the operating system.
[0183] The software system of the terminal device can adopt a layered architecture, event-driven architecture, micro-kernel architecture, microservice architecture, or cloud architecture, etc., which will not be described here.
[0184] The present embodiment provides a chip. The chip includes a processor configured to invoke a computer program stored in a memory to execute the technical solution of the above embodiment. The implementation principles and technical effects are similar to those of the above-mentioned related embodiments and will not be further described here.
[0185] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the above-mentioned method is implemented. The methods described in the above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions can be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium that can be accessed by a computer.
[0186] In one possible implementation, computer-readable media may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium designed to carry or store the desired program code in the form of instructions or data structures and accessible by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technologies such as infrared, radio and microwave are used to transmit software from a website, server or other remote source, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of medium. Disk and optical disk as used herein include optical disk, laser disk, optical disk, digital versatile disk (DVD), floppy disk and Blu-ray disk, where disks generally reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0187] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the above method.
[0188] The present application embodiment is described with reference to the flow chart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present application.It should be understood that each flow process and / or box in the flow chart and / or block diagram and the combination of the flow process and / or box in the flow chart and / or block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processing unit of general-purpose computer, special-purpose computer, embedded processing machine or other programmable device to produce a machine, so that the instruction executed by the processing unit of computer or other programmable data processing device produces the device for realizing the function specified in one flow chart flow or multiple flows and / or one block or multiple blocks of block diagram.
[0189] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0190] The above specific embodiments further explain the purpose, technical solutions and beneficial effects of the present invention in detail.
[0191] It should be understood that the above is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention.
[0192] Any modification, equivalent replacement, improvement, etc. made on the basis of the technical solution of the present invention shall be
[0193] Included in the protection scope of the present invention.
Claims
1. A discharge circuit, characterized in that: include: A power source, a first module, a second module, a charging interface and a processor; The input end of the first module is connected to the charging interface, the output end of the first module is connected to the power supply, the input end of the second module is connected to the charging interface, and the output end of the second module is connected to the load; the first module and the second module are both controlled by the processor; The power source includes one or more batteries; The processor is used to control the first module to adjust the charging voltage at the charging interface to charge the power source; The processor is further configured to control the second module to adjust the charging voltage at the charging interface to supply power to the load when the power source reaches the charging cut-off voltage; The processor is further configured to control the first module and / or the second module to adjust the voltage output by the power supply to supply power to the load when the voltage output by the power supply is less than a first value.
2. The discharge circuit according to claim 1, characterized in that: The discharge circuit further includes: a charge pump; The power supply is connected to the input end of the charge pump, and the output end of the charge pump is connected to the load; The processor is specifically configured to control the charge pump to adjust the voltage output by the power supply when the voltage output by the power supply is greater than or equal to a first value; The processor is specifically used to control the first module and / or the second module to adjust the voltage output by the power supply when the voltage output by the power supply is less than the first value, so that the voltage at the load is greater than or equal to a second value, the second value is less than the first value, and the second value is greater than or equal to the minimum voltage required for the load to operate.
3. The discharge circuit according to claim 2, characterized in that: The ratio of the voltage value corresponding to the input end of the charge pump to the voltage value corresponding to the output end of the charge pump is a preset value; The ratio of the voltage value corresponding to the input end of the first module to the voltage value corresponding to the output end of the second module is smaller than the preset value.
4. The discharge circuit according to any one of claims 1 to 3, characterized in that: The processor is specifically used to control the first module to perform voltage boost processing on the voltage output by the power supply; The processor is specifically used to control the second module to reduce the voltage after the voltage boosting process of the first module.
5. The discharge circuit according to claim 4, characterized in that: The first module includes: a switch tube Q1, a switch tube Q2, a switch tube Q3, a switch tube Q4 and an inductor L1; The second pole of Q1 is connected to the first pole of Q2, the second pole of Q2 is grounded, the second pole of Q3 is connected to the first pole of Q4, Q4 is grounded, one end of the inductor L1 is connected to the second pole of Q1, the other end of the inductor L1 is connected to the second pole of Q3, the first pole of Q1 is connected to the charging interface, and the first pole of Q3 is connected to the power supply; the third pole of Q1, the third pole of Q2, the third pole of Q3, and the third pole of Q4 are all controlled by the processor; The processor is specifically used to control the first module to operate in a first mode or a second mode to boost the voltage output by the power supply; In the first mode, Q1 and Q2 are alternately turned on, Q3 is turned on, and Q4 is turned off, wherein: When Q1 is turned on, Q2 is turned off, and when Q1 is turned off, Q2 is turned on; Any one cycle in the second mode includes a first time period and a second time period; In the first time period, Q1 is turned on, Q2 is turned off, and Q3 and Q4 are turned on alternately, wherein Q4 is turned off when Q3 is turned on, and Q4 is turned on when Q3 is turned off; During the second time period, the Q1 and the Q2 are alternately turned on, the Q3 is turned on, and the Q4 is turned off.
6. The discharge circuit according to any one of claims 1 to 3, characterized in that: The discharge circuit further includes: a first switch, one end of the first switch is connected to the input end of the first module, and the other end of the first switch is connected to the output end of the first module; the first switch is controlled by the processor; The processor is further configured to control the first switch to be turned on when charging the power source; The processor is further configured to control the first switch to close when the power supply is discharging, and control the second module to adjust the voltage output by the power supply.
7. The discharge circuit according to claim 6, characterized in that: The second module includes: a switch Q5, a switch D1, an inductor L2, and a capacitor C1; One end of the Q5 is connected to one end of the first switch, the other end of the Q5 is connected to one end of the inductor L2, the other end of the inductor L2 is connected to the other end of the first switch, one end of the D1 is connected to one end of the inductor L2, one end of the capacitor C1 is connected to the other end of the inductor L2, the other end of the D1 is grounded, and the other end of the capacitor C1 is grounded; The processor is specifically used to control the first switch to close, and control the second module to adjust the voltage output by the power supply.
8. The discharge circuit according to any one of claims 1 to 3, characterized in that: The discharge circuit further includes a second switch, one end of the second switch is connected to the input end of the second module, and the other end of the second switch is connected to the output end of the second module; the second switch is controlled by the processor; The processor is further configured to control the second switch to turn on when charging the power source; The processor is further configured to control the second switch to close when the power supply is discharging, and to control the first module to adjust the voltage output by the power supply.
9. The discharge circuit according to claim 8, characterized in that: The first module includes: a switch tube Q6, a switch tube Q7, a switch tube Q8, a switch tube Q9 and an inductor L2; The second pole of Q6 is connected to the first pole of Q7, the second pole of Q7 is grounded, the second pole of Q8 is connected to the first pole of Q9, Q9 is grounded, one end of the inductor L2 is connected to the second pole of Q6, the other end of the inductor L2 is connected to the second pole of Q8, the first pole of Q6 is connected to the charging interface, and the first pole of Q8 is connected to the power supply; the third pole of Q6, the third pole of Q7, the third pole of Q8, and the third pole of Q9 are all controlled by the processor; The processor is specifically used to control Q6 to be turned on, Q7 to be turned off, and Q8 and Q9 to be turned on alternately.
10. The discharge circuit according to any one of claims 1 to 9, characterized in that: The discharge circuit further includes: a switch tube Q10; a first electrode of the switch tube Q10 is connected to the charging interface, and a second electrode of the switch tube Q10 is connected to the input end of the power adjustment module; Two opposing diodes are connected between the first pole and the second pole of the switch tube Q10.
11. The discharge circuit according to any one of claims 1 to 10, characterized in that: The discharge circuit also includes a third module; The input end of the third module is connected to the charging interface, and the output end of the third module is connected to the power supply; The third module is used to charge the power supply when the charging voltage value of the charging interface is greater than or equal to the voltage value required for charging the power supply.
12. A power management chip, characterized in that: include: The discharge circuit according to any one of claims 1 to 11.
13. A terminal device, characterized in that: include: The discharge circuit according to any one of claims 1 to 11.
14. A control method, characterized in that: Applied to the discharge circuit according to any one of claims 1 to 11, the method comprising: The processor monitors the voltage output by the power supply; When the voltage output by the power supply is less than the first value, the processor controls the first module and / or the second module to adjust the voltage output by the power supply to supply power to the load.
15. The method according to claim 14, characterized in that The processor controls the first module and / or the second module to adjust the voltage output by the power supply, including: The processor controls the first module to perform voltage boost processing on the voltage output by the power supply; The processor controls the second module to reduce the voltage boosted by the first module.
16. The method according to claim 14, characterized in that The discharge circuit includes a first switch; The method further includes: when the voltage output by the power supply is less than the first value, the processor controls the first switch to close; The processor controls the first module and / or the second module to adjust the voltage output by the power supply, including: the processor controls the second module to reduce the voltage output by the power supply.
17. The method according to claim 14, characterized in that The discharge circuit includes a second switch; The method further includes: when the voltage output by the power supply is less than the first value, the processor controlling the second switch to close; The processor controls the first module and / or the second module to adjust the voltage output by the power supply, including: the processor controls the first module to reduce the voltage output by the power supply.
Citation Information
Patent Citations
Electronic equipment, charging method thereof and readable storage medium
CN113555917A
Power conversion structure and electronic equipment comprising same
CN114142723A
Battery management circuit and battery management method
CN115603409A
Battery control circuit and method, terminal equipment and storage medium
CN117200368A
Power source system
JP2021114869A
