CN112821488A - Charging circuit, charging method, electronic device, and storage medium - Google Patents

Charging circuit, charging method, electronic device, and storage medium Download PDF

Info

Publication number
CN112821488A
CN112821488A CN202110019653.4A CN202110019653A CN112821488A CN 112821488 A CN112821488 A CN 112821488A CN 202110019653 A CN202110019653 A CN 202110019653A CN 112821488 A CN112821488 A CN 112821488A
Authority
CN
China
Prior art keywords
power supply
voltage
switching power
constant
output 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
CN202110019653.4A
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.)
Jige Semiconductor Ningbo Co ltd
Original Assignee
Jige Semiconductor Ningbo 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 Jige Semiconductor Ningbo Co ltd filed Critical Jige Semiconductor Ningbo Co ltd
Priority to CN202110019653.4A priority Critical patent/CN112821488A/en
Publication of CN112821488A publication Critical patent/CN112821488A/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/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the invention relates to the technical field of charging, and discloses a charging circuit, a charging method, electronic equipment and a storage medium. The output voltage of the switching power supply is used as a monitoring signal for the switching power supply with a constant current/constant power mode; when the output voltage is less than a first preset voltage, controlling the switching power supply to enter a constant current mode; when the output voltage is not less than the first preset voltage, the switching power supply is controlled to enter a constant power mode so as to realize flexible switching between the constant current mode and the constant power mode, guarantee reasonable current limiting under high output current and guarantee output of larger charging power under low output current, thereby realizing effective compromise between current limiting protection and charging speed of the quick charging charger.

Description

