CN111682613A - Control method and electronic equipment - Google Patents

Control method and electronic equipment Download PDF

Info

Publication number
CN111682613A
CN111682613A CN202010548597.9A CN202010548597A CN111682613A CN 111682613 A CN111682613 A CN 111682613A CN 202010548597 A CN202010548597 A CN 202010548597A CN 111682613 A CN111682613 A CN 111682613A
Authority
CN
China
Prior art keywords
power supply
circuit
power
regulator
connection port
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.)
Granted
Application number
CN202010548597.9A
Other languages
Chinese (zh)
Other versions
CN111682613B (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202010548597.9A priority Critical patent/CN111682613B/en
Publication of CN111682613A publication Critical patent/CN111682613A/en
Application granted granted Critical
Publication of CN111682613B publication Critical patent/CN111682613B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/007188Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
    • H02J7/007192Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J2207/40Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries adapted for charging from various sources, e.g. AC, DC or multivoltage
    • 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
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B40/00Technologies aiming at improving the efficiency of home appliances, e.g. induction cooking or efficient technologies for refrigerators, freezers or dish washers

Abstract

The application provides a control method and an electronic device, wherein the control method comprises the following steps: when at least one external power supply device is connected with an electronic device through a connecting port, the connecting port connected with the power supply device is determined, wherein the number of the connecting port is n, m regulators used for regulating power supply current and voltage are arranged in the electronic device, n and m are positive integers larger than or equal to 2, n is smaller than or equal to m, and each connecting port is electrically connected with at least one regulator through a circuit with a switch; obtaining attribute information of the power supply equipment; determining a distribution strategy of power input by the power supply equipment according to the connection port accessed to the power supply equipment and the attribute information, wherein the distribution strategy is executed by controlling the on-off of the switch, and the distribution strategy at least comprises the step of controlling all regulators to be electrically connected with one connection port accessed to the power supply equipment through a passage. The control method is used for controlling the electronic equipment to carry out efficient and reasonable distribution on the power input by the at least one external power supply equipment so as to improve the charging efficiency.

Description

Control method and electronic equipment
Technical Field
The embodiment of the application relates to the field of intelligent equipment, in particular to a control method and electronic equipment.
Background
At present, many electronic equipment, for example, on the notebook computer, begin more and more application Type C power, it is more common in the electronic equipment to set up two Type C interfaces, in order to be used for inserting the equipment that has the match joint, also there is the equipment that sets up three Type C interface on the market, although the quantity that sets up of interface is increasing, can make the user insert more external power supply and other external device, but because do not set up in the equipment when having inserted a plurality of external power supply simultaneously, the logic how the power in each power input device should distribute, so lead to even having increased the power quantity of inserting, also be difficult to improve charge efficiency, still can cause the local overheat phenomenon of equipment simultaneously, influence equipment performance.
Disclosure of Invention
The application provides a control method for controlling electronic equipment to efficiently and reasonably distribute power input by at least one external power supply device so as to improve charging efficiency, and the electronic equipment applying the method.
In order to solve the above technical problem, an embodiment of the present application provides the following technical solutions:
in one aspect, the present application provides a control method, including:
when at least one external power supply device is connected with an electronic device through a connecting port, determining the connecting port connected with the power supply device, wherein the number of the connecting port is n, m regulators used for regulating power supply current and power supply voltage are arranged in the electronic device, n and m are positive integers more than or equal to 2, n is less than or equal to m, and each connecting port is electrically connected with at least one regulator through a circuit with a switch;
obtaining attribute information of the power supply equipment;
determining a distribution strategy of the power input by the power supply equipment according to the connection port accessed to the power supply equipment and the attribute information, wherein the distribution strategy is executed by controlling the on-off of the switch, and the distribution strategy at least comprises the step of controlling all the regulators to be electrically connected with one connection port accessed to the power supply equipment through a passage.
Preferably, the circuit with the switch includes a power supply circuit, two ends of which are respectively connected with the corresponding connection port and the power supply device, and a connection circuit arranged between at least part of the power supply circuits, and the switch is arranged on both the power supply circuit and the connection circuit.
Preferably, n is equal to m, and each of the connection ports is electrically connected to the corresponding regulator through one of the power supply circuits.
Preferably, the obtaining of the attribute information of the power supply apparatus includes:
obtaining power information of the power supply device.
Preferably, the method further comprises the following steps:
obtaining operating state information of the regulator;
the determining the power allocation policy includes:
and determining a power demand and a power distribution strategy according to the connection port accessed to the power supply equipment, the power information of the power supply equipment and the working state information of the regulator, wherein the power input by the power supply equipment is matched with the power demand.
Preferably, the operating state information of the regulator at least includes one or more of temperature information and operating state information of the regulator;
the distribution strategy further comprises limiting the operating temperature and operating time of the regulator connected to the power supply connection to respective temperature and time thresholds by controlling the position and number of each switched circuit in the path.
Preferably, the determining the allocation strategy of power includes:
determining a target regulator for receiving the power according to a connection port accessed to the power supply equipment and the working state information of each regulator;
determining a power supply circuit and a connecting circuit which need to be conducted according to a connecting port accessed to the power supply equipment and the position of the target adjuster;
and determining the distribution strategy of the power based on the power supply circuit to be conducted and the connecting circuit.
On the other hand, this application still provides an electronic equipment simultaneously, includes:
the detection module is used for determining that when at least one external power supply device is connected into an electronic device through a connection port, the connection port connected into the power supply device is determined, wherein the number of the connection port is n, m regulators used for regulating power supply current and power supply voltage are arranged in the electronic device, n and m are positive integers larger than or equal to 2, n is smaller than or equal to m, and each connection port is electrically connected with at least one regulator through a circuit with a switch;
the obtaining module is used for obtaining attribute information of the power supply equipment;
and the control module is used for determining a distribution strategy of the power input by the power supply equipment according to the connection port accessed to the power supply equipment and the attribute information, the distribution strategy is executed by controlling the on-off of the switch, and the distribution strategy at least comprises the step of controlling all the regulators to be electrically connected with one connection port accessed to the power supply equipment through a passage.
Preferably, the circuit with the switch includes a power supply circuit, two ends of which are respectively connected with the corresponding connection port and the power supply device, and a connection circuit arranged between at least part of the power supply circuits, and the switch is arranged on both the power supply circuit and the connection circuit.
Preferably, n is equal to m, and each of the connection ports is electrically connected to the corresponding regulator through one of the power supply circuits.
Based on the disclosure of the above embodiments, it can be known that the embodiments of the present application have the beneficial effects that by using the control method, when the electronic device is connected to at least one external power supply device, the power input by the external power supply device can be efficiently and reasonably distributed, so that the charging efficiency of each device in the electronic device is at least improved.
Drawings
Fig. 1 is a flowchart of a control method in the embodiment of the present application.
Fig. 2 is a flowchart of a control method in another embodiment of the present application.
Fig. 3 is a circuit layout diagram in an electronic device according to another embodiment of the present application.
Fig. 4 is a block diagram of an electronic device in the embodiment of the present application.
Detailed Description
Specific embodiments of the present application will be described in detail below with reference to the accompanying drawings, but the present application is not limited thereto.
It will be understood that various modifications may be made to the embodiments disclosed herein. The following description is, therefore, not to be taken in a limiting sense, but is made merely as an exemplification of embodiments. Other modifications will occur to those skilled in the art within the scope and spirit of the disclosure.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the disclosure and, together with a general description of the disclosure given above, and the detailed description of the embodiments given below, serve to explain the principles of the disclosure.
These and other characteristics of the present application will become apparent from the following description of preferred forms of embodiment, given as non-limiting examples, with reference to the attached drawings.
It should also be understood that, although the present application has been described with reference to some specific examples, a person of skill in the art shall certainly be able to achieve many other equivalent forms of application, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present disclosure will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present disclosure are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely examples of the disclosure that may be embodied in various forms. Well-known and/or repeated functions and structures have not been described in detail so as not to obscure the present disclosure with unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present disclosure in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the disclosure.
Hereinafter, embodiments of the present application will be described in detail with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present application provides a control method, including:
when at least one external power supply device is connected with an electronic device through a connecting port, the connecting port connected with the power supply device is determined, wherein the number of the connecting port is n, m regulators used for regulating power supply current and power supply voltage are arranged in the electronic device, n and m are positive integers larger than or equal to 2, n is smaller than or equal to m, and each connecting port is electrically connected with at least one regulator through a circuit with a switch;
obtaining attribute information of the power supply equipment;
determining a distribution strategy of power input by the power supply equipment according to the connection port accessed to the power supply equipment and the attribute information, wherein the distribution strategy is executed by controlling the on-off of the switch, and the distribution strategy at least comprises the step of controlling all regulators to be electrically connected with one connection port accessed to the power supply equipment through a passage.
For example, the electronic device in this embodiment is provided with a plurality of connection ports, which may be type c interfaces, or other interfaces for implementing data interaction or transmitting electric energy. The number of the connection ports in this embodiment is at least two, that is, two connection ports, three connection ports, and more connection ports may be provided on the electronic device. Meanwhile, in order to achieve that the supply current and the supply voltage input to each device in the electronic equipment can both meet the attribute requirements of the corresponding device, in this embodiment, at least two regulators for regulating the supply current and the supply voltage are further provided in the electronic equipment, that is, the regulators are used for processing the power input by the external power supply equipment to obtain the current and the voltage matching the attribute requirements of the corresponding device, so as to ensure that the corresponding device operates stably. In this embodiment, each connection port is electrically connected to at least one regulator through a circuit with a switch, that is, each connection port is electrically connected to one or more regulators through a circuit with a switch, and since each regulator corresponds to one of the above-mentioned devices, the device can receive one or more sets of electric energy transmitted from the connection port through the corresponding regulator. Further, based on the control method in this embodiment, when any connection port of the electronic device is connected to the external power supply device (specifically, it may be determined by detecting a level change of the specific signal CHG _ OK at the connection port), the electronic device may determine the connection port connected to the external power supply device, such as determine the location thereof, and obtain attribute information of the power supply device, and after determining the above information, the electronic device may determine an allocation policy of the power input by the power supply device according to the connection port connected to the power supply device and the attribute information, where the allocation policy at least includes a plurality of sub-policies including different contents, where one of the sub-policies is to control a circuit between all regulators and one connection port connected to the power supply device to be a path, even if only one connecting port is connected to the power supply equipment, the devices which are connected with the regulator in the electronic equipment in a matching mode can receive the electric energy provided by the power supply equipment, and the situation that one connecting port only corresponds to one regulator and only can provide the electric energy for one device as in the prior art is avoided, so that the electric energy utilization rate is poor, and the charging efficiency of each device is low. When the allocation strategy is implemented, the allocation strategy can be realized by controlling the on-off of the switches on each circuit, that is, the electronic equipment selectively controls the on-off of the switches on each circuit to form the path, and the path is formed by combining a plurality of circuits with the switches in an on state.
Based on the disclosure of the above embodiments, it can be known that the embodiments of the present application have the beneficial effects that by using the control method, when the electronic device is connected to at least one external power supply device, the power input by the external power supply device can be efficiently and reasonably distributed, so that the charging efficiency of each device in the electronic device is at least improved, and the technical effects of fast charging and flash charging are achieved.
Furthermore, the circuit with the switch comprises a power supply circuit and a connecting circuit, wherein two ends of the power supply circuit are respectively connected with the corresponding connecting port and the power supply equipment, the connecting circuit is arranged between at least part of the power supply circuits, and the power supply circuit and the connecting circuit are both provided with the switch. For example, the electronic device is provided with three connection ports, three regulators are arranged inside the electronic device, and the three connection ports are respectively connected with one regulator through a power supply circuit, wherein in the three power supply circuits, a connection circuit can be arranged between a first power supply circuit and a second power supply circuit, and a connection circuit can be arranged between the second power supply circuit and a third power supply circuit. Or the electronic equipment is provided with two connecting ports and three regulators, wherein one regulator is connected with the first connecting port through a power supply circuit, the other two regulators are respectively connected with the second connecting port through a power supply circuit, and the connecting circuit is arranged between the power supply circuit connected with the first connecting port and one power supply circuit connected with the second connecting port.
Preferably, n is equal to m in the embodiment, that is, each connection port is electrically connected to the corresponding regulator through a power supply circuit, so that the electronic device can implement more power distribution strategies with different contents. Of course, n and m may be different, e.g., m is greater than n, i.e., there may be multiple regulators connected to the same connection port.
Further, in this embodiment, when the electronic device performs the step of obtaining the attribute information of the power supply device, the method specifically includes:
power information of the power supply device is obtained.
For example, a value of power that the power supply apparatus can input into the electronic apparatus is obtained.
In addition, the control method in this embodiment further includes:
obtaining working state information of the adjuster;
determining a power allocation policy, comprising:
and determining a power demand and a power distribution strategy according to the connection port accessed to the power supply equipment, the power information of the power supply equipment and the working state information of the regulator, wherein the power input by the power supply equipment is matched with the power demand.
Specifically, the operating state information of the regulator in this embodiment at least includes one or more of temperature information and operating state information of the regulator, for example, obtaining a current temperature value of the regulator, determining whether the regulator is operating normally, whether the regulator is currently connected to another connection port and receives the transmitted power, and a duration of the operation. After the electronic device determines the information, the electronic device determines a power requirement, that is, a power required to be obtained, and a power allocation policy for the power based on the position of the connection port connected to the power supply device, the power information of the power supply device, and the operating state information of each regulator. And then, the electronic equipment can communicate with the external power supply equipment to inform the external power supply equipment of the power required to be input into the electronic equipment, so that the power supply equipment can input the matched ground power according to the power requirement of the electronic equipment.
Preferably, the allocation strategy in this embodiment further includes limiting the operating temperature and the operating time of the regulator connected to the power supply device within the corresponding temperature threshold and time threshold respectively by controlling the position and number of each switched circuit in the path.
For example, after the electronic device obtains the operating state information of the regulators, the electronic device may know the current states of the regulators and the operating parameters thereof, and then determine a matching power distribution strategy based on the known information, where the power distribution strategy includes limiting the operating temperature of the regulator connected to the power supply device within the corresponding temperature threshold value and limiting the time for continuous operation within the corresponding time threshold value by controlling the positions and the number of the circuits with switches in the path, that is, controlling the circuits constituting the path, so as to avoid the performance of the regulator and the electronic device as a whole being affected by the excessively high operating temperature or excessively long continuous operation time of the regulator.
Specifically, in the present embodiment, when determining the power allocation policy, the method includes:
determining a target regulator for receiving power according to a connection port accessed to the power supply equipment and the working state information of each regulator;
determining a power supply circuit and a connecting circuit which need to be conducted according to a connecting port connected to the power supply equipment and the position of the target regulator;
and determining a power distribution strategy based on the power supply circuit and the connecting circuit to be conducted.
In order to better explain the technical scheme of the application, the following detailed description is given by specific examples:
as shown in fig. 3, the electronic device in this embodiment is provided with three connection ports, and three regulators are provided inside the electronic device, and the three regulators are respectively used for storing electric energy and supplying power to corresponding devices. Each regulator is connected with a unique corresponding connection port through a power supply circuit, a connection circuit is arranged between the power supply circuits respectively connected with the two adjacent ports, and each circuit is provided with a switch which specifically corresponds to Q1-Q5 in figure 3. When a connection port is connected with an external power supply device, the electronic device determines that the external power supply device is connected when the electronic device detects that the CHG _ OK signal at each connection port is increased from low level to high level, and determines which connection port the connection port connected with the external power supply device is. Then, the electronic device interacts with the power supply device to obtain the power value which can be output by the power supply device, and simultaneously obtains the working state information of each regulator to determine which regulators meet the temperature and time requirements at the current state and are unoccupied, and simultaneously determines the rated operating parameters of the regulator, such as the processable power value, based on which the electronic device can determine the required power and the power distribution strategy. And then, the electronic equipment interacts with the power supply equipment again, informs the power supply equipment of the required power, and enables the power supply equipment to input the matched power in the electronic equipment.
Specifically, when the power supply device is connected to only one connection port, for example, the first connection port connected to the power supply circuit where the switch Q1 is located in fig. 3 is connected to the power supply device, the distribution strategy that the electronic device can implement includes controlling the switches Q1, Q4, Q5 in fig. 3 to be turned on, and controlling the switches Q2, Q3 to be turned off; when the second connection port located below the first connection port is connected to the power supply device, the distribution strategy that the electronic device can implement includes controlling the switches Q2, Q4, Q5 in fig. 3 to be turned on, and controlling the switches Q1, Q3 to be turned off; when a third connection port located below the second connection port is connected to the power supply device, the distribution strategy that the electronic device can implement includes controlling the switches Q3, Q4, Q5 in fig. 3 to be turned on, and controlling the switches Q1, Q2 to be turned off. When two connection ports are connected to the power supply device, for example, when the first and second connection ports are connected to the power supply device, the distribution strategy that the electronic device can implement includes controlling switches Q1, Q2, Q5 to be turned on, and controlling switches Q3, Q4 to be turned off in fig. 3; when the power supply equipment is connected to the first connection port and the third connection port, the distribution strategy which can be implemented by the electronic equipment comprises the steps of controlling the switches Q1, Q3 to be turned on, and controlling the switches Q2, Q4 and Q5 to be turned off in the control circuit 3; when the power supply device is connected to the second and third connection ports, the distribution strategy that the electronic device can implement includes controlling the switches Q2, Q3, Q4 in fig. 3 to be turned on, and the switches Q1, Q5 to be turned off. When the electronic device is connected to all three connection ports, the electronic device may implement the distribution strategy of controlling the switches Q1, Q2, Q3 in fig. 3 to be turned on, and the switches Q4, Q5 to be turned off, that is, each power supply device only supplies power to one device at this time. And if the current state of some regulators in the regulators connected in the path does not meet the current use requirement, if the current temperature is possibly too high and the like, the switch of the circuit connected with the regulator in the control path is in a closed state.
As shown in fig. 4, another embodiment of the present application also provides an electronic device, which includes:
the detection module is used for determining connection ports accessed to the power supply equipment when at least one external power supply equipment is accessed to the electronic equipment through the connection ports, wherein the number of the connection ports is n, m regulators used for regulating power supply current and power supply voltage are arranged in the electronic equipment, n and m are positive integers larger than or equal to 2, n is smaller than or equal to m, and each connection port is electrically connected with at least one regulator through a circuit with a switch;
the acquisition module is used for acquiring attribute information of the power supply equipment;
and the control module is used for determining a distribution strategy of the power input by the power supply equipment according to the connection port accessed to the power supply equipment and the attribute information, the distribution strategy is executed by controlling the on-off of the switch, and the distribution strategy at least comprises the step of controlling all the regulators to be electrically connected with one connection port accessed to the power supply equipment through a passage.
For example, the electronic device in this embodiment is provided with a plurality of connection ports, which may be type c interfaces, or other interfaces for implementing data interaction or transmitting electric energy. The number of the connection ports in this embodiment is at least two, that is, two connection ports, three connection ports, and more connection ports may be provided on the electronic device. Meanwhile, in order to achieve that the supply current and the supply voltage input to each device in the electronic equipment can both meet the attribute requirements of the corresponding device, in this embodiment, at least two regulators for regulating the supply current and the supply voltage are further provided in the electronic equipment, that is, the regulators are used for processing the power input by the external power supply equipment to obtain the current and the voltage matching the attribute requirements of the corresponding device, so as to ensure that the corresponding device operates stably. In this embodiment, each connection port is electrically connected to at least one regulator through a circuit with a switch, that is, each connection port is electrically connected to one or more regulators through a circuit with a switch, and since each regulator corresponds to one of the above-mentioned devices, the device can receive one or more sets of electric energy transmitted from the connection port through the corresponding regulator. Further, when any connection port in the electronic device is connected to the external power supply device, the detection module may determine whether the power supply device is connected by detecting a level change of a specific signal CHG _ OK at the connection port, and may determine the connection port connected to the external power supply device, such as determining a location thereof, and at the same time, the obtaining module may obtain attribute information of the power supply device through interaction with the power supply device, and after determining the above information, the control module in the electronic device may determine an allocation policy of power input by the power supply device according to the connection port connected to the power supply device and the attribute information, where the allocation policy at least includes controlling all the regulators to be electrically connected to one connection port connected to the power supply device through a path, that is, the allocation policy has a plurality of sub-policies containing different contents, and one of the sub-policies must be a path controlling a circuit between all the regulators and one connection port connected to the power supply device, even if only one connecting port is connected to the power supply equipment, the devices which are connected with the regulator in the electronic equipment in a matching mode can receive the electric energy provided by the power supply equipment, and the situation that one connecting port only corresponds to one regulator and only can provide the electric energy for one device as in the prior art is avoided, so that the electric energy utilization rate is poor, and the charging efficiency of each device is low. When the distribution strategy is implemented, the distribution strategy can be realized by controlling the on-off of the switches on each circuit, that is, the control module selectively controls the on-off of the switches on each circuit to form the path, and the path is formed by combining a plurality of circuits with the switches in an on state.
Based on the disclosure of the above embodiments, it can be known that the beneficial effects of the embodiments of the present application include that when the electronic device in the embodiment determines to access at least one external power supply device, the power input by the external power supply device can be efficiently and reasonably distributed, so that the charging efficiency of each device in the electronic device is at least improved, and the technical effects of fast charging and flash charging are achieved.
Furthermore, the circuit with the switch comprises a power supply circuit and a connecting circuit, wherein two ends of the power supply circuit are respectively connected with the corresponding connecting port and the power supply equipment, the connecting circuit is arranged between at least part of the power supply circuits, and the power supply circuit and the connecting circuit are both provided with the switch. For example, the electronic device is provided with three connection ports, three regulators are arranged inside the electronic device, and the three connection ports are respectively connected with one regulator through a power supply circuit, wherein in the three power supply circuits, a connection circuit can be arranged between a first power supply circuit and a second power supply circuit, and a connection circuit can be arranged between the second power supply circuit and a third power supply circuit. Or the electronic equipment is provided with two connecting ports and three regulators, wherein one regulator is connected with the first connecting port through a power supply circuit, the other two regulators are respectively connected with the second connecting port through a power supply circuit, and the connecting circuit is arranged between the power supply circuit connected with the first connecting port and one power supply circuit connected with the second connecting port.
Preferably, n is equal to m in the embodiment, that is, each connection port is electrically connected to the corresponding regulator through a power supply circuit, so that the electronic device can implement more power distribution strategies with different contents. Of course, n and m may be different, e.g., m is greater than n, i.e., there may be multiple regulators connected to the same connection port.
Further, in this embodiment, when the obtaining module performs the step of obtaining the attribute information of the power supply device, the obtaining module specifically includes:
power information of the power supply device is obtained.
For example, a value of power that the power supply apparatus can input into the electronic apparatus is obtained.
In addition, the obtaining module in this embodiment is further configured to:
obtaining working state information of the adjuster;
when determining the power allocation strategy, the control module includes:
and determining a power demand and a power distribution strategy according to the connection port accessed to the power supply equipment, the power information of the power supply equipment and the working state information of the regulator, wherein the power input by the power supply equipment is matched with the power demand.
Specifically, the operating state information of the regulator in this embodiment at least includes one or more of temperature information and operating state information of the regulator, for example, obtaining a current temperature value of the regulator, determining whether the regulator is operating normally, whether the regulator is currently connected to another connection port and receives the transmitted power, and a duration of the operation. After the control module determines the information, the power demand, that is, the power to be acquired, and the power allocation policy for the power are determined based on the position of the connection port connected to the power supply device, the power information of the power supply device, and the operating state information of each regulator. And then, the control module can communicate with the external power supply equipment to inform the external power supply equipment of the power required to be input into the electronic equipment, so that the power supply equipment inputs the matched ground power according to the power requirement of the electronic equipment.
Preferably, the allocation strategy in this embodiment further includes limiting the operating temperature and the operating time of the regulator connected to the power supply device within the corresponding temperature threshold and time threshold respectively by controlling the position and number of each switched circuit in the path.
For example, the control module may know the current state of each regulator and each operating parameter thereof based on the obtained operating state information of the regulators, and then determine a matching power distribution strategy based on the obtained information, where the power distribution strategy includes limiting the operating temperature of the regulator connected to the power supply device within the corresponding temperature threshold and limiting the time duration of the continuous operation within the corresponding time threshold by controlling the position and number of each switched circuit in the path, i.e., controlling each circuit constituting the path, so as to avoid the performance of the regulator and the electronic device as a whole being affected by the excessively high operating temperature or excessively long continuous operation time of the regulator.
Specifically, in this embodiment, when determining the power allocation policy, the control module includes:
determining a target regulator for receiving power according to a connection port accessed to the power supply equipment and the working state information of each regulator;
determining a power supply circuit and a connecting circuit which need to be conducted according to a connecting port connected to the power supply equipment and the position of the target regulator;
and determining a power distribution strategy based on the power supply circuit and the connecting circuit to be conducted.
In order to better explain the technical scheme of the application, the following detailed description is given by specific examples:
as shown in fig. 3, the electronic device in this embodiment is provided with three connection ports, and three regulators are provided inside the electronic device, and the three regulators are respectively used for storing electric energy and supplying power to corresponding devices. Each regulator is connected with a unique corresponding connection port through a power supply circuit, a connection circuit is arranged between the power supply circuits respectively connected with the two adjacent ports, and each circuit is provided with a switch which specifically corresponds to Q1-Q5 in figure 3. When the detection module, for example, the level sensing terminal, determines that the external power supply device is connected, when the detection module determines that the connection port is connected to the external power supply device, the detection terminal detects that the CHG _ OK signal at each connection port is raised from a low level to a high level, and determines which connection port the external power supply device is connected to. Then, the obtaining module, for example, a communication terminal, obtains a power value that can be output by the power supply device through interaction with the power supply device, and simultaneously obtains operating state information of each regulator, so that the control module, for example, a processor, determines which regulators meet the temperature and time requirements and are unoccupied based on the obtained information, and determines a rated operating parameter of the regulator, for example, a processable power value, based on which the processor can determine the required power and a power distribution strategy. And then, the processor interacts with the power supply equipment again through the communication terminal to inform the power supply equipment of the required power, so that the power supply equipment inputs the matched power in the electronic equipment.
Specifically, when the power supply device is connected to only one connection port, for example, the first connection port connected to the power supply circuit where the switch Q1 is located in fig. 3 is connected to the power supply device, the distribution strategy that the electronic device can implement includes controlling the switches Q1, Q4, Q5 in fig. 3 to be turned on, and controlling the switches Q2, Q3 to be turned off; when the second connection port located below the first connection port is connected to the power supply device, the distribution strategy that the electronic device can implement includes controlling the switches Q2, Q4, Q5 in fig. 3 to be turned on, and controlling the switches Q1, Q3 to be turned off; when a third connection port located below the second connection port is connected to the power supply device, the distribution strategy that the electronic device can implement includes controlling the switches Q3, Q4, Q5 in fig. 3 to be turned on, and controlling the switches Q1, Q2 to be turned off. When two connection ports are connected to the power supply device, for example, when the first and second connection ports are connected to the power supply device, the distribution strategy that the electronic device can implement includes controlling switches Q1, Q2, Q5 to be turned on, and controlling switches Q3, Q4 to be turned off in fig. 3; when the power supply equipment is connected to the first connection port and the third connection port, the distribution strategy which can be implemented by the electronic equipment comprises the steps of controlling the switches Q1, Q3 to be turned on, and controlling the switches Q2, Q4 and Q5 to be turned off in the control circuit 3; when the power supply device is connected to the second and third connection ports, the distribution strategy that the electronic device can implement includes controlling the switches Q2, Q3, Q4 in fig. 3 to be turned on, and the switches Q1, Q5 to be turned off. When the electronic device is connected to all three connection ports, the electronic device may implement the distribution strategy of controlling the switches Q1, Q2, Q3 in fig. 3 to be turned on, and the switches Q4, Q5 to be turned off, that is, each power supply device only supplies power to one device at this time. And if the current state of some regulators in the regulators connected in the path does not meet the current use requirement, if the current temperature is possibly too high and the like, the switch of the circuit connected with the regulator in the control path is in a closed state.
The above embodiments are only exemplary embodiments of the present application, and are not intended to limit the present application, and the protection scope of the present application is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present application and such modifications and equivalents should also be considered to be within the scope of the present application.

Claims (10)

1. A control method, comprising:
when at least one external power supply device is connected with an electronic device through a connecting port, determining the connecting port connected with the power supply device, wherein the number of the connecting port is n, m regulators used for regulating power supply current and power supply voltage are arranged in the electronic device, n and m are positive integers more than or equal to 2, n is less than or equal to m, and each connecting port is electrically connected with at least one regulator through a circuit with a switch;
obtaining attribute information of the power supply equipment;
determining a distribution strategy of the power input by the power supply equipment according to the connection port accessed to the power supply equipment and the attribute information, wherein the distribution strategy is executed by controlling the on-off of the switch, and the distribution strategy at least comprises the step of controlling all the regulators to be electrically connected with one connection port accessed to the power supply equipment through a passage.
2. The method according to claim 1, wherein the circuit with the switch comprises a power supply circuit with two ends respectively connected with the corresponding connection port and the power supply equipment, and a connection circuit arranged between at least part of the power supply circuit, and the switch is arranged on the power supply circuit and the connection circuit.
3. The method of claim 2, wherein n is equal to m, and each of the connection ports is electrically connected to the corresponding regulator through one of the power supply circuits.
4. The method of claim 2, wherein the obtaining attribute information of the power supply device comprises:
obtaining power information of the power supply device.
5. The method of claim 4, further comprising:
obtaining operating state information of the regulator;
the determining the power allocation policy includes:
and determining a power demand and a power distribution strategy according to the connection port accessed to the power supply equipment, the power information of the power supply equipment and the working state information of the regulator, wherein the power input by the power supply equipment is matched with the power demand.
6. The method of claim 5, wherein the operating state information of the regulator comprises at least one or more of temperature information and operating state information of the regulator;
the allocation strategy further comprises limiting the operating temperature and the operating time of the regulator connected to the power supply device to respective temperature and time thresholds by controlling the position and number of each switched circuit in the path.
7. The method of claim 5, wherein the determining the allocation policy for power comprises:
determining a target regulator for receiving the power according to a connection port accessed to the power supply equipment and the working state information of each regulator;
determining a power supply circuit and a connecting circuit which need to be conducted according to a connecting port accessed to the power supply equipment and the position of the target adjuster;
and determining the distribution strategy of the power based on the power supply circuit to be conducted and the connecting circuit.
8. An electronic device, comprising:
the detection module is used for determining that when at least one external power supply device is connected into an electronic device through a connection port, the connection port connected into the power supply device is determined, wherein the number of the connection port is n, m regulators used for regulating power supply current and power supply voltage are arranged in the electronic device, n and m are positive integers larger than or equal to 2, n is smaller than or equal to m, and each connection port is electrically connected with at least one regulator through a circuit with a switch;
the obtaining module is used for obtaining attribute information of the power supply equipment;
and the control module is used for determining a distribution strategy of the power input by the power supply equipment according to the connection port accessed to the power supply equipment and the attribute information, the distribution strategy is executed by controlling the on-off of the switch, and the distribution strategy at least comprises the step of controlling all the regulators to be electrically connected with one connection port accessed to the power supply equipment through a passage.
9. The electronic device of claim 8, wherein the circuit with a switch comprises a power supply circuit having two ends respectively connected to the corresponding connection port and the power supply device, and a connection circuit disposed between at least some of the power supply circuits, and the switch is disposed on both the power supply circuit and the connection circuit.
10. The electronic device of claim 9, wherein n is equal to m, and each of the connection ports is electrically connected to the corresponding regulator through one of the power supply circuits.
CN202010548597.9A 2020-06-16 2020-06-16 Control method and electronic equipment Active CN111682613B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010548597.9A CN111682613B (en) 2020-06-16 2020-06-16 Control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010548597.9A CN111682613B (en) 2020-06-16 2020-06-16 Control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111682613A true CN111682613A (en) 2020-09-18
CN111682613B CN111682613B (en) 2022-07-26

Family

ID=72455199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010548597.9A Active CN111682613B (en) 2020-06-16 2020-06-16 Control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111682613B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112421719A (en) * 2020-11-10 2021-02-26 上海闻泰信息技术有限公司 Double-charging control circuit and double-charging control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107787540A (en) * 2015-06-24 2018-03-09 苹果公司 The system and method for two-way dual-port battery charging with boost function
CN107817886A (en) * 2017-11-10 2018-03-20 合肥联宝信息技术有限公司 A kind of method for controlling power supply and electronic equipment
US20180375358A1 (en) * 2017-06-23 2018-12-27 Dell Products L.P. High efficiency power storage adapter
CN110380475A (en) * 2019-07-16 2019-10-25 合肥联宝信息技术有限公司 The method of supplying power to and power supply unit of a kind of electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107787540A (en) * 2015-06-24 2018-03-09 苹果公司 The system and method for two-way dual-port battery charging with boost function
US20180375358A1 (en) * 2017-06-23 2018-12-27 Dell Products L.P. High efficiency power storage adapter
CN107817886A (en) * 2017-11-10 2018-03-20 合肥联宝信息技术有限公司 A kind of method for controlling power supply and electronic equipment
CN110380475A (en) * 2019-07-16 2019-10-25 合肥联宝信息技术有限公司 The method of supplying power to and power supply unit of a kind of electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112421719A (en) * 2020-11-10 2021-02-26 上海闻泰信息技术有限公司 Double-charging control circuit and double-charging control method
CN112421719B (en) * 2020-11-10 2023-01-20 上海闻泰信息技术有限公司 Double-charging control circuit and double-charging control method

Also Published As

Publication number Publication date
CN111682613B (en) 2022-07-26

Similar Documents

Publication Publication Date Title
CN105453372B (en) The method and apparatus of fast battery charging is carried out using general high power input source
KR101719262B1 (en) Charger, charging terminal, charging system, charging control method, program and storage medium
CN204145000U (en) The adjustable charging circuit of charging current and there is the electronic product of this charging circuit
CN110854939B (en) Method for charging double batteries, electronic device and storage medium
EP4145669A1 (en) Charging/discharging circuit and electronic device
WO2004047251A1 (en) Method and apparatus for a communication hub
CN104578277A (en) Method for charging electronic equipment and electronic equipment
US11791650B2 (en) Multiple output charging system and controller
WO1999048185A1 (en) Electrical power management system
CN111682613B (en) Control method and electronic equipment
CN107547209B (en) Power distribution method and device
CN107979474B (en) Network device and power supply method
CN104485712B (en) Charging method and electronic equipment
CN112956104A (en) Charging control circuit, charging control method, device, and storage medium
CN106921192A (en) Terminal and electricity sharing method
CN108181978B (en) Power control method and device for electronic equipment
CN206672032U (en) Multi-band switch reset circuit and interchanger
US20190393708A1 (en) Terminal and multi-path power supply control method
CN105207279A (en) Charge and discharge circuit and mobile terminal
US10481576B2 (en) Method and device for implementing connection control
CN115395762B (en) Single-inductor voltage transformation multi-voltage independent output circuit and related product
US20230045028A1 (en) Charging system, method and device for controlling charging system, and electronic device
CN110380469A (en) Electronic equipment and method of supplying power to
CN109066842A (en) Terminal device, charge control method and computer readable storage medium
CN112803525A (en) Electronic device and charging control method thereof

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
GR01 Patent grant
GR01 Patent grant