A POE controller, switch and power supply method

By using the main control module and the PSE control module in the POE controller, the equipment type and power level of the power receiving equipment are determined, and the problem of power reduction of the power of the power receiving equipment under the IEEE802.3bt standard is solved, and efficient power supply corresponding to the standard is achieved.

CN115801478BActive Publication Date: 2025-06-06ZHEJIANG DAHUA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211438924.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-17
Publication Date
2025-06-06
Estimated Expiration
2042-11-17

AI Technical Summary

Technical Problem

When using the IEEE802.3bt standard, the prior art reduces the power of the private Class5 chip, resulting in a decrease in the power of the power receiving equipment.

Method used

A POE controller is designed, including a main control module and a PSE control module. Through the combination of preset voltage and current, the equipment type and electrical power level of the power receiving device are determined, so as to supply power according to the corresponding power of the standard.

Benefits of technology

Ensure that the electrical power level of the power receiving equipment is consistent with the corresponding standards, avoid power reduction, and improve system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115801478B_ABST
    Figure CN115801478B_ABST
Patent Text Reader

Abstract

The present invention discloses a POE controller, a switch and a power supply method, wherein the POE controller includes a main control module and a PSE control module, and when the first channel of the PSE control module and the second channel of the PSE control module do not output electric energy, the main control module controls the first channel to output the first preset voltage and the second preset voltage respectively, and controls the second channel to output the third preset voltage and the fourth preset voltage respectively, and determines the device type of the powered device according to the returned current, and then controls the first channel to output the fifth preset voltage, and controls the second channel to output the sixth preset voltage, and determines the electric power level of the powered device according to the device type and the returned current, and finally controls the PSE control module to supply power to the powered device according to the power corresponding to the electric power level. Since the electric power level determined by the present invention is the electric power level corresponding to the standard, rather than the private electric power level, the power of the powered device can be increased, and the system performance can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of security communication, and in particular to a POE controller, a switch and a power supply method. Background Art

[0002] IEEE 802.3af, IEEE 802.3at and IEEE 802.3bt are power detection and control specifications in remote power supply systems. Among them, IEEE 802.3af is the earliest standard, followed by IEEE 802.3at and finally IEEE 802.3bt.

[0003] The IEEE 802.3af standard stipulates that the DC voltage output by the port is between 44 and 57V, providing PD (Powered Device) with four Class levels (Class 0 to Class 3) of power requests ranging from 3.84 to 12.95W. The IEEE802.3at standard stipulates that the DC voltage output by the port is between 50 and 57V, and defines devices with power above 12.95W as Class 4. The power level of the PD can be extended to 25.5W. Before the introduction of the IEEE802.3bt standard, some chip manufacturers produced chips that support private Class 5 and can output 60W of power. The IEEE802.3bt standard stipulates that the standard Class 5 chip can output 45W of power. Therefore, when using the IEEE802.3bt standard, the power of the chip that supports private Class 5 will be reduced. Summary of the invention

[0004] The present invention provides a POE controller, a switch and a power supply method, which are used to solve the problem of reducing the power of a powered device in the prior art.

[0005] In a first aspect, the present application provides a POE controller, applied to a switch, comprising: a main control module and a power supply equipment PSE control module;

[0006] The main control module is connected to the first end of the PSE control module, the first channel of the PSE control module is connected to the powered device through the first network port of the interface module, and the second channel of the PSE control module is connected to the powered device through the second network port of the interface module;

[0007] The main control module is used to control the first output end of the first channel to output the first preset voltage and the second preset voltage, and respectively control the second output end of the second channel to output the third preset voltage and the fourth preset voltage when it is determined that the first channel and the second channel do not output electric energy, and determine the device type of the powered device according to the current returned to the first output end and the current returned to the second output end; control the first output end to output the fifth preset voltage, control the second output end to output the sixth preset voltage, and determine the electric power level of the powered device according to the device type, the ninth current returned to the first output end, and the tenth current returned to the second output end; and control the PSE control module to supply power to the powered device according to the power corresponding to the electric power level.

[0008] In a possible implementation, the PSE control module includes a PSE chip, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a first capacitor, a second capacitor, a first switch tube, and a second switch tube;

[0009] The first output end of the PSE chip serves as the first output end of the first channel and is connected to the first end of the first resistor. The first control end of the PSE chip is connected to the first end of the second resistor. The first feedback end of the PSE chip serves as the first feedback end of the first channel and is connected to the first end of the third resistor and the second end of the first switch tube. The second output end of the PSE chip serves as the second output end of the second channel and is connected to the first end of the fourth resistor. The second control end of the PSE chip is connected to the first end of the fifth resistor. The second feedback end of the PSE chip serves as the second feedback end of the second channel and is connected to the first end of the sixth resistor and the first end of the second switch tube.

[0010] The second end of the first resistor is connected to the first end of the first switch tube and the first end of the first capacitor, and is connected to the powered device through the first network port of the interface module;

[0011] The second end of the second resistor is connected to the control end of the first switch tube;

[0012] The second end of the third resistor is grounded;

[0013] The second end of the fourth resistor is connected to the first end of the second switch tube and the first end of the second capacitor, and is connected to the powered device through the second network port of the interface module;

[0014] The second end of the fifth resistor is connected to the control end of the second switch tube;

[0015] The second end of the sixth resistor is grounded;

[0016] The second end of the first capacitor and the second end of the second capacitor are both connected to the power supply end.

[0017] In a possible implementation, the main control module is specifically used to:

[0018] Sending a control signal to the PSE chip; determining the device type of the powered device according to the first preset voltage, the second preset voltage, the third preset voltage, the fourth preset voltage, the first current, the second current, the third current, the fourth current, the fifth current, the sixth current, the seventh current and the eighth current;

