CN111969685A - Handheld terminal, power supply circuit thereof, power supply control method thereof and readable storage medium - Google Patents

Handheld terminal, power supply circuit thereof, power supply control method thereof and readable storage medium Download PDF

Info

Publication number
CN111969685A
CN111969685A CN202010830309.9A CN202010830309A CN111969685A CN 111969685 A CN111969685 A CN 111969685A CN 202010830309 A CN202010830309 A CN 202010830309A CN 111969685 A CN111969685 A CN 111969685A
Authority
CN
China
Prior art keywords
battery
power supply
charger
circuit
voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010830309.9A
Other languages
Chinese (zh)
Inventor
邓加飞
刘静江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Microphone Holdings Co Ltd
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Microphone Holdings Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Microphone Holdings Co Ltd filed Critical Shenzhen Microphone Holdings Co Ltd
Priority to CN202010830309.9A priority Critical patent/CN111969685A/en
Publication of CN111969685A publication Critical patent/CN111969685A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0013Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries acting upon several batteries simultaneously or sequentially
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0013Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries acting upon several batteries simultaneously or sequentially
    • H02J7/0024Parallel/serial switching of connection of batteries to charge or load circuit
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • H02J7/0049Detection of fully charged condition
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0063Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M3/00Conversion of dc power input into dc power output
    • H02M3/02Conversion of dc power input into dc power output without intermediate conversion into ac
    • H02M3/04Conversion of dc power input into dc power output without intermediate conversion into ac by static converters
    • H02M3/10Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • H02M3/145Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
    • H02M3/155Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only
    • H02M3/156Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application discloses handheld terminal and supply circuit, power supply control method, readable storage medium thereof, handheld terminal's supply circuit is including the battery, vary voltage module and the power management chip that connect gradually, wherein, the quantity of battery is at least one, the vary voltage module is used for detecting when the output voltage of battery is in predetermineeing the within range, will the output voltage of battery steps up extremely the required operating voltage of power management chip, thereby the extension the power supply time of battery improves handheld terminal's duration.

Description

