CN111752767A - Electronic equipment and power supply control method and device thereof - Google Patents

Electronic equipment and power supply control method and device thereof Download PDF

Info

Publication number
CN111752767A
CN111752767A CN201910245113.0A CN201910245113A CN111752767A CN 111752767 A CN111752767 A CN 111752767A CN 201910245113 A CN201910245113 A CN 201910245113A CN 111752767 A CN111752767 A CN 111752767A
Authority
CN
China
Prior art keywords
power supply
resistor
power
module
electronic device
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
CN201910245113.0A
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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201910245113.0A priority Critical patent/CN111752767A/en
Publication of CN111752767A publication Critical patent/CN111752767A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/2015Redundant power supplies

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Direct Current Feeding And Distribution (AREA)

Abstract

The embodiment of the invention provides electronic equipment and a power supply control method and device thereof, wherein the electronic equipment is provided with a power supply control circuit, and the power supply control circuit comprises a power supply controller; the power supply controller is used for detecting the number of power supply modules connected to the electronic equipment as a first number and judging whether the first number is not less than a preset number threshold value; if the first quantity is judged to be not less than the preset quantity threshold value, a power supply control signal is sent to the power supply module; and the power supply module is used for supplying power to the electronic equipment after receiving the power supply control signal. When the electronic equipment is powered by adopting a multi-power supply mode, the situation that the performance of the electronic equipment is influenced when the power module enters an OCP protection mode is avoided.

Description

