Power supply system and power supply method for Ethernet power supply
By using the micro control unit in the Ethernet power supply system to calculate static and dynamic allocation of remaining power, and dynamically adjust the power supply mode, the problem of difficulty in balancing safety, accuracy and high efficiency in the existing technology is solved, and a safe, correct and efficient solution is achieved. of power supply.
Patent Information
- Application Number
- CN202010153171.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-06
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-03-06
AI Technical Summary
It is difficult to provide a power supply mode that simultaneously takes into account safety, accuracy, and high efficiency in Ethernet power supply with the existing technology.
By introducing a micro control unit (MCU) and memory into the power supply system, the static allocation of residual power and the dynamic allocation of residual power are calculated, the power consumption of the electrical device is compared, the power supply mode is dynamically adjusted, and the static power supply program or the dynamic power supply program is executed. Ensure safe and efficient power supply.
It realizes safe, correct and efficient power supply in Ethernet network power supply, adjusts the power supply mode in real time according to different power consumption conditions, and improves the flexibility and efficiency of power supply.
Smart Images

Figure CN113363986B
Abstract
Description
Technical Field
[0001] The present invention relates to a power supply system and a power supply method thereof, and in particular to a power supply system and a power supply method thereof for Power over Ethernet. Background Art
[0002] In order to improve the flexibility of network equipment, Power over Ethernet (PoE) technology has been developed. Specifically, the PoE architecture is mainly composed of power supply equipment (PSE) and powered devices (PD). PoE technology is mainly based on network cables, with PSE transmitting data signals to PD and providing the DC power required by PD.
[0003] PoE technology has many advantages, such as: compatibility with existing structured cabling methods; eliminating the construction and maintenance costs of additional power supply equipment, reducing costs; flexible deployment without being restricted by equipment location; high support for standard and non-standard equipment; and centralized power supply and management, with higher security.
[0004] In order to make PoE technology more popular, how to safely, correctly and quickly power PD is an important goal of PoE technology. In the prior art, there is no PoE power supply mode that can take into account safety, correctness and high efficiency at the same time. Summary of the invention
[0005] The object of the present invention is to provide a power supply method for Power over Ethernet (PoE), comprising: calculating the statically allocated surplus power and the dynamically allocated surplus power of a power supply system, wherein the power supply system comprises at least one power sourcing equipment (PSE); comparing the first power consumption of a first PD of at least one powered device (PD) with the statically allocated surplus power and the dynamically allocated surplus power, wherein: when the first power consumption is less than or equal to the statically allocated surplus power and the first power consumption is less than or equal to the dynamically allocated surplus power, executing a static power supply procedure; and when the first power consumption is greater than the statically allocated surplus power and the first power consumption is less than or equal to the dynamically allocated surplus power, executing a dynamic power supply procedure.
[0006] The present invention further provides a power supply system, comprising a micro control unit (MCU) and a memory. The memory stores a program, and after the program is executed, the MCU is caused to: calculate the statically allocated residual power and the dynamically allocated residual power of at least one PSE; compare the first power consumption of the first PD of at least one PD with the statically allocated residual power and the dynamically allocated residual power, wherein: when the first power consumption is less than or equal to the statically allocated residual power and the first power consumption is less than or equal to the dynamically allocated residual power, execute the static power supply program; and when the first power consumption is greater than the statically allocated residual power and the first power consumption is less than or equal to the dynamically allocated residual power, execute the dynamic power supply program. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] The embodiments of the present invention will be best understood by reading the following detailed description in conjunction with the accompanying drawings. It should be noted that various features may not be drawn to scale. In fact, the size of various features may be arbitrarily increased or reduced for the sake of clarity of discussion.
[0008] Figure 1 is a block diagram of a power supply system according to some embodiments of the present invention.
[0009] Figure 2 FIG. 1 is a schematic diagram of the operation of a power supply system according to some embodiments of the present invention.
[0010] FIG. 3A to FIG. 3D The present invention is a flowchart of a power supply method according to some embodiments of the present invention. DETAILED DESCRIPTION
[0011] Embodiments of the present invention are discussed in more detail below. However, it should be understood that the present invention provides many applicable concepts that can be embodied in a wide variety of specific contexts. The specific embodiments discussed are merely illustrative and do not limit the scope of the present invention.
[0012] In order to safely, correctly and efficiently perform Power over Ethernet (PoE), the present invention provides a power supply system and a power supply method, which can adjust the power supply mode in real time according to different power consumption conditions.
[0013] See also Figure 1 , which is a block diagram of a power supply system 10 according to some embodiments of the present invention. The power supply system 10 includes a micro control unit (MCU) 101 and a memory 103. The MCU 101 and the memory 103 are electrically connected via a bus 109. Through the bus 109, the MCU 101 can execute a program PG stored in the memory 103. When the program PG is executed, the MCU 101 executes a power supply function for PoE. The related power supply function will be further described below.
[0014] Please refer to Figure 2 In some embodiments, the power supply system 10 is connected to a plurality of power supply equipment (Power Sourcing Equipment, PSE) 20 to manage and control the PSE 20. Each PSE 20 has a PSE chip and at least one power supply interface to connect to a powered device (Powered Device, PD) 30 and control the power supply to the PD. In some embodiments, the power supply system 10 is connected to a plurality of power supply equipment (Power Sourcing Equipment, PSE) 20 to manage and control the PSE 20. Each PSE 20 has a PSE chip and at least one power supply interface to connect to a powered device (Powered Device, PD) 30 and control the power supply to the PD. 2 The PSE 20 is connected to the PD 30 through a PoE network cable.
[0015] In some embodiments, PSE 20 includes PSE 20a. To facilitate understanding of the technology of the present invention, PSE 20a will be used as an example for explanation below, but it is not used to limit the implementation scheme of the present invention. Specifically, PSE 20a has multiple power supply interfaces. After program PG is executed, MCU 101 first scans multiple power supply interfaces of PSE 20a and detects whether PD 30 connected to PSE 20a is requesting power. In these embodiments, MCU 101 detects that PD 30a connected to one of the power supply interfaces has a power demand. Then, MCU 101 calculates a statically allocated remaining power and a dynamically allocated remaining power of PSE 20a.
[0016] In some embodiments, the statically allocated surplus power is a total power supply of the PSE 20a minus the power statically allocated to the power supply interface. For example, when the total power supply of the PSE 20a is X watts, and the fixed static powers allocated to the two power supply interfaces are Y watts and Z watts respectively, the statically allocated surplus power is X minus Y and Z.
[0017] In some embodiments, the dynamically allocated surplus power is a total power supply of the PSE 20a minus the power actually consumed by the power supply interface. For example, when the total power supply of the PSE 20a is X watts, and the total power actually consumed by all power supply interfaces in real time is W watts, the dynamically allocated surplus power is X minus W.
[0018] Next, the MCU 101 selects a PD 30a with a power supply requirement from the power supply interface of the PSE 20a, and determines whether the configuration setting of the PD 30a allows power supply. In some embodiments, the configuration setting of the PD 30a may be stored in the connected PSE 20a, or may be stored in the memory 103. If the configuration setting of the PD 30a does not allow power supply, the MCU 101 selects the next PD 30 with a power supply requirement to determine the configuration setting. If the configuration setting of the PD 30a allows power supply, the MCU 101 further compares the power consumption of the PD 30a with the statically allocated surplus power and the dynamically allocated surplus power to determine the power supply method.
[0019] Specifically, when MCU 101 determines that the power consumption of PD 30a is less than or equal to the statically allocated surplus power and the power consumption of PD 30a is less than or equal to the dynamically allocated surplus power, it indicates that the statically allocated surplus power is still sufficient to support the power consumption of PD 30a. Therefore, MCU 101 executes a static power supply procedure.
[0020] When MCU 101 determines that the power consumption of PD 30a is greater than the statically allocated surplus power and the power consumption of PD 30a is less than or equal to the dynamically allocated surplus power, it means that the statically allocated surplus power is insufficient to support the power consumption of PD 30a, but the dynamically allocated surplus power is still sufficient to support the power consumption of PD 30a. Therefore, MCU 101 executes a dynamic power supply procedure.
[0021] When MCU 101 determines that the power consumption of PD 30a is greater than the statically allocated surplus power and the power consumption of PD 30a is greater than the dynamically allocated surplus power, it means that both the statically allocated surplus power and the dynamically allocated surplus power are insufficient to support the power consumption of PD 30a. Therefore, MCU 101 executes a power supply prohibition procedure.
[0022] In some embodiments, the static power supply procedure executed by the MCU 101 further includes the following steps. First, a PD 30 (e.g., PD 30a or PD 30b) with a power supply requirement is selected from the power supply interface of the PSE 20a, and it is determined whether the configuration setting of the selected PD 30 allows power supply. If not, the selected PD 30 is added to a prohibited power supply list, and a configuration determination is performed for the next PD 30 with a power supply requirement.
[0023] On the other hand, if the configuration setting of the selected PD 30 allows power supply, the power consumption of the selected PD 30 is accumulated to a total power consumption. Then, the total power consumption is compared with the statically allocated remaining power. When the total power consumption is less than or equal to the statically allocated remaining power, the selected PD 30 is added to a power supply list. When the total power consumption is greater than the statically allocated remaining power, the selected PD 30 is added to a prohibited power supply list.
[0024] Finally, after selecting and judging the PD 30 connected to the PSE 20a in sequence, the MCU 101 controls the PSE 20a to perform static power supply operations on the PD 30 recorded in the power supply list. In other words, the MCU 101 controls the PSE 20a to provide the PD 30 recorded in the power supply list with the power fixedly configured for the corresponding interface of the PD 30. On the other hand, the MCU 101 controls the PSE 20a not to perform any power supply operations on the PD 30 recorded in the prohibited power supply list.
[0025] In some embodiments, the MCU 101 further includes the following steps when executing the dynamic power supply procedure. First, a time difference between a time point at which the PSE 20a previously performed power supply and a real-time time point is calculated. In other words, the time from the last time that the PSE 20a performed power supply to the present is determined. When the time difference is less than a preset power supply time interval, it indicates that the PD 30 connected to the PSE 20a may not have reached a power supply balance state, and therefore, the power supply prohibition procedure is executed.
[0026] On the other hand, when the time difference is greater than or equal to the preset power supply time interval, it means that the PD 30 connected to the PSE 20a has reached a power supply balance state, and the following dynamic power supply procedure is further performed. First, a PD 30 (for example, PD 30a or PD 30b) with power supply demand is selected from the power supply interface of the PSE 20a, and it is determined whether the configuration setting of the selected PD 30 allows power supply. If not, the selected PD 30 is added to the prohibited power supply list, and the configuration setting determination is performed for the next PD 30 with power supply demand.
[0027] On the other hand, if the configuration setting of the selected PD 30 allows power supply, the power consumption of the selected PD 30 is accumulated to a total power consumption. Then, the total power consumption is compared with the dynamically allocated remaining power. When the total power consumption is less than or equal to the dynamically allocated remaining power, the selected PD 30 is added to the power supply list. When the total power consumption is greater than the dynamically allocated remaining power, the selected PD 30 is added to the prohibited power supply list.
[0028] Finally, after selecting and judging the PD 30 connected to the PSE 20a in sequence, the MCU 101 controls the PSE 20a to perform dynamic power supply operations on the PD 30 recorded in the power supply list. In other words, the MCU 101 controls the PSE 20a to provide the PD 30 recorded in the power supply list with the power dynamically configured for the corresponding interface of the PD 30 according to the different requirements of the PD 30. On the other hand, the MCU 101 controls the PSE 20a not to perform any power supply operations on the PD 30 recorded in the prohibited power supply list.
[0029] Some embodiments of the present invention include a power supply method for PoE, the flow chart of which is as follows: FIG. 3A to FIG. 3D The power supply method of these embodiments is implemented by a power supply system (such as the power supply system 10 of the above-mentioned embodiment). The power supply system is connected to at least one PSE. The detailed operation of the method is as follows.
[0030] First, execute step S301 to scan at least one power supply interface of the PSE. Execute step S302 to detect that a PD is connected to at least one power supply interface. Execute step S303 to determine whether the PD connected to at least one power supply interface has a power supply demand. Execute step S304 to calculate a statically allocated surplus power and a dynamically allocated surplus power of the PSE.
[0031] Next, execute step S305 to select a PD connected to at least one of the power supply interfaces. Execute step S306 to determine whether the configuration setting corresponding to the selected PD allows power supply. If not, re-execute step S305 to select the next PD. If yes, execute step S307 to determine the power consumption of the selected PD.
[0032] Then, execute step S308 to determine whether the power consumption of the selected PD is less than or equal to the statically allocated remaining power and less than or equal to the dynamically allocated remaining power. If so, execute step S309 to execute a static power supply procedure. If not, execute step S310 to determine whether the power consumption of the selected PD is greater than the statically allocated remaining power and less than or equal to the dynamically allocated remaining power. If so, execute step S311 to execute a dynamic power supply procedure. If not, execute step S312 to execute a power supply prohibition procedure.
[0033] In the static power supply procedure, execute step S313 to initialize a total power consumption of the PSE (for example, to reset the total power consumption to zero). Execute step S314 to select a PD connected to at least one of the power supply interfaces. Execute step S315 to determine whether the configuration setting corresponding to the selected PD allows power supply. If not, execute step S316 to add the selected PD to a prohibited power supply list, and execute step S314 to select the next PD.
[0034] If the configuration setting corresponding to the selected PD allows power supply, execute step S317 to add the power consumption of the selected PD to the total power consumption. Execute step S318 to determine whether the total power consumption is less than or equal to the statically allocated remaining power. If so, execute step S319 to add the selected PD to a power supply list, and execute step S314 to select the next PD. If not, execute step S316 to add the selected PD to a prohibited power supply list, and execute step S314 to select the next PD.
[0035] Finally, after selecting and judging the PDs connected to the PSE in sequence, the power supply system controls the PSE to perform static power supply operations on the PDs recorded in the power supply list. In other words, the power supply system controls the PSE to provide the PDs recorded in the power supply list with the power of the fixed configuration of their corresponding interfaces. On the other hand, the power supply system controls the PSE not to perform any power supply operations on the PDs recorded in the prohibited power supply list.
[0036] In the dynamic power supply procedure, execute step S320 to calculate whether a time difference between a general power supply time point and a real-time time point is greater than or equal to a preset power supply time interval. If not, execute step S321 to execute the power supply prohibition procedure. If yes, execute step S322 to initialize a total power consumption of the PSE (for example, to reset the total power consumption to zero). Execute step S323 to select a PD connected to at least one of the power supply interfaces. Execute step S324 to determine whether the configuration setting corresponding to the selected PD allows power supply. If not, execute step S325 to add the selected PD to a prohibited power supply list, and execute step S323 to select the next PD.
[0037] If the configuration setting corresponding to the selected PD allows power supply, execute step S326 to add the power consumption of the selected PD to the total power consumption. Execute step S327 to determine whether the total power consumption is less than or equal to the dynamically allocated remaining power. If so, execute step S328 to add the selected PD to the power supply list, and execute step S323 to select the next PD. If not, execute step S325 to add the selected PD to the prohibited power supply list, and execute step S323 to select the next PD.
[0038] Finally, after selecting and judging the PDs connected to the PSE in sequence, the power supply system controls the PSE to perform dynamic power supply operations on the PDs recorded in the power supply list. In other words, the power supply system controls the PSE to provide the power dynamically configured for the corresponding interface to the PDs recorded in the power supply list according to the different needs of the PDs. On the other hand, the power supply system controls the PSE not to perform any power supply operations on the PDs recorded in the prohibited power supply list.
[0039] It should be noted that in some embodiments, in the aforementioned power supply system, the micro control unit includes a central processing unit (CPU) and other logic circuits that can execute operations and instructions, and the memory includes a non-volatile memory, which is not used to limit the implementation scheme of the hardware components of the present invention.
[0040] The present invention may be implemented in any suitable form, including hardware, software, firmware or any combination thereof. At least part of the present invention may be selectively implemented as computer software running on one or more data processors and / or digital signal processors or configurable module components (e.g., FPGA).
[0041] The above description briefly presents the features of certain embodiments of the present invention, so that those with ordinary knowledge in the technical field to which the present invention belongs can more fully understand the various schemes of the content of the present invention. Those with ordinary knowledge in the technical field to which the present invention belongs should understand that they can easily use the content of the present invention as a basis to design or change other processes and structures to achieve the same purpose and / or achieve the same advantages as the embodiment here. Those with ordinary knowledge in the technical field to which the present invention belongs should understand that these equal embodiments still belong to the spirit and scope of the content of the present invention, and they can be variously changed, replaced and modified without deviating from the spirit and scope of the content of the present invention.
[0042]
Explanation of symbols
[0043] 10 Power supply system
[0044] 101 MCU
[0045] 103 Memory
[0046] 109 Bus
[0047] PG Program
[0048] 20 PSE
[0049] 20a PSE
[0050] 30 PD
[0051] 30a, 30b PD
[0052] Steps S301 to S328.
Claims
1. A power supply method for Ethernet power supply, comprising: Calculate a statically allocated surplus power and a dynamically allocated surplus power of a power supply device; wherein, The statically allocated surplus power is a total power supply power of the power supply device minus the power statically allocated to at least one power supply interface; the dynamically allocated surplus power is a total power supply power of the power supply device minus the power actually consumed by at least one power supply interface; A first power consumption of a first power consumption device of at least one power consumption device is compared with the statically allocated surplus power and the dynamically allocated surplus power, wherein: When the first power consumption is less than or equal to the statically allocated surplus power and the first power consumption is less than or equal to the dynamically allocated surplus power, executing a static power supply procedure; and When the first power consumption is greater than the statically allocated surplus power and the first power consumption is less than or equal to the dynamically allocated surplus power, a dynamic power supply procedure is executed.
2. The power supply method according to claim 1, further comprising: When the first power consumption is greater than the statically allocated surplus power and the first power consumption is greater than the dynamically allocated surplus power, a power supply prohibition procedure is executed.
3. The power supply method according to claim 1, wherein: Executing the static power supply procedure also includes: Accumulating a second power consumption of a second electrical device of the at least one electrical device into a total power consumption; The total consumed power is compared with the statically allocated remaining power, where: When the total power consumption is less than or equal to the statically allocated remaining power, adding the second electrical device to a power supply list; and When the total power consumption is greater than the statically allocated remaining power, the second electrical device is added to a prohibited power supply list.
4. The power supply method according to claim 1, wherein: Executing the dynamic power supply program also includes: Calculate a time difference between a total power supply time point and a real time point, where: When the time difference is less than a preset power supply time interval, a power supply prohibition procedure is executed.
5. The power supply method according to claim 4, wherein: When the time difference is greater than or equal to the preset power supply time interval, executing the dynamic power supply program further includes: Accumulating a second power consumption of a second electrical device of the at least one electrical device into a total power consumption; The total consumed power is compared with the dynamically allocated remaining power, where: When the total power consumption is less than or equal to the dynamically allocated remaining power, adding the second electrical device to a power supply list; and When the total power consumption is greater than the dynamically allocated remaining power, the second electrical device is added to a prohibited power supply list.
6. The power supply method according to claim 1, further comprising: Scanning at least one power supply interface of the power supply device; and It is detected that one of the at least one power supply interface is connected to the first electrical device.
7. The power supply method according to claim 6, further comprising: Determine whether a corresponding configuration setting of the first electrical device allows power supply.
8. A power supply system for Power over Ethernet, comprising: a micro control unit; and A memory for storing a program, wherein: After the program is executed, the microcontroller unit is prompted to perform the following: Calculate a statically allocated surplus power and a dynamically allocated surplus power of a power supply device; wherein the statically allocated surplus power is a total power supply power of the power supply device minus the power statically allocated to at least one power supply interface; and the dynamically allocated surplus power is a total power supply power of the power supply device minus the power actually consumed by at least one power supply interface; A first power consumption of a first power consumption device of at least one power consumption device is compared with the statically allocated surplus power and the dynamically allocated surplus power, wherein: When the first power consumption is less than or equal to the statically allocated surplus power and the first power consumption is less than or equal to the dynamically allocated surplus power, executing a static power supply procedure; and When the first power consumption is greater than the statically allocated surplus power and the first power consumption is less than or equal to the dynamically allocated surplus power, a dynamic power supply procedure is executed.