Handheld terminal, power supply circuit thereof, power supply control method thereof and readable storage medium
Technical Field
The present application relates to the field of power supply technologies, and in particular, to a handheld terminal, a power supply circuit thereof, a power supply control method thereof, and a readable storage medium.
Background
With the rapid development of electronic consumer products, handheld terminal products such as mobile phones, cameras, tablet computers and the like are rapidly popularized. In order to improve portability and convenience of use of the handheld terminal product, a battery has become an essential component of the handheld terminal product, and provides power support for operation of each functional circuit inside the handheld terminal.
Since the advent of handheld electronic consumer products, the ultra-long standby time has been a pursuit of inexhaustible hand-held terminal designers. However, the methods currently used to solve the problem of the ultra-long standby are basically to improve the manufacturing process of the battery used inside the handheld terminal or to replace the battery with a larger capacity. The manufacturing process of the improved battery needs to invest large manpower and material resources, the development period is long, and the research and development cost is high; although the method of replacing the large-capacity battery can reduce the development difficulty and shorten the development period, the volume of the battery is increased along with the increase of the capacity of the battery, and the use of the large-capacity battery can lead to the increase of the whole volume of the handheld terminal, so that the method is not suitable for the development trend of miniaturization, lightness and thinness of the existing handheld terminal products. Therefore, the cruising ability of the battery is to be improved.
The above description is only for illustrating the technical problems to be solved by the present application, and does not represent that the above description is the prior art.
Disclosure of Invention
The main objective of the present application is to provide a power supply circuit for a handheld terminal, which aims to solve the problem that the endurance of a battery in the prior art has time.
For realizing above-mentioned purpose, the power supply circuit of handheld terminal that this application provided, the power supply circuit of handheld terminal is including the battery, vary voltage module and the power management chip that connect gradually, wherein, the quantity of battery is at least one, the vary voltage module is used for detecting when the output voltage of battery is in predetermineeing the within range, will the output voltage of battery steps up extremely the required operating voltage of power management chip.
Further, the voltage transformation module includes:
and the input end and the enabling end of the voltage boosting and reducing circuit are connected to the anode of the battery, and the output end of the voltage boosting and reducing circuit is connected with the power management chip.
Further, the voltage transformation module comprises a voltage boosting and reducing circuit and a comparator;
the input end of the boost-buck circuit is connected with the anode of the battery, and the output end of the boost-buck circuit is connected with the power management chip;
the input end and the power supply end of the comparator are connected with the anode of the battery, and the output end of the comparator is connected with the enabling end of the voltage-boosting circuit.
Furthermore, the voltage transformation module comprises a comparator circuit, and a load switch and a voltage boosting and reducing circuit which are connected in parallel, wherein the input ends of the load switch and the voltage boosting and reducing circuit are both connected to the positive electrode of the battery, and the output ends of the load switch and the voltage boosting and reducing circuit are both connected to the power management chip;
the comparator circuit comprises a comparator and an electronic switch, wherein the input end and the power end of the comparator are both connected to the anode of the battery, the output end of the comparator is connected to the enabling end of the load switch, the output end of the comparator is also connected to the anode of the battery, and the output end of the comparator is also connected to the control end of the electronic switch;
the input end of the electronic switch is connected to the positive electrode of the battery, the input end of the electronic switch is also connected to the enabling end of the voltage-boosting circuit, and the output end of the electronic switch is grounded.
Further, the comparator circuit further comprises a first pull-up resistor, a second pull-up resistor and a current limiting resistor;
the first pull-up resistor is connected between the output end of the comparator and the anode of the battery in series;
the second pull-up resistor is connected between the input end of the electronic switch and the anode of the battery in series;
the current limiting resistor is connected between the output end of the comparator and the control end of the electronic switch in series.
Further, the number of the batteries is at least two, and the batteries at least include a first battery and a second battery, and the power supply circuit further includes:
the power supply switching module is used for switching the connection state of the first battery and the second battery, wherein the connection state of the first battery and the second battery comprises one of a series connection state and a parallel connection state.
Furthermore, the power supply switching module comprises a logic control circuit, a first switch, a second switch and a third switch, wherein control ends of the first switch, the second switch and the third switch are all connected with the logic control circuit;
the first switch is connected between the negative electrode of the first battery and the negative electrode of the second battery in series;
the second switch is connected between the negative electrode of the first battery and the positive electrode of the second battery in series;
the third switch is connected between the positive electrode of the first battery and the positive electrode of the second battery in series;
the positive pole of the first battery is connected to the input end of the voltage transformation module, and the negative pole of the second battery is grounded.
Further, the power supply circuit further includes:
the charger is connected with the logic control circuit, and the logic control circuit is used for switching the on and off of the first switch, the second switch and the third switch according to the type of the charger so as to realize the switching of the connection state of the first battery and the second battery;
when the charger is connected with the logic control circuit and is a standard charger, the logic control circuit controls the first switch and the third switch to be closed and controls the second switch to be opened, so that the first battery and the second battery are switched to be in a series connection state;
when the charger is not connected with the logic control circuit, or the charger is connected with the logic control circuit and the charger is a non-standard charger, the logic control circuit controls the first switch and the third switch to be opened and controls the second switch to be closed, so that the first battery and the second battery are switched to be in a parallel connection state.
Further, the power supply circuit further includes:
the high-voltage charging module is electrically connected with the logic control circuit and the charger, the charger charges the first battery and the second battery through the high-voltage charging module, the positive electrode of the first battery is connected with the voltage transformation module through the high-voltage charging module, and the first battery and the second battery supply power to the power management chip through the high-voltage charging module.
Further, the power supply circuit further includes:
the negative electrode of the second battery is grounded through the sampling resistor;
the electricity meter is connected to two ends of the sampling resistor and used for measuring charging information of the first battery and the second battery, wherein the charging information comprises at least one of charging voltage, charging current and battery terminal voltage.
In order to achieve the above object, the present application further provides a handheld terminal, where the handheld terminal includes a control system and the power supply circuit as described in any one of the above, the control system is connected to the power management chip, and the power management chip is configured to output the working voltage required by the control system to the control system.
In order to achieve the above object, the present application further provides a power supply control method for a handheld terminal, where the power supply control method for the handheld terminal includes the following steps:
acquiring output voltage of a battery in the handheld terminal;
and when the output voltage is within a preset range, controlling a voltage transformation module connected with the battery to boost the output voltage of the battery to a working voltage required by the power management chip.
Further, the step of obtaining the output voltage of the battery in the handheld terminal further includes:
and when the output voltage is larger than the preset range, directly supplying the output voltage to the power management chip.
Further, the step of obtaining the output voltage of the battery further comprises:
and when the output voltage is lower than the preset range, outputting low-power prompt information and controlling the handheld terminal to be powered off.
Further, the number of the batteries is at least two, and the batteries at least include a first battery and a second battery, and the power supply control method further includes:
when the charger is not detected to be inserted, the logic control circuit controls the first battery and the second battery to be switched into a parallel connection state so as to supply power to the power management chip through the first battery and the second battery which are connected in parallel.
Further, the power supply control method further includes:
when detecting that a charger is inserted, acquiring the type of the charger;
switching a connection state of the first and second batteries according to a type of the charger, wherein the connection state of the first and second batteries includes one of a series state and a parallel state.
Further, the step of switching the connection state of the first battery and the second battery according to the type of the charger includes:
when the charger is a standard charger, the first battery and the second battery are switched to be in a serial connection state under the control of a logic control circuit, so that the first battery and the second battery which are connected in series supply power to a power management chip in series, and the first battery and the second battery which are connected in series are charged through the standard charger.
Further, the step of switching the connection state of the first battery and the second battery according to the type of the charger includes:
when the charger is a non-standard charger, the first battery and the second battery are switched to be in a parallel connection state under the control of the logic control circuit, so that power is supplied to the power management chip through the first battery and the second battery which are connected in parallel, and the first battery and the second battery which are connected in parallel are charged through the non-standard charger.
Further, the power supply control method further includes:
acquiring corresponding charging information in the process of charging the first battery and the second battery;
and outputting full-power prompt information when the charging information meets a cutoff condition.
In order to achieve the above object, the present application further provides a handheld terminal, where the handheld terminal includes a memory, a processor, and a power supply control program of the handheld terminal stored in the memory and capable of running on the processor, and when the power supply control program of the handheld terminal is executed by the processor, the steps of the power supply control method of the handheld terminal as described in any one of the above items are implemented.
In order to achieve the above object, the present application further provides a readable storage medium, wherein the computer readable storage medium stores a power supply control program of a handheld terminal, and the power supply control program of the handheld terminal, when executed by a processor, implements the steps of the power supply control method of the handheld terminal as described in any one of the above.
According to the technical scheme, when the current output voltage of the battery is lower than the working voltage required by the power management chip, the output voltage of the battery is boosted to the working voltage required by the power management chip through the voltage transformation module, so that the cruising ability of the battery is prolonged; in addition, when the current output voltage of the battery is higher than the working voltage required by the power management chip, the output voltage of the battery is reduced to the working voltage required by the power management chip through the voltage transformation module, so that the normal work of the power control chip is ensured, and the potential safety hazard caused by high voltage of the power management chip is eliminated.
Drawings
FIG. 1 is a block schematic diagram of a power supply circuit of a handheld terminal of the present application;
FIG. 2 is a detailed circuit schematic diagram of one embodiment of a power supply circuit of the handheld terminal of the present application;
FIG. 3 is a detailed circuit schematic diagram of another embodiment of the power supply circuit of the handheld terminal of the present application;
FIG. 4 is a detailed circuit schematic diagram of yet another embodiment of the power supply circuit of the handheld terminal of the present application;
FIG. 5 is a detailed circuit schematic diagram of yet another embodiment of the power supply circuit of the handheld terminal of the present application;
FIG. 6 is a schematic diagram of an apparatus in a hardware operating environment according to an embodiment of the present application;
fig. 7 is a schematic flowchart of an embodiment of a power supply control method of a handheld terminal according to the present application;
fig. 8 is a schematic flowchart of another embodiment of a power supply control method of a handheld terminal according to the present application;
fig. 9 is a flowchart illustrating a power supply control method of a handheld terminal according to another embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that if directional indications (such as up, down, left, right, front, and back … …) are referred to in the embodiments of the present application, the directional indications are only used to explain the relative positional relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indications are changed accordingly.
In addition, if there is a description of "first", "second", etc. in the embodiments of the present application, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present application.
Referring to fig. 1, the power supply circuit of the handheld terminal provided by the present application includes a battery 10, a voltage transformation module 20, and a power management chip 30, which are connected in sequence, where the number of the battery 10 is at least one, and the voltage transformation module 20 is configured to boost an output voltage Vbat of the battery 10 to a working voltage required by the power management chip 30 when detecting that the output voltage Vbat of the battery 10 is within a preset range.
In this embodiment, the handheld terminal may be various electric terminals, such as a mobile phone, a camera, a tablet computer, a notebook computer, and the like, and the type of the handheld terminal is not limited in this embodiment. The power supply circuit of the handheld terminal is used for supplying power to the handheld terminal, specifically, the power supply circuit directly supplies power to the handheld terminal so as to maintain normal operation of the handheld terminal, or the power supply circuit charges a battery 10 inside the handheld terminal and supplies power to the handheld terminal so as to maintain normal operation of the handheld terminal through the battery 10.
In this embodiment, the power supply circuit specifically includes a battery 10, a voltage transformation module 20, and a power management chip 30, which are connected in sequence, that is, the voltage transformation module 20 is connected to the battery 10 and the power management chip 30, and usually, the power management chip 30 is further connected to the control system 40 of the handheld terminal, so as to output a working voltage required by the control system 40 to the control system 40, where the number of the battery 10 is at least one, and when the number of the battery 10 is multiple, the multiple batteries 10 may be connected in parallel or in series, and the connection relationship and the application scenario of the multiple batteries 10 will be described in detail below.
In this embodiment, the operating voltage of the power management chip 30 is generally relatively fixed, for example, when the handheld terminal is a mobile phone, the operating voltage of the power management chip 30 generally has a relatively fixed voltage range, and the range may be, for example, 3.5V to 4.0V. When the voltage is lower than 3.5V, part of functions of the handheld terminal are abnormal, so that the handheld terminal cannot work normally, and the handheld terminal can be automatically shut down; when the voltage is higher than 4.0V, the power management chip 30 is in a high-voltage working state, the power management chip 30 may be burnt, and potential safety hazards exist; therefore, in this embodiment, the voltage transformation module 20 is disposed between the battery 10 and the power management chip 30, and the voltage transformation module 20 is configured to adjust the output voltage Vbat of the battery 10, and specifically includes: when the current output voltage Vbat of the battery 10 is less than the working voltage required by the power management chip 30, boosting the current output voltage Vbat of the battery 10 to the working voltage required by the power management chip 30, for example, when the current output voltage Vbat of the battery 10 is lower than 3.5V, the voltage transformation module 20 boosts the current output voltage Vbat of the battery 10 to above 3.5V, for example, to 3.8V, so that the normal operation of the handheld terminal can be continuously maintained, and the handheld terminal does not continue to be shut down, so as to improve the cruising ability of the battery 10; and, when the current output voltage Vbat of the battery 10 is greater than the operating voltage required by the power management chip 30, step down the current output voltage Vbat of the battery 10 to the operating voltage required by the power management chip 30, for example, when the current output voltage Vbat of the battery 10 is higher than 4.0V, the voltage transformation module 20 steps down the current output voltage Vbat of the battery 10 to 4.0V or lower, for example, to 3.8V; therefore, the normal work of the power management chip 30 is ensured, and the potential safety hazard caused by high voltage of the power management chip 30 is eliminated.
In summary, in the present embodiment, when the current output voltage Vbat of the battery 10 is lower than the operating voltage required by the power management chip 30, the voltage transformation module 20 is used to boost the output voltage Vbat of the battery 10 to the operating voltage required by the power management chip 30, so as to prolong the cruising ability of the battery 10; in addition, when the current output voltage Vbat of the battery 10 is higher than the working voltage required by the power management chip 30, the output voltage Vbat of the battery 10 is reduced to the working voltage required by the power management chip 30 through the voltage transformation module 20, so that the normal operation of the power management chip 30 is ensured, and the potential safety hazard of the power management chip 30 due to high voltage is eliminated.
Referring to fig. 2, in an embodiment, the transformation module 20 includes: the boost/buck circuit 21, the input terminal Vin and the enable terminal EN of the boost/buck circuit 21 are connected to the positive electrode of the battery 10, and the output terminal Vout of the boost/buck circuit 21 is connected to the power management chip 30.
In this embodiment, the boost-buck circuit 21 and the input terminal Vin and the enable terminal EN of the boost-buck circuit are both connected to the positive electrode of the battery 10, the enable terminal EN of the boost-buck circuit 21 is enabled at a low level, when the positive electrode voltage of the battery 10, that is, the output voltage Vbat of the battery 10 is lower than the working voltage required by the power management chip 30, the boost-buck circuit 21 starts to work to boost the output voltage Vbat of the battery 10 to the working voltage required by the power management chip 30, for example, when the positive electrode voltage of the battery 10 is lower than 3.5V, the enable terminal EN is enabled at a low level, and the boost module boosts the positive electrode voltage of the battery 10 to 3.5V or more, for example, to 3.8V, so as to improve the cruising ability of the battery 10; when the output voltage Vbat of the battery 10 is higher than the working voltage required by the power management chip 30, the level received by the enable terminal EN is a high level, and the voltage step-up/step-down circuit 21 does not operate. For example, when the positive voltage of the battery 10 is higher than 3.5V, the step-up/step-down circuit 21 does not operate, and the output voltage Vbat of the battery 10 is directly transmitted to the power management chip 30. It is understood that the specific circuit form of the buck-boost circuit 21 may not be limited, and only the buck-boost function is required.
Referring to fig. 3, in another embodiment, the transformer module 20 includes a buck-boost circuit 21 and a comparator 22; an input end Vin of the boost-buck circuit 21 is connected with a positive pole + of the battery 10, and an output end Vout of the boost-buck circuit 21 is connected with the power management chip 30; an input terminal Vin and a power supply terminal Vcc of the comparator 22 are connected to the positive electrode + of the battery 10, and an output terminal Vout of the comparator 22 is connected to an enable terminal EN of the step-up/step-down circuit 21.
In this embodiment, the input terminal Vin and the power supply terminal Vcc of the comparator 22 are connected to the positive pole + of the battery 10, the output terminal Vout of the comparator 22 is connected to the enable terminal EN of the step-up/down circuit 21, when the positive pole + voltage of the battery 10, that is, the output voltage Vbat of the battery 10, is 3.V-3.5V, the output terminal Vout of the comparator 22 outputs a high level to the enable terminal EN of the step-up/down circuit 21, the step-up/down circuit 21 enables the high level, and the step-up/down circuit 21 steps up the output voltage Vbat of the battery 10 to the operating voltage (for example, the operating voltage is higher than 3.5V) required by the power management chip 30, for example, 3.8V, so as to improve the cruising ability of the battery 10; when the positive + voltage of the battery 10, that is, the output voltage Vbat of the battery 10 is higher than 3.5V, the output terminal Vout of the comparator 22 outputs a low level to the enable terminal EN of the buck-boost circuit 21, and the buck-boost circuit 21 does not operate.
Referring to fig. 4, in another embodiment, the transforming module 20 includes a comparator circuit, and a load switch 23 and a buck-boost circuit 21 connected in parallel, where input terminals Vin of the load switch 23 and the buck-boost circuit 21 are both connected to a positive electrode of the battery 10, and output terminals Vout of the load switch 23 and the buck-boost circuit 21 are both connected to the power management chip 30; the comparator 22 circuit comprises a comparator 22 and an electronic switch Q, an input terminal Vin and a power supply terminal Vcc of the comparator 22 are both connected to the positive pole + of the battery 10, an output terminal Vout of the comparator 22 is connected to an enable terminal EN of the load switch 23, the output terminal Vout of the comparator 22 is also connected to the positive pole + of the battery 10, and the output terminal Vout of the comparator 22 is also connected to a control terminal of the electronic switch Q; the input end of the electronic switch Q is connected to the positive pole + of the battery 10, the input end of the electronic switch Q is also connected to the enable end EN of the step-up and step-down circuit 21, and the output end of the electronic switch Q is grounded.
In this embodiment, the input terminal Vin and the power supply terminal Vcc of the comparator 22 are connected to the positive pole + of the battery 10, the output terminal Vout of the comparator 22 is connected to the enable terminal EN of the load switch 23, and the output terminal Vout of the comparator 22 is further connected to the control terminal of the electronic switch Q; the input end of the electronic switch Q is connected to the positive pole of the battery 10 +, the input end of the electronic switch Q is further connected to the enable end EN of the step-up/down circuit 21, the output end of the electronic switch Q is grounded, when the positive pole + voltage of the battery 10, that is, the output voltage Vbat of the battery 10, is between 3.0V and 3.5V, the output end Vout of the comparator 22 outputs a low level to the enable end EN of the load switch 23, and because the load switch 23 is enabled by a high level, at this time, the load switch 23 does not work; meanwhile, the output terminal Vout of the comparator 22 outputs a low level to the control terminal of the electronic switch Q, the electronic switch Q is turned off, the input terminal of the electronic switch Q outputs a high level to the enable terminal EN of the buck-boost circuit 21, and due to the high level enable of the buck-boost circuit 21, the buck-boost circuit 21 boosts the output voltage Vbat of the battery 10 to be higher than the working voltage (for example, the working voltage is higher than 3.5V) required by the power management chip 30, for example, 3.8V, so as to improve the cruising ability of the battery 10.
When the positive + voltage of the battery 10, that is, the output voltage Vbat of the battery 10, is higher than 3.5V, the output terminal Vout of the comparator 22 outputs a high level to the enable terminal EN of the load switch 23, and because the load switch 23 is enabled at a high level, at this time, the load switch 23 operates to directly provide the output voltage Vbat of the battery 10 to the power management chip 30; meanwhile, the output terminal Vout of the comparator 22 outputs a high level to the control terminal of the electronic switch Q, the electronic switch Q is turned on, the input terminal of the electronic switch Q is pulled low to a low level, and a low level is output to the enable terminal EN of the buck-boost circuit 21, and the buck-boost circuit 21 does not operate because of the high level enable of the buck-boost circuit 21.
When the positive + voltage of the battery 10, that is, the output voltage Vbat of the battery 10 is lower than 3.0V, the output end Vout of the comparator 22 is in a high-impedance state, and the output end Vout of the comparator 22 is pulled up to the output voltage Vbat of the battery 10, so that the output end Vout of the comparator 22 outputs a high level to the enable end EN of the load switch 23, and because the load switch 23 is enabled by the high level, at this time, the load switch 23 operates to directly transmit the output voltage Vbat of the battery 10 to the power management chip 30, and at this time, the output voltage Vbat of the battery 10 is lower than a shutdown voltage, and the handheld terminal is automatically shut down; meanwhile, the output terminal Vout of the comparator 22 outputs a high level to the control terminal of the electronic switch Q, the electronic switch Q is turned on, the input terminal of the electronic switch Q is pulled low to a low level, and a low level is output to the enable terminal EN of the buck-boost circuit 21, and the buck-boost circuit 21 does not operate because of the high level enable of the buck-boost circuit 21.
Referring to fig. 4, the comparator 22 circuit further includes a first pull-up resistor R1, a second pull-up resistor R2, and a current limiting resistor R3; the first pull-up resistor R1 is connected in series between the output terminal Vout of the comparator 22 and the positive pole + of the battery 10; the second pull-up resistor R2 is connected in series between the input terminal of the electronic switch Q and the positive pole + of the battery 10; the current-limiting resistor R3 is connected in series between the output terminal Vout of the comparator 22 and the control terminal of the electronic switch Q.
In the present embodiment, the first pull-up resistor R1 is connected in series between the output terminal Vout of the comparator 22 and the positive pole + of the battery 10, so as to pull up the voltage of the output terminal Vout of the comparator 22 to the positive pole voltage of the battery 10, i.e. the output voltage Vbat of the battery 10; similarly, the second pull-up resistor R2 is connected in series between the input terminal of the electronic switch Q and the positive terminal + of the battery 10 to pull up the voltage at the input terminal of the electronic switch Q to the positive voltage of the battery 10, that is, the output voltage Vbat of the battery 10, and meanwhile, the current-limiting resistor R3 is connected in series between the output terminal Vout of the comparator 22 and the control terminal of the electronic switch Q to prevent the output terminal Vout of the comparator 22 from outputting an excessive current to burn out the electronic switch Q, the resistance of the current-limiting resistor R may be set according to actual conditions, and the electronic switch Q may be a triode, a MOS transistor, or other equivalent electronic devices.
Referring to fig. 5, further, the number of the batteries 10 is at least two, and the power supply circuit includes at least a first battery 11 and a second battery 12, and further includes: a power supply switching module (not shown), which is connected to the first battery 11 and the second battery 12, and is configured to switch a connection state of the first battery 11 and the second battery 12, where the connection state of the first battery 11 and the second battery 12 includes one of a series connection state and a parallel connection state.
In this embodiment, the number of the batteries 10 is at least two, and the batteries include at least a first battery 11 and a second battery 12, a power supply switching module connected to the first battery 11 and the second battery 12 is provided to switch the connection state of the first battery 11 and the second battery 12, when the power supply switching module switches the connection state of the first battery 11 and the second battery 12 to a series connection state, even if the output voltage Vbat of the first battery 11 and the output voltage Vbat of the second battery 12 are both lower than the shutdown voltage, for example, 3V, but the total output voltage Vbat obtained by adding the output voltages Vbat of the first battery 11 and the second battery 12 is greater than the shutdown voltage, for example, 3V, at this time, the total output voltage Vbat can be boosted to the operating voltage of the power management chip 30 by the voltage transformation module 20, so that the cruising ability of the batteries 10 can be further improved, meanwhile, when the first battery 11 and the second battery 12 are connected in series, the first battery 11 and the second battery 12 can be charged at high voltage through the charger 24, so that the charging efficiency of the first battery 11 and the second battery 12 is improved. In the states of the first battery 11 and the second battery 12, the power management chip 30 may be powered by the first battery 11 and the second battery 12 at the same time.
Referring to fig. 5, the power supply switching module further includes a logic control circuit 25, a first switch Q1, a second switch Q2, and a third switch Q3, wherein control terminals C3, C4, and C5 of the first switch Q1, the second switch Q2, and the third switch Q3 are all connected to the logic control circuit 25; the first switch Q1 is connected in series between the negative electrode of the first battery 11 and the negative electrode of the second battery 12; the second switch Q2 is connected in series between the negative pole of the first battery 11 and the positive pole of the second battery 12; the third switch Q3 is connected in series between the positive electrode of the first battery 11 and the positive electrode of the second battery 12; the positive electrode of the first battery 11 is connected to the input end of the voltage transformation module 20, and the negative electrode of the second battery 12 is grounded.
In this embodiment, the negative electrode of the first battery 11 is connected to the negative electrode of the second battery 12 through the first switch Q1, and is connected to the positive electrode of the second battery 12 through the second switch Q2, the positive electrode of the first battery 11 is connected to the positive electrode of the second battery 12 through the third switch Q3, and at the same time, the control terminals C3, C4, C5 of the first switch Q1, the second switch Q2, and the third switch Q3 are all connected to the logic control circuit 25, and the logic control circuit 25 controls the first switch Q1 and the third switch Q3 to be turned off and controls the second switch Q2 to be turned on, so that the first battery 11 and the second battery 12 are switched to a series connection state; or the logic control circuit 25 controls the first switch Q1 and the third switch Q3 to be opened and controls the second switch Q2 to be closed, so that the first battery 11 and the second battery 12 are switched to a parallel connection state.
Referring to fig. 5, further, the power supply circuit further includes: a charger 24, wherein the charger 24 is connected with the logic control circuit 25, and the logic control circuit 25 is used for switching the on/off of the first switch Q1, the second switch Q2 and the third switch Q3 according to the type of the charger 24 so as to realize the switching of the connection state of the first battery 11 and the second battery 12; when the charger 24 is connected to the logic control circuit 25 and the charger 24 is a standard charger 24, the logic control circuit 25 controls the first switch Q1 and the third switch Q3 to be closed and controls the second switch Q2 to be opened, so that the first battery 11 and the second battery 12 are switched to a series connection state; when the charger 24 is not connected to the logic control circuit 25, or when the charger 24 is connected to the logic control circuit 25 and the charger 24 is a non-standard charger 24, the logic control circuit 25 controls the first switch Q1 and the third switch Q3 to be turned on and controls the second switch Q2 to be turned off, so that the first battery 11 and the second battery 12 are switched to the parallel connection state.
In this embodiment, the types of the charger 24 include a standard charger 24 and a non-standard charger 24, the standard charger 24 is an original charger 24 adapted to the handheld terminal, after the standard charger 24 is connected to the handheld terminal, the standard charger 24 sends authentication information to the handheld terminal, the handheld terminal determines that the charger 24 is the standard charger 24 according to the authentication information, and the standard charger 24 can use a fast charging protocol preset in the handheld terminal to fast charge the battery 10 of the handheld terminal; the non-standard charger 24 is a charger 24 that cannot be authenticated by the mobile terminal and does not support the fast charging protocol of the handheld terminal.
In the present embodiment, whether the first battery 11 and the second battery 12 are in a series state or in a parallel state is controlled by determining whether the charger 24 is inserted and the type of the inserted charger, wherein when the charger 24 is connected to the logic control circuit 25 and the charger 24 is a standard charger 24, the logic control circuit 25 controls the first switch Q1 and the third switch Q3 to be closed and controls the second switch Q2 to be opened, so that the first battery 11 and the second battery 12 are switched to a series state, thereby performing fast high-voltage charging on the first battery 11 and the second battery 12 connected in series through the standard charger 24, and simultaneously supplying power to the power management chip 30 through the first battery 11 and the second battery 12 connected in series; when the charger 24 is not connected to the logic control circuit 25, or when the charger 24 is connected to the logic control circuit 25 and the charger 24 is a non-standard charger 24, the logic control circuit 25 controls the first switch Q1 and the third switch Q3 to be opened and controls the second switch Q2 to be closed, so that the first battery 11 and the second battery 12 are switched to a parallel connection state, when the charger 24 is not connected to the logic control circuit 25, the power management chip 30 is powered by the first battery 11 and the second battery 12 connected in parallel by default, when a non-standard charger 24 is connected to the logic control circuit 25, the first battery 11 and the second battery 12 connected in parallel are charged by the non-standard charger 24 with low voltage and low current, thereby improving the safety of charging, and simultaneously, supplying power to the power management chip 30 through the first battery 11 and the second battery 12 connected in parallel.
Referring to fig. 5, further, the power supply circuit further includes: the high-voltage charging module 26 is electrically connected with the logic control circuit 25 and the charger 24, the charger 24 charges the first battery 11 and the second battery 12 through the high-voltage charging module 26, the positive electrode of the first battery 11 is connected with the voltage transformation module 20 through the high-voltage charging module 26, and the first battery 11 and the second battery 12 supply power to the power management chip 30 through the high-voltage charging module 26.
In this embodiment, when the logic control module detects that the charger 24 is inserted into a handheld terminal, it determines whether the charger 24 is a standard charger 24 or a non-standard charger 24, and when the charger 24 is a standard charger 24, the logic control circuit 25 controls the first battery 11 and the second battery 12 to be switched to a series connection state, and at the same time controls the high-voltage charging module 26 to perform high-voltage charging on the first battery 11 and the second battery 12, at this time, power can be supplied to the power management chip 30 through the standard charger 24 or the battery 10, since the total output voltage Vbat of the first battery 11 and the second battery 12 or the output voltage of the standard charger 24 is higher than the working voltage required by the power management chip 30, the total output voltage Vbat or the output voltage of the standard charger 24 is reduced through the transformation module 20, so as to prevent the power management chip 30 from working under a high-voltage state and eliminate the potential safety hazard of the power management chip 30 under the high-voltage working. When the charger 24 is a non-standard charger 24, the logic control circuit 25 controls the first battery 11 and the second battery 12 to be switched to a parallel connection state, and controls the high-voltage charging module 26 to perform low-voltage low-current charging on the first battery 11 and the second battery 12, so that the charging safety of the non-standard charger 24 is improved.
Referring to fig. 5, further, the power supply circuit further includes: a sampling resistor Rt through which the negative electrode of the second battery 12 is grounded; and the electricity meter 27 is connected to two ends of the sampling resistor Rt, and the electricity meter 27 is used for measuring charging information of the first battery 11 and the second battery 12, wherein the charging information comprises at least one of charging voltage, charging current and battery 10 terminal voltage.
In this embodiment, the negative electrode of the second battery 12 is grounded via the sampling resistor Rt, and the electricity meter 27 is connected to both ends of the sampling resistor Rt, so as to measure the charging information of the first battery 11 and the second battery 12, where the charging information includes at least one of charging voltage, charging current and battery 10 terminal voltage, the current state of charge of the battery 10 and the current state of charge of the battery 10 can be known from the charging information, for example, the current state of charge and the charging state of the battery 10 can be obtained from the battery 10 terminal voltage, the charging state of the battery 10 can be known from the charging current and the charging voltage, for example, the current charging stage of the battery 10 can be known, and when the battery 10 is a lithium ion battery 10, the charging state generally includes a pre-charging stage, a charging stage, and a charging stage, A constant voltage phase, a constant current phase, etc.
In order to achieve the above object, the present application further provides a handheld terminal, which is characterized in that the handheld terminal includes a control system 40 and the power supply circuit as described above, the control system 40 is connected to the power management chip 30, and the power management chip 30 is configured to output the operating voltage required by the control system 40 to the control system 40. Since the handheld terminal includes the power supply circuit, the handheld terminal at least has the beneficial effects of the power supply circuit, which are not described herein again.
As shown in fig. 6, fig. 6 is a schematic diagram of a hardware operating environment of a terminal according to an embodiment of the present application. The terminal in the embodiment of the application is a mobile terminal or a fixed terminal, such as a mobile phone. As shown in fig. 6, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a non-volatile memory such as a disk memory), the memory 1005 may optionally also be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the terminal shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 6, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a control program of the apparatus.
In the terminal shown in fig. 6, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a control program of the apparatus stored in the memory 1005 and perform the following operations:
acquiring output voltage of a battery in the handheld terminal;
and when the output voltage is within a preset range, controlling a voltage transformation module connected with the battery to boost the output voltage of the battery to a working voltage required by the power management chip.
Further, the processor 1001 may call a control program of the apparatus stored in the memory 1005, and also perform the following operations:
and when the output voltage is larger than the preset range, directly supplying the output voltage to the power management chip.
Further, the processor 1001 may call a control program of the apparatus stored in the memory 1005, and also perform the following operations:
and when the output voltage is lower than the preset range, outputting low-power prompt information and controlling the handheld terminal to be powered off.
Further, the processor 1001 may call a control program of the apparatus stored in the memory 1005, and also perform the following operations:
when the charger is not detected to be inserted, the logic control circuit controls the first battery and the second battery to be switched into a parallel connection state so as to supply power to the power management chip through the first battery and the second battery which are connected in parallel.
Further, the processor 1001 may call a control program of the apparatus stored in the memory 1005, and also perform the following operations:
when detecting that a charger is inserted, acquiring the type of the charger;
switching a connection state of the first and second batteries according to a type of the charger, wherein the connection state of the first and second batteries includes one of a series state and a parallel state.
Further, the processor 1001 may call a control program of the apparatus stored in the memory 1005, and also perform the following operations:
when the charger is a non-standard charger, the first battery and the second battery are switched to be in a parallel connection state under the control of the logic control circuit, so that power is supplied to the power management chip through the first battery and the second battery which are connected in parallel, and the first battery and the second battery which are connected in parallel are charged through the non-standard charger.
Further, the processor 1001 may call a control program of the apparatus stored in the memory 1005, and also perform the following operations:
acquiring corresponding charging information in the process of charging the first battery and the second battery;
and outputting full-power prompt information when the charging information meets a cutoff condition.
Referring to fig. 7, a power supply control method of a handheld terminal according to the present application is provided based on the power supply circuit of the handheld terminal, where in embodiment 1 of the power supply control method, the power supply control method of the handheld terminal includes the following steps:
step S10, acquiring the output voltage of the battery in the handheld terminal;
and step S20, when the output voltage is in a preset range, controlling a voltage transformation module connected with the battery to boost the output voltage of the battery to the working voltage required by the power management chip.
In this embodiment, the output voltage of the battery in the preset range is lower than the working voltage required by the power management chip, for example, the working voltage of the power management chip is greater than 3.5V, and the preset range may be 3.0V-3.5V, which is lower than the working voltage required by the power management chip, in the prior art, when the output voltage of the battery is lower than the working voltage required by the power management chip, the handheld terminal is generally directly controlled to shut down, but in this embodiment, the current output voltage of the battery in the handheld terminal is obtained first, and when the output voltage is in the preset range, for example, 3.0V-3.5V, the voltage transformation module connected to the battery is controlled to boost the output voltage of the battery to the working voltage required by the power management chip, for example, 3.8V, so that the power management chip can continue to work normally for a period of time, the power supply time of the battery is prolonged, and the cruising ability of the handheld terminal is improved.
Referring to fig. 7, further, based on the above embodiment 1, in embodiment 2 of the power supply control method, after the step of obtaining the output voltage of the battery in the handheld terminal, the method further includes:
and step S30, when the output voltage is larger than the preset range, directly supplying the output voltage to the power management chip.
In this embodiment, when the output voltage is greater than the preset range, such as 3.0V to 3.5V, it is proved that the output voltage of the battery meets the operating voltage required by the power management chip, so that the output voltage is directly supplied to the power management chip without being boosted by the voltage transformation module, and the normal operation of the power management chip is ensured.
Referring to fig. 7, further, based on the above 1-2 embodiments, in embodiment 3 of the power supply control method, after the step of obtaining the output voltage of the battery, the method further includes:
and step S40, outputting low-power prompting information and controlling the handheld terminal to be powered off when the output voltage is lower than the preset range.
In this embodiment, when the output voltage is lower than the preset range, for example, 3.0V to 3.5V, it indicates that the working voltage required by the power management chip cannot be reached even if the voltage is boosted by the voltage boosting module, and outputs a low-power prompt message to prompt the user that the battery power is low and control the handheld terminal to shut down, so as to avoid abnormality of various functions of the power management chip and the handheld terminal.
Further, based on the above embodiments 1 to 3, in a 4 th embodiment of the power supply control method, the number of the batteries is at least two, and the power supply control method includes at least a first battery and a second battery, and the power supply control method further includes:
and step S50, when the charger insertion is not detected, controlling the first battery and the second battery to be switched to a parallel connection state through the logic control circuit so as to supply power to the power management chip through the parallel connection of the first battery and the second battery.
In this embodiment, when it is not detected that the charger is connected to the logic control circuit, which indicates that the charger is not inserted, the logic control circuit defaults to control the first switch and the third switch to be turned on and control the second switch to be turned off, so as to switch the first battery and the second battery to a parallel state, and when the charger is not connected to the logic control circuit, the first battery and the second battery connected in parallel are defaulted to supply power to the power management chip.
Referring to fig. 8, further, based on the above embodiments 1 to 4, in embodiment 5 of the power supply control method, the power supply control method further includes:
step S60, when detecting that a charger is inserted, acquiring the type of the charger;
step S70, switching a connection state of the first battery and the second battery according to the type of the charger, wherein the connection state of the first battery and the second battery comprises one of a series connection state and a parallel connection state.
In this embodiment, when it is detected that the charger is not connected to the logic control circuit, indicating that the charger is inserted into the handheld terminal, at this time, obtaining a type of the charger, where the type of the charger includes a standard charger and a non-standard charger, the standard charger is an original charger adapted to the handheld terminal, and after the standard charger is connected to the handheld terminal, the standard charger sends authentication information to the handheld terminal, and the handheld terminal determines that the charger is the standard charger according to the authentication information, and the standard charger can use a fast charging protocol preset in the handheld terminal to fast charge a battery of the handheld terminal; the non-standard charger is a charger which cannot be authenticated by the mobile terminal and does not support the quick charging protocol of the handheld terminal. Switching the connection state of the first battery and the second battery according to the type of the charger includes switching the connection state of the first battery and the second battery to a series connection state when the charger is a standard charger; and when the charger is a non-standard charger, switching the connection state of the first battery and the second battery to a parallel connection state.
Further, based on the above-described 5 th embodiment, in a 6 th embodiment of the power supply control method, the step of switching the connection state of the first battery and the second battery according to the type of the charger includes:
and step S71, when the charger is a standard charger, the first battery and the second battery are switched to a serial connection state under the control of a logic control circuit, so that the first battery and the second battery which are connected in series supply power to a power management chip in series, and the first battery and the second battery which are connected in series are charged by the standard charger.
In this embodiment, when the charger is a standard charger, the logic control circuit controls the first battery and the second battery to be switched to a serial connection state, and simultaneously controls the high-voltage charging module to perform high-voltage charging on the first battery and the second battery, at this time, the power can be supplied to the power management chip through the standard charger or the battery, and because the total output voltage of the first battery and the second battery or the output voltage of the standard charger is higher than the working voltage required by the power management chip, the total output voltage or the output voltage of the standard charger is reduced through the voltage transformation module, so that the power management chip is prevented from working under a high-voltage state, and potential safety hazards of the power management chip under the high-voltage working are eliminated.
Further, based on the above-described 5 th embodiment, in a 7 th embodiment of the power supply control method, the step of switching the connection state of the first battery and the second battery according to the type of the charger includes:
and step S72, when the charger is a non-standard charger, the first battery and the second battery are switched to be in a parallel connection state under the control of a logic control circuit, so that the first battery and the second battery which are connected in parallel supply power to a power management chip, and the first battery and the second battery which are connected in parallel are charged by the non-standard charger.
In this embodiment, when the charger is a non-standard charger, the logic control circuit controls the first battery and the second battery to be switched to a parallel connection state, and controls the high-voltage charging module to perform low-voltage low-current charging on the first battery and the second battery, so as to improve the charging safety of the non-standard charger.
Referring to fig. 9, further, the power supply control method further includes:
step S80, acquiring corresponding charging information during the process of charging the first battery and the second battery;
and step S90, outputting full power prompting information when the charging information meets the cutoff condition.
In this embodiment, in the charging process of the first battery and the second battery, the corresponding charging information is obtained by the electricity meter, where the charging information includes at least one of charging voltage, charging current, and battery terminal voltage, the current state of charge of the battery and the current state of charge of the battery can be obtained according to the charging information, for example, the current state of charge and the charging state of the battery can be obtained according to the battery terminal voltage, the charging state of the battery can be obtained according to the charging current and the charging voltage, for example, the current charging stage of the battery can be obtained, and when the battery is a lithium ion battery, the charging state generally includes a pre-charging stage, a constant voltage stage, a constant current stage, and the like. When the charging information meets a cut-off condition, for example, the charging current is smaller than a preset cut-off current, and/or the battery terminal voltage reaches a preset cut-off voltage, full-charge prompting information is output to remind a user of fully charging the handheld terminal, and the charger is pulled out in time to avoid overcharging.
In order to achieve the above object, the present application further provides a handheld terminal, where the handheld terminal includes a memory, a processor, and a power supply control program of the handheld terminal stored in the memory and capable of running on the processor, and the power supply control program of the handheld terminal, when executed by the processor, implements the steps of the power supply control method of the handheld terminal as described above.
In order to achieve the above object, the present application further provides a readable storage medium, wherein the computer readable storage medium stores a power supply control program of a handheld terminal, and the power supply control program of the handheld terminal, when executed by a processor, implements the steps of the power supply control method of the handheld terminal as described above.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Embodiments of the present application also provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the method as described in the above various possible embodiments.
An embodiment of the present application further provides a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device in which the chip is installed executes the method described in the above various possible embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the recitation of an element by the phrase "comprising an … …" does not exclude the presence of additional like elements in the process, method, article, or apparatus that comprises the element, and further, where similarly-named elements, features, or elements in different embodiments of the disclosure may have the same meaning, or may have different meanings, that particular meaning should be determined by their interpretation in the embodiment or further by context with the embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or" and/or "as used herein are to be construed as inclusive or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a; b; c; a and B; a and C; b and C; A. b and C ". An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (20)