[0019] The PSE chip is used to, after receiving the control signal, control the first output terminal to output the first preset voltage, control the second output terminal not to output voltage, and obtain a first current returned to the first output terminal; and control the first output terminal to output the second preset voltage, control the second output terminal not to output voltage, and obtain a second current returned to the first output terminal; and control the second output terminal to output the third preset voltage, control the first output terminal not to output voltage, and obtain a third current returned to the second output terminal; and control the second output terminal to output the fourth preset voltage, control the first output terminal not to output voltage, and obtain a fourth current returned to the second output terminal; and control the first output terminal to output the first preset voltage, control the second output terminal to output the third preset voltage, and obtain a fifth current returned to the first output terminal and a sixth current returned to the second output terminal; and control the first output terminal to output the second preset voltage, control the second output terminal to output the fourth preset voltage, and obtain a seventh current returned to the first output terminal and an eighth current returned to the second output terminal.

[0020] In a possible implementation, the main control module is specifically used to:

[0021] If some or all of the following relationships are met, it is determined that the device type of the powered device is a single PD:

[0022] The first resistance value is within a first preset range;

[0023] The second resistance value is within the first preset range;

[0024] The first resistance value is equal to the second resistance value, and within a second preset range, the third resistance value is equal to the fourth resistance value, and is twice the first resistance value;

[0025] If the following relationship is satisfied, it is determined that the device type of the powered device is a dual PD:

[0026] The first resistance value is equal to the third resistance value and is within a third preset range, and the second resistance value is equal to the fourth resistance value and is within a fourth preset range;

[0027] Among them, the first resistance value is the ratio of the difference between the second preset voltage and the first preset voltage to the difference between the second current and the first current, the second resistance value is the ratio of the difference between the fourth preset voltage and the third preset voltage to the difference between the fourth current and the third current, the third resistance value is the ratio of the difference between the second preset voltage and the first preset voltage to the difference between the seventh current and the fifth current, and the fourth resistance value is the ratio of the difference between the fourth preset voltage and the third preset voltage to the eighth current and the sixth current.

[0028] In a possible implementation, the PSE chip is further used for:

[0029] The first output terminal is controlled to output the fifth preset voltage, the second output terminal is controlled to output the sixth preset voltage, and a ninth current returned to the first output terminal and a tenth current returned to the second output terminal are obtained.

[0030] In a possible implementation, the main control module is specifically used to:

[0031] If the device type is a single PD, determining the electric power levels corresponding to the ninth current and the tenth current in a preset first corresponding relationship;

[0032] If the device type is a dual PD, the electric power levels corresponding to the ninth current and the tenth current are determined in a preset second corresponding relationship.

[0033] In a possible implementation, the main control module is specifically used to:

[0034] If it is determined that the level signal at the first control end is the first level signal, and if it is determined that the level signal at the second control end is the first level signal, then it is determined that the first channel and the second channel do not output electric energy.

[0035] In a second aspect, the present application provides a switch, comprising a power supply equipment PSE, an interface module and a POE controller as described in any one of the first aspects.

[0036] In a third aspect, the present application provides a power supply method, applied to the POE controller as described in any one of the first aspects, the method comprising:

[0037] When it is determined that the first channel and the second channel do not output electric energy, respectively control the first output end of the first channel to output a first preset voltage and a second preset voltage, respectively control the second output end of the second channel to output a third preset voltage and a fourth preset voltage, and determine the device type of the powered device according to the current returned to the first output end and the current returned to the second output end;

[0038] controlling the first output terminal to output a fifth preset voltage, controlling the second output terminal to output a sixth preset voltage, and determining the electric power level of the powered device according to the device type, the ninth current returned to the first output terminal, and the tenth current returned to the second output terminal;

[0039] The powered device is supplied with power according to the power corresponding to the electric power level.

[0040] In a possible implementation, the controlling the first output end of the first channel to output a first preset voltage and a second preset voltage respectively, controlling the second output end of the second channel to output a third preset voltage and a fourth preset voltage respectively, and determining the device type of the powered device according to the current returned to the first output end and the current returned to the second output end, includes:

[0041] Control the first output terminal to output the first preset voltage, control the second output terminal not to output voltage, and obtain a first current returned to the first output terminal; and control the first output terminal to output the second preset voltage, control the second output terminal not to output voltage, and obtain a second current returned to the first output terminal; and control the second output terminal to output the third preset voltage, control the first output terminal not to output voltage, and obtain a third current returned to the second output terminal; and control the drip output terminal to output the fourth preset voltage, control the first output terminal not to output voltage, and obtain a fourth current returned to the second output terminal; and control the first output terminal to output the first preset voltage, control the second output terminal to output the third preset voltage, and obtain a fifth current returned to the first output terminal and a sixth current returned to the second output terminal; and control the first output terminal to output the second preset voltage, control the second output terminal to output the fourth preset voltage, and obtain a seventh current returned to the first output terminal and an eighth current returned to the second output terminal;

[0042] If some or all of the following relationships are met, it is determined that the device type of the powered device is a single PD:

[0043] The first resistance value is within a first preset range;

[0044] The second resistance value is within the first preset range;

[0045] The first resistance value is equal to the second resistance value, and within a second preset range, the third resistance value is equal to the fourth resistance value, and is twice the first resistance value;

[0046] If the following relationship is satisfied, it is determined that the device type of the powered device is a dual PD:

[0047] The first resistance value is equal to the third resistance value and is within a third preset range, and the second resistance value is equal to the fourth resistance value and is within a fourth preset range;

[0048] Among them, the first resistance value is the ratio of the difference between the second preset voltage and the first preset voltage to the difference between the second current and the first current, the second resistance value is the ratio of the difference between the fourth preset voltage and the third preset voltage to the difference between the fourth current and the third current, the third resistance value is the ratio of the difference between the second preset voltage and the first preset voltage to the difference between the seventh current and the fifth current, and the fourth resistance value is the ratio of the difference between the fourth preset voltage and the third preset voltage to the eighth current and the sixth current.

[0049] In a possible implementation, determining the electric power level of the powered device according to the device type, the ninth current returned to the first output terminal, and the tenth current returned to the second output terminal includes:

[0050] If the device type is a single PD, determining the electric power levels corresponding to the ninth current and the tenth current in a preset first corresponding relationship;

[0051] If the device type is a dual PD, the electric power levels corresponding to the ninth current and the tenth current are determined in a preset second corresponding relationship.

[0052] In a possible implementation, determining that the first channel and the second channel do not output electric energy includes:

[0053] If it is determined that the level signal at the first control end of the first channel is the first level signal, and if it is determined that the level signal at the second control end of the second channel is the first level signal, it is determined that the first channel and the second channel do not output electric energy.

[0054] In a fourth aspect, the present application further provides a computer storage medium, wherein the computer storage medium stores computer instructions, and when the computer instructions are executed by a processor, a power supply method as described in the third aspect is implemented.

[0055] The beneficial effects of the present invention are as follows:

[0056] The present invention provides a POE controller, a switch and a power supply method, wherein the POE controller includes a main control module and a PSE control module, wherein the main control module and the first end of the PSE control module are connected, the first channel of the PSE control module is connected to the powered device through the first network port of the interface module, and the second channel of the PSE control module is connected to the powered device through the second network port of the interface module; when the first channel and the second channel do not output electric energy, the main control module controls the first output end of the first channel to output the first preset voltage and the second preset voltage respectively, and controls the second output end of the second channel to output the third preset voltage and the fourth preset voltage respectively; determines the device type of the powered device according to the current returned to the first output end and the current returned to the second output end, then controls the first output end to output the fifth preset voltage, controls the second output end to output the sixth preset voltage, determines the electric power level of the powered device according to the device type, the ninth current returned to the first output end and the tenth current returned to the second output end, and finally controls the PSE control module to supply power to the powered device according to the power corresponding to the electric power level. In the embodiment of the present invention, the device type of the powered device is first determined, and then the electric power level of the powered device is determined according to the device type of the powered device, the current returned to the first output terminal, and the current returned to the second output terminal. Therefore, the electric power level of the powered device can be determined to be an electric power level corresponding to the standard rather than a private electric power level, thereby increasing the power of the powered device and improving system performance. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0058] Figure 1 A schematic diagram of the structure of a POE controller provided by an embodiment of the present invention;

[0059] Figure 2 A schematic diagram of the structure of a single PD powered device provided by an embodiment of the present invention;

[0060] Figure 3 A schematic diagram of the structure of a dual PD powered device provided by an embodiment of the present invention;

[0061] Figure 4 A schematic diagram of a flow chart of a power supply method provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0062] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0063] The POE controller provided in the embodiment of the present invention is applied to a switch, and the switch device is applied to a power supply system to realize full-range power output to a PD (Powered Device). The power supply equipment PSE provides power to the PD through a twisted pair cable. The PD converts the received power into a common voltage for its own use and can interact with the PSE according to the power supply standard to support the detection, classification and power supply of the PD.

[0064] PSE transmits power to PDs that need power transmission through Ethernet, and manages and counts power. For example, PSE will set power supply settings and power allocation based on the PD classification results.

[0065] IEEE802.3af / IEEE802.3at / IEEE802.3bt is an international extension protocol standard for Ethernet power supply technology. POE is a technology that uses Ethernet twisted pair cables to transmit power. Twisted pair cables are the main transmission medium for local area networks. As an extension of local area network equipment, POE equipment can free up the power supply of the equipment at the receiving end based on the original main hardware. It is mainly used in IP phones, wireless access points, PDA (personal digital assistant, handheld computer) charging stations, etc. These devices do not require additional AC wiring and external power adapters, and can work normally using the 13W (IEEE802.3af) or 30W (IEEE802.3at) power provided by POE.

[0066] IEEE802.3af is the earliest power detection and control specification approved by IEEE in power supply systems. It stipulates that the DC voltage output by the port is between 44 and 57V, providing PD with four Class levels (Class 0 to Class 3) of power request, ranging from 3.84 to 12.95W.

[0067] In 2009, IEEE introduced a new standard, IEEE802.3at, which stipulates that the DC voltage output by the port should be between 50 and 57 V, and defines devices with a power level higher than 12.95 W as Class 4, and the power level of the powered device can be extended to 25.5 W. On this basis, some chip manufacturers have made higher designs, such as MAX5980 supports private Class 5, which can output up to 60 W.

[0068] In 2018, in response to the growing demand for power supply, IEEE announced the IEEE802.3bt standard. Four new high-power PD classes were introduced, bringing the total number of single-signature classes to 9. Classes 5 to 8 are new to the POE (Power On Ethernet) standard and translate into PD power levels of 40.W to 71W.

[0069] However, before the emergence of the IEEE802.3bt standard, some chip manufacturers produced chips that supported private Class 5 and had an output power of 60W, while the IEEE802.3bt standard stipulates that standard Class 5 chips can output 45W. Therefore, when using the IEEE802.3bt standard, the power of chips that support private Class 5 will be reduced.

[0070] Based on the above problems, an embodiment of the present invention provides a POE controller, which is applied to a switch, such as Figure 1 As shown, it includes: a main control module 10 and a power supply equipment PSE control module 11;

[0071] The main control module 10 is connected to a first end of the PSE control module 11, a first channel of the PSE control module 11 is connected to the powered device via a first network port of the interface module 12, and a second channel of the PSE control module 11 is connected to the powered device via a second network port of the interface module 12;

[0072] The main control module 10 is used to control the first output end of the first channel to output the first preset voltage and the second preset voltage respectively, and control the second output end of the second channel to output the third preset voltage and the fourth preset voltage respectively when it is determined that the first channel and the second channel do not output electric energy, and determine the device type of the powered device according to the current returned to the first output end and the current returned to the second output end; control the first output end to output the fifth preset voltage, control the second output end to output the sixth preset voltage, and determine the electric power level of the powered device according to the device type, the ninth current returned to the first output end, and the tenth current returned to the second output end; and control the PSE to supply power to the powered device according to the power corresponding to the electric power level.