Electronic equipment and power supply control method and device thereof
Technical Field
The present invention relates to the field of power supply control technologies, and in particular, to an electronic device and a power supply control method and apparatus thereof.
Background
At present, for devices with large power consumption, such as a Network Video Recorder (NVR) or a server, a multi-power supply mode is generally required to be adopted for power supply, for example, a power supply mode of an N +1 redundant power supply is adopted for power supply, that is, N +1 power supply modules are used for power supply for the devices.
In the related art, when a power supply mode with multiple power supplies is adopted to supply power to equipment, and power modules are sequentially connected into the equipment, the problem that the load power consumption of the power modules is greater than the output power consumption of the power modules easily occurs. When the load power consumption of the power module is greater than the output power consumption of the power module, the power module enters an OCP (Over current protection) protection mode. The load power consumption of the power supply module is the power consumption of the equipment powered by the power supply module. For example: under the condition that the equipment is only connected with one power supply module and is not connected with a second power supply module, the power consumption of the equipment is larger than the output power consumption of the connected power supply module, and at the moment, the connected power supply module enters an OCP protection mode.
After the power module enters the OCP protection mode, even if subsequent other power modules are all connected to the device and the output power consumption of all the connected power modules reaches the power consumption of the electronic device, the power module cannot exit the OCP protection mode, that is, the power module cannot supply power to the device, which may affect the performance of the device to a certain extent.
Disclosure of Invention
The embodiment of the invention aims to provide electronic equipment and a power supply control method and device thereof, so that when the electronic equipment is powered by adopting a multi-power supply mode, the situation that the performance of the electronic equipment is influenced because a power supply module enters an OCP (optical communications protocol) protection mode is avoided. The specific technical scheme is as follows:
in one aspect, an embodiment of the present invention provides an electronic device, where the electronic device is provided with a power supply control circuit, and the power supply control circuit includes a power supply controller;
the power supply controller is used for detecting the number of power supply modules which are connected into the electronic equipment as a first number; judging whether the first quantity is not less than a preset quantity threshold value or not; if the first quantity is judged to be not less than the preset quantity threshold value, a power supply control signal is sent to the power supply module;
and the power supply module is used for supplying power to the electronic equipment after receiving the power supply control signal.
Optionally, the power supply control circuit further comprises a dc chopper; each power module comprises a first power supply;
a first power supply of the power supply module is electrically connected with the power supply controller through the direct current chopper;
the direct current chopper is used for converting a first voltage output by a first power supply of the power supply module into a second voltage and supplying power to the power supply controller.
Optionally, each power module further comprises a second power supply;
and the power supply module is used for starting the second power supply after receiving the power supply control signal and supplying power to the electronic equipment by using the second power supply.
Optionally, the power supply control circuit further includes a plurality of diodes, and the first power supply of each power supply module is electrically connected to the dc chopper through a diode.
Optionally, the power supply control circuit further includes a plurality of resistor groups, each resistor group includes a first resistor and a second resistor, and each power module corresponds to a different resistor group;
the first power supply of each power supply module is electrically connected with the power supply controller through the first resistor in one resistor group and is grounded through the first resistor and the second resistor in the resistor group in sequence;
the power supply controller is configured to detect the number of power modules that have been connected to the electronic device by detecting the number of received third voltages, where each third voltage is: the first voltage output by the first power supply of each power supply module is divided into voltages through the first resistor and the second resistor in one group of resistor groups.
Optionally, the power supply controller obtains the preset number threshold by reading a preset general purpose input/output GPIO state value.
Optionally, the power supply control signal is a power supply startup signal in a low level state.
In another aspect, an embodiment of the present invention provides a power supply control method, which is applied to a power supply controller, where the power supply controller is disposed in a power supply control circuit disposed in an electronic device, and the method includes:
detecting the number of power supply modules accessed to the electronic equipment as a first number; judging whether the first quantity is not less than a preset quantity threshold value or not; and if the first quantity is judged to be not less than the preset quantity threshold value, sending a power supply control signal to the power supply module so that the power supply module supplies power to the electronic equipment after receiving the power supply control signal.
Optionally, the power supply control circuit further includes a plurality of resistor groups, each resistor group includes a first resistor and a second resistor, and each power module corresponds to a different resistor group; the first power supply of each power supply module is electrically connected with the power supply controller through a first resistor in a group of resistor groups and is grounded through the first resistor and a second resistor in the group of resistor groups in sequence;
the step of detecting the number of power modules that have been connected to the electronic device includes:
detecting the number of power modules which are connected into the electronic equipment by detecting the number of the received third voltages, wherein each third voltage is as follows: the first voltage output by the first power supply of each power supply module is divided into voltage by the first resistor and the second resistor in the group of resistor groups.
Optionally, before the step of determining whether the first number is not less than a preset number threshold, the method further includes:
and acquiring the preset number threshold value by reading a preset general input/output GPIO state value.
On the other hand, an embodiment of the present invention provides a power supply control apparatus, which is applied to a power supply controller in a power supply control circuit provided in an electronic device, and the apparatus includes:
the determining module is used for detecting the number of power supply modules which are connected into the electronic equipment as a first number;
the judging module is used for judging whether the first quantity is not less than a preset quantity threshold value or not; if the first quantity is judged to be not less than the preset quantity threshold value, a sending module is triggered;
the sending module is configured to send a power supply control signal to the power supply module, so that the power supply module supplies power to the electronic device after receiving the power supply control signal.
Optionally, the power supply control circuit further includes a plurality of resistor groups, each resistor group includes a first resistor and a second resistor, and each power module corresponds to a different resistor group; the first power supply of each power supply module is electrically connected with the power supply controller through a first resistor in a group of resistor groups and is grounded through the first resistor and a second resistor in the group of resistor groups in sequence;
the determining module is specifically configured to detect the number of power modules that have been connected to the electronic device by detecting the number of received third voltages, where each third voltage is: the first voltage output by the first power supply of each power supply module is divided into voltage by the first resistor and the second resistor in the group of resistor groups.
Optionally, the apparatus further comprises:
and the obtaining module is used for obtaining the preset number threshold value by reading a preset general input/output GPIO state value before judging whether the first number is not less than the preset number threshold value.
In another aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a power supply controller, the method includes any of the above power supply control method steps provided in the embodiment of the present invention.
According to the technical scheme provided by the embodiment of the invention, the electronic equipment is provided with a power supply control circuit, and the power supply control circuit comprises a power supply controller; the power supply controller is used for detecting the number of power supply modules connected to the electronic equipment as a first number and judging whether the first number is not less than a preset number threshold value; if the first quantity is judged to be not less than the preset quantity threshold value, a power supply control signal is sent to the power supply module; and the power supply module is used for supplying power to the electronic equipment after receiving the power supply control signal.
In the embodiment of the invention, the electronic device can detect the first number of the power modules connected to the electronic device through the power supply controller in the power supply control circuit, and when the first number is judged to be not less than the preset number threshold, the electronic device sends the power supply control signal to the power modules, so that the power modules supply power to the electronic device. The power module is prevented from being insufficient in output power consumption to support the power consumption of the electronic equipment, so that the power module enters an OCP protection mode and the performance of the electronic equipment is prevented from being affected. Of course, it is not necessary for any product or method of practicing the invention to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 2 is another schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a first voltage outputted by the first power source 210 of the power module 200 according to the embodiment of the invention, which is transformed into a second voltage after passing through the dc chopper 112;
fig. 4 is another schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 5 is a circuit diagram of the first power source 210 of the power module 200 connected to a diode 113;
fig. 6 is another schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a power module 200, a first resistor 114 and a second resistor 115 in a resistor group, and a connection circuit of a power supply controller 111;
fig. 8 is a schematic flowchart of a power supply control method according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a power supply control device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
The embodiment of the invention provides electronic equipment and a power supply control method and device thereof, which are used for avoiding the situation that when the electronic equipment is powered by adopting a multi-power supply mode, a power module enters an OCP (optical communications protocol) protection mode to influence the performance of the electronic equipment.
As shown in fig. 1, which is a schematic structural diagram of an electronic device according to an embodiment of the present invention, the electronic device 100 is provided with a power supply control circuit 110, which includes a power supply controller 111;
the power supply controller 111 is configured to detect the number of power modules that have been connected to the electronic device, as a first number, and determine whether the first number is not less than a preset number threshold; if the first quantity is not less than the preset quantity threshold value, sending a power supply control signal to the power module 200;
the power module 200 is configured to supply power to the electronic device 100 after receiving the power supply control signal.
In one implementation, the electronic device may be any type of device, and the electronic device may be connected to multiple power supply modules to supply power through the connected multiple power supply modules. For example, the electronic device may be a device with a large power consumption, such as a Network Video Recorder (NVR) or a server, where the large number may refer to a number of paths exceeding a preset value.
In this embodiment of the present invention, the electronic device 100 may be provided with a power supply control circuit 110, where the power supply control circuit 110 may include a power supply controller 111, and the power supply control circuit 110 is configured to control a timing when a plurality of power modules connected to the electronic device start to supply power to the electronic device. In one case, the power supply controller may be a single chip microcomputer and a Complex Programmable Logic Device (CPLD) or other controllers.
After the power supply controller 111 is powered on, the number of power modules 200 that have been connected to the electronic device 100 may be detected in real time or at regular time as a first number, and then, whether the first number is not less than a preset number threshold is determined; if the first number is not less than the preset number threshold, the power supply controller 111 sends a power supply control signal to the power module 200, that is, the power module 200 of the electronic device is connected. After receiving the power supply control signal, the power supply module 200 supplies power to the electronic device 100. Wherein, the power module 200 may be configured to supply power to the electronic device: the electronic device 100 is powered on as a whole, that is, the electronic device 100 is powered on to start and operate various functional devices.
The preset number threshold is set for the staff according to the power consumption of the electronic device 100 in advance, and it can be ensured that at least the power modules with the preset number threshold supply power to the electronic device 100, so that the situation that the power modules enter the OCP protection mode can be avoided.
In view of this, after receiving the power supply control signal, the first number of power modules 200 connected to the electronic device 100 may simultaneously supply power to the electronic device 100, so as to avoid the power modules entering the OCP protection mode.
In one implementation, each power module may include two types of power supplies, for example, may include a first power supply and a second power supply, the first power supply being: the power supply which can output current by being connected with the electronic equipment and being plugged in the power line is characterized in that the first power supply can directly supply power for the electronic equipment after being connected with the electronic equipment and being plugged in the power line. The second power supply may be: the power supply is connected with the electronic equipment and is plugged in the power line, and the power supply can output current after receiving the power supply control signal, namely, the second power supply is connected with the electronic equipment and is plugged in the power line, and supplies power for the electronic equipment after receiving the power supply control signal. The power module can be connected with alternating current through a power line, and can convert the connected alternating current into direct current to supply power to the electronic equipment. In one case, the Power module may be a crps (common Redundant Power supplies) Power module, a first Power source of the Power module may convert the accessed ac Power into a voltage of +12V _ SB to supply Power to the electronic device, and a second Power source of the Power module may convert the accessed ac Power into a voltage of +12V to supply Power to the electronic device.
In one implementation, after the power module 200 is plugged into the electronic device 100, the first power source may be used to supply power to the power supply controller 111, and after the power supply controller 111 supplies power, the power supply control process provided by the embodiment of the present invention is started. Wherein, the power module 200 is plugged into a power line, i.e. ac power is connected through the power line.
In one case, the preset number threshold may be less than the number of power modules required to be connected by the electronic device 100. For example: the number of power modules that need to be connected to the electronic device is 5, and the preset number threshold may be 2, that is, when the power supply controller 111 determines that the number of power modules connected to the electronic device 100 is greater than or equal to 2, the power supply controller may send a power supply control signal to the power module 200 connected to the electronic device 100. In one case, when the power supply controller 111 determines that the number of power modules connected to the electronic device 100 is equal to 2, the power supply controller sends a power supply control signal to the power modules 200 connected to the electronic device 100, and at this time, after the two power modules 200 connected to the electronic device 100 receive the power supply control signal, the electronic device 100 is powered. Subsequently, a power module 200 is connected to the electronic device 100, and at this time, the connected power module 200 receives the power supply control signal after being connected, so as to supply power to the electronic device 100.
In the embodiment of the invention, the electronic device can detect the first number of the power modules connected to the electronic device through the power supply controller in the power supply control circuit, and when the first number is judged to be not less than the preset number threshold, the electronic device sends the power supply control signal to the power modules, so that the power modules supply power to the electronic device. The power module is prevented from being insufficient in output power consumption to support the power consumption of the electronic equipment, so that the power module enters an OCP protection mode and the performance of the electronic equipment is prevented from being affected.
In one implementation, as shown in fig. 2, the power supply control circuit 110 may further include a dc chopper 112; each power module 200 may include a first power supply 210;
the first power source 210 of the power supply module 200 is electrically connected to the power supply controller 110 through the dc chopper 112;
the dc chopper 112 is configured to convert a first voltage output by the first power supply 210 of the power supply module 200 into a second voltage, and supply power to the power supply controller 111.
In one case, the first voltage output by the first power supply 210 of the power module 200 may not meet the voltage required for the power controller 111 to operate. In view of this, the power supply control circuit 110 may also include a direct current chopper DC/DC. The first power source 210 of the power supply module 200 is electrically connected to the power supply controller 110 through the dc chopper 112. The first voltage output by the first power source 210 of the power module 200 is converted into the second voltage after passing through the dc chopper 112, so as to supply power to the power supply controller 111. As shown in fig. 3, the first voltage output from the first power source of the power module 200 is +12V _ SB, and is converted into the second voltage of +3.3V _ SB by the dc chopper 112.
The dc chopper 112 may be any type of dc chopper, and the embodiment of the present invention is not limited to the type of the dc chopper 112.
In one implementation, as shown in fig. 2, each power module 200 may further include a second power supply 220;
the power module 200 is configured to turn on the second power supply 220 after receiving the power supply control signal, and supply power to the electronic device 100 by using the second power supply 220.
It is understood that the second power source of the power module 200 is a power source that is connected to the electronic device 100 and plugged into a power line, and supplies power to the electronic device 100 only after receiving the power supply control signal. Before the second power of the power module 200 receives the power supply control signal, after the power module 200 is connected to the electronic device 100 and the power line is plugged in, the second power may be in an off state until the second power is turned on after the power supply control signal is received, and the power module 200 uses the second power 220 to supply power to the electronic device 100.
In one implementation, in order to prevent the reverse flow of the current of the power supply modules 200, as shown in fig. 4, the power supply control circuit 110 may further include a plurality of diodes 113, and the first power supply 210 of each power supply module 200 is electrically connected to the dc chopper 112 through a diode 113.
It is understood that the maximum power consumption of the electronic device 100 is determined, and the number of power modules 200 required for the electronic device may also be determined. In this embodiment of the present invention, the number of the diodes 113 included in the power supply control circuit 110 may be the same as the number of the power modules 200 that the electronic device 100 needs to access, or the number of the diodes 113 included in the power supply control circuit 110 may be greater than the number of the power modules 200 that the electronic device 100 needs to access, which is all acceptable.
The diode 113 may be any type of diode, and the type of diode is not limited in the embodiments of the present invention.
Fig. 5 is a circuit diagram of the first power source 210 of the power module 200 connected to a diode 113. As shown in fig. 5, the first power supplies of the 5 power supply modules 200 that are connected are all power supplies with an output voltage of +12V _ SB, the voltages output by the first power supplies of the 5 power supply modules 200 are combined into a voltage of +12V _ SB through diodes, the diode shown in fig. 5 is a diode of type SK34, the "Dx" shown in fig. 5 can identify the diode, and the "+ 12V _ SBx" shown in fig. 5 can identify each power supply module 200, where x is 1, 2, 3, 4, and 5, and the "1" at two ends of the diode represents the cathode of the diode, and the "2" represents the anode of the diode.
In one implementation, as shown in fig. 6, the power supply control circuit 110 may further include a plurality of resistor sets, each resistor set includes a first resistor 114 and a second resistor 115, and each power module 200 corresponds to a different resistor set;
the first power supply 210 of each power supply module 200 is electrically connected to the power supply controller 111 through the first resistor 114 in a group of resistor groups, and is grounded through the first resistor 114 and the second resistor 115 in the group of resistor groups in sequence;
the power supply controller 111 is configured to detect the number of power modules 200 connected to the electronic device 100 by detecting the number of received third voltages, where each third voltage is: the first voltage output by the first power supply 210 of each power module 200 is divided by the first resistor 114 and the second resistor 115 in a resistor set.
In this implementation, the power supply control circuit 110 may further include a plurality of resistor sets, each resistor set includes a first resistor 114 and a second resistor 115, and each power module 200 corresponds to a different resistor set; the first resistor 114 and the second resistor 115 in each resistor group are configured to divide the output voltage of the first power supply 210 of the corresponding power module 200 to obtain a third voltage, and the power supply controller 111 is configured to detect the number of power modules 200 that have been connected to the electronic device 100 by detecting the number of the received third voltage.
The process of detecting, by the power supply controller 111, the number of the power modules 200 connected to the electronic device 100 by detecting the number of the received third voltages may be: the power supply controller 111 determines the detected number of the received third voltages as the number of the power supply modules 200 that have been connected to the electronic apparatus 100. For example: when it is detected that the number of the received third voltages is 0, it may be determined that the number of the power modules 200 connected to the electronic device 100 is 0; when it is detected that the number of the received third voltages is 1, it may be determined that the number of the power modules 200 connected to the electronic device 100 is 1; when it is detected that the number of the received third voltages is 2, it may be determined that the number of the power modules 200 connected to the electronic device 100 is 2, and so on.
The power module 200, the first resistor 114 and the second resistor 115 in the resistor group, and the power supply controller 111 are connected in the following manner: the first power supply 210 of each power supply module 200 is electrically connected to the power supply controller 111 through the first resistor 114 in a resistor group, and is grounded through the first resistor 114 and the second resistor 115 in the resistor group in sequence. Fig. 7 is a schematic diagram of a power module 200, a first resistor 114 and a second resistor 115 in a resistor group, and a connection circuit of a power supply controller 111. For example, when the first power supply 210 of the power module 200 can output a voltage of +12V _ SB and a third voltage of +3.3V _ SB is obtained by dividing the voltage by the first resistor 114 and the second resistor 115 in the resistor group, the resistance of the first resistor may be 12K ohms, and the resistance of the second resistor may be 4.7K ohms. It should be noted that the above is only an example, and the embodiment of the present invention does not limit the specific resistance values of the first resistor and the second resistor, and the embodiment of the present invention does not limit the voltage value of the first power source outputtable voltage, the voltage value of the second power source outputtable voltage, and the voltage value of the third voltage obtained by voltage division of the power module.
In one implementation, the power supply controller 111 may obtain the preset number threshold by reading a preset general purpose input/output GPIO state value.
In this implementation, the staff can set up general purpose input/output GPIO state values in advance according to the power consumption of the electronic device and the output power consumption of the power supply module, and the preset number threshold is represented by the set GPIO state values. Furthermore, in the power supply control process, after the power supply controller 111 determines the number, i.e. the first number, of the power modules 200 that have been connected to the electronic device 100, it may obtain the preset number threshold by reading the preset general purpose input/output GPIO state value, and execute the subsequent processes. Or, after the power supply controller 111 is powered, the preset general purpose input/output GPIO state value is read immediately to obtain the preset number threshold, and then the step of determining the number of the power modules 200 connected to the electronic device 100 is performed. For example, GPIO [ 1: 0], a state value of 00, which may characterize a preset number threshold of 2; GPIO [ 1: 0], a state value of 01, which may characterize a preset number threshold of 3. In the embodiment of the present invention, the Power Supply control signal is a Power Supply startup signal in a low level state, i.e., a PS _ ON signal (Power Supply ON).
Wherein the dashed lines in fig. 1, 2, 4 and 6 may indicate that they have not been connected.
Corresponding to the above device embodiment, an embodiment of the present invention provides a power supply control method, which is applied to a power supply controller, where the power supply controller is disposed in a power supply control circuit disposed in an electronic device, as shown in fig. 8, and the method includes:
s810: detecting the number of power supply modules accessed to the electronic equipment as a first number;
s820: judging whether the first quantity is not less than a preset quantity threshold value;
s830: and if the first quantity is not less than the preset quantity threshold value, sending a power supply control signal to the power supply module so that the power supply module supplies power to the electronic equipment after receiving the power supply control signal.
In this embodiment of the present invention, the electronic device may be provided with a power supply control circuit, where the power supply control circuit may include a power supply controller, and the power supply control circuit is configured to control a time when a plurality of power modules connected to the electronic device start to supply power to the electronic device. In one case, the power supply controller may be a single chip microcomputer and a CPLD (complex programmable Logic Device) or other controllers.
After the power supply controller is powered on, the number of power supply modules connected to the electronic equipment can be detected in real time or at regular time to serve as a first number, and then whether the first number is not smaller than a preset number threshold value or not is judged; if the first quantity is judged to be not less than the preset quantity threshold value, the power supply controller sends a power supply control signal to the power supply module, namely the power supply module of the accessed electronic equipment. And after receiving the power supply control signal, the power supply module supplies power to the electronic equipment. Wherein, this power module supplies power for electronic equipment can indicate: the power supply supplies power to the whole electronic equipment to supply power for starting and running of each functional device of the electronic equipment.
The preset quantity threshold is set for a worker according to the power consumption of the electronic equipment in advance, at least one power module with the preset quantity threshold can be guaranteed to supply power to the electronic equipment, and the situation that the power module enters an OCP protection mode can be avoided.
In view of this, after receiving the power supply control signal, the first number of power modules connected to the electronic device may simultaneously supply power to the electronic device, so as to avoid the power modules entering the OCP protection mode.
In the embodiment of the present invention, the Power Supply control signal is a Power Supply startup signal in a low level state, i.e., a PS _ ON signal (Power Supply ON).
In the embodiment of the invention, the electronic device can detect the first number of the power modules connected to the electronic device through the power supply controller in the power supply control circuit, and when the first number is judged to be not less than the preset number threshold, the electronic device sends the power supply control signal to the power modules, so that the power modules supply power to the electronic device. The power module is prevented from being insufficient in output power consumption to support the power consumption of the electronic equipment, so that the power module enters an OCP protection mode and the performance of the electronic equipment is prevented from being affected.
In one implementation, the power supply control circuit may further include a plurality of resistor groups, each resistor group includes a first resistor and a second resistor, and each power supply module corresponds to a different resistor group; the first power supply of each power supply module is electrically connected with the power supply controller through a first resistor in a group of resistor groups and is grounded through the first resistor and a second resistor in the group of resistor groups in sequence;
the step of detecting the number of power modules connected to the electronic device may include:
detecting the number of power modules connected to the electronic device by detecting the number of received third voltages, wherein each third voltage is: the first voltage output by the first power supply of each power supply module is divided into voltage by the first resistor and the second resistor in the group of resistor groups.
In this implementation manner, the power supply control circuit may further include a plurality of resistor groups, each resistor group includes a first resistor and a second resistor, and each power supply module corresponds to a different resistor group; the first resistor and the second resistor in each resistor group are used for dividing the output voltage of the first power supply of the corresponding power supply module to obtain a third voltage, and the third voltage is used for detecting the number of the power supply modules connected to the electronic equipment by the power supply controller through detecting the number of the received third voltage. The process of detecting, by the power supply controller, the number of the power modules that have been connected to the electronic device by detecting the number of the received third voltages may be: and the power supply controller determines the detected number of the received third voltages as the number of the power supply modules connected to the electronic equipment. For example: when it is detected that the number of the received third voltages is 0, it may be determined that the number of power modules connected to the electronic device is 0; when detecting that the number of the received third voltages is 1, determining that the number of the power modules connected to the electronic device is 1; when it is detected that the number of the received third voltages is 2, it may be determined that the number of power modules connected to the electronic device is 2, and so on.
Wherein, the first resistance and the second resistance in power module, the resistance group to and power supply controller's connected mode is: the first power supply of each power supply module is electrically connected with the power supply controller through a first resistor in a group of resistor groups and is grounded through the first resistor and a second resistor in the group of resistor groups in sequence. Through the connection mode, the first voltage output by the first power supply of the power supply module can be divided into the third voltage, so that the power supply controller can determine the number of the power supply modules connected to the electronic equipment by detecting the number of the received third voltages.
Before the step of determining whether the first number is not less than the preset number threshold, the method may further include:
and acquiring a preset number threshold value by reading a preset general input/output GPIO state value.
In this implementation, the staff can set up general purpose input/output GPIO state values in advance according to the power consumption of the electronic device and the output power consumption of the power supply module, and the preset number threshold is represented by the set GPIO state values. Furthermore, in the power supply control process, after the power supply controller 111 determines the number, i.e. the first number, of the power modules 200 that have been connected to the electronic device 100, it may obtain the preset number threshold by reading the preset general purpose input/output GPIO state value, and execute the subsequent processes. Or, after the power supply controller 111 is powered, the preset general purpose input/output GPIO state value is read immediately to obtain the preset number threshold, and then the step of detecting the number of the power modules 200 connected to the electronic device 100 is performed.
Corresponding to the above device embodiment, an embodiment of the present invention provides a power supply control apparatus, which is applied to a power supply controller in a power supply control circuit provided in an electronic device, and as shown in fig. 9, the apparatus may include:
a determining module 910, configured to detect, as a first number, the number of power modules that have been connected to the electronic device;
the determining module 920 determines whether the first number is not less than a preset number threshold; if the first quantity is judged to be not less than the preset quantity threshold value, a sending module is triggered;
a sending module 930, configured to send a power supply control signal to the power supply module, so that the power supply module supplies power to the electronic device after receiving the power supply control signal.
In the embodiment of the invention, the electronic device can detect the first number of the power modules connected to the electronic device through the power supply controller in the power supply control circuit, and when the first number is judged to be not less than the preset number threshold, the electronic device sends the power supply control signal to the power modules, so that the power modules supply power to the electronic device. The power module is prevented from being insufficient in output power consumption to support the power consumption of the electronic equipment, so that the power module enters an OCP protection mode and the performance of the electronic equipment is prevented from being affected.
The power supply control circuit also comprises a plurality of groups of resistor groups, each resistor group comprises a first resistor and a second resistor, and each power supply module corresponds to different resistor groups; the first power supply of each power supply module is electrically connected with the power supply controller through a first resistor in a group of resistor groups and is grounded through the first resistor and a second resistor in the group of resistor groups in sequence;
the determining module 910 is specifically configured to detect the number of power modules that have been connected to the electronic device by detecting the number of received third voltages, where each third voltage is: the first voltage output by the first power supply of each power supply module is divided into voltage by the first resistor and the second resistor in the group of resistor groups.
The device further comprises:
and the obtaining module is used for obtaining the preset number threshold value by reading a preset general input/output GPIO state value before judging whether the first number is not less than the preset number threshold value.
Corresponding to the above device embodiment, a computer-readable storage medium is characterized in that a computer program is stored in the computer-readable storage medium, and when being executed by a power supply controller, the computer program implements any of the above power supply control method steps provided by the embodiment of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (14)

