Electronic device and power supply control method and device thereof

By designing power supply control circuits in electronic devices and detecting and sending power supply control signals, the problem of insufficient output power consumption of power modules under multi-power supply is solved, avoiding the occurrence of OCP protection mode and improving equipment performance.

CN111752767BActive Publication Date: 2025-02-11HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201910245113.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-03-28
Publication Date
2025-02-11
Estimated Expiration
2039-03-28

AI Technical Summary

Technical Problem

When using multi-power supply mode, the load power consumption of the power module may be greater than the output power consumption, causing the power module to enter OCP protection mode, affecting the performance of electronic equipment.

Method used

Design a power supply control circuit for electronic equipment, including a power supply controller, to detect the number of connected power modules and send power supply control signals when the number reaches a preset threshold to ensure that the power module can supply power normally.

Benefits of technology

It effectively avoids the power module from entering OCP protection mode, ensures the stable operation of electronic equipment, and improves equipment performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111752767B_ABST
    Figure CN111752767B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides an electronic device and a power supply control method and device thereof. 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 to detect the number of power modules connected to the electronic device as a first number, and judge whether the first number is not less than a preset number threshold; if the first number is judged to be not less than the preset number threshold, a power supply control signal is sent to the power supply module; the power supply module is used to power the electronic device after receiving the power supply control signal. This is to achieve the situation that when the electronic device is powered by multiple power supply methods, the power supply module enters the OCP protection mode, which affects the performance of the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power supply control, and in particular to an electronic device and a power supply control method and device thereof. Background Art

[0002] At present, for devices with high power consumption such as large-channel NVR (Network Video Recorder) or servers, it is generally necessary to adopt a multi-power supply method for powering them, such as an N+1 redundant power supply method, that is, using N+1 power modules to power such devices.

[0003] In the related art, when a multi-power supply method is used to power a device, when the power modules are connected to the device in sequence, the problem of the load power consumption of the power module being greater than the output power consumption of the power module is likely to occur. When the load power consumption of the power module is greater than the output power consumption of the power module, the power module will enter the OCP (Over Current Protection) protection mode. Among them, the load power consumption of the power module is the power consumption of the device it powers. For example: when only one power module is connected to the device and the second power module has not yet been connected, the power consumption of the device is greater than the output power consumption of the connected power module. At this time, the connected power module will enter the OCP protection mode.

[0004] When a power module enters the OCP protection mode, even if other subsequent power modules are connected to the device and the output power consumption of all connected power modules reaches the power consumption of the electronic equipment, the power module cannot exit the OCP protection mode, that is, it cannot power the device, which will affect the performance of the device to a certain extent. Summary of the invention

[0005] The purpose of the embodiments of the present invention is to provide an electronic device and a power supply control method and device thereof, so as to avoid the situation where the power module enters the OCP protection mode and affects the performance of the electronic device when the electronic device is powered by multiple power supplies. The specific technical solution is as follows:

[0006] In one aspect, an embodiment of the present invention provides an electronic device, wherein the electronic device is provided with a power supply control circuit, wherein the power supply control circuit includes a power supply controller;

[0007] The power supply controller is used to detect the number of power modules connected to the electronic device as a first number; determine whether the first number is not less than a preset number threshold; if it is determined that the first number is not less than the preset number threshold, send a power supply control signal to the power module;

[0008] The power supply module is used to supply power to the electronic device after receiving the power supply control signal.

[0009] Optionally, the power supply control circuit further includes a DC chopper; each power supply module includes a first power supply;

[0010] The first power supply of the power supply module is electrically connected to the power supply controller through the DC chopper;

[0011] The DC chopper is used to convert the first voltage output by the first power supply of the power module into a second voltage to supply power to the power supply controller.

[0012] Optionally, each power supply module further includes a second power supply;

[0013] The power supply module is used to turn on the second power supply after receiving the power supply control signal, and use the second power supply to power the electronic device.

[0014] 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 via a diode.

[0015] 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 supply module corresponds to a different resistor group;