Charging circuit, charging method, electronic device, and storage medium
Technical Field
The present invention relates to the field of charging technologies, and in particular, to a charging circuit, a charging method, an electronic device, and a storage medium.
Background
At present, the quick charger provides output voltages of multiple gears, such as 5V, 9V, 12V, 15V, 20V, etc., to realize quick charging. Assuming that there is a fast charger with a constant output power of 30W, the output current is 1.5A at an output voltage of 20V, if the fast charger does not have a constant current mode, the maximum output current may reach 6A at an output voltage of 5V, and 10A at an output voltage of 3V. At such a large output current, damage to the power receiving apparatus and even damage to the power supply apparatus are extremely likely to occur.
However, if the fast charger is controlled to be in the constant current mode in order to prevent the device from being damaged due to the excessive output current, although the output current may be limited within a safe range, when the output voltage is low, the output power of the fast charger is reduced due to the limitation of the output current, thereby causing a decrease in the charging speed.
Disclosure of Invention
An object of embodiments of the present invention is to provide a charging circuit, a charging method, an electronic device, and a storage medium, which can effectively solve the problem that both current-limiting protection and charging speed of a fast charger cannot be considered.
To solve the above technical problem, an embodiment of the present invention provides a charging circuit, including: the switching power supply is provided with a constant current/constant power mode;
the control module is used for detecting the output voltage of the switching power supply and controlling the switching power supply to enter a constant current mode when the output voltage is smaller than a first preset voltage; and when the output voltage is not less than the first preset voltage, controlling the switching power supply to enter a constant power mode.
An embodiment of the present invention also provides an electronic device, including: the charging circuit described above.
An embodiment of the present invention further provides a charging method, which is applied to the electronic device described above, and includes:
detecting the output voltage of the switching power supply;
when the output voltage is smaller than a first preset voltage, controlling the switching power supply to enter a constant current mode;
and when the output voltage is not less than the first preset voltage, controlling the switching power supply to enter a constant power mode.
An embodiment of the present invention also provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the charging method as described above.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer program which, when executed by a processor, implements the charging method as described above.
Compared with the prior art, the embodiment of the invention takes the output voltage of the switching power supply as a monitoring signal by the switching power supply with a constant current/constant power mode; when the output voltage is less than a first preset voltage, controlling the switching power supply to enter a constant current mode; when the output voltage is not less than the first preset voltage, the switching power supply is controlled to enter a constant power mode so as to realize flexible switching between the constant current mode and the constant power mode, guarantee reasonable current limiting under high output current and guarantee output of larger charging power under low output current, thereby realizing effective compromise between current limiting protection and charging speed of the quick charging charger.
In addition, in the charging circuit, the switching power supply is a flyback isolated switching power supply, and the control module is positioned in a power supply chip of the flyback isolated switching power supply and is respectively connected with a power supply input end, a constant current control circuit and a constant power control circuit on the power supply chip; the control module is used for acquiring the power supply voltage of the power supply chip and acquiring the output voltage of the flyback isolated switching power supply based on the proportional relation between the power supply voltage of the power supply chip and the output voltage of the flyback isolated switching power supply; and controlling the switching power supply to enter a constant current mode or a constant power mode by triggering the working states of the constant current control circuit and the constant power control circuit. Aiming at the flyback isolated switching power supply, the output voltage of the flyback isolated switching power supply is obtained by obtaining the power supply voltage of the power supply chip and based on the proportional relation between the power supply voltage and the output voltage of the flyback isolated switching power supply, so that the output voltage can be conveniently and quickly obtained; meanwhile, the working states of the existing constant current control circuit and the constant power control circuit are triggered inside the power supply chip, so that the switching power supply can be conveniently controlled to enter a specified working mode, and the design cost of circuit transformation is low.
In addition, in the above charging circuit, the control module includes a comparator and a mechanism selection module; the input end of the comparator is connected with the power supply input end of the power supply chip, and the input voltage of the reference end of the comparator is set to be a second preset voltage; the second preset voltage and the first preset voltage have the proportional relation; the mechanism selection module is respectively connected with the output end of the comparator, the constant current control circuit and the constant power control circuit; the mechanism selection module is used for controlling the comparator, triggering the constant current control circuit to be switched on and the constant power control circuit to be switched off when the power supply voltage of the power supply chip is smaller than a second preset voltage, so as to control the switching power supply to enter a constant current mode; and when the power supply voltage of the power supply chip is not less than the second preset voltage, the constant current control circuit is triggered to be switched off, and the constant power control circuit is triggered to be switched on, so that the switching power supply is controlled to enter a constant power mode. The comparator can be used for conveniently comparing the power supply voltage of the power supply chip with the second preset voltage, and the mechanism selection module is used for triggering the working states of the constant current control circuit and the constant power control circuit, so that the control switching of the switch power supply into the constant current mode/the constant power mode can be efficiently realized.
In addition, detecting the output voltage of the switching power supply includes: the method comprises the steps of obtaining the power supply voltage of a power supply chip of the flyback isolated switching power supply, and obtaining the output voltage of the flyback isolated switching power supply based on the proportional relation between the power supply voltage of the power supply chip and the output voltage of the flyback isolated switching power supply. For the flyback isolated switching power supply, the output voltage of the flyback isolated switching power supply is obtained by obtaining the power supply voltage of the power supply chip and based on the proportional relation between the power supply voltage and the output voltage of the flyback isolated switching power supply, the output voltage can be conveniently and rapidly obtained, and the circuit design cost is low.
In addition, detecting the output voltage of the switching power supply, and controlling the switching power supply to enter a constant current mode when the output voltage is less than a first preset voltage, the method comprises the following steps: acquiring the power supply voltage of a power supply chip of the flyback isolated switching power supply; when the power supply voltage of the power supply chip is smaller than a second preset voltage, triggering a constant current control circuit in the power supply chip to be switched on and a constant power control circuit in the power supply chip to be switched off so as to control the flyback isolated switching power supply to enter a constant current mode; the second preset voltage and the first preset voltage have the same proportional relation with the power supply voltage of the power supply chip and the output voltage of the flyback isolated switching power supply. The power supply voltage of the power supply chip is compared with the second preset voltage, and the switching power supply is controlled to enter the constant current mode under the condition that the power supply voltage is smaller than the second preset voltage, so that the output voltage of the switching power supply can still follow the control concept that the output voltage of the switching power supply is used as a monitoring signal and enters the constant current mode when the output voltage is smaller, and the complexity of the judgment process is reduced.
In addition, detect switching power supply's output voltage to and when output voltage is not less than first preset voltage, control switching power supply and get into constant power mode, include: acquiring the power supply voltage of a power supply chip of the flyback isolated switching power supply; when the power supply voltage of the power supply chip is not less than a second preset voltage, triggering a constant current control circuit in the power supply chip to be switched off and a constant power control circuit in the power supply chip to be switched on so as to control the flyback isolated switching power supply to enter a constant power mode; the second preset voltage and the first preset voltage have the same proportional relation with the power supply voltage of the power supply chip and the output voltage of the flyback isolated switching power supply. The power supply voltage of the power supply chip is compared with the second preset voltage, and the switching power supply is controlled to enter the constant power mode under the condition that the power supply voltage is not smaller than the second preset voltage, so that the output voltage of the switching power supply can still be used as a monitoring signal under the condition that the output voltage of the switching power supply is not required to be actually calculated, the control idea that the output voltage of the switching power supply is used as a monitoring signal and the output voltage of the switching power supply enters the constant power mode when the output voltage is larger is achieved, and the complexity of the judgment process.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a detailed configuration diagram of a charging circuit according to a first embodiment of the present invention;
fig. 2 is a detailed structural diagram of a charging circuit according to a second embodiment of the present invention;
fig. 3 is a detailed flowchart of a charging method according to a fourth embodiment of the present invention;
fig. 4 is a detailed flowchart of a charging method according to a fifth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a sixth embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to a charging circuit. The core of the embodiment is that the output voltage of the switching power supply is used as a monitoring signal for the switching power supply with a constant current/constant power mode; when the output voltage is less than a first preset voltage, controlling the switching power supply to enter a constant current mode; when the output voltage is not less than the first preset voltage, the switching power supply is controlled to enter a constant power mode so as to realize flexible switching between the constant current mode and the constant power mode, guarantee reasonable current limiting under high output current and guarantee output of larger charging power under low output current, thereby realizing effective compromise between current limiting protection and charging speed of the quick charging charger. The implementation details of the charging circuit of the present embodiment are specifically described below, and the following description is only provided for the sake of understanding, and is not necessary to implement the present embodiment.
As shown in fig. 1, the charging circuit in the present embodiment specifically includes: the power supply comprises a switching power supply 1 and a control module 2, wherein the switching power supply 1 has a constant current/constant power mode; the control module 2 is used for detecting the output voltage of the switching power supply 1 and controlling the switching power supply 1 to enter a constant current mode when the output voltage is smaller than a first preset voltage; and when the output voltage is not less than the first preset voltage, controlling the switching power supply 1 to enter a constant power mode.
Specifically, the switching power supply 1 may be a switching power supply having two charging modes of a constant current (output current constant, CC) and a constant power (output power constant, CP). In the present embodiment, the circuit principle of the constant current/constant power and the circuit structure of the switching power supply 1 are not limited. For example, the switching power supply 1 may be a flyback isolated switching power supply, and a Secondary Side (SSR) control may be used to control a driving signal of a MOSFET (metal oxide semiconductor field effect transistor) input to a power chip for controlling a switching operation of the switching power supply through Pulse Width Modulation (PWM), so as to implement a regulation mechanism of the above two operation modes, that is, to control the switching power supply 1 to enter a Constant Current (CC) mode or a Constant Power (CP) mode (hereinafter abbreviated as "CC/CP").
On the basis of the switching power supply 1 integrated with the CC/CP mode, the charging circuit in this embodiment introduces the control module 2, and the control module 2 is connected to the switching power supply 1, and can detect the output voltage of the switching power supply 1, and control the switching power supply to enter the constant current mode when the output voltage is smaller than the first preset voltage, and control the switching power supply to enter the constant power mode when the output voltage is not smaller than the first preset voltage. The first preset voltage may be a maximum critical value of the output voltage of the switching power supply 1 corresponding to whether the charging circuit needs to perform current limiting protection.
For example, for a switching power supply with a constant output power of 30W, the maximum output current can reach 10A when the output voltage is 3V, and in order to ensure the safety of the powered device, the output current limit needs to be increased. For example, the output current is uniformly limited to a maximum of 3A (constant current mode) between 6V and 3V. When the output voltage of the switching power supply is high, for example, greater than 6V, the switching power supply 1 switches to the constant output power limitation, and the limited power may be at maximum 24W (constant power mode), thereby ensuring the safety of the powered device. In this example, the first preset voltage may be set to 6V.
In detecting the output voltage of the switching power supply 1, a scheme of direct detection or indirect detection may be employed. Wherein, the direct detection can be that a sampling circuit is arranged at the output end position of the switching power supply 1 to collect the output voltage; the indirect detection may be that a sampling circuit is arranged at a non-output end position of the switching power supply 1 to collect the position voltage, and the position voltage and the output voltage of the switching power supply 1 have a specified conversion relationship, such as an equal proportional relationship.
Compared with the prior art, the embodiment of the invention takes the output voltage of the switching power supply as a monitoring signal for the switching power supply with a constant current/constant power mode; when the output voltage is less than a first preset voltage, controlling the switching power supply to enter a constant current mode; when the output voltage is not less than the first preset voltage, the switching power supply is controlled to enter a constant power mode so as to realize flexible switching between the constant current mode and the constant power mode, guarantee reasonable current limiting under high output current and guarantee output of larger charging power under low output current, thereby realizing effective compromise between current limiting protection and charging speed of the quick charging charger.
A second embodiment of the present invention is a charging circuit, which is an improvement of the first embodiment, wherein:
as shown in fig. 2, in the charging circuit, the switching power supply 1 is a flyback isolated switching power supply, and the control module 2 is located in a power supply chip of the flyback isolated switching power supply and is respectively connected to a power supply input terminal (VDD) on the power supply chip, the constant current control circuit and the constant power control circuit; the control module 2 is configured to obtain a supply voltage (VDD voltage) of the power chip, and obtain an output voltage of the flyback isolated switching power supply based on a proportional relationship between the supply voltage of the power chip and the output voltage of the flyback isolated switching power supply (the proportional relationship is determined by a flyback isolated power supply principle and is usually a direct proportional relationship); and controlling the switching power supply to enter a constant current mode or a constant power mode by triggering the working states of the constant current control circuit and the constant power control circuit. Aiming at the flyback isolated switching power supply, the output voltage of the flyback isolated switching power supply is obtained by obtaining the power supply voltage of the power supply chip and based on the proportional relation between the power supply voltage and the output voltage of the flyback isolated switching power supply, so that the output voltage can be conveniently and quickly obtained; meanwhile, the working states of the existing constant current control circuit (shown as 'CC' in the figure) and the constant power control circuit (shown as 'CP') are triggered inside the power supply chip, so that the switching power supply can be conveniently controlled to enter a specified working mode, and the design cost of circuit modification is low.
In addition, in the above charging circuit, the control module 2 includes the comparator 21 and the mechanism selection module 22; the input end of the comparator 21 is connected with the power supply input end (VDD) of the power supply chip, and the input voltage of the reference end of the comparator 21 is set to be a second preset voltage (ref); the second preset voltage and the first preset voltage have the proportional relation (namely the proportional relation between the power supply voltage of the power supply chip and the output voltage of the flyback isolated switching power supply); the mechanism selection module 22 is respectively connected with the output end of the comparator 21, the constant current control circuit and the constant power control circuit; the mechanism selection module 22 is used for triggering the constant current control circuit to be switched on and the constant power control circuit to be switched off when the power supply voltage of the power supply chip is smaller than a second preset voltage by the controlled comparator 21 so as to control the switching power supply to enter a constant current mode; and when the power supply voltage of the power supply chip is not less than the second preset voltage, the constant current control circuit is triggered to be switched off, and the constant power control circuit is triggered to be switched on, so that the switching power supply is controlled to enter a constant power mode. The comparator 21 can be used for conveniently comparing the power supply voltage of the power supply chip with the second preset voltage, and the mechanism selection module 22 is used for triggering the working states of the constant current control circuit and the constant power control circuit, so that the control switching of the switch power supply into the constant current mode/the constant power mode can be efficiently realized.
Specifically, a power supply input end (VDD) of the power supply chip is usually connected to an auxiliary winding of a transformer in the flyback isolated switching power supply, so that a specified proportional relationship exists between a power supply voltage of the power supply chip and an output voltage of the flyback isolated switching power supply, and the proportional relationship is determined by a flyback isolated power supply principle and is usually a direct proportional relationship. Therefore, the output voltage of the flyback isolated switching power supply can be indirectly detected by detecting the power supply voltage of the power supply chip.
The comparator 21 in the control module 2 collects the power supply voltage (VDD voltage) of the power supply chip and compares the power supply voltage with a second preset voltage, and the second preset voltage and the first preset voltage have the same proportional relationship with the power supply voltage of the power supply chip and the output voltage of the flyback isolated switching power supply. Therefore, when determining which charging mode to enter, the mode switching can be executed according to the principle that the output voltage of the switching power supply is used as a monitoring signal to control the switching of the charging mode only by determining the magnitude relation between the power supply voltage of the power supply chip and the second preset voltage without actually calculating the output voltage value of the flyback isolated switching power supply.
In this embodiment, the constant current control circuit and the constant power control circuit in the power chip can be regarded as working circuits in the power chip respectively used for controlling the switching power supply 1 to work in a constant current mode or a constant power mode. When the constant current control circuit is configured to be switched on and the constant power control circuit is switched off, the switching power supply 1 can enter a constant current mode to work; when the constant current control circuit is configured to be switched off and the constant power control circuit is switched on, the switching power supply 1 can enter a constant power mode to work. The selection module 22 in this embodiment can control the output end signal of the comparator 21 to control the working states (on or off) of the constant current control circuit and the constant power control circuit, so that the flyback isolated switching power supply enters a corresponding constant current working mode or a constant power working mode.
Taking a flyback isolated switching power supply as an example, when the switching power supply enters a constant current mode, the switching power supply can be adjusted in an open loop mode by an integrating circuit in a CS pin of a power supply chip, so that the output current is constant. When the switching power supply enters a constant power mode, the switching power supply is in closed-loop regulation by an error amplifier in the FB pin of the power supply chip, and the maximum threshold in the CS pin is limited, so that the constant output voltage and the maximum output power are limited, and the constant output power is constant.
In the present embodiment, the control principle of the constant current, constant voltage, and lateral power control of the power supply chip is not limited.
Compared with the prior art, the embodiment of the invention aims at the flyback isolated switching power supply, obtains the output voltage of the flyback isolated switching power supply by obtaining the power supply voltage of the power supply chip and based on the proportional relation between the power supply voltage and the output voltage of the flyback isolated switching power supply, and can conveniently and quickly obtain the output voltage; meanwhile, the working states of the existing constant current control circuit and the constant power control circuit are triggered inside the power supply chip, so that the switching power supply can be conveniently controlled to enter a specified working mode, and the design cost of circuit transformation is low.
The comparator can be used for conveniently comparing the power supply voltage of the power supply chip with the second preset voltage, and the mechanism selection module is used for triggering the working states of the constant current control circuit and the constant power control circuit, so that the control switching of the switch power supply into the constant current mode/the constant power mode can be efficiently realized.
A third embodiment of the present invention relates to an electronic apparatus. The electronic device includes the charging circuit according to the first embodiment or the second embodiment. Specifically, the electronic device may be a mobile terminal, such as a mobile terminal with sensors for changing positions, temperatures, humidity, and the like. Through the charging circuit, continuous power supply of the mobile terminal is realized, energy is saved, and the maintenance cost of the equipment is reduced.
A fourth embodiment of the present invention relates to a charging method applied to an electronic device as shown in the above third embodiment, and the core of the present embodiment is to detect an output voltage of a switching power supply; when the output voltage is less than a first preset voltage, controlling the switching power supply to enter a constant current mode; and when the output voltage is not less than the first preset voltage, controlling the switching power supply to enter a constant power mode. The output voltage of the switching power supply is used as a monitoring signal for the switching power supply with a constant current/constant power mode; when the output voltage is less than a first preset voltage, controlling the switching power supply to enter a constant current mode; when the output voltage is not less than the first preset voltage, the switching power supply is controlled to enter a constant power mode so as to realize flexible switching between the constant current mode and the constant power mode, guarantee reasonable current limiting under high output current and guarantee output of larger charging power under low output current, thereby realizing effective compromise between current limiting protection and charging speed of the quick charging charger. The following describes implementation details of the charging method of the present embodiment in detail, and the following description is provided only for the sake of understanding and is not necessary to implement the present embodiment.
As shown in fig. 3, the charging method in the present embodiment specifically includes:
step 301, detecting the output voltage of the switching power supply.
Specifically, the control module 2 may be implemented by adopting a scheme of direct detection or indirect detection when detecting the output voltage of the switching power supply 1. Wherein, the direct detection can be that a sampling circuit is arranged at the output end position of the switching power supply 1 to collect the output voltage; the indirect detection may be that a sampling circuit is arranged at a non-output end position of the switching power supply 1 to collect the position voltage, and the position voltage and the output voltage of the switching power supply 1 have a specified conversion relationship, such as an equal proportional relationship.
In a specific embodiment, for the flyback isolated switching power supply, the power supply voltage of the power supply chip of the flyback isolated switching power supply may be obtained, and the output voltage of the flyback isolated switching power supply may be obtained based on a proportional relationship between the power supply voltage of the power supply chip and the output voltage of the flyback isolated switching power supply.
Specifically, a power supply input end (VDD) of the power supply chip is usually connected to an auxiliary winding of a transformer in the flyback isolated switching power supply, so that a specified proportional relationship exists between a power supply voltage of the power supply chip and an output voltage of the flyback isolated switching power supply, and the proportional relationship is determined by a flyback isolated power supply principle and is usually a direct proportional relationship. Therefore, the control module 2 in fig. 2 can indirectly detect the output voltage of the flyback isolated switching power supply by detecting the power supply voltage of the power supply chip.
Step 302, when the output voltage is smaller than a first preset voltage, controlling the switching power supply to enter a constant current mode;
and 303, controlling the switching power supply to enter a constant power mode when the output voltage is not less than the first preset voltage.
The first preset voltage may be a critical value of the output voltage of the switching power supply 1 when the safety problem of the device is determined.
Specifically, for a switching power supply with constant output power in a specified range, when the output voltage is low, the maximum output current is relatively large, and in order to ensure the safety of the powered device, the output current needs to be increased to limit the current, so that the switching power supply 1 enters a constant current mode; when the output voltage is higher, the maximum output current is relatively smaller, current limiting is not needed, and the switching power supply 1 can be controlled to be switched into a constant power mode at the moment, so that flexible switching between the constant current mode and the constant power mode is realized.
Compared with the prior art, the embodiment of the invention takes the output voltage of the switching power supply as a monitoring signal for the switching power supply with a constant current/constant power mode; when the output voltage is less than a first preset voltage, controlling the switching power supply to enter a constant current mode; when the output voltage is not less than the first preset voltage, the switching power supply is controlled to enter a constant power mode so as to realize flexible switching between the constant current mode and the constant power mode, guarantee reasonable current limiting under high output current and guarantee output of larger charging power under low output current, thereby realizing effective compromise between current limiting protection and charging speed of the quick charging charger.
A fifth embodiment of the present invention relates to a charging method. The fifth embodiment is an improvement of the fourth embodiment, and the improvement is that:
detecting the output voltage of the switch power supply, and controlling the switch power supply to enter a constant current mode when the output voltage is less than a first preset voltage, wherein the method comprises the following steps: acquiring the power supply voltage of a power supply chip of the flyback isolated switching power supply; when the power supply voltage of the power supply chip is smaller than a second preset voltage, triggering a constant current control circuit in the power supply chip to be switched on and a constant power control circuit in the power supply chip to be switched off so as to control the flyback isolated switching power supply to enter a constant current mode; the second preset voltage and the first preset voltage have the same proportional relation with the power supply voltage of the power supply chip and the output voltage of the flyback isolated switching power supply. The power supply voltage of the power supply chip is compared with the second preset voltage, and the switching power supply is controlled to enter the constant current mode under the condition that the power supply voltage is smaller than the second preset voltage, so that the output voltage of the switching power supply can still follow the control concept that the output voltage of the switching power supply is used as a monitoring signal and enters the constant current mode when the output voltage is smaller, and the complexity of the judgment process is reduced.
In addition, detect switching power supply's output voltage to and when output voltage is not less than first preset voltage, control switching power supply and get into constant power mode, include: acquiring the power supply voltage of a power supply chip of the flyback isolated switching power supply; when the power supply voltage of the power supply chip is not less than a second preset voltage, triggering a constant current control circuit in the power supply chip to be switched off and a constant power control circuit in the power supply chip to be switched on so as to control the flyback isolated switching power supply to enter a constant power mode; the second preset voltage and the first preset voltage have the same proportional relation with the power supply voltage of the power supply chip and the output voltage of the flyback isolated switching power supply. The power supply voltage of the power supply chip is compared with the second preset voltage, and the switching power supply is controlled to enter the constant power mode under the condition that the power supply voltage is not smaller than the second preset voltage, so that the output voltage of the switching power supply can still be used as a monitoring signal under the condition that the output voltage of the switching power supply is not required to be actually calculated, the control idea that the output voltage of the switching power supply is used as a monitoring signal and the output voltage of the switching power supply enters the constant power mode when the output voltage is larger is achieved, and the complexity of the judgment process.
The specific flow chart is shown in fig. 4.
Step 401, obtaining a power supply voltage of a power supply chip of the flyback isolated switching power supply.
Specifically, the comparator 21 of the control module 2 disposed in the power supply chip may be connected to a power supply input terminal (VDD) of the power supply chip to obtain a power supply voltage of the power supply chip.
And 402, triggering a constant current control circuit in the power supply chip to be switched on and a constant power control circuit in the power supply chip to be switched off when the power supply voltage of the power supply chip is less than a second preset voltage so as to control the flyback isolated switching power supply to enter a constant current mode. And 403, triggering the constant current control circuit in the power supply chip to be switched off and the constant power control circuit in the power supply chip to be switched on when the power supply voltage of the power supply chip is not less than the second preset voltage so as to control the flyback isolated switching power supply to enter a constant power mode.
The second preset voltage and the first preset voltage have the same proportional relation with the power supply voltage of the power supply chip and the output voltage of the flyback isolated switching power supply.
Specifically, the mechanism selection module 22 of the control module 2 arranged in the power supply chip triggers the constant current control circuit in the power supply chip to be turned on and the constant power control circuit to be turned off when the power supply voltage of the power supply chip is smaller than a second preset voltage, so that the switching power supply 1 works in a constant current mode; when the power supply voltage of the power supply chip is not less than the second preset voltage, the constant current control circuit in the power supply chip is triggered to be switched off, and the constant power control circuit is switched on, so that the switching power supply 1 works in a constant power mode.
As shown in table 1, a table of parameters related to the switching power supply in the constant current mode and the constant power mode in the present embodiment is shown.
Figure BDA0002888201720000091
Compared with the prior art, the embodiment of the invention compares the power supply voltage of the power supply chip with the second preset voltage, controls the switching power supply to enter the constant current mode under the condition of being less than the second preset voltage, and controls the switching power supply to enter the constant power mode under the condition of not less than the second preset voltage, so that the control idea of controlling the switching power supply to enter the specified charging mode by taking the output voltage of the switching power supply as the monitoring signal can be still followed under the condition of not actually calculating the output voltage of the switching power supply, and the complexity of the judgment process is reduced.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A sixth embodiment of the invention relates to an electronic device, as shown in FIG. 5, comprising at least one processor 502; and memory communicatively coupled to the at least one processor 502; wherein the memory 501 stores instructions executable by the at least one processor 502, the instructions being executable by the at least one processor 502 to enable the at least one processor 502 to perform any of the method embodiments described above.
The memory 501 and the processor 502 are coupled by a bus, which may include any number of interconnected buses and bridges that couple one or more of the various circuits of the processor 502 and the memory 501. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 502 is transmitted over a wireless medium through an antenna, which further receives the data and transmits the data to the processor 502.
The processor 502 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. While memory 501 may be used to store data used by processor 502 in performing operations.
A sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes any of the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (10)