1. The power supply circuit of the handheld terminal is characterized by comprising at least one battery, a voltage transformation module and a power management chip which are sequentially connected, wherein the voltage transformation module is used for boosting the output voltage of the battery to the working voltage required by the power management chip when detecting that the output voltage of the battery is within a preset range.
2. The power supply circuit of claim 1, wherein the transforming module comprises:
and the input end and the enabling end of the voltage boosting and reducing circuit are connected to the anode of the battery, and the output end of the voltage boosting and reducing circuit is connected with the power management chip.
3. The power supply circuit of the hand-held terminal as claimed in claim 1, wherein the transforming module comprises a buck-boost circuit and a comparator;
the input end of the boost-buck circuit is connected with the anode of the battery, and the output end of the boost-buck circuit is connected with the power management chip;
the input end and the power supply end of the comparator are connected with the anode of the battery, and the output end of the comparator is connected with the enabling end of the voltage-boosting circuit.
4. The power supply circuit of the handheld terminal as claimed in claim 1, wherein the transforming module includes a comparator circuit and a load switch and a buck-boost circuit connected in parallel, input terminals of the load switch and the buck-boost circuit are both connected to the positive electrode of the battery, and output terminals of the load switch and the buck-boost circuit are both connected to the power management chip;
the comparator circuit comprises a comparator and an electronic switch, wherein the input end and the power end of the comparator are both connected to the anode of the battery, the output end of the comparator is connected to the enabling end of the load switch, the output end of the comparator is also connected to the anode of the battery, and the output end of the comparator is also connected to the control end of the electronic switch;
the input end of the electronic switch is connected to the positive electrode of the battery, the input end of the electronic switch is also connected to the enabling end of the voltage-boosting circuit, and the output end of the electronic switch is grounded.
5. The power supply circuit of claim 4, wherein the comparator circuit further comprises a first pull-up resistor, a second pull-up resistor, and a current limiting resistor;
the first pull-up resistor is connected between the output end of the comparator and the anode of the battery in series;
the second pull-up resistor is connected between the input end of the electronic switch and the anode of the battery in series;
the current limiting resistor is connected between the output end of the comparator and the control end of the electronic switch in series.
6. The power supply circuit of the hand-held terminal according to any one of claims 1 to 5, wherein the number of the batteries is at least two and includes at least a first battery and a second battery, the power supply circuit further comprising:
the power supply switching module is used for switching the connection state of the first battery and the second battery, wherein the connection state of the first battery and the second battery comprises one of a series connection state and a parallel connection state.
7. The power supply circuit of claim 6, wherein the power supply switching module comprises a logic control circuit, a first switch, a second switch and a third switch, and control terminals of the first switch, the second switch and the third switch are all connected with the logic control circuit;
the first switch is connected between the negative electrode of the first battery and the negative electrode of the second battery in series;
the second switch is connected between the negative electrode of the first battery and the positive electrode of the second battery in series;
the third switch is connected between the positive electrode of the first battery and the positive electrode of the second battery in series;
the positive pole of the first battery is connected to the input end of the voltage transformation module, and the negative pole of the second battery is grounded.
8. The power supply circuit of claim 7, wherein the power supply circuit further comprises:
the charger is connected with the logic control circuit, and the logic control circuit is used for switching the on and off of the first switch, the second switch and the third switch according to the type of the charger so as to realize the switching of the connection state of the first battery and the second battery;
when the charger is connected with the logic control circuit and is a standard charger, the logic control circuit controls the first switch and the third switch to be closed and controls the second switch to be opened, so that the first battery and the second battery are switched to be in a series connection state;
when the charger is not connected with the logic control circuit, or the charger is connected with the logic control circuit and the charger is a non-standard charger, the logic control circuit controls the first switch and the third switch to be opened and controls the second switch to be closed, so that the first battery and the second battery are switched to be in a parallel connection state.
9. The power supply circuit of claim 8, wherein the power supply circuit further comprises:
the high-voltage charging module is electrically connected with the logic control circuit and the charger, the charger charges the first battery and the second battery through the high-voltage charging module, the positive electrode of the first battery is connected with the voltage transformation module through the high-voltage charging module, and the first battery and the second battery supply power to the power management chip through the high-voltage charging module.
10. The power supply circuit of the hand-held terminal as claimed in claim 9, wherein the power supply circuit further comprises:
the negative electrode of the second battery is grounded through the sampling resistor;
the electricity meter is connected to two ends of the sampling resistor and used for measuring charging information of the first battery and the second battery, wherein the charging information comprises at least one of charging voltage, charging current and battery terminal voltage.
11. A power supply control method of a handheld terminal is characterized by comprising the following steps:
acquiring output voltage of a battery in the handheld terminal;
and when the output voltage is within a preset range, controlling a voltage transformation module connected with the battery to boost the output voltage of the battery to a working voltage required by the power management chip.
12. The power supply control method of claim 11, wherein the step of obtaining the output voltage of the battery in the handheld terminal is followed by further comprising:
and when the output voltage is larger than the preset range, directly supplying the output voltage to the power management chip.
13. The power supply control method of claim 11 wherein the step of obtaining the output voltage of the battery is followed by further comprising:
and when the output voltage is lower than the preset range, outputting low-power prompt information and controlling the handheld terminal to be powered off.
14. The power supply control method according to claim 11, wherein the number of the batteries is at least two, and includes at least a first battery and a second battery, the power supply control method further comprising:
when the charger is not detected to be inserted, the logic control circuit controls the first battery and the second battery to be switched into a parallel connection state so as to supply power to the power management chip through the first battery and the second battery which are connected in parallel.
15. The power supply control method according to claim 11, characterized by further comprising:
when detecting that a charger is inserted, acquiring the type of the charger;
switching a connection state of the first and second batteries according to a type of the charger, wherein the connection state of the first and second batteries includes one of a series state and a parallel state.
16. The power supply control method according to claim 15, wherein the step of switching the connection state of the first battery and the second battery according to the type of the charger includes:
when the charger is a standard charger, the first battery and the second battery are switched to be in a serial connection state under the control of a logic control circuit, so that the first battery and the second battery which are connected in series supply power to a power management chip in series, and the first battery and the second battery which are connected in series are charged through the standard charger.
17. The power supply control method according to claim 16, wherein the step of switching the connection state of the first battery and the second battery according to the type of the charger includes:
when the charger is a non-standard charger, the first battery and the second battery are switched to be in a parallel connection state under the control of the logic control circuit, so that power is supplied to the power management chip through the first battery and the second battery which are connected in parallel, and the first battery and the second battery which are connected in parallel are charged through the non-standard charger.
18. The power supply control method according to claim 16, characterized by further comprising:
acquiring corresponding charging information in the process of charging the first battery and the second battery;
and outputting full-power prompt information when the charging information meets a cutoff condition.
19. A handheld terminal, characterized in that the handheld terminal comprises a memory, a processor and a power supply control program of the handheld terminal stored on the memory and operable on the processor, and the power supply control program of the handheld terminal realizes the steps of the power supply control method of the handheld terminal according to any one of claims 11 to 18 when executed by the processor.
20. A readable storage medium, characterized in that the computer readable storage medium has stored thereon a power supply control program of a handheld terminal, which when executed by a processor implements the steps of the power supply control method of the handheld terminal according to any one of claims 11 to 18.
CN202010830309.9A 2020-08-14 2020-08-14 Handheld terminal, power supply circuit thereof, power supply control method thereof and readable storage medium Pending CN111969685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010830309.9A CN111969685A (en) 2020-08-14 2020-08-14 Handheld terminal, power supply circuit thereof, power supply control method thereof and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010830309.9A CN111969685A (en) 2020-08-14 2020-08-14 Handheld terminal, power supply circuit thereof, power supply control method thereof and readable storage medium