[0016] The first power supply of each power module is electrically connected to the power supply controller through the first resistor in a resistor group, and is grounded through the first resistor and the second resistor in the resistor group in sequence;

[0017] The power supply controller is used to detect the number of power modules connected to the electronic device by detecting the number of third voltages received, wherein each third voltage is: the first voltage output by the first power supply of each power module, and the voltage generated by dividing the first resistor and the second resistor in a group of resistors.

[0018] Optionally, the power supply controller obtains the preset quantity threshold by reading a preset general purpose input / output GPIO state value.

[0019] Optionally, the power supply control signal is a power on signal in a low level form.

[0020] On the other hand, an embodiment of the present invention provides a power supply control method, which is applied to a power supply controller, wherein the power supply controller is provided in a power supply control circuit provided in an electronic device, and the method includes:

[0021] Detect the number of power modules connected to the electronic device as a first number; determine whether the first number is not less than a preset number threshold; if it is determined that the first number is not less than the preset number threshold, 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.

[0022] 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 supply module corresponds to a different resistor group; the first power supply of each power supply module is electrically connected to the power supply controller through a first resistor in a resistor group, and is grounded in sequence through the first resistor and the second resistor in the resistor group;

[0023] The step of detecting the number of power modules connected to the electronic device comprises:

[0024] The number of power modules connected to the electronic device is detected by detecting the number of received third voltages, wherein each third voltage is: a first voltage output by a first power supply of each power module, a voltage generated by voltage division by a first resistor and a second resistor in a resistor group.

[0025] Optionally, before the step of determining whether the first quantity is not less than a preset quantity threshold, the method further includes:

[0026] The preset quantity threshold is obtained by reading a preset general purpose input / output GPIO state value.

[0027] On the other hand, an embodiment of the present invention provides a power supply control device, which is applied to a power supply controller in a power supply control circuit provided in an electronic device, and the device includes:

[0028] A determination module, used for detecting the number of power modules connected to the electronic device as a first number;

[0029] A judging module, for judging whether the first quantity is not less than a preset quantity threshold; if it is judged that the first quantity is not less than the preset quantity threshold, triggering a sending module;

[0030] The sending module is used 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.

[0031] 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 supply module corresponds to a different resistor group; the first power supply of each power supply module is electrically connected to the power supply controller through a first resistor in a resistor group, and is grounded in sequence through the first resistor and the second resistor in the resistor group;

[0032] The determination module is specifically used to detect 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 module, the voltage generated by dividing the first resistor and the second resistor in a group of resistors.

[0033] Optionally, the device further comprises:

[0034] The acquisition module is used to acquire the preset quantity threshold by reading a preset general purpose input / output GPIO state value before determining whether the first quantity is not less than the preset quantity threshold.

[0035] On the other hand, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a power supply controller, any of the above-mentioned power supply control method steps provided by the embodiment of the present invention is implemented.

[0036] According to the technical solution provided by an embodiment of the present invention, an 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 to detect the number of power modules connected to the electronic device as a first number, and judge whether the first number is not less than a preset number threshold; if it is judged that the first number is not less than the preset number threshold, a power supply control signal is sent to the power supply module; the power supply module is used to power the electronic device after receiving the power supply control signal.

[0037] In an embodiment of the present invention, the electronic device can detect the first number of power modules connected to the electronic device through the power supply controller in the power supply control circuit, and only when it is determined that the first number is not less than the preset number threshold, will it send a power supply control signal to the power module so that the power module can power the electronic device. This is to avoid the situation where the output power consumption of the power module is insufficient to support the power consumption of the electronic device, causing the power module to enter the OCP protection mode and affect the performance of the electronic device. Of course, any product or method implementing the present invention does not necessarily need to achieve all the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0039] Figure 1 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;

[0040] Figure 2 Another schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;

[0041] Figure 3 A schematic diagram showing a first voltage outputted by the first power supply 210 of the power supply module 200 provided in an embodiment of the present invention, which is converted into a second voltage after passing through the DC chopper 112;

[0042] Figure 4 Another schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;