[0073] In an embodiment of the present invention, a POE controller applied to a switch includes a main control module 10 and a PSE control module 11. The first ends of the main control module 10 and the PSE control module 11 are connected. The first channel of the PSE control module 11 is connected to the powered device through the first network port of the interface module 12. The second channel of the PSE control module 11 is connected to the powered device through the second network port of the interface module 12. When the first channel and the second channel do not output electric energy, the main control module 10 controls the first output end of the first channel to output the first preset voltage and the second preset voltage respectively, and controls the second output end of the second channel to output the third preset voltage and the fourth preset voltage respectively. According to the current returned to the first output end and the current returned to the second output end, the device type of the powered device is determined, and then the first output end is controlled to output the fifth preset voltage, and the second output end is controlled to output the sixth preset voltage. According to the device type, the ninth current returned to the first output end, and the tenth current returned to the second output end, the electric power level of the powered device is determined, and finally the PSE is controlled to supply power to the powered device according to the power corresponding to the electric power level. In the embodiment of the present invention, the device type of the powered device is first determined, and then the electric power level of the powered device is determined according to the device type of the powered device, the current returned to the first output terminal, and the current returned to the second output terminal. Therefore, the electric power level of the powered device can be determined to be an electric power level corresponding to the standard rather than a private electric power level, thereby increasing the power of the powered device and improving system performance.

[0074] like Figure 1 As shown, the PSE control module 11 may include a PSE chip, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a first capacitor C1, a second capacitor C2, a first switch tube Q1 and a second switch tube Q2, wherein the first resistor R1, the second resistor R2, the third resistor R3, the first capacitor C1 and the first switch tube Q1 form a first channel, and the fourth resistor R4, the fifth resistor R5, the sixth resistor R6, the second capacitor C2 and the second switch tube Q2 form a second channel;

[0075] The first output terminal Out1 of the PSE chip serves as the first output terminal of the first channel and is connected to the first end of the first resistor R1. The first control terminal Gate1 of the PSE chip is connected to the first end of the second resistor R2. The first feedback terminal Sense1 of the PSE chip serves as the first feedback terminal of the first channel and is connected to the first end of the third resistor R3 and the second end of the first switch tube Q1. The second output terminal Out2 of the PSE chip serves as the second output terminal of the second channel and is connected to the first end of the fourth resistor R4. The second control terminal Gate2 of the PSE chip is connected to the first end of the fifth resistor R5. The second feedback terminal Sense2 of the PSE chip serves as the second feedback terminal of the second channel and is connected to the first end of the sixth resistor R6. The first end is connected to the first end of the second switch tube Q2; the second end of the first resistor R1 is connected to the first end of the first switch tube Q1 and the first end of the first capacitor C1, and is connected to the powered device through the first network port of the interface module 12; the second end of the second resistor R2 is connected to the control end of the first switch tube Q1; the second end of the third resistor R3 is grounded; the second end of the fourth resistor R4 is connected to the first end of the second switch tube Q2 and the first end of the second capacitor C2, and is connected to the powered device through the second network port of the interface module 12; the second end of the fifth resistor R5 is connected to the control end of the second switch tube Q2; the second end of the sixth resistor R6 is grounded; the second end of the first capacitor C1 and the second end of the second capacitor C2 are both connected to the power supply end +48V.

[0076] The main control module 10 may be an MCU controller. The MCU controller and the PSE chip may be connected via an I2C bus. The MCU controller may send control signals to the PSE chip via the I2C bus and obtain information from the PSE chip.

[0077] Combine the following Figure 1 The embodiments of the present invention are described in detail.

[0078] In a specific implementation, the main control module 10 first determines whether the PSE chip is in place. The main control module 10 reads the value in the in-place register in the PSE chip, and compares the read value in the in-place register with a preset value. If the comparison result is the same, it is determined that the PSE chip is in place.

[0079] After the main control module 10 determines that the PSE chip is in place, it determines whether the first channel and the second channel output power according to the level signals corresponding to Gate1 and Gate2. If at least one of the first channel and the second channel outputs power, it means that the channel has powered the powered device, and the port output power value is updated. If both channels do not output power, port detection is performed.

[0080] After determining that the PSE chip is in place, the main control module 10 determines that the first channel and the second channel do not output electric energy according to the level signal of the first control end and the level signal of the second control end, that is, determines that the level signal of the first control end is a first level signal, and determines that the level signal of the second control end is a first level signal, wherein the first level signal can be a high level signal.

[0081] Specifically, after determining that the PSE chip is in place, the main control module 10 can read the value stored in register A in the PSE chip, and determine whether the first channel and the second channel output electric energy through the values ​​stored in register A corresponding to the level signals of Gate1 and Gate2. For example, when the level signal output by Gate1 is high, the first channel outputs electric energy, and when the level signal output by Gate2 is high, the second channel outputs electric energy.

[0082] After the main control module 10 determines that the first channel and the second channel do not output electric energy, it controls the first output terminal Out1 to output the first preset voltage V1, controls the second output terminal Out2 not to output voltage, and obtains the first current I1 returned to the first output terminal Out1; controls the first output terminal Out1 to output the second preset voltage V2, controls the second output terminal Out2 not to output voltage, and obtains the second current I2 returned to the first output terminal Out1; controls the second output terminal Out2 to output the third preset voltage V3, controls the first output terminal Out1 not to output voltage, and obtains the third current I3 returned to the second output terminal Out2; controls The second output terminal Out2 outputs the fourth preset voltage V4, controls the first output terminal Out1 not to output voltage, and obtains the fourth current I4 returned to the second output terminal Out2; controls the first channel to output the first preset voltage V1, controls the second channel to output the third preset voltage V3, obtains the fifth current I5 returned to the first output terminal Out1 and the sixth current I6 returned to the second output terminal Out2; controls the first channel to output the second preset voltage V2, controls the second channel to output the fourth preset voltage V4, obtains the seventh current I7 returned to the first output terminal Out1 and the eighth current I8 returned to the second output terminal Out2.

