CA2949613C - Poe-based power supply method and pse - Google Patents
Poe-based power supply method and pse Download PDFInfo
- Publication number
- CA2949613C CA2949613C CA2949613A CA2949613A CA2949613C CA 2949613 C CA2949613 C CA 2949613C CA 2949613 A CA2949613 A CA 2949613A CA 2949613 A CA2949613 A CA 2949613A CA 2949613 C CA2949613 C CA 2949613C
- Authority
- CA
- Canada
- Prior art keywords
- network cable
- pse
- power consumption
- determining
- load power
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/10—Current supply arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
- H04L12/40045—Details regarding the feeding of energy to the node from the bus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Dc Digital Transmission (AREA)
- Communication Control (AREA)
Abstract
The present invention discloses a PoE-based power supply method and PSE. The method includes: after PSE supplies power to a PD, determining, by the PSE, a line voltage drop across a network cable between the PSE and the PD; and when the line voltage drop across the network cable is greater than a line voltage drop threshold, sending, by the PSE, a first Ethernet packet to the PD, so that the PD decreases load of the PD according to instruction information instructing the PD to decrease load power consumption and included in the first Ethernet packet. This ensures that a voltage received by the PD can satisfy a power requirement of the load of the PD, and further ensures that the PD can work normally.
Description
POE-BASED POWER SUPPLY METHOD AND PSE
TECHNICAL FIELD
[0001] The present invention relates to the field of communications technologies, and in particular, to a PoE-based power supply method and PSE.
BACKGROUND
TECHNICAL FIELD
[0001] The present invention relates to the field of communications technologies, and in particular, to a PoE-based power supply method and PSE.
BACKGROUND
[0002] The Power over Ethernet (PoE) technology refers to that power is supplied to a terminal by using an Ethernet, which can effectively resolve power supply issues for terminals such as an Internet Protocol (IP) telephone, a portable device charger, a card reader, a camera, and a data collector. For these terminals, cabling of a power system is no longer an issue to be considered, and power is supplied to the devices once they are connected to a network. A PoE
system includes power sourcing equipment (PSE) and a powered device (PD). The PSE is configured to supply power to the PD.
system includes power sourcing equipment (PSE) and a powered device (PD). The PSE is configured to supply power to the PD.
[0003] With the development of PoE technologies and the improvement of PoE standards, more types of devices support remote power supply, and loads of the devices are not completely the same. However, in a PoE-related standard, an output voltage of PSE is generally fixed, for example, 53.5 volts (V). When a line voltage drop is excessively large because of a relatively long network cable or a relatively high transmission power between the PSE and a PD, a voltage received by the PD cannot be satisfactory, which further affects normal working of the PD.
SUMMARY
SUMMARY
[0004] This application provides a PoE-based power supply method and PSE, to resolve a problem that when an output voltage of PSE is a fixed value, a voltage received by a PD cannot be satisfactory because of an excessively large line voltage drop across a network cable between the PSE and the PD, which further affects normal working of the PD.
100051 According to a first aspect, a PoE-based power supply method is provided, including:
after power sourcing equipment PSE supplies power to a PD, determining, by the PSE, a line voltage drop across a network cable between the PSE and the PD;
and when the line voltage drop across the network cable is greater than a line voltage drop threshold, sending, by the PSE, a first Ethernet packet to the PD, where the first Ethernet .. packet includes instruction information instructing the PD to decrease load power consumption.
[0006] By using the foregoing method, when a line voltage drop across a network cable between PSE and a PD is greater than a line voltage drop threshold, the PSE
performs power control management for the PD to make the PD decrease load power consumption.
In this way.
the PD decreases its load, and a value of a required voltage is decreased.
Therefore, a voltage supplied by the PSE to the PD can satisfy a power requirement of the PD, which ensures normal working of the PD and avoids occurrence of a power failure.
[0007] With reference to the first aspect, in a first possible implementation manner, the determining, by the PSE, the line voltage drop across the network cable includes:
determining, by the PSE, impedance of the network cable before supplying power to the PD; detelmining, by the PSE, a current in the network cable after supplying power to the PD; and using a product of the current in the network cable and the impedance of the network cable as the line voltage drop across the network cable; or detecting, by the PSE, a voltage between two ends of the PD, and using a difference between an output voltage outputted by the PSE to the PD and the voltage between the two ends of the PD as the line voltage drop across the network cable; or determining, by the PSE, an output power of the PSE, load power consumption of the PD, and current in the network cable, and using a quotient of a difference between the output power of the PSE and the load power consumption of the PD divided by the current, as the line voltage drop across the network cable.
[0008] With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the determining, by the PSE, .. impedance of the network cable includes:
determining, by the PSE, a length of the network cable, and determining a network cable category of the network cable;
determining, by the PSE, according to the network cable category, impedance per unit length corresponding to the network cable category; and using a product of the impedance per unit length and the length of the network cable as the impedance of the network cable; where the deteimining, by the PSE, a network cable category of the network cable includes:
detecting, by the PSE, signal-to-noise ratios (SNRs) of the network cable under multiple output powers, and determining a first correspondence between output powers and SNRs of the network cable; and determining, by the PSE, the network cable category of the network cable according to correspondences between output powers and SNRs of various network cable categories, and the first correspondence.
[0009] With reference to any one of the first aspect and the first and second possible implementation manners of the first aspect, in a third possible implementation manner of the first aspect, the method further includes:
sending, by the PSE, a first voltage impulse to the PD, and detecting a second voltage impulse received by the PD;
determining, by the PSE, a network cable insertion loss of the network cable according to the first voltage impulse and the second voltage impulse;
determining, by the PSE, according to a correspondence between insertion losses and temperatures, a network cable temperature corresponding to the network cable insertion loss of the network cable; and when the PSE determines that the network cable temperature is greater than a network cable temperature threshold, sending, by the PSE, a second Ethernet packet to the PD, where the second Ethernet packet includes instruction information instructing the PD to decrease load power consumption.
[0010] By using the foregoing method, the PSE may further monitor a network cable temperature in real time. When the network cable temperature reaches a network cable temperature threshold, power control management is also performed for the PD
to make the PD
decrease load power consumption. In this way. a value of a voltage required by the PD is decreased, ensuring that the network cable temperature is not further deteriorated, and ensuring working reliability of a network cable as well as safety of an entire PoE-based network.
100111 With reference to any one of the first to third possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, before the PSE
supplies power to the PD, the method further includes:
detecting, by the PSE, current load power consumption of the PD, and grading the PD according to the detected current load power consumption of the PD to determine a class of the PD;
determining, according to the class of the PD, maximum-load power consumption of the PD and a maximum output voltage outputted by the PSE to the PD; and determining a current overload threshold for the network cable according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage, where the current overload threshold is used by the PSE to control power supply for the PD.
[0012] By using the foregoing method, in a process of supplying power to each PD, the PSE sets a current overload threshold according to impedance of a corresponding network cable and maximum-load power consumption of the PD. Different current overload thresholds are set for network cables having different impedance. This greatly reduces risks of an overloaded port of the PSE caused by current imbalance among network cables which further leads to power-off of a PD, ensuring working reliability of the PD.
[0013] With reference to the second possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, before the PSE sends the first Ethernet packet to the PD, the method further includes: determining, by the PSE, a current change rate of the network cable, where the current change rate is used to indicate a change rate threshold of load power consumption of the PD; and accordingly, the first Ethernet packet further includes the current change rate of the network cable; where the determining, by the PSE, a current change rate of the network cable specifically includes:
determining, by the PSE, maximum communication bandwidth corresponding to the network cable category of the network cable;
determining, by the PSE, a noise voltage threshold of the network cable according to a port rate of the PSE, the maximum communication bandwidth, and the output voltage outputted by the PSE to the PD;
after the PSE outputs the voltage to the PD, adjusting, by the PSE, a voltage value of the output voltage according to a specified unit time, and measuring a noise voltage of the network cable after each voltage adjustment, till a measured noise voltage of the network cable is equal to the noise voltage threshold; and determining, by the PSE, a current change rate of the network cable within the specified unit time in a last adjustment process.
[0014] By using the foregoing method, before instructing the PD to decrease load power consumption, the PSE determines a current change rate of the network cable, that is, a change rate threshold of load power consumption of the PD, and sends the current change rate of the network cable to the PD by using the first Ethernet packet, so that when the PD adjusts load
100051 According to a first aspect, a PoE-based power supply method is provided, including:
after power sourcing equipment PSE supplies power to a PD, determining, by the PSE, a line voltage drop across a network cable between the PSE and the PD;
and when the line voltage drop across the network cable is greater than a line voltage drop threshold, sending, by the PSE, a first Ethernet packet to the PD, where the first Ethernet .. packet includes instruction information instructing the PD to decrease load power consumption.
[0006] By using the foregoing method, when a line voltage drop across a network cable between PSE and a PD is greater than a line voltage drop threshold, the PSE
performs power control management for the PD to make the PD decrease load power consumption.
In this way.
the PD decreases its load, and a value of a required voltage is decreased.
Therefore, a voltage supplied by the PSE to the PD can satisfy a power requirement of the PD, which ensures normal working of the PD and avoids occurrence of a power failure.
[0007] With reference to the first aspect, in a first possible implementation manner, the determining, by the PSE, the line voltage drop across the network cable includes:
determining, by the PSE, impedance of the network cable before supplying power to the PD; detelmining, by the PSE, a current in the network cable after supplying power to the PD; and using a product of the current in the network cable and the impedance of the network cable as the line voltage drop across the network cable; or detecting, by the PSE, a voltage between two ends of the PD, and using a difference between an output voltage outputted by the PSE to the PD and the voltage between the two ends of the PD as the line voltage drop across the network cable; or determining, by the PSE, an output power of the PSE, load power consumption of the PD, and current in the network cable, and using a quotient of a difference between the output power of the PSE and the load power consumption of the PD divided by the current, as the line voltage drop across the network cable.
[0008] With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the determining, by the PSE, .. impedance of the network cable includes:
determining, by the PSE, a length of the network cable, and determining a network cable category of the network cable;
determining, by the PSE, according to the network cable category, impedance per unit length corresponding to the network cable category; and using a product of the impedance per unit length and the length of the network cable as the impedance of the network cable; where the deteimining, by the PSE, a network cable category of the network cable includes:
detecting, by the PSE, signal-to-noise ratios (SNRs) of the network cable under multiple output powers, and determining a first correspondence between output powers and SNRs of the network cable; and determining, by the PSE, the network cable category of the network cable according to correspondences between output powers and SNRs of various network cable categories, and the first correspondence.
[0009] With reference to any one of the first aspect and the first and second possible implementation manners of the first aspect, in a third possible implementation manner of the first aspect, the method further includes:
sending, by the PSE, a first voltage impulse to the PD, and detecting a second voltage impulse received by the PD;
determining, by the PSE, a network cable insertion loss of the network cable according to the first voltage impulse and the second voltage impulse;
determining, by the PSE, according to a correspondence between insertion losses and temperatures, a network cable temperature corresponding to the network cable insertion loss of the network cable; and when the PSE determines that the network cable temperature is greater than a network cable temperature threshold, sending, by the PSE, a second Ethernet packet to the PD, where the second Ethernet packet includes instruction information instructing the PD to decrease load power consumption.
[0010] By using the foregoing method, the PSE may further monitor a network cable temperature in real time. When the network cable temperature reaches a network cable temperature threshold, power control management is also performed for the PD
to make the PD
decrease load power consumption. In this way. a value of a voltage required by the PD is decreased, ensuring that the network cable temperature is not further deteriorated, and ensuring working reliability of a network cable as well as safety of an entire PoE-based network.
100111 With reference to any one of the first to third possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, before the PSE
supplies power to the PD, the method further includes:
detecting, by the PSE, current load power consumption of the PD, and grading the PD according to the detected current load power consumption of the PD to determine a class of the PD;
determining, according to the class of the PD, maximum-load power consumption of the PD and a maximum output voltage outputted by the PSE to the PD; and determining a current overload threshold for the network cable according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage, where the current overload threshold is used by the PSE to control power supply for the PD.
[0012] By using the foregoing method, in a process of supplying power to each PD, the PSE sets a current overload threshold according to impedance of a corresponding network cable and maximum-load power consumption of the PD. Different current overload thresholds are set for network cables having different impedance. This greatly reduces risks of an overloaded port of the PSE caused by current imbalance among network cables which further leads to power-off of a PD, ensuring working reliability of the PD.
[0013] With reference to the second possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, before the PSE sends the first Ethernet packet to the PD, the method further includes: determining, by the PSE, a current change rate of the network cable, where the current change rate is used to indicate a change rate threshold of load power consumption of the PD; and accordingly, the first Ethernet packet further includes the current change rate of the network cable; where the determining, by the PSE, a current change rate of the network cable specifically includes:
determining, by the PSE, maximum communication bandwidth corresponding to the network cable category of the network cable;
determining, by the PSE, a noise voltage threshold of the network cable according to a port rate of the PSE, the maximum communication bandwidth, and the output voltage outputted by the PSE to the PD;
after the PSE outputs the voltage to the PD, adjusting, by the PSE, a voltage value of the output voltage according to a specified unit time, and measuring a noise voltage of the network cable after each voltage adjustment, till a measured noise voltage of the network cable is equal to the noise voltage threshold; and determining, by the PSE, a current change rate of the network cable within the specified unit time in a last adjustment process.
[0014] By using the foregoing method, before instructing the PD to decrease load power consumption, the PSE determines a current change rate of the network cable, that is, a change rate threshold of load power consumption of the PD, and sends the current change rate of the network cable to the PD by using the first Ethernet packet, so that when the PD adjusts load
5 power consumption, an actual change rate of load power consumption is less than the change rate threshold of load power consumption. This ensures that a link rate is equal to a port rate of the PSE, and that no service packet loss occurs during data transmission between the PSE and the PD, thereby ensuring transmission reliability of a link.
[0015] With reference to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the noise voltage threshold makes the following formula hold true:
UN c 112 ¨1 where UN is the noise voltage threshold, U0 is the output voltage outputted by the PSE to the PD, C is the port rate of the PSE, and W is the maximum communication bandwidth.
[0016] According to a second aspect, a PSE is provided, where the PSE
implements functions of the PSE actions in the foregoing PoE-based power supply method, and the functions may be implemented by hardware, or may be implemented by means of corresponding software executed by hardware, where the hardware or software includes one or more modules corresponding to the foregoing functions.
[0017] In a possible implementation manner, the PSE includes a PSE chip, a processor, a bus, and an interface, where the PSE chip, the processor, and the interface are mutually connected by using the bus;
the PSE chip is configured to supply power to a PD;
the processor is configured to: after the PSE chip supplies power to the PD, determine a line voltage drop across a network cable between the PSE and the PD; and when the line voltage drop across the network cable is greater than a line voltage drop threshold, send a first Ethernet packet to the PD by using the interface, where the first Ethernet packet includes instruction information instructing the PD to decrease load power consumption; and
[0015] With reference to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the noise voltage threshold makes the following formula hold true:
UN c 112 ¨1 where UN is the noise voltage threshold, U0 is the output voltage outputted by the PSE to the PD, C is the port rate of the PSE, and W is the maximum communication bandwidth.
[0016] According to a second aspect, a PSE is provided, where the PSE
implements functions of the PSE actions in the foregoing PoE-based power supply method, and the functions may be implemented by hardware, or may be implemented by means of corresponding software executed by hardware, where the hardware or software includes one or more modules corresponding to the foregoing functions.
[0017] In a possible implementation manner, the PSE includes a PSE chip, a processor, a bus, and an interface, where the PSE chip, the processor, and the interface are mutually connected by using the bus;
the PSE chip is configured to supply power to a PD;
the processor is configured to: after the PSE chip supplies power to the PD, determine a line voltage drop across a network cable between the PSE and the PD; and when the line voltage drop across the network cable is greater than a line voltage drop threshold, send a first Ethernet packet to the PD by using the interface, where the first Ethernet packet includes instruction information instructing the PD to decrease load power consumption; and
6 the interface is configured to send the first Ethernet packet to the PD.
[0018] In another possible implementation marmer, the PSE includes:
a power supply unit, configured to supply power to a PD, where the PD is connected to the PSE by using a network cable;
a processing unit, configured to: after the power supply unit supplies power to the PD, determine a line voltage drop across the network cable between the PSE and the PD; and a sending unit, configured to: when the line voltage drop across the network cable is greater than a line voltage drop threshold, send a first Ethernet packet to the PD, where the first Ethernet packet includes instruction information instructing the PD to decrease load power consumption.
100191 According to a third aspect, a PoE-based power supply system is provided, where the system includes the PSE and the PD described in the foregoing aspects, and the PSE is connected to the PD by using a network cable and supplies power to the PD;
the PSE is configured to: after supplying power to the PD, determine a line voltage drop across the network cable between the PSE and the PD; and when the line voltage drop across the network cable is greater than a line voltage drop threshold, send a first Ethernet packet to the PD, where the first Ethernet packet includes instruction information instructing the PD to decrease load power consumption; and the PD is configured to accept the power supplied by the PSE; when the line voltage drop across the network cable between the PSE and the PD is greater than the line voltage drop threshold, receive the first Ethernet packet sent by the PSE; and decrease load power consumption according to the instruction information in the first Ethernet packet.
[0020] By using the PoE-based power supply method provided in the present invention, after PSE outputs a voltage to a PD, the PSE determines a line voltage drop across a network cable between the PSE and the PD, and when the line voltage drop across the network cable is greater than a line voltage drop threshold, the PSE sends a first Ethernet packet to the PD, where the first Ethernet packet includes instruction information instructing the PD to decrease
[0018] In another possible implementation marmer, the PSE includes:
a power supply unit, configured to supply power to a PD, where the PD is connected to the PSE by using a network cable;
a processing unit, configured to: after the power supply unit supplies power to the PD, determine a line voltage drop across the network cable between the PSE and the PD; and a sending unit, configured to: when the line voltage drop across the network cable is greater than a line voltage drop threshold, send a first Ethernet packet to the PD, where the first Ethernet packet includes instruction information instructing the PD to decrease load power consumption.
100191 According to a third aspect, a PoE-based power supply system is provided, where the system includes the PSE and the PD described in the foregoing aspects, and the PSE is connected to the PD by using a network cable and supplies power to the PD;
the PSE is configured to: after supplying power to the PD, determine a line voltage drop across the network cable between the PSE and the PD; and when the line voltage drop across the network cable is greater than a line voltage drop threshold, send a first Ethernet packet to the PD, where the first Ethernet packet includes instruction information instructing the PD to decrease load power consumption; and the PD is configured to accept the power supplied by the PSE; when the line voltage drop across the network cable between the PSE and the PD is greater than the line voltage drop threshold, receive the first Ethernet packet sent by the PSE; and decrease load power consumption according to the instruction information in the first Ethernet packet.
[0020] By using the PoE-based power supply method provided in the present invention, after PSE outputs a voltage to a PD, the PSE determines a line voltage drop across a network cable between the PSE and the PD, and when the line voltage drop across the network cable is greater than a line voltage drop threshold, the PSE sends a first Ethernet packet to the PD, where the first Ethernet packet includes instruction information instructing the PD to decrease
7 load power consumption. In this way, the PSE can perform power control management for the PD. After receiving the first Ethernet packet, the PD may decrease load of the PD according to the instruction information instructing the PD to decrease load power consumption, where the instruction information is included in the first Ethernet packet. This ensures that a voltage received by the PD can satisfy a power requirement of the load of the PD, and further ensures that the PD can work normally.
[0021] According to another aspect of the present invention, there is provided a power sourcing equipment (PSE), comprising: a PSE chip, configured to supply power to a powered device (PD); and a processor, configured to: after the PSE chip supplies power to the PD, determine a line voltage drop across a network cable between the PSE and the PD; and when the line voltage drop across the network cable is greater than a line voltage drop threshold, send a first Ethernet packet to the PD, wherein the first Ethernet packet comprises instruction information for instructing the PD to decrease load power consumption.
[0022] According to another aspect of the present invention, there is provided a powered device (PD), comprising: a PD chip, configured to receive power supplied by a power sourcing equipment (PSE), wherein the PD connects the PSE through a network cable; a processor, configured to receive an Ethernet packet sent by the PSE, wherein the Ethernet packet comprises a current change rate and instruction information for instructing the PD to decrease load power consumption, decrease load power consumption of the PD and ensure that a change rate of load power consumption within a unit time is less than the current change rate.
[0022a] According to another aspect of the present invention, there is provided a powered device (PD), comprising: a PD chip, configured to receive power supplied by a power sourcing equipment (PSE), wherein the PD connects the PSE through a network cable; a processor, configured to receive an Ethernet packet sent by the PSE when a line voltage drop across the network cable is greater than a line voltage drop threshold, wherein the Ethernet packet comprises a current change rate and instruction information for instructing the PD to decrease load power
[0021] According to another aspect of the present invention, there is provided a power sourcing equipment (PSE), comprising: a PSE chip, configured to supply power to a powered device (PD); and a processor, configured to: after the PSE chip supplies power to the PD, determine a line voltage drop across a network cable between the PSE and the PD; and when the line voltage drop across the network cable is greater than a line voltage drop threshold, send a first Ethernet packet to the PD, wherein the first Ethernet packet comprises instruction information for instructing the PD to decrease load power consumption.
[0022] According to another aspect of the present invention, there is provided a powered device (PD), comprising: a PD chip, configured to receive power supplied by a power sourcing equipment (PSE), wherein the PD connects the PSE through a network cable; a processor, configured to receive an Ethernet packet sent by the PSE, wherein the Ethernet packet comprises a current change rate and instruction information for instructing the PD to decrease load power consumption, decrease load power consumption of the PD and ensure that a change rate of load power consumption within a unit time is less than the current change rate.
[0022a] According to another aspect of the present invention, there is provided a powered device (PD), comprising: a PD chip, configured to receive power supplied by a power sourcing equipment (PSE), wherein the PD connects the PSE through a network cable; a processor, configured to receive an Ethernet packet sent by the PSE when a line voltage drop across the network cable is greater than a line voltage drop threshold, wherein the Ethernet packet comprises a current change rate and instruction information for instructing the PD to decrease load power
8 consumption, decrease load power consumption of the PD and ensure that a change rate of load power consumption within a unit time is less than the current change rate.
BRIEF DESCRIPTION OF DRAWINGS
[0023] FIG 1 is a schematic diagram of a PoE-based power supply system according to an embodiment of the present invention;
[0024] FIG 2 is a flowchart of a PoE-based power supply method according to an embodiment of the present invention;
[0025] FIG 3 shows correspondences between output powers and SNRs of various network 8a cable categories according to an embodiment of the present invention;
[0026] FIG 4 is a flowchart of a PoE-based power supply method according to an embodiment of the present invention;
[0027] FIG. 5 is a schematic structural diagram of PSE according to an embodiment of the present invention; and [0028] FIG 6 is a schematic structural diagram of PSE according to an embodiment of the present invention.
DESCRIPTION OF EMBODIMENTS
[0029] To make the objectives, technical solutions, and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings. Apparently, the described embodiments are merely a part rather than all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0030] The embodiments of the present invention provide a PoE-based power supply method and PSE, to resolve a problem in the prior art that, when an output voltage of PSE is fixed, a voltage received by a PD cannot be satisfactory because a line voltage drop across a network cable between the PSE and the PD is excessively large, which affects normal working of the PD. The method and the apparatus of the present invention are based on a same inventive concept. The method and the apparatus resolve a problem by using similar principles.
Therefore, mutual reference may be made for implementation of the apparatus and the method, and what is the same for both is not repeatedly described.
[0031] In the embodiments of the present invention, after PSE outputs a voltage to a PD, the PSE determines a line voltage drop across a network cable between the PSE
and the PD;
and when the line voltage drop across the network cable is greater than a line voltage drop threshold, the PSE sends a first Ethernet packet to the PD, so that after receiving the first
BRIEF DESCRIPTION OF DRAWINGS
[0023] FIG 1 is a schematic diagram of a PoE-based power supply system according to an embodiment of the present invention;
[0024] FIG 2 is a flowchart of a PoE-based power supply method according to an embodiment of the present invention;
[0025] FIG 3 shows correspondences between output powers and SNRs of various network 8a cable categories according to an embodiment of the present invention;
[0026] FIG 4 is a flowchart of a PoE-based power supply method according to an embodiment of the present invention;
[0027] FIG. 5 is a schematic structural diagram of PSE according to an embodiment of the present invention; and [0028] FIG 6 is a schematic structural diagram of PSE according to an embodiment of the present invention.
DESCRIPTION OF EMBODIMENTS
[0029] To make the objectives, technical solutions, and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings. Apparently, the described embodiments are merely a part rather than all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0030] The embodiments of the present invention provide a PoE-based power supply method and PSE, to resolve a problem in the prior art that, when an output voltage of PSE is fixed, a voltage received by a PD cannot be satisfactory because a line voltage drop across a network cable between the PSE and the PD is excessively large, which affects normal working of the PD. The method and the apparatus of the present invention are based on a same inventive concept. The method and the apparatus resolve a problem by using similar principles.
Therefore, mutual reference may be made for implementation of the apparatus and the method, and what is the same for both is not repeatedly described.
[0031] In the embodiments of the present invention, after PSE outputs a voltage to a PD, the PSE determines a line voltage drop across a network cable between the PSE
and the PD;
and when the line voltage drop across the network cable is greater than a line voltage drop threshold, the PSE sends a first Ethernet packet to the PD, so that after receiving the first
9 Ethernet packet, the PD decreases load of the PD according to instruction information instructing the PD to decrease load power consumption, where the instruction information is carried in the first Ethernet packet. This ensures that a voltage received by the PD can satisfy a power requirement of the load of the PD, and further ensures that the PD can work normally.
[0032] The PoE-based power supply method provided in the embodiments of the present is applicable to a network using a PoE technology. This application provides a PoE-based power supply system. The system includes PSE 101 and a PD. As shown in FIG 1, for example, three PDs (a PD 102, a PD 103, and a PD 104) are connected to the PSE 101.
Certainly, a terminal (not shown in the figure) other than a powered device may also be connected to the PSE 101.
This application imposes no limitation thereon.
[0033] The PSE 101 is a network device for implementing data forwarding on an Ethernet, and may be a PoE-enabled Ethernet switch, router, or another network device.
The present invention imposes no limitation thereon.
[0034] The PSE 101 includes a power source management system, and is separately connected to the PD 102, the PD 103, and the PD 104 by using standard network cables. The standard network cables include a category 5 cable (CATS), a category 5 enhanced cable, a category 6 cable (CAT6), and the like. The PSE 101 transmits a current to each PD by using the network cable to provide a voltage to the PD, so that the PD works normally, and also exchanges data with each PD by using the network cable.
[0035] The PSE 101 may further implement power planning and management.
After outputting a voltage to each PD, the PSE 101 determines a line voltage drop across a network cable between the PSE 101 and the PD. When a line voltage drop across a network cable between the PSE 101 and any PD is greater than a specified line voltage drop threshold, the PSE 101 sends, to the PD, a first Ethernet packet that carries instruction information instructing the PD to decrease load power consumption, to make the PD decrease load power consumption.
For example, when there is an internal functional module or service module that is idle or undergoes no data transmission, the PD shuts down a power source for the module.
[0036] The PD 102, the PD 103, or the PD 104 may be a terminal device such as an IP
telephone, a portable device charger, a card reader, or a camera. The PD 102, the PD 103, or the PD 104 accepts power supplied by the PSE 101, and when receiving a first Ethernet packet sent by the PSE, decreases load power consumption according to the instruction information in the first Ethernet packet.
[0037] Referring to FIG 2, FIG 2 is a flowchart of a PoE-based power supply method according to an embodiment of the present invention. The method includes:
[0038] Step 201: After PSE supplies power to a PD, the PSE determines a line voltage drop across a network cable between the PSE and the PD.
[0039] Optionally, when the PSE performs step 201, the following several manners are included:
[0040] First manner: the PSE detects a voltage between two ends of the PD, and uses a difference between an output voltage outputted by the PSE to the PD and the voltage between the two ends of the PD as the line voltage drop across the network cable.
[0041] Second manner: the PSE uses a product of current in the network cable and impedance of the network cable as the line voltage drop across the network cable.
[0042] Specifically, the PSE determines the impedance of the network cable before supplying power to the PD, and determines the current in the network cable after supplying power to the PD.
[0043] Third manner: the PSE determines an output power of the PSE, load power consumption of the PD, and current in the network cable, and uses a quotient of a difference between the output power of the PSE and the load power consumption of the PD
divided by the current, as the line voltage drop across the network cable.
[0044] In the first manner, the PSE can determine the output voltage Uo outputted by the PSE to the PD, and can detect the voltage Us between the two ends of the PD in a conventional manner. Then, the line voltage drop UR of the network cable makes a formula I
hold true:
UR =Uo Us Formula 1 [0045] In the second manner, the PSE determines the impedance R of the network cable before outputting a voltage to the PD, and determines the current I of the network cable after outputting the voltage. Then, the line voltage drop UR of the network cable makes a formula 2 hold true:
UR =R*I Formula 2 [0046] In the third manner, the PSE determines the output power Po of the PSE, the load power consumption Ps of the PD, and the current I of the network cable. Then, the line voltage drop Up of the network cable makes a formula 3 hold true:
¨ P
u _P o s Formula 3 [0047] In the second manner, the determining, by the PSE, the impedance of the network cable includes the following steps:
determining, by the PSE, a length of the network cable, and determining a network cable category of the network cable;
determining, by the PSE, according to the network cable category, impedance per unit length corresponding to the network cable category; and using a product of the impedance per unit length and the length of the network cable as the impedance of the network cable, where the impedance R of the network cable makes a formula 4 hold true:
R=r0*L Formula 4 where r0 is the impedance per unit length corresponding to the network cable category, and L is the length of the network cable.
[0048] The PSE supplies the voltage to the PD only by using one pair of wires in the network cable. Therefore, in the foregoing step, the impedance, obtained by means of calculation, of the network cable is impedance of the one pair of wires in the network cable. In this embodiment of the present invention, the impedance of the network cable is impedance of one pair of wires used to supply the voltage to the PD in the network cable.
[0049] Conventional network cables are classified into multiple network cable categories, for example, a category 5 cable (CAT5), a category 5 enhanced cable, and a category 6 cable (CAT6). Each category is further classified into an unshielded twisted pair (UTP) and a shielded twisted pair (STP). Network cable materials may be different for different network cable categories. Impedance per unit length corresponding to a different network cable material is different. Therefore, each network cable category has its corresponding impedance per unit length.
[0050] Optionally, when determining the length of the network cable, the PSE may use a virtual cable test (VCT) function to automatically detect that the length of the network cable is L.
[0051] Optionally, the determining, by the PSE, a network cable category of the network cable includes:
detecting, by the PSE, signal-to-noise ratios (SNR) of the network cable under multiple output powers, and determining a first correspondence between output powers and SNRs of the network cable: and determining, by the PSE, the network cable category of the network cable according to correspondences between output powers and SNRs of various network cable categories, and the first correspondence.
[0052] The correspondences between output powers and SNRs of the various network cable categories are shown in FIG 3. FIG. 3 shows correspondences between output powers and SNRs of various network cable categories in a condition that a network cable length stays unchanged. Each line in the figure represents a correspondence between output powers and SNRs of one network cable category. A correspondence between output powers and SNRs of each network cable category may also be represented by using a slope of an oblique line corresponding to the network cable category. The present invention imposes no limitation thereon.
[0053] Step 202: When the line voltage drop across the network cable is greater than a line voltage drop threshold, the PSE sends a first Ethernet packet to the PD, where the first Ethernet packet includes instruction information instructing the PD to decrease load power consumption.
[0054] The instruction information may be an indicator; or may be a flag in the first Ethernet packet, where the flag has been assigned a value by the PSE; or may be other data included in the first Ethernet packet. The instruction information is used to instruct the PD how to decrease load power consumption, for example, to shut down a specified functional module or service module. Optionally, the first Ethernet packet may further include cause information for instructing the PD to decrease load power consumption, that is, information notifying the PD that the line voltage drop across the network cable is greater than the line voltage drop threshold.
[0055] In the PoE standard, a voltage outputted by PSE to any PD is fixed, for example, 53.5V. Generally, when a voltage between two ends of a PD is less than 42.5V.
the PD cannot work normally. Therefore, a line voltage drop across a network cable between the PSE and the PD should be less than a difference between the fixed value and 42.5V. For example, when the voltage outputted by the PSE to the PD is 53.5V, in step 202, the line voltage drop threshold may be set to 11V.
[0056] By using the foregoing steps, when a line voltage drop across a network cable between PSE and a PD is greater than a line voltage drop threshold, the PSE
performs power control management for the PD. That is, the PSE sends, to the PD, a first Ethernet packet that carries instruction information instructing the PD to decrease load power consumption, to make the PD decrease load power consumption. For example, when there is an internal functional module or service module that is idle or undergoes no data transmission, the PD shuts down a power source for the module. In this way, the PD decreases its load, and a value of a required voltage is decreased, so that a voltage supplied by the PSE to the PD can satisfy a power requirement of the PD, which ensures normal working of the PD and avoids occurrence of a power failure.
[0057] Optionally, the method further includes:
sending, by the PSE, a first voltage impulse to the PD. and detecting a second voltage impulse received by the PD;
determining, by the PSE, a network cable insertion loss of the network cable according to the first voltage impulse and the second voltage impulse;
determining, by the PSE, according to a correspondence between insertion losses and temperatures, a network cable temperature corresponding to the network cable insertion loss of the network cable; and when the PSE determines that the network cable temperature is greater than a network cable temperature threshold, sending, by the PSE, a second Ethernet packet to the PD, where the second Ethernet packet includes instruction information instructing the PD to decrease load power consumption, and the network cable temperature threshold may be set according to a requirement of a residence environment or network deployment, for example, to 60 degrees Celsius.
[0058] The network cable insertion loss of the network cable makes a formula 5 hold true:
IL-201g (1-1) Formula 5 us where IL is the network cable insertion loss of the network cable, u0 is the first voltage impulse, and us is the second voltage impulse, and u0 and us may be determined by using a time domain reflectometry (Time Domain Reflectometry, TDR for short) technology of a physical layer (Physical Layer, PHY for short) of the PSE.
[0059] The correspondence between network cable insertion losses and network cable temperatures makes a formula 6 hold true:
0.25 IL=p+k(T-20)]*(1.82J+0.0091f+ ) Formula 6 Vf where T is a temperature of the network cable, k is a temperature change coefficient of the network cable, and f is a port bandwidth frequency of the PSE.
[0060] In the foi _____________________________________________________ inula 6, the PSE may obtain f by means of auto-negotiation at the PHY.
Moreover, it is known that, at an initial temperature TO of the network cable, the network cable = insertion loss of the network cable when the PD is initially powered on is ILO. The PSE can determine the temperature change coefficient k of the network cable according to f, TO, ILO, and the formula 6. Further, after the network cable insertion loss of the network cable, k, and f are determined, the network cable temperature can be determined by using the formula 6.
[0061] Optionally, the second Ethernet packet and the first Ethernet packet may be a same Ethernet packet or different Ethernet packets. Optionally, the second Ethernet packet may further include cause information for instructing the PD to decrease load power consumption, that is, information notifying the PD that the network cable temperature is greater than the network cable temperature threshold. Apparently, when the first Ethernet packet or the second Ethernet packet includes the cause information for instructing the PD to decrease load power consumption, the first Ethernet packet and the second Ethernet packet are different. Optionally, when the PSE determines that the line voltage drop is greater than the line voltage drop threshold and determines that the network cable temperature is greater than the network cable temperature threshold, the PSE may send both the first Ethernet packet and the second Ethernet packet, or directly send either of the two, or combine the first Ethernet packet and the second Ethernet packet into one Ethernet packet for sending. The present invention imposes no limitation thereon.
[0062] When the network cable temperature is excessively high, line instability is likely to result, which deteriorates network cable performance. It is specified in a standard that a highest working temperature of a network cable is 60 degrees Celsius. When the PSE
supplies a voltage to the PD by using a network cable, the network cable is very likely to become hot because of a relatively high load of the PD or relatively high current in the network cable. However, in a conventional PoE-based network, a temperature of a network cable is not monitored in real time. As a result, working reliability of the network cable is decreased and a safety threat exists in the network.
[0063] In the foregoing manner, the PSE monitors a network cable temperature in real time.
In addition, when the network cable temperature reaches a specified network cable temperature threshold, the PSE also performs power control management for the PD, that is, the PSE sends, to the PD, a second Ethernet packet that carries instruction information instructing the PD to decrease load power consumption, to make the PD decrease load power consumption. For example, for a functional module or service module that is idle or undergoes no data transmission inside the PD, the PD shuts down a power source of the module, thereby decreasing load power consumption. In this way, a voltage required by the PD
is decreased, and it is ensured that the network cable temperature is not further deteriorated, ensuring working reliability of a network cable and safety of an entire network.
[0064] Optionally, before the PSE outputs the voltage to the PD, the method further includes:
detecting, by the PSE, current load power consumption of the PD, and perform classification to the PD according to the detected current load power consumption of the PD to determine a class of the PD;
determining, according to the class of the PD, maximum-load power consumption of the PD and a maximum output voltage outputted by the PSE to the PD; and determining a current overload threshold for the network cable according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage, where the current overload threshold is used by the PSE to control power supply for the PD.
[0065] For example, after the PSE outputs the voltage to the PD, the PSE
determines the current in the network cable. When the current in the network cable is greater than or equal to the current overload threshold, the PSE shuts down power supply to the PD.
[0066] In conventional PoE standards, a connected PD is classed according to load power consumption of the PD. Corresponding parameters such as an output power of the PSE, maximum-load power consumption of a PD, and an output voltage range are set for each class.
[0067] The determining a current overload threshold for the network cable according to the maximum-load power consumption of the PD, the impedance of the network cable, and the = maximum output voltage includes:
determining, by the PSE, by using a formula 7 and according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage, a voltage between two ends of the PD under the maximum-load power consumption of the PD:
PSmax = UOmax U Formula 7 Us where Psm is the maximum-load power consumption of the PD, Uomax is the maximum output voltage outputted by the PSE to the PD under the maximum-load power consumption of the PD, R is the impedance of the network cable, and U, is the voltage between the two ends of the PD under the maximum-load power consumption of the PD;
determining, by the PSE, by using a formula 8 and according to the voltage between the two ends of the PD under the maximum-load power consumption of the PD, and the maximum-load power consumption of the PD, current in the network cable under the maximum-load power consumption of the PD:
I = s' Formula 8; and max U s determining, by the PSE, the current overload threshold l of the network cable according to 'max the current in the network cable under the maximum-load power consumption of the PD, where Icut > .
100681 In a conventional PoE-based network, after PSE classes a PD
according to a load power of the PD, a same current overload threshold is set for network cables between the PSE
and all PDs. In this way, the PSE cannot consider a line loss or a problem of current imbalance among the network cables in a case of high-power power supply. As a result, a voltage supplied by the PSE to a PD cannot satisfy a load requirement of the PD, and the PD is possible to be powered off.
[0069] In the foregoing manner, in a process of supplying power to each PD, the PSE sets a current overload threshold according to impedance of each network cable and maximum-load power consumption of the PD. Different current overload thresholds are set for network cables having different impedance. This greatly reduces risks of an overloaded port of the PSE caused by current imbalance among network cables which further leads to power-off of a PD, ensuring working reliability of the PD.
[0070] Optionally, in the foregoing embodiment, before the PSE sends the first Ethernet packet to the PD, the method further includes: determining, by the PSE, a current change rate of the network cable, where the current change rate is used to indicate a change rate threshold of load power of the PD; and accordingly, the first Ethernet packet sent by the PSE to the PD in step 202 further includes the current change rate of the network cable.
Optionally, the second Ethernet packet sent by the PSE to the PD may also include the current change rate of the network cable.
[0071] Optionally, the determining, by the PSE, a current change rate of the network cable specifically includes:
determining, by the PSE, maximum communication bandwidth corresponding to the network cable category of the network cable;
determining, by the PSE, a noise voltage threshold of the network cable according to a port rate of the PSE, the maximum communication bandwidth, and the output voltage outputted by the PSE to the PD;
after the PSE outputs the voltage to the PD, adjusting, by the PSE, a voltage value of the output voltage according to a specified unit time, and measuring a noise voltage of the network cable after each voltage adjustment, till a measured noise voltage of the network cable is equal to the noise voltage threshold; and determining, by the PSE, a current change rate of the network cable within the specified unit time in a last adjustment process.
[0072] The current change rate is a change rate threshold of load power consumption of the PD within the unit time.
[0073] After step 202, after receiving the first Ethernet packet that carries the instruction information instructing the PD to decrease load power consumption, the PD
decreases load power consumption of the PD according to the instruction information. However, when the load of the PD changes, noise on a link between the PSE and the PD changes accordingly, resulting in a decreased signal-to-noise ratio. It can be known according to the Shannon formula (formula 9) that, when the signal-to-noise ratio is decreased, a rate of the link is also decreased.
Moreover, in a process in which the PD decreases its load power consumption, an excessively high change rate of load power consumption of the PD within a unit time may result in a fact that the link rate is less than the port rate of the PSE, which further results in a service packet loss and affects working efficiency of the PSE and the PD. Therefore, in the process in which the PD decreases its load, it needs to be ensured that the change rate of load power consumption within a unit time is within such a range that no service packet loss occurs on the link.
C=W*10ot,2 (1+ ¨) Formula 9 N
where C is the link rate, W is the maximum communication bandwidth corresponding to the network cable category of the network cable, S is an average signal power, and N is an average noise power.
[0074] The SNR may be represented by using a formula 10 or a formula 11:
SNR=201g( ) Formula 10 UN
where U0 is the output voltage outputted by the PSE to the PD, and UN is the noise voltage of the network cable; and SNR=10*1g( ) Formula 11 [0075] Therefore, a formula 12 may be obtained according to the formula
[0032] The PoE-based power supply method provided in the embodiments of the present is applicable to a network using a PoE technology. This application provides a PoE-based power supply system. The system includes PSE 101 and a PD. As shown in FIG 1, for example, three PDs (a PD 102, a PD 103, and a PD 104) are connected to the PSE 101.
Certainly, a terminal (not shown in the figure) other than a powered device may also be connected to the PSE 101.
This application imposes no limitation thereon.
[0033] The PSE 101 is a network device for implementing data forwarding on an Ethernet, and may be a PoE-enabled Ethernet switch, router, or another network device.
The present invention imposes no limitation thereon.
[0034] The PSE 101 includes a power source management system, and is separately connected to the PD 102, the PD 103, and the PD 104 by using standard network cables. The standard network cables include a category 5 cable (CATS), a category 5 enhanced cable, a category 6 cable (CAT6), and the like. The PSE 101 transmits a current to each PD by using the network cable to provide a voltage to the PD, so that the PD works normally, and also exchanges data with each PD by using the network cable.
[0035] The PSE 101 may further implement power planning and management.
After outputting a voltage to each PD, the PSE 101 determines a line voltage drop across a network cable between the PSE 101 and the PD. When a line voltage drop across a network cable between the PSE 101 and any PD is greater than a specified line voltage drop threshold, the PSE 101 sends, to the PD, a first Ethernet packet that carries instruction information instructing the PD to decrease load power consumption, to make the PD decrease load power consumption.
For example, when there is an internal functional module or service module that is idle or undergoes no data transmission, the PD shuts down a power source for the module.
[0036] The PD 102, the PD 103, or the PD 104 may be a terminal device such as an IP
telephone, a portable device charger, a card reader, or a camera. The PD 102, the PD 103, or the PD 104 accepts power supplied by the PSE 101, and when receiving a first Ethernet packet sent by the PSE, decreases load power consumption according to the instruction information in the first Ethernet packet.
[0037] Referring to FIG 2, FIG 2 is a flowchart of a PoE-based power supply method according to an embodiment of the present invention. The method includes:
[0038] Step 201: After PSE supplies power to a PD, the PSE determines a line voltage drop across a network cable between the PSE and the PD.
[0039] Optionally, when the PSE performs step 201, the following several manners are included:
[0040] First manner: the PSE detects a voltage between two ends of the PD, and uses a difference between an output voltage outputted by the PSE to the PD and the voltage between the two ends of the PD as the line voltage drop across the network cable.
[0041] Second manner: the PSE uses a product of current in the network cable and impedance of the network cable as the line voltage drop across the network cable.
[0042] Specifically, the PSE determines the impedance of the network cable before supplying power to the PD, and determines the current in the network cable after supplying power to the PD.
[0043] Third manner: the PSE determines an output power of the PSE, load power consumption of the PD, and current in the network cable, and uses a quotient of a difference between the output power of the PSE and the load power consumption of the PD
divided by the current, as the line voltage drop across the network cable.
[0044] In the first manner, the PSE can determine the output voltage Uo outputted by the PSE to the PD, and can detect the voltage Us between the two ends of the PD in a conventional manner. Then, the line voltage drop UR of the network cable makes a formula I
hold true:
UR =Uo Us Formula 1 [0045] In the second manner, the PSE determines the impedance R of the network cable before outputting a voltage to the PD, and determines the current I of the network cable after outputting the voltage. Then, the line voltage drop UR of the network cable makes a formula 2 hold true:
UR =R*I Formula 2 [0046] In the third manner, the PSE determines the output power Po of the PSE, the load power consumption Ps of the PD, and the current I of the network cable. Then, the line voltage drop Up of the network cable makes a formula 3 hold true:
¨ P
u _P o s Formula 3 [0047] In the second manner, the determining, by the PSE, the impedance of the network cable includes the following steps:
determining, by the PSE, a length of the network cable, and determining a network cable category of the network cable;
determining, by the PSE, according to the network cable category, impedance per unit length corresponding to the network cable category; and using a product of the impedance per unit length and the length of the network cable as the impedance of the network cable, where the impedance R of the network cable makes a formula 4 hold true:
R=r0*L Formula 4 where r0 is the impedance per unit length corresponding to the network cable category, and L is the length of the network cable.
[0048] The PSE supplies the voltage to the PD only by using one pair of wires in the network cable. Therefore, in the foregoing step, the impedance, obtained by means of calculation, of the network cable is impedance of the one pair of wires in the network cable. In this embodiment of the present invention, the impedance of the network cable is impedance of one pair of wires used to supply the voltage to the PD in the network cable.
[0049] Conventional network cables are classified into multiple network cable categories, for example, a category 5 cable (CAT5), a category 5 enhanced cable, and a category 6 cable (CAT6). Each category is further classified into an unshielded twisted pair (UTP) and a shielded twisted pair (STP). Network cable materials may be different for different network cable categories. Impedance per unit length corresponding to a different network cable material is different. Therefore, each network cable category has its corresponding impedance per unit length.
[0050] Optionally, when determining the length of the network cable, the PSE may use a virtual cable test (VCT) function to automatically detect that the length of the network cable is L.
[0051] Optionally, the determining, by the PSE, a network cable category of the network cable includes:
detecting, by the PSE, signal-to-noise ratios (SNR) of the network cable under multiple output powers, and determining a first correspondence between output powers and SNRs of the network cable: and determining, by the PSE, the network cable category of the network cable according to correspondences between output powers and SNRs of various network cable categories, and the first correspondence.
[0052] The correspondences between output powers and SNRs of the various network cable categories are shown in FIG 3. FIG. 3 shows correspondences between output powers and SNRs of various network cable categories in a condition that a network cable length stays unchanged. Each line in the figure represents a correspondence between output powers and SNRs of one network cable category. A correspondence between output powers and SNRs of each network cable category may also be represented by using a slope of an oblique line corresponding to the network cable category. The present invention imposes no limitation thereon.
[0053] Step 202: When the line voltage drop across the network cable is greater than a line voltage drop threshold, the PSE sends a first Ethernet packet to the PD, where the first Ethernet packet includes instruction information instructing the PD to decrease load power consumption.
[0054] The instruction information may be an indicator; or may be a flag in the first Ethernet packet, where the flag has been assigned a value by the PSE; or may be other data included in the first Ethernet packet. The instruction information is used to instruct the PD how to decrease load power consumption, for example, to shut down a specified functional module or service module. Optionally, the first Ethernet packet may further include cause information for instructing the PD to decrease load power consumption, that is, information notifying the PD that the line voltage drop across the network cable is greater than the line voltage drop threshold.
[0055] In the PoE standard, a voltage outputted by PSE to any PD is fixed, for example, 53.5V. Generally, when a voltage between two ends of a PD is less than 42.5V.
the PD cannot work normally. Therefore, a line voltage drop across a network cable between the PSE and the PD should be less than a difference between the fixed value and 42.5V. For example, when the voltage outputted by the PSE to the PD is 53.5V, in step 202, the line voltage drop threshold may be set to 11V.
[0056] By using the foregoing steps, when a line voltage drop across a network cable between PSE and a PD is greater than a line voltage drop threshold, the PSE
performs power control management for the PD. That is, the PSE sends, to the PD, a first Ethernet packet that carries instruction information instructing the PD to decrease load power consumption, to make the PD decrease load power consumption. For example, when there is an internal functional module or service module that is idle or undergoes no data transmission, the PD shuts down a power source for the module. In this way, the PD decreases its load, and a value of a required voltage is decreased, so that a voltage supplied by the PSE to the PD can satisfy a power requirement of the PD, which ensures normal working of the PD and avoids occurrence of a power failure.
[0057] Optionally, the method further includes:
sending, by the PSE, a first voltage impulse to the PD. and detecting a second voltage impulse received by the PD;
determining, by the PSE, a network cable insertion loss of the network cable according to the first voltage impulse and the second voltage impulse;
determining, by the PSE, according to a correspondence between insertion losses and temperatures, a network cable temperature corresponding to the network cable insertion loss of the network cable; and when the PSE determines that the network cable temperature is greater than a network cable temperature threshold, sending, by the PSE, a second Ethernet packet to the PD, where the second Ethernet packet includes instruction information instructing the PD to decrease load power consumption, and the network cable temperature threshold may be set according to a requirement of a residence environment or network deployment, for example, to 60 degrees Celsius.
[0058] The network cable insertion loss of the network cable makes a formula 5 hold true:
IL-201g (1-1) Formula 5 us where IL is the network cable insertion loss of the network cable, u0 is the first voltage impulse, and us is the second voltage impulse, and u0 and us may be determined by using a time domain reflectometry (Time Domain Reflectometry, TDR for short) technology of a physical layer (Physical Layer, PHY for short) of the PSE.
[0059] The correspondence between network cable insertion losses and network cable temperatures makes a formula 6 hold true:
0.25 IL=p+k(T-20)]*(1.82J+0.0091f+ ) Formula 6 Vf where T is a temperature of the network cable, k is a temperature change coefficient of the network cable, and f is a port bandwidth frequency of the PSE.
[0060] In the foi _____________________________________________________ inula 6, the PSE may obtain f by means of auto-negotiation at the PHY.
Moreover, it is known that, at an initial temperature TO of the network cable, the network cable = insertion loss of the network cable when the PD is initially powered on is ILO. The PSE can determine the temperature change coefficient k of the network cable according to f, TO, ILO, and the formula 6. Further, after the network cable insertion loss of the network cable, k, and f are determined, the network cable temperature can be determined by using the formula 6.
[0061] Optionally, the second Ethernet packet and the first Ethernet packet may be a same Ethernet packet or different Ethernet packets. Optionally, the second Ethernet packet may further include cause information for instructing the PD to decrease load power consumption, that is, information notifying the PD that the network cable temperature is greater than the network cable temperature threshold. Apparently, when the first Ethernet packet or the second Ethernet packet includes the cause information for instructing the PD to decrease load power consumption, the first Ethernet packet and the second Ethernet packet are different. Optionally, when the PSE determines that the line voltage drop is greater than the line voltage drop threshold and determines that the network cable temperature is greater than the network cable temperature threshold, the PSE may send both the first Ethernet packet and the second Ethernet packet, or directly send either of the two, or combine the first Ethernet packet and the second Ethernet packet into one Ethernet packet for sending. The present invention imposes no limitation thereon.
[0062] When the network cable temperature is excessively high, line instability is likely to result, which deteriorates network cable performance. It is specified in a standard that a highest working temperature of a network cable is 60 degrees Celsius. When the PSE
supplies a voltage to the PD by using a network cable, the network cable is very likely to become hot because of a relatively high load of the PD or relatively high current in the network cable. However, in a conventional PoE-based network, a temperature of a network cable is not monitored in real time. As a result, working reliability of the network cable is decreased and a safety threat exists in the network.
[0063] In the foregoing manner, the PSE monitors a network cable temperature in real time.
In addition, when the network cable temperature reaches a specified network cable temperature threshold, the PSE also performs power control management for the PD, that is, the PSE sends, to the PD, a second Ethernet packet that carries instruction information instructing the PD to decrease load power consumption, to make the PD decrease load power consumption. For example, for a functional module or service module that is idle or undergoes no data transmission inside the PD, the PD shuts down a power source of the module, thereby decreasing load power consumption. In this way, a voltage required by the PD
is decreased, and it is ensured that the network cable temperature is not further deteriorated, ensuring working reliability of a network cable and safety of an entire network.
[0064] Optionally, before the PSE outputs the voltage to the PD, the method further includes:
detecting, by the PSE, current load power consumption of the PD, and perform classification to the PD according to the detected current load power consumption of the PD to determine a class of the PD;
determining, according to the class of the PD, maximum-load power consumption of the PD and a maximum output voltage outputted by the PSE to the PD; and determining a current overload threshold for the network cable according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage, where the current overload threshold is used by the PSE to control power supply for the PD.
[0065] For example, after the PSE outputs the voltage to the PD, the PSE
determines the current in the network cable. When the current in the network cable is greater than or equal to the current overload threshold, the PSE shuts down power supply to the PD.
[0066] In conventional PoE standards, a connected PD is classed according to load power consumption of the PD. Corresponding parameters such as an output power of the PSE, maximum-load power consumption of a PD, and an output voltage range are set for each class.
[0067] The determining a current overload threshold for the network cable according to the maximum-load power consumption of the PD, the impedance of the network cable, and the = maximum output voltage includes:
determining, by the PSE, by using a formula 7 and according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage, a voltage between two ends of the PD under the maximum-load power consumption of the PD:
PSmax = UOmax U Formula 7 Us where Psm is the maximum-load power consumption of the PD, Uomax is the maximum output voltage outputted by the PSE to the PD under the maximum-load power consumption of the PD, R is the impedance of the network cable, and U, is the voltage between the two ends of the PD under the maximum-load power consumption of the PD;
determining, by the PSE, by using a formula 8 and according to the voltage between the two ends of the PD under the maximum-load power consumption of the PD, and the maximum-load power consumption of the PD, current in the network cable under the maximum-load power consumption of the PD:
I = s' Formula 8; and max U s determining, by the PSE, the current overload threshold l of the network cable according to 'max the current in the network cable under the maximum-load power consumption of the PD, where Icut > .
100681 In a conventional PoE-based network, after PSE classes a PD
according to a load power of the PD, a same current overload threshold is set for network cables between the PSE
and all PDs. In this way, the PSE cannot consider a line loss or a problem of current imbalance among the network cables in a case of high-power power supply. As a result, a voltage supplied by the PSE to a PD cannot satisfy a load requirement of the PD, and the PD is possible to be powered off.
[0069] In the foregoing manner, in a process of supplying power to each PD, the PSE sets a current overload threshold according to impedance of each network cable and maximum-load power consumption of the PD. Different current overload thresholds are set for network cables having different impedance. This greatly reduces risks of an overloaded port of the PSE caused by current imbalance among network cables which further leads to power-off of a PD, ensuring working reliability of the PD.
[0070] Optionally, in the foregoing embodiment, before the PSE sends the first Ethernet packet to the PD, the method further includes: determining, by the PSE, a current change rate of the network cable, where the current change rate is used to indicate a change rate threshold of load power of the PD; and accordingly, the first Ethernet packet sent by the PSE to the PD in step 202 further includes the current change rate of the network cable.
Optionally, the second Ethernet packet sent by the PSE to the PD may also include the current change rate of the network cable.
[0071] Optionally, the determining, by the PSE, a current change rate of the network cable specifically includes:
determining, by the PSE, maximum communication bandwidth corresponding to the network cable category of the network cable;
determining, by the PSE, a noise voltage threshold of the network cable according to a port rate of the PSE, the maximum communication bandwidth, and the output voltage outputted by the PSE to the PD;
after the PSE outputs the voltage to the PD, adjusting, by the PSE, a voltage value of the output voltage according to a specified unit time, and measuring a noise voltage of the network cable after each voltage adjustment, till a measured noise voltage of the network cable is equal to the noise voltage threshold; and determining, by the PSE, a current change rate of the network cable within the specified unit time in a last adjustment process.
[0072] The current change rate is a change rate threshold of load power consumption of the PD within the unit time.
[0073] After step 202, after receiving the first Ethernet packet that carries the instruction information instructing the PD to decrease load power consumption, the PD
decreases load power consumption of the PD according to the instruction information. However, when the load of the PD changes, noise on a link between the PSE and the PD changes accordingly, resulting in a decreased signal-to-noise ratio. It can be known according to the Shannon formula (formula 9) that, when the signal-to-noise ratio is decreased, a rate of the link is also decreased.
Moreover, in a process in which the PD decreases its load power consumption, an excessively high change rate of load power consumption of the PD within a unit time may result in a fact that the link rate is less than the port rate of the PSE, which further results in a service packet loss and affects working efficiency of the PSE and the PD. Therefore, in the process in which the PD decreases its load, it needs to be ensured that the change rate of load power consumption within a unit time is within such a range that no service packet loss occurs on the link.
C=W*10ot,2 (1+ ¨) Formula 9 N
where C is the link rate, W is the maximum communication bandwidth corresponding to the network cable category of the network cable, S is an average signal power, and N is an average noise power.
[0074] The SNR may be represented by using a formula 10 or a formula 11:
SNR=201g( ) Formula 10 UN
where U0 is the output voltage outputted by the PSE to the PD, and UN is the noise voltage of the network cable; and SNR=10*1g( ) Formula 11 [0075] Therefore, a formula 12 may be obtained according to the formula
10 and the formula 11:
=
s U0 = ¨ Formula 12 N UN
[0076] When it is ensured that the port rate of the PSE is equal to the link rate, the noise voltage threshold may be obtained according to the formula 12 and the formula 9, and the following formula 13 holds true:
UN ¨ 0 Formula 13 112W ¨1 where UN is the noise voltage threshold, U0 is the output voltage outputted by the PSE to the PD, C is the port rate of the PSE, and W is the maximum communication bandwidth.
100771 When the PSE detects that the noise voltage of the network cable is equal to the noise voltage threshold, the obtained current change rate within the specified unit time is a change rate at which the PD adjusts load power consumption within the specified unit time.
Therefore, only by ensuring that a change rate of load power consumption within a unit time is less than the current change rate during load power consumption adjustment, can the PD ensure that the link rate is equal to the port rate of the PSE, and that no service packet loss occurs during data transmission between the PSE and the PD, thereby ensuring transmission reliability of the link.
[0078] By using the PoE-based power supply method in the foregoing embodiment of the present invention, when a line voltage drop between PSE and a PD is greater than a line voltage drop threshold, the PSE performs power control management for the PD to make the PD
decrease load power consumption. In this way, the PD decreases its load, and a value of a required voltage is decreased, so that a voltage supplied by the PSE to the PD
can satisfy a power requirement of the PD, which ensures normal working of the PD and avoids occurrence of a power failure.
[0079] The PSE may further monitor a network cable temperature in real time. When the network cable temperature reaches a network cable temperature threshold, power control ' management is also performed for the PD to make the PD decrease load power consumption. In this way, a value of a voltage required by the PD is decreased, ensuring that the network cable temperature is not further deteriorated, and ensuring working reliability of a network cable as well as safety of an entire PoE-based network.
[0080] In a process of supplying power to each PD, the PSE sets a current overload threshold according to impedance of each network cable and maximum-load power consumption of the PD. Different current overload thresholds are set for network cables having different impedance. This greatly reduces risks of an overloaded port of the PSE caused by current imbalance among network cables which further leads to power-off of a PD, ensuring working reliability of the PD.
[0081] Before instructing the PD to decrease load power consumption, the PSE determines a change rate threshold of load power consumption of the PD, so that when the PD adjusts load power consumption, an actual change rate of load power consumption is less than the change rate threshold of load power consumption. This ensures that a link rate is equal to a port rate of the PSE, and that no service packet loss occurs during data transmission between the PSE and the PD, thereby ensuring transmission reliability of a link.
[0082] Based on the foregoing embodiment, the present invention further provides a PoE-based power supply method. Referring to FIG 4, a process of the method includes:
[0083] Step 401: The PSE determines impedance of the network cable.
[0084] Optionally, the determining, by the PSE, impedance of the network cable includes the following steps:
determining, by the PSE, a length of the network cable, and determining a network cable category of the network cable;
determining, by the PSE, according to the network cable category, impedance per unit length corresponding to the network cable category; and using a product of the impedance per unit length and the length of the network cable as the impedance of the network cable.
[0085] Optionally, when determining the length of the network cable, the PSE may use a VCT function to automatically detect that the length of the network cable is L.
[0086] Optionally, the determining, by the PSE. a network cable category of the network cable includes:
detecting, by the PSE, SNRs of the network cable under multiple output powers, and determining a first correspondence between output powers and SNRs of the network cable; and determining, by the PSE, the network cable category of the network cable according to correspondences between output powers and SNRs of various network cable categories, and the first correspondence, where the correspondences between output powers and SNRs of the various network cable categories are shown in FIG 3.
[0087] Step 402: The PSE performs classification to the PD to determine a class of the PD, and determines, according to the class corresponding to the PD, maximum-load power consumption of the PD and a maximum output voltage outputted by the PSE to the PD.
[0088] The performing classification to the PD by the PSE is detecting current load power consumption of the PD and determining the class corresponding to the PD
according to the current load power consumption of the PD.
[0089] According to the class of the PD, parameters, corresponding to the class, such as an output power of the PSE, maximum-load power consumption of the PD, and an output voltage range can be determined.
[0090] Step 403: Determine a current overload threshold for the network cable according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage.
[0091] Optionally, the PSE may determine, by using the formula 7 and according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage, a voltage between two ends of the PD under the maximum-load power consumption of the PD;
the PSE determines, by using the formula 8 and according to the voltage between the two ends of the PD under the maximum-load power consumption of the PD, and the maximum-load power consumption of the PD, current in the network cable under the maximum-load power consumption of the PD; and the PSE determines the current overload threshold 'cut of the network cable according to , the current in the network cable under the maximum-load power consumption of the PD, where Cut > Imax .
[0092] In this way, in a process of supplying power to each PD, the PSE
sets a current overload threshold according to impedance of each network cable and maximum-load power consumption of the PD. Different current overload thresholds are set for network cables having different impedance. This greatly reduces risks of an overloaded port of the PSE caused by current imbalance among network cables which further leads to power-off of a PD, ensuring working reliability of the PD.
[0093] Step 404: The PSE supplies power to the PD by outputting a voltage to the PD, where current in the network cable is less than the current overload threshold.
[0094] Step 405: The PSE determines a line voltage drop across the network cable.
[0095] When step 405 is performed, the following several manners are specifically included:
[0096] First manner: the PSE detects a voltage between two ends of the PD, and uses a difference between an output voltage outputted by the PSE to the PD and the voltage between the two ends of the PD as the line voltage drop across the network cable.
[0097] Second manner: the PSE determines impedance of the network cable before outputting the voltage to the PD, determines a current in the network cable after outputting the voltage to the PD, and uses a product of the current in the network cable and the impedance of the network cable as the line voltage drop across the network cable.
[0098] Third manner: the PSE determines an output power of the PSE, load power consumption of the PD, and current in the network cable, and uses a quotient of a difference = between the output power of the PSE and the load power consumption of the PD divided by the current, as the line voltage drop across the network cable.
[0099] Step 406: The PSE determines whether the line voltage drop is greater than a line voltage drop threshold; and if the line voltage drop is greater than the line voltage drop threshold, performs a process of decreasing load power consumption of the PD;
if the line voltage drop is not greater than the line voltage drop threshold, continues to perform step 405.
[00100] Step 407 and step 408 are the process of decreasing load power consumption of the PD. Optionally, step 407 is performed at any time after step 404. The present invention imposes no limitation thereon, and only one execution manner is shown in the figure.
[00101] Step 407: When a rate of a link between the PSE and the PD is equal to a port rate of the PSE, the PSE determines a current change rate of the network cable within a specified unit time.
[00102] Optionally, when the PSE performs step 407, the following steps are included:
determining, by the PSE, maximum communication bandwidth corresponding to the network cable category of the network cable;
determining, by the PSE, a noise voltage threshold of the network cable according to the port rate of the PSE, the maximum communication bandwidth, and the output voltage outputted by the PSE to the PD;
after the PSE outputs the voltage to the PD, adjusting, by the PSE, a voltage value of the output voltage according to the specified unit time, and measuring a noise voltage of the network cable after each voltage adjustment, till a measured noise voltage of the network cable is equal to the noise voltage threshold; and determining, by the PSE, a current change rate of the network cable within the specified unit time in a last adjustment process, where the current change rate is a change rate threshold of load power consumption of the PD within the unit time.
[00103] Step 408: The PSE generates a first Ethernet packet, and sends the first Ethernet packet to the PD, where the first Ethernet packet includes instruction information instructing the PD to decrease load power consumption and includes the current change rate.
[00104] The instruction information may be an indicator; or may be a flag in the first Ethernet packet, where the flag has been assigned a value by the PSE; or may be other data included in the first Ethernet packet. The instruction information is used to instruct the PD how to decrease load power consumption, for example, to shut down a specified functional module or service module. Optionally, the first Ethernet packet may further include cause information for instructing the PD to decrease load power consumption, that is, information notifying the PD that the line voltage drop across the network cable is greater than the line voltage drop threshold.
[00105] After step 408, the PD receives the first Ethernet packet sent by the PSE, adjusts load power consumption of the PD according to the instruction information in the first Ethernet packet, and ensures that a change rate of load power consumption within a unit time is less than the current change rate.
[00106] Step 409: The PSE determines a network cable temperature of the network cable.
[00107] When the PSE performs step 409, the following steps are included:
sending, by the PSE, a first voltage impulse to the PD, and detecting a second voltage impulse received by the PD;
determining, by the PSE, a network cable insertion loss of the network cable according to the first voltage impulse and the second voltage impulse;
determining, by the PSE, according to a correspondence between insertion losses and temperatures, a network cable temperature corresponding to the network cable insertion loss of the network cable; and when the PSE determines that the network cable temperature is greater than a network cable temperature threshold, sending, by the PSE, a second Ethernet packet to the PD, where the second Ethernet packet includes instruction information instructing the PD to decrease load power consumption, and the network cable temperature threshold may be set according to a requirement of a residence environment or network deployment, for example, to = 60 degrees Celsius.
[00108] Step 410: The PSE determines whether the network cable temperature is greater than a network cable temperature threshold; and if the network cable temperature is greater than the network cable temperature threshold, performs a process of decreasing load power consumption of the PD; if the network cable temperature is not greater than the network cable temperature threshold. continues to perform step 409.
[00109] Step 411 and step 412 are the process of decreasing load power consumption of the PD. Optionally, step 411 is performed at any time after step 404. The present invention imposes no limitation thereon, and only one execution manner is shown in the figure.
1001101 Step 411: When a rate of a link between the PSE and the PD is equal to a port rate of the PSE, the PSE determines a current change rate of the network cable within a specified unit time. This step is the same as step 407, and therefore is not further described herein. In a specific application scenario, the current change rate of the network cable may be calculated only once, and is stored after being determined by the PSE. When a first Ethernet packet or a second Ethernet packet needs to be sent subsequently, the stored current change rate of the network cable may be directly carried in the first Ethernet packet or the second Ethernet packet.
[00111] Step 412: The PSE generates a second Ethernet packet, and sends the second Ethernet packet to the PD, where the second Ethernet packet includes instruction information instructing the PD to decrease load power consumption and includes the current change rate.
[00112] After step 412, the PD receives the second Ethernet packet sent by the PSE, adjusts load power consumption of the PD according to the instruction information in the second Ethernet packet, and ensures that a change rate of load power consumption within a unit time is less than the current change rate.
[00113] By using the PoE-based power supply method provided in the foregoing embodiment of the present invention, when a line voltage drop between PSE and a PD is greater than a line voltage drop threshold, the PSE performs power control management for the PD to make the PD decrease load power consumption. In this way, the PD
decreases its load, and a value of a required voltage is decreased, so that a voltage supplied by the PSE to the PD
can satisfy a power requirement of the PD, which ensures normal working of the PD and avoids occurrence of a power failure.
[00114] Moreover, the PSE may further monitor a network cable temperature in real time.
When the network cable temperature reaches a network cable temperature threshold, power control management is also performed for the PD to make the PD decrease load power consumption. In this way, a value of a voltage required by the PD is decreased, ensuring that the network cable temperature is not further deteriorated, and ensuring working reliability of a network cable as well as safety of an entire PoE-based network.
[00115] In a process of supplying power to each PD, the PSE sets a current overload threshold according to impedance of a corresponding network cable and maximum-load power consumption of the PD. Different current overload thresholds are set for network cables having different impedance. This greatly reduces risks of an overloaded port of the PSE caused by current imbalance among network cables which further leads to power-off of a PD, ensuring working reliability of the PD.
[00116] Before instructing the PD to decrease load power consumption, the PSE
determines a change rate threshold of load power consumption of the PD, so that when the PD adjusts load power consumption, an actual change rate of load power consumption is less than the change rate threshold of load power consumption. This ensures that a link rate is equal to a port rate of the PSE, and that no service packet loss occurs during data transmission between the PSE and the PD, thereby ensuring transmission reliability of a link.
[00117] The present invention further provides PSE that is configured to implement functions of the PSE in the PoE-based power supply method shown in FIG 2 and FIG. 4.
Referring to FKi. 5, the PSE 500 includes a power supply unit 501, a processing unit 502, and a sending unit 503.
[00118] The power supply unit 501 is configured to supply power to a PD, where the PD is connected to the PSE 500 by using a network cable.
= [00119] The processing unit 502 is configured to: after the power supply unit 501 supplies power to the PD, determine a line voltage drop across the network cable between the PSE 500 and the PD.
[00120] The sending unit 503 is configured to: when the line voltage drop across the network cable is greater than a line voltage drop threshold, send a first Ethernet packet to the PD, where the first Ethernet packet includes instruction information instructing the PD
to decrease load power consumption.
[00121] Optionally, the PSE 500 further includes a first determining unit 504, configured to:
after the power supply unit 501 supplies power to the PD, determine a current in the network cable; and when determining the line voltage drop across the network cable, the processing unit 502 is specifically configured to:
determine impedance of the network cable before the power supply unit 501 supplies power to the PD; and use a product of the current in the network cable and the impedance of the network cable as the line voltage drop across the network cable.
[00122] Optionally, when determining the impedance of the network cable, the processing unit 502 is specifically configured to: determine a network cable category of the network cable;
determine, according to the network cable category, impedance per unit length corresponding to the network cable category; and use a product of the impedance per unit length and a length of the network cable as the impedance of the network cable.
[00123] The PSE 500 further includes a second determining unit 505, configured to determine the length of the network cable.
[00124] When determining the network cable category of the network cable, the processing unit 502 is specifically configured to:
determine a first correspondence between output powers and SNRs of the network cable according to SNRs of the network cable under multiple output powers; and determine the network cable category of the network cable according to correspondences between output powers and SNRs of various network cable categories, and the first correspondence.
[00125] The PSE 500 further includes an SNR detection unit 506, configured to detect and obtain the SNRs of the network cable under the multiple output powers.
[00126] Optionally, the PSE 500 further includes an impulse detection unit 507, where the impulse detection unit 507 is configured to send a first voltage impulse to the PD and detect a second voltage impulse received by the PD;
the processing unit 502 is further configured to determine a network cable insertion loss of the network cable according to the first voltage impulse and the second voltage impulse, and determine, according to a correspondence between insertion losses and temperatures, a network cable temperature corresponding to the network cable insertion loss of the network cable; and the sending unit 503 is further configured to: when the network cable temperature is greater than a specified network cable temperature threshold, send a second Ethernet packet to .. the PD, where the second Ethernet packet includes instruction information instructing the PD to decrease load power consumption.
[00127] Optionally, the PSE 500 further includes a power consumption detection unit 508, configured to detect current load power consumption of the PD. Specifically, the power consumption detection unit 508 detects the current load power consumption of the PD before the power supply unit 501 supplies power to the PD.
[00128] The processing unit 502 is further configured to class the PD
according to the current load power consumption of the PD detected by the power consumption detection unit 508 to determine a class of the PD; determine, according to the class of the PD, maximum-load power consumption of the PD and a maximum output voltage outputted to the PD;
and .. determine a current overload threshold for the network cable according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage, where the current overload threshold is used by the PSE to control power supply for = the PD.
[00129] Optionally, the processing unit 502 is further configured to determine a current change rate of the network cable, where the current change rate is used to indicate a change rate threshold of load power consumption of the PD. Specifically, the processing unit 502 determines the current change rate of the network cable before the sending unit 503 sends the first Ethernet packet to the PD.
1001301 Accordingly, the first Ethernet packet further includes the current change rate of the network cable.
[00131] When determining the current change rate of the network cable, the processing unit 502 is specifically configured to:
determine maximum communication bandwidth corresponding to the network cable category of the network cable; and determine a noise voltage threshold of the network cable according to a port rate of the PSE 500, the maximum communication bandwidth, and an output voltage outputted by the power supply unit 501 to the PD.
[00132] The power supply unit 501 is further configured to: after outputting the voltage to the PD, adjust a voltage value of the output voltage according to a specified unit time, till a measured noise voltage of the network cable is equal to the noise voltage threshold, where the PSE 500 further includes a noise voltage measurement unit 509, configured to measure a noise voltage of the network cable after the power supply unit 501 adjusts a voltage each time.
[00133] The processing unit 502 deteimines a current change rate of the network cable within the specified unit time in a last adjustment process.
[00134] Optionally, the noise voltage threshold makes the following formula hold true:
=
s U0 = ¨ Formula 12 N UN
[0076] When it is ensured that the port rate of the PSE is equal to the link rate, the noise voltage threshold may be obtained according to the formula 12 and the formula 9, and the following formula 13 holds true:
UN ¨ 0 Formula 13 112W ¨1 where UN is the noise voltage threshold, U0 is the output voltage outputted by the PSE to the PD, C is the port rate of the PSE, and W is the maximum communication bandwidth.
100771 When the PSE detects that the noise voltage of the network cable is equal to the noise voltage threshold, the obtained current change rate within the specified unit time is a change rate at which the PD adjusts load power consumption within the specified unit time.
Therefore, only by ensuring that a change rate of load power consumption within a unit time is less than the current change rate during load power consumption adjustment, can the PD ensure that the link rate is equal to the port rate of the PSE, and that no service packet loss occurs during data transmission between the PSE and the PD, thereby ensuring transmission reliability of the link.
[0078] By using the PoE-based power supply method in the foregoing embodiment of the present invention, when a line voltage drop between PSE and a PD is greater than a line voltage drop threshold, the PSE performs power control management for the PD to make the PD
decrease load power consumption. In this way, the PD decreases its load, and a value of a required voltage is decreased, so that a voltage supplied by the PSE to the PD
can satisfy a power requirement of the PD, which ensures normal working of the PD and avoids occurrence of a power failure.
[0079] The PSE may further monitor a network cable temperature in real time. When the network cable temperature reaches a network cable temperature threshold, power control ' management is also performed for the PD to make the PD decrease load power consumption. In this way, a value of a voltage required by the PD is decreased, ensuring that the network cable temperature is not further deteriorated, and ensuring working reliability of a network cable as well as safety of an entire PoE-based network.
[0080] In a process of supplying power to each PD, the PSE sets a current overload threshold according to impedance of each network cable and maximum-load power consumption of the PD. Different current overload thresholds are set for network cables having different impedance. This greatly reduces risks of an overloaded port of the PSE caused by current imbalance among network cables which further leads to power-off of a PD, ensuring working reliability of the PD.
[0081] Before instructing the PD to decrease load power consumption, the PSE determines a change rate threshold of load power consumption of the PD, so that when the PD adjusts load power consumption, an actual change rate of load power consumption is less than the change rate threshold of load power consumption. This ensures that a link rate is equal to a port rate of the PSE, and that no service packet loss occurs during data transmission between the PSE and the PD, thereby ensuring transmission reliability of a link.
[0082] Based on the foregoing embodiment, the present invention further provides a PoE-based power supply method. Referring to FIG 4, a process of the method includes:
[0083] Step 401: The PSE determines impedance of the network cable.
[0084] Optionally, the determining, by the PSE, impedance of the network cable includes the following steps:
determining, by the PSE, a length of the network cable, and determining a network cable category of the network cable;
determining, by the PSE, according to the network cable category, impedance per unit length corresponding to the network cable category; and using a product of the impedance per unit length and the length of the network cable as the impedance of the network cable.
[0085] Optionally, when determining the length of the network cable, the PSE may use a VCT function to automatically detect that the length of the network cable is L.
[0086] Optionally, the determining, by the PSE. a network cable category of the network cable includes:
detecting, by the PSE, SNRs of the network cable under multiple output powers, and determining a first correspondence between output powers and SNRs of the network cable; and determining, by the PSE, the network cable category of the network cable according to correspondences between output powers and SNRs of various network cable categories, and the first correspondence, where the correspondences between output powers and SNRs of the various network cable categories are shown in FIG 3.
[0087] Step 402: The PSE performs classification to the PD to determine a class of the PD, and determines, according to the class corresponding to the PD, maximum-load power consumption of the PD and a maximum output voltage outputted by the PSE to the PD.
[0088] The performing classification to the PD by the PSE is detecting current load power consumption of the PD and determining the class corresponding to the PD
according to the current load power consumption of the PD.
[0089] According to the class of the PD, parameters, corresponding to the class, such as an output power of the PSE, maximum-load power consumption of the PD, and an output voltage range can be determined.
[0090] Step 403: Determine a current overload threshold for the network cable according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage.
[0091] Optionally, the PSE may determine, by using the formula 7 and according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage, a voltage between two ends of the PD under the maximum-load power consumption of the PD;
the PSE determines, by using the formula 8 and according to the voltage between the two ends of the PD under the maximum-load power consumption of the PD, and the maximum-load power consumption of the PD, current in the network cable under the maximum-load power consumption of the PD; and the PSE determines the current overload threshold 'cut of the network cable according to , the current in the network cable under the maximum-load power consumption of the PD, where Cut > Imax .
[0092] In this way, in a process of supplying power to each PD, the PSE
sets a current overload threshold according to impedance of each network cable and maximum-load power consumption of the PD. Different current overload thresholds are set for network cables having different impedance. This greatly reduces risks of an overloaded port of the PSE caused by current imbalance among network cables which further leads to power-off of a PD, ensuring working reliability of the PD.
[0093] Step 404: The PSE supplies power to the PD by outputting a voltage to the PD, where current in the network cable is less than the current overload threshold.
[0094] Step 405: The PSE determines a line voltage drop across the network cable.
[0095] When step 405 is performed, the following several manners are specifically included:
[0096] First manner: the PSE detects a voltage between two ends of the PD, and uses a difference between an output voltage outputted by the PSE to the PD and the voltage between the two ends of the PD as the line voltage drop across the network cable.
[0097] Second manner: the PSE determines impedance of the network cable before outputting the voltage to the PD, determines a current in the network cable after outputting the voltage to the PD, and uses a product of the current in the network cable and the impedance of the network cable as the line voltage drop across the network cable.
[0098] Third manner: the PSE determines an output power of the PSE, load power consumption of the PD, and current in the network cable, and uses a quotient of a difference = between the output power of the PSE and the load power consumption of the PD divided by the current, as the line voltage drop across the network cable.
[0099] Step 406: The PSE determines whether the line voltage drop is greater than a line voltage drop threshold; and if the line voltage drop is greater than the line voltage drop threshold, performs a process of decreasing load power consumption of the PD;
if the line voltage drop is not greater than the line voltage drop threshold, continues to perform step 405.
[00100] Step 407 and step 408 are the process of decreasing load power consumption of the PD. Optionally, step 407 is performed at any time after step 404. The present invention imposes no limitation thereon, and only one execution manner is shown in the figure.
[00101] Step 407: When a rate of a link between the PSE and the PD is equal to a port rate of the PSE, the PSE determines a current change rate of the network cable within a specified unit time.
[00102] Optionally, when the PSE performs step 407, the following steps are included:
determining, by the PSE, maximum communication bandwidth corresponding to the network cable category of the network cable;
determining, by the PSE, a noise voltage threshold of the network cable according to the port rate of the PSE, the maximum communication bandwidth, and the output voltage outputted by the PSE to the PD;
after the PSE outputs the voltage to the PD, adjusting, by the PSE, a voltage value of the output voltage according to the specified unit time, and measuring a noise voltage of the network cable after each voltage adjustment, till a measured noise voltage of the network cable is equal to the noise voltage threshold; and determining, by the PSE, a current change rate of the network cable within the specified unit time in a last adjustment process, where the current change rate is a change rate threshold of load power consumption of the PD within the unit time.
[00103] Step 408: The PSE generates a first Ethernet packet, and sends the first Ethernet packet to the PD, where the first Ethernet packet includes instruction information instructing the PD to decrease load power consumption and includes the current change rate.
[00104] The instruction information may be an indicator; or may be a flag in the first Ethernet packet, where the flag has been assigned a value by the PSE; or may be other data included in the first Ethernet packet. The instruction information is used to instruct the PD how to decrease load power consumption, for example, to shut down a specified functional module or service module. Optionally, the first Ethernet packet may further include cause information for instructing the PD to decrease load power consumption, that is, information notifying the PD that the line voltage drop across the network cable is greater than the line voltage drop threshold.
[00105] After step 408, the PD receives the first Ethernet packet sent by the PSE, adjusts load power consumption of the PD according to the instruction information in the first Ethernet packet, and ensures that a change rate of load power consumption within a unit time is less than the current change rate.
[00106] Step 409: The PSE determines a network cable temperature of the network cable.
[00107] When the PSE performs step 409, the following steps are included:
sending, by the PSE, a first voltage impulse to the PD, and detecting a second voltage impulse received by the PD;
determining, by the PSE, a network cable insertion loss of the network cable according to the first voltage impulse and the second voltage impulse;
determining, by the PSE, according to a correspondence between insertion losses and temperatures, a network cable temperature corresponding to the network cable insertion loss of the network cable; and when the PSE determines that the network cable temperature is greater than a network cable temperature threshold, sending, by the PSE, a second Ethernet packet to the PD, where the second Ethernet packet includes instruction information instructing the PD to decrease load power consumption, and the network cable temperature threshold may be set according to a requirement of a residence environment or network deployment, for example, to = 60 degrees Celsius.
[00108] Step 410: The PSE determines whether the network cable temperature is greater than a network cable temperature threshold; and if the network cable temperature is greater than the network cable temperature threshold, performs a process of decreasing load power consumption of the PD; if the network cable temperature is not greater than the network cable temperature threshold. continues to perform step 409.
[00109] Step 411 and step 412 are the process of decreasing load power consumption of the PD. Optionally, step 411 is performed at any time after step 404. The present invention imposes no limitation thereon, and only one execution manner is shown in the figure.
1001101 Step 411: When a rate of a link between the PSE and the PD is equal to a port rate of the PSE, the PSE determines a current change rate of the network cable within a specified unit time. This step is the same as step 407, and therefore is not further described herein. In a specific application scenario, the current change rate of the network cable may be calculated only once, and is stored after being determined by the PSE. When a first Ethernet packet or a second Ethernet packet needs to be sent subsequently, the stored current change rate of the network cable may be directly carried in the first Ethernet packet or the second Ethernet packet.
[00111] Step 412: The PSE generates a second Ethernet packet, and sends the second Ethernet packet to the PD, where the second Ethernet packet includes instruction information instructing the PD to decrease load power consumption and includes the current change rate.
[00112] After step 412, the PD receives the second Ethernet packet sent by the PSE, adjusts load power consumption of the PD according to the instruction information in the second Ethernet packet, and ensures that a change rate of load power consumption within a unit time is less than the current change rate.
[00113] By using the PoE-based power supply method provided in the foregoing embodiment of the present invention, when a line voltage drop between PSE and a PD is greater than a line voltage drop threshold, the PSE performs power control management for the PD to make the PD decrease load power consumption. In this way, the PD
decreases its load, and a value of a required voltage is decreased, so that a voltage supplied by the PSE to the PD
can satisfy a power requirement of the PD, which ensures normal working of the PD and avoids occurrence of a power failure.
[00114] Moreover, the PSE may further monitor a network cable temperature in real time.
When the network cable temperature reaches a network cable temperature threshold, power control management is also performed for the PD to make the PD decrease load power consumption. In this way, a value of a voltage required by the PD is decreased, ensuring that the network cable temperature is not further deteriorated, and ensuring working reliability of a network cable as well as safety of an entire PoE-based network.
[00115] In a process of supplying power to each PD, the PSE sets a current overload threshold according to impedance of a corresponding network cable and maximum-load power consumption of the PD. Different current overload thresholds are set for network cables having different impedance. This greatly reduces risks of an overloaded port of the PSE caused by current imbalance among network cables which further leads to power-off of a PD, ensuring working reliability of the PD.
[00116] Before instructing the PD to decrease load power consumption, the PSE
determines a change rate threshold of load power consumption of the PD, so that when the PD adjusts load power consumption, an actual change rate of load power consumption is less than the change rate threshold of load power consumption. This ensures that a link rate is equal to a port rate of the PSE, and that no service packet loss occurs during data transmission between the PSE and the PD, thereby ensuring transmission reliability of a link.
[00117] The present invention further provides PSE that is configured to implement functions of the PSE in the PoE-based power supply method shown in FIG 2 and FIG. 4.
Referring to FKi. 5, the PSE 500 includes a power supply unit 501, a processing unit 502, and a sending unit 503.
[00118] The power supply unit 501 is configured to supply power to a PD, where the PD is connected to the PSE 500 by using a network cable.
= [00119] The processing unit 502 is configured to: after the power supply unit 501 supplies power to the PD, determine a line voltage drop across the network cable between the PSE 500 and the PD.
[00120] The sending unit 503 is configured to: when the line voltage drop across the network cable is greater than a line voltage drop threshold, send a first Ethernet packet to the PD, where the first Ethernet packet includes instruction information instructing the PD
to decrease load power consumption.
[00121] Optionally, the PSE 500 further includes a first determining unit 504, configured to:
after the power supply unit 501 supplies power to the PD, determine a current in the network cable; and when determining the line voltage drop across the network cable, the processing unit 502 is specifically configured to:
determine impedance of the network cable before the power supply unit 501 supplies power to the PD; and use a product of the current in the network cable and the impedance of the network cable as the line voltage drop across the network cable.
[00122] Optionally, when determining the impedance of the network cable, the processing unit 502 is specifically configured to: determine a network cable category of the network cable;
determine, according to the network cable category, impedance per unit length corresponding to the network cable category; and use a product of the impedance per unit length and a length of the network cable as the impedance of the network cable.
[00123] The PSE 500 further includes a second determining unit 505, configured to determine the length of the network cable.
[00124] When determining the network cable category of the network cable, the processing unit 502 is specifically configured to:
determine a first correspondence between output powers and SNRs of the network cable according to SNRs of the network cable under multiple output powers; and determine the network cable category of the network cable according to correspondences between output powers and SNRs of various network cable categories, and the first correspondence.
[00125] The PSE 500 further includes an SNR detection unit 506, configured to detect and obtain the SNRs of the network cable under the multiple output powers.
[00126] Optionally, the PSE 500 further includes an impulse detection unit 507, where the impulse detection unit 507 is configured to send a first voltage impulse to the PD and detect a second voltage impulse received by the PD;
the processing unit 502 is further configured to determine a network cable insertion loss of the network cable according to the first voltage impulse and the second voltage impulse, and determine, according to a correspondence between insertion losses and temperatures, a network cable temperature corresponding to the network cable insertion loss of the network cable; and the sending unit 503 is further configured to: when the network cable temperature is greater than a specified network cable temperature threshold, send a second Ethernet packet to .. the PD, where the second Ethernet packet includes instruction information instructing the PD to decrease load power consumption.
[00127] Optionally, the PSE 500 further includes a power consumption detection unit 508, configured to detect current load power consumption of the PD. Specifically, the power consumption detection unit 508 detects the current load power consumption of the PD before the power supply unit 501 supplies power to the PD.
[00128] The processing unit 502 is further configured to class the PD
according to the current load power consumption of the PD detected by the power consumption detection unit 508 to determine a class of the PD; determine, according to the class of the PD, maximum-load power consumption of the PD and a maximum output voltage outputted to the PD;
and .. determine a current overload threshold for the network cable according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage, where the current overload threshold is used by the PSE to control power supply for = the PD.
[00129] Optionally, the processing unit 502 is further configured to determine a current change rate of the network cable, where the current change rate is used to indicate a change rate threshold of load power consumption of the PD. Specifically, the processing unit 502 determines the current change rate of the network cable before the sending unit 503 sends the first Ethernet packet to the PD.
1001301 Accordingly, the first Ethernet packet further includes the current change rate of the network cable.
[00131] When determining the current change rate of the network cable, the processing unit 502 is specifically configured to:
determine maximum communication bandwidth corresponding to the network cable category of the network cable; and determine a noise voltage threshold of the network cable according to a port rate of the PSE 500, the maximum communication bandwidth, and an output voltage outputted by the power supply unit 501 to the PD.
[00132] The power supply unit 501 is further configured to: after outputting the voltage to the PD, adjust a voltage value of the output voltage according to a specified unit time, till a measured noise voltage of the network cable is equal to the noise voltage threshold, where the PSE 500 further includes a noise voltage measurement unit 509, configured to measure a noise voltage of the network cable after the power supply unit 501 adjusts a voltage each time.
[00133] The processing unit 502 deteimines a current change rate of the network cable within the specified unit time in a last adjustment process.
[00134] Optionally, the noise voltage threshold makes the following formula hold true:
11 UN ¨ c 2' ¨1 where UN is the noise voltage threshold, U0 is the output voltage outputted by the power supply unit 501 to the PD, C is the port rate of the PSE 500, and W
is the maximum communication bandwidth.
[00135] By using the PSE provided in this embodiment of the present invention, when a line voltage drop between the PSE and a PD is greater than a line voltage drop threshold, the PSE
performs power control management for the PD to make the PD decrease load power consumption. In this way, the PD decreases its load, and a value of a required voltage is decreased, so that a voltage supplied by the PSE to the PD can satisfy a power requirement of the PD, which ensures normal working of the PD and avoids occurrence of a power failure.
[00136] The PSE may further monitor a network cable temperature in real time.
When the network cable temperature reaches a network cable temperature threshold, power control management is also performed for the PD to make the PD decrease load power consumption. In this way, a value of a voltage required by the PD is decreased, ensuring that the network cable temperature is not further deteriorated, and ensuring working reliability of a network cable as well as safety of an entire PoE-based network.
[00137] In a process of supplying power to each PD, the PSE sets a current overload threshold according to impedance of each network cable and maximum-load power consumption of the PD. Different current overload thresholds are set for network cables having different impedance. This greatly reduces risks of an overloaded port of the PSE caused by current imbalance among network cables which further leads to power-off of a PD, ensuring working reliability of the PD.
1001381 Before instructing the PD to decrease load power consumption, the PSE
determines a change rate threshold of load power consumption of the PD, so that when the PD adjusts load power consumption, an actual change rate of load power consumption is less than the change rate threshold of load power consumption. This ensures that a link rate is equal to a port rate of the PSE, and that no service packet loss occurs during data transmission between the PSE and the PD, thereby ensuring transmission reliability of a link.
[00139] It should be noted that the unit division in the embodiments of the present invention is exemplary, and is merely logical function division and may be other division in actual = implementation. Functional units in the embodiments of this application may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit. The foregoing integrated unit may be implemented in a form of hardware, or may be implemented in a form of a software functional unit.
[00140] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, the integrated unit may be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of this application essentially, or the part contributing to the prior art, or all or a part of the technical solutions may be implemented in a form of a software product. The computer software product is stored in a storage medium and includes several instructions for instructing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor to perform all or a part of the steps of the methods described in the embodiments of this application. The foregoing storage medium includes: any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disc.
[00141] The present invention further provides PSE that is configured to implement functions of the PSE in the PoE-based power supply method shown in FIG. 2 and FIG. 4.
Referring to FIG 6, the PSE 600 includes a PSE chip 601, a processor 602, a bus 603, and an interface 604.
[00142] The PSE chip 601, the processor 602, and the interface 604 are mutually connected by using the bus 603. The bus 603 may be a peripheral component interconnect (peripheral component interconnect, PCI for short) bus, an extended industry standard architecture (extended industry standard architecture, EISA for short) bus, or the like.
The bus may be classified into an address bus, a data bus, a control bus, and the like. For ease of representation, the bus is represented by using only one bold line in FIG. 6, which, however, does not mean that there is only one bus or only one type of bus.
[00143] A PD is connected to the interface 604 by using a network cable. The communicates with the PD by using the interface 604, and supplies electric power to the PD.
[00144] The PSE chip 601 is configured to supply power to the PD.
[00145] The processor 602 is configured to: after the PSE chip 601 supplies power to the PD, determine a line voltage drop across the network cable between the PSE 600 and the PD; and when the line voltage drop across the network cable is greater than a line voltage drop threshold, send a first Ethernet packet to the PD by using the interface 604, where the first Ethernet packet includes instruction information instructing the PD to decrease load power consumption.
[00146] Optionally, the PSE chip 601 is further configured to: after supplying power to the PD, determine a current in the network cable; and when determining the line voltage drop across the network cable, the processor is specifically configured to:
determine impedance of the network cable before the PSE chip 601 supplies power to the PD; and use a product of the current in the network cable and the impedance of the network cable as the line voltage drop across the network cable.
[00147] Optionally, when determining the impedance of the network cable, the processor 602 is specifically configured to: determine a network cable category of the network cable;
determine, according to the network cable category, impedance per unit length corresponding to the network cable category; and use a product of the impedance per unit length and a length of the network cable as the impedance of the network cable; and the PSE chip 601 is further configured to determine the length of the network cable.
[00148] When determining the network cable category of the network cable, the processor 602 is specifically configured to:
determine a first correspondence between output powers and signal-to-noise ratios SNR of the network cable according to SNRs of the network cable under multiple output = powers; and determine the network cable category of the network cable according to correspondences between output powers and SNRs of various network cable categories, and the first correspondence; and the PSE chip 601 is further configured to detect and obtain the SNRs of the network cable under the multiple output powers.
[00149] Optionally, the PSE chip 601 is further configured to send a first voltage impulse to the PD, and detect a second voltage impulse received by the PD; and the processor 602 is further configured to determine a network cable insertion loss of the network cable according to the first voltage impulse and the second voltage impulse;
determine, according to a correspondence between insertion losses and temperatures, a network cable temperature corresponding to the network cable insertion loss of the network cable; and when determining that the network cable temperature is greater than a network cable temperature threshold, send a second Ethernet packet to the PD, where the second Ethernet packet includes instruction infoimation instructing the PD to decrease load power consumption.
[00150] Optionally, the PSE chip 601 is further configured to: before the PSE
chip 601 supplies power to the PD, detect current load power consumption of the PD; and the processor 602 is further configured to class the PD according to the current load power consumption of the PD detected by the PSE chip 601 to determine a class of the PD;
detetinine, according to the class of the PD, maximum-load power consumption of the PD and a maximum output voltage outputted by the PSE chip 601 to the PD; and determine a current overload threshold for the network cable according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage, where the current overload threshold is used by the PSE 600 to control power supply for the PD.
[00151] Optionally, the processor 602 is further configured to: before sending the first Ethernet packet to the PD, determine the current change rate, where the current change rate is used to indicate a change rate threshold of load power consumption of the PD;
and accordingly, the first Ethernet packet further includes the current change rate of the network cable.
[00152] The processor 602 is specifically configured to:
determine maximum communication bandwidth corresponding to the network cable category of the network cable; and determine a noise voltage threshold of the network cable according to a port rate of the PSE 600, the maximum communication bandwidth, and an output voltage outputted by the PSE chip 601 to the PD.
[00153] The PSE chip 601 is further configured to: after outputting the voltage to the PD, adjust a voltage value of the output voltage according to a specified unit time, and measure a noise voltage of the network cable after each voltage adjustment, till a measured noise voltage of the network cable is equal to the noise voltage threshold.
[00154] The processor 602 determines a current change rate of the network cable within the specified unit time in a last adjustment process.
[00155] Optionally, the noise voltage threshold makes the following formula hold true:
U
UN- __ 0 I2' ¨1 where UN is the noise voltage threshold. U0 is the output voltage outputted by the PSE chip 601 to the PD, C is the port rate of the PSE, and W is the maximum communication bandwidth.
[00156] The PSE 600 may further include a memory, configured to store a program and the like. Specifically, the program may include program code, where the program code includes a computer operation instruction. The memory may include a random access memory (random access memory, RAM for short), or may further include a non-volatile memory (non-volatile memory), for example, at least one disk memory. The processor 602 executes the program stored in the memory to implement the foregoing functions, thereby implementing the PoE-based power supply method shown in FIG. 2 and FIG. 4.
[00157] By using the PSE provided in this embodiment of the present invention, when a line = voltage drop between the PSE and a PD is greater than a line voltage drop threshold, the PSE
performs power control management for the PD to make the PD decrease load power consumption. In this way, the PD decreases its load, and a value of a required voltage is decreased, so that a voltage supplied by the PSE to the PD can satisfy a power requirement of the PD, which ensures normal working of the PD and avoids occurrence of a power failure.
1001581 The PSE may further monitor a network cable temperature in real time.
When the network cable temperature reaches a network cable temperature threshold, power control management is also performed for the PD to make the PD decrease load power consumption. In this way, a value of a voltage required by the PD is decreased, ensuring that the network cable temperature is not further deteriorated, and ensuring working reliability of a network cable as well as safety of an entire PoE-based network.
[00159] In a process of supplying power to each PD, the PSE sets a current overload threshold according to impedance of each network cable and maximum-load power consumption of the PD. Different current overload thresholds are set for network cables having different impedance. This greatly reduces risks of an overloaded port of the PSE caused by current imbalance among network cables which further leads to power-off of a PD, ensuring working reliability of the PD.
[00160] Before instructing the PD to decrease load power consumption, the PSE
determines a change rate threshold of load power consumption of the PD, so that when the PD adjusts load power consumption, an actual change rate of load power consumption is less than the change rate threshold of load power consumption. This ensures that a link rate is equal to a port rate of the PSE, and that no service packet loss occurs during data transmission between the PSE and the PD, thereby ensuring transmission reliability of a link.
[00161] To sum up, according to the PoE-based power supply method and the PSE
provided in the embodiments of the present invention, when a line voltage drop across a network cable between PSE and a PD is greater than a line voltage drop threshold, the PSE
performs power control management for the PD to make the PD decrease load power consumption.
In this way, the PD decreases its load, and a value of a required voltage is decreased, so that a voltage supplied by the PSE to the PD can satisfy a power requirement of the PD, which ensures normal working of the PD and avoids occurrence of a power failure. The PSE may further monitor a network cable temperature in real time. When the network cable temperature reaches a network cable temperature threshold, power control management is also performed for the PD to make the PD decrease load power consumption. In this way, a value of a voltage required by the PD
is decreased, ensuring that the network cable temperature is not further deteriorated, and ensuring working reliability of a network cable as well as safety of an entire PoE-based network. In a process of supplying power to each PD, the PSE sets a current overload threshold .. according to impedance of each network cable and maximum-load power consumption of the PD. Different current overload thresholds are set for network cables having different impedance. This greatly reduces risks of an overloaded port of the PSE caused by current imbalance among network cables which further leads to power-off of a PD, ensuring working reliability of the PD. Before instructing the PD to decrease load power consumption, the PSE
determines a change rate threshold of load power consumption of the PD, so that when the PD
adjusts load power consumption, an actual change rate of load power consumption is less than the change rate threshold of load power consumption. This ensures that a link rate is equal to a port rate of the PSE, and that no service packet loss occurs during data transmission between the PSE and the PD, thereby ensuring transmission reliability of a link.
1001621 A person skilled in the art should understand that the embodiments of the present invention may be provided as a method, a system, or a computer program product. Therefore, the present invention may use a form of hardware only embodiments, software only embodiments, or embodiments with a combination of software and hardware.
Moreover, the present invention may use a form of a computer program product that is implemented on one or more computer non-volatile storage media (including but not limited to a disk memory, a CD-ROM, an optical memory, and the like) that include computer-usable program code.
1001631 The present invention is described with reference to the flowcharts and/or block diagrams of the method, the device (system), and the computer program product according to =
the embodiments of the present invention. It should be understood that computer program instructions may be used to implement each process and/or each block in the flowcharts and/or the block diagrams and a combination of a process and/or a block in the flowcharts and/or the block diagrams. These computer program instructions may be provided for a general-purpose computer, a dedicated computer, an embedded processor, or a processor of any other programmable data processing device to generate a machine, so that the instructions executed by a computer or a processor of any other programmable data processing device generate an apparatus for implementing a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.
[00164] These computer program instructions may be stored in a computer readable memory that can instruct the computer or any other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory generate an artifact that includes an instruction apparatus. The instruction apparatus implements a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.
[00165] These computer program instructions may be loaded onto a computer or another programmable data processing device, so that a series of operations and steps are performed on the computer or the another programmable device, thereby generating computer-implemented processing. Therefore, the instructions executed on the computer or the another programmable device provide steps for implementing a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.
[00166] Although some embodiments of the present invention have been described, persons skilled in the art can make changes and modifications to these embodiments once they learn the basic inventive concept. Therefore, the following claims are intended to be construed as to cover the embodiments and all changes and modifications falling within the scope of the present invention.
[00167] Obviously, a person skilled in the art can make various modifications and variations to embodiments of the present invention without departing from the scope of the embodiments of the present invention. The present invention is intended to cover these modifications and variations provided that they fall within the scope of protection defined by the following claims and their equivalent technologies.
is the maximum communication bandwidth.
[00135] By using the PSE provided in this embodiment of the present invention, when a line voltage drop between the PSE and a PD is greater than a line voltage drop threshold, the PSE
performs power control management for the PD to make the PD decrease load power consumption. In this way, the PD decreases its load, and a value of a required voltage is decreased, so that a voltage supplied by the PSE to the PD can satisfy a power requirement of the PD, which ensures normal working of the PD and avoids occurrence of a power failure.
[00136] The PSE may further monitor a network cable temperature in real time.
When the network cable temperature reaches a network cable temperature threshold, power control management is also performed for the PD to make the PD decrease load power consumption. In this way, a value of a voltage required by the PD is decreased, ensuring that the network cable temperature is not further deteriorated, and ensuring working reliability of a network cable as well as safety of an entire PoE-based network.
[00137] In a process of supplying power to each PD, the PSE sets a current overload threshold according to impedance of each network cable and maximum-load power consumption of the PD. Different current overload thresholds are set for network cables having different impedance. This greatly reduces risks of an overloaded port of the PSE caused by current imbalance among network cables which further leads to power-off of a PD, ensuring working reliability of the PD.
1001381 Before instructing the PD to decrease load power consumption, the PSE
determines a change rate threshold of load power consumption of the PD, so that when the PD adjusts load power consumption, an actual change rate of load power consumption is less than the change rate threshold of load power consumption. This ensures that a link rate is equal to a port rate of the PSE, and that no service packet loss occurs during data transmission between the PSE and the PD, thereby ensuring transmission reliability of a link.
[00139] It should be noted that the unit division in the embodiments of the present invention is exemplary, and is merely logical function division and may be other division in actual = implementation. Functional units in the embodiments of this application may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit. The foregoing integrated unit may be implemented in a form of hardware, or may be implemented in a form of a software functional unit.
[00140] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, the integrated unit may be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of this application essentially, or the part contributing to the prior art, or all or a part of the technical solutions may be implemented in a form of a software product. The computer software product is stored in a storage medium and includes several instructions for instructing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor to perform all or a part of the steps of the methods described in the embodiments of this application. The foregoing storage medium includes: any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disc.
[00141] The present invention further provides PSE that is configured to implement functions of the PSE in the PoE-based power supply method shown in FIG. 2 and FIG. 4.
Referring to FIG 6, the PSE 600 includes a PSE chip 601, a processor 602, a bus 603, and an interface 604.
[00142] The PSE chip 601, the processor 602, and the interface 604 are mutually connected by using the bus 603. The bus 603 may be a peripheral component interconnect (peripheral component interconnect, PCI for short) bus, an extended industry standard architecture (extended industry standard architecture, EISA for short) bus, or the like.
The bus may be classified into an address bus, a data bus, a control bus, and the like. For ease of representation, the bus is represented by using only one bold line in FIG. 6, which, however, does not mean that there is only one bus or only one type of bus.
[00143] A PD is connected to the interface 604 by using a network cable. The communicates with the PD by using the interface 604, and supplies electric power to the PD.
[00144] The PSE chip 601 is configured to supply power to the PD.
[00145] The processor 602 is configured to: after the PSE chip 601 supplies power to the PD, determine a line voltage drop across the network cable between the PSE 600 and the PD; and when the line voltage drop across the network cable is greater than a line voltage drop threshold, send a first Ethernet packet to the PD by using the interface 604, where the first Ethernet packet includes instruction information instructing the PD to decrease load power consumption.
[00146] Optionally, the PSE chip 601 is further configured to: after supplying power to the PD, determine a current in the network cable; and when determining the line voltage drop across the network cable, the processor is specifically configured to:
determine impedance of the network cable before the PSE chip 601 supplies power to the PD; and use a product of the current in the network cable and the impedance of the network cable as the line voltage drop across the network cable.
[00147] Optionally, when determining the impedance of the network cable, the processor 602 is specifically configured to: determine a network cable category of the network cable;
determine, according to the network cable category, impedance per unit length corresponding to the network cable category; and use a product of the impedance per unit length and a length of the network cable as the impedance of the network cable; and the PSE chip 601 is further configured to determine the length of the network cable.
[00148] When determining the network cable category of the network cable, the processor 602 is specifically configured to:
determine a first correspondence between output powers and signal-to-noise ratios SNR of the network cable according to SNRs of the network cable under multiple output = powers; and determine the network cable category of the network cable according to correspondences between output powers and SNRs of various network cable categories, and the first correspondence; and the PSE chip 601 is further configured to detect and obtain the SNRs of the network cable under the multiple output powers.
[00149] Optionally, the PSE chip 601 is further configured to send a first voltage impulse to the PD, and detect a second voltage impulse received by the PD; and the processor 602 is further configured to determine a network cable insertion loss of the network cable according to the first voltage impulse and the second voltage impulse;
determine, according to a correspondence between insertion losses and temperatures, a network cable temperature corresponding to the network cable insertion loss of the network cable; and when determining that the network cable temperature is greater than a network cable temperature threshold, send a second Ethernet packet to the PD, where the second Ethernet packet includes instruction infoimation instructing the PD to decrease load power consumption.
[00150] Optionally, the PSE chip 601 is further configured to: before the PSE
chip 601 supplies power to the PD, detect current load power consumption of the PD; and the processor 602 is further configured to class the PD according to the current load power consumption of the PD detected by the PSE chip 601 to determine a class of the PD;
detetinine, according to the class of the PD, maximum-load power consumption of the PD and a maximum output voltage outputted by the PSE chip 601 to the PD; and determine a current overload threshold for the network cable according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage, where the current overload threshold is used by the PSE 600 to control power supply for the PD.
[00151] Optionally, the processor 602 is further configured to: before sending the first Ethernet packet to the PD, determine the current change rate, where the current change rate is used to indicate a change rate threshold of load power consumption of the PD;
and accordingly, the first Ethernet packet further includes the current change rate of the network cable.
[00152] The processor 602 is specifically configured to:
determine maximum communication bandwidth corresponding to the network cable category of the network cable; and determine a noise voltage threshold of the network cable according to a port rate of the PSE 600, the maximum communication bandwidth, and an output voltage outputted by the PSE chip 601 to the PD.
[00153] The PSE chip 601 is further configured to: after outputting the voltage to the PD, adjust a voltage value of the output voltage according to a specified unit time, and measure a noise voltage of the network cable after each voltage adjustment, till a measured noise voltage of the network cable is equal to the noise voltage threshold.
[00154] The processor 602 determines a current change rate of the network cable within the specified unit time in a last adjustment process.
[00155] Optionally, the noise voltage threshold makes the following formula hold true:
U
UN- __ 0 I2' ¨1 where UN is the noise voltage threshold. U0 is the output voltage outputted by the PSE chip 601 to the PD, C is the port rate of the PSE, and W is the maximum communication bandwidth.
[00156] The PSE 600 may further include a memory, configured to store a program and the like. Specifically, the program may include program code, where the program code includes a computer operation instruction. The memory may include a random access memory (random access memory, RAM for short), or may further include a non-volatile memory (non-volatile memory), for example, at least one disk memory. The processor 602 executes the program stored in the memory to implement the foregoing functions, thereby implementing the PoE-based power supply method shown in FIG. 2 and FIG. 4.
[00157] By using the PSE provided in this embodiment of the present invention, when a line = voltage drop between the PSE and a PD is greater than a line voltage drop threshold, the PSE
performs power control management for the PD to make the PD decrease load power consumption. In this way, the PD decreases its load, and a value of a required voltage is decreased, so that a voltage supplied by the PSE to the PD can satisfy a power requirement of the PD, which ensures normal working of the PD and avoids occurrence of a power failure.
1001581 The PSE may further monitor a network cable temperature in real time.
When the network cable temperature reaches a network cable temperature threshold, power control management is also performed for the PD to make the PD decrease load power consumption. In this way, a value of a voltage required by the PD is decreased, ensuring that the network cable temperature is not further deteriorated, and ensuring working reliability of a network cable as well as safety of an entire PoE-based network.
[00159] In a process of supplying power to each PD, the PSE sets a current overload threshold according to impedance of each network cable and maximum-load power consumption of the PD. Different current overload thresholds are set for network cables having different impedance. This greatly reduces risks of an overloaded port of the PSE caused by current imbalance among network cables which further leads to power-off of a PD, ensuring working reliability of the PD.
[00160] Before instructing the PD to decrease load power consumption, the PSE
determines a change rate threshold of load power consumption of the PD, so that when the PD adjusts load power consumption, an actual change rate of load power consumption is less than the change rate threshold of load power consumption. This ensures that a link rate is equal to a port rate of the PSE, and that no service packet loss occurs during data transmission between the PSE and the PD, thereby ensuring transmission reliability of a link.
[00161] To sum up, according to the PoE-based power supply method and the PSE
provided in the embodiments of the present invention, when a line voltage drop across a network cable between PSE and a PD is greater than a line voltage drop threshold, the PSE
performs power control management for the PD to make the PD decrease load power consumption.
In this way, the PD decreases its load, and a value of a required voltage is decreased, so that a voltage supplied by the PSE to the PD can satisfy a power requirement of the PD, which ensures normal working of the PD and avoids occurrence of a power failure. The PSE may further monitor a network cable temperature in real time. When the network cable temperature reaches a network cable temperature threshold, power control management is also performed for the PD to make the PD decrease load power consumption. In this way, a value of a voltage required by the PD
is decreased, ensuring that the network cable temperature is not further deteriorated, and ensuring working reliability of a network cable as well as safety of an entire PoE-based network. In a process of supplying power to each PD, the PSE sets a current overload threshold .. according to impedance of each network cable and maximum-load power consumption of the PD. Different current overload thresholds are set for network cables having different impedance. This greatly reduces risks of an overloaded port of the PSE caused by current imbalance among network cables which further leads to power-off of a PD, ensuring working reliability of the PD. Before instructing the PD to decrease load power consumption, the PSE
determines a change rate threshold of load power consumption of the PD, so that when the PD
adjusts load power consumption, an actual change rate of load power consumption is less than the change rate threshold of load power consumption. This ensures that a link rate is equal to a port rate of the PSE, and that no service packet loss occurs during data transmission between the PSE and the PD, thereby ensuring transmission reliability of a link.
1001621 A person skilled in the art should understand that the embodiments of the present invention may be provided as a method, a system, or a computer program product. Therefore, the present invention may use a form of hardware only embodiments, software only embodiments, or embodiments with a combination of software and hardware.
Moreover, the present invention may use a form of a computer program product that is implemented on one or more computer non-volatile storage media (including but not limited to a disk memory, a CD-ROM, an optical memory, and the like) that include computer-usable program code.
1001631 The present invention is described with reference to the flowcharts and/or block diagrams of the method, the device (system), and the computer program product according to =
the embodiments of the present invention. It should be understood that computer program instructions may be used to implement each process and/or each block in the flowcharts and/or the block diagrams and a combination of a process and/or a block in the flowcharts and/or the block diagrams. These computer program instructions may be provided for a general-purpose computer, a dedicated computer, an embedded processor, or a processor of any other programmable data processing device to generate a machine, so that the instructions executed by a computer or a processor of any other programmable data processing device generate an apparatus for implementing a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.
[00164] These computer program instructions may be stored in a computer readable memory that can instruct the computer or any other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory generate an artifact that includes an instruction apparatus. The instruction apparatus implements a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.
[00165] These computer program instructions may be loaded onto a computer or another programmable data processing device, so that a series of operations and steps are performed on the computer or the another programmable device, thereby generating computer-implemented processing. Therefore, the instructions executed on the computer or the another programmable device provide steps for implementing a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.
[00166] Although some embodiments of the present invention have been described, persons skilled in the art can make changes and modifications to these embodiments once they learn the basic inventive concept. Therefore, the following claims are intended to be construed as to cover the embodiments and all changes and modifications falling within the scope of the present invention.
[00167] Obviously, a person skilled in the art can make various modifications and variations to embodiments of the present invention without departing from the scope of the embodiments of the present invention. The present invention is intended to cover these modifications and variations provided that they fall within the scope of protection defined by the following claims and their equivalent technologies.
Claims (17)
1. A Power over Ethernet (PoE)-based power supply method, comprising:
after power sourcing equipment (PSE) supplies power to a powered device (PD), determining, by the PSE, a line voltage drop across a network cable between the PSE and the PD; and when the line voltage drop across the network cable is greater than a line voltage drop threshold, sending, by the PSE, a first Ethernet packet to the PD, wherein the first Ethernet packet comprises instruction information for instructing the PD to decrease load power consumption.
after power sourcing equipment (PSE) supplies power to a powered device (PD), determining, by the PSE, a line voltage drop across a network cable between the PSE and the PD; and when the line voltage drop across the network cable is greater than a line voltage drop threshold, sending, by the PSE, a first Ethernet packet to the PD, wherein the first Ethernet packet comprises instruction information for instructing the PD to decrease load power consumption.
2. The method according to claim 1, wherein determining, by the PSE, the line voltage drop across the network cable comprises:
determining, by the PSE, impedance of the network cable before supplying power to the PD;
determining, by the PSE, a current in the network cable after supplying power to the PD;
and using a product of the current in the network cable and the impedance of the network cable as the line voltage drop across the network cable.
determining, by the PSE, impedance of the network cable before supplying power to the PD;
determining, by the PSE, a current in the network cable after supplying power to the PD;
and using a product of the current in the network cable and the impedance of the network cable as the line voltage drop across the network cable.
3. The method according to claim 2, wherein the determining, by the PSE, impedance of the network cable comprises:
determining, by the PSE, a length of the network cable, and determining a network cable category of the network cable;
determining, by the PSE, according to the network cable category, impedance per unit length corresponding to the network cable category; and using a product of the impedance per unit length and the length of the network cable as the impedance of the network cable; wherein the determining, by the PSE, a network cable category of the network cable comprises:
detecting, by the PSE, signal-to-noise ratios (SNRs) of the network cable under multiple output powers, and determining a first correspondence between output powers and SNRs of the network cable; and determining, by the PSE, the network cable category of the network cable according to correspondences between output powers and SNRs of various network cable categories, and the first correspondence.
determining, by the PSE, a length of the network cable, and determining a network cable category of the network cable;
determining, by the PSE, according to the network cable category, impedance per unit length corresponding to the network cable category; and using a product of the impedance per unit length and the length of the network cable as the impedance of the network cable; wherein the determining, by the PSE, a network cable category of the network cable comprises:
detecting, by the PSE, signal-to-noise ratios (SNRs) of the network cable under multiple output powers, and determining a first correspondence between output powers and SNRs of the network cable; and determining, by the PSE, the network cable category of the network cable according to correspondences between output powers and SNRs of various network cable categories, and the first correspondence.
4. The method according to claim 1, wherein the method further comprises:
sending, by the PSE, a first voltage impulse to the PD, and detecting a second voltage impulse received by the PD;
determining, by the PSE, a network cable insertion loss of the network cable according to the first voltage impulse and the second voltage impulse;
determining, by the PSE, according to a correspondence between insertion losses and temperatures, a network cable temperature corresponding to the network cable insertion loss of the network cable; and when the PSE determines that the network cable temperature is greater than a network cable temperature threshold, sending, by the PSE, a second Ethernet packet to the PD, wherein the second Ethernet packet comprises instruction information instructing the PD to decrease load power consumption.
sending, by the PSE, a first voltage impulse to the PD, and detecting a second voltage impulse received by the PD;
determining, by the PSE, a network cable insertion loss of the network cable according to the first voltage impulse and the second voltage impulse;
determining, by the PSE, according to a correspondence between insertion losses and temperatures, a network cable temperature corresponding to the network cable insertion loss of the network cable; and when the PSE determines that the network cable temperature is greater than a network cable temperature threshold, sending, by the PSE, a second Ethernet packet to the PD, wherein the second Ethernet packet comprises instruction information instructing the PD to decrease load power consumption.
5. The method according to claim 2, wherein before the PSE supplies power to the PD, the method further comprises:
detecting, by the PSE, current load power consumption of the PD, and performing classification to the PD according to the detected current load power consumption of the PD
to determine a class of the PD;
determining, according to the class of the PD, maximum-load power consumption of the PD and a maximum output voltage outputted by the PSE to the PD; and determining a current overload threshold for the network cable according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage, wherein the current overload threshold is used by the PSE to control power supply for the PD.
detecting, by the PSE, current load power consumption of the PD, and performing classification to the PD according to the detected current load power consumption of the PD
to determine a class of the PD;
determining, according to the class of the PD, maximum-load power consumption of the PD and a maximum output voltage outputted by the PSE to the PD; and determining a current overload threshold for the network cable according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage, wherein the current overload threshold is used by the PSE to control power supply for the PD.
6. The method according to claim 3, wherein before the PSE sends the first Ethernet packet to the PD, the method further comprises: determining, by the PSE, a current change rate of the network cable, wherein the current change rate is used to indicate a change rate threshold of load power consumption of the PD; and accordingly, the first Ethernet packet further comprises the current change rate of the network cable; wherein the determining, by the PSE, a current change rate of the network cable specifically comprises:
determining, by the PSE, maximum communication bandwidth corresponding to the network cable category of the network cable;
determining, by the PSE, a noise voltage threshold of the network cable according to a port rate of the PSE, the maximum communication bandwidth, and an output voltage outputted by the PSE to the PD;
after the PSE outputs the voltage to the PD, adjusting, by the PSE, a voltage value of the output voltage according to a specified unit time, and measuring a noise voltage of the network cable after each voltage adjustment, till a measured noise voltage of the network cable is equal to the noise voltage threshold; and determining, by the PSE, a current change rate of the network cable within the specified unit time in a last adjustment process.
determining, by the PSE, maximum communication bandwidth corresponding to the network cable category of the network cable;
determining, by the PSE, a noise voltage threshold of the network cable according to a port rate of the PSE, the maximum communication bandwidth, and an output voltage outputted by the PSE to the PD;
after the PSE outputs the voltage to the PD, adjusting, by the PSE, a voltage value of the output voltage according to a specified unit time, and measuring a noise voltage of the network cable after each voltage adjustment, till a measured noise voltage of the network cable is equal to the noise voltage threshold; and determining, by the PSE, a current change rate of the network cable within the specified unit time in a last adjustment process.
7. The method according to claim 6, wherein the noise voltage threshold makes the following formula hold true:
wherein UN is the noise voltage threshold, UO is the output voltage outputted by the PSE to the PD, C is the port rate of the PSE, and W is the maximum communication bandwidth.
wherein UN is the noise voltage threshold, UO is the output voltage outputted by the PSE to the PD, C is the port rate of the PSE, and W is the maximum communication bandwidth.
8. A power sourcing equipment (PSE), comprising:
a PSE chip, configured to supply power to a powered device (PD); and a processor, configured to: after the PSE chip supplies power to the PD, determine a line voltage drop across a network cable between the PSE and the PD; and when the line voltage drop across the network cable is greater than a line voltage drop threshold, send a first Ethernet packet to the PD, wherein the first Ethernet packet comprises instruction information for instructing the PD to decrease load power consumption.
a PSE chip, configured to supply power to a powered device (PD); and a processor, configured to: after the PSE chip supplies power to the PD, determine a line voltage drop across a network cable between the PSE and the PD; and when the line voltage drop across the network cable is greater than a line voltage drop threshold, send a first Ethernet packet to the PD, wherein the first Ethernet packet comprises instruction information for instructing the PD to decrease load power consumption.
9. The PSE according to claim 8, wherein the PSE chip is further configured to: after supplying power to the PD, determine a current in the network cable; and when determining the line voltage drop across the network cable, the processor is specifically configured to:
determine impedance of the network cable before the PSE chip supplies power to the PD;
and use a product of the current in the network cable and the impedance of the network cable as the line voltage drop across the network cable.
determine impedance of the network cable before the PSE chip supplies power to the PD;
and use a product of the current in the network cable and the impedance of the network cable as the line voltage drop across the network cable.
10. The PSE according to claim 9, wherein:
when determining the impedance of the network cable, the processor is specifically configured to: determine a network cable category of the network cable;
determine, according to the network cable category, impedance per unit length corresponding to the network cable category; and use a product of the impedance per unit length and a length of the network cable as the impedance of the network cable; and the PSE chip is further configured to determine the length of the network cable; wherein when determining the network cable category of the network cable, the processor is specifically configured to:
determine a first correspondence between output powers and SNRs of the network cable according to signal-to-noise ratios (SNRs) of the network cable under multiple output powers;
and determine the network cable category of the network cable according to correspondences between output powers and SNRs of various network cable categories, and the first correspondence; and the PSE chip is further configured to detect and obtain the SNRs of the network cable under the multiple output powers.
when determining the impedance of the network cable, the processor is specifically configured to: determine a network cable category of the network cable;
determine, according to the network cable category, impedance per unit length corresponding to the network cable category; and use a product of the impedance per unit length and a length of the network cable as the impedance of the network cable; and the PSE chip is further configured to determine the length of the network cable; wherein when determining the network cable category of the network cable, the processor is specifically configured to:
determine a first correspondence between output powers and SNRs of the network cable according to signal-to-noise ratios (SNRs) of the network cable under multiple output powers;
and determine the network cable category of the network cable according to correspondences between output powers and SNRs of various network cable categories, and the first correspondence; and the PSE chip is further configured to detect and obtain the SNRs of the network cable under the multiple output powers.
11. The PSE according to claim 8, wherein:
the PSE chip is further configured to send a first voltage impulse to the PD, and detect a second voltage impulse received by the PD; and the processor is further configured to determine a network cable insertion loss of the network cable according to the first voltage impulse and the second voltage impulse;
determine, according to a correspondence between insertion losses and temperatures, a network cable temperature corresponding to the network cable insertion loss of the network cable; and when determining that the network cable temperature is greater than a network cable temperature threshold, send a second Ethernet packet to the PD, wherein the second Ethernet packet comprises instruction information instructing the PD to decrease load power consumption.
the PSE chip is further configured to send a first voltage impulse to the PD, and detect a second voltage impulse received by the PD; and the processor is further configured to determine a network cable insertion loss of the network cable according to the first voltage impulse and the second voltage impulse;
determine, according to a correspondence between insertion losses and temperatures, a network cable temperature corresponding to the network cable insertion loss of the network cable; and when determining that the network cable temperature is greater than a network cable temperature threshold, send a second Ethernet packet to the PD, wherein the second Ethernet packet comprises instruction information instructing the PD to decrease load power consumption.
12. The PSE according to claim 9, wherein the PSE chip is further configured to: before the PSE chip supplies power to the PD, detect current load power consumption of the PD;
and the processor is further configured to class the PD according to the current load power consumption of the PD detected by the PSE chip to determine a class of the PD;
determine, according to the class of the PD, maximum-load power consumption of the PD and a maximum output voltage outputted by the PSE chip to the PD; and determine a current overload threshold for the network cable according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage, wherein the current overload threshold is used by the PSE to control power supply for the PD.
and the processor is further configured to class the PD according to the current load power consumption of the PD detected by the PSE chip to determine a class of the PD;
determine, according to the class of the PD, maximum-load power consumption of the PD and a maximum output voltage outputted by the PSE chip to the PD; and determine a current overload threshold for the network cable according to the maximum-load power consumption of the PD, the impedance of the network cable, and the maximum output voltage, wherein the current overload threshold is used by the PSE to control power supply for the PD.
13. The PSE according to claim 10, wherein the processor is further configured to:
before sending the first Ethernet packet to the PD, determine a current change rate, wherein the current change rate is used to indicate a change rate threshold of load power consumption of the PD; and accordingly, the first Ethernet packet further comprises the current change rate of the network cable; wherein the processor is specifically configured to:
determine maximum communication bandwidth corresponding to the network cable category of the network cable; and determine a noise voltage threshold of the network cable according to a port rate of the PSE, the maximum communication bandwidth, and an output voltage outputted by the PSE to the PD;
the PSE chip is further configured to: after outputting the voltage to the PD, adjust a voltage value of the output voltage according to a specified unit time, and measure a noise voltage of the network cable after each voltage adjustment, till a measured noise voltage of the network cable is equal to the noise voltage threshold; and the processor determines a current change rate of the network cable within the specified unit time in a last adjustment process.
before sending the first Ethernet packet to the PD, determine a current change rate, wherein the current change rate is used to indicate a change rate threshold of load power consumption of the PD; and accordingly, the first Ethernet packet further comprises the current change rate of the network cable; wherein the processor is specifically configured to:
determine maximum communication bandwidth corresponding to the network cable category of the network cable; and determine a noise voltage threshold of the network cable according to a port rate of the PSE, the maximum communication bandwidth, and an output voltage outputted by the PSE to the PD;
the PSE chip is further configured to: after outputting the voltage to the PD, adjust a voltage value of the output voltage according to a specified unit time, and measure a noise voltage of the network cable after each voltage adjustment, till a measured noise voltage of the network cable is equal to the noise voltage threshold; and the processor determines a current change rate of the network cable within the specified unit time in a last adjustment process.
14. The PSE according to claim 13, wherein the noise voltage threshold makes the following formula hold true:
wherein UN is the noise voltage threshold, UO is the output voltage outputted by the PSE chip to the PD, C is the port rate of the PSE, and W is the maximum communication bandwidth.
wherein UN is the noise voltage threshold, UO is the output voltage outputted by the PSE chip to the PD, C is the port rate of the PSE, and W is the maximum communication bandwidth.
15. A powered device (PD), comprising:
a PD chip, configured to receive power supplied by a power sourcing equipment (PSE), wherein the PD connects the PSE through a network cable;
a processor, configured to receive an Ethernet packet sent by the PSE when a line voltage drop across the network cable is greater than a line voltage drop threshold, wherein the Ethernet packet comprises a current change rate and instruction information for instructing the PD to decrease load power consumption, decrease load power consumption of the PD and ensure that a change rate of load power consumption within a unit time is less than the current change rate.
a PD chip, configured to receive power supplied by a power sourcing equipment (PSE), wherein the PD connects the PSE through a network cable;
a processor, configured to receive an Ethernet packet sent by the PSE when a line voltage drop across the network cable is greater than a line voltage drop threshold, wherein the Ethernet packet comprises a current change rate and instruction information for instructing the PD to decrease load power consumption, decrease load power consumption of the PD and ensure that a change rate of load power consumption within a unit time is less than the current change rate.
16. The PD according to claim 15, wherein decrease load power consumption of the PD, comprises:
shut down a power source for a module that is idle or undergoes no data transmission.
shut down a power source for a module that is idle or undergoes no data transmission.
17. The PD according to claim 15, wherein the Ethernet packet further comprises cause information of instructing the PD to decrease load power consumption, wherein the cause information comprises any one of the following:
the line voltage drop across the network cable is greater than the line voltage drop threshold; and a network cable temperature of the network cable is greater than a network cable temperature threshold.
the line voltage drop across the network cable is greater than the line voltage drop threshold; and a network cable temperature of the network cable is greater than a network cable temperature threshold.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510863963.9A CN106817226B (en) | 2015-11-30 | 2015-11-30 | A kind of method of supplying power to and PSE based on PoE |
CN201510863963.9 | 2015-11-30 |
Publications (2)
Publication Number | Publication Date |
---|---|
CA2949613A1 CA2949613A1 (en) | 2017-05-30 |
CA2949613C true CA2949613C (en) | 2019-03-19 |
Family
ID=57326259
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CA2949613A Active CA2949613C (en) | 2015-11-30 | 2016-11-25 | Poe-based power supply method and pse |
Country Status (5)
Country | Link |
---|---|
US (1) | US10027494B2 (en) |
EP (1) | EP3174243B1 (en) |
JP (1) | JP6379162B2 (en) |
CN (1) | CN106817226B (en) |
CA (1) | CA2949613C (en) |
Families Citing this family (44)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10809134B2 (en) | 2017-05-24 | 2020-10-20 | Cisco Technology, Inc. | Thermal modeling for cables transmitting data and power |
US11054457B2 (en) | 2017-05-24 | 2021-07-06 | Cisco Technology, Inc. | Safety monitoring for cables transmitting data and power |
CN107589322B (en) * | 2017-08-15 | 2020-08-07 | 浙江智动科技有限公司 | Power supply equipment, powered equipment and method for detecting network cable length |
US10541758B2 (en) | 2017-09-18 | 2020-01-21 | Cisco Technology, Inc. | Power delivery through an optical system |
US11431420B2 (en) | 2017-09-18 | 2022-08-30 | Cisco Technology, Inc. | Power delivery through an optical system |
CN109597453A (en) * | 2017-09-30 | 2019-04-09 | 华为技术有限公司 | Power supply energy-saving method, power supply unit and power receiving equipment |
CN107995000B (en) * | 2017-12-08 | 2021-01-05 | 锐捷网络股份有限公司 | Power supply detection method and equipment |
US11119142B1 (en) * | 2018-02-05 | 2021-09-14 | Amazon Technologies, Inc. | Automated cable assessment and control |
US11093012B2 (en) | 2018-03-02 | 2021-08-17 | Cisco Technology, Inc. | Combined power, data, and cooling delivery in a communications network |
US10732688B2 (en) | 2018-03-09 | 2020-08-04 | Cisco Technology, Inc. | Delivery of AC power with higher power PoE (power over ethernet) systems |
US10281513B1 (en) | 2018-03-09 | 2019-05-07 | Cisco Technology, Inc. | Verification of cable application and reduced load cable removal in power over communications systems |
US10631443B2 (en) | 2018-03-12 | 2020-04-21 | Cisco Technology, Inc. | Splitting of combined delivery power, data, and cooling in a communications network |
US10672537B2 (en) | 2018-03-30 | 2020-06-02 | Cisco Technology, Inc. | Interface module for combined delivery power, data, and cooling at a network device |
US10958471B2 (en) * | 2018-04-05 | 2021-03-23 | Cisco Technology, Inc. | Method and apparatus for detecting wire fault and electrical imbalance for power over communications cabling |
US10735105B2 (en) | 2018-05-04 | 2020-08-04 | Cisco Technology, Inc. | High power and data delivery in a communications network with safety and fault protection |
US11038307B2 (en) | 2018-05-25 | 2021-06-15 | Cisco Technology, Inc. | Cable power rating identification for power distribution over communications cabling |
US11165595B2 (en) * | 2018-10-23 | 2021-11-02 | Tallac Networks, Inc. | Network and switch providing controllable power through outlets and communication ports |
CN111181737B (en) * | 2018-11-12 | 2021-09-14 | 华为技术有限公司 | Control method, power receiving device and system |
US10763749B2 (en) | 2018-11-14 | 2020-09-01 | Cisco Technology, Inc | Multi-resonant converter power supply |
US10790997B2 (en) | 2019-01-23 | 2020-09-29 | Cisco Technology, Inc. | Transmission of pulse power and data in a communications network |
US11061456B2 (en) | 2019-01-23 | 2021-07-13 | Cisco Technology, Inc. | Transmission of pulse power and data over a wire pair |
US10680836B1 (en) | 2019-02-25 | 2020-06-09 | Cisco Technology, Inc. | Virtualized chassis with power-over-Ethernet for networking applications |
US11456883B2 (en) | 2019-03-13 | 2022-09-27 | Cisco Technology, Inc. | Multiple phase pulse power in a network communications system |
US10849250B2 (en) | 2019-03-14 | 2020-11-24 | Cisco Technology, Inc. | Integration of power, data, cooling, and management in a network communications system |
CN109981298B (en) * | 2019-04-07 | 2021-01-26 | 恒启电子(苏州)有限公司 | Industrial switch POE power management method and management system |
CN109921914B (en) * | 2019-04-12 | 2021-04-06 | 上海剑桥科技股份有限公司 | POE equipment |
CN110365495B (en) * | 2019-07-03 | 2021-07-30 | 普联技术有限公司 | PoE power receiving method, device and system |
CN110441582B (en) * | 2019-07-31 | 2021-10-08 | 深圳天地宽视信息科技有限公司 | Detection system and detection method for judging long-distance transmission |
US11063630B2 (en) | 2019-11-01 | 2021-07-13 | Cisco Technology, Inc. | Initialization and synchronization for pulse power in a network system |
US11252811B2 (en) | 2020-01-15 | 2022-02-15 | Cisco Technology, Inc. | Power distribution from point-of-load with cooling |
US11088547B1 (en) | 2020-01-17 | 2021-08-10 | Cisco Technology, Inc. | Method and system for integration and control of power for consumer power circuits |
US11853138B2 (en) | 2020-01-17 | 2023-12-26 | Cisco Technology, Inc. | Modular power controller |
US11438183B2 (en) | 2020-02-25 | 2022-09-06 | Cisco Technology, Inc. | Power adapter for power supply unit |
US11637497B2 (en) | 2020-02-28 | 2023-04-25 | Cisco Technology, Inc. | Multi-phase pulse power short reach distribution |
US11320610B2 (en) | 2020-04-07 | 2022-05-03 | Cisco Technology, Inc. | Integration of power and optics through cold plate for delivery to electronic and photonic integrated circuits |
US11307368B2 (en) | 2020-04-07 | 2022-04-19 | Cisco Technology, Inc. | Integration of power and optics through cold plates for delivery to electronic and photonic integrated circuits |
US10958454B1 (en) * | 2020-05-13 | 2021-03-23 | Logitech Europe S.A. | System and method for cable link establishment |
CN113938330B (en) * | 2020-06-29 | 2022-12-30 | 华为技术有限公司 | Connection mode identification method, power supply device, power receiving device, and storage medium |
CN114520748A (en) * | 2020-11-19 | 2022-05-20 | 华为技术有限公司 | Power supply management method, device and system |
CN112737113B (en) * | 2020-12-23 | 2023-03-21 | 中煤科工集团重庆研究院有限公司 | Method for increasing number of power load slave devices based on network address |
CN113125877B (en) * | 2021-03-02 | 2022-12-06 | 华为技术有限公司 | PD detection equipment for powered device |
CN113890845B (en) * | 2021-09-14 | 2023-06-20 | 博为科技有限公司 | PSE test method and device, storage medium and electronic equipment |
CN114024783B (en) * | 2021-09-29 | 2023-10-17 | 成都市联洲国际技术有限公司 | Power calibration method, device, PSE, electronic equipment and readable storage medium |
CN114137942B (en) * | 2021-11-29 | 2023-11-10 | 北京天融信网络安全技术有限公司 | Control method and device for distributed controller cluster |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7664972B2 (en) * | 2006-12-19 | 2010-02-16 | Broadcom Corporation | System and method for controlling power delivered to a powered device based on cable characteristics |
US7814346B2 (en) * | 2007-03-12 | 2010-10-12 | Broadcom Corporation | System and method for continual cable thermal monitoring using cable resistance considerations in power over ethernet |
US7818591B2 (en) * | 2007-04-11 | 2010-10-19 | Cisco Technology, Inc. | Techniques for measuring network channel resistive loss between a power-sourcing apparatus and a powered device |
CN103595543B (en) * | 2012-08-13 | 2018-02-13 | 中国电信股份有限公司 | Power supply end equipment, electric power system and method for supplying power to |
US9897981B2 (en) * | 2013-10-01 | 2018-02-20 | Linear Technology Corporation | Detection and classification scheme for power over ethernet system |
US9634844B2 (en) * | 2014-01-30 | 2017-04-25 | Linear Technology Corporation | Detection scheme for four wire pair Power Over Ethernet system |
US9853838B2 (en) * | 2014-05-15 | 2017-12-26 | Linear Technology Corporation | PoDL system with active dV/dt and dI/dt control |
-
2015
- 2015-11-30 CN CN201510863963.9A patent/CN106817226B/en not_active Expired - Fee Related
-
2016
- 2016-11-15 EP EP16198964.5A patent/EP3174243B1/en not_active Not-in-force
- 2016-11-25 CA CA2949613A patent/CA2949613C/en active Active
- 2016-11-28 JP JP2016230304A patent/JP6379162B2/en not_active Expired - Fee Related
- 2016-11-29 US US15/362,910 patent/US10027494B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
CA2949613A1 (en) | 2017-05-30 |
EP3174243A1 (en) | 2017-05-31 |
CN106817226B (en) | 2019-11-29 |
US10027494B2 (en) | 2018-07-17 |
JP2017103768A (en) | 2017-06-08 |
EP3174243B1 (en) | 2018-08-08 |
CN106817226A (en) | 2017-06-09 |
US20170155518A1 (en) | 2017-06-01 |
JP6379162B2 (en) | 2018-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2949613C (en) | Poe-based power supply method and pse | |
US10075302B2 (en) | Power over ethernet method and device | |
JP4876078B2 (en) | Adjusting the current limit threshold based on the power requirements of the receiving device in a system for providing power over a communication link | |
CA2937953C (en) | Terminal, power adapter and method for handling charging anomaly | |
JP4790729B2 (en) | Combination of high-side and low-side current sensing in a system for providing power over a communication link | |
CN104137473B (en) | POE method, device, equipment and system | |
CN104954145B (en) | Ethernet power supply method, power supply equipment and Ethernet power supply system | |
CN106998253B (en) | Power supply equipment and power supply method of Ethernet power supply system | |
US11632077B2 (en) | Fault point position determining method and apparatus and photovoltaic system | |
WO2018095399A1 (en) | Power supply | |
US9014248B2 (en) | BASE-T common mode testing in an Ethernet subsystem | |
CN103067182B (en) | A kind of method of constrained feed and power supply unit | |
CN105991294B (en) | The method and power supply unit of PoE power compensation | |
TWI634764B (en) | Power source equipment for power over ethernet system | |
CN106664210A (en) | Powered device and power distribution system comprising the powered device | |
CN110048859B (en) | POE power supply method, equipment and storage medium | |
US12107641B2 (en) | Ethernet power sourcing equipment and power management method thereof | |
WO2021249496A1 (en) | Power sourcing detection apparatus and method, and computer program product thereof | |
CN106899453A (en) | The detection method and device of power supply adaptor failure | |
JP2013017079A (en) | Decision device, decision method and program | |
KR20110064525A (en) | Powered devices and appended devices with class resistors |