1. An electronic device, characterized in that the electronic device is provided with a power supply control circuit comprising a power supply controller;
the power supply controller is used for detecting the number of power supply modules which are connected into the electronic equipment as a first number; judging whether the first quantity is not less than a preset quantity threshold value or not; if the first quantity is judged to be not less than the preset quantity threshold value, a power supply control signal is sent to the power supply module;
and the power supply module is used for supplying power to the electronic equipment after receiving the power supply control signal.
2. The electronic device of claim 1, wherein the power supply control circuit further comprises a direct current chopper; each power module comprises a first power supply;
a first power supply of the power supply module is electrically connected with the power supply controller through the direct current chopper;
the direct current chopper is used for converting a first voltage output by a first power supply of the power supply module into a second voltage and supplying power to the power supply controller.
3. The electronic device of claim 2, wherein each power module further comprises a second power source;
and the power supply module is used for starting the second power supply after receiving the power supply control signal and supplying power to the electronic equipment by using the second power supply.
4. The electronic device of claim 2, wherein the power supply control circuit further comprises a plurality of diodes, and the first power supply of each power supply module is electrically connected to the dc chopper through a diode.
5. The electronic device of any of claims 1-4, wherein the power control circuit further comprises a plurality of resistor sets, each resistor set comprising a first resistor and a second resistor, each power module corresponding to a different resistor set;
the first power supply of each power supply module is electrically connected with the power supply controller through the first resistor in one resistor group and is grounded through the first resistor and the second resistor in the resistor group in sequence;
the power supply controller is configured to detect the number of power modules that have been connected to the electronic device by detecting the number of received third voltages, where each third voltage is: the first voltage output by the first power supply of each power supply module is divided into voltages through the first resistor and the second resistor in one group of resistor groups.
6. The electronic device of any of claims 1-4, wherein the power controller obtains the predetermined number threshold by reading a predetermined general purpose input/output (GPIO) state value.
7. The electronic device according to any of claims 1-4, wherein the power control signal is a low-level power-on signal.
8. A power supply control method is applied to a power supply controller, wherein the power supply controller is arranged in a power supply control circuit arranged in an electronic device, and the method comprises the following steps:
detecting the number of power supply modules accessed to the electronic equipment as a first number; judging whether the first quantity is not less than a preset quantity threshold value or not; and if the first quantity is judged to be not less than the preset quantity threshold value, sending a power supply control signal to the power supply module so that the power supply module supplies power to the electronic equipment after receiving the power supply control signal.
9. The method of claim 8, wherein the power control circuit further comprises a plurality of resistor sets, each resistor set comprising a first resistor and a second resistor, each power module corresponding to a different resistor set; the first power supply of each power supply module is electrically connected with the power supply controller through a first resistor in a group of resistor groups and is grounded through the first resistor and a second resistor in the group of resistor groups in sequence;
the step of detecting the number of power modules that have been connected to the electronic device includes:
detecting the number of power modules which are connected into the electronic equipment by detecting the number of the received third voltages, wherein each third voltage is as follows: the first voltage output by the first power supply of each power supply module is divided into voltage by the first resistor and the second resistor in the group of resistor groups.
10. The method according to claim 8 or 9, wherein before the step of determining whether the first number is not less than a preset number threshold, the method further comprises:
and acquiring the preset number threshold value by reading a preset general input/output GPIO state value.
11. A power supply control apparatus applied to a power supply controller in a power supply control circuit provided in an electronic device, the apparatus comprising:
the determining module is used for detecting the number of power supply modules which are connected into the electronic equipment as a first number;
the judging module is used for judging whether the first quantity is not less than a preset quantity threshold value or not; if the first quantity is judged to be not less than the preset quantity threshold value, a sending module is triggered;
the sending module is configured to send a power supply control signal to the power supply module, so that the power supply module supplies power to the electronic device after receiving the power supply control signal.
12. The apparatus of claim 11, wherein the power control circuit further comprises a plurality of resistor sets, each resistor set comprising a first resistor and a second resistor, each power module corresponding to a different resistor set; the first power supply of each power supply module is electrically connected with the power supply controller through a first resistor in a group of resistor groups and is grounded through the first resistor and a second resistor in the group of resistor groups in sequence;
the determining module is specifically configured to detect the number of power modules that have been connected to the electronic device by detecting the number of received third voltages, where each third voltage is: the first voltage output by the first power supply of each power supply module is divided into voltage by the first resistor and the second resistor in the group of resistor groups.
13. The apparatus of claim 11 or 12, further comprising:
and the obtaining module is used for obtaining the preset number threshold value by reading a preset general input/output GPIO state value before judging whether the first number is not less than the preset number threshold value.
14. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a power supply controller, realizes the power supply control method steps of any one of claims 8 to 10.
CN201910245113.0A 2019-03-28 2019-03-28 Electronic equipment and power supply control method and device thereof Pending CN111752767A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910245113.0A CN111752767A (en) 2019-03-28 2019-03-28 Electronic equipment and power supply control method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910245113.0A CN111752767A (en) 2019-03-28 2019-03-28 Electronic equipment and power supply control method and device thereof