[0083] In the above embodiment, the main control module 10 controls the output voltages of the first output terminal Out1 and the second output terminal Out2, and obtains the current returned to the first output terminal Out1 and the current returned to the second output terminal Out2, which are controlled and obtained by the PSE chip.

[0084] After the main control module 10 determines that the first channel and the second channel do not output electric energy, it outputs a control signal to the PSE chip. After receiving the control signal, the PSE chip controls the first output terminal Out1 to output the first preset voltage V1, controls the second output terminal Out2 not to output voltage, and obtains the first current I1 returned to the first output terminal Out1; controls the first output terminal Out1 to output the second preset voltage V2, controls the second output terminal Out2 not to output voltage, and obtains the second current I2 returned to the first output terminal Out1; controls the second output terminal Out2 to output the third preset voltage V3, controls the first output terminal Out1 not to output voltage, and obtains the second current I2 returned to the second output terminal Out1. The third current I3 of ut2; the second output terminal Out2 is controlled to output the fourth preset voltage V4, the first output terminal Out1 is controlled not to output voltage, and the fourth current I4 returned to the second output terminal Out2 is obtained; the first channel is controlled to output the first preset voltage V1, the second channel is controlled to output the third preset voltage V3, and the fifth current I5 returned to the first output terminal Out1 and the sixth current I6 returned to the second output terminal Out2 are obtained; the first channel is controlled to output the second preset voltage V2, the second channel is controlled to output the fourth preset voltage V4, and the seventh current I7 returned to the first output terminal Out1 and the eighth current I8 returned to the second output terminal Out2 are obtained.

[0085] The main control module 10 obtains the first current I1, the second current I2, the third current I3, the fourth current I4, the fifth current I5, the sixth current I6, the seventh current I7 and the eighth current I8 through the PSE chip, and calculates the first resistance value, the second resistance value, the third resistance value and the fourth resistance value according to the first preset voltage V1, the second preset voltage V2, the third preset voltage V3, the fourth preset voltage V4, the first current I1, the second current I2, the third current I3, the fourth current I4, the fifth current I5, the sixth current I6, the seventh current I7 and the eighth current I8.

[0086] Specifically, the first resistance is the difference (V2-V1) between the second preset voltage V2 and the first preset voltage V1, and the ratio (V2-V1) / (I2-I1) of the difference (I2-I1) between the second current I2 and the first current I1; the second resistance is the difference (V4-V3) between the fourth preset voltage V4 and the third preset voltage V3, and the ratio (V4-V3) / (I4-I3) of the difference (I4-I3) between the fourth current I4 and the third current I3. ); the third resistance is the ratio of the difference (V2-V1) between the second preset voltage V2 and the first preset voltage V1 to the difference (I7-I5) between the seventh current I7 and the fifth current I5 (V2-V1) / (I7-I5); the fourth resistance is the ratio of the difference (V4-V3) between the fourth preset voltage V4 and the third preset voltage V3 to the difference (I8-I6) between the eighth current I8 and the sixth current I6 (V4-V3) / (I8-I6).

[0087] After the first resistance value, the second resistance value, the third resistance value and the fourth resistance value are calculated, the device type of the powered device is determined according to the first resistance value, the second resistance value, the third resistance value and the fourth resistance value.

[0088] If the first resistance value is within a first preset range, determining that the device type of the powered device is a single PD;

[0089] If the second resistance value is within the first preset range, determining that the device type of the powered device is a single PD;

[0090] If the first resistance value and the second resistance value are equal and within the second preset range, and the third resistance value and the fourth resistance value are equal and are twice the first resistance value or the second resistance value, it is determined that the device type of the powered device is a single PD.

[0091] If the first resistance value and the third resistance value are equal and within the third preset range, and the second resistance value and the fourth resistance value are equal and within the fourth preset range, it is determined that the device type of the powered device is dual PD.

[0092] like Figure 2 As shown in FIG. 1 , it is a schematic diagram of a structure of a single PD powered device provided by an embodiment of the present invention, such as Figure 3 , which is a schematic structural diagram of a dual PD powered device provided by an embodiment of the present invention.

[0093] If the first resistance is within the first preset range, it means that the powered device of the single PD is connected to the first channel. If the second resistance is within the first preset range, it means that the powered device of the single PD is connected to the second channel. If the first resistance and the second resistance are equal and within the second preset range, and the third resistance and the fourth resistance are equal and are twice the first resistance or the second resistance, it means that the powered device of the single PD is connected to both the first channel and the second channel. Figure 2 The structure shown.

[0094] After the main control module 10 determines the device type of the powered device, it needs to determine the power level of the powered device.

[0095] Specifically, the PSE chip controls the first output terminal Out1 to output the fifth preset voltage V5, controls the second output terminal Out2 to output the sixth preset voltage V6, and then obtains the ninth current I9 returned to the first output terminal Out1 and the tenth current I10 returned to the second output terminal Out2. The main control module 10 obtains the ninth current I9 and the tenth current I10 through the PSE chip, and determines the electric power level of the powered device according to the device type of the powered device, the fifth preset voltage V5, the sixth preset voltage V6, the ninth current I9 and the tenth current I10.

[0096] In a specific implementation, a first correspondence corresponding to a single PD and a second correspondence corresponding to a dual PD are pre-set. If the powered device is a single PD, the electric power level of the powered device is determined according to the first correspondence. If the powered device is a dual PD, the electric power level of the powered device is determined according to the second correspondence.

[0097] If the device type is a single PD, the electric power levels corresponding to the ninth current I9 and the tenth current I10 are determined in a preset first corresponding relationship;

[0098] If the device type is dual PD, the electric power levels corresponding to the ninth current I9 and the tenth current I10 are determined in a preset second corresponding relationship.

[0099] As shown in Table 1, it is a first corresponding relationship, and as shown in Table 2, it is a second corresponding relationship.

[0100]

[0101] Table 1

[0102]

[0103] Table 2