1. A charging circuit, comprising: the switching power supply is provided with a constant current/constant power mode;
the control module is used for detecting the output voltage of the switching power supply and controlling the switching power supply to enter a constant current mode when the output voltage is smaller than a first preset voltage; and when the output voltage is not less than the first preset voltage, controlling the switching power supply to enter a constant power mode.
2. The charging circuit according to claim 1, wherein the switching power supply is a flyback isolated switching power supply, and the control module is located in a power supply chip of the flyback isolated switching power supply and is respectively connected with a power supply input end, a constant current control circuit and a constant power control circuit on the power supply chip;
the control module is used for acquiring the power supply voltage of the power supply chip and acquiring the output voltage of the flyback isolated switching power supply based on the proportional relation between the power supply voltage of the power supply chip and the output voltage of the flyback isolated switching power supply; and controlling the switching power supply to enter a constant current mode or a constant power mode by triggering the working states of the constant current control circuit and the constant power control circuit.
3. The charging circuit of claim 2, wherein the control module comprises a comparator and a mechanism selection module;
the input end of the comparator is connected with the power supply input end of the power supply chip, and the input voltage of the reference end of the comparator is set to be a second preset voltage; the second preset voltage and the first preset voltage have the proportional relation; the mechanism selection module is respectively connected with the output end of the comparator, the constant current control circuit and the constant power control circuit;
the mechanism selection module is used for controlling the comparator, triggering the constant current control circuit to be switched on and the constant power control circuit to be switched off when the power supply voltage of the power supply chip is smaller than a second preset voltage, and controlling the switching power supply to enter a constant current mode; and when the power supply voltage of the power supply chip is not less than a second preset voltage, triggering the constant current control circuit to be switched off and the constant power control circuit to be switched on so as to control the switching power supply to enter a constant power mode.
4. An electronic device, comprising: a charging circuit as claimed in any one of claims 1 to 3.
5. A charging method applied to the electronic device of claim 4, comprising:
detecting the output voltage of the switching power supply;
when the output voltage is smaller than a first preset voltage, controlling the switching power supply to enter a constant current mode;
and when the output voltage is not less than the first preset voltage, controlling the switching power supply to enter a constant power mode.
6. The method of claim 5, wherein the detecting the output voltage of the switching power supply comprises:
the method comprises the steps of obtaining the power supply voltage of a power supply chip of the flyback isolated switching power supply, and obtaining the output voltage of the flyback isolated switching power supply based on the proportional relation between the power supply voltage of the power supply chip and the output voltage of the flyback isolated switching power supply.
7. The method of claim 5, wherein the detecting an output voltage of the switching power supply, and controlling the switching power supply to enter a constant current mode when the output voltage is less than a first preset voltage comprises:
acquiring the power supply voltage of a power supply chip of the flyback isolated switching power supply; when the power supply voltage of the power supply chip is smaller than a second preset voltage, triggering a constant current control circuit in the power supply chip to be switched on and a constant power control circuit in the power supply chip to be switched off so as to control the flyback isolated switching power supply to enter a constant current mode; the second preset voltage and the first preset voltage have the same proportional relation with the power supply voltage of the power supply chip and the output voltage of the flyback isolated switching power supply.
8. The method of claim 5, wherein the detecting an output voltage of the switching power supply, and the controlling the switching power supply to enter the constant power mode when the output voltage is not less than the first preset voltage comprises:
acquiring the power supply voltage of a power supply chip of the flyback isolated switching power supply; when the power supply voltage of the power supply chip is not less than a second preset voltage, triggering a constant current control circuit in the power supply chip to be switched off and a constant power control circuit in the power supply chip to be switched on so as to control the flyback isolated switching power supply to enter a constant power mode; the second preset voltage and the first preset voltage have the same proportional relation with the power supply voltage of the power supply chip and the output voltage of the flyback isolated switching power supply.
9. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the charging method of any one of claims 5 to 8.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the charging method according to any one of claims 5 to 8.
CN202110019653.4A 2021-01-07 2021-01-07 Charging circuit, charging method, electronic device, and storage medium Pending CN112821488A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110019653.4A CN112821488A (en) 2021-01-07 2021-01-07 Charging circuit, charging method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110019653.4A CN112821488A (en) 2021-01-07 2021-01-07 Charging circuit, charging method, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
CN112821488A true CN112821488A (en) 2021-05-18