[0043] Figure 5 A circuit diagram showing a connection between a first power source 210 of a power module 200 and a diode 113;

[0044] Figure 6 Another schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;

[0045] Figure 7 A schematic diagram of a connection circuit of a power module 200, a first resistor 114 and a second resistor 115 in a resistor group, and a power supply controller 111;

[0046] Figure 8 A schematic diagram of a flow chart of a power supply control method provided by an embodiment of the present invention;

[0047] Fig. 9 A schematic diagram of the structure of a power supply control device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] The embodiment of the present invention provides an electronic device and a power supply control method and device thereof, so as to avoid the situation where a power module enters an OCP protection mode and affects the performance of the electronic device when the electronic device is powered by a multi-power supply mode.

[0050] like Figure 1 , which is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, the electronic device 100 is provided with a power supply control circuit 110, and the power supply control circuit includes a power supply controller 111;

[0051] The power supply controller 111 is used to detect the number of power modules connected to the electronic device as a first number, and determine whether the first number is not less than a preset number threshold; if it is determined that the first number is not less than the preset number threshold, send a power supply control signal to the power supply module 200;

[0052] The power module 200 is used to supply power to the electronic device 100 after receiving a power supply control signal.

[0053] In one implementation, the electronic device may be any type of device, and the electronic device may be connected to a multi-power module to be powered by the connected multi-power module. For example, the electronic device may be a large-number NVR (Network Video Recorder) or a server or other device with high power consumption, wherein the large number of channels may refer to a number of channels exceeding a preset value.

[0054] In an embodiment of the present invention, the electronic device 100 may be provided with a power supply control circuit 110, and the power supply control circuit 110 may include a power supply controller 111, and the power supply control circuit 110 is used to control the timing when multiple 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 controller such as a single chip microcomputer and a CPLD (Complex Programmable Logic Device).

[0055] After the power supply controller 111 is powered, the number of power modules 200 connected to the electronic device 100 can be detected in real time or at a fixed time, as a first number, and then, it is determined whether the first number is not less than a preset number threshold; if it is determined that 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 connected to the electronic device. After receiving the power supply control signal, the power module 200 supplies power to the electronic device 100. Among them, the power module 200 supplies power to the electronic device, which can refer to: supplying power to the entire electronic device 100, that is, supplying power to the startup and operation of each functional device of the electronic device 100.

[0056] Among them, the preset number threshold is set in advance by the staff according to the power consumption of the electronic device 100, which can ensure that at least the preset number threshold power modules supply power to the electronic device 100, and can avoid the situation where the power module enters the OCP protection mode.

[0057] In view of this, after receiving the power supply control signal, the first number of power modules 200 connected to the electronic device 100 can simultaneously power the electronic device 100 to avoid the situation where the power modules enter the OCP protection mode.

[0058] In one implementation, each power module may include two types of power supplies, for example, a first power supply and a second power supply, wherein the first power supply is: a power supply that can output current by connecting to an electronic device and inserting a power cord, that is, after the first power supply is connected to the electronic device and inserted into the power cord, it can directly power the electronic device. The second power supply may be: a power supply that is connected to the electronic device and inserted into the power cord, and only outputs current after receiving a power supply control signal, that is, after the second power supply is connected to the electronic device and inserted into the power cord, and after receiving a power supply control signal, it powers the electronic device. Among them, the power module can connect to alternating current through the power cord, and it can convert the connected alternating current into direct current to power the electronic device. In one case, the power module can be a CRPS (Common Redundant Power Supplies) power module, the first power supply of the power module can convert the connected alternating current into a voltage of +12V_SB, and then power the electronic device, and the second power supply of the power module can convert the connected alternating current into a voltage of +12V, and then power the electronic device.

[0059] In one implementation, after the power module 200 is inserted into the electronic device 100, the first power source can be used to power the power controller 111, and after the power is supplied, the power controller 111 starts to execute the power supply control process provided in the embodiment of the present invention. The power module 200 has been plugged into the power cord, that is, the AC power is connected through the power cord.