[0104] In Table 1 and Table 2, current range A can represent the current range corresponding to Class 4, current range B can represent the current range corresponding to Class 0, current range C can represent the current range corresponding to Class 1, current range D can represent the current range corresponding to Class 2, current range E can represent the current range corresponding to Class 3, current range F can represent the current range corresponding to insufficient power, and current range G can represent the current range corresponding to Class 5.

[0105] For example, the main control module 10 determines that the powered device is a single PD. According to Table 1, the current range of the ninth current I9 is ​​A, and the range of the tenth current I10 is B, that is, the first channel corresponds to Class 4, and the second channel corresponds to Class 0, then the electric power level of the powered device is Class 5; according to Table 1, the current range of the ninth current I9 is ​​A, and the range of the tenth current I10 is C, that is, the first channel corresponds to Class 4, and the second channel corresponds to Class 1, then the electric power level of the powered device is Class 6; according to Table 1, the current range of the ninth current I9 is ​​A, and the range of the tenth current I10 is D, that is, the first channel corresponds to Class 4, and the second channel corresponds to Class 2, then the electric power level of the powered device is Class 7; according to Table 1, the current range of the ninth current I9 is ​​A, and the range of the tenth current I10 is E, that is, the first channel corresponds to Class 4, and the second channel corresponds to Class 3, then the electric power level of the powered device is Class 8.

[0106] For another example, the main control module 10 determines that the powered device is a dual PD. According to Table 2, the current range of the ninth current I9 is ​​E, and the range of the tenth current I10 is F, that is, the first channel corresponds to Class 3, and the second channel corresponds to insufficient power, then the power level of the powered device is Class 3; According to Table 2, the current range of the ninth current I9 is ​​A, and the range of the tenth current I10 is F, that is, the first channel corresponds to Class 4, and the second channel corresponds to insufficient power, then the power level of the powered device is Class 4; According to Table 2, the current range of the ninth current I9 is ​​G, and the range of the tenth current I10 is F, that is, the first channel corresponds to Class 5, and the second channel corresponds to insufficient power, then the power level of the powered device is Class5; according to Table 2, the current range of the ninth current I9 is ​​G, and the range of the tenth current I10 is E, that is, the first channel corresponds to Class5, and the second channel corresponds to Class3, then the electric power level of the powered device is Class6; according to Table 2, the current range of the ninth current I9 is ​​G, and the range of the tenth current I10 is A, that is, the first channel corresponds to Class5, and the second channel corresponds to Class4, then the electric power level of the powered device is Class7; according to Table 2, the current range of the ninth current I9 is ​​G, and the range of the tenth current I10 is G, that is, the first channel corresponds to Class5, and the second channel corresponds to Class5, then the electric power level of the powered device is Class8.

[0107] It should be noted that the above is only an example, and the present application can set the current range and the corresponding Class level according to actual needs.

[0108] After the main control module 10 determines the electric power level of the powered device, it controls the PSE control module to supply power to the powered device according to the power corresponding to the electric power level.

[0109] For example, if the determined electric power class of the powered device is Class 6, the main control module 10 controls the PSE chip to provide 60W of electric energy to the powered device.

[0110] Based on the same inventive concept, an embodiment of the present invention further provides a switch, which includes a power supply device PSE, an interface module and any of the above-mentioned POE controllers. The principle of solving the problem by the switch is similar to the principle of solving the problem by any of the above-mentioned POE controllers, and the repeated parts are not repeated.

[0111] Based on the same inventive concept, an embodiment of the present invention further provides a power supply method, which is applied to any of the above-mentioned POE controllers. The principle of solving the problem by this method is similar to the principle of solving the problem by any of the above-mentioned POE controllers, and the repeated parts will not be repeated.

[0112] like Figure 4 FIG. 1 is a flow chart of a power supply method provided in an embodiment of the present application, which specifically includes the following steps:

[0113] S401, when it is determined that the first channel and the second channel do not output electric energy, respectively control the first output end of the first channel to output a first preset voltage and a second preset voltage, respectively control the second output end of the second channel to output a third preset voltage and a fourth preset voltage, and determine the device type of the powered device according to the current returned to the first output end and the current returned to the second output end;

[0114] S402, controlling the first output terminal to output a fifth preset voltage, controlling the second output terminal to output a sixth preset voltage, and determining the electric power level of the powered device according to the device type, the ninth current returned to the first output terminal, and the tenth current returned to the second output terminal;

[0115] S403: supply power to the powered device according to the power corresponding to the electric power level.

[0116] Optionally, the controlling the first output end of the first channel to output a first preset voltage and a second preset voltage respectively, and the controlling the second output end of the second channel to output a third preset voltage and a fourth preset voltage respectively, and determining the device type of the powered device according to the current returned to the first output end and the current returned to the second output end, includes:

[0117] Control the first output terminal to output the first preset voltage, control the second output terminal not to output voltage, and obtain a first current returned to the first output terminal; and control the first output terminal to output the second preset voltage, control the second output terminal not to output voltage, and obtain a second current returned to the first output terminal; and control the second output terminal to output the third preset voltage, control the first output terminal not to output voltage, and obtain a third current returned to the second output terminal; and control the drip output terminal to output the fourth preset voltage, control the first output terminal not to output voltage, and obtain a fourth current returned to the second output terminal; and control the first output terminal to output the first preset voltage, control the second output terminal to output the third preset voltage, and obtain a fifth current returned to the first output terminal and a sixth current returned to the second output terminal; and control the first output terminal to output the second preset voltage, control the second output terminal to output the fourth preset voltage, and obtain a seventh current returned to the first output terminal and an eighth current returned to the second output terminal;

[0118] If some or all of the following relationships are met, it is determined that the device type of the powered device is a single PD:

[0119] The first resistance value is within a first preset range;

[0120] The second resistance value is within the first preset range;

[0121] The first resistance value is equal to the second resistance value, and within a second preset range, the third resistance value is equal to the fourth resistance value, and is twice the first resistance value;

[0122] If the following relationship is satisfied, it is determined that the device type of the powered device is a dual PD:

[0123] The first resistance value is equal to the third resistance value and is within a third preset range, and the second resistance value is equal to the fourth resistance value and is within a fourth preset range;

[0124] Among them, the first resistance value is the ratio of the difference between the second preset voltage and the first preset voltage to the difference between the second current and the first current, the second resistance value is the ratio of the difference between the fourth preset voltage and the third preset voltage to the difference between the fourth current and the third current, the third resistance value is the ratio of the difference between the second preset voltage and the first preset voltage to the difference between the seventh current and the fifth current, and the fourth resistance value is the ratio of the difference between the fourth preset voltage and the third preset voltage to the eighth current and the sixth current.

[0125] Optionally, determining the electric power level of the powered device according to the device type, the ninth current returned to the first output terminal, and the tenth current returned to the second output terminal includes:

[0126] If the device type is a single PD, determining the electric power levels corresponding to the ninth current and the tenth current in a preset first corresponding relationship;

[0127] If the device type is a dual PD, the electric power levels corresponding to the ninth current and the tenth current are determined in a preset second corresponding relationship.

[0128] Optionally, determining that the first channel and the second channel do not output electric energy includes:

[0129] If it is determined that the level signal at the first control end of the first channel is the first level signal, and if it is determined that the level signal at the second control end of the second channel is the first level signal, it is determined that the first channel and the second channel do not output electric energy.

[0130] Based on the same concept, the present application also provides a computer storage medium, wherein the computer storage medium stores computer instructions, and when the computer instructions are executed by a processor, any of the above-mentioned power supply methods is implemented.

[0131] The present application is described above with reference to the block diagrams and / or flow charts showing the methods, devices (systems) and / or computer program products according to the embodiments of the present application. It should be understood that a block of the block diagram and / or flow chart diagram and a combination of blocks of the block diagram and / or flow chart diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer and / or other programmable data processing device to produce a machine, so that the instructions executed by the computer processor and / or other programmable data processing device create a method for implementing the functions / actions specified in the block diagram and / or flow chart block.