Family

ID=75868762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110019653.4A Pending CN112821488A (en) 2021-01-07 2021-01-07 Charging circuit, charging method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN112821488A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006288090A (en) * 2005-03-31 2006-10-19 Ricoh Co Ltd Capacitor apparatus, charging method for the same and image forming apparatus
CN103036285A (en) * 2012-12-07 2013-04-10 陕西千山航空电子有限责任公司 Super capacitor charging circuit
CN103151924A (en) * 2013-01-31 2013-06-12 成都启臣微电子有限公司 High-precision constant-current and constant-power self-adaption compensating circuit
CN203690947U (en) * 2013-08-13 2014-07-02 南车株洲电力机车有限公司 Charging device for energy storage power supply
CN203933403U (en) * 2014-04-28 2014-11-05 王熙宁 A kind of novel off-line type numerically controlled intelligent Switching Power Supply
CN204442186U (en) * 2013-05-24 2015-07-01 昂宝电子(上海)有限公司 Inverse-excitation type switch power-supply circuit
CN105322637A (en) * 2015-11-06 2016-02-10 西南交通大学 Capacitor charging method and apparatus with constant power input characteristic
CN105406723A (en) * 2015-12-24 2016-03-16 杭州士兰微电子股份有限公司 Constant power control circuit and driving system containing same
JP2018181412A (en) * 2017-04-03 2018-11-15 岩崎電気株式会社 Power failure lamp

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006288090A (en) * 2005-03-31 2006-10-19 Ricoh Co Ltd Capacitor apparatus, charging method for the same and image forming apparatus
CN103036285A (en) * 2012-12-07 2013-04-10 陕西千山航空电子有限责任公司 Super capacitor charging circuit
CN103151924A (en) * 2013-01-31 2013-06-12 成都启臣微电子有限公司 High-precision constant-current and constant-power self-adaption compensating circuit
CN204442186U (en) * 2013-05-24 2015-07-01 昂宝电子(上海)有限公司 Inverse-excitation type switch power-supply circuit
CN203690947U (en) * 2013-08-13 2014-07-02 南车株洲电力机车有限公司 Charging device for energy storage power supply
CN203933403U (en) * 2014-04-28 2014-11-05 王熙宁 A kind of novel off-line type numerically controlled intelligent Switching Power Supply
CN105322637A (en) * 2015-11-06 2016-02-10 西南交通大学 Capacitor charging method and apparatus with constant power input characteristic
CN105406723A (en) * 2015-12-24 2016-03-16 杭州士兰微电子股份有限公司 Constant power control circuit and driving system containing same
JP2018181412A (en) * 2017-04-03 2018-11-15 岩崎電気株式会社 Power failure lamp