[0060] In one case, the preset number threshold may be less than the number of power modules required to be connected to the electronic device 100. For example, if the number of power modules required to be connected to the electronic device is 5, 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, a power supply control signal may be sent to the power modules 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, it sends a power supply control signal to the power modules 200 connected to the electronic device 100. At this time, after receiving the power supply control signal, the two power modules 200 connected to the electronic device 100 supply power to the electronic device 100. Subsequently, there will be another power module 200 connected to the electronic device 100. At this time, the power module 200 connected again can receive the power supply control signal after being connected, and then supply power to the electronic device 100.

[0061] In the embodiment of the present invention, the electronic device can detect the first number of power modules connected to the electronic device through the power supply controller in the power supply control circuit, and only when it is determined that the first number is not less than the preset number threshold, will it send a power supply control signal to the power module so that the power module supplies power to the electronic device. This is to avoid the situation where the output power consumption of the power module is insufficient to support the power consumption of the electronic device, causing the power module to enter the OCP protection mode, affecting the performance of the electronic device.

[0062] In one implementation, Figure 2 As shown, the power supply control circuit 110 may further include a DC chopper 112; each power supply module 200 may include a first power supply 210;

[0063] The first power supply 210 of the power supply module 200 is electrically connected to the power supply controller 110 via the DC chopper 112;

[0064] The DC chopper 112 is used to convert the first voltage output by the first power supply 210 of the power module 200 into a second voltage to supply power to the power supply controller 111 .

[0065] In one case, the first voltage output by the first power supply 210 of the power module 200 may not meet the voltage required by the power supply controller 111. In view of this, the power supply control circuit 110 may also include a DC chopper DC / DC. The first power supply 210 of the power module 200 is electrically connected to the power supply controller 110 via the DC chopper 112. The first voltage output by the first power supply 210 of the power module 200 is converted into a second voltage after passing through the DC chopper 112 to supply power to the power supply controller 111. Figure 3As shown, the first voltage outputted by the first power supply of the power supply module 200 is +12V_SB, which is converted into a second voltage of +3.3V_SB through the DC chopper 112 .

[0066] The DC chopper 112 may be any type of DC chopper, and the embodiment of the present invention does not limit the type of the DC chopper 112 .

[0067] In one implementation, Figure 2 As shown, each power module 200 may also include a second power supply 220;

[0068] The power module 200 is used to turn on the second power supply 220 after receiving the power supply control signal, and use the second power supply 220 to power the electronic device 100.

[0069] It can be understood that the second power supply of the power module 200 is a power supply that supplies power to the electronic device 100 only after it is connected to the electronic device 100 and plugged into the power cord, and after receiving the power supply control signal. Before the second power supply of the power module 200 receives the power supply control signal, after the power module 200 is connected to the electronic device 100 and plugged into the power cord, the second power supply can be in a closed state, until after receiving the power supply control signal, the second power supply is turned on, and the power module 200 uses its second power supply 220 to supply power to the electronic device 100.

[0070] In one implementation, in order to prevent the current of the power module 200 from flowing backward, as shown in FIG. Figure 4 As shown, 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 via a diode 113 .

[0071] It is understandable that the maximum power consumption of the electronic device 100 is determined, and the number of power modules 200 required by the electronic device 100 may also be determined. In the embodiment of the present invention, the number of diodes 113 included in the power supply control circuit 110 may be the same as the number of power modules 200 required to be connected to the electronic device 100, or the number of diodes 113 included in the power supply control circuit 110 may be greater than the number of power modules 200 required to be connected to the electronic device 100, which is all possible.

[0072] The diode 113 may be any type of diode, and the embodiment of the present invention does not limit the type of diode.

[0073] like Figure 5 As shown in FIG. 1 , it is a circuit diagram of a first power source 210 of a power module 200 connected to a diode 113. Figure 5As shown, the first power supplies of the five connected power modules 200 are all power supplies with an output voltage of +12V_SB. The voltages output by the first power supplies of the five power modules 200 are combined into a +12V_SB voltage through the diodes. Figure 5 The diode shown in the figure is a SK34 type diode. Figure 5 The "Dx" shown in the figure identifies the diode. Figure 5 The “+12V_SBx” shown in the figure can identify each power module 200, wherein x is 1, 2, 3, 4 and 5, and the “1” at both ends of the diode represents the cathode of the diode, and the “2” represents the anode of the diode.

