CN112803576A - Control method and electronic equipment - Google Patents

Control method and electronic equipment Download PDF

Info

Publication number
CN112803576A
CN112803576A CN202011607375.6A CN202011607375A CN112803576A CN 112803576 A CN112803576 A CN 112803576A CN 202011607375 A CN202011607375 A CN 202011607375A CN 112803576 A CN112803576 A CN 112803576A
Authority
CN
China
Prior art keywords
power supply
voltage
power
electric energy
output
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
CN202011607375.6A
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.)
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 CN202011607375.6A priority Critical patent/CN112803576A/en
Publication of CN112803576A publication Critical patent/CN112803576A/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
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
    • H02J9/06Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
    • H02J9/062Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems for AC powered loads

Landscapes

  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Secondary Cells (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application provides a control method, two power supplies are connected with a system input, a one-way conduction element is arranged between a first power supply and a second power supply, a first voltage output by the first power supply is higher than a second voltage output by the second power supply, the one-way conduction element is cut off, the first power supply supplies power for the system, the second power supply is forbidden to supply power for the system, when the output voltage of the first power supply is reduced to be lower than the output voltage of the second power supply, the one-way conduction element is immediately conducted, and the one-way conduction element is switched to the second power supply to supply power for the system. The first power supply and the second power supply are switched by the cut-off and the conduction of the one-way conduction element, once the voltage of the first power supply is lower than that of the second power supply, the one-way conduction element is immediately conducted and is switched to the second power supply to supply power to the system, processes of waiting for detection, alarming, starting a discharge circuit of the second power supply (such as a battery) until the output voltage reaches a normal working range and the like are not needed, and the time from the occurrence of abnormal alternating current input of the PSU to the switching of the BBU discharge circuit to normal output is shortened.

Description

Control method and electronic equipment
Technical Field
The present application relates to the field of electronic devices, and more particularly, to a control method and an electronic device.
Background
As customer requirements for system reliability and data security increase. Under the condition that the system power supply is abnormally shut down due to the abnormal alternating current power supply, a user hopes that important data can be stored before the system is abnormally shut down.
As shown in the schematic structural diagram of fig. 1, a Battery module (BBU) and a power supply psu (power supply unit) are added to the system for use together. The PSU is provided with a detection line, when the AC input voltage is abnormal, the PSU detects the abnormality, sends an alarm signal (Vin _ Warning) to the BBU through a connecting line (shown as a dotted line in figure 1) between the PSU and the BBU, and starts a discharge line (discharge) after the BBU receives the alarm signal. When the output voltage of the BBU discharge circuit reaches the normal working range and the output voltage falls out of the normal range after the PSU is turned off, the BBU takes over the PSU to supply power to the system.
However, in this scheme, there is a delay from the occurrence of an ac input abnormality in the PSU to the occurrence of a normal output in the BBU discharge line, and the PSU may not be able to support during this delay time, resulting in the system not being able to maintain operation.
Disclosure of Invention
In view of this, the present application provides a control method, and the present application provides the following technical solutions:
a control method, comprising:
in the process of providing electric energy for a system of electronic equipment by adopting first voltage based on a first power supply, controlling a second power supply to output second voltage, wherein a one-way conduction element is arranged between the output end of the second power supply and the output end of the first power supply, and the second power supply is connected with the first power supply in parallel; wherein the one-way conducting element is turned off based on a first voltage across the one-way conducting element being higher than a second voltage to inhibit the second power source from providing power to the system;
if the output voltage of the first power supply is reduced from the first voltage to a third voltage, the one-way conduction element is conducted based on the fact that the third voltage at two ends of the one-way conduction element is lower than the second voltage so as to control the second power supply to supply electric energy to a system, and the first power supply stops supplying electric energy to the system;
the first power supply can provide electric energy for the system at a constant voltage, and the second power supply can provide electric energy for the system at a gradually reduced voltage.
Optionally, the method further includes:
monitoring the electric quantity of the second power supply in the process of providing electric energy for a system of the electronic equipment by adopting first voltage based on the first power supply;
and executing the step of controlling the second power supply to output a second voltage based on the electric quantity of the second power supply meeting a target discharge condition.
Optionally, the method further includes:
and prohibiting the second power supply from outputting a second voltage based on that the electric quantity of the second power supply does not meet a target discharge condition, and charging the second power supply based on the electric energy provided by the first power supply.
Optionally, the method for judging whether the electric quantity of the second power supply meets the target discharge condition includes:
acquiring system configuration information of the electronic equipment;
determining a first discharging electric quantity threshold range corresponding to the configuration information;
and judging that the electric quantity of the second power supply meets a target discharging condition based on the fact that the electric quantity of the second power supply is within the first discharging electric quantity threshold range.
Optionally, in the method, the obtaining system configuration information of the electronic device includes:
when a system of the electronic equipment is started, configuration information is obtained based on a designated information transmission channel, and the configuration information can indicate the maximum power of the system.
Optionally, in the method, the determining a first threshold range of the discharge power corresponding to the configuration information includes:
determining a first configuration threshold range to which configuration information belongs based on a corresponding relation between the configuration information and the configuration threshold range;
and determining a first discharging electric quantity threshold range corresponding to the first configuration threshold range based on the corresponding relation between the configuration threshold range and the discharging electric quantity threshold range.
An electronic device, comprising: the power supply comprises a first power supply, a second power supply and a one-way conduction element;
the first power supply is used for supplying electric energy to a system of the electronic equipment by using a first voltage, and the first power supply can supply electric energy to the system by using a constant voltage;
the second power supply is used for outputting a second voltage in the process that the first power supply supplies power to the system at a first voltage, and the second power supply can supply power to the system at a gradually reduced voltage;
the unidirectional conducting element is arranged between the output end of the second power supply and the output end of the first power supply, and is turned off based on the fact that the first voltage at the two ends of the unidirectional conducting element is higher than the second voltage, so that the second power supply is forbidden to provide electric energy for the system;
if the output voltage of the first power supply is reduced from the first voltage to a third voltage, the unidirectional conducting element can be conducted based on the fact that the third voltage at two ends of the unidirectional conducting element is lower than the second voltage, so that the second power supply is controlled to supply electric energy to a system, and the first power supply stops supplying electric energy to the system.
Optionally, in the electronic device, the second power supply includes:
the monitoring unit is used for monitoring the electric quantity of the second power supply in the process of providing electric energy for a system of the electronic equipment by adopting first voltage based on the first power supply;
and the power supply unit is used for controlling the second power supply to output the second voltage when the electric quantity of the second power supply meets the target discharge condition, and forbidding the second power supply to output the second voltage when the electric quantity of the second power supply does not meet the target discharge condition.
Optionally, in the electronic device, the unidirectional conducting element includes a diode, an anode of the diode is connected to the output terminal of the second power supply, and a cathode of the diode is connected to the output terminal of the first power supply;
if the output voltage of the first power supply is the first voltage, the output end of the second power supply is the second voltage, the diode is conducted, the first voltage is adopted to provide electric energy for a system of the electronic equipment based on the first power supply, and the second power supply is forbidden to provide the electric energy for the system;
if the output voltage of the first power supply is the third voltage and the output voltage of the second power supply is the second voltage, the diode is cut off, and the first power supply stops supplying electric energy to the system of the electronic equipment based on the fact that the second power supply supplies electric energy to the system by adopting the second voltage.
Optionally, the electronic device further includes: a bus bar;
the first power supply is connected with the first end of the bus, the second power supply is connected with the first end of the bus through a one-way conduction element, and the second end of the bus is connected with a system of electronic equipment;
if the one-way conduction element is cut off, the first power supply is connected with the system through the bus, and the second power supply is disconnected with the bus;
and if the one-way conduction element is conducted, the second power supply is connected with the system through the bus, and the first power supply is disconnected with the bus.
As can be seen from the above technical solutions, the present application provides a control method, including: in the process of providing electric energy for a system of electronic equipment by adopting first voltage based on a first power supply, controlling a second power supply to output second voltage, wherein a one-way conduction element is arranged between the output end of the second power supply and the output end of the first power supply, and the second power supply is connected with the first power supply in parallel; wherein the one-way conducting element is turned off based on a first voltage across the one-way conducting element being higher than a second voltage to inhibit the second power source from providing power to the system; if the output voltage of the first power supply is reduced from the first voltage to a third voltage, the one-way conduction element is conducted based on the fact that the third voltage at two ends of the one-way conduction element is lower than the second voltage so as to control the second power supply to supply electric energy to a system, and the first power supply stops supplying electric energy to the system; the first power supply can provide electric energy for the system at a constant voltage, and the second power supply can provide electric energy for the system at a gradually reduced voltage. In the scheme, a first power supply and a second power supply are both connected with a system input, a one-way conduction element is arranged between the first power supply and the second power supply, when the first power supply supplies power to the system, a first voltage output by the first power supply is higher than a second voltage output by the second power supply, the one-way conduction element is cut off, the first power supply supplies power to the system, the second power supply is forbidden to supply power to the system, when the output voltage of the first power supply is reduced to be lower than the output voltage of the second power supply, the one-way conduction element is immediately conducted, the second power supply is switched to supply power to the system, in the process, the process of switching the first power supply and the second power supply is realized through the cut-off and conduction of the one-way conduction element, once the voltage of the first power supply is reduced to be lower than the second power supply, the one-way conduction element is immediately conducted, the battery is directly switched to, Alarming and starting a discharge circuit of a second power supply (such as a battery) until the output voltage reaches a normal working range.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the provided drawings without creative efforts.
FIG. 1 is a schematic diagram of a current configuration;
fig. 2 is a flowchart of an embodiment 1 of a control method provided in the present application;
fig. 3 is a schematic structural diagram of an apparatus in embodiment 1 of a control method provided in the present application;
fig. 4 is a flowchart of an embodiment 2 of a control method provided in the present application;
fig. 5 is a flowchart of embodiment 3 of a control method provided in the present application;
fig. 6 is a flowchart of an embodiment 4 of a control method provided in the present application;
fig. 7 is another schematic structural diagram of an electronic device in embodiment 1 provided in the present application;
fig. 8 is a schematic structural diagram of an electronic device in embodiment 2 provided in the present application;
fig. 9 is a schematic structural diagram of an electronic device in a usage scenario provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 2, a flowchart of embodiment 1 of a control method provided by the present application is applied to an electronic device, and the method includes the following steps:
step S201: the method comprises the steps that in the process of providing electric energy for a system of the electronic equipment by adopting first voltage based on a first power supply, a second power supply is controlled to output second voltage;
the first power supply can provide electric energy for the system at a constant voltage, and the second power supply can provide electric energy for the system at a gradually reduced voltage.
Specifically, the first power source may be a power adapter, the power adapter supplies power to the system from an external power source through the power adapter, the external power source may supply alternating current, and the second power source may be a battery inside the electronic device, which may directly supply power to the system.
In a specific implementation, the second power supply can be a battery module BBU in an electronic device, and the first power supply can be a power supply PSU of the electronic device.
And the unidirectional conducting element is switched off based on the fact that the first voltage at two ends of the unidirectional conducting element is higher than the second voltage, so that the second power supply is forbidden to provide electric energy for the system.
Specifically, in the process that the first power supply adopts the first voltage to supply the electric energy to the system of the electronic device, the second power supply outputs the second voltage, and the unidirectional conducting element is cut off because the first voltage is higher than the second voltage, and the second power supply is forbidden to supply the electric energy to the system. That is, in the process of supplying power to the system of the electronic device by the first power supply using the first voltage, although the second power supply outputs the second voltage, the electrical connection between the second power supply and the system is disconnected based on the turn-off function of the one-way conduction element, the second power supply is prohibited from supplying power to the system, and only the first power supply supplies power to the system using the first voltage.
Step S202: if the output voltage of the first power supply is reduced from the first voltage to a third voltage, the unidirectional conducting element is conducted based on the fact that the third voltage at two ends of the unidirectional conducting element is lower than the second voltage so as to control the second power supply to provide electric energy for a system, and the first power supply stops providing electric energy for the system.
When the first power supply fails or other conditions occur in the process of supplying the electric energy to the system, the output voltage of the first power supply is reduced, once the output voltage of the first power supply is lower than the second voltage output by the second power supply, the one-way conduction element is conducted, the electric connection between the first power supply and the system is disconnected, and the second power supply is electrically connected with the system, so that the second power supply supplies the electric energy to the system.
In specific implementation, the failure of the first power supply may be a failure of the adapter, which results in limited functions and reduced output voltage of the adapter, or the failure of the first power supply may also be a failure of an external power supply (for example, an overvoltage or undervoltage condition), which results in an abnormal operation and shutdown (shutdown) of the adapter, so that the output voltage of the adapter is reduced.
Specifically, the second voltage of the second power supply is slightly lower than the first voltage of the first power supply, so that once the output voltage of the first power supply is reduced, the second voltage of the second power supply enters a second voltage range of the second power supply, the second voltage of the second power supply supplies power to the system, the voltage fluctuation of the system is small, and the stable operation of the system is maintained.
In specific implementation, the first voltage adopted by the first power supply is 12V, the second voltage adopted by the second power supply is 11.6V, once the output voltage of the first power supply is reduced, the situation that the output voltage is lower than the second voltage is easy to occur, the one-way conduction element is immediately switched, the purpose of quickly switching to the second power supply is achieved, and the response is quick.
The device structure shown in fig. 3 is schematic, and includes a first power supply 301, a second power supply 302, a unidirectional conducting element 303 and a system 304; a unidirectional conducting element 303 is arranged between the output end of the second power supply 302 and the output end of the first power supply 301, and the second power supply is connected with the first power supply in parallel; when the output voltage of the first power supply is greater than the output voltage of the second power supply, the one-way conduction element is conducted, the first power supply is electrically connected with the system, and the second power supply is electrically disconnected with the system; when the output voltage of the first power supply is smaller than the output voltage of the second power supply, the one-way conduction element is cut off, the first power supply is electrically disconnected with the system, and the second power supply is electrically connected with the system. Since the turn-off and turn-on of the unidirectionally conducting element are based on a voltage difference across it.
And controlling the rapid switching between the first power supply and the second power supply based on the turn-off and turn-on of the one-way conduction element.
In summary, in a control method provided in this embodiment, a first power source can provide power to a system at a constant voltage, a second power source can provide power to the system at a gradually decreasing voltage, the first power source and the second power source are both connected to a system input, and a unidirectional conducting element is disposed between the first power source and the second power source, when the first power source supplies power to the system, a first voltage output by the first power source is higher than a second voltage output by the second power source, the unidirectional conducting element is turned off, the first power source supplies power to the system, the second power source is prohibited from supplying power to the system, when an output voltage of the first power source decreases to be lower than an output voltage of the second power source, the unidirectional conducting element is immediately turned on to switch to the second power source to supply power to the system, in the process, a process of switching between the first power source and the second power source is implemented by turning off and on of the unidirectional conducting element, when the voltage of the first power source decreases to be lower than the second power source, the one-way conduction element is immediately conducted and directly switched to a battery to supply power to the system, processes of waiting for detection, alarming, starting a discharge circuit of a second power supply until output voltage reaches a normal working range and the like are not needed, and time from the occurrence of abnormal alternating current input of the PSU to the switching of the BBU discharge circuit to normal output is shortened.
As shown in fig. 4, a flowchart of embodiment 2 of a control method provided by the present application includes the following steps:
step S401: monitoring the electric quantity of the second power supply in the process of providing electric energy for a system of the electronic equipment by adopting first voltage based on the first power supply;
and monitoring the electric quantity of the second power supply in the process of supplying the electric energy to the system by adopting the first voltage based on the first power supply.
And when the electric quantity of the second power supply is enough to deal with the power consumption of the system, the system can be ensured to be kept running when the second power supply is switched to supply electric energy to the system subsequently.
Therefore, in the process of supplying the electric energy to the system by adopting the first voltage based on the first power supply, the electric quantity of the second power supply is monitored so as to ensure that the system keeps running when the second power supply is switched to supply the electric energy to the system subsequently.
Step S402: controlling the second power supply to output a second voltage based on the electric quantity of the second power supply meeting a target discharge condition;
a unidirectional conducting element is arranged between the second power supply output end and the first power supply output end, and the second power supply is connected with the first power supply in parallel; wherein the one-way conducting element is turned off based on a first voltage across the one-way conducting element being higher than a second voltage to inhibit the second power source from providing power to the system;
specifically, when the electric quantity of the second power supply meets the target discharge condition, the second power supply is controlled to output a second voltage.
It should be noted that, the steps S401 and S402 are both performed in the process of supplying the system of the electronic device with power by using the first voltage based on the first power source.
Step S403: if the output voltage of the first power supply is reduced from the first voltage to a third voltage, the unidirectional conducting element is conducted based on the fact that the third voltage at two ends of the unidirectional conducting element is lower than the second voltage so as to control the second power supply to provide electric energy for a system, and the first power supply stops providing electric energy for the system.
Step S403 is the same as step S202 in embodiment 1, and details are not described in this embodiment.
In summary, the control method provided in this embodiment further includes: monitoring the electric quantity of the second power supply in the process of providing electric energy for a system of the electronic equipment by adopting first voltage based on the first power supply; and executing the step of controlling the second power supply to output a second voltage based on the electric quantity of the second power supply meeting a target discharge condition. In the scheme, the electric quantity of the second power supply is monitored, and the second power supply is controlled to output the second voltage only when the second power supply meets the target discharge condition, so that the system can be ensured to be kept running when the second power supply is switched to supply electric energy to the system subsequently.
As shown in fig. 5, a flowchart of embodiment 3 of a control method provided by the present application includes the following steps:
step S501: monitoring the electric quantity of the second power supply in the process of providing electric energy for a system of the electronic equipment by adopting first voltage based on the first power supply;
step S502: controlling the second power supply to output a second voltage based on the electric quantity of the second power supply meeting a target discharge condition;
steps S501 to 502 are the same as steps S401 to 402 in embodiment 2, and are not described in detail in this embodiment.
Step S503: forbidding the second power supply to output a second voltage based on the fact that the electric quantity of the second power supply does not meet a target discharge condition, and charging the second power supply based on the electric energy provided by the first power supply;
and when the electric quantity of the second power supply does not meet the target discharge condition and represents that the electric quantity of the second power supply is subsequently switched into the second power supply to provide electric energy for the system, the electric quantity of the second power supply is not enough to support the system to maintain operation.
Therefore, when the electric quantity of the second power supply does not meet the target discharge condition, the second power supply is forbidden to output the second voltage, and the power consumption of the second power supply is reduced.
The output end of the first power supply is also connected with the input end of the second power supply and used for charging the second power supply.
Specifically, the second power supply is charged based on the electric energy provided by the first power supply until the voltage of the second power supply reaches a full-charge voltage, and the charging of the second power supply is stopped.
In a specific implementation, during the process of charging the first power supply to the second power supply, the electric quantity of the second power supply may be detected periodically, and when the electric quantity of the second power supply meets a target discharge condition, the second power supply is controlled to output a second voltage; otherwise, the second power supply is prohibited from outputting the second voltage.
Step S504: if the output voltage of the first power supply is reduced from the first voltage to a third voltage, the unidirectional conducting element is conducted based on the fact that the third voltage at two ends of the unidirectional conducting element is lower than the second voltage so as to control the second power supply to provide electric energy for a system, and the first power supply stops providing electric energy for the system.
Step S504 is the same as step S403 in embodiment 2, and details are not described in this embodiment.
In summary, the control method provided in this embodiment further includes: and prohibiting the second power supply from outputting a second voltage based on that the electric quantity of the second power supply does not meet a target discharge condition, and charging the second power supply based on the electric energy provided by the first power supply. In the scheme, by monitoring the electric quantity of the second power supply, when the electric quantity does not meet the target discharge condition, the second power supply is prohibited from outputting the second voltage, and the second power supply is charged based on the electric energy output by the first power supply, so that the electric quantity of the second power supply meets the target discharge condition, and the system can be ensured to be kept running when the second power supply is switched to the second power supply to supply the electric energy to the system subsequently.
As shown in fig. 6, a flowchart of embodiment 4 of a control method provided by the present application includes the following steps:
step S601: monitoring the electric quantity of the second power supply in the process of providing electric energy for a system of the electronic equipment by adopting first voltage based on the first power supply;
step S601 is the same as step S401 in embodiment 2, and details are not described in this embodiment.
Step S602: acquiring system configuration information of the electronic equipment;
the system configuration information is related to the operation process of the electronic equipment and represents the corresponding power of the electronic equipment in the normal operation process.
Specifically, when a system of the electronic device is started, configuration information is obtained based on a designated information transmission channel, and the configuration information can indicate the maximum power of the system.
In a specific implementation, the information transmission channel may be a PMBus (Power Management Bus) provided between the system and the second Power supply.
Specifically, at the time of System startup, configuration information of the System is acquired from a BIOS (Basic Input Output System), and the configuration information can indicate the maximum power at which the System operates.
Specifically, the power of the system during operation refers to the sum of power consumptions of all normally operating hardware at a certain time during the operation of the system, and the maximum power is the maximum sum of the power consumptions.
The maximum power of the system during operation represents the maximum power consumption requirement that may occur during operation of the system, and in order to ensure that the system can operate normally, it is necessary that the second power supply has at least the electric quantity meeting the maximum power.
For example, the configuration information may be power consumption information of a system running using a 65W (watt) CPU (central processing unit), or a 30W CPU, a memory, and the like.
It should be noted that the configuration information of different electronic devices may be different or the same.
In order to ensure that the maximum power of the system during operation can be supported when the system is powered by the second power source, the discharge capacity of the second power source may be different for different configuration information.
Step S603: determining a first discharging electric quantity threshold range corresponding to the configuration information;
specifically, a discharging electric quantity threshold range corresponding to the configuration information is selected based on the configuration information, the larger the maximum power corresponding to the configuration information is, the higher the value of the discharging electric quantity threshold range is, the smaller the maximum power corresponding to the configuration information is, and the lower the value of the discharging electric quantity threshold range is.
As a specific example, when the configuration is relatively high (the maximum power is relatively large), the electric quantity of the second power supply is 90% -100% to allow the output of the second voltage, and is not allowed to be output below 90%. When the configuration is low (the maximum power is small), the second voltage is allowed to be output with the capacity of the second power supply being low, for example, as long as the capacity is not lower than 60%.
Wherein, the step S603 specifically includes:
step S6031: determining a first configuration threshold range to which configuration information belongs based on a corresponding relation between the configuration information and the configuration threshold range;
step S6032: and determining a first discharging electric quantity threshold range corresponding to the first configuration threshold range based on the corresponding relation between the configuration threshold range and the discharging electric quantity threshold range.
The configuration information is divided into configuration threshold value ranges, and the discharge electric quantity threshold value ranges are correspondingly set according to different configuration threshold value ranges.
For example, the system configuration information is divided into 3 levels of configurations according to high, medium and low levels, for example, 400W-500W is high configuration, 200W-400W is medium configuration, and below 200W is low configuration.
When the configuration information is 90W, the configuration information belongs to low configuration, and the corresponding discharge electric quantity threshold range is 60%, namely the electric quantity is not lower than 60%, and the second voltage can be output;
when the configuration information is 300W, the configuration information belongs to the middle configuration, and the corresponding discharging electric quantity threshold range is 60%, namely, the electric quantity is not lower than 80%, and then the second voltage can be output;
when the configuration information is 490W, which belongs to the high configuration, the corresponding threshold range of the discharged power is 90%, that is, the power is not lower than 90%, and the second voltage can be output.
It should be noted that, the system configuration information obtained when a certain system is started is fixed, but after the system configuration is updated, the system configuration information may change, that is, the maximum power may change, accordingly, the new level of the system configuration may also change, and accordingly, the threshold range of the discharge power corresponding to the second power supply may also change.
It should be noted that the load of the system related in the present application is generally large, which is hundreds of watts or even higher, and when the voltage of the first power supply is reduced, the load operation of the system is greatly affected, and in the present application, when the electric quantity of the second power supply meets the target discharge condition, in the process that the first power supply provides the power for the system with the first voltage, the output of the second power supply is slightly lower than the voltage of the first power supply, so that when the voltage of the first power supply is reduced, the second power supply can be quickly switched to, and the operation of the system can be maintained, and the voltage fluctuation in the system is small.
Step S604: judging that the electric quantity of the second power supply meets a target discharging condition based on the fact that the electric quantity of the second power supply is within the first discharging electric quantity threshold range;
when the electric quantity of the second power supply is within the first discharging electric quantity threshold range, the electric quantity of the second power supply is represented to support the follow-up second power supply to maintain the system to operate at a second output voltage, and if at least the system is normally shut down, the electric quantity of the second power supply is judged to meet a target discharging condition.
Step S605: controlling the second power supply to output a second voltage based on the electric quantity of the second power supply meeting a target discharge condition;
step S606: if the output voltage of the first power supply is reduced from the first voltage to a third voltage, the unidirectional conducting element is conducted based on the fact that the third voltage at two ends of the unidirectional conducting element is lower than the second voltage so as to control the second power supply to provide electric energy for a system, and the first power supply stops providing electric energy for the system.
Steps S605 to 606 are the same as steps S402 to 403 in embodiment 2, and are not described in detail in this embodiment.
In summary, in a control method provided in this embodiment, the determining whether the electric quantity of the second power source satisfies the target discharging condition includes: acquiring system configuration information of the electronic equipment; determining a first discharging electric quantity threshold range corresponding to the configuration information; and judging that the electric quantity of the second power supply meets a target discharging condition based on the fact that the electric quantity of the second power supply is within the first discharging electric quantity threshold range. According to the scheme, based on different electronic equipment system configuration information, a corresponding discharging electric quantity threshold range is determined so as to determine whether the electric quantity of the second power supply belongs to the discharging electric quantity threshold range, different target discharging conditions are selected according to different system power consumption conditions, and when the power supply is switched from the first power supply to the second power supply, the second power supply can guarantee that the system can be kept running when supplying electric energy to the system.
Corresponding to the embodiment of the control method provided by the application, the application also provides an embodiment of a control device corresponding to the control method.
A structure diagram of an embodiment 1 of an electronic device provided in the present application is shown with reference to fig. 3, and the electronic device includes: a first power supply 301, a second power supply 302, and a unidirectional conducting element 303;
the first power supply 301 is used for supplying power to the system 304 of the electronic device at a first voltage, and the first power supply can supply power to the system at a constant voltage;
the second power supply is used for outputting a second voltage in the process that the first power supply supplies power to the system at a first voltage, and the second power supply can supply power to the system at a gradually reduced voltage;
the unidirectional conducting element is arranged between the output end of the second power supply and the output end of the first power supply, and is turned off based on the fact that the first voltage at the two ends of the unidirectional conducting element is higher than the second voltage, so that the second power supply is forbidden to provide electric energy for the system;
if the output voltage of the first power supply is reduced from the first voltage to a third voltage, the unidirectional conducting element can be conducted based on the fact that the third voltage at two ends of the unidirectional conducting element is lower than the second voltage, so that the second power supply is controlled to supply electric energy to a system, and the first power supply stops supplying electric energy to the system.
Specifically, the first power source may be a power adapter, the power adapter supplies power to the system from an external power source through the power adapter, the external power source may supply alternating current, and the second power source may be a battery inside the electronic device, which may directly supply power to the system.
In a specific implementation, the second power supply can be a battery module BBU in an electronic device, and the first power supply can be a power supply PSU of the electronic device.
Fig. 7 is another schematic structural diagram of an embodiment 1 of an electronic device, where the electronic device includes: a first power source 701, a second power source 702, and a unidirectional conductive element 703;
the unidirectional conducting element adopts a diode, the anode of the diode is connected with the output end of the second power supply, and the cathode of the diode is connected with the output end of the first power supply;
if the output voltage of the first power supply is the first voltage, the output end of the second power supply is the second voltage, the diode is conducted, the first voltage is adopted to provide electric energy for a system of the electronic equipment based on the first power supply, and the second power supply is forbidden to supply power for the system;
and if the output voltage of the first power supply is the third voltage and the output voltage of the second power supply is the second voltage, the diode is cut off, and the first power supply is forbidden to supply power to the system based on the fact that the second power supply adopts the second voltage to supply power to the system of the electronic equipment.
In a specific implementation, the first voltage adopted by the first power supply is 12V, the second voltage adopted by the second power supply is 11.6V, and once the output voltage of the first power supply is reduced, the output voltage is easily lower than the second voltage, the diode is immediately switched from off to on, the purpose of switching to the second power supply is rapidly realized, and the response is rapid.
Optionally, the electronic device further includes a bus;
the first power supply is connected with the first end of the bus, the second power supply is connected with the first end of the bus through a one-way conduction element, and the second end of the bus is connected with a system of electronic equipment;
if the one-way conduction element is cut off, the first power supply is connected with the system through the bus, and the second power supply is disconnected with the bus;
and if the one-way conduction element is conducted, the second power supply is connected with the system through the bus, and the first power supply is disconnected with the bus.
The output end of the first power supply is connected with the output end of the second power supply, and is connected with a system through a Bus, and the Bus voltage V _ Bus is the voltage provided by the system.
Specifically, when the first power supply supplies power to the system, the Bus voltage V _ Bus adopts a first voltage; and when the second power supply supplies power to the system, the Bus voltage V _ Bus adopts a second voltage.
In summary, in the electronic device provided in this embodiment, the first power source can provide power to the system at a constant voltage, the second power source can provide power to the system at a gradually decreasing voltage, the first power source and the second power source are both connected to the system input, and a unidirectional conducting element is disposed between the first power source and the second power source, when the first power source supplies power to the system, a first voltage output by the first power source is higher than a second voltage output by the second power source, the unidirectional conducting element is turned off, the first power source supplies power to the system, the second power source is prohibited from supplying power to the system, when an output voltage of the first power source decreases to be lower than an output voltage of the second power source, the unidirectional conducting element is immediately turned on to switch to the second power source to supply power to the system, in the process, a process of switching between the first power source and the second power source is implemented by turning off and on of the unidirectional conducting element, when the voltage of the first power source decreases to be lower than the second power source, the one-way conduction element is immediately conducted and directly switched to a battery to supply power to the system, processes of waiting for detection, alarming, starting a discharge circuit of a second power supply until output voltage reaches a normal working range and the like are not needed, and time from the occurrence of abnormal alternating current input of the PSU to the switching of the BBU discharge circuit to normal output is shortened.
As shown in fig. 8, a schematic structural diagram of an embodiment 2 of an electronic device provided in the present application is shown, where the electronic device includes: a first power source 801, a second power source 802, and a unidirectional conducting element 803;
the first power source 801 and the one-way conducting element 803 have the same functions as those of the corresponding structure in embodiment 1, and are not described in detail in this embodiment.
Wherein the second power supply 802 comprises: a monitoring unit 8021 and a power supply unit 8022;
the monitoring unit 8021 is configured to monitor an electric quantity of the second power supply in a process of providing electric energy to a system of an electronic device by using a first voltage based on the first power supply;
the power supply unit 8021 is configured to control the second power supply to output the second voltage when the electric quantity of the second power supply meets the target discharge condition, and prohibit the second power supply from outputting the second voltage when the electric quantity of the second power supply does not meet the target discharge condition.
Optionally, the determining whether the electric quantity of the second power supply meets a target discharge condition includes:
acquiring system configuration information of the electronic equipment;
determining a first discharging electric quantity threshold range corresponding to the configuration information;
and judging that the electric quantity of the second power supply meets a target discharging condition based on the fact that the electric quantity of the second power supply is within the first discharging electric quantity threshold range.
Specifically, a PMBus is arranged between the monitoring unit and the system, and the monitoring unit acquires system configuration information from the BIOS system based on the PMBus when the system is started.
Optionally, the obtaining system configuration information of the electronic device includes:
when a system of the electronic equipment is started, configuration information is obtained based on a designated information transmission channel, and the configuration information can indicate the maximum power of the system.
Optionally, determining the first threshold range of the discharge power corresponding to the configuration information includes:
determining a first configuration threshold range to which configuration information belongs based on a corresponding relation between the configuration information and the configuration threshold range;
and determining a first discharging electric quantity threshold range corresponding to the first configuration threshold range based on the corresponding relation between the configuration threshold range and the discharging electric quantity threshold range.
In summary, in the electronic device provided in this embodiment, by monitoring the electric quantity of the second power supply, the second power supply is controlled to output the second voltage only when it is determined that the electric quantity meets the target discharge condition, so that the system can be ensured to maintain operation when the second power supply is subsequently switched to provide electric energy for the system; and when the target discharge condition is not met, the second power supply is prohibited from outputting the second voltage, and the second power supply is charged based on the electric energy output by the first power supply, so that the electric quantity of the second power supply meets the target discharge condition, and the system can be ensured to maintain running when the second power supply is switched to supply the electric energy to the system subsequently.
Fig. 9 is a schematic structural diagram of an electronic device in a usage scenario, which includes a power module PSU module, a battery module BBU module, a diode, a bus bar, and a System MB.
The power supply module comprises an alternating current-direct current conversion unit (AC to DC) and a detection line (AC abnormal detect), the power supply module receives Alternating Current (AC) input provided by the outside, the alternating current-direct current conversion unit converts the alternating current into direct current and provides the direct current to a system, and the power supply module outputs 12V voltage to supply power to the system;
the battery module includes a battery (battery), a control unit, a charging unit (charge), and a power supply unit (discharge). The control unit is respectively connected with the battery and the system, and the charging unit is connected with the output end of the power supply module. The control unit is arranged on the mainboard ctrl board and used for detecting the electric quantity of the battery module, acquiring system configuration information from the system, and judging whether the electric quantity of the battery meets a target discharge condition or not based on the electric quantity and the system configuration information; and when the electric quantity of the battery does not meet the target discharge condition, the power supply unit is controlled to output 11.6V, and when the electric quantity of the second power supply does not meet the target discharge condition, the power supply unit is prohibited from outputting voltage, and the charging unit is controlled to charge based on the electric energy output by the power supply module. The anode of the diode is connected with the output end of the battery module, the cathode of the diode is connected with the output end of the power module, and a power supply circuit formed by the battery module and the diode is connected with the power module in parallel and is connected with a system through a bus.
When the power module outputs 12V voltage and the battery module outputs 11.6V voltage, the diode is cut off, and the power module provides 12V voltage as Bus output voltage V _ Bus to the system through the Bus.
When the AC input is abnormal (overvoltage or undervoltage) or the power module fails, the output voltage of the power module is reduced to be less than 11.6V, and when the battery module outputs 11.6V voltage, the diode is conducted, and the battery module provides the 11.6V voltage as Bus output voltage V _ Bus to the system through the Bus.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the device provided by the embodiment, the description is relatively simple because the device corresponds to the method provided by the embodiment, and the relevant points can be referred to the method part for description.
The previous description of the provided embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features provided herein.

Claims (10)

1. A control method, comprising:
in the process of providing electric energy for a system of electronic equipment by adopting first voltage based on a first power supply, controlling a second power supply to output second voltage, wherein a one-way conduction element is arranged between the output end of the second power supply and the output end of the first power supply, and the second power supply is connected with the first power supply in parallel; wherein the one-way conducting element is turned off based on a first voltage across the one-way conducting element being higher than a second voltage to inhibit the second power source from providing power to the system;
if the output voltage of the first power supply is reduced from the first voltage to a third voltage, the one-way conduction element is conducted based on the fact that the third voltage at two ends of the one-way conduction element is lower than the second voltage so as to control the second power supply to supply electric energy to a system, and the first power supply stops supplying electric energy to the system;
the first power supply can provide electric energy for the system at a constant voltage, and the second power supply can provide electric energy for the system at a gradually reduced voltage.
2. The method of claim 1, further comprising:
monitoring the electric quantity of the second power supply in the process of providing electric energy for a system of the electronic equipment by adopting first voltage based on the first power supply;
and executing the step of controlling the second power supply to output a second voltage based on the electric quantity of the second power supply meeting a target discharge condition.
3. The method of claim 2, further comprising:
and prohibiting the second power supply from outputting a second voltage based on that the electric quantity of the second power supply does not meet a target discharge condition, and charging the second power supply based on the electric energy provided by the first power supply.
4. The method of claim 2, determining whether the charge of the second power source satisfies a target discharge condition, comprising:
acquiring system configuration information of the electronic equipment;
determining a first discharging electric quantity threshold range corresponding to the configuration information;
and judging that the electric quantity of the second power supply meets a target discharging condition based on the fact that the electric quantity of the second power supply is within the first discharging electric quantity threshold range.
5. The method of claim 4, the obtaining system configuration information of an electronic device, comprising:
when a system of the electronic equipment is started, configuration information is obtained based on a designated information transmission channel, and the configuration information can indicate the maximum power of the system.
6. The method of claim 4, the determining a first discharged-power threshold range corresponding to the configuration information, comprising:
determining a first configuration threshold range to which configuration information belongs based on a corresponding relation between the configuration information and the configuration threshold range;
and determining a first discharging electric quantity threshold range corresponding to the first configuration threshold range based on the corresponding relation between the configuration threshold range and the discharging electric quantity threshold range.
7. An electronic device, comprising: the power supply comprises a first power supply, a second power supply and a one-way conduction element;
the first power supply is used for supplying electric energy to a system of the electronic equipment by using a first voltage, and the first power supply can supply electric energy to the system by using a constant voltage;
the second power supply is used for outputting a second voltage in the process that the first power supply supplies power to the system at a first voltage, and the second power supply can supply power to the system at a gradually reduced voltage;
the unidirectional conducting element is arranged between the output end of the second power supply and the output end of the first power supply, and is turned off based on the fact that the first voltage at the two ends of the unidirectional conducting element is higher than the second voltage, so that the second power supply is forbidden to provide electric energy for the system;
if the output voltage of the first power supply is reduced from the first voltage to a third voltage, the unidirectional conducting element can be conducted based on the fact that the third voltage at two ends of the unidirectional conducting element is lower than the second voltage, so that the second power supply is controlled to supply electric energy to a system, and the first power supply stops supplying electric energy to the system.
8. The electronic device of claim 7, the second power source comprising:
the monitoring unit is used for monitoring the electric quantity of the second power supply in the process of providing electric energy for a system of the electronic equipment by adopting first voltage based on the first power supply;
and the power supply unit is used for controlling the second power supply to output the second voltage when the electric quantity of the second power supply meets the target discharge condition, and forbidding the second power supply to output the second voltage when the electric quantity of the second power supply does not meet the target discharge condition.
9. The electronic device of claim 6, the unidirectional conducting element comprising a diode, an anode of the diode being connected to the output of the second power source, a cathode of the diode being connected to the output of the first power source;
if the output voltage of the first power supply is the first voltage, the output end of the second power supply is the second voltage, the diode is conducted, the first voltage is adopted to provide electric energy for a system of the electronic equipment based on the first power supply, and the second power supply is forbidden to provide the electric energy for the system;
if the output voltage of the first power supply is the third voltage and the output voltage of the second power supply is the second voltage, the diode is cut off, and the first power supply stops supplying electric energy to the system of the electronic equipment based on the fact that the second power supply supplies electric energy to the system by adopting the second voltage.
10. The electronic device of claim 6, further comprising: a bus bar;
the first power supply is connected with the first end of the bus, the second power supply is connected with the first end of the bus through a one-way conduction element, and the second end of the bus is connected with a system of electronic equipment;
if the one-way conduction element is cut off, the first power supply is connected with the system through the bus, and the second power supply is disconnected with the bus;
and if the one-way conduction element is conducted, the second power supply is connected with the system through the bus, and the first power supply is disconnected with the bus.
CN202011607375.6A 2020-12-30 2020-12-30 Control method and electronic equipment Pending CN112803576A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011607375.6A CN112803576A (en) 2020-12-30 2020-12-30 Control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011607375.6A CN112803576A (en) 2020-12-30 2020-12-30 Control method and electronic equipment

Publications (1)

Publication Number Publication Date
CN112803576A true CN112803576A (en) 2021-05-14

Family

ID=75804398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011607375.6A Pending CN112803576A (en) 2020-12-30 2020-12-30 Control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN112803576A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104319865A (en) * 2014-11-14 2015-01-28 国家电网公司 Emergency power supply method for user under power outage condition
CN106410955A (en) * 2016-10-28 2017-02-15 北京航天控制仪器研究所 Uninterruptible power supply circuit used for gravity measurement
CN111806298A (en) * 2020-07-07 2020-10-23 中国北方车辆研究所 Charging and discharging threshold value management method for high-voltage lithium battery of special vehicle composite power supply

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104319865A (en) * 2014-11-14 2015-01-28 国家电网公司 Emergency power supply method for user under power outage condition
CN106410955A (en) * 2016-10-28 2017-02-15 北京航天控制仪器研究所 Uninterruptible power supply circuit used for gravity measurement
CN111806298A (en) * 2020-07-07 2020-10-23 中国北方车辆研究所 Charging and discharging threshold value management method for high-voltage lithium battery of special vehicle composite power supply

Similar Documents

Publication Publication Date Title
US8344546B2 (en) Power supply unit directly connected to backup direct current power source
US8278781B2 (en) Discharger and discharger control method
EP3226380B1 (en) Uninterruptible power supply
US8738954B2 (en) Power source circuit and control method thereof
JP2012005160A (en) Charge/discharge circuit and built-in controller
US9634512B1 (en) Battery backup with bi-directional converter
CN110233517B (en) Uninterruptible power system and battery activation operation method thereof
US11630501B2 (en) Power monitor
US20140181541A1 (en) Information equipment and battery charge circuit
CN113013979B (en) System and method for providing direct current and exchanging current from a power source to a load
US9472952B2 (en) Battery module, method for managing supply of electrical power by the battery module, and power supply device having the battery module
US9923368B2 (en) Electronic apparatus and driving control method thereof
US11239689B2 (en) Method and apparatus for efficient power delivery in power supply system
JP2002315228A (en) Power supply apparatus
CN111864885B (en) Hard disk power supply control device and method
KR20170020498A (en) Power supply control device and information processing device
US20190148955A1 (en) Power supply device and power supply method
US20140040642A1 (en) Power supply apparatus, processing apparatus, and information processing system
CN111095722B (en) Battery cell and control method for battery cell
TW201011513A (en) Multi-output voltage battery module and electronic device using the same
KR20090037554A (en) Uninterruptible power supply a sequential control type
CN112803576A (en) Control method and electronic equipment
EP3226179A1 (en) Electronic apparatus
KR20190093405A (en) Battery control unit compatible for lithium ion battery, and control method thereof
US11258297B2 (en) Inverter control strategy for a transient heavy load

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