Publications (1)

Publication Number Publication Date
CN111752767A true CN111752767A (en) 2020-10-09

Family

ID=72671701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910245113.0A Pending CN111752767A (en) 2019-03-28 2019-03-28 Electronic equipment and power supply control method and device thereof

Country Status (1)

Country Link
CN (1) CN111752767A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030080624A1 (en) * 2001-10-31 2003-05-01 Steve Belson Power supply system with control of number of fully operational supplies for energy efficiency
US20060161794A1 (en) * 2005-01-18 2006-07-20 Dell Products L.P. Prioritizing power throttling in an information handling system
US20080191552A1 (en) * 2007-02-08 2008-08-14 Hitachi, Ltd. Power supply device and storage control device
JP2008187850A (en) * 2007-01-31 2008-08-14 Yokogawa Electric Corp Redundant power supply device
US20090158070A1 (en) * 2007-12-13 2009-06-18 International Business Machines Corporation Selecting Between High Availability Redundant Power Supply Modes For Powering A Computer System
US20130294111A1 (en) * 2010-11-11 2013-11-07 Telefonaktiebolaget L M Ericsson (Publ) Overload detection in a switched mode power supply
CN106502363A (en) * 2016-10-25 2017-03-15 郑州云海信息技术有限公司 A kind of electric power system of multi-node server system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030080624A1 (en) * 2001-10-31 2003-05-01 Steve Belson Power supply system with control of number of fully operational supplies for energy efficiency
US20060161794A1 (en) * 2005-01-18 2006-07-20 Dell Products L.P. Prioritizing power throttling in an information handling system
JP2008187850A (en) * 2007-01-31 2008-08-14 Yokogawa Electric Corp Redundant power supply device
US20080191552A1 (en) * 2007-02-08 2008-08-14 Hitachi, Ltd. Power supply device and storage control device
US20090158070A1 (en) * 2007-12-13 2009-06-18 International Business Machines Corporation Selecting Between High Availability Redundant Power Supply Modes For Powering A Computer System
US20130294111A1 (en) * 2010-11-11 2013-11-07 Telefonaktiebolaget L M Ericsson (Publ) Overload detection in a switched mode power supply
CN106502363A (en) * 2016-10-25 2017-03-15 郑州云海信息技术有限公司 A kind of electric power system of multi-node server system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张强等: "多电源并联运行的效率优化控制方法", 《电力***自动化》, vol. 42, no. 17, 10 September 2018 (2018-09-10), pages 96 - 103 *