Publications (1)

Publication Number Publication Date
CN111969685A true CN111969685A (en) 2020-11-20

Family

ID=73388867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010830309.9A Pending CN111969685A (en) 2020-08-14 2020-08-14 Handheld terminal, power supply circuit thereof, power supply control method thereof and readable storage medium

Country Status (1)

Country Link
CN (1) CN111969685A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113300440A (en) * 2021-07-28 2021-08-24 苏州贝克微电子有限公司 Battery power supply device and power supply method thereof

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070114968A1 (en) * 2005-11-23 2007-05-24 Krah Christoph H Power source switchover apparatus and method
CN201515241U (en) * 2009-09-16 2010-06-23 中兴通讯股份有限公司 Device using low-voltage battery for power supply
CN103378636A (en) * 2013-06-28 2013-10-30 深圳市富满电子有限公司 Mobile power source control chip and mobile power source with same
CN105207316A (en) * 2015-10-28 2015-12-30 维沃移动通信有限公司 Battery voltage control chip and method
CN207134838U (en) * 2017-09-15 2018-03-23 深圳市泰比特科技有限公司 A kind of voltage booster circuit for battery based on LoRa terminals
CN108462228A (en) * 2018-03-08 2018-08-28 华勤通讯技术有限公司 A kind of protection circuit, guard method and terminal
CN108988421A (en) * 2018-07-13 2018-12-11 维沃移动通信有限公司 A kind of charging method of battery, charging circuit and terminal
CN110311440A (en) * 2019-07-06 2019-10-08 合肥师范学院 A kind of power management module of wide output voltage
CN209786868U (en) * 2019-04-29 2019-12-13 广州汽车集团股份有限公司 backup battery hardware switching circuit

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070114968A1 (en) * 2005-11-23 2007-05-24 Krah Christoph H Power source switchover apparatus and method
CN201515241U (en) * 2009-09-16 2010-06-23 中兴通讯股份有限公司 Device using low-voltage battery for power supply
CN103378636A (en) * 2013-06-28 2013-10-30 深圳市富满电子有限公司 Mobile power source control chip and mobile power source with same
CN105207316A (en) * 2015-10-28 2015-12-30 维沃移动通信有限公司 Battery voltage control chip and method
CN207134838U (en) * 2017-09-15 2018-03-23 深圳市泰比特科技有限公司 A kind of voltage booster circuit for battery based on LoRa terminals
CN108462228A (en) * 2018-03-08 2018-08-28 华勤通讯技术有限公司 A kind of protection circuit, guard method and terminal
CN108988421A (en) * 2018-07-13 2018-12-11 维沃移动通信有限公司 A kind of charging method of battery, charging circuit and terminal
CN209786868U (en) * 2019-04-29 2019-12-13 广州汽车集团股份有限公司 backup battery hardware switching circuit
CN110311440A (en) * 2019-07-06 2019-10-08 合肥师范学院 A kind of power management module of wide output voltage

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113300440A (en) * 2021-07-28 2021-08-24 苏州贝克微电子有限公司 Battery power supply device and power supply method thereof
CN113300440B (en) * 2021-07-28 2021-10-15 苏州贝克微电子有限公司 Battery power supply device and power supply method thereof