[0132] Accordingly, the present application may also be implemented with hardware and / or software (including firmware, resident software, microcode, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium, which has a computer-usable or computer-readable program code implemented in the medium, for use by an instruction execution system or in conjunction with an instruction execution system. In the context of the present application, a computer-usable or computer-readable medium may be any medium that may contain, store, communicate, transmit, or convey a program for use by an instruction execution system, device, or apparatus, or in conjunction with an instruction execution system, device, or apparatus.

[0133] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A POE controller, It is characterized in that Applied to switches, including: main control module and power supply equipment PSE control module; The main control module is connected to the first end of the PSE control module, the first channel of the PSE control module is connected to the powered device through the first network port of the interface module, and the second channel of the PSE control module is connected to the powered device through the second network port of the interface module; The main control module is used to control the first output end of the first channel to output the first preset voltage and the second preset voltage, and respectively control the second output end of the second channel to output the third preset voltage and the fourth preset voltage when it is determined that the first channel and the second channel do not output electric energy, and determine the device type of the powered device according to the current returned to the first output end and the current returned to the second output end; control the first output end to output the fifth preset voltage, control the second output end to output the sixth preset voltage, and determine the electric power level of the powered device according to the device type, the ninth current returned to the first output end, and the tenth current returned to the second output end; and control the PSE control module to supply power to the powered device according to the power corresponding to the electric power level.

2. The controller according to claim 1, It is characterized in that The PSE control module includes a PSE chip, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a first capacitor, a second capacitor, a first switch tube and a second switch tube; The first output end of the PSE chip serves as the first output end of the first channel and is connected to the first end of the first resistor. The first control end of the PSE chip is connected to the first end of the second resistor. The first feedback end of the PSE chip serves as the first feedback end of the first channel and is connected to the first end of the third resistor and the second end of the first switch tube. The second output end of the PSE chip serves as the second output end of the second channel and is connected to the first end of the fourth resistor. The second control end of the PSE chip is connected to the first end of the fifth resistor. The second feedback end of the PSE chip serves as the second feedback end of the second channel and is connected to the first end of the sixth resistor and the first end of the second switch tube. The second end of the first resistor is connected to the first end of the first switch tube and the first end of the first capacitor, and is connected to the powered device through the first network port of the interface module; The second end of the second resistor is connected to the control end of the first switch tube; The second end of the third resistor is grounded; The second end of the fourth resistor is connected to the first end of the second switch tube and the first end of the second capacitor, and is connected to the powered device through the second network port of the interface module; The second end of the fifth resistor is connected to the control end of the second switch tube; The second end of the sixth resistor is grounded; The second end of the first capacitor and the second end of the second capacitor are both connected to the power supply end.

3. The controller according to claim 2, It is characterized in that The main control module is specifically used for: Sending a control signal to the PSE chip; determining a device type of the powered device according to the first preset voltage, the second preset voltage, the third preset voltage, the fourth preset voltage, the first current, the second current, the third current, the fourth current, the fifth current, the sixth current, the seventh current, and the eighth current; The PSE chip is configured to, after receiving the control signal, control the first output terminal to output the first preset voltage, control the second output terminal not to output voltage, and obtain a first current returned to the first output terminal; and controlling the first output terminal to output a second preset voltage, controlling the second output terminal not to output a voltage, and obtaining a second current returned to the first output terminal; and controlling the second output terminal to output the third preset voltage, controlling the first output terminal not to output a voltage, and obtaining a third current returned to the second output terminal; and controlling the second output terminal to output a fourth preset voltage, controlling the first output terminal not to output a voltage, and obtaining a fourth current returned to the second output terminal; and controlling the first output terminal to output the first preset voltage, controlling the second output terminal to output the third preset voltage, and obtaining a fifth current returned to the first output terminal and a sixth current returned to the second output terminal; And controlling the first output terminal to output the second preset voltage, controlling the second output terminal to output the fourth preset voltage, obtaining a seventh current returned to the first output terminal and an eighth current returned to the second output terminal.

4. The controller according to claim 3, It is characterized in that The main control module is specifically used for: If some or all of the following relationships are met, it is determined that the device type of the powered device is a single PD: The first resistance value is within a first preset range; The second resistance value is within the first preset range; The first resistance value is equal to the second resistance value and is within a second preset range; the third resistance value is equal to the fourth resistance value and is twice the first resistance value; If the following relationship is satisfied, it is determined that the device type of the powered device is a dual PD: The first resistance value is equal to the third resistance value and is within a third preset range, and the second resistance value is equal to the fourth resistance value and is within a fourth preset range; Among them, the first resistance value is the ratio of the difference between the second preset voltage and the first preset voltage to the difference between the second current and the first current, the second resistance value is the ratio of the difference between the fourth preset voltage and the third preset voltage to the difference between the fourth current and the third current, the third resistance value is the ratio of the difference between the second preset voltage and the first preset voltage to the difference between the seventh current and the fifth current, and the fourth resistance value is the ratio of the difference between the fourth preset voltage and the third preset voltage to the eighth current and the sixth current.

5. The controller according to claim 4, It is characterized in that The PSE chip is also used for: The first output terminal is controlled to output the fifth preset voltage, the second output terminal is controlled to output the sixth preset voltage, and a ninth current returned to the first output terminal and a tenth current returned to the second output terminal are obtained.

6. The controller according to claim 5, It is characterized in that The main control module is specifically used for: If the device type is a single PD, determining the electric power levels corresponding to the ninth current and the tenth current in a preset first corresponding relationship; If the device type is a dual PD, the electric power levels corresponding to the ninth current and the tenth current are determined in a preset second corresponding relationship.

7. The controller according to any one of claims 2 to 6, It is characterized in that The main control module is specifically used for: If it is determined that the level signal at the first control end is the first level signal, and if it is determined that the level signal at the second control end is the first level signal, then it is determined that the first channel and the second channel do not output electric energy.

8. A switch, It is characterized in that The device comprises a power supply equipment PSE, an interface module and a POE controller as claimed in any one of claims 1 to 7.

9. A method for supplying power, It is characterized in that Applied to the POE controller according to any one of claims 1 to 7, the method comprises: When it is determined that the first channel and the second channel do not output electric energy, respectively control the first output end of the first channel to output a first preset voltage and a second preset voltage, respectively control the second output end of the second channel to output a third preset voltage and a fourth preset voltage, and determine the device type of the powered device according to the current returned to the first output end and the current returned to the second output end; controlling the first output terminal to output a fifth preset voltage, controlling the second output terminal to output a sixth preset voltage, and determining the electric power level of the powered device according to the device type, the ninth current returned to the first output terminal, and the tenth current returned to the second output terminal; The powered device is supplied with power according to the power corresponding to the electric power level.

10. The method according to claim 9, It is characterized in that The controlling the first output end of the first channel to output a first preset voltage and a second preset voltage respectively, and the controlling the second output end of the second channel to output a third preset voltage and a fourth preset voltage respectively, and determining the device type of the powered device according to the current returned to the first output end and the current returned to the second output end, comprises: Control the first output terminal to output the first preset voltage, control the second output terminal not to output voltage, and obtain a first current returned to the first output terminal; and control the first output terminal to output the second preset voltage, control the second output terminal not to output voltage, and obtain a second current returned to the first output terminal; and control the second output terminal to output the third preset voltage, control the first output terminal not to output voltage, and obtain a third current returned to the second output terminal; and control the second output terminal to output the fourth preset voltage, control the first output terminal not to output voltage, and obtain a fourth current returned to the second output terminal; and control the first output terminal to output the first preset voltage, control the second output terminal to output the third preset voltage, and obtain a fifth current returned to the first output terminal and a sixth current returned to the second output terminal; and control the first output terminal to output the second preset voltage, control the second output terminal to output the fourth preset voltage, and obtain a seventh current returned to the first output terminal and an eighth current returned to the second output terminal; If some or all of the following relationships are met, it is determined that the device type of the powered device is a single PD: The first resistance value is within a first preset range; The second resistance value is within the first preset range; The first resistance value is equal to the second resistance value and is within a second preset range; the third resistance value is equal to the fourth resistance value and is twice the first resistance value; If the following relationship is satisfied, it is determined that the device type of the powered device is a dual PD: The first resistance value is equal to the third resistance value and is within a third preset range, and the second resistance value is equal to the fourth resistance value and is within a fourth preset range; Among them, the first resistance value is the ratio of the difference between the second preset voltage and the first preset voltage to the difference between the second current and the first current, the second resistance value is the ratio of the difference between the fourth preset voltage and the third preset voltage to the difference between the fourth current and the third current, the third resistance value is the ratio of the difference between the second preset voltage and the first preset voltage to the difference between the seventh current and the fifth current, and the fourth resistance value is the ratio of the difference between the fourth preset voltage and the third preset voltage to the eighth current and the sixth current.

11. The method according to claim 9, It is characterized in that The step of determining the electric power level of the powered device according to the device type, the ninth current returned to the first output terminal, and the tenth current returned to the second output terminal comprises: If the device type is a single PD, determining the electric power levels corresponding to the ninth current and the tenth current in a preset first corresponding relationship; If the device type is a dual PD, the electric power levels corresponding to the ninth current and the tenth current are determined in a preset second corresponding relationship.

12. The method according to any one of claims 9 to 11, It is characterized in that The determining that the first channel and the second channel do not output electric energy comprises: If it is determined that the level signal at the first control end of the first channel is the first level signal, and if it is determined that the level signal at the second control end of the second channel is the first level signal, it is determined that the first channel and the second channel do not output electric energy.

13. A computer storage medium, It is characterized in that The computer storage medium stores computer instructions, and when the computer instructions are executed by the processor, a power supply method as claimed in any one of claims 9 to 12 is implemented.

Citation Information

Patent Citations

  • Switch equipment and compatible power supply method

    CN112202570A

  • Power-off control circuit and power-off control method

    CN113037508A