Similar Documents

Publication Publication Date Title
US10957947B2 (en) High-voltage detection circuit, detector, battery device and vehicle
US10969419B2 (en) Insulation detection circuit, detection method and battery management system
US9998180B2 (en) Apparatuses and related methods for modulating power of a wireless power receiver
KR101190374B1 (en) Power converter having improved control
US5783998A (en) Battery pack, method and electronic device for controlling its operation device
KR101119948B1 (en) Control apparatus for a battery circuit, charging control apparatus controlling charging current and electronics device using the same
US8598855B2 (en) Monitoring and control circuit for adjusting current
KR100651704B1 (en) Battery state monitoring circuit and battery apparatus
US11290801B2 (en) Headset charging system and headset charging method
US20130063098A1 (en) Method and system for power switch temperature regulation
EP4016789A1 (en) Battery management apparatus
US20150333636A1 (en) Electric power converter
KR100476957B1 (en) Power supply controlling device of electronic equipment
CN113161989B (en) Digital power supply, fault detection circuit and method thereof, and computer readable storage medium
KR20160014280A (en) Battery pack prividing different kind power source and charging method thereof
KR20170123274A (en) Dc-dc converter
US10389247B2 (en) Power conversion device and control circuit including stop transitioning to stop state
CN112821488A (en) Charging circuit, charging method, electronic device, and storage medium
US10879786B2 (en) Power conversion device and control circuit
CN110682829B (en) Overcharge preventing device and method
EP3148038A1 (en) Charging control method and apparatus, terminal and computer storage medium
CN112003464A (en) Power-down holding circuit for switching power supply of airborne electronic equipment
US10965145B2 (en) Charge control device, charging system, and charge control method
WO2013159118A1 (en) Current limiting sytems and methods
US20220302771A1 (en) Wireless Power Charging

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: 20210518