CN113037508B - A power-off control circuit and a power-off control method - Google Patents
A power-off control circuit and a power-off control method Download PDFInfo
- Publication number
- CN113037508B CN113037508B CN201911387123.4A CN201911387123A CN113037508B CN 113037508 B CN113037508 B CN 113037508B CN 201911387123 A CN201911387123 A CN 201911387123A CN 113037508 B CN113037508 B CN 113037508B
- Authority
- CN
- China
- Prior art keywords
- voltage
- circuit
- pse
- comparison circuit
- overcurrent comparison
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/10—Current supply arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Continuous-Control Power Sources That Use Transistors (AREA)
Abstract
Description
技术领域technical field
本申请实施例涉及电路供电技术领域,尤其涉及一种下电控制电路以及下电控制方法。The embodiments of the present application relate to the technical field of circuit power supply, and in particular, to a power-off control circuit and a power-off control method.
背景技术Background technique
随着现代技术的发展,以太网供电(power over Ethernet,PoE)的应用越来越广泛,越来越多设备支持PoE,这些支持PoE的设备可以通过PoE获得电能,不需要再外接电源,十分方便。PoE指的是在现有的以太网第五类(Cat.5)布线基础架构不作任何改动的情况下,在为一些终端(如IP电话机、无线局域网接入点(access point,AP)、网络摄像机等)传输数据信号的同时,还能为此类设备提供直流供电的技术。PoE也被称为基于局域网供电(power over LAN,PoL)或有源以太网(active Ethernet),有时也被简称为以太网供电。其中,提供供电的设备为供电设备(power sourcing equipment,PSE),接受供电的设备为受电设备(powered device,PD)。With the development of modern technology, the application of power over Ethernet (PoE) is becoming more and more extensive, and more and more devices support PoE. These PoE-enabled devices can obtain power through PoE and do not need an external power supply. convenient. PoE refers to the power supply for some terminals (such as IP phones, wireless LAN access points (APs), Network cameras, etc.) while transmitting data signals, it can also provide DC power supply technology for such devices. PoE is also known as power over LAN (PoL) or active Ethernet, and is sometimes referred to simply as Power over Ethernet. The equipment that provides power is a power sourcing equipment (PSE), and the equipment that receives power is a powered device (PD).
当一个PSE为多个PD供电时,若多个PD的功率当前功耗加起来超过PSE的电源输出功率,则会导致PSE因电源过流停止供电,导致连接该PSE的所有PD一起断电,影响应用。When a PSE supplies power to multiple PDs, if the current power consumption of the multiple PDs exceeds the power output power of the PSE, the PSE will stop supplying power due to power overcurrent, and all PDs connected to the PSE will be powered off together. affect the application.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种下电控制电路以及下电控制方法,能够让一部分PD先下电,一部分PD后下电,减轻下电带来的负面影响。The embodiments of the present application provide a power-off control circuit and a power-off control method, which can enable some PDs to be powered off first, and some PDs to be powered off later, so as to reduce the negative impact caused by the power-off.
第一方面,本申请实施例提供了一种下电控制电路,包括:电流检测电路、第一过流比较电路、第二过流比较电路以及电压控制电路;In a first aspect, an embodiment of the present application provides a power-off control circuit, including: a current detection circuit, a first overcurrent comparison circuit, a second overcurrent comparison circuit, and a voltage control circuit;
所述电流检测电路的输入端与供电设备PSE电源耦合,所述电流检测电路的输出端与所述第一过流比较电路的第一输入端、所述第二过流比较电路的第一输入端耦合;The input terminal of the current detection circuit is coupled to the power supply of the power supply equipment PSE, and the output terminal of the current detection circuit is connected to the first input terminal of the first overcurrent comparison circuit and the first input of the second overcurrent comparison circuit. end coupling;
所述第一过流比较电路的输出端与所述PSE的第一PSE芯片的控制端耦合;The output end of the first overcurrent comparison circuit is coupled to the control end of the first PSE chip of the PSE;
所述第二过流比较电路的输出端与所述PSE的第二PSE芯片的控制端耦合;The output end of the second overcurrent comparison circuit is coupled with the control end of the second PSE chip of the PSE;
所述电压控制电路的输入端与所述第二过流比较电路的输出端耦合,所述电压控制电路的输出端与所述第一过流比较电路的第二输入端耦合;The input end of the voltage control circuit is coupled with the output end of the second overcurrent comparison circuit, and the output end of the voltage control circuit is coupled with the second input end of the first overcurrent comparison circuit;
所述电压控制电路包括分压电源、第一电阻和第二电阻;The voltage control circuit includes a voltage divider power supply, a first resistor and a second resistor;
所述分压电源与所述电压控制电路的输出端之间耦合所述第一电阻;The first resistor is coupled between the voltage dividing power supply and the output end of the voltage control circuit;
所述电压控制电路的输出端与所述电压控制电路的输入端之间耦合所述第二电阻。The second resistor is coupled between the output terminal of the voltage control circuit and the input terminal of the voltage control circuit.
在一种可能的实现方式中,所述第二电阻并联有第一电容。In a possible implementation manner, the second resistor is connected in parallel with the first capacitor.
在一种可能的实现方式中,所述第一PSE芯片的使能端与接地电容耦合。In a possible implementation manner, the enable terminal of the first PSE chip is capacitively coupled to ground.
在一种可能的实现方式中,该电路还包括信号放大电路;In a possible implementation manner, the circuit further includes a signal amplifying circuit;
所述电流检测电路的输出端与所述信号放大电路的输入端耦合,所述信号放大电路的输出端与所述第一过流比较电路的第一输入端、所述第二过流比较电路的第一输入端耦合;或The output end of the current detection circuit is coupled with the input end of the signal amplifying circuit, and the output end of the signal amplifying circuit is connected with the first input end of the first overcurrent comparison circuit and the second overcurrent comparison circuit coupled to the first input; or
所述电流检测电路的输出端与两个所述信号放大电路的输入端耦合,一个所述信号放大电路的输出端与所述第一过流比较电路的第一输入端耦合,另一个所述信号放大电路的输出端与所述第二过流比较电路的第一输入端耦合。The output end of the current detection circuit is coupled with the input ends of the two signal amplifying circuits, the output end of one signal amplifying circuit is coupled with the first input end of the first overcurrent comparison circuit, and the other The output terminal of the signal amplification circuit is coupled to the first input terminal of the second overcurrent comparison circuit.
在一种可能的实现方式中,所述第二过流比较电路的第二输入端与稳压电路的输出端耦合;In a possible implementation manner, the second input terminal of the second overcurrent comparison circuit is coupled to the output terminal of the voltage regulator circuit;
所述稳压电路包括稳压电源和分压电阻;The voltage-stabilizing circuit includes a voltage-stabilizing power supply and a voltage dividing resistor;
所述稳压电源的输出端通过所述分压电阻接地;The output end of the regulated power supply is grounded through the voltage dividing resistor;
所述稳压电路的输出端耦合于所述分压电阻之间。The output end of the voltage regulator circuit is coupled between the voltage dividing resistors.
在一种可能的实现方式中,所述电流检测电路包括采样电阻、运算放大器;In a possible implementation manner, the current detection circuit includes a sampling resistor and an operational amplifier;
所述采样电阻的两端与所述PSE电源耦合;Both ends of the sampling resistor are coupled to the PSE power supply;
所述采样电阻的两端还与所述运算放大器的输入端耦合;Both ends of the sampling resistor are also coupled to the input end of the operational amplifier;
所述运算放大器的输出端与所述运算放大器的输入端耦合。The output of the operational amplifier is coupled to the input of the operational amplifier.
在一种可能的实现方式中,所述第一PSE芯片的输入端和所述第一PSE芯片的输出端之间耦合有开关电路;In a possible implementation manner, a switch circuit is coupled between the input end of the first PSE chip and the output end of the first PSE chip;
所述第一PSE芯片的控制端与所述开关电路耦合,用于控制所述第一PSE芯片的输入端和所述第一PSE芯片的输出端之间导通和断开。The control terminal of the first PSE chip is coupled to the switch circuit, and is used to control the conduction and disconnection between the input terminal of the first PSE chip and the output terminal of the first PSE chip.
第二方面,本申请实施例提供了一种下电控制方法,应用于下电控制电路,所述下电控制电路包括电流检测电路、第一过流比较电路、第二过流比较电路以及电压控制电路,所述方法包括:In a second aspect, an embodiment of the present application provides a power-off control method, which is applied to a power-off control circuit, where the power-off control circuit includes a current detection circuit, a first overcurrent comparison circuit, a second overcurrent comparison circuit, and a voltage A control circuit, the method comprising:
通过所述电流检测电路根据供电设备PSE的电源电流输出第一电压,所述PSE通过第一PSE芯片和第二PSE芯片供电;Outputting the first voltage according to the power supply current of the power supply device PSE through the current detection circuit, and the PSE is powered by the first PSE chip and the second PSE chip;
通过所述第二过流比较电路将所述第一电压与第二电压比较;comparing the first voltage with the second voltage by the second overcurrent comparison circuit;
当所述第一电压小于所述第二电压时,通过所述第二过流比较电路输出高电平,控制所述第二PSE芯片供电;When the first voltage is lower than the second voltage, the second overcurrent comparison circuit outputs a high level to control the power supply of the second PSE chip;
当所述第一电压大于所述第二电压时,通过所述第二过流比较电路输出低电平,控制所述第二PSE芯片停止供电;When the first voltage is greater than the second voltage, the second overcurrent comparison circuit outputs a low level to control the second PSE chip to stop power supply;
通过所述电压控制电路根据所述第二过流比较电路输出的低电平生成第三电压;Generate a third voltage by the voltage control circuit according to the low level output by the second overcurrent comparison circuit;
通过所述第一过流比较电路将所述第一电压与所述第三电压比较;comparing the first voltage with the third voltage by the first overcurrent comparison circuit;
当所述第一电压小于所述第三电压时,通过所述第一过流比较电路输出高电平,控制所述第一PSE芯片供电;When the first voltage is lower than the third voltage, the first overcurrent comparison circuit outputs a high level to control the power supply of the first PSE chip;
当所述第一电压大于所述第三电压时,通过所述第一过流比较电路输出低电平,控制所述第一PSE芯片停止供电。When the first voltage is greater than the third voltage, the first overcurrent comparison circuit outputs a low level to control the first PSE chip to stop supplying power.
在一种可能的实现方式中,所述通过所述第一过流比较电路将所述第一电压与所述第三电压比较之前,所述方法还包括:In a possible implementation manner, before the comparing the first voltage with the third voltage by the first overcurrent comparison circuit, the method further includes:
通过第一电容延迟第一时间。The first time is delayed by the first capacitor.
在一种可能的实现方式中,所述通过所述第一过流比较电路输出低电平之后,所述控制所述第一PSE芯片停止供电之前,所述方法还包括:In a possible implementation manner, after the outputting a low level through the first overcurrent comparison circuit, and before the controlling the first PSE chip to stop power supply, the method further includes:
通过接地电容延迟第二时间。The second time is delayed by a grounded capacitor.
在一种可能的实现方式中,所述通过所述电流检测电路根据供电设备PSE的电源电流输出第一电压之后,所述通过所述第二过流比较电路将所述第一电压与第二电压比较之前,所述方法还包括:In a possible implementation manner, after the current detection circuit outputs the first voltage according to the power supply current of the power supply equipment PSE, the second overcurrent comparison circuit compares the first voltage with the second voltage Before the voltage comparison, the method further includes:
通过信号放大电路放大所述第一电压。The first voltage is amplified by a signal amplification circuit.
在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:
通过稳压电路输出所述第二电压。The second voltage is output through a voltage regulator circuit.
在一种可能的实现方式中,所述控制所述第一PSE芯片供电具体包括:In a possible implementation manner, the controlling the power supply of the first PSE chip specifically includes:
通过开关电路根据所述第一过流比较电路输出的高电平控制所述第一PSE芯片供电。The power supply of the first PSE chip is controlled by a switch circuit according to the high level output by the first overcurrent comparison circuit.
所述控制所述第一PSE芯片停止供电具体包括:The controlling the first PSE chip to stop power supply specifically includes:
通过所述开关电路根据所述第一过流比较电路输出的低电平控制所述第一PSE芯片停止供电。The switch circuit controls the first PSE chip to stop power supply according to the low level output by the first overcurrent comparison circuit.
从以上技术方案可以看出,本申请实施例具有以下优点:As can be seen from the above technical solutions, the embodiments of the present application have the following advantages:
本申请提供的下电控制电路通过电流检测电路获取PSE电源的电流并转换为电压,根据该电压通过第二过流比较电路控制第二PSE芯片,从而控制与第二PSE芯片对应的PD上下电。当第二PSE芯片对应的PD下电后,第二过流比较电路的输出端通过电压控制电路将合适比较电压输入至第一过流比较电路的第二输入端,使得第一过流比较电路可以根据该电压控制第一PSE芯片,从而控制与第一PSE芯片对应的PD上下电。因此,本申请能够先让部分PD下电,在部分PD下电后,再控制另一部分PD上下电,实现了PD下电的分级控制,当负载异变时,本申请可以控制不重要的PD先下电,让重要的PD最后接受控制,减少影响。The power-off control circuit provided by the present application obtains the current of the PSE power supply through the current detection circuit and converts it into a voltage, and controls the second PSE chip through the second overcurrent comparison circuit according to the voltage, thereby controlling the power-on and power-off of the PD corresponding to the second PSE chip . When the PD corresponding to the second PSE chip is powered off, the output terminal of the second overcurrent comparison circuit inputs an appropriate comparison voltage to the second input terminal of the first overcurrent comparison circuit through the voltage control circuit, so that the first overcurrent comparison circuit The first PSE chip can be controlled according to the voltage, thereby controlling the power-on and power-off of the PD corresponding to the first PSE chip. Therefore, the present application can power off some PDs first, and then control another part of the PDs to power on and off after the partial PDs are powered off, so as to realize the hierarchical control of the power off of the PDs. When the load changes, the present application can control the unimportant PDs. Power off first, and let important PDs be controlled last to reduce the impact.
附图说明Description of drawings
图1为本申请实施例中PSE与PD的系统模型示例;FIG. 1 is an example of a system model of PSE and PD in an embodiment of the application;
图2为本申请实施例中PSE内部的示例图;FIG. 2 is an example diagram inside the PSE in the embodiment of the application;
图3为本申请实施例中下电控制电路的示例图;FIG. 3 is an example diagram of a power-off control circuit in an embodiment of the present application;
图4为本申请实施例中电流检测电路的一种示例图;FIG. 4 is an exemplary diagram of a current detection circuit in an embodiment of the present application;
图5为本申请实施例中电压控制电路的一种示例图;FIG. 5 is an exemplary diagram of a voltage control circuit in an embodiment of the present application;
图6为本申请实施例中下电控制电路的另一种示例图;6 is another exemplary diagram of a power-off control circuit in an embodiment of the present application;
图7为本申请实施例中下电控制电路的另一种示例图;FIG. 7 is another exemplary diagram of a power-off control circuit in an embodiment of the present application;
图8为本申请实施例中下电控制电路的另一种示例图;FIG. 8 is another exemplary diagram of a power-off control circuit in an embodiment of the present application;
图9为本申请实施例中下电控制电路的另一种示例图;FIG. 9 is another exemplary diagram of a power-off control circuit in an embodiment of the present application;
图10为本申请实施例中信号放大电路及过流比较电路的示例图;10 is an example diagram of a signal amplification circuit and an overcurrent comparison circuit in an embodiment of the present application;
图11为本申请实施例中开关电路的一种示例图;FIG. 11 is an exemplary diagram of a switch circuit in an embodiment of the application;
图12为本申请实施例中一种下电控制方法的示例图。FIG. 12 is an exemplary diagram of a power-off control method in an embodiment of the present application.
具体实施方式Detailed ways
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“对应于”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "corresponding to", and any variations thereof, are intended to cover non-exclusive inclusion, eg, a process, method, system, product or device comprising a series of steps or units not necessarily limited to those expressly listed but may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or illustrations. Any embodiments or designs described in the embodiments of the present application as "exemplary" or "such as" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.
为了下述各实施例的描述清楚简洁,首先给出相关技术的简要介绍:In order to describe the following embodiments clearly and concisely, a brief introduction of the related technology is given first:
图1为本申请实施例中PSE与PD的系统模型示例。在本申请实施例中,PSE和PD可以通过RJ-45双绞线连接,在实际应用中,还可以通过其他合适的线缆连接,本申请实施例对此不做限定。FIG. 1 is an example of a system model of a PSE and a PD in an embodiment of the present application. In the embodiment of the present application, the PSE and the PD may be connected through an RJ-45 twisted pair cable. In practical applications, they may also be connected through other suitable cables, which are not limited in the embodiment of the present application.
表1Table 1
表1为本申请实施例中,PSE与PD连接的参数示例。可见,PSE与PD连接时需要符合相关的参数,若不符合相关参数,则会出现连接异常,以下将介绍PSE与PD连接的一般步骤。Table 1 is an example of the parameters of the connection between the PSE and the PD in this embodiment of the present application. It can be seen that the connection between the PSE and the PD needs to meet the relevant parameters. If the relevant parameters are not met, a connection abnormality will occur. The following will introduce the general steps for connecting the PSE and the PD.
1、检测是否有设备连接。1. Check whether there is a device connected.
在本申请实施例中,PSE可以检测RJ-45双绞线是否有PD连接。若有PD连接,则RJ-45双绞线能够有对应的信号反馈。In this embodiment of the present application, the PSE can detect whether the RJ-45 twisted pair has a PD connection. If there is a PD connection, the RJ-45 twisted pair can have corresponding signal feedback.
2、检测对方是否是标准PD。2. Check whether the other party is a standard PD.
在本申请实施例中,PSE可以通过RJ-45双绞线向PD发送信号,使得PD向PSE反馈信息,该信息可以表示PD是否为标准PD。在一些实施例中,该信息还可以表示如表1中的802.3af、802.3at等标准。In this embodiment of the present application, the PSE may send a signal to the PD through the RJ-45 twisted pair, so that the PD feeds back information to the PSE, and the information may indicate whether the PD is a standard PD. In some embodiments, the information may also represent standards such as 802.3af, 802.3at, etc. in Table 1.
3、检测对方受电功率等级。3. Detect the receiving power level of the other party.
在本申请实施例中,PSE可以通过RJ-45双绞线向PD发送信号,使得PD向PSE反馈信息,该信息可以表示PD的受电功率等级。可以理解的是,受电功率等级可以是表1中的分级。In this embodiment of the present application, the PSE may send a signal to the PD through the RJ-45 twisted pair cable, so that the PD feeds back information to the PSE, and the information may indicate the power level of the PD. It can be understood that the received power levels may be the classifications in Table 1.
4、按功率供电。4. Power supply according to power.
可以理解的是,在本申请实施例中,PSE一般是通过RJ-45双绞线进行供电。It can be understood that, in this embodiment of the present application, the PSE is generally powered by an RJ-45 twisted pair cable.
5、检测对方是否离开或短路等异常情况。5. Detect whether the other party leaves or short-circuits and other abnormal conditions.
在一些实施例中,PSE可以要求PD每隔一段时间返回一个心跳信号,若PD没有按时返回心跳信号,则PSE可以判断PD离开或出现异常。在另一些实施例中,PSE和PD之间的连接参数出现异常也可以判断为出现异常情况。例如,RJ-45双绞线中的某些端口的电压范围超过限定范围等,本申请实施例对此不做限定。In some embodiments, the PSE may require the PD to return a heartbeat signal at regular intervals. If the PD does not return the heartbeat signal on time, the PSE may determine that the PD has left or is abnormal. In other embodiments, an abnormality can also be determined as the abnormality occurs in the connection parameters between the PSE and the PD. For example, the voltage range of some ports in the RJ-45 twisted pair exceeds a limited range, etc., which is not limited in this embodiment of the present application.
6、停止供电并回到第一步(步骤1)。6. Turn off the power supply and go back to the first step (step 1).
在本申请实施例中,当PD出现异常情况时,PSE停止向PD供电。当PD恢复正常后,PSE可以重新进行步骤1以重新给PD上电。In this embodiment of the present application, when the PD is abnormal, the PSE stops supplying power to the PD. When the PD returns to normal, the PSE can repeat
在本申请实施例中,上电是指PSE向PD供电,下电是指PSE停止向PD供电。In this embodiment of the present application, power-on means that the PSE supplies power to the PD, and power-down means that the PSE stops supplying power to the PD.
图2为本申请实施例中PSE内部的示例图。可见,PSE中可以包括多个PSE芯片,例如,PSE_0、PSE_1、PSE_2…PSE_n。每个PSE芯片可以连接有多个PD。PSE可以通过微控制单元(micro controller unit,MCU)控制各个PSE芯片。PSE芯片一般具有一个控制端(也可以称为使能端)。在一些实施例中,当控制端的输入为高电平时,PSE芯片控制与其连接的PD正常供电,当控制端的输入转为低电平时,PSE芯片控制与其连接的PD下电。在实际应用中,还可能是高电平使得PSE芯片控制与其连接的PD下电,本申请实施例对此不做限定。FIG. 2 is an example diagram of the interior of the PSE in the embodiment of the present application. It can be seen that the PSE may include multiple PSE chips, for example, PSE_0, PSE_1, PSE_2...PSE_n. Each PSE chip can be connected to multiple PDs. The PSE can control each PSE chip through a micro controller unit (MCU). A PSE chip generally has a control terminal (also called an enable terminal). In some embodiments, when the input of the control terminal is at a high level, the PSE chip controls the PD connected to it to supply power normally, and when the input of the control terminal turns to a low level, the PSE chip controls the PD connected to it to power off. In practical applications, the high level may also cause the PSE chip to control the PD connected to it to power off, which is not limited in this embodiment of the present application.
如图2的PSE在安装有较多PD时,例如,PSE同时为24个PD供电,每个PD需要30W的供电,则PSE设备按照标准要求,预留给每个PD设备足够供电能力,那么总电源输出功率W=24*30W+PSE设备本身功耗>720W。这种方案可以确保每个端口有充足的供电。然而,该方案虽然能够保证每个端口有充足的供电,但是因为实际上电源的使用效率很低,给组网增加了很大的成本浪费。When there are many PDs installed in the PSE as shown in Figure 2, for example, the PSE supplies power to 24 PDs at the same time, and each PD needs 30W of power supply, then the PSE device reserves enough power supply capacity for each PD device according to the standard requirements, then The total power output power W=24*30W+PSE equipment itself power consumption>720W. This solution ensures that each port has sufficient power. However, although this solution can ensure that each port has sufficient power supply, in fact, the use efficiency of the power supply is very low, which adds a lot of cost waste to the networking.
在实际应用中,由于PSE不一定安装满24个PD,并且,每个PD不一定按照30W的功耗运行,一般PD的功耗大概只有几W,因此实际上PSE的功耗一般不会到达720W。所以,在实际应用中,为了降低成本,为24个PD供电的PSE的总功率一般设置在380W左右。在负载异变时,例如,每个PD的功率都增大,使得各个PD总功率加起来大于380W,则PSE电源会出现验证过流状态,并且由于电源过流,会出现设备下电等情况,影响应用。In practical applications, since the PSE is not necessarily installed with 24 PDs, and each PD does not necessarily operate at a power consumption of 30W, the power consumption of a PD is generally only a few W, so the power consumption of the PSE generally does not reach 720W. Therefore, in practical applications, in order to reduce costs, the total power of the PSE that supplies power to 24 PDs is generally set at about 380W. When the load changes, for example, the power of each PD increases, so that the total power of each PD is greater than 380W, the PSE power supply will appear in the verification overcurrent state, and due to the power supply overcurrent, the equipment will be powered off and so on. , which affects the application.
为解决上述设备下电的技术问题,本申请实施例提供了一种下电控制电路,如图3所示,包括:电流检测电路301、第一过流比较电路302、第二过流比较电路303以及电压控制电路304。In order to solve the technical problem of powering off the above equipment, an embodiment of the present application provides a power-off control circuit, as shown in FIG. 3 , including: a
其中,电流检测电路301的输入端与PSE的电源耦合,用于检测PSE的电源的电流,并转换为电压参数。本申请实施例可以采用多种电路实现上述功能,本申请实施例对电流检测电路301的具体实现方式不做限定,但本申请实施例提供其中一种示例如图4所示。The input terminal of the
图4为本申请实施例中电流检测电路的一种示例图。该电流检测电路包括采样电阻R1以及运算放大器。该采样电阻R1的两端与PSE电源耦合,具体耦合在PSE电源的正极RTN_POE与PSE电源的负极-48V_POE之间。采样电阻R1的大小可以为0.05欧姆,本申请实施例对采样电阻R1的大小不做限制。运算放大器的第一端接地,第二端和第三段与采样电阻R1耦合,第四端和第七端耦合电源,第五端接地,第六端为电流检测电路的输出端V0。根据电路原理,电流检测电路的输出端V0=R1*Is。在电流检测电路中的适当的位置可以耦合一些电阻,本申请实施例对此不做限定。在本申请实施例中,电流检测电路301的输出端与第一过流比较电路302的第一输入端耦合,且电流检测电路301的输出端还与第二过流比较电路303的第一输入端耦合,用于将转换后的电压传输至第一过流比较电路302或第二过流比较电路303进行电压比较。FIG. 4 is an exemplary diagram of a current detection circuit in an embodiment of the present application. The current detection circuit includes a sampling resistor R1 and an operational amplifier. Both ends of the sampling resistor R1 are coupled with the PSE power supply, specifically between the positive pole RTN_POE of the PSE power supply and the negative pole -48V_POE of the PSE power supply. The size of the sampling resistor R1 may be 0.05 ohms, and the embodiment of the present application does not limit the size of the sampling resistor R1. The first terminal of the operational amplifier is grounded, the second terminal and the third section are coupled to the sampling resistor R1, the fourth terminal and the seventh terminal are coupled to the power supply, the fifth terminal is grounded, and the sixth terminal is the output terminal V0 of the current detection circuit. According to the circuit principle, the output terminal of the current detection circuit V0=R1*Is. Some resistors may be coupled at appropriate positions in the current detection circuit, which is not limited in this embodiment of the present application. In this embodiment of the present application, the output terminal of the
第一过流比较电路302的输出端与PSE内部的第一PSE芯片的控制端耦合,用于根据电压比较情况控制第一PSE芯片,使得与第一PSE芯片耦合的PD上电或下电;The output end of the first
第二过流比较电路303的输出端与PSE内部的第二PSE芯片的控制端耦合,用于根据电压比较情况控制第二PSE芯片,使得与第二PSE芯片耦合的PD上电或下电;The output end of the second
电压控制电路304的输入端与第二过流比较电路303的输出端耦合,电压控制电路304的输出端与第一过流比较电路302的第二输入端耦合,用于根据第二过流比较电路303的电压比较情况控制第一过流比较电路302的电压比较。具体地,在一些实施例中,电压控制电路304的内部如图5所示。The input terminal of the
图5为本申请实施例中电压控制电路304的一种示例图。该电压控制电路至少包括电源V33、电阻R1和电阻R2。第二过流比较电路303的输出端电压为VPSE2_EN,第一过流比较电路302的第二输入端的电压为Vref1,则通过电路原理可知:FIG. 5 is an exemplary diagram of the
Vref1=(V33-VPSE2_EN)*R2/(R1+R2)+VPSE2_EN;Vref1=(V33-V PSE2_EN )*R2/(R1+R2)+V PSE2_EN ;
根据上式可知,当第二过流比较电路303的输出端电压变化时,第一过流比较电路302的第二输入端的电压也随之变化,因此可以实现第一过流比较电路302在第二过流比较电路303检测到电源负载超过极限时才进行合适的电压检测。在实际应用中,电阻R1、电阻R2以及电源V33设置合适的数值可以实现分级控制。According to the above formula, when the voltage of the output terminal of the second
为清楚描述本申请实施例实施过程,本申请实施例给出两种电路设计过程。其中一种电路设计过程为:In order to clearly describe the implementation process of the embodiments of the present application, the embodiments of the present application provide two circuit design processes. One of the circuit design processes is:
设定电源V33为3.3V电源,电阻R1为2.1K欧姆,电阻R2为1.2K欧姆,则当第二过流比较电路输出端电压为0V时,根据电路原理,第一过流比较电路302的第二输入端电压Vref1=(V33-VPSE2_EN)*R2/(R1+R2)+VPSE2_EN=(3.3-0)*1.2K/(2.1K+1.2K)+0=1.2V。当二过流比较电路输出端电压为3.3V时,根据电路原理,第一过流比较电路302的第二输入端电压Vref1=(V33-VPSE2_EN)*R2/(R1+R2)+VPSE2_EN=(3.3-3.3)*1.2K/(2.1K+1.2K)+3.3=3.3V。并且第二过流比较电路303的第二输入端电压Vref2设定为1.2V。Set the power supply V33 to 3.3V, the resistance R1 to 2.1K ohms, and the resistance R2 to be 1.2K ohms, then when the output voltage of the second overcurrent comparison circuit is 0V, according to the circuit principle, the first
因此,当PSE电源正常运行时,电流检测电路301的输出端电压小于1.2V,第二过流比较电路303输出3.3V,PSE_2芯片正常工作,与PSE_2芯片连接的PD不用下电。并且根据电路原理,第一过流比较电路302的第二输入端电压Vref1=3.3V,即使PSE电源负载突变,电流检测电路301的输出端电压突然大于1.2V,在一般情况下也不会大于3.3V,因此可以认为第一过流比较电路302恒输出高电平,PSE_1芯片正常工作,与PSE_1芯片连接的PD不用下电。Therefore, when the PSE power supply operates normally, the output terminal voltage of the
当PSE电源由正常运行变为超过负载时,电流检测电路301的输出端电压超过1.2V,经第二过流比较电路303比较后,第二过流比较电路303的输出端电压输出0V,使得PSE_2芯片控制与其连接的PD下电。而由于第二过流比较电路303的输出端电压变化为0V,根据电路原理,第一过流比较电路302的第二输入端电压Vref1也相继变化为1.2V,因此,第一过流比较电路302可以在与PSE_2芯片连接的PD下电后,继续对电流检测电路301的输出端电压进行检测,若电流检测电路301的输出端电压还是超过1.2V,则第一过流比较电路302输出低电平,使得与PSE_1芯片连接的PD下电。When the PSE power supply changes from normal operation to overload, the output voltage of the
其中另一种设计过程为,首先设定电流检测电路301,使得当电流检测电路301的输出端电压大于1.2V时,表示PSE电源电流超过负载极限,需要给部分PD下电。当电流检测电路301的输出端电压小于1.2V时,表示PSE电源电流在合适负载范围内,无需给PD下电。因此,第一过流比较电路302和第二过流比较电路303需要给电流检测电路301的输出端电压进行电压比较,该电压比较所用的电压应该均设定为1.2V。其中,第二过流比较电路303的第二输入端电压Vref2可以直接连接1.2V电源或者通过电源分压得到稳定的1.2V电压。而第一过流比较电路302需要在第二过流比较电路303检测到电流检测电路301的输出端电压超过1.2V后才开始进行合适的检测。在本申请实施例中,当第二过流比较电路303检测到电流检测电路301的输出端电压超过1.2V后,第二过流比较电路303的输出端输出电压VPSE2_EN为0V,此时第一过流比较电路302的第二输入端电压Vref1应该为1.2V,则可以设定电源V33输出电压为3.3V,电阻R1为2.1K欧姆、电阻R2为1.2K欧姆。根据电路原理可以计算得到Vref1=(V33-VPSE2_EN)*R2/(R1+R2)+VPSE2_EN=(3.3-0)*1.2K/(2.1K+1.2K)+0=1.2V。Another design process is to first set the
在一些实施例中,电阻R2还可以并联有电容C1,使得第二过流比较电路303的输出端输出电压VPSE2_EN转换时,由于电容C1的充电过程,第一过流比较电路302的第二输入端电压Vref1经过延时时间才到达合适的电压。这种延时设计可以让与PSE_2芯片连接的PD经过一段时间下电后,再对电流检测电路301的输出端电压进行检测。例如,当第二过流比较电路303的输出端输出电压VPSE2_EN由3.3V转换为0V时,第一过流比较电路302的第二输入端电压Vref1经过一段延时时间才到达1.2V。In some embodiments, the resistor R2 may also be connected with a capacitor C1 in parallel, so that when the output voltage V PSE2_EN of the second
在实际应用中,不同的过流比较电路可以设置不同采用不同的比较电压。例如,第一过流比较电路302的第二输入端电压Vref1设定为2V,第二过流比较电路303的第二输入端电压Vref2设定为1.2V,本申请实施例对此不做限制。In practical applications, different overcurrent comparison circuits can be set to use different comparison voltages. For example, the voltage Vref1 of the second input terminal of the first
如图6所示,在一些实施例中,本申请实施例还设置有更多的过流比较电路,其中第一个额外的过流比较电路(在图6中为第三过流比较电路)的第一输入端可以与电流检测电路301的输出端耦合,其第二输入端可以通过与电压控制电路304类似的电压控制电路与第一过流比较电路302的输出端耦合,其输出端可以与PSE芯片的控制端耦合。第二个额外的过流比较电路的第一输入端可以与电流检测电路301的输出端耦合,其第二输入端可以通过与电压控制电路304类似的电压控制电路与上一个额外的过流比较电路的输出端耦合,其输出端可以与PSE芯片的控制端耦合。以此类推,本申请实施例可以根据实际情况额外设置若干个过流比较电路,本申请实施例对此数量不做限定。As shown in FIG. 6 , in some embodiments, the embodiments of the present application are further provided with more overcurrent comparison circuits, wherein the first additional overcurrent comparison circuit (in FIG. 6 is the third overcurrent comparison circuit) The first input terminal of the
在实际应用中,可以设置一个稳压电源与某一个PSE芯片的控制端耦合,使得该PSE芯片连接的PD受到稳压电源的控制不会下电。如图6中的稳压电源VCC连接了PSE_0芯片,则PSE_0芯片控制的PD一般不会下电。工作人员可以将特别重要的PD连接到PSE_0芯片上,保证其供电稳定。In practical applications, a regulated power supply can be set to couple with the control terminal of a certain PSE chip, so that the PD connected to the PSE chip will not be powered off under the control of the regulated power supply. As shown in Figure 6, the regulated power supply VCC is connected to the PSE_0 chip, and the PD controlled by the PSE_0 chip will generally not be powered off. Staff can connect particularly important PDs to the PSE_0 chip to ensure stable power supply.
在一些实施例中,电流检测电路301的输出端具体通过信号放大电路与第一过流比较电路302的第一输入端以及第二过流比较电路303的第一输入端耦合。图7为本申请实施例中下电控制电路的一种示例图。可见,电流检测电路301的输出端与信号放大电路305的输入端耦合,信号放大电路305的输出端与第一过流比较电路302的第一输入端以及第二过流比较电路303的第一输入端耦合。本申请实施例采用信号放大电路放大电压,能够更准确地对PSE电源的负载情况进行判断。In some embodiments, the output terminal of the
在另一种实施例中,电流检测电路301的输出端具体通过两个信号放大电路分别与第一过流比较电路302的第一输入端以及第二过流比较电路303的第一输入端耦合。图8为本申请实施例中下电控制电路的另一种示例图。可见电流检测电路301的输出端分别与信号放大电路3051的输入端、信号放大电路3052的输入端耦合。信号放大电路3051的输出端与第一过流比较电路302的第一输入端耦合。信号放大电路3052的输出端与第二过流比较电路303的第一输入端耦合。In another embodiment, the output end of the
图9为本申请实施例中下电控制电路的另一种示例图。当本申请实施例采用多个信号放大电路时,多个信号放大电路可以采用不同的放大倍数,则对应的过流检测电路可以采用不同的检测电压,即过流检测电路的第二输入端可以设定不同的电压。FIG. 9 is another exemplary diagram of a power-off control circuit in an embodiment of the present application. When multiple signal amplification circuits are used in the embodiment of the present application, the multiple signal amplification circuits may use different amplification factors, and the corresponding overcurrent detection circuits may use different detection voltages, that is, the second input terminal of the overcurrent detection circuit may be Set different voltages.
本申请实施例通过多个过流比较电路实现了分级控制,当第二过流比较电路303检测到过流后,再采用第一过流比较电路302进行比较,实现了分级控制,能够控制部分PD按照预设的顺序下电。本申请实施例采用硬件电路的方式进行下电控制,相较于通过MCU控制的方式更加迅速,能够达到ns级的响应。The embodiment of the present application implements hierarchical control through a plurality of overcurrent comparison circuits. After the second
图10为本申请实施例中信号放大电路及过流比较电路的示例图。图10中共有两个信号放大电路,这两个信号放大电路的输入电压均为V0。输入电压V0经过信号放大电路的放大后,输出电压分别为V1=(R10/R18)*V0,V2=(R20/R28)*V0。信号放大电路的放大倍数可以通过设置R10、R18、R20、R28的值来实现,本申请实施例对信号放大电路的放大倍数不做限制。其中,稳压电源V33经过R22、R23、R24分压后稳定输出电压1.2V,则输出电压V2通过第二过流比较电路与电压1.2V进行比较。FIG. 10 is an example diagram of a signal amplifying circuit and an overcurrent comparison circuit in an embodiment of the present application. There are two signal amplifying circuits in Fig. 10, and the input voltages of the two signal amplifying circuits are both V0. After the input voltage V0 is amplified by the signal amplifying circuit, the output voltages are respectively V1=(R10/R18)*V0, V2=(R20/R28)*V0. The amplification factor of the signal amplification circuit can be realized by setting the values of R10, R18, R20, and R28, and the embodiment of the present application does not limit the amplification factor of the signal amplification circuit. Among them, the regulated power supply V33 is divided by R22, R23 and R24 to stabilize the output voltage of 1.2V, then the output voltage V2 is compared with the voltage of 1.2V through the second overcurrent comparison circuit.
当输出电压V2小于1.2V时,第二过流比较电路输出高电平,PORT_EN_PSE2=3.3V,使得PSE2供电。Vref1=V33=PORT_EN_PSE2=3.3V。此时在第一过流比较电路中,V1恒小于Vref1,第一过流比较电路输出高电平,使得PSE1供电。When the output voltage V2 is less than 1.2V, the second overcurrent comparison circuit outputs a high level, PORT_EN_PSE2=3.3V, so that PSE2 supplies power. Vref1=V33=PORT_EN_PSE2=3.3V. At this time, in the first overcurrent comparison circuit, V1 is always smaller than Vref1, and the first overcurrent comparison circuit outputs a high level, so that the PSE1 is powered.
当输出电压V2大于1.2V时,第二过流比较电路输出低电平,PORT_EN_PSE2=0V,使得PSE2停止供电。如图10下电控制电路的示例中,电阻R26=1.2K欧姆,电阻R27=2.1K欧姆,因此Vref1=V33*R26/(R27+R26)=3.3V*1.2k/(2.1k+1.2k)=1.2V。在第一过流比较电路中,输出电压V1与Vref1=1.2V进行电压比较。当输出电压V1小于1.2V时,第一过流比较电路输出高电平,使得PSE1供电。当输出电压V1大于1.2V时,第一过流比较电路输出低电平,使得PSE1停止供电。When the output voltage V2 is greater than 1.2V, the second overcurrent comparison circuit outputs a low level, PORT_EN_PSE2=0V, so that PSE2 stops power supply. In the example of the power-off control circuit in Figure 10, the resistor R26=1.2K ohm, and the resistor R27=2.1K ohm, so Vref1=V33*R26/(R27+R26)=3.3V*1.2k/(2.1k+1.2k )=1.2V. In the first overcurrent comparison circuit, the output voltage V1 is compared with Vref1=1.2V. When the output voltage V1 is less than 1.2V, the first overcurrent comparison circuit outputs a high level, so that the PSE1 supplies power. When the output voltage V1 is greater than 1.2V, the first overcurrent comparison circuit outputs a low level, so that the PSE1 stops supplying power.
图10所示的电路中还设置有电容C21,电容C21使得当第二过流比较电路的输出PORT_EN_PSE2由3.3V转变为1.2V时,经历电容的充电过程,使得Vref1由3.3V逐渐变为1.2V,而不是瞬间变为1.2V。从而使得PSE2停止供电后延时一段时间,第一过流比较电路将输出电压V1与1.2V电压进行比较。因此能够保证在PSE电源超负载时,PSE2和PSE1能够按顺序停止供电。The circuit shown in Figure 10 is also provided with a capacitor C21. The capacitor C21 enables the charging process of the capacitor when the output PORT_EN_PSE2 of the second overcurrent comparison circuit changes from 3.3V to 1.2V, so that Vref1 gradually changes from 3.3V to 1.2V V instead of instantaneously changing to 1.2V. Therefore, after the PSE2 stops supplying power for a period of time, the first overcurrent comparison circuit compares the output voltage V1 with the 1.2V voltage. Therefore, it can be ensured that when the PSE power supply is overloaded, PSE2 and PSE1 can stop power supply in sequence.
图10所示的电路中还设置有C20,电容C20能够与电容C21配合,使得第二过流比较电路的输出PORT_EN_PSE2由3.3V转变为1.2V时,电容C20进行放电,第二过流比较电路的输出PORT_EN_PSE2逐渐由3.3V转变为1.2V,而不是瞬间由3.3V转变为1.2V。同理,电路中的其他电容也有类似的作用,此处不再赘述。The circuit shown in Figure 10 is also provided with C20, and the capacitor C20 can cooperate with the capacitor C21, so that when the output PORT_EN_PSE2 of the second overcurrent comparison circuit changes from 3.3V to 1.2V, the capacitor C20 discharges, and the second overcurrent comparison circuit discharges The output of PORT_EN_PSE2 gradually changes from 3.3V to 1.2V, instead of instantaneously changing from 3.3V to 1.2V. Similarly, other capacitors in the circuit also have similar functions, which will not be repeated here.
在一种可能的实施例中,第一PSE芯片的输入端和第一PSE芯片的输出端之间耦合有开关电路;第一PSE芯片的控制端与开关电路耦合,用于控制第一PSE芯片的输入端和第一PSE芯片的输出端之间导通和断开。图11为本申请实施例中开关电路的一种示例图。其中,PORT_EN_PSE为第一PSE芯片的控制端,RTN_PSE为PSE芯片的电源端,RTN_PSE_OUT为PSE芯片的输出端。当PORT_EN_PSE为高电平时,芯片Q2导通,使得RTN_PSE能够输出到RTN_PSE_OUT,对应的PD能够受电。当PORT_EN_PSE为低电平时,芯片Q2断开,使得RTN_PSE不能输出到RTN_PSE_OUT,对应的PD停止受电。在实际应用中,开关电路还可以通过其他电子元器件实现开关功能,本申请实施例对此不做限定。In a possible embodiment, a switch circuit is coupled between the input end of the first PSE chip and the output end of the first PSE chip; the control end of the first PSE chip is coupled to the switch circuit for controlling the first PSE chip On and off between the input terminal of the first PSE chip and the output terminal of the first PSE chip. FIG. 11 is an exemplary diagram of a switch circuit in an embodiment of the present application. Wherein, PORT_EN_PSE is the control terminal of the first PSE chip, RTN_PSE is the power terminal of the PSE chip, and RTN_PSE_OUT is the output terminal of the PSE chip. When PORT_EN_PSE is high, the chip Q2 is turned on, so that RTN_PSE can be output to RTN_PSE_OUT, and the corresponding PD can be powered. When PORT_EN_PSE is low, the chip Q2 is disconnected, so that RTN_PSE cannot be output to RTN_PSE_OUT, and the corresponding PD stops receiving power. In practical applications, the switch circuit may also implement the switch function through other electronic components, which is not limited in the embodiment of the present application.
图12为本申请实施例中一种下电控制方法的示例图。该方法应用于如图3、图5、图6、图7、图8或图9的下电控制电路。该方法包括:FIG. 12 is an exemplary diagram of a power-off control method in an embodiment of the present application. The method is applied to the power-off control circuit as shown in FIG. 3 , FIG. 5 , FIG. 6 , FIG. 7 , FIG. 8 or FIG. 9 . The method includes:
1201、通过电流检测电路根据供电设备PSE的电源电流输出第一电压。1201. Output a first voltage according to the power supply current of the power supply equipment PSE through the current detection circuit.
在本申请实施例中,电流检测电路可以获取PSE电源的电流,并将PSE电源的电流转换为第一电压(即电流检测电路的输出电压)。该过程与前述实施例中电流检测电路的描述类似,此处不再赘述。In this embodiment of the present application, the current detection circuit may acquire the current of the PSE power supply, and convert the current of the PSE power supply into the first voltage (ie, the output voltage of the current detection circuit). This process is similar to the description of the current detection circuit in the foregoing embodiment, and will not be repeated here.
1202、通过第二过流比较电路将第一电压与第二电压比较。1202. Compare the first voltage with the second voltage through the second overcurrent comparison circuit.
在本申请实施例中,第二过流比较电路可以是比较器等将两个电压进行比较的电路,其中,第二电压可以是稳压电路输出的电压,例如1.2V。第二过流比较电路进行电压比较与前述实施例中第二过流比较电路的描述类似,此处不再赘述。In this embodiment of the present application, the second overcurrent comparison circuit may be a circuit that compares two voltages, such as a comparator, where the second voltage may be a voltage output by a voltage regulator circuit, for example, 1.2V. The voltage comparison performed by the second overcurrent comparison circuit is similar to the description of the second overcurrent comparison circuit in the foregoing embodiment, and details are not repeated here.
1203、当第一电压小于第二电压时,通过第二过流比较电路输出高电平,控制第二PSE芯片供电。1203. When the first voltage is lower than the second voltage, output a high level through the second overcurrent comparison circuit to control the power supply of the second PSE chip.
在本申请实施例中,当第一电压小于第二电压时,第二过流比较电路输出高电平。高电平可以是大于或等于1的电压,例如1V、3.3V等,在本申请实施例中一般是3.3V。本申请实施例对高电平的具体电压不做限定。In the embodiment of the present application, when the first voltage is lower than the second voltage, the second overcurrent comparison circuit outputs a high level. The high level may be a voltage greater than or equal to 1, such as 1V, 3.3V, etc., and is generally 3.3V in this embodiment of the present application. This embodiment of the present application does not limit the specific voltage of the high level.
高电平输入第二PSE芯片的控制端(或者是第二PSE芯片的使能端)后,第二PSE芯片可以根据该高电平进行供电。第二PSE芯片一般连接有多个PD,则该第二PSE芯片实际上是给与其连接的多个PD供电。After a high level is input to the control terminal of the second PSE chip (or the enable terminal of the second PSE chip), the second PSE chip can supply power according to the high level. Generally, a plurality of PDs are connected to the second PSE chip, and the second PSE chip actually supplies power to the plurality of PDs connected to it.
步骤1203的其他情况与前述实施例中第二过流比较电路和第二PSE芯片相关的描述类似,此处不再赘述。Other situations in
1204、当第一电压大于第二电压时,通过第二过流比较电路输出低电平,控制第二PSE芯片停止供电。1204. When the first voltage is greater than the second voltage, output a low level through the second overcurrent comparison circuit, and control the second PSE chip to stop supplying power.
在本申请实施例中,当第一电压大于第二电压时,第二过流比较电路输出低电平。低电平一般是0V,本申请实施例对此不做限定。In this embodiment of the present application, when the first voltage is greater than the second voltage, the second overcurrent comparison circuit outputs a low level. The low level is generally 0V, which is not limited in this embodiment of the present application.
低电平输入第二PSE芯片的控制端(或者是第二PSE芯片的使能端)后,第二PSE芯片可以根据该低电平停止供电,即停止对与其连接的多个PD供电。After a low level is input to the control terminal of the second PSE chip (or the enable terminal of the second PSE chip), the second PSE chip can stop power supply according to the low level, that is, stop supplying power to multiple PDs connected to it.
步骤1204的其他情况与前述实施例中第二过流比较电路和第二PSE芯片相关的描述类似,此处不再赘述。Other situations in
1205、通过电压控制电路根据第二过流比较电路输出的低电平生成第三电压。1205. Generate a third voltage according to the low level output by the second overcurrent comparison circuit through the voltage control circuit.
在本申请实施例中,当第一电压大于第二电压时,第二过流比较电路输出低电平,则可以执行步骤1205,通过电压控制电路根据第二过流比较电路输出的低电平生成第三电压。In this embodiment of the present application, when the first voltage is greater than the second voltage, and the second overcurrent comparison circuit outputs a low level,
在一种可能的实施例中,电压控制电路可以是一种调压电路,提供电源以及电阻等,将第二过流比较电路输出的低电平提高到合适的电压,作为第三电压。例如,电压控制电路可以将第二过流比较电路输出的0V电压提高到1.2V。电压控制电路具体可以参阅前述实施例中的描述,此处不再赘述。In a possible embodiment, the voltage control circuit may be a voltage regulation circuit, which provides a power supply and a resistor, etc., and increases the low level output by the second overcurrent comparison circuit to a suitable voltage as the third voltage. For example, the voltage control circuit can increase the 0V voltage output by the second overcurrent comparison circuit to 1.2V. For details of the voltage control circuit, reference may be made to the descriptions in the foregoing embodiments, which will not be repeated here.
1206、通过第一过流比较电路将第一电压与第三电压比较。1206. Compare the first voltage with the third voltage through the first overcurrent comparison circuit.
在本申请实施例中,第一电压和第三电压可以输入到第一过流比较电路。第一过流比较电路可以是一种比较器,将第一电压和第三电压进行比较,若第一电压小于第三电压则第一过流比较电路输出高电平,若第一电压大于第三电压则第一过流比较电路输出低电平。第一过流比较电路具体可以参阅前述实施例中的描述,此处不再赘述。In this embodiment of the present application, the first voltage and the third voltage may be input to the first overcurrent comparison circuit. The first overcurrent comparison circuit may be a comparator, which compares the first voltage with the third voltage. If the first voltage is less than the third voltage, the first overcurrent comparison circuit outputs a high level. If the first voltage is greater than the third voltage, the first overcurrent comparison circuit outputs a high level. With three voltages, the first overcurrent comparison circuit outputs a low level. For details of the first overcurrent comparison circuit, reference may be made to the descriptions in the foregoing embodiments, which will not be repeated here.
1207、当第一电压小于第三电压时,通过第一过流比较电路输出高电平,控制第一PSE芯片供电。1207. When the first voltage is lower than the third voltage, output a high level through the first overcurrent comparison circuit to control the power supply of the first PSE chip.
在本申请实施例中,当第一电压小于第三电压时,第一过流比较电路输出高电平。高电平输入第一PSE芯片的控制端或使能端,使得第一PSE芯片对与其连接的多个PD供电。具体可参照前述实施例中第一过流比较电路和第一PSE芯片的描述,本申请实施例对此不再赘述。In this embodiment of the present application, when the first voltage is lower than the third voltage, the first overcurrent comparison circuit outputs a high level. A high level is input to the control terminal or enable terminal of the first PSE chip, so that the first PSE chip supplies power to multiple PDs connected to it. For details, reference may be made to the descriptions of the first overcurrent comparison circuit and the first PSE chip in the foregoing embodiments, which are not repeated in this embodiment of the present application.
1208、当第一电压大于第三电压时,通过第一过流比较电路输出低电平,控制第一PSE芯片停止供电。1208. When the first voltage is greater than the third voltage, output a low level through the first overcurrent comparison circuit, and control the first PSE chip to stop supplying power.
在本申请实施例中,当第一电压大于第三电压时,第一过流比较电路输出低电平。低电平输入第一PSE芯片的控制端或使能端,使得第一PSE芯片对与其连接的多个PD停止供电。具体可参照前述实施例中第一过流比较电路和第一PSE芯片的描述,本申请实施例对此不再赘述。In this embodiment of the present application, when the first voltage is greater than the third voltage, the first overcurrent comparison circuit outputs a low level. A low level is input to the control terminal or enable terminal of the first PSE chip, so that the first PSE chip stops supplying power to a plurality of PDs connected to it. For details, reference may be made to the descriptions of the first overcurrent comparison circuit and the first PSE chip in the foregoing embodiments, which are not repeated in this embodiment of the present application.
在本申请实施例中,下电控制电路先通过所述第二过流比较电路将所述第一电压与第二电压比较。当所述第一电压大于所述第二电压时,下电控制电路可以通过所述第一过流比较电路将所述第一电压与所述第三电压比较。因此,在第二过流比较电路使得第二PSE芯片停止供电之后,下电控制电路在判断第一PSE芯片是否需要停止供电,可以实现在PSE电源超负载时,先对其中一部分PD下电,再对另一部分PD下电,减少PD下电带来的负面影响。In the embodiment of the present application, the power-down control circuit first compares the first voltage with the second voltage through the second overcurrent comparison circuit. When the first voltage is greater than the second voltage, the power-down control circuit may compare the first voltage with the third voltage through the first overcurrent comparison circuit. Therefore, after the second overcurrent comparison circuit stops the power supply of the second PSE chip, the power-off control circuit determines whether the power supply of the first PSE chip needs to be stopped, so that when the PSE power supply is overloaded, a part of PDs can be powered off first. Power off another part of the PD to reduce the negative impact caused by the power off of the PD.
在一种可能的实施例中,该方法还可以包括:通过第一电容延迟第一时间。对应地,在下电控制电路中,可以在合适位置设置第一电容,如图5对应的电容C1,来延迟一段时间。该第一时间可以与第一电容的参数相关,本申请实施例对此不做限定。In a possible embodiment, the method may further include: delaying the first time by the first capacitor. Correspondingly, in the power-off control circuit, the first capacitor, such as the capacitor C1 corresponding to FIG. 5 , can be set at an appropriate position to delay for a period of time. The first time may be related to a parameter of the first capacitor, which is not limited in this embodiment of the present application.
在一种可能的实施例中,该方法还可以包括:通过接地电容延迟第二时间。对应地,在下电控制电路中,在第一过流比较电路或第二过流比较电路的输出端可以增加接地电容,如图10对应的电容C20、电容C10,以延迟第二时间。第二时间的长短可以与接地电容的参数相关,本申请实施例对此不做限定。In a possible embodiment, the method may further include: delaying the second time by a grounding capacitor. Correspondingly, in the power-off control circuit, a ground capacitor, such as capacitor C20 and capacitor C10 corresponding to FIG. 10 , can be added to the output end of the first overcurrent comparison circuit or the second overcurrent comparison circuit to delay the second time. The length of the second time may be related to the parameter of the ground capacitance, which is not limited in this embodiment of the present application.
在一种可能的实施例中,该方法还可以包括通过信号放大电路放大第一电压。对应地,在下电控制电路中,在电流检测电路与第一过流比较电路,或电流检测电路与第二过流比较电路之间可以设置信号放大电路,如图7、图8或图9所示,以放大第一电压。本申请实施例对信号放大电路的放大倍数不做限定。In a possible embodiment, the method may further include amplifying the first voltage through a signal amplifying circuit. Correspondingly, in the power-off control circuit, a signal amplification circuit can be set between the current detection circuit and the first overcurrent comparison circuit, or between the current detection circuit and the second overcurrent comparison circuit, as shown in FIG. 7 , FIG. 8 or FIG. 9 . shown to amplify the first voltage. The embodiment of the present application does not limit the amplification factor of the signal amplification circuit.
在一种可能的实施例中,该方法还可以包括通过稳压电路输出第二电压。对应地,在下电控制电路中,第二过流比较电路的输入端Vref2可以连接稳压电路,该稳压电路输出第二电压,例如输出1.2V电压。本申请实施例对此不做限制。In a possible embodiment, the method may further include outputting the second voltage through a voltage regulator circuit. Correspondingly, in the power-down control circuit, the input terminal Vref2 of the second overcurrent comparison circuit may be connected to a voltage stabilizing circuit, and the voltage stabilizing circuit outputs a second voltage, for example, a voltage of 1.2V. This embodiment of the present application does not limit this.
在一种可能的实施例中,该方法还可以包括通过开关电路根据第一过流比较电路输出的高电平控制第一PSE芯片供电,通过开关电路根据第一过流比较电路输出的低电平控制第一PSE芯片停止供电。开关电路与前述图11对应的实施例类似,此处不再赘述。In a possible embodiment, the method may further include controlling the power supply of the first PSE chip according to the high level output by the first overcurrent comparison circuit through the switch circuit, and using the switch circuit according to the low level outputted by the first overcurrent comparison circuit Ping controls the first PSE chip to stop power supply. The switch circuit is similar to the embodiment corresponding to the aforementioned FIG. 11 , and details are not repeated here.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911387123.4A CN113037508B (en) | 2019-12-24 | 2019-12-24 | A power-off control circuit and a power-off control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911387123.4A CN113037508B (en) | 2019-12-24 | 2019-12-24 | A power-off control circuit and a power-off control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113037508A CN113037508A (en) | 2021-06-25 |
CN113037508B true CN113037508B (en) | 2022-10-25 |
Family
ID=76458529
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911387123.4A Active CN113037508B (en) | 2019-12-24 | 2019-12-24 | A power-off control circuit and a power-off control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113037508B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113572621B (en) * | 2021-07-08 | 2024-01-30 | 浙江大华技术股份有限公司 | POE power supply system and POE power supply method |
CN115801478B (en) * | 2022-11-17 | 2025-06-06 | 浙江大华技术股份有限公司 | A POE controller, switch and power supply method |
CN117135001B (en) * | 2023-10-26 | 2024-02-06 | 茂睿芯(深圳)科技有限公司 | Method, system and readable storage medium for controlling power maintaining feature |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006287399A (en) * | 2005-03-31 | 2006-10-19 | Nec Corp | Overcurrent protective circuit |
CN104978287A (en) * | 2014-04-14 | 2015-10-14 | 华为技术有限公司 | PSE chip, PSE, PoE system and PoE method |
CN110572044A (en) * | 2019-10-11 | 2019-12-13 | 珠海格力电器股份有限公司 | A power control circuit and electrical equipment |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3101998B2 (en) * | 1997-06-26 | 2000-10-23 | 富士電機株式会社 | Overcurrent detection circuit |
JP3537317B2 (en) * | 1998-07-02 | 2004-06-14 | 松下電器産業株式会社 | Overcurrent protection control device |
US8074084B2 (en) * | 2004-11-03 | 2011-12-06 | Cisco Technology, Inc. | Powered device classification in a wired data telecommunications network |
CN101820348A (en) * | 2010-03-09 | 2010-09-01 | 武汉烽火网络有限责任公司 | Method and device for carrying out overload protection on equipment in POE system |
TW201108548A (en) * | 2010-07-15 | 2011-03-01 | Ke Jun Yan | Power supply control module device |
CN103715750B (en) * | 2012-10-08 | 2017-02-08 | 中兴通讯股份有限公司 | Power-off circuit, direct-current combination power supply system and power-off control method |
CN103368750B (en) * | 2013-06-24 | 2016-08-10 | 华为技术有限公司 | A kind of power supply sequence circuit and method of supplying power to |
CN105323076A (en) * | 2014-06-27 | 2016-02-10 | 中兴通讯股份有限公司 | Method for supplying power to power device (PD) through PSE (power supply equipment), and Ethernet PSE |
-
2019
- 2019-12-24 CN CN201911387123.4A patent/CN113037508B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006287399A (en) * | 2005-03-31 | 2006-10-19 | Nec Corp | Overcurrent protective circuit |
CN104978287A (en) * | 2014-04-14 | 2015-10-14 | 华为技术有限公司 | PSE chip, PSE, PoE system and PoE method |
CN110572044A (en) * | 2019-10-11 | 2019-12-13 | 珠海格力电器股份有限公司 | A power control circuit and electrical equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113037508A (en) | 2021-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4876078B2 (en) | Adjusting the current limit threshold based on the power requirements of the receiving device in a system for providing power over a communication link | |
KR101559885B1 (en) | Power over ethernet on data pairs and spare pairs | |
CN103107893B (en) | The common-mode data transmission of Power over Ethernet system | |
CN101156355B (en) | Detecting legacy powered devices in a power over ethernet system | |
JP5231811B2 (en) | Power supply side device with auto-zero circuit for determining and controlling output current | |
CN113037508B (en) | A power-off control circuit and a power-off control method | |
JP4850848B2 (en) | Adjusting the current limit threshold based on the output voltage of a power supply in a system for powering over a communication link | |
CN104135375B (en) | Combination of high-side and low-side current sensing in a system powered over a communication link | |
CN101860443B (en) | POE load detecting method and power supply terminal equipment | |
US8726058B2 (en) | Power supply system, powered device, and power reception method | |
EP2008191A2 (en) | Method and apparatus for current sharing ethernet power across four conductor pairs using a midspan device | |
WO2007070234A1 (en) | Power sourcing equipment having bipolar junction transistor for controlling supply and supporting ac disconnect-detection function | |
CN103384199B (en) | A power supply method, converter and Ethernet power supply system | |
CN102801535B (en) | Power over Ethernet transmission system | |
US12267083B2 (en) | Sampling assembly and sampling method | |
CN101529358B (en) | Method for reducing oscillations in system with foldback current limit when inductive load is connected | |
US11119551B2 (en) | Power consumption sensing for power over ethernet (PoE) power sourcing equipment (PSE) system | |
CN106101028B (en) | Ethernet switch and power receiving and supplying circuit thereof | |
CN107196770B (en) | System for supplying power through signal wire | |
TW201304594A (en) | Operating apparatus for a wireless access point | |
CN110830266B (en) | Power switching management method, network device and power switching management module | |
CN116781435A (en) | Power supply device and power supply control method | |
US20070157053A1 (en) | Power-switching circuit with overload protection from a serial bus interface and method of driving the same |
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 |