[0074] In one implementation, Figure 6 As shown, the power supply control circuit 110 may further include a plurality of resistor groups, each resistor group includes a first resistor 114 and a second resistor 115, and each power module 200 corresponds to a different resistor group;

[0075] The first power source 210 of each power module 200 is electrically connected to the power supply controller 111 through a 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;

[0076] The power supply controller 111 is used to detect the number of power modules 200 connected to the electronic device 100 by detecting the number of third voltages received, wherein each third voltage is: the first voltage output by the first power supply 210 of each power module 200, and the voltage generated by dividing the first resistor 114 and the second resistor 115 in a group of resistors.

[0077] In this implementation, the power supply control circuit 110 may also include multiple groups of resistor groups, each resistor group includes a first resistor 114 and a second resistor 115, and each power module 200 corresponds to a different resistor group; the first resistor 114 and the second resistor 115 in each resistor group are used to divide the output voltage of the first power supply 210 of the corresponding power module 200 to obtain a third voltage, which is used for the power supply controller 111 to detect the number of power modules 200 connected to the electronic device 100 by detecting the number of received third voltages.

[0078] The process in which the power supply controller 111 detects the number of power modules 200 connected to the electronic device 100 by detecting the number of the third voltages received may be: the power supply controller 111 determines the number of the third voltages received as the number of the power modules 200 connected to the electronic device 100. For example, when it is detected that the number of the third voltages received is 0, it can 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 third voltages received is 1, it can 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 third voltages received is 2, it can be determined that the number of the power modules 200 connected to the electronic device 100 is 2, and so on.

[0079] The connection mode of the power module 200, the first resistor 114 and the second resistor 115 in the resistor group, and the power supply controller 111 is as follows: the first power supply 210 of each power module 200 is electrically connected to the power supply controller 111 through a 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 turn. Figure 7 As shown, it is a schematic diagram of the connection circuit of the power module 200, the first resistor 114 and the second resistor 115 in the resistor group, and the 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 the third voltage of +3.3V_SB is obtained by dividing the first resistor 114 and the second resistor 115 in the resistor group, the resistance value of the first resistor can be 12K ohms, and the resistance value of the second resistor can 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 output voltage of the first power supply of the power module, the voltage value of the output voltage of the second power supply, and the voltage value of the third voltage obtained by voltage division.

[0080] In one implementation, the power supply controller 111 may obtain the preset quantity threshold by reading a preset general purpose input / output GPIO state value.

[0081] In this implementation, the staff can set the general input / output GPIO state value in advance according to the power consumption of the electronic device and the output power consumption of the power module, and characterize the preset quantity threshold value by the set GPIO state value. Furthermore, in the power supply control process, after the power supply controller 111 determines the number of power modules 200 connected to the electronic device 100, that is, the first number, the preset number threshold value can be obtained by reading the preset general input / output GPIO state value, and the subsequent process is executed. Alternatively, it can also be that after the power supply controller 111 is powered, the preset number threshold value is obtained by reading the preset general input / output GPIO state value immediately, and then the step of determining the number of power modules 200 connected to the electronic device 100 is performed, which is also possible. For example, the state value of GPIO[1:0] = 00 can represent that the preset number threshold value is 2; the state value of GPIO[1:0] = 01 can represent that the preset number threshold value is 3. In the embodiment of the present invention, the power supply control signal is a power supply start-up signal in a low-level form, that is, a PS_ON signal (Power Supply ON, power supply start-up signal).

[0082] in, Figure 1 , 2 The dotted lines in , 4 and 6 may indicate that they are not yet connected.

[0083] Corresponding to the above device embodiment, the embodiment of the present invention provides a power supply control method, which is applied to a power supply controller, and the power supply controller is arranged in a power supply control circuit arranged in an electronic device, such as Figure 8 As shown, the method includes:

[0084] S810: Detect the number of power modules connected to the electronic device as a first number;

[0085] S820: Determine whether the first quantity is not less than a preset quantity threshold;

[0086] S830: If it is determined that the first quantity is not less than the preset quantity threshold, a power supply control signal is sent to the power module, so that the power module supplies power to the electronic device after receiving the power supply control signal.

[0087] In an embodiment of the present invention, the electronic device may be provided with a power supply control circuit, which may include a power supply controller, and the power supply control circuit is used to control the timing when multiple 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 controller such as a single-chip microcomputer and a CPLD (Complex Programmable Logic Device).

[0088] After the power supply controller is powered, it can detect the number of power modules connected to the electronic device in real time or at a fixed time as the first number, and then determine whether the first number is not less than the preset number threshold; if it is determined that the first number is not less than the preset number threshold, the power supply controller sends a power supply control signal to the power module, that is, the power module that has been connected to the electronic device. After receiving the power supply control signal, the power module supplies power to the electronic device. Among them, the power supply module supplies power to the electronic device can refer to: supplying power to the entire electronic device to provide power for the startup and operation of each functional component of the electronic device.

[0089] Among them, the preset number threshold is set in advance by the staff according to the power consumption of the electronic device, which can ensure that at least the preset number threshold power modules supply power to the electronic device, and can avoid the situation where the power module enters the OCP protection mode.

[0090] In view of this, after receiving the power supply control signal, the first number of power modules connected to the electronic device can simultaneously power the electronic device to avoid the situation where the power modules enter the OCP protection mode.

[0091] In the embodiment of the present invention, the power supply control signal is a power on signal in a low level form, ie, a PS_ON signal (Power Supply ON, power on signal).

[0092] In the embodiment of the present invention, the electronic device can detect the first number of power modules connected to the electronic device through the power supply controller in the power supply control circuit, and only when it is determined that the first number is not less than the preset number threshold, will it send a power supply control signal to the power module so that the power module supplies power to the electronic device. This is to avoid the situation where the output power consumption of the power module is insufficient to support the power consumption of the electronic device, causing the power module to enter the OCP protection mode, affecting the performance of the electronic device.

[0093] 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 to the power supply controller through a first resistor in a resistor group, and is grounded in turn through the first resistor and the second resistor in the resistor group;

[0094] The step of detecting the number of power modules connected to the electronic device may include:

[0095] The number of power modules connected to the electronic device is detected by detecting the number of received third voltages, wherein each third voltage is: a first voltage output by a first power supply of each power module, a voltage generated by dividing the first resistor and the second resistor in a resistor group.

[0096] In this implementation, the power supply control circuit may also include multiple groups 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 resistor and the second resistor in each resistor group are used to divide the output voltage of the first power supply of the corresponding power module to obtain a third voltage, which is used for the power supply controller to detect the number of power modules connected to the electronic device by detecting the number of received third voltages. Wherein, the process of the power supply controller detecting the number of power modules connected to the electronic device by detecting the number of received third voltages may be: the power supply controller determines the number of received third voltages as the number of power modules connected to the electronic device. For example: when the number of received third voltages is detected to be 0, it can be determined that the number of power modules connected to the electronic device is 0; when the number of received third voltages is detected to be 1, it can be determined that the number of power modules connected to the electronic device is 1; when the number of received third voltages is detected to be 2, it can be determined that the number of power modules connected to the electronic device is 2, and so on.

[0097] The power module, the first resistor and the second resistor in the resistor group, and the power supply controller are connected in the following manner: the first power supply of each power module is electrically connected to the power supply controller through a first resistor in a resistor group, and is grounded in turn through the first resistor and the second resistor in the resistor group. The first voltage output by the first power supply of the power module can be divided into a third voltage by the above connection method, so that the power supply controller can determine the number of power modules connected to the electronic device by detecting the number of the third voltages received.

[0098] Before the step of determining whether the first quantity is not less than a preset quantity threshold, the method may further include:

[0099] The preset quantity threshold is obtained by reading the preset general purpose input / output GPIO state value.

[0100] In this implementation, the staff can set the general input / output GPIO status value in advance according to the power consumption of the electronic device and the output power consumption of the power module, and characterize the preset quantity threshold value by the set GPIO status value. Furthermore, in the power supply control process, after the power supply controller 111 determines the number of power modules 200 connected to the electronic device 100, that is, the first number, the preset number threshold value can be obtained by reading the preset general input / output GPIO status value, and the subsequent process can be executed. Alternatively, it can also be that after the power supply controller 111 is powered on, the preset general input / output GPIO status value is immediately read to obtain the preset number threshold value, and then the step of detecting the number of power modules 200 connected to the electronic device 100 is executed, which is also possible.

[0101] Corresponding to the above-mentioned device embodiment, the embodiment of the present invention provides a power supply control device, which is applied to a power supply controller in a power supply control circuit provided in an electronic device, such as Fig. 9 As shown, the device may include:

[0102] A determination module 910 is used to detect the number of power modules connected to the electronic device as a first number;

[0103] A judging module 920 is configured to judge whether the first quantity is not less than a preset quantity threshold; if it is judged that the first quantity is not less than the preset quantity threshold, a sending module is triggered;

[0104] The sending module 930 is used 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.

[0105] In the embodiment of the present invention, the electronic device can detect the first number of power modules connected to the electronic device through the power supply controller in the power supply control circuit, and only when it is determined that the first number is not less than the preset number threshold, will it send a power supply control signal to the power module so that the power module supplies power to the electronic device. This is to avoid the situation where the output power consumption of the power module is insufficient to support the power consumption of the electronic device, causing the power module to enter the OCP protection mode, affecting the performance of the electronic device.

[0106] 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 module is electrically connected to the power supply controller through a first resistor in a resistor group, and is grounded in turn through the first resistor and the second resistor in the resistor group;

[0107] The determination module 910 is specifically used to detect 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 module, and the voltage generated by dividing the first resistor and the second resistor in a group of resistors.

[0108] The device also includes:

[0109] The acquisition module is used to acquire the preset quantity threshold by reading a preset general purpose input / output GPIO state value before determining whether the first quantity is not less than the preset quantity threshold.

[0110] Corresponding to the above-mentioned device embodiment, a computer-readable storage medium is characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the power supply controller, any of the above-mentioned power supply control method steps provided in the embodiment of the present invention is implemented.

[0111] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0112] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0113] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. An electronic device, characterized in that: 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 to detect the number of power modules connected to the electronic device as a first number; determine whether the first number is not less than a preset number threshold; if it is determined that the first number is not less than the preset number threshold, send a power supply control signal to the power module; The preset number threshold is set in advance according to the power consumption of the electronic device; The power module is used to supply power to the electronic device after receiving the power supply control signal, so as to avoid the output power consumption of the power module being insufficient to support the power consumption of the electronic device, causing the power module to enter the OCP protection mode; The power supply control circuit also includes a DC chopper; each power supply module includes a first power supply; The first power supply of the power supply module is electrically connected to the power supply controller through the DC chopper; The DC chopper is used to convert the first voltage output by the first power supply of the power module into a second voltage to supply power to the power supply controller; Each power module also includes a second power supply; The power module is used to turn on the second power supply after receiving the power supply control signal, and use the second power supply to power the electronic device; 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 supply module corresponds to a different resistor group; The first power supply of each power module is electrically connected to the power supply controller through the first resistor in a resistor group, and is grounded through the first resistor and the second resistor in the resistor group in sequence; The power supply controller is used to detect the number of power modules connected to the electronic device by detecting the number of third voltages received, wherein each third voltage is: the first voltage output by the first power supply of each power module, and the voltage generated by dividing the first resistor and the second resistor in a group of resistors.

2. The electronic device according to claim 1, characterized in that: 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 via a diode.

3. The electronic device according to any one of claims 1 to 2, characterized in that: The power supply controller obtains the preset quantity threshold by reading a preset general purpose input / output GPIO state value.