Similar Documents

Publication Publication Date Title
US9819501B2 (en) Power source equipment and power supplying method for power over ethernet system
US9436249B2 (en) Rack and power controlling method thereof
US9831913B2 (en) Power source equipment and power supplying method for power over ethernet system
US8726049B2 (en) Computer system with a plurality of computer modules and baseboard management controllers, including a state machine that dynamically conducts a switching operation
CN103324495A (en) Method and system for data center server boot management
US5511161A (en) Method and apparatus to reset a microcomputer by resetting the power supply
CN106888100B (en) Ethernet power supply switch and power supply method thereof
US10186982B2 (en) Dual-input single-output power supply
CN111679601B (en) Control method of multi-board card device, multi-board card device and medium
US8149602B2 (en) Method and apparatus for detecting end of start up phase
US20110029788A1 (en) Power Limiting In Redundant Power Supply Systems
CN108376110B (en) Automatic detection method, system and terminal equipment
CN109120414B (en) Power supply method, control equipment and power supply end equipment for PoE
CN111752767A (en) Electronic equipment and power supply control method and device thereof
US8996894B2 (en) Method of booting a motherboard in a server upon a successful power supply to a hard disk driver backplane
CN113204279B (en) Method, system, device and medium for improving server efficiency based on redundant power supply
CN115599188A (en) Server power supply control method and device, storage medium and electronic device
CN115622871A (en) Bus load determination method and device, household electrical appliance and storage medium
US20230104407A1 (en) VOLTAGE-CURRENT PROFILE BASED START-UP OF PoE DEVICES
CN111090557B (en) Management method, device and equipment for abnormal bandwidth reduction of PCIE (peripheral component interface express) equipment
US20120119775A1 (en) Circuitry for hot-swappable circuit boards
CN114115503A (en) System and method for automatically adjusting CPU voltage alarm threshold
US6882943B1 (en) System, method and computer program product for configuring power supply apparatus
US20170308139A1 (en) Damage identification method for redundant power supply system
TW202144959A (en) Electronic equipment and operation 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