Similar Documents

Publication Publication Date Title
US7514900B2 (en) Portable devices having multiple power interfaces
US8004113B2 (en) Methods and apparatuses for operating devices with solar power
EP2781989B1 (en) Current switch control device and electronic device
WO2016013451A1 (en) Charging circuit, electronic device using same, and charger
WO2014173293A1 (en) Switching mode charger for charging system
US10992146B2 (en) Methods and apparatus for controlling charge current in a battery pack containing cells of disparate types
CN110247453B (en) Control method, device, equipment and medium
US10250059B2 (en) Charging circuit for battery-powered device
US10277052B2 (en) Controlling power delivery to a battery
JPWO2009072281A1 (en) Power management circuit
US20210376643A1 (en) Adaptive Power Systems and Techniques
CN105762862A (en) Power source system, electronic device, charging method and discharging method of battery
JP2013132184A (en) Charging circuit and electronic equipment using the same
CN111969685A (en) Handheld terminal, power supply circuit thereof, power supply control method thereof and readable storage medium
CN109256825B (en) Charging method and electronic device
EP2852021B1 (en) Charging circuit and control method therefor
CN213846239U (en) Power supply circuit and terminal equipment
CN115001065A (en) Circuit, power supply method, electronic equipment and computer program product
CN210517858U (en) Terminal power supply circuit and terminal
WO2020082650A1 (en) Discharge method, charging equipment and computer storage medium
CN112332472A (en) Charging circuit, electronic device and flash lamp control method
JP5937364B2 (en) Charging device, charging method, and electronic device
US20040177282A1 (en) Method and circuit for controlling battery charge and supply by microprocessor
CN110970950B (en) Charging control method and device, storage medium and split type electronic equipment
CN116094080A (en) Quick-charging pressure-regulating device, method, interface conversion wire rod and quick-charging adapter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201120