4. The electronic device according to any one of claims 1 to 2, characterized in that: The power supply control signal is a power on signal in a low level form.

5. A power supply control method, characterized in that: Applied to a power supply controller, the power supply controller is provided in a power supply control circuit provided in an electronic device, the method comprises: Detecting the number of power modules connected to the electronic device as a first number; judging whether the first number is not less than a preset number threshold; the preset number threshold is set in advance according to the power consumption of the electronic device; if it is judged that the first number is not less than the preset number threshold, sending a power supply control signal to the power module, so that the power module supplies power to the electronic device after receiving the power supply control signal, so as to avoid the output power consumption of the power module being insufficient to support the power consumption of the electronic device, causing the power module to enter the OCP protection mode; The power supply control circuit also includes a DC chopper; each power supply module includes a first power supply; the first power supply of the power supply module is electrically connected to the power supply controller through the DC chopper; the DC chopper is used to convert the first voltage output by the first power supply of the power supply module into a second voltage to supply power to the power supply controller; Each power module also includes a second power supply; sending a power supply control signal to the power module so that the power module powers the electronic device after receiving the power supply control signal includes: sending a power supply control signal to the power module so that the power module turns on the second power supply after receiving the power supply control signal, and uses the second power supply to power the electronic device; 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 supply module corresponds to a different resistor group; the first power supply of each power supply module is electrically connected to the power supply controller through a first resistor in a resistor group, and is grounded in turn through the first resistor and the second resistor in the resistor group; The step of detecting the number of power modules connected to the electronic device comprises: The number of power modules connected to the electronic device is detected by detecting the number of received third voltages, wherein each third voltage is: a first voltage output by a first power supply of each power module, a voltage generated by voltage division by a first resistor and a second resistor in a resistor group.

6. The method according to claim 5, characterized in that Before the step of determining whether the first quantity is not less than a preset quantity threshold, the method further includes: The preset quantity threshold is obtained by reading a preset general purpose input / output GPIO state value.

7. A power supply control device, characterized in that: A power supply controller used in a power supply control circuit provided in an electronic device, the device comprising: A determination module, used for detecting the number of power modules connected to the electronic device as a first number; A judging module, for judging whether the first quantity is not less than a preset quantity threshold; the preset quantity threshold is pre-set according to the power consumption of the electronic device; if it is judged that the first quantity is not less than the preset quantity threshold, triggering a sending module; The sending module is used 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, so as to avoid the output power consumption of the power supply module being insufficient to support the power consumption of the electronic device, causing the power supply module to enter the OCP protection mode; The power supply control circuit also includes a DC chopper; each power supply module includes a first power supply; the first power supply of the power supply module is electrically connected to the power supply controller through the DC chopper; the DC chopper is used to convert the first voltage output by the first power supply of the power supply module into a second voltage to supply power to the power supply controller; Each power module also includes a second power supply; sending a power supply control signal to the power module so that the power module powers the electronic device after receiving the power supply control signal includes: sending a power supply control signal to the power module so that the power module turns on the second power supply after receiving the power supply control signal, and uses the second power supply to power the electronic device; 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 supply module corresponds to a different resistor group; the first power supply of each power supply module is electrically connected to the power supply controller through a first resistor in a resistor group, and is grounded in turn through the first resistor and the second resistor in the resistor group; The determination module is specifically used to detect the number of power modules connected to the electronic device by detecting the number of received third voltages, wherein each third voltage is: a first voltage output by a first power supply of each power module, a voltage generated by voltage division by a first resistor and a second resistor in a resistor group.

8. The device according to claim 7, characterized in that The device also includes: The acquisition module is used to acquire the preset quantity threshold by reading a preset general purpose input / output GPIO state value before determining whether the first quantity is not less than the preset quantity threshold.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the power supply controller, the power supply control method steps described in any one of claims 5-6 are implemented.

Citation Information

Patent Citations

  • Power supply system with control of number of fully operational supplies for energy efficiency

    US20030080624A1