CN107995000B - Power supply detection method and equipment - Google Patents

Power supply detection method and equipment Download PDF

Info

Publication number
CN107995000B
CN107995000B CN201711297769.4A CN201711297769A CN107995000B CN 107995000 B CN107995000 B CN 107995000B CN 201711297769 A CN201711297769 A CN 201711297769A CN 107995000 B CN107995000 B CN 107995000B
Authority
CN
China
Prior art keywords
power supply
power
preset range
resistance
equipment
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
Application number
CN201711297769.4A
Other languages
Chinese (zh)
Other versions
CN107995000A (en
Inventor
刘伟斌
黄鹄泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN201711297769.4A priority Critical patent/CN107995000B/en
Publication of CN107995000A publication Critical patent/CN107995000A/en
Application granted granted Critical
Publication of CN107995000B publication Critical patent/CN107995000B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H9/00Emergency protective circuit arrangements for limiting excess current or voltage without disconnection
    • H02H9/04Emergency protective circuit arrangements for limiting excess current or voltage without disconnection responsive to excess voltage
    • H02H9/045Emergency protective circuit arrangements for limiting excess current or voltage without disconnection responsive to excess voltage adapted to a particular application and not provided for elsewhere

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Emergency Protection Circuit Devices (AREA)

Abstract

The invention discloses a power supply detection method and equipment, which are used for improving the accuracy of power supply detection when the number of lightning protection components in PSE equipment is reduced and the manufacturing cost of the PSE equipment is reduced. The method comprises the following steps: the power supply device determines whether the resistance of a power receiving device connected with the power supply device is within a first preset range; the power supply equipment comprises M ports, wherein non-power supply wire pairs included by at least two ports in the M ports are mutually connected, and the mutually connected non-power supply wire pairs are connected with the same lightning protection component; if the resistance of the powered device is not within the first preset range, the power supply device determines whether the resistance of the powered device is greater than the maximum value of the first preset range; if the power supply equipment determines that the resistance of the powered equipment is larger than the maximum value of the first preset range, the power supply equipment determines the power level corresponding to the powered equipment; the power supply apparatus supplies power to the power receiving apparatus according to the determined power class.

Description

Power supply detection method and equipment
Technical Field
The invention relates to the technical field of electronics, in particular to a power supply detection method and power supply detection equipment.
Background
Currently, a Power Over Ethernet (POE) system generally includes a Power Sourcing Equipment (PSE) and a Powered Device (PD); wherein the PSE device is capable of powering a self-connected PD device. Since PD devices are often placed outdoors and are easy to be struck by lightning, the PSE devices connected with the PD devices may be damaged by the lightning, and therefore, a lightning protection design needs to be added to each port in the PSE.
Fig. 1 is a schematic connection diagram of a conventional lightning protection device. The PSE device shown in fig. 1 includes 4 ports, i.e., port 1 to port 4, each port includes 4 pairs, and a lightning protection component is connected to a center tap of an isolation transformer of each pair. The 45/78 wire pair is a power supply wire pair, namely a wire pair for directly supplying power to the PD equipment, and 12/36 is a non-power supply wire pair.
However, each pair of wires in the lightning protection scheme shown in fig. 1 is connected with a lightning protection device, so that the connection structure of the PSE device is more complicated, and thus a larger space is needed to place the lightning protection devices in the PSE device, so that the volume of the PSE device is larger, or the existing PSE device cannot accommodate more components with other functions.
Disclosure of Invention
The embodiment of the invention provides power supply equipment and a power supply detection method, which are used for improving the accuracy of power supply detection when the number of lightning protection components in PSE equipment is reduced and the manufacturing cost of the PSE equipment is reduced.
In a first aspect, a power supply detection method is provided, and the method includes:
the power supply device determines whether the resistance of a power receiving device connected with the power supply device is within a first preset range; the power supply equipment comprises M ports, wherein non-power supply wire pairs included by at least two ports in the M ports are mutually connected, and the mutually connected non-power supply wire pairs are connected with the same lightning protection component;
if the resistance of the powered device is not within the first preset range, the power supply device determines whether the resistance of the powered device is greater than the maximum value of the first preset range;
if the power supply equipment determines that the resistance of the powered equipment is larger than the maximum value of the first preset range, the power supply equipment determines the power level corresponding to the powered equipment;
the power supply apparatus supplies power to the power receiving apparatus according to the determined power class.
Optionally, if the power supply apparatus determines that the resistance of the powered apparatus is greater than the maximum value of the first preset range, the determining, by the power supply apparatus, the power class corresponding to the powered apparatus includes:
the power supply equipment determines whether the resistance of the powered equipment is within a second preset range, wherein the minimum value in the second preset range is larger than the maximum value in the first preset range; and/or the presence of a gas in the gas,
if the power supply apparatus determines that the resistance of the power receiving apparatus is not within the second preset range, the power supply apparatus determines whether the resistance of the power receiving apparatus is within a third preset range; the minimum value in the third preset range is larger than the maximum value in the second preset range;
if it is determined that the resistance of the powered device is within the second preset range or the third preset range, the power supply device determines a power level corresponding to the powered device.
Optionally, after the power supply apparatus determines the power class corresponding to the powered apparatus, the method further includes:
if the power class of the powered device is determined not to be matched with the power class set preconfigured by the power supply device, determining that the powered device is a device which is not matched with the power supply device by the power supply device; wherein the power sourcing equipment is capable of sourcing power to one powered device when the power class of the one powered device matches any one of the preconfigured set of power classes.
Optionally, the first preset range is not less than 19K Ω and not more than 26.5K Ω.
Optionally, the second preset range is not less than 33K Ω and not more than 50K Ω, and the third preset range is not less than 52.5K Ω.
In a second aspect, there is provided a power supply apparatus, the apparatus comprising:
n lightning protection components; n is a positive integer;
at least two of the M ports include pairs of non-supply lines interconnected; the non-power supply wire pair connected with each other is connected with one lightning protection component in the N lightning protection components; m is a positive integer;
the device comprises M PSE chips, a power supply line pair and a power supply line pair, wherein the M PSE chips are connected with the power supply line pair included by the M ports, and one PSE chip is connected with one power supply line pair;
the M PSE chips are used for controlling ports connected with the PSE chips to supply power to connected powered equipment, and one port can be connected with one powered equipment; n lightning protection components and parts are used for being in power supply unit does when the powered device supplies power, prevent the damage that the lightning caused power supply unit or powered device.
Alternatively to this, the first and second parts may,
the M PSE chips are specifically configured to determine whether a resistance of a powered device connected to the power supply device is within a first preset range; if the resistance of the powered device is not within the first preset range, determining whether the resistance of the powered device is larger than the maximum value of the first preset range; if the resistance of the powered device is larger than the maximum value of the first preset range, determining a power level corresponding to the powered device; and supplying power to the powered device according to the determined power level.
Alternatively to this, the first and second parts may,
the M PSE chips are specifically configured to determine whether a resistance of the powered device is within a second preset range, where a minimum value in the second preset range is greater than a maximum value in the first preset range; and/or determining whether the resistance of the powered device is within a third preset range; the minimum value in the third preset range is larger than the maximum value in the second preset range; and if the resistance of the powered device is determined to be within the second preset range or the third preset range, determining a power level corresponding to the powered device.
Alternatively to this, the first and second parts may,
the M PSE chips are further configured to determine that the powered device is a device that does not match the power supply device if it is determined that the power class of the powered device does not match a power class set preconfigured by the power supply device; wherein the power sourcing equipment is capable of sourcing power to one powered device when the power class of the one powered device matches any one of the preconfigured set of power classes.
Optionally, the first preset range is not less than 19K Ω and not more than 26.5K Ω.
Optionally, the second preset range is not less than 33K Ω and not more than 50K Ω, and the third preset range is not less than 52.5K Ω.
In a third aspect, a computer arrangement is provided, the arrangement comprising at least one processor configured to implement the steps of the power supply detection method as provided in the first aspect when executing a computer program stored in a memory.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the power supply detection method as provided in the first aspect.
In the embodiment of the invention, the non-power supply line pairs in the PSE device are connected with each other, that is, after at least two non-power supply line pairs in the PSE device are connected together, the connected non-power supply line pairs in the PSE device are connected with the lightning protection component, so that only one lightning protection component needs to be connected to the connected non-power supply line pairs in the PSE device. In addition, due to the reduction of the lightning protection components, the size of the PSE equipment can be smaller, or more space is saved for placing components with other functions. In addition, when power supply detection is performed, if the resistance of the powered device is determined not to be within the first preset range, the power level determination is further continued, and if the power level of the powered device can be determined, power is supplied to the powered device, so that the technical problem that the detected resistance of the powered device is high due to leakage current generated by connecting non-power supply line pairs of the PSE device together is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a lightning protection device in the prior art;
fig. 2 is a schematic structural diagram of a power supply device according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a power supply detection method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a complete flow of a power supply detection method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a power supply device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
The technical background of the embodiments of the present invention is described below.
In present lightning protection scheme, a lightning protection device is all connected to each wire pair for the connection structure of PSE equipment is more complicated, and then needs bigger space to place these lightning protection devices in PSE equipment like this, makes the volume of PSE equipment great, or makes present PSE equipment can not hold the components and parts of more other functions.
In view of this, an embodiment of the present invention provides a power supply detection method, where non-power supply line pairs in a PSE device are connected to each other, that is, after at least two non-power supply line pairs in the PSE device are connected together, the connected non-power supply line pairs are connected to a lightning protection component, so that only one lightning protection component needs to be connected to the connected non-power supply line pairs in the PSE device. In addition, due to the reduction of the lightning protection components, the size of the PSE equipment can be smaller, or more space is saved for placing components with other functions. In addition, when power supply detection is performed, if the resistance of the powered device is determined not to be within the first preset range, the power level determination is further continued, and if the power level of the powered device can be determined, power is supplied to the powered device, so that the technical problem that the detected resistance of the powered device is high due to leakage current generated by connecting non-power supply line pairs of the PSE device together is solved.
The technical scheme provided by the embodiment of the invention is described below by combining the accompanying drawings.
Before the power supply detection method according to the embodiment of the present invention is described, the power supply apparatus according to the embodiment of the present invention is described. Please refer to fig. 2, which is a PSE device according to an embodiment of the present invention. In the PSE device, M ports, namely port 1 to port M, are included, each port comprises 4 line pairs, wherein 12/36 line pairs are non-power supply line pairs, 45/78 line pairs are connected with a PSE chip, namely 45/78 line pairs are power supply line pairs, and at least two non-power supply line pairs are connected with each other. Of course, in practical applications, the 12/36 wire pair may be connected to the PSE chip as a power supply wire pair, and the 45/78 wire pair may be selected as a non-power supply wire pair, which may be selected according to practical design conditions, and the embodiment of the present invention is not limited to this.
In power supply equipment, still include N lightning protection components and parts, a lightning protection components and parts all need to be connected to every power supply line pair, and because two at least non-power supply line pairs link together, consequently only need PSE equipment include link together non-power supply line pair connect a lightning protection components and parts can. Fig. 2 shows a case where all pairs of non-supply lines are connected together, but the illustration in fig. 2 is not intended to limit the solution of the embodiment of the present invention, and for example, only pairs of non-supply lines of port 1 and port 2 may be connected together, and the embodiment of the present invention is not limited thereto.
Therefore, in the embodiment of the invention, as at least two non-power supply line pairs are connected together, the number of lightning protection components required by the non-power supply line pairs is greatly reduced, and when the number of ports is more, the reduced number of the lightning protection components is more prominent, so that the cost of the lightning protection components is reduced, and the cost of PSE equipment is lower. Meanwhile, due to the reduction of the lightning protection components, the size of the PSE equipment is smaller, or more space is saved for placing components with other functions.
In the embodiment of the invention, because the non-power supply wire pairs of the plurality of ports are connected together, when the PSE equipment supplies power to the PD equipment, a little influence is caused. Before this, a process of supplying power to the PD device by the PSE device is first described, and the process of supplying power to the PD device by the PSE device generally includes the following 3 steps:
firstly, when PSE equipment detects that PD equipment is connected, outputting a low voltage to detect whether the resistance of the PD equipment meets the power supply standard of the PSE equipment; if not, repeatedly detecting;
secondly, after the PSE device detects that the resistance of the PD device meets the power supply standard, carrying out classification operation on the PD device to determine the power class (class) of the PD device; the PSE is pre-configured with power classes corresponding to PD devices capable of providing power, and generally includes 5 classes, i.e., class 0-class 4, each class corresponding to a certain characteristic current range.
Finally, if it can be determined that the power class of the PD device is one of class 0-class 4, the PSE steps up the voltage and provides no more than 30W of power to the PD device. And if the power level of the PD equipment cannot be determined, re-entering a detection link.
In the embodiment of the invention, because the non-power supply line pairs of the plurality of ports are connected together, the electric leakage phenomenon exists between the ports, and certain leakage current exists between the ports. For example, the PSE device includes 4 ports, that is, the PSE device can connect 4 PD devices and supply power to the 4 PD devices, because the leakage current between the ports is very small, for example, only ten microamperes (μ a), then the ports 1 to 3 can all supply power normally, but the leakage current on the port 4 is the sum of the ports 1 to 3, then the PD device is connected on the port 4, the PSE device can detect whether the resistance of the PD device meets the power supply standard of the PSE device, because the leakage current on the port 4 is large, the detected partial voltage of the port 4 is large, but the PSE device does not calculate according to the collected real-time current value when calculating the current, but calculates according to the actual current value provided by the PSE device itself, that is, the current value when the leakage current is not superimposed, it can be known that the detected value of the resistance R is large by R ═ V/I, which may cause the PSE to detect the resistance of the PD device as a high or open circuit.
The higher resistance means that the resistance of the PD device is slightly larger than a numerical range of a power supply standard of the PSE device, for example, the numerical range of the power supply standard of the PSE device may be 19 kilo-ohms (K Ω) -26.5K Ω, and the higher range may be 33K Ω -50K Ω; open circuit means that the resistance of the PD device is much larger than the value range of the power supply standard of the PSE device, and at this time, the PSE device may consider that the port connected with the PD device is open circuit, i.e. it is confirmed that the port is not connected with the PD device, for example, the open circuit may be in the range of the resistance larger than 52.5K Ω. In both cases, the PSE device does not perform further classification operation, but repeatedly performs detection until the resistance of the PD device meets the power supply standard, but actually, in both cases, the resistance of the detection resistor is high due to leakage current, so that the detection result of the PSE device is finally inaccurate.
In view of the above, referring to fig. 3, an embodiment of the present invention further provides a power supply detection method for a PSE device, which may be performed by the PSE device. The method comprises the following steps:
step 301: the PSE equipment determines whether the resistance of the powered equipment connected with the PSE equipment is within a first preset range; the power supply equipment comprises M ports, wherein at least two ports in the M ports comprise non-power supply line pairs which are mutually connected, and the mutually connected non-power supply line pairs are connected with the same lightning protection component;
step 302: if the resistance of the powered device is not within the first preset range, the power supply device determines whether the resistance of the powered device is larger than the maximum value of the first preset range;
step 303: if the power supply equipment determines that the resistance of the powered equipment is larger than the maximum value of the first preset range, the power supply equipment determines the power level corresponding to the powered equipment;
step 304: the PSE device supplies power to the PD device according to the determined power class.
In the embodiment of the invention, when detecting that the PD device is connected, the PSE device first detects the resistance of the PD device connected to the PSE device and determines whether the resistance is within a first preset range. The first preset range may be, for example, a power supply standard of the PSE device, for example, the above-mentioned power supply standard is 19K Ω to 26.5K Ω, and then the PSE device determines whether the resistance of the PD device is in a range of 19K Ω to 26.5K Ω, if so, performs a classification operation on the PD device to determine whether the PD device can be classified into a predetermined power class set of the PSE device, and if successfully classified into one of the power class sets, the PSE device powers on the PD device.
If the PSE device determines that the resistance does not meet the power supply standard of the PSE device, the PSE device further determines whether the resistance of the PD device is greater than the maximum value of the first preset range, and if the resistance is greater than the maximum value of the first preset range, it indicates that the resistance of the PD device may be increased due to leakage current, so the PSE may further perform classification operation to determine the power class of the PD device, and after the power class of the PD device is determined, the PD device is supplied with power according to the determined power class. Like this, just also can avoid being in the back of connecting together whole with the non-power supply line of PSE equipment, the problem of the unable correct resistance that detects PD equipment of PSE equipment to make when saving lightning protection components and parts, can also be accurate supply power for PD equipment.
In an embodiment of the present invention, if the power supply apparatus determines that the resistance of the powered apparatus is greater than the maximum value of the first preset range, the power supply apparatus determines a power class corresponding to the powered apparatus, which specifically includes:
the PSE equipment determines whether the resistance of the PD equipment is located in a second preset range, and the minimum value in the second preset range is larger than the maximum value in the first preset range; and/or the presence of a gas in the gas,
if the PSE equipment determines that the resistance of the PD equipment is not located in a second preset range, the PSE equipment determines whether the resistance of the PD equipment is located in a third preset range; the minimum value in the third preset range is larger than the maximum value in the second preset range;
and if the resistance of the PD equipment is determined to be in the second preset range or the third preset range, the power supply equipment determines the power level corresponding to the PD equipment.
Specifically, the result of detecting the resistance of the PD device by the PSE device, i.e. high or open, may also correspond to respective resistance ranges, for example, the second preset range is a resistance range corresponding to high, i.e. 33K Ω to 50K Ω, and the third preset range is a resistance range corresponding to open, i.e. the resistance is greater than 52.5K Ω. Thus, the PSE device may further determine which range the resistance is within, and thus the current state of the PD device. When the PSE device determines that both the high range and the open range are confirmed, that is, the PSE device determines whether the resistance of the PD device is in the second preset range and determines whether the resistance of the PD device is in the third preset range, the PSE device may further determine whether the resistance of the PD device is in the second preset range, and if the resistance of the PD device is not in the second preset range, determine whether the resistance of the PD device is in the third range; of course, it may also be determined whether the resistance of the PD device is within the third preset range, and if the resistance of the PD device is not within the third preset range, then the determination of whether the resistance of the PD device is within the second range is performed, that is, the determination sequence is not limited in the embodiment of the present invention. It is a preferable embodiment to determine whether the resistance of the PD device is within the second preset range, and if the resistance of the PD device is not within the second preset range, then determine whether the resistance of the PD device is within the third range.
Fig. 4 is a schematic flow chart of a power supply detection process according to an embodiment of the present invention.
Step 401: the PSE device determines whether the resistance of the PD device is within a first predetermined range.
When the PSE detects that any port of the PSE has PD equipment access, the PSE equipment provides a lower voltage to the PD equipment to detect the resistance of the PD equipment, and then determines whether the resistance of the PD equipment is in a first preset range, where the first preset range is, for example, a range corresponding to a power supply standard of the PSE equipment, that is, the PSE equipment determines whether the PD equipment meets the power supply standard of the PSE equipment.
Step 402: the PSE device determines whether the PD device is capable of being classified within a predetermined set of power classes for the PSE device.
When the PSE device determines that the resistance of the PD device meets the power supply standard of the PSE device, the procedure is the same as the prior art, i.e., the classification operation is performed on the PD device. Specifically, the voltage when PSE equipment can be with detection resistance further risees to gather the electric current of PD equipment this moment, because PSE equipment links to each other with PD equipment, the electric current that flows this moment is the same, therefore PSE equipment can direct detection self electric current, as the electric current of PD equipment, and then confirms the power level of PD equipment according to the hierarchical characteristic current range that the current value is in.
Please refer to table 1, which is a comparison table of the classification characteristic current range and the power class of the PD equipment.
Power class Fractional characteristic current PSE output minimum power
class0 0-5mA 15.4W
class1 8-13mA 4.0W
class2 16-21mA 7.0W
class3 25-31mA 15.4W
class4 35-45mA 15.4W
TABLE 1
The predetermined power class ranges of the PSE device are class 0-class 4 in table 1, each power class corresponds to a classification characteristic current range, and each power class corresponds to the minimum power that the PSE device of itself needs to output for the PD device. For example, when the detected current value is 20 milliamps (mA), the corresponding power level is 2 class, and the minimum power required to be output by the PSE device is 7.0 watts (W).
Step 403: when it is determined that the PD device can be classified within a set of power classes predetermined by the PSE device, the PSE device powers up the PD device.
In the embodiment of the present invention, when the current detected by the PSE device is within a range of any one of the classification characteristic currents shown in table 1, that is, it is determined that the PD device can be classified into a predetermined power class set of the PSE device, it may be considered that the power class of the PD device matches the power class set preconfigured by the power supply device, that is, the PSE device may supply power to the PD device, and then the PSE device may power up the PD device.
Step 404: when the PSE device determines that the resistance of the PD device is not within the first predetermined range, the PSE device determines whether the resistance of the PD device is within a second predetermined range.
In the embodiment of the present invention, when the PSE device determines that the resistance of the PD device is not within the first preset range, that is, the resistance of the PD device is not compliant with the power supply standard of the PSE device, the PSE device may determine whether the resistance of the PD device is within a second preset range, where the second preset range may be, for example, a resistance range corresponding to a higher resistance, that is, 33K Ω to 50K Ω. Specifically, in the prior art, if the resistance of the PD device does not meet the power supply standard of the PSE device, the detection process is repeatedly performed, and in the embodiment of the present invention, the reason for the resistance of the PD device not meeting the power supply standard of the PSE device may be caused by leakage current connecting non-power supply line pairs together. Thus, the PSE device may further determine whether the resistance of the PD device is within a second predetermined range when the PSE device determines that the resistance of the PD device does not meet the power supply criteria of the PSE device.
When the PSE device determines that the resistance of the PD device is within the second predetermined range, the PSE may continue to perform the classification operation of step S402. When the PSE device determines that the PD device can be classified into a set of power classes predetermined by the PSE device, it indicates that the detected high resistance of the PD device is caused by leakage current, and this is a normal case where power can be supplied, and then the PSE device powers on the PD device.
When the PSE equipment determines that the resistance of the PD equipment is located in a second preset range and the PSE equipment cannot classify the power level of the PD equipment into any power level set preset by the PSE equipment, the power level of the PD equipment is considered to be not matched with the power level set preset by the PSE equipment, and at the moment, the PSE equipment can consider that the PD equipment is unmatched with the PD equipment and cannot supply power to the PD equipment.
Step 405: when the PSE device determines that the resistance of the PD device is not within the second predetermined range, the PSE device determines whether the resistance of the PD device is within a third predetermined range.
When the PSE device determines that the resistance of the PD device is not within the second predetermined range, the PSE device further determines whether the resistance of the PD device is within a third predetermined range, where the third predetermined range may be, for example, a resistance range corresponding to an open circuit, that is, greater than 52.5K Ω. Specifically, in the prior art, if the resistance of the PD device is greater than 52.5K Ω, the port is directly considered as open, and the classification operation is not performed, but the detection process is repeatedly performed, and in the embodiment of the present invention, the reason that the state corresponding to the resistance of the PD device is open may be caused by leakage current connecting the non-power supply line pair together. Therefore, even if the PSE device determines that the resistance of the PD device is greater than 52.5K Ω, the PSE device continues to perform the classification operation of step S402, and when the PSE device determines that the PD device can be classified into the set of power levels predetermined by the PSE device, it indicates that the detected state corresponding to the resistance of the PD device is an open circuit due to the leakage current, and this is a normal condition that power can be supplied, and then the PSE device powers on the PD device.
When the PSE device determines that the resistance of the PD device is within the third preset range and the PSE device cannot classify the power class of the PD device into any power class set predetermined by the PSE device, the PSE device may regard the port corresponding to the PD device as an open circuit and may not supply power to the PD device.
In summary, in the embodiment of the present invention, when the PSE device detects that the resistance of the PD device does not meet the power supply standard, that is, when the resistance of the PD device is a high or open circuit, the classification operation is further continuously performed, and when the PD device can be correctly classified, the PD device can be powered, so that the influence of leakage current caused by connecting non-power supply lines together in the embodiment of the present invention is solved, and the PD device can be accurately powered while lightning protection cost is saved.
With continuing reference to fig. 5, based on the same inventive concept, an embodiment of the present invention provides a power supply apparatus 50, including:
n lightning protection components 501; n is a positive integer;
m ports 502, at least two ports 502 of the M ports 502 comprising a non-supply line pair 5021 connected to each other; wherein, the non-power supply line pair 5021 which are connected with each other is connected with one lightning protection component 501 in the N lightning protection components 501; m is a positive integer;
m PSE chips 503, M PSE chips 503 are connected with power supply line pairs 5022 included in M ports 502, wherein one PSE chip 503 is connected with one power supply line pair 5022;
the M PSE chips 503 are used to control ports 502 connected to the PSE chips 503 to supply power to connected powered devices, and one port 502 can be connected to one powered device; the N lightning protection components 501 are used to prevent the power supply device or the power receiving device from being damaged by lightning when the power supply device supplies power to the power receiving device.
Alternatively to this, the first and second parts may,
the M PSE chips 503 are specifically configured to determine whether a resistance of a powered device connected to the power supply device is within a first preset range; if the resistance of the powered device is not within the first preset range, determining whether the resistance of the powered device is larger than the maximum value of the first preset range; if the resistance of the powered device is larger than the maximum value of the first preset range, determining the power level corresponding to the powered device; and supplying power to the powered device according to the determined power level.
Alternatively to this, the first and second parts may,
the M PSE chips 503 are specifically configured to determine whether the resistance of the powered device is within a second preset range, where a minimum value in the second preset range is greater than a maximum value in the first preset range; and/or determining whether the resistance of the powered device is within a third preset range; the minimum value in the third preset range is larger than the maximum value in the second preset range; and if the resistance of the powered device is determined to be within the second preset range or the third preset range, determining the power level corresponding to the powered device.
Alternatively to this, the first and second parts may,
the M PSE chips 503 are further configured to determine that the powered device is a device that does not match the power supply device if it is determined that the power class of the powered device does not match the power class set preconfigured by the power supply device; wherein the power sourcing equipment is capable of sourcing power to a powered device when the power class of the powered device matches any one of a set of pre-configured power classes.
Optionally, the first preset range is not less than 19K Ω and not more than 26.5K Ω.
Optionally, the second preset range is not less than 33K Ω and not more than 50K Ω, and the third preset range is not less than 52.5K Ω.
The device may be configured to execute the method provided in the embodiment shown in fig. 3 or fig. 4, and the device and the power supply device in the embodiment shown in fig. 2 may be the same device, so as to refer to the description of the embodiment shown in fig. 3 or fig. 4 for functions and the like that can be realized by each functional module of the device, which is not described in detail.
Referring to fig. 6, an embodiment of the present invention further provides a computer apparatus, where the computer apparatus includes at least one processor 601, and the at least one processor 601 is configured to implement the steps of the power supply detection method provided by the embodiment of the present invention when executing the computer program stored in the memory.
Optionally, the at least one processor 601 may be specifically a central processing unit, an Application Specific Integrated Circuit (ASIC), one or more Integrated circuits for controlling program execution, a hardware Circuit developed by using a Field Programmable Gate Array (FPGA), or a baseband processor.
Optionally, at least one processor 601 may include at least one processing core.
Optionally, the computer apparatus further includes a Memory 602, and the Memory 602 may include a Read Only Memory (ROM), a Random Access Memory (RAM), and a disk Memory. The memory 602 is used for storing data required by the at least one processor 601 during operation. The number of the memories 602 is one or more. The memory 602 is also shown in fig. 6, but it should be understood that the memory 602 is not an optional functional module, and is therefore shown in fig. 6 by a dotted line.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the power supply detection method provided by the embodiment of the present invention.
In the embodiments of the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the described unit or division of units is only one division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical or other form.
The functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be an independent physical module.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device, such as a personal computer, a server, or a network device, or a processor (processor) to execute all or part of the steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a Universal Serial Bus flash drive (usb flash drive), a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, and an optical disk.
The above embodiments are only used to describe the technical solutions of the present application in detail, but the above embodiments are only used to help understanding the method of the embodiments of the present invention, and should not be construed as limiting the embodiments of the present invention. Variations or substitutions that may be readily apparent to one skilled in the art are intended to be included within the scope of the embodiments of the present invention.

Claims (12)

1. A power supply detection method, comprising:
the power supply device determines whether the resistance of a power receiving device connected with the power supply device is within a first preset range; the power supply equipment comprises M ports, wherein non-power supply wire pairs included by at least two ports in the M ports are mutually connected, and the mutually connected non-power supply wire pairs are connected with the same lightning protection component;
if the resistance of the powered device is not within the first preset range, the power supply device determines whether the resistance of the powered device is greater than the maximum value of the first preset range;
if the power supply equipment determines that the resistance of the powered equipment is larger than the maximum value of the first preset range, the power supply equipment determines the power level corresponding to the powered equipment;
the power supply apparatus supplies power to the power receiving apparatus according to the determined power class.
2. The method of claim 1, wherein if the power sourcing equipment determines that the resistance of the powered device is greater than the maximum value of the first preset range, the power sourcing equipment determines the power class corresponding to the powered device, comprising:
the power supply equipment determines whether the resistance of the power receiving equipment is located in a second preset range and/or a third preset range, wherein the minimum value in the second preset range is larger than the maximum value in the first preset range, and the minimum value in the third preset range is larger than the maximum value in the second preset range;
if it is determined that the resistance of the powered device is within the second preset range or the third preset range, the power supply device determines a power level corresponding to the powered device.
3. The method of claim 1 or 2, wherein after the power sourcing device determines the power class corresponding to the powered device, the method further comprises:
if the power class of the powered device is determined not to be matched with the power class set preconfigured by the power supply device, determining that the powered device is a device which is not matched with the power supply device by the power supply device; wherein the power sourcing equipment is capable of sourcing power to one powered device when the power class of the one powered device matches any one of the preconfigured set of power classes.
4. The method of claim 2, wherein the first predetermined range is not less than 19K Ω and not more than 26.5K Ω.
5. The method according to claim 2 or 4, wherein the second predetermined range is not less than 33K Ω and not more than 50K Ω, and the third predetermined range is not less than 52.5K Ω.
6. A power supply apparatus, comprising:
n lightning protection components; n is a positive integer;
at least two of the M ports include pairs of non-supply lines interconnected; the non-power supply wire pair connected with each other is connected with one lightning protection component in the N lightning protection components; m is a positive integer;
the device comprises M PSE chips, a power supply line pair and a power supply line pair, wherein the M PSE chips are connected with the power supply line pair included by the M ports, and one PSE chip is connected with one power supply line pair;
the M PSE chips are used for controlling ports connected with the PSE chips to supply power to connected powered equipment, and one port can be connected with one powered equipment; the N lightning protection components are used for preventing the lightning from damaging the power supply equipment or the power receiving equipment when the power supply equipment supplies power to the power receiving equipment;
the M PSE chips are specifically configured to determine whether a resistance of a powered device connected to the power supply device is within a first preset range; if the resistance of the powered device is not within the first preset range, determining whether the resistance of the powered device is larger than the maximum value of the first preset range; if the resistance of the powered device is larger than the maximum value of the first preset range, determining a power level corresponding to the powered device; and supplying power to the powered device according to the determined power level.
7. The apparatus of claim 6,
the M PSE chips are specifically configured to determine whether a resistance of the powered device is within a second preset range, where a minimum value in the second preset range is greater than a maximum value in the first preset range; and/or determining whether the resistance of the powered device is within a third preset range; the minimum value in the third preset range is larger than the maximum value in the second preset range; and if the resistance of the powered device is determined to be within the second preset range or the third preset range, determining a power level corresponding to the powered device.
8. The apparatus of claim 6,
the M PSE chips are further configured to determine that the powered device is a device that does not match the power supply device if it is determined that the power class of the powered device does not match a power class set preconfigured by the power supply device; wherein the power sourcing equipment is capable of sourcing power to one powered device when the power class of the one powered device matches any one of the preconfigured set of power classes.
9. The apparatus of claim 7, wherein the first predetermined range is not less than 19K Ω and not more than 26.5K Ω.
10. The apparatus according to claim 7 or 9, wherein the second preset range is not less than 33K Ω and not more than 50K Ω, and the third preset range is not less than 52.5K Ω.
11. A computer arrangement, characterized in that the arrangement comprises a processor for implementing the steps of the method according to any of claims 1-5 when executing a computer program stored in a memory.
12. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program realizing the steps of the method according to any of claims 1-5 when executed by a processor.
CN201711297769.4A 2017-12-08 2017-12-08 Power supply detection method and equipment Active CN107995000B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711297769.4A CN107995000B (en) 2017-12-08 2017-12-08 Power supply detection method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711297769.4A CN107995000B (en) 2017-12-08 2017-12-08 Power supply detection method and equipment

Publications (2)

Publication Number Publication Date
CN107995000A CN107995000A (en) 2018-05-04
CN107995000B true CN107995000B (en) 2021-01-05

Family

ID=62035872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711297769.4A Active CN107995000B (en) 2017-12-08 2017-12-08 Power supply detection method and equipment

Country Status (1)

Country Link
CN (1) CN107995000B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110677264B (en) * 2019-09-30 2021-11-12 新华三信息安全技术有限公司 Method and device for processing power supply fault

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882998A (en) * 2010-06-12 2010-11-10 北京星网锐捷网络技术有限公司 Ethernet interface circuit
CN102110980A (en) * 2011-02-23 2011-06-29 聚信科技有限公司 Lightning protection circuit
CN202817700U (en) * 2012-09-13 2013-03-20 深圳市金威源科技股份有限公司 Power receiving conversion circuit based on power provided by ethernet
CN203590245U (en) * 2013-11-21 2014-05-07 尹淑玲 Network device capable of preventing lightning and surges
CA2949613A1 (en) * 2015-11-30 2017-05-30 Huawei Technologies Co., Ltd. Poe-based power supply method and pse
CN106998253A (en) * 2016-01-26 2017-08-01 九旸电子股份有限公司 Power supply equipment and power supply method of Ethernet power supply system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882998A (en) * 2010-06-12 2010-11-10 北京星网锐捷网络技术有限公司 Ethernet interface circuit
CN102110980A (en) * 2011-02-23 2011-06-29 聚信科技有限公司 Lightning protection circuit
CN202817700U (en) * 2012-09-13 2013-03-20 深圳市金威源科技股份有限公司 Power receiving conversion circuit based on power provided by ethernet
CN203590245U (en) * 2013-11-21 2014-05-07 尹淑玲 Network device capable of preventing lightning and surges
CA2949613A1 (en) * 2015-11-30 2017-05-30 Huawei Technologies Co., Ltd. Poe-based power supply method and pse
CN106998253A (en) * 2016-01-26 2017-08-01 九旸电子股份有限公司 Power supply equipment and power supply method of Ethernet power supply system

Also Published As

Publication number Publication date
CN107995000A (en) 2018-05-04

Similar Documents

Publication Publication Date Title
JP6391700B2 (en) Method for processing impedance abnormality of power adapter, terminal and charging circuit
US7474704B2 (en) Method and apparatus for current sharing ethernet power across four conductor pairs
US9754633B2 (en) Memory short protection system
US20100106983A1 (en) System and Method for Adjusting Information Handling System Over Current Protection
US9312745B2 (en) Universal power supply system
EP3148031B1 (en) Bus interfaces with unpowered termination
US10289477B2 (en) USB electronic marker circuit and method therefor
US7451329B2 (en) Techniques for measuring network resistive loss within a power-sourcing apparatus
US20150363344A1 (en) Selectively Connecting a Port of an Electrical Device to Components in the Electrical Device
WO2016105792A1 (en) Apparatus and methods for power conflict resolution in power delivery systems
CN106575874B (en) Apparatus and method for a mobile router to receive power from multiple power sources
US10523448B2 (en) Power source equipment for power over ethernet system
CN107995000B (en) Power supply detection method and equipment
US9250673B2 (en) Power over Ethernet parameter storage
CN107979474B (en) Network device and power supply method
EP3576344A1 (en) Powered device used for power over ethernet
US9742131B2 (en) Power transfer systems
TW201939895A (en) Electronic device and hot-plug protection circuit
KR20190002680A (en) Voltage generating device and semiconductor chip
US20180224911A1 (en) Multiport connector and power control method
CN110221677B (en) Processor and electronic equipment
CN116643637A (en) Power circuit, control method thereof, circuit board and computing device
US10082854B2 (en) Network device for supplying power over network and operation method of the same
US20140319915A1 (en) Power adapter with proportional current sharing and mobile electronic device having the same
JP2006113794A (en) Device and unit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant