CN105515787A - Network port and Ethernet device - Google Patents
Network port and Ethernet device Download PDFInfo
- Publication number
- CN105515787A CN105515787A CN201410495843.3A CN201410495843A CN105515787A CN 105515787 A CN105515787 A CN 105515787A CN 201410495843 A CN201410495843 A CN 201410495843A CN 105515787 A CN105515787 A CN 105515787A
- Authority
- CN
- China
- Prior art keywords
- unit
- port
- network port
- power supply
- receiving equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种网络端口,尤其涉及一种将PD(PoweredDevice)与PSE(PowerSouringEquipment)功能整合在一个端口内的以太网装置。The invention relates to a network port, in particular to an Ethernet device which integrates PD (Powered Device) and PSE (Power Souring Equipment) functions in one port.
背景技术Background technique
以太网供电(PoweroverEthernet,PoE)系统包括PD与PSE两部分,其中PD是接受供电的PSE负载,亦即PoE系统的客户端设备。PSE是以太网客户端设备供电的设备,同时也是整个以太网供电过程的管理者。A Power over Ethernet (PoE) system includes two parts, a PD and a PSE, wherein the PD is a PSE load receiving power, that is, a client device of the PoE system. The PSE is the device that supplies power to the Ethernet client equipment, and is also the manager of the entire Ethernet power supply process.
在现有PoE系统中,PD功能与PSE功能是分开的,PSE端口只能提供电力信号,PD端口只能接受电力信号。因此,设计一种网络端口其能将PD与PSE功能整合在一个端口内成为一大研究课题。In the existing PoE system, the PD function is separated from the PSE function. The PSE port can only provide power signals, and the PD port can only receive power signals. Therefore, designing a network port that can integrate PD and PSE functions in one port has become a major research topic.
发明内容Contents of the invention
有鉴于此,需提供一种网络端口,其能将PD与PSE功能整合在一个端口内。In view of this, it is necessary to provide a network port that can integrate PD and PSE functions into one port.
此外,还需提供一种以太网装置,其能将PD与PSE功能整合在一个端口内。In addition, it is necessary to provide an Ethernet device that can integrate PD and PSE functions in one port.
本发明一实施方式提供的一种网络端口,用于通过网络线与外部以太网端口连接。所述网络端口包括连接端口、受电设备单元、供电设备单元、控制单元及切换单元。所述供电设备单元用于从外部电源获取电力信号并输出。所述控制单元用于判断与所述连接端口连接的所述外部以太网端口的类型并输出判断结果信号。所述切换单元电连接于所述连接端口、所述控制单元、所述供电设备单元及所述受电设备单元,用于根据所述控制单元输出的判断结果信号来选择是否接通所述供电设备单元与所述连接端口,以及选择是否接通所述受电设备单元与所述连接端口。A network port provided by an embodiment of the present invention is used for connecting with an external Ethernet port through a network cable. The network port includes a connection port, a power receiving device unit, a power supply device unit, a control unit and a switching unit. The power supply unit is used for obtaining and outputting a power signal from an external power source. The control unit is used for judging the type of the external Ethernet port connected to the connection port and outputting a judging result signal. The switching unit is electrically connected to the connection port, the control unit, the power supply equipment unit, and the power receiving equipment unit, and is used to select whether to turn on the power supply according to the judgment result signal output by the control unit. the equipment unit and the connection port, and select whether to connect the powered equipment unit and the connection port.
优选地,当所述外部以太网端口的类型为受电设备端口时,所述切换单元接通所述供电设备单元与所述连接端口,所述切换单元不接通所述受电设备单元与所述连接端口;当所述外部以太网端口的类型为供电设备端口时,所述切换单元不接通所述供电设备单元与所述连接端口,所述切换单元接通所述受电设备单元与所述连接端口。Preferably, when the type of the external Ethernet port is a power receiving device port, the switching unit connects the power supply device unit and the connection port, and the switching unit does not connect the power receiving device unit and the connecting port. The connection port; when the type of the external Ethernet port is a power supply device port, the switching unit does not connect the power supply device unit and the connection port, and the switching unit connects the power receiving device unit with the connection port.
优选地,所述网络端口还包括供电设备模式及受电设备模式,当所述切换单元接通所述供电设备单元与所述连接端口时,所述供电设备单元还根据所述网络端口的当前模式来选择是否输出所述电力信号至所述外部以太网端口;当所述切换单元接通所述受电设备单元与所述连接端口时,所述受电设备单元还根据所述网络端口的当前模式来选择是否从所述外部以太网端口获取所述电力信号。Preferably, the network port further includes a power supply device mode and a power receiving device mode, and when the switching unit connects the power supply device unit and the connection port, the power supply device unit also Mode to select whether to output the power signal to the external Ethernet port; when the switching unit connects the power receiving device unit and the connection port, the power receiving device unit also according to the network port The current mode is used to select whether to obtain the power signal from the external Ethernet port.
优选地,当所述网络端口处于供电设备模式且所述切换单元接通所述供电设备单元与所述连接端口时,所述供电设备单元输出所述电力信号至所述外部以太网端口,否则所述供电设备单元不输出所述电力信号至所述外部以太网端口。Preferably, when the network port is in the power supply equipment mode and the switching unit connects the power supply equipment unit and the connection port, the power supply equipment unit outputs the power signal to the external Ethernet port, otherwise The power supply unit does not output the power signal to the external Ethernet port.
优选地,当所述网络端口处于受电设备模式且所述切换单元接通所述受电设备单元与所述连接端口时,所述受电设备单元从所述外部以太网端口获取所述电力信号,否则所述受电设备单元不从所述外部以太网端口获取所述电力信号。Preferably, when the network port is in the powered device mode and the switching unit connects the powered device unit and the connection port, the powered device unit obtains the power from the external Ethernet port signal, otherwise the powered device unit does not obtain the power signal from the external Ethernet port.
优选地,所述切换单元包括第一电子开关及第二电子开关。所述第一电子开关包括第一端、第二端及控制端。所述第一端电连接于所述连接端口,所述第二端电连接于所述供电设备单元,所述控制端电连接于所述控制单元。所述第一电子开关用于根据所述控制单元输出的判断结果信号来选择接通所述供电设备单元与所述连接端口。所述第二电子开关包括第一端、第二端及控制端。所述第一端电连接于所述连接端口,所述第二端电连接于所述受电设备单元,所述控制端电连接于所述控制单元。所述第二电子开关用于根据所述控制单元输出的判断结果信号来选择接通所述受电设备单元与所述连接端口。Preferably, the switching unit includes a first electronic switch and a second electronic switch. The first electronic switch includes a first terminal, a second terminal and a control terminal. The first end is electrically connected to the connection port, the second end is electrically connected to the power supply unit, and the control end is electrically connected to the control unit. The first electronic switch is used to selectively connect the power supply unit and the connection port according to the judgment result signal output by the control unit. The second electronic switch includes a first terminal, a second terminal and a control terminal. The first end is electrically connected to the connection port, the second end is electrically connected to the powered device unit, and the control end is electrically connected to the control unit. The second electronic switch is used for selectively connecting the power receiving equipment unit and the connection port according to the judgment result signal output by the control unit.
优选地,所述连接端口包括第一端及第二端。所述控制单元包括侦测单元及控制器。所述侦测单元用于侦测所述第一端及所述第二端的电压。所述控制器用于根据所述第一端及所述第二端的电压来判断与所述连接端口连接的所述外部以太网端口的类型并对应输出判断结果信号。Preferably, the connection port includes a first end and a second end. The control unit includes a detection unit and a controller. The detection unit is used for detecting the voltages of the first end and the second end. The controller is used for judging the type of the external Ethernet port connected to the connection port according to the voltages of the first end and the second end and correspondingly outputting a judgment result signal.
优选地,所述控制器包括第一侦测引脚、第二侦测引脚及第三侦测引脚。所述侦测单元包括第一电阻、第三电子开关及第二电阻。所述第一电阻一端电连接于所述连接端口的第一端及所述控制器的第一侦测引脚。所述第三电子开关包括第一端、第二端及控制端。所述第一端电连接于所述第一电阻的另一端,所述第二端电连接于所述连接端口的第二端及所述控制器的第二侦测引脚。所述第二电阻一端电连接于所述第三电子开关的控制端,另一端电连接于所述控制器的第三侦测引脚。其中,所述控制器用于通过所述第一侦测引脚、第二侦测引脚来分别获取所述连接端口的第一端、第二端的电压。Preferably, the controller includes a first detection pin, a second detection pin and a third detection pin. The detection unit includes a first resistor, a third electronic switch and a second resistor. One end of the first resistor is electrically connected to the first end of the connection port and the first detection pin of the controller. The third electronic switch includes a first terminal, a second terminal and a control terminal. The first end is electrically connected to the other end of the first resistor, and the second end is electrically connected to the second end of the connection port and the second detection pin of the controller. One end of the second resistor is electrically connected to the control end of the third electronic switch, and the other end is electrically connected to the third detection pin of the controller. Wherein, the controller is used to respectively acquire the voltages of the first end and the second end of the connection port through the first detection pin and the second detection pin.
本发明一实施方式提供的一种以太网装置,包括电源单元、多个网络端口及控制单元。所述电源单元用于接收外部电源输出的电力信号,以对所述以太网装置供电。控制单元电连接于所述多个网络端口,用于判断与所述每一网络端口连接的外部以太网端口的类型,以对应输出多个判断结果信号。每一网络端口均包括连接端口、受电设备单元、供电设备单元及切换单元。每一切换单元用于根据所述控制单元输出的判断结果信号来选择是否接通对应网络端口中的供电设备单元与连接端口,以及选择是否接通对应网络端口中的受电设备单元与连接端口。An Ethernet device provided by an embodiment of the present invention includes a power supply unit, multiple network ports and a control unit. The power supply unit is used for receiving a power signal output by an external power supply to supply power to the Ethernet device. The control unit is electrically connected to the plurality of network ports, and is used for judging the type of the external Ethernet port connected to each of the network ports, so as to output a plurality of judging result signals correspondingly. Each network port includes a connection port, a power receiving device unit, a power supply device unit and a switching unit. Each switching unit is used to select whether to connect the power supply unit and the connection port in the corresponding network port according to the judgment result signal output by the control unit, and to select whether to connect the power receiving device unit and the connection port in the corresponding network port .
优选地,每一网络端口还包括供电设备模式及受电设备模式,当所述切换单元接通对应网络端口中的供电设备单元与连接端口时,所述供电设备单元还根据所述网络端口的当前模式来选择是否输出所述电力信号至与其连接的外部以太网端口;当所述切换单元接通对应网络端口中的受电设备单元与连接端口时,所述受电设备单元还根据所述网络端口的当前模式来选择是否从与其连接的外部以太网端口获取所述电力信号。Preferably, each network port also includes a power supply device mode and a power receiving device mode. When the switching unit connects the power supply device unit and the connection port in the corresponding network port, the power supply device unit also according to the network port The current mode is used to select whether to output the power signal to the external Ethernet port connected to it; when the switching unit connects the power receiving device unit and the connection port in the corresponding network port, the power receiving device unit also according to the The current mode of the network port is used to select whether to obtain the power signal from the external Ethernet port connected to it.
优选地,当所述网络端口处于供电设备模式且所述切换单元接通对应网络端口中的供电设备单元与连接端口时,所述供电设备单元输出所述电力信号至与其连接的外部以太网端口,否则所述供电设备单元不输出所述电力信号至与其连接的外部以太网端口。Preferably, when the network port is in the power supply device mode and the switching unit connects the power supply device unit and the connection port in the corresponding network port, the power supply device unit outputs the power signal to the external Ethernet port connected thereto , otherwise the power supply unit does not output the power signal to the external Ethernet port connected thereto.
优选地,当所述网络端口处于受电设备模式且所述切换单元接通对应网络端口中的受电设备单元与连接端口时,所述受电设备单元从与其连接的外部以太网端口获取所述电力信号,否则所述受电设备单元不从与其连接的外部以太网端口获取所述电力信号。Preferably, when the network port is in the power receiving device mode and the switching unit connects the power receiving device unit and the connection port in the corresponding network port, the power receiving device unit obtains the information from the external Ethernet port connected to it Otherwise, the powered device unit does not obtain the power signal from the external Ethernet port connected thereto.
优选地,所述受电设备单元还用于从与其连接的外部以太网端口获取所述电力信号,以在所述电源单元未接收到外部电源输出的电力信号时,对所述以太网装置供电。Preferably, the powered device unit is further configured to obtain the power signal from the external Ethernet port connected thereto, so as to supply power to the Ethernet device when the power supply unit does not receive the power signal output by the external power supply .
优选地,所述多个网络端口包括第一网络端口及第二网络端口,当所述第一网络端口的受电设备单元从与其连接的外部以太网端口获取所述电力信号时,所述第二网络端口的供电设备单元还用于从所述第一网络端口的受电设备单元及所述电源单元获取所述电力信号并输出,以提高所述第二网络端口的供电设备单元的输出功率。Preferably, the plurality of network ports include a first network port and a second network port, and when the powered device unit of the first network port obtains the power signal from an external Ethernet port connected to it, the second network port The power supply unit of the second network port is also used to obtain and output the power signal from the power receiving unit of the first network port and the power supply unit, so as to increase the output power of the power supply unit of the second network port .
优选地,所述多个网络端口包括第一网络端口及第二网络端口,当所述第一网络端口的受电设备单元从与其连接的外部以太网端口获取所述电力信号且所述电源单元未接收到外部电源输出的电力信号时,所述第二网络端口的供电设备单元还用于从所述第一网络端口的受电设备单元获取所述电力信号并输出。Preferably, the plurality of network ports include a first network port and a second network port, when the powered device unit of the first network port obtains the power signal from an external Ethernet port connected to it and the power supply unit When the power signal output by the external power supply is not received, the power supply unit of the second network port is further configured to obtain and output the power signal from the power receiving device unit of the first network port.
上述网络端口及以太网装置将PD与PSE功能整合在一个端口内,并根据与其连接的PSE装置或PD装置来自动切换到对应的PSE模式或PD模式,同时也避免与不匹配的以太网端口连接时对网络端口或以太网装置造成损害。The above-mentioned network ports and Ethernet devices integrate PD and PSE functions into one port, and automatically switch to the corresponding PSE mode or PD mode according to the PSE device or PD device connected to it, and also avoid mismatching Ethernet ports. Damage to network ports or Ethernet devices while connected.
附图说明Description of drawings
图1为本发明一实施方式中网络端口的模块图。FIG. 1 is a block diagram of a network port in an embodiment of the present invention.
图2为本发明另一实施方式中网络端口的模块图。FIG. 2 is a block diagram of a network port in another embodiment of the present invention.
图3为本发明一实施方式中网络端口的电路图。FIG. 3 is a circuit diagram of a network port in an embodiment of the present invention.
图4为本发明另一实施方式中网络端口的电路图。FIG. 4 is a circuit diagram of a network port in another embodiment of the present invention.
图5为本发明一实施方式中以太网装置的模块图。FIG. 5 is a block diagram of an Ethernet device in an embodiment of the present invention.
主要元件符号说明Explanation of main component symbols
以太网装置100Ethernet device 100
网络端口10、10a、10bNetwork port 10, 10a, 10b
网络线20Network cable 20
外部以太网端口30、30a、30bExternal Ethernet ports 30, 30a, 30b
外部电源40External power supply 40
连接端口102Connect port 102
受电设备单元104Power receiving device unit 104
供电设备单元106power supply unit 106
控制单元108control unit 108
侦测单元1082Detection unit 1082
控制器1084Controller 1084
切换单元110switching unit 110
电源单元112Power supply unit 112
第一至第三电子开关Q1、Q2、Q3First to third electronic switches Q1, Q2, Q3
第一至第二电阻R1、R2First to second resistors R1, R2
负载电阻RpdLoad resistance Rpd
第一至第二端A1、A2First to second end A1, A2
第一至第三侦测引脚d1、d2、d3The first to third detection pins d1, d2, d3
如下具体实施方式将结合上述附图进一步说明本发明。The following specific embodiments will further illustrate the present invention in conjunction with the above-mentioned drawings.
具体实施方式detailed description
图1为本发明网络端口10一实施方式的模块图。在本实施方式中,网络端口10通过网络线20与外部以太网端口30连接。外部以太网端口30可以是供电设备(PowerSouringEquipment,PSE)端口,也可以是受电设备(PoweredDevice,PD)端口。网络端口10包括PSE模式及PD模式,当网络端口10为PSE模式时,网络端口10可以输出电力信号,以对与其电连接的PD端口供电;当网络端口10为PD模式时,网络端口10用于接收电力信号。在本实施方式中,网络线20可以是RJ45双绞线。FIG. 1 is a block diagram of an embodiment of a network port 10 of the present invention. In this embodiment, the network port 10 is connected to the external Ethernet port 30 through the network cable 20 . The external Ethernet port 30 may be a power supply equipment (Power Souring Equipment, PSE) port, or a powered device (Powered Device, PD) port. The network port 10 includes a PSE mode and a PD mode. When the network port 10 is in the PSE mode, the network port 10 can output power signals to supply power to the PD port electrically connected to it; when the network port 10 is in the PD mode, the network port 10 can use for receiving power signals. In this embodiment, the network cable 20 may be an RJ45 twisted pair.
在本实施方式中,网络端口10包括连接端口102、PD单元104、PSE单元106、控制单元108及切换单元110。网络线20一端连接于连接端口102,另一端连接于外部以太网端口30。当网络端口10为PSE模式时,网络端口10通过PSE单元106来从外部电源40获取电力信号并输出至与其电连接的PD端口,当网络端口10为PD模式时,网络端口10通过PD单元104来接收电力信号。控制单元108电连接于连接端口102,控制单元108判断与连接端口102当前连接的外部以太网端口30的类型并对应输出判断结果信号。切换单元110电连接于连接端口102、PD单元104、PSE单元106及控制单元108,切换单元110根据控制单元108输出的判断结果信号来选择接通PD单元104与连接端口102,或选择接通PSE单元106与连接端口102。网络端口10通过切换单元110来实现根据外部以太网端口30的类型选择合适之模式与外部以太网端口30匹配。In this embodiment, the network port 10 includes a connection port 102 , a PD unit 104 , a PSE unit 106 , a control unit 108 and a switch unit 110 . One end of the network cable 20 is connected to the connection port 102 , and the other end is connected to the external Ethernet port 30 . When the network port 10 is in the PSE mode, the network port 10 obtains the power signal from the external power supply 40 through the PSE unit 106 and outputs it to the PD port electrically connected to it. When the network port 10 is in the PD mode, the network port 10 passes through the PD unit 104 to receive power signals. The control unit 108 is electrically connected to the connection port 102 , and the control unit 108 judges the type of the external Ethernet port 30 currently connected to the connection port 102 and outputs a corresponding judgment result signal. The switch unit 110 is electrically connected to the connection port 102, the PD unit 104, the PSE unit 106, and the control unit 108. The switch unit 110 selects to connect the PD unit 104 and the connection port 102 according to the judgment result signal output by the control unit 108, or selects to connect to the connection port 102. The PSE unit 106 is connected to the port 102 . The network port 10 uses the switching unit 110 to select a suitable mode to match with the external Ethernet port 30 according to the type of the external Ethernet port 30 .
作为对本发明的进一步改进,当切换单元110接通PSE单元106与连接端口102时,PSE单元106还可根据网络端口10的当前模式来选择是否输出电力信号至外部以太网端口30;当切换单元110接通PD单元104与连接端口102时,PD单元104还可根据网络端口10的当前模式来选择是否从外部以太网端口30获取电力信号。当切换单元110接通PSE单元106与连接端口102时且网络端口10为PSE模式时,PSE单元106输出电力信号至外部以太网端口30。当切换单元110接通PD单元104与连接端口102时且网络端口10为PD模式时,PD单元104从外部以太网端口30获取电力信号。As a further improvement to the present invention, when the switching unit 110 connects the PSE unit 106 and the connection port 102, the PSE unit 106 can also select whether to output the power signal to the external Ethernet port 30 according to the current mode of the network port 10; when the switching unit When 110 connects the PD unit 104 and the connection port 102 , the PD unit 104 can also choose whether to obtain the power signal from the external Ethernet port 30 according to the current mode of the network port 10 . When the switch unit 110 connects the PSE unit 106 to the connection port 102 and the network port 10 is in the PSE mode, the PSE unit 106 outputs a power signal to the external Ethernet port 30 . When the switch unit 110 connects the PD unit 104 to the connection port 102 and the network port 10 is in the PD mode, the PD unit 104 obtains a power signal from the external Ethernet port 30 .
在本发明一实施方式中,控制单元108可以通过读取网络端口10内的PSE使能引脚、PD使能引脚的信息来判断网络端口10是否切换至PSE模式或PD模式,进而来对应输出第一控制信号或第二控制信号。当切换单元110接通PSE单元106与连接端口102时,PSE单元106在接收到控制单元108输出的第一控制信号时,PSE单元106输出电力信号至外部以太网端口30。当切换单元110接通PD单元104与连接端口102时,PD单元104在接收到控制单元108输出的第二控制信号时,PD单元104从外部以太网端口30获取电力信号。In one embodiment of the present invention, the control unit 108 can judge whether the network port 10 is switched to the PSE mode or the PD mode by reading the information of the PSE enable pin and the PD enable pin in the network port 10, and then to correspond Outputting the first control signal or the second control signal. When the switch unit 110 connects the PSE unit 106 and the connection port 102 , the PSE unit 106 outputs a power signal to the external Ethernet port 30 when the PSE unit 106 receives the first control signal output by the control unit 108 . When the switching unit 110 connects the PD unit 104 and the connection port 102 , and the PD unit 104 receives the second control signal output by the control unit 108 , the PD unit 104 obtains the power signal from the external Ethernet port 30 .
网络端口10通过控制单元108、切换单元110来实现当判断外部以太网端口30为PD端口时,可以通过用户来设置使得网络端口10处于PSE模式,进而通过PSE单元106来对外部以太网端口30供电;当网络端口10判断外部以太网端口30为PSE端口时,可以通过用户来设置使得网络端口10处于PD模式,进而通过PD单元104来从外部以太网端口30获取电力信号。同时,由于在本实施方式中,控制单元108通过判断外部以太网端口30的类型再控制切换单元110进行路径切换,可以实现对网络端口10进行保护,以避免不匹配的以太网端口对网络端口10造成损害。The network port 10 is realized by the control unit 108 and the switching unit 110. When it is judged that the external Ethernet port 30 is a PD port, it can be set by the user so that the network port 10 is in the PSE mode, and then the external Ethernet port 30 is connected to the external Ethernet port 30 through the PSE unit 106. Power supply; when the network port 10 determines that the external Ethernet port 30 is a PSE port, the user can set the network port 10 to be in PD mode, and then obtain the power signal from the external Ethernet port 30 through the PD unit 104 . At the same time, because in this embodiment, the control unit 108 controls the switching unit 110 to perform path switching by judging the type of the external Ethernet port 30, it can realize the protection of the network port 10, so as to avoid the mismatch between the Ethernet port and the network port. 10 causing damage.
图2为本发明网络端口10另一实施方式的模块图。在本实施方式中,连接端口102包括第一端A1及第二端A2。控制单元108包括侦测单元1082及控制器1084。侦测单元1082电连接于连接端口102的第一端A1及第二端A2,侦测单元1082侦测连接端口102的第一端A1及第二端A2的电压并将侦测到的电压值发送给控制器1084。控制器1084根据第一端A1及第二端A2的电压来输出判断结果信号。切换单元110包括第一电子开关Q1及第二电子开关Q2。第一电子开关Q1包括第一端、第二端及控制端。第一电子开关Q1的第一端电连接于连接端口102的第一端A1,第一电子开关Q1的第二端电连接于PD单元104的一端,第一电子开关Q1的控制端电连接于控制器1084,PD单元104的另一端电连接于连接端口102的第二端A2。控制器1084输出判断结果信号来控制第一电子开关Q1的导通与断开,以选择接通PD单元104与连接端口102。第二电子开关Q2包括第一端、第二端及控制端。第二电子开关Q2的第一端电连接于连接端口102第一端A1,第二电子开关Q2的第二端电连接于PSE单元106的一端,第二电子开关Q2的控制端电连接于控制器1084,PSE单元106的另一端电连接于连接端口102的第二端A2。控制器1084输出判断结果信号来控制第二电子开关Q2的导通与断开,以选择接通PSE单元106与连接端口102。FIG. 2 is a block diagram of another embodiment of the network port 10 of the present invention. In this embodiment, the connection port 102 includes a first end A1 and a second end A2. The control unit 108 includes a detection unit 1082 and a controller 1084 . The detection unit 1082 is electrically connected to the first end A1 and the second end A2 of the connection port 102, the detection unit 1082 detects the voltage of the first end A1 and the second end A2 of the connection port 102 and the detected voltage value Sent to controller 1084. The controller 1084 outputs a judgment result signal according to the voltages of the first terminal A1 and the second terminal A2. The switching unit 110 includes a first electronic switch Q1 and a second electronic switch Q2. The first electronic switch Q1 includes a first terminal, a second terminal and a control terminal. The first end of the first electronic switch Q1 is electrically connected to the first end A1 of the connection port 102, the second end of the first electronic switch Q1 is electrically connected to one end of the PD unit 104, and the control end of the first electronic switch Q1 is electrically connected to The controller 1084 is electrically connected to the second end A2 of the connection port 102 with the other end of the PD unit 104 . The controller 1084 outputs a judgment result signal to control the on and off of the first electronic switch Q1 to selectively connect the PD unit 104 and the connection port 102 . The second electronic switch Q2 includes a first terminal, a second terminal and a control terminal. The first end of the second electronic switch Q2 is electrically connected to the first end A1 of the connection port 102, the second end of the second electronic switch Q2 is electrically connected to one end of the PSE unit 106, and the control end of the second electronic switch Q2 is electrically connected to the control The other end of the PSE unit 106 is electrically connected to the second end A2 of the connection port 102 . The controller 1084 outputs a judgment result signal to control the turn-on and turn-off of the second electronic switch Q2 to selectively turn on the PSE unit 106 and the connection port 102 .
图3为本发明网络端口10一实施方式的电路图。在本实施方式中,外部以太网端口30a为PD端口。控制器1084包括第一侦测引脚d1、第二侦测引脚d2及第三侦测引脚d3。侦测单元1082包括第一电阻R1、第二电阻R2及第三电子开关Q3。第一电阻R1的一端电连接于连接端口102的第二端A2及控制器1084的第一侦测引脚d1。第三电子开关Q3包括第一端、第二端及控制端。第三电子开关Q3的第一端电连接于第一电阻R1的另一端,第三电子开关Q3的的第二端电连接于连接端口102的第一端A1及控制器1084的第二侦测引脚d2,第三电子开关Q3的的控制端电连接于第二电阻R2的一端,第二电阻R2的另一端电连接于控制器1084的第三侦测引脚d3。FIG. 3 is a circuit diagram of an embodiment of the network port 10 of the present invention. In this embodiment, the external Ethernet port 30a is a PD port. The controller 1084 includes a first detection pin d1 , a second detection pin d2 and a third detection pin d3 . The detection unit 1082 includes a first resistor R1, a second resistor R2 and a third electronic switch Q3. One end of the first resistor R1 is electrically connected to the second end A2 of the connection port 102 and the first detection pin d1 of the controller 1084 . The third electronic switch Q3 includes a first terminal, a second terminal and a control terminal. The first end of the third electronic switch Q3 is electrically connected to the other end of the first resistor R1, and the second end of the third electronic switch Q3 is electrically connected to the first end A1 of the connection port 102 and the second detection of the controller 1084. The pin d2 and the control terminal of the third electronic switch Q3 are electrically connected to one end of the second resistor R2 , and the other end of the second resistor R2 is electrically connected to the third detection pin d3 of the controller 1084 .
在本实施方式中,由于外部以太网端口30a是以PD端口为例。故外部以太网端口30a可以等效成一负载电阻Rpd。当网络端口10处于侦测模式时,第三电子开关Q3闭合,第一电子开关Q1及第二电子开关Q2断开,此时控制器1084设置第一侦测引脚d1的电压为Vd1=a,第三侦测引脚d3的电压为Vd3=0,则第二侦测引脚d2的电压Vd2可以通过以下公式计算得出:In this embodiment, since the external Ethernet port 30a is a PD port as an example. Therefore, the external Ethernet port 30a can be equivalent to a load resistor Rpd. When the network port 10 is in the detection mode, the third electronic switch Q3 is closed, the first electronic switch Q1 and the second electronic switch Q2 are open, and the controller 1084 sets the voltage of the first detection pin d1 as Vd1=a , the voltage of the third detection pin d3 is Vd3=0, then the voltage Vd2 of the second detection pin d2 can be calculated by the following formula:
Vd2=a*R2/[R2+(R1+Rpd)/R1*Rpd]Vd2=a*R2/[R2+(R1+Rpd)/R1*Rpd]
亦即,当控制器1084判断第二侦测引脚d2的电压Vd2满足上述公式时,即可识别出外部以太网端口30a是PD端口。控制器1084再控制第二电子开关Q2闭合,第一电子开关Q1及第三电子开关Q3断开,从而使得PSE单元106与连接端口102导通,当网络端口10处于PSE模式时,PSE单元106即可输出电力信号至外部以太网端口30a。同理可知,当网络端口10未与外部以太网端口30连接时,第二侦测引脚d2的电压Vd2可以通过以下公式计算得出:That is, when the controller 1084 judges that the voltage Vd2 of the second detection pin d2 satisfies the above formula, it can identify that the external Ethernet port 30a is a PD port. The controller 1084 then controls the second electronic switch Q2 to be closed, and the first electronic switch Q1 and the third electronic switch Q3 to be opened, so that the PSE unit 106 is connected to the connection port 102. When the network port 10 is in the PSE mode, the PSE unit 106 That is, the power signal can be output to the external Ethernet port 30a. Similarly, when the network port 10 is not connected to the external Ethernet port 30, the voltage Vd2 of the second detection pin d2 can be calculated by the following formula:
Vd2=a*R2/(R1+R2)Vd2=a*R2/(R1+R2)
亦即,当控制器1084判断第二侦测引脚d2的电压Vd2满足上述公式时,即可识别出网络端口10未与外部以太网端口30连接。That is, when the controller 1084 determines that the voltage Vd2 of the second detection pin d2 satisfies the above formula, it can identify that the network port 10 is not connected to the external Ethernet port 30 .
在本发明一实施方式中,若与网络端口10连接的外部以太网端口30b是PSE端口,如图4所示,则外部以太网端口30b可以等效成一电源V1。当网络端口10处于侦测模式时,第三电子开关Q3闭合,第一电子开关Q1及第二电子开关Q2断开,控制器1084监测第一侦测引脚d1的电压,若控制器1084判断第一侦测引脚d1存在电压且该电压值在逐渐增大直至一预设值后稳定,则可识别出外部以太网端口30a是PSE端口。控制器1084再控制第一电子开关Q1闭合,第二电子开关Q2及第三电子开关Q3断开,从而使得PD单元104与连接端口102导通,当网络端口10处于PD模式时,PD单元104即可从外部以太网端口30a获取电力信号。在本实施方式中,当控制器1084判断第一侦测引脚d1的电压2.8V<Vd1≤10V且在1s内电压增幅大于1V,则判断外部以太网端口30a为PSE端口。In one embodiment of the present invention, if the external Ethernet port 30b connected to the network port 10 is a PSE port, as shown in FIG. 4 , the external Ethernet port 30b can be equivalent to a power supply V1. When the network port 10 is in the detection mode, the third electronic switch Q3 is closed, the first electronic switch Q1 and the second electronic switch Q2 are open, the controller 1084 monitors the voltage of the first detection pin d1, if the controller 1084 judges If there is a voltage on the first detection pin d1 and the voltage value gradually increases until reaching a preset value, then the external Ethernet port 30a can be identified as a PSE port. The controller 1084 then controls the first electronic switch Q1 to be closed, and the second electronic switch Q2 and the third electronic switch Q3 to be opened, so that the PD unit 104 is connected to the connection port 102. When the network port 10 is in the PD mode, the PD unit 104 That is, the power signal can be obtained from the external Ethernet port 30a. In this embodiment, when the controller 1084 judges that the voltage of the first detection pin d1 is 2.8V<Vd1≦10V and the voltage increase is greater than 1V within 1s, it judges that the external Ethernet port 30a is a PSE port.
在本实施方式中,PD单元104及PSE单元106可以为现有以太网供电技术中实现PD功能及PSE功能的模组,故此不再详述。控制器1084可以是现场可编程门阵列(FPGA)、可编程逻辑器件(PLD)、微控制单元(MCU)、数字信号处理器(DSP)、中央处理器(CPU)等可以进行信号处理的芯片。第一电子开关Q1、第二电子开关Q2及第三电子开关Q3可以是电子开关管,或其他能根据控制信号实现开关功能的模组。In this embodiment, the PD unit 104 and the PSE unit 106 may be modules that implement the PD function and the PSE function in the existing Power over Ethernet technology, so details will not be described here. The controller 1084 can be a field programmable gate array (FPGA), a programmable logic device (PLD), a micro control unit (MCU), a digital signal processor (DSP), a central processing unit (CPU) and the like that can perform signal processing chips . The first electronic switch Q1 , the second electronic switch Q2 and the third electronic switch Q3 may be electronic switch tubes, or other modules capable of realizing switching functions according to control signals.
图5为本发明以太网装置100一实施方式的原理图。在本实施方式中,以太网装置100包括多个网络端口10a、10b(在本实施方式中,仅以二个为例,但是不以二个为限,可以包含少于或多于网络端口)及电源单元112。电源单元112从外部电源40获取电力信号以对以太网装置100供电。在本实施方式中,每一网络端口10a、10b与图1所示的网络端口10基本相同,不同之处仅在于,多个网络端口10a、10b共用一个控制单元108。控制单元108判断与每一网络端口10a、10b连接的外部以太网端口30的类型,以对应输出多个判断结果信号。每一网络端口10a、10b中的切换单元110根据接收到的判断结果信号来进行选择切换。举例而言,当控制单元108判断与网络端口10a连接的外部以太网端口30是PD端口,与网络端口10b连接的外部以太网端口30是PSE端口。则网络端口10a中的切换单元110选通其PSE单元106与连接端口102,网络端口10b中的切换单元110选通其PD单元104与连接端口102。在本发明的其他实施方式中,每一网络端口10a、10b也可以单独包括一个控制单元108。FIG. 5 is a schematic diagram of an embodiment of the Ethernet device 100 of the present invention. In this embodiment, the Ethernet device 100 includes a plurality of network ports 10a, 10b (in this embodiment, only two are used as an example, but not limited to two, and may include less or more network ports) and a power supply unit 112 . The power supply unit 112 obtains a power signal from the external power supply 40 to supply power to the Ethernet device 100 . In this embodiment, each network port 10a, 10b is basically the same as the network port 10 shown in FIG. The control unit 108 judges the type of the external Ethernet port 30 connected to each network port 10a, 10b, and outputs a plurality of judgment result signals correspondingly. The switching unit 110 in each network port 10a, 10b performs selective switching according to the received judgment result signal. For example, when the control unit 108 determines that the external Ethernet port 30 connected to the network port 10a is a PD port, the external Ethernet port 30 connected to the network port 10b is a PSE port. Then the switch unit 110 in the network port 10 a gates its PSE unit 106 and the connection port 102 , and the switch unit 110 in the network port 10 b gates its PD unit 104 and the connection port 102 . In other embodiments of the present invention, each network port 10a, 10b may also separately include a control unit 108 .
作为对本发明的进一步改进,当电源单元112与外部电源40连接时,若网络端口10a为PSE模式,网络端口10b为PD模式,网络端口10a可以同时从电源单元112及网络端口10b获取电力信号,从而来提高网络端口10a输出功率。举例而言,当电源单元112与外部电源40连接,且网络端口10a为PSE模式,网络端口10b未与外部以太网端口30连接时,此时网络端口10a最大输出功率为30W。相对而言,若电源单元112与外部电源40连接,且网络端口10a为PSE模式,网络端口10b为PD模式时,亦即此时网络端口10b还从外部以太网端口30获取电力信号,则网络端口10a最大输出功率可达50W。As a further improvement to the present invention, when the power supply unit 112 is connected to the external power supply 40, if the network port 10a is in the PSE mode and the network port 10b is in the PD mode, the network port 10a can simultaneously obtain power signals from the power supply unit 112 and the network port 10b, Therefore, the output power of the network port 10a is increased. For example, when the power supply unit 112 is connected to the external power supply 40, the network port 10a is in PSE mode, and the network port 10b is not connected to the external Ethernet port 30, the maximum output power of the network port 10a is 30W. Relatively speaking, if the power supply unit 112 is connected to the external power supply 40, and the network port 10a is in the PSE mode, and the network port 10b is in the PD mode, that is, the network port 10b also obtains the power signal from the external Ethernet port 30 at this time, then the network The maximum output power of port 10a can reach 50W.
作为对本发明的进一步改进,当电源单元112与外部电源40断开时,以太网装置100可以通过一个或多个网络端口10a、10b从与其连接的PSE端口获取电力信号,以对以太网装置100供电,从而使得以太网装置100能够正常工作。同时,其获取的电力信号也可以通过其他网络端口对与其连接的PD端口进行供电,进一步实现了将外部PSE端口的电力信号通过以太网装置100转接再对外部PD端口进行供电。As a further improvement to the present invention, when the power supply unit 112 is disconnected from the external power supply 40, the Ethernet device 100 can obtain a power signal from the PSE port connected to it through one or more network ports 10a, 10b to provide power to the Ethernet device 100. power supply, so that the Ethernet device 100 can work normally. At the same time, the power signal obtained by it can also be used to supply power to the PD port connected to it through other network ports, which further realizes the transfer of the power signal of the external PSE port through the Ethernet device 100 to supply power to the external PD port.
上述网络端口及以太网装置将PD与PSE功能整合在一个端口内,并根据与其连接的PSE装置或PD装置来自动切换到对应的PSE模式或PD模式,同时也可避免与不匹配的以太网端口连接时对网络端口或以太网装置造成损害。The above-mentioned network port and Ethernet device integrate PD and PSE functions into one port, and automatically switch to the corresponding PSE mode or PD mode according to the PSE device or PD device connected to it, and can also avoid mismatching Ethernet damage to network ports or Ethernet devices when the ports are connected.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410495843.3A CN105515787A (en) | 2014-09-24 | 2014-09-24 | Network port and Ethernet device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410495843.3A CN105515787A (en) | 2014-09-24 | 2014-09-24 | Network port and Ethernet device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105515787A true CN105515787A (en) | 2016-04-20 |
Family
ID=55723459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410495843.3A Pending CN105515787A (en) | 2014-09-24 | 2014-09-24 | Network port and Ethernet device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105515787A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106101028A (en) * | 2016-08-18 | 2016-11-09 | 深圳市海硕科技有限公司 | A kind of Ethernet switch and by electricity power supply circuits |
CN108418444A (en) * | 2018-04-10 | 2018-08-17 | 厦门亿联网络技术股份有限公司 | A kind of POE bidirectional power supplies device |
CN109428728A (en) * | 2017-08-28 | 2019-03-05 | 华为技术有限公司 | Autosensing method and apparatus |
CN109428726A (en) * | 2017-08-28 | 2019-03-05 | 华为技术有限公司 | Autosensing method and apparatus |
CN110247776A (en) * | 2018-03-09 | 2019-09-17 | 深圳市优特普电子有限公司 | A kind of PoE slow power supply unit, system and method |
CN113938333A (en) * | 2021-10-11 | 2022-01-14 | 厦门亿联网络技术股份有限公司 | Ethernet power supply device and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060089230A1 (en) * | 2004-10-07 | 2006-04-27 | Cisco Technology, Inc., A California Corporation | Bidirectional inline power port |
CN102387022A (en) * | 2011-10-20 | 2012-03-21 | 华为技术有限公司 | Power over Ethernet method and device |
CN103067182A (en) * | 2012-12-26 | 2013-04-24 | 上海华为技术有限公司 | Method for forced power supply and power-supply device |
-
2014
- 2014-09-24 CN CN201410495843.3A patent/CN105515787A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060089230A1 (en) * | 2004-10-07 | 2006-04-27 | Cisco Technology, Inc., A California Corporation | Bidirectional inline power port |
CN102387022A (en) * | 2011-10-20 | 2012-03-21 | 华为技术有限公司 | Power over Ethernet method and device |
CN103067182A (en) * | 2012-12-26 | 2013-04-24 | 上海华为技术有限公司 | Method for forced power supply and power-supply device |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106101028A (en) * | 2016-08-18 | 2016-11-09 | 深圳市海硕科技有限公司 | A kind of Ethernet switch and by electricity power supply circuits |
CN106101028B (en) * | 2016-08-18 | 2022-06-28 | 深圳市海硕科技有限公司 | Ethernet switch and power receiving and supplying circuit thereof |
CN109428726A (en) * | 2017-08-28 | 2019-03-05 | 华为技术有限公司 | Autosensing method and apparatus |
CN109428728A (en) * | 2017-08-28 | 2019-03-05 | 华为技术有限公司 | Autosensing method and apparatus |
CN109428728B (en) * | 2017-08-28 | 2021-05-07 | 华为技术有限公司 | Port adaptation method and device |
US11005671B2 (en) | 2017-08-28 | 2021-05-11 | Huawei Technologies Co., Ltd. | Port adaptation method and apparatus |
US11082322B2 (en) | 2017-08-28 | 2021-08-03 | Huawei Technologies Co., Ltd. | Port adaptation method and device |
CN109428726B (en) * | 2017-08-28 | 2022-07-26 | 华为技术有限公司 | Port adaptation method and device |
US11677652B2 (en) | 2017-08-28 | 2023-06-13 | Huawei Technologies Co., Ltd. | Port adaptation method and device |
CN110247776A (en) * | 2018-03-09 | 2019-09-17 | 深圳市优特普电子有限公司 | A kind of PoE slow power supply unit, system and method |
CN108418444A (en) * | 2018-04-10 | 2018-08-17 | 厦门亿联网络技术股份有限公司 | A kind of POE bidirectional power supplies device |
CN113938333A (en) * | 2021-10-11 | 2022-01-14 | 厦门亿联网络技术股份有限公司 | Ethernet power supply device and system |
CN113938333B (en) * | 2021-10-11 | 2023-12-05 | 厦门亿联网络技术股份有限公司 | Power over Ethernet device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101559885B1 (en) | Power over ethernet on data pairs and spare pairs | |
CN105515787A (en) | Network port and Ethernet device | |
CN104657313B (en) | Detecting system and method for universal serial bus device | |
CN101860443B (en) | POE load detecting method and power supply terminal equipment | |
CN103812667A (en) | Polarity correction bridge controller for combined power over ethernet system | |
CN103066683B (en) | Conductor in POE system is to switching | |
US20070033308A1 (en) | USB apparatus capable of automatically detecting a USB mode and the method thereof | |
CN101436786A (en) | Power supply switching device and network equipment | |
US10466768B2 (en) | Power sourcing equipment chip, and power over ethernet device and method | |
JP2015180046A (en) | Detection scheme for four wire pair power over ethernet(r) system | |
CN104809088B (en) | Connecting device and control chip and control method thereof | |
US20090037622A1 (en) | Method and system for changing operation modes of an interface device | |
US10079688B2 (en) | Network port and ethernet device integrating powered device and power sourcing equivalent in a port | |
CN108318741A (en) | A kind of impedance detection circuit and detection method | |
JP2018535493A5 (en) | ||
TWI438995B (en) | Overvoltage protection circuit and portable electronic device having the same | |
CN108599285A (en) | A kind of direct current output counnter attack filling protection circuit | |
CN108206121A (en) | 1 switching system of multiselect | |
CN103403563B (en) | Reverse supply line test macro and equipment | |
CN111181737B (en) | Control method, power receiving device and system | |
CN104125173B (en) | data communication path switching circuit, vehicle-mounted router and automobile | |
CN102830303A (en) | Ethernet power supply testing equipment | |
US9823295B2 (en) | Battery simulator | |
CN110417559A (en) | Ethernet power supply equipment and detection method | |
CN115996154A (en) | Power supply equipment, power supply circuit and power supply system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160420 |
|
WD01 | Invention patent application deemed withdrawn after publication |