TWI713324B - Method and apparatus for power over ether control system - Google Patents

Method and apparatus for power over ether control system Download PDF

Info

Publication number
TWI713324B
TWI713324B TW108145477A TW108145477A TWI713324B TW I713324 B TWI713324 B TW I713324B TW 108145477 A TW108145477 A TW 108145477A TW 108145477 A TW108145477 A TW 108145477A TW I713324 B TWI713324 B TW I713324B
Authority
TW
Taiwan
Prior art keywords
user terminal
power supply
terminal device
mode
power
Prior art date
Application number
TW108145477A
Other languages
Chinese (zh)
Other versions
TW202123652A (en
Inventor
盧泰伃
梁志棠
施義紳
Original Assignee
普萊德科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 普萊德科技股份有限公司 filed Critical 普萊德科技股份有限公司
Priority to TW108145477A priority Critical patent/TWI713324B/en
Application granted granted Critical
Publication of TWI713324B publication Critical patent/TWI713324B/en
Publication of TW202123652A publication Critical patent/TW202123652A/en

Links

Images

Abstract

一種乙太網路供電控制系統及其方法,其將與乙太網路電源交換器串連之複數用戶終端設備設為一主用戶終端設備及至少一副用戶終端設備,當乙太網路電源交換器供電後,用戶終端設備判斷本身是主/副用戶終端設備,並依此決定一路由模式,若為主用戶終端設備,則路由模式為網路位址轉換路由模式,提供IP位址給後續串聯之其他副用戶終端設備,計算最佳供電方式並進行管理,以依據設定或排程對一外接裝置供電,若為副用戶終端設備,則路由模式為交換或橋接模式,接收主用戶終端設備所傳送之IP位址並接受管理。本發明提供多層式供電,並可避免用電量超過供應量,造成整個迴路被斷電。An Ethernet power supply control system and method thereof, which set a plurality of user terminal devices connected in series with an Ethernet power switch as a primary user terminal device and at least one secondary user terminal device, which serves as an Ethernet power supply After the switch is powered, the user terminal device determines that it is the primary/secondary user terminal device and determines a routing mode accordingly. If the main user terminal device, the routing mode is the network address conversion routing mode, and the IP address is provided to Subsequent to other secondary user terminal equipment connected in series, calculate and manage the best power supply mode to supply power to an external device according to the setting or schedule. If it is secondary user terminal equipment, the routing mode is switching or bridge mode to receive the main user terminal The IP address transmitted by the device and managed. The invention provides multi-layer power supply, and can prevent the power consumption from exceeding the supply amount, causing the entire circuit to be powered off.

Description

乙太網路供電控制系統及其方法Ethernet power supply control system and method

本發明係有關一種乙太網路供電設計,特別是指乙太網路供電控制系統及其方法。The present invention relates to an Ethernet power supply design, in particular to an Ethernet power supply control system and method.

按,生活中眾多物品、裝置皆需要電力運作,因此需要配置電源線和電源孔,若還有訊號傳輸功能,例如控制裝置之啟閉,則還要另行配置訊號線和傳輸連接埠孔。而乙太網路供電 (Power over Ethernet, POE)可透過雙絞線同時輸出電力和資料訊號,省去傳統設備需同時配置電源線、電源孔及訊號線、資料連接埠,不但節省了配置時間與成本,同時也降低安裝網路設備的難度。By the way, many items and devices in life need electricity to operate, so power cords and power holes are required. If there are signal transmission functions, such as the opening and closing of control devices, signal lines and transmission ports are also required. Power over Ethernet (POE) can simultaneously output power and data signals through twisted pair cables, eliminating the need for traditional equipment to configure power cords, power holes, signal lines, and data ports at the same time, which not only saves configuration time And cost, but also reduce the difficulty of installing network equipment.

第1圖為目前一種使用乙太網路供電中供給遠端設備的機制,完整的乙太網路供電系統10包括供電裝置(Power Source Equipment, PSE)12及受電裝置(Power Device, PD)14,其中供電設備12具有複數連接埠,可同時連接多台受電裝置14。隨著乙太網路標準的提升,可供電瓦數亦提至60瓦甚或100瓦以上,同時也隨著節能燈具的能耗逐漸減少,同樣的亮度耗用的瓦數降低,因此在電源線路的佈局上亦不需使用較高耐流之銅纜線,因此使用Cat.5e 以上的雙絞線 (Twisted-pair)亦為一在燈具電源使用上的一個選擇。然而其在使用上有限制,亦即在供電設計上將便限制在乙太網路雙絞線100米的限制之內,因此僅能如第1圖所示之單層式結構,而無法將多個受電裝置14互相串接。Figure 1 shows a current mechanism for supplying remote equipment using Ethernet power supply. A complete Ethernet power supply system 10 includes a power supply device (PSE) 12 and a power device (PD) 14 , Where the power supply device 12 has a plurality of connection ports, which can connect multiple power receiving devices 14 at the same time. With the improvement of Ethernet standards, the wattage that can be supplied has also increased to 60 watts or even more than 100 watts. At the same time, as the energy consumption of energy-saving lamps gradually decreases, the wattage consumed by the same brightness decreases, so the power line There is no need to use high current-resistant copper cables in the layout, so the use of twisted-pair cables above Cat.5e (Twisted-pair) is also an option for the use of lamp power supplies. However, there are restrictions on its use, that is, the power supply design will be limited to the 100-meter limit of the Ethernet twisted pair. Therefore, it can only be a single-layer structure as shown in Figure 1, and cannot be A plurality of power receiving devices 14 are connected in series with each other.

有鑑於此,本發明即提出一種乙太網路供電控制系統及其方法,以有效解決上述該等問題,具體架構及其實施方式將詳述於下:In view of this, the present invention proposes an Ethernet power supply control system and method to effectively solve the above-mentioned problems. The specific structure and implementation methods will be described in detail below:

本發明之主要目的在提供一種乙太網路供電控制系統及其方法,其利用乙太網路對每一用戶終端設備的外接裝置(如燈具)供電,且每一用戶終端設備係以串聯之方式與乙太網路電源交換器連接,並設定用戶終端設備為主供電模式或副供電模式,可同時受電及供電,以提供多層式供電方式。The main purpose of the present invention is to provide an Ethernet power supply control system and method, which use Ethernet to supply power to the external devices (such as lamps) of each user terminal device, and each user terminal device is connected in series It is connected to the Ethernet power switch, and the user terminal equipment is set to the main power supply mode or the auxiliary power supply mode, which can receive and supply power at the same time to provide a multi-layer power supply mode.

本發明之另一目的在提供一種乙太網路供電控制系統及其方法,其中副用戶終端設備所連接之外接裝置係由負責管理的主用戶終端設備控制,當外接裝置取得供電後,仍需等待來自主用戶終端設備之指令,以便主用戶終端設備可最大程度掌控耗電總瓦數並進行管理,以避免用電量超過乙太網路電源交換器所提供之電力,造成整個迴路被斷電。Another object of the present invention is to provide an Ethernet power supply control system and method, wherein the external device connected to the secondary user terminal device is controlled by the main user terminal device responsible for management. After the external device receives power, it still needs Waiting for instructions from the main user terminal device so that the main user terminal device can control and manage the total power consumption to the greatest extent, so as to avoid the power consumption exceeding the power provided by the Ethernet power switch, causing the entire circuit to be disconnected Electricity.

本發明之再一目的在提供一種乙太網路供電控制系統及其方法,其包括多種設定方式,包括在主用戶終端設備對整個迴路的所有用戶終端設備進行統一管理、利用虛擬伺服器之方式直接對單一副用戶終端設備進行設定、透過智能搜索(Smart Discovery)方式進行集中管理、及透過智能搜索方式送出群組式的控制訊號。Another object of the present invention is to provide an Ethernet power supply control system and method, which includes a variety of setting methods, including the unified management of all user terminal devices in the entire loop at the main user terminal device and the use of virtual servers Directly set up a single secondary user terminal device, conduct centralized management through Smart Discovery, and send group control signals through Smart Discovery.

為達上述目的,本發明提供一種乙太網路供電控制系統,包括一乙太網路電源交換器及串接其後之複數用戶終端設備,且該等用戶終端設備為串聯,該用戶終端設備中包括:至少一受電連接埠,電性連接該乙太網路電源交換器或上一層之該用戶終端設備,以取得電源供應及傳送封包;一輸出輸入介面,接收從外部設定之一供電模式,包括主供電模式或副供電模式;一控制單元,連接該輸出輸入介面,依據該供電模式決定一路由模式,以接收IP位址或提供IP位址給後續串聯之其他用戶終端設備;至少一供電連接埠,電性連接下一層之該用戶終端設備,以提供電源給後續串聯之其他用戶終端設備及傳送封包;以及其中,當該供電模式為主供電模式時,該控制單元設定該路由模式為網路位址轉換路由(Network Address Translate Router, NAT Router)模式,提供IP位址給後續串聯之其他用戶終端設備,計算最佳供電方式並進行管理,以依據設定或排程對一外接裝置供電,當該供電模式為副供電模式時,該控制單元之路由模式為交換(Switch)模式或橋接(Bridge)模式,接收設定為該主供電模式之上層之該用戶終端設備所傳送之IP位址並接受管理。To achieve the above objective, the present invention provides an Ethernet power supply control system, which includes an Ethernet power switch and a plurality of user terminal devices connected in series thereafter, and the user terminal devices are connected in series. It includes: at least one power receiving port, which is electrically connected to the Ethernet power switch or the user terminal device on the upper layer, to obtain power supply and transmit packets; an output and input interface, which receives a power supply mode set from the outside , Including a main power supply mode or a secondary power supply mode; a control unit connected to the output and input interface, and determines a routing mode according to the power supply mode to receive an IP address or provide an IP address to other user terminal devices connected in series; at least one The power supply port is electrically connected to the user terminal device of the next layer to provide power to other user terminal devices connected in series and transmit packets; and wherein, when the power supply mode is the main power supply mode, the control unit sets the routing mode In the Network Address Translate Router (NAT Router) mode, it provides an IP address to other user terminal equipment connected in series, calculates and manages the best power supply method, and performs management on an external device according to the setting or schedule Power supply, when the power supply mode is the secondary power supply mode, the routing mode of the control unit is Switch mode or Bridge mode, and receive the IP bit transmitted by the user terminal equipment set to the upper layer of the main power supply mode Site and accept management.

依據本發明之實施例,更包括至少一交換器處理單元,電性連接該受電連接埠及該供電連接埠,以傳送封包。According to the embodiment of the present invention, it further includes at least one switch processing unit electrically connected to the power receiving port and the power supply port to transmit packets.

依據本發明之實施例,該主供電模式下,該控制單元將該受電連接埠設定為廣域網路(WAN)之DHCP用戶端,並將該供電連接埠設定為區域網路(LAN)之DHCP伺服器端。而在該副供電模式下,該控制單元將該受電連接埠及該供電連接埠設為區域網路之DHCP用戶端。According to an embodiment of the present invention, in the main power supply mode, the control unit sets the power receiving port as the DHCP client of the wide area network (WAN), and sets the power supply port as the DHCP server of the local area network (LAN)器端. In the secondary power supply mode, the control unit sets the power receiving port and the power supply port as the DHCP client of the local network.

依據本發明之實施例,該輸出輸入介面包括一輸入指撥,當其為關閉狀態時為主供電模式,當該輸入指撥為開啟狀態時為副供電模式。According to an embodiment of the present invention, the input/output interface includes an input finger, when it is in the off state, the main power supply mode, and when the input finger is in the on state, it is the secondary power supply mode.

依據本發明之實施例,更包括一燈具電源模組,電性連接該控制單元,該外接裝置為燈具,透過該燈具電源模組與該用戶終端設備連接,該燈具電源模組傳送一控制訊號給該燈具。該外接裝置之做動設定係由具有該主供電模式之該用戶終端設備送出該控制訊號,或由一管理者透過虛擬伺服器之方式送出該控制訊號,通過該輸出輸入介面將該控制訊號傳送至該燈具電源模組。According to the embodiment of the present invention, it further includes a lamp power module electrically connected to the control unit, the external device is a lamp, and is connected to the user terminal device through the lamp power module, and the lamp power module transmits a control signal Give the light fixture. The activation setting of the external device is sent by the user terminal device with the main power supply mode to send the control signal, or a manager sends the control signal through a virtual server, and sends the control signal through the input/output interface To the lamp power module.

依據本發明之實施例,更包括一冗餘外部電源連接埠,電性連接該控制單元,用以提供一外部電源。According to the embodiment of the present invention, it further includes a redundant external power connection port electrically connected to the control unit for providing an external power source.

依據本發明之實施例,更包括一電源管理單元,電性連接該受電連接埠、 該供電連接埠及該控制單元,用於接收該受電連接埠之電源後提供該控制單元所需之低電壓,並透過該供電連接埠供電給後續串聯之其他用戶終端設備。According to the embodiment of the present invention, it further includes a power management unit electrically connected to the power receiving port, the power supply port, and the control unit for receiving power from the power receiving port and providing the low voltage required by the control unit , And supply power to other user terminal equipment connected in series through the power supply port.

本發明另提供一種乙太網路供電控制方法,包括一乙太網路電源交換器及串接其後之複數用戶終端設備,且該等用戶終端設備為串聯,該控制方法包括下列步驟:將與該乙太網路電源交換器連接之該用戶終端設備設定為一主供電模式之一主用戶終端設備,並將串聯於該主用戶終端設備後之其餘用戶終端設備設定為一副供電模式之至少一副用戶終端設備;該乙太網路電源交換器供電後,該等用戶終端設備之一控制單元依據一輸出輸入介面所設定之一供電模式,判斷本身是該主用戶終端設備或該副用戶終端設備,並依據該供電模式定一路由模式,以接收IP位址或提供IP位址給後續串聯之其他用戶終端設備;以及若該用戶終端設備為該主用戶終端設備時,該控制單元設定一路由模式為網路位址轉換路由(Network Address Translate Router,NAT Router)模式,提供IP位址給後續串聯之其他副用戶終端設備,計算最佳供電方式並進行管理,以依據設定或排程對一外接裝置供電,若該用戶終端設備為副用戶終端設備時,該控制單元之該路由模式為交換(Switch)模式或橋接(Bridge)模式,接收上層之該主用戶終端設備所傳送之IP位址並接受管理。 The present invention also provides an Ethernet power supply control method, which includes an Ethernet power switch and a plurality of user terminal devices connected in series thereafter, and the user terminal devices are connected in series. The control method includes the following steps: The user terminal equipment connected to the Ethernet power switch is set to a main power supply mode and a main user terminal device, and the remaining user terminal equipment connected in series to the main user terminal device is set to a power supply mode At least one secondary user terminal device; after the Ethernet power switch is powered, a control unit of the user terminal devices determines whether it is the primary user terminal device or the secondary user terminal device according to a power supply mode set by an output and input interface User terminal equipment, and determine a routing mode according to the power supply mode to receive IP addresses or provide IP addresses to other user terminal equipment connected in series; and if the user terminal equipment is the main user terminal equipment, the control unit Set a routing mode to Network Address Translate Router (NAT Router) mode, provide an IP address to other secondary user terminal devices connected in series, calculate the best power supply mode and manage it, according to the setting or routing The process supplies power to an external device. If the user terminal device is a secondary user terminal device, the routing mode of the control unit is Switch mode or Bridge mode, and receives the upper layer of the main user terminal device. IP address and accept management.

依據本發明之實施例,更包括下列步驟:該主用戶終端設備取得該乙太網路電源交換器所提供之電源後,定時以智能搜索(smart discovery)搜尋是否有至少一該副用戶終端設備之封包,若有,則提供電源並以DHCP方式提供IP位址;該副用戶終端設備取得IP位址後,以智能搜索回送一通知訊息給該主用戶終端設備,該通知訊息中包括所取得之IP位址、媒體存取控制位址(Media Access Control Address,MAC)、設備名稱及類型、需求供電瓦數參數、目前燈具狀態、目前燈具耗用電源瓦數等;以及該主用戶終端設備中包括一DHCP表,當收到該副用戶終端設備回送之該通知訊息後,比對該通知訊息之內容與該DHCP表是否相符,若皆相符,則該主用戶終端設備將該副用戶終端設備儲存並列管。 According to the embodiment of the present invention, the method further includes the following steps: After the primary user terminal device obtains the power provided by the Ethernet power switch, it periodically searches for whether there is at least one secondary user terminal device by smart discovery If there is, provide power and provide the IP address by DHCP; after the secondary user terminal device obtains the IP address, it sends back a notification message to the primary user terminal device through smart search, and the notification message includes the obtained IP address, Media Access Control Address (MAC), device name and type, required power supply wattage parameters, current lamp status, current lamp power consumption, etc.; and the main user terminal equipment It includes a DHCP table. After receiving the notification message returned by the secondary user terminal device, it compares whether the content of the notification message matches the DHCP table. If they all match, the primary user terminal device uses the secondary user terminal The equipment is stored in parallel.

依據本發明之實施例,該主用戶終端設備將該副用戶終端設備列管後,更自動開啟一虛擬伺服器(Virtual Server)功能,新增一虛擬連接埠以進行包括但不限於使用網頁(Web;port 80)管理。 According to an embodiment of the present invention, after the primary user terminal device manages the secondary user terminal device, it automatically opens a virtual server (Virtual Server) function, and adds a virtual port for including but not limited to using web pages ( Web; port 80) management.

依據本發明之實施例,該通知訊息中更包括該副用戶終端設備之耗電瓦數,以供該主用戶終端設備進行管理。 According to an embodiment of the present invention, the notification message further includes the power consumption wattage of the secondary user terminal device for the main user terminal device to manage.

進一步而言,該主用戶終端設備進行電源管理之流程更包括下列步驟:該控制單元受電開機後,開啟DHCP伺服器、智能搜索封包服務、簡單網路管理協議(Simple Network Management Protocol,SNMP)、CGI/XML等封包協議;自上層之該乙太網路電源交換器處依連線狀態,設定整體迴路之一最大可耗用瓦數;進入偵測模式及掃瞄模式,以智能搜索找到轄下所有之該副用戶終端設備,並取得該通知訊息;以及記錄並計算轄下所有該副用戶終端設備之耗電瓦數、最大可能耗用瓦數、自該乙太網路電源交換器所能取得之最大瓦數。 Furthermore, the process of power management of the main user terminal device further includes the following steps: after the control unit is powered on, it turns on the DHCP server, intelligent search packet service, Simple Network Management Protocol (SNMP), Packet protocols such as CGI/XML; From the upper layer of the Ethernet power switch, set the maximum power consumption of one of the overall circuits according to the connection status; enter the detection mode and scan mode, and find the jurisdiction by smart search And obtain the notification message; and record and calculate the power consumption, the maximum possible wattage, and the power consumption of all the auxiliary user terminal equipment under the control of the Ethernet power switch. The maximum wattage that can be obtained.

10:乙太網路供電系統 10: Ethernet power supply system

12:供電裝置 12: Power supply device

14:受電裝置 14: Power receiving device

20:乙太網路供電控制系統 20: Ethernet power supply control system

22:乙太網路電源交換器 22: Ethernet power switch

24、24a、24b、24c:用戶終端設備 24, 24a, 24b, 24c: user terminal equipment

241:受電連接埠 241: Power receiving port

242:控制單元 242: control unit

243:供電連接埠 243: Power supply port

244:輸出輸入介面 244: Input and output interface

245:交換器處理單元 245: Switch Processing Unit

246:燈具電源模組 246: Lamp Power Module

247:電源管理單元 247: Power Management Unit

248:冗餘外部電源連接埠 248: Redundant external power port

26:外接裝置 26: External device

30:上一層設備 30: Upper level equipment

32:下一層設備 32: Next layer equipment

第1圖為習知技術中乙太網路供電系統之架構圖。 Figure 1 is the architecture diagram of the Ethernet power supply system in the prior art.

第2圖為本發明乙太網路供電控制系統之架構圖。 Figure 2 is the architecture diagram of the Ethernet power supply control system of the present invention.

第3圖為本發明乙太網路供電控制系統中一實施例之架構圖。 Figure 3 is a structural diagram of an embodiment of the Ethernet power supply control system of the present invention.

第4圖為本發明乙太網路供電控制系統中用戶終端設備之方塊圖。 Figure 4 is a block diagram of user terminal equipment in the Ethernet power supply control system of the present invention.

第5圖為本發明乙太網路供電控制方法之流程圖。 Figure 5 is a flow chart of the Ethernet power supply control method of the present invention.

本發明提供一種乙太網路供電控制系統及其方法,請參考第2圖,其為本發明乙太網路供電控制系統之架構圖,此乙太網路供電控制系統20中包括一乙太網路電源交換器22及串接其後之複數用戶終端設備24,且用戶終端設備24可互相串聯複數個,形成多層式之供電迴路。 The present invention provides an Ethernet power supply control system and method. Please refer to Fig. 2, which is a structural diagram of the Ethernet power supply control system of the present invention. The Ethernet power supply control system 20 includes an Ethernet The network power switch 22 and a plurality of user terminal devices 24 are connected in series thereafter, and the user terminal devices 24 can be connected in series to form a multi-layer power supply circuit.

以第3圖為例,在此乙太網路供電控制系統20中除了乙太網路電源交換器22之外,還有三個互相串接的用戶終端設備24,每一用戶終端設備24接連接一外接裝置26,如燈具,而外接裝置26由用戶終端設備24供電。每一用戶終端設備24之電力來源皆為上一層之用戶終端設備24或乙太網路電源交換器22,用戶終端設備22a由乙太網路電源交換器22供電,用戶終端設備22b由用戶終端設備22a供電,用戶終端設備22c由用戶終端設備22b供電。在本發明中將這些受電的用戶終端設備22分為二種供電模式,分別為主供電模式(master mode)及副供電模式(slave mode),並依據供電模式之差異將用戶終端設備22設定成主用戶終端設備及副用戶終端設備,其中主用戶終端設備為在乙太網路供電控制系統20的迴路中第一層的用戶終端設備,即用戶終端設備24a,用於管理底下多層的副用戶終端設備24b、24c。 Taking Figure 3 as an example, in this Ethernet power supply control system 20, in addition to the Ethernet power switch 22, there are three user terminal devices 24 connected in series, and each user terminal device 24 is connected. An external device 26, such as a lamp, and the external device 26 is powered by the user terminal device 24. The power source of each user terminal device 24 is the user terminal device 24 or the Ethernet power switch 22 on the upper layer. The user terminal device 22a is powered by the Ethernet power switch 22, and the user terminal device 22b is powered by the user terminal The device 22a is powered, and the user terminal device 22c is powered by the user terminal device 22b. In the present invention, these powered user terminal devices 22 are divided into two power supply modes, namely a master mode and a slave mode, and the user terminal device 22 is set to be based on the difference in power supply mode Primary user terminal equipment and secondary user terminal equipment, where the primary user terminal equipment is the user terminal equipment of the first layer in the loop of the Ethernet power supply control system 20, namely the user terminal equipment 24a, which is used to manage the secondary users of the lower layers Terminal equipment 24b, 24c.

用戶終端設備之內部方塊圖請參考第4圖,包括至少一受電連接埠241、一控制單元242、至少一供電連接埠243及一輸出輸入介面244。其中,受電連接埠241為單數或複數的IEEE8023.bt或以上協議之受電網路埠,電性連接上一層設備30,此上一層設備30可為第3圖中之乙太網路電源交換器22或上一層之用戶終端設備24,以取得電源供應及傳送封包;輸出輸入介面244與控制單元242電性連接,接收從外部設定之一供電模式,包括主供電模式或副供電模式;控制單元242為中央處理器或微處理器,電性連接輸出輸入介面244、燈具電源模組246、電源管理單元247及冗餘外部電源連接埠248,先依據輸出輸入介面244所提供之供電模式決定一路由模式,以決定接收IP位址或提供IP位址給後續串聯之其他用戶終端設備;供電連接埠243為單數或複數的IEEE8023.bt或以上協議之供電網路埠,電性連接下一層設備32,此 下一層設備32為第3圖中之用戶終端設備24b、24c或更下層者,用以提供電源給後續串聯之其他用戶終端設備及傳送封包。 Please refer to FIG. 4 for the internal block diagram of the user terminal equipment, which includes at least one power receiving port 241, a control unit 242, at least one power supply port 243, and an input/output interface 244. Among them, the power receiving port 241 is a singular or plural IEEE8023.bt or above protocol power receiving network port, which is electrically connected to the upper layer device 30. The upper layer device 30 can be the Ethernet power switch shown in Figure 3. 22 or the user terminal equipment 24 of the upper layer to obtain power supply and transmit packets; the input/output interface 244 is electrically connected to the control unit 242, and receives a power supply mode set from the outside, including the main power supply mode or the auxiliary power supply mode; the control unit 242 is a central processing unit or a microprocessor, which is electrically connected to the input/output interface 244, the lamp power supply module 246, the power management unit 247 and the redundant external power connection port 248, and first determines a power supply mode according to the input/output interface 244 The routing mode is used to determine whether to receive an IP address or provide an IP address to other user terminal equipment connected in series; the power supply port 243 is a singular or plural IEEE8023.bt or above protocol power supply network port, which is electrically connected to the next layer equipment 32, this The next layer device 32 is the user terminal device 24b, 24c or lower layer in Figure 3, which is used to provide power to other user terminal devices connected in series and transmit packets.

輸出輸入介面244包括一輸入指撥,當其為關閉狀態時為主供電模式,當輸入指撥為開啟狀態時為副供電模式。控制單元242依據使供電模式之設定,判斷用戶終端設備24自己是管理者的角色(主供電模式之主用戶終端設備)或被管理者的角色(副供電模式之副用戶終端設備)。當供電模式為主供電模式時,控制單元242設定路由模式為網路位址轉換路由(Network Address Translate Router,NAT Router)模式,並啟動DHCP伺服器以提供後面副用戶終端設備IP位址、啟動虛擬伺服器(Virtual Server)模式以提供乙太網路電源交換器直接控制之能力、啟動PLANET智能搜索(PLANET Smart Discovery)協議以進行由主用戶終端設備直接控制之能力等,計算最佳供電方式並進行管理,以依據設定或排程對外接裝置26供電;而當供電模式為副供電模式時,控制單元242之路由模式為交換(Switch)模式或橋接(Bridge)模式,同時此用戶終端設備24亦為一個DHCP客戶端,接收設定為主供電模式之主用戶終端設備所傳送之IP位址,再透過PLANET智能搜索的管理命令或SNMP MIB的命令接受燈具上電、斷電或其他管理。 The input/output interface 244 includes an input finger, when it is in the off state, the main power supply mode, and when the input finger is in the on state, it is the secondary power supply mode. The control unit 242 determines whether the user terminal device 24 is in the role of an administrator (primary user terminal device in the main power supply mode) or the role of a managed person (secondary user terminal device in the secondary power supply mode) according to the setting of the power supply mode. When the power supply mode is the main power supply mode, the control unit 242 sets the routing mode to the Network Address Translate Router (NAT Router) mode, and activates the DHCP server to provide the IP address of the subsequent secondary user terminal equipment and activate it. Virtual Server mode provides the ability to directly control the Ethernet power switch, activates the PLANET Smart Discovery protocol for the ability to be directly controlled by the main user terminal device, etc., and calculates the best power supply method And manage to supply power to the external device 26 according to the setting or schedule; and when the power supply mode is the secondary power supply mode, the routing mode of the control unit 242 is Switch mode or Bridge mode, and the user terminal equipment 24 is also a DHCP client, which receives the IP address sent by the main user terminal device set to the main power supply mode, and then receives the power-on, power-off or other management of the lamp through the management command of PLANET intelligent search or the command of SNMP MIB.

因此,在主供電模式下,控制單元242會將受電連接埠241設定為廣域網路(WAN)之DHCP用戶端,並將供電連接埠243設定為區域網路(LAN)之DHCP伺服器端。而在副供電模式下,控制單元242將受電連接埠241及供電連接埠243設為區域網路之DHCP用戶端。 Therefore, in the main power supply mode, the control unit 242 will set the power receiving port 241 as the DHCP client of the wide area network (WAN) and the power supply port 243 as the DHCP server of the local area network (LAN). In the secondary power supply mode, the control unit 242 sets the power receiving port 241 and the power supply port 243 as the DHCP client of the local network.

受電連接埠241使用跟管理者相同的網路網段,直接接受管理者的控制,管理者可使用Web流覽器、PLANET智能搜索、RESTful或XML等 方式來進行這台主供電模式的用戶終端設備24的控制,及透過網路位址轉換路由(NAT Router)的特性提供路由的功能,而不用將後端所串連的副用戶終端裝置全部都透通交由管理者個別管理。因此管理者可以下類似的命令:「Master 01後面的Slave 01、Slave 02 POE燈具(電源)全部打開。」假設本機為主供電模式的主用戶終端設備,當其受電連接埠241收到此命令時,控制單元242可轉發命令給後面串連的下一層設備32接受相關的指令,包括燈具電源的開和關,但不在此限,更進一步,可透過智能搜索或其他指令,搭配輸出輸入介面244的輸出介面,可進行調光亦或是變換不同的顏色。 The power receiving port 241 uses the same network segment as the administrator, and is directly controlled by the administrator. The administrator can use the web browser, PLANET smart search, RESTful or XML to perform this main power supply mode user terminal The control of the device 24 and the routing function is provided through the characteristics of the network address translation router (NAT Router), without all the secondary user terminal devices connected in the back-end being transparently handed over to the administrator for individual management. Therefore, the administrator can issue a similar command: " Slave 01 and Slave 02 POE lamps (power) behind Master 01 are all turned on. " Assuming that this machine is the main user terminal device in the main power supply mode, when the power receiving port 241 receives this When ordering, the control unit 242 can forward the order to the next-level equipment 32 connected in series to receive related instructions, including turning on and off the power of the lamp, but not limited to this. Furthermore, it can be matched with output and input through smart search or other instructions. The output interface of the interface 244 can be used for dimming or changing different colors.

用戶終端設備24中更包括一交換器處理單元245、一燈具電源模組246、一電源管理單元247及一冗餘外部電源連接埠248,其中,交換器處理單元245電性連接受電連接埠241及供電連接埠243,用以傳送封包;燈具電源模組246電性連接控制單元242,外接裝置26透過燈具電源模組246與用戶終端設備24連接,假設此外接裝置26為燈具,則燈具電源模組246傳送一控制訊號給燈具,並提供燈具開啟所需之電力,控制訊號包括緊急停止運作之訊號、定時起閉或預設排程。外接裝置26之做動設定係由具有主供電模式之用戶終端設備送出控制訊號,或由一管理者透過虛擬伺服器之方式送出控制訊號,通過輸出輸入介面244將控制訊號傳送至燈具電源模組246。電源管理單元247電性連接受電連接埠241、控制單元242及供電連接埠243,用於接收受電連接埠241之電源後提供控制單元242所需之低電壓,並透過供電連接埠243供電給後續串聯之其他用戶終端設備。冗餘外部電源連接埠248電性連接控制單元242及電源管理單元247,用以提供一外部電源,以備不時之需。 The user terminal device 24 further includes a switch processing unit 245, a lamp power module 246, a power management unit 247, and a redundant external power connection port 248. The switch processing unit 245 is electrically connected to the power receiving port 241 And the power supply connection port 243 for transmitting packets; the lamp power module 246 is electrically connected to the control unit 242, and the external device 26 is connected to the user terminal equipment 24 through the lamp power module 246. If the external device 26 is a lamp, the lamp power The module 246 transmits a control signal to the lamp, and provides the power required to turn on the lamp. The control signal includes an emergency stop signal, timing on and off or preset schedule. The actuation setting of the external device 26 is sent by a user terminal device with a main power supply mode to send a control signal, or a manager sends a control signal through a virtual server, and sends the control signal to the lamp power module through the input/output interface 244 246. The power management unit 247 is electrically connected to the power receiving port 241, the control unit 242, and the power supply port 243 for receiving power from the power receiving port 241 and then providing the low voltage required by the control unit 242, and then supplying power to the follow-up Other user terminal equipment connected in series. The redundant external power connection port 248 is electrically connected to the control unit 242 and the power management unit 247 to provide an external power source for emergency needs.

第5圖為本發明乙太網路供電控制方法之流程圖,首先於步驟S10中,先將與乙太網路電源交換器連接之用戶終端設備設為主供電模式之主用戶終端設備,並將串聯於主用戶終端設備後之其餘者設為副供電模式之副用戶終端設備,此設定方法為從每一個用戶終端裝置的輸出輸入介面輸入供電模式設定;步驟S12,當乙太網路電源交換器供電後,用戶終端設備之控制單元會依據自身的輸出輸入介面所設定之供電模式,判斷本身是該主用戶終端設備或該副用戶終端設備,並依據供電模式定一路由模式,以接收IP位址或提供IP位址給後續串聯之其他用戶終端設備;若用戶終端設備為主用戶終端設備時,如步驟S14所述,控制單元設定一路由模式為網路位址轉換路由(Network Address Translate Router,NAT Router)模式,提供IP位址給後續串聯之其他副用戶終端設備,計算最佳供電方式並進行管理,以依據設定或排程對一外接裝置供電;若用戶終端設備為副用戶終端設備時,則如步驟S16所述,控制單元之路由模式為交換(Switch)模式或橋接(Bridge)模式,接收上層之主用戶終端設備所傳送之IP位址並接受管理。 Figure 5 is a flowchart of the Ethernet power supply control method of the present invention. First, in step S10, the user terminal device connected to the Ethernet power switch is set as the main user terminal device in the main power supply mode, and Set the rest after the main user terminal equipment in series to the secondary user terminal equipment of the secondary power supply mode. This setting method is to input the power supply mode setting from the output and input interface of each user terminal device; step S12, when the Ethernet power supply After the switch is powered, the control unit of the user terminal equipment will determine whether it is the primary user terminal equipment or the secondary user terminal equipment according to the power supply mode set by its own output and input interface, and determine a routing mode according to the power supply mode to receive IP address or provide IP address to other user terminal equipment connected in series; if the user terminal equipment is the main user terminal equipment, as described in step S14, the control unit sets a routing mode as Network Address Conversion Routing Translate Router, NAT Router) mode, provides IP address to other secondary user terminal equipment connected in series, calculates and manages the best power supply mode, and powers an external device according to the setting or schedule; if the user terminal equipment is the secondary user In the case of terminal equipment, as described in step S16, the routing mode of the control unit is Switch mode or Bridge mode, and receives the IP address transmitted by the upper master user terminal equipment and accepts management.

進一步而言,當主用戶終端設備取得乙太網路電源交換器所提供之電源後,會定時以智能搜索(smart discovery)搜尋是否有至少一副用戶終端設備之封包,若有,則提供電源並以DHCP方式提供IP位址;而當副用戶終端設備取得IP位址後,同樣以智能搜索回送一通知訊息給主用戶終端設備,此通知訊息中包括所取得之IP位址、媒體存取控制位址(Media Access Control Address,MAC)、設備名稱及類型、需求供電瓦數參數、目前燈具狀態、目前燈具耗用電源瓦數等資訊;由於主用戶終端設備中包括一DHCP表,因此,當主用戶終端設備接收到副用戶終端設備所回送之通知訊息後,會將通知訊 息之內容與DHCP表進行比對,判斷媒體存取控制位址、IP位址是否相符,及智能搜索封包內的設備屬性是否為認定的屬性,若皆相符,則主用戶終端設備將副用戶終端設備儲存並列管。 Furthermore, when the main user terminal device obtains the power provided by the Ethernet power switch, it will periodically use smart discovery to search for at least one packet of the user terminal device, and if so, provide power The IP address is provided by DHCP; and when the secondary user terminal device obtains the IP address, it will also send a notification message to the primary user terminal device through a smart search. This notification message includes the obtained IP address and media access Control address (Media Access Control Address, MAC), device name and type, required power supply wattage parameters, current lamp status, current lamp power consumption and other information; since the main user terminal device includes a DHCP table, When the primary user terminal device receives the notification message sent by the secondary user terminal device, it will The content of the information is compared with the DHCP table to determine whether the media access control address and IP address match, and whether the device attributes in the smart search packet are recognized attributes. If they match, the primary user terminal device will determine whether the secondary user The terminal equipment is stored in parallel.

承上段,當主用戶終端設備將副用戶終端設備列管後,更自動開啟一虛擬伺服器(Virtual Server)功能,新增一虛擬連接埠以進行包括但不限於使用網頁(Web;port 80)管理。舉例而言,若主用戶終端設備A之IP位址為172.1.1.20,副用戶終端設備B自主用戶終端設備A以DHCP方式取得一個區域網路端之IP位址,為192.168.0.31,管理者以網頁地址管理的方式為http://IP:Port,例如主用戶終端設備A的網址為http://172.1.1.20:30,埠號30代表為主用戶終端設備A的連接埠,而副用戶終端設備B的網址為http://172.1.1.20:31,埠號31代表為副用戶終端設備B的連接埠,換言之,若還有其他的副用戶終端設備C、D、E...,則埠號將從32、33、34...以此類推。同時,因在主用戶終端設備A上已記錄了副用戶終端設備B、C...的資訊,因此當管理者使用廣域網路IP不加埠號時,則管理者可在主用戶終端設備A的管理網頁上看到所有A、B、C的資訊,例如http://172.1.1.20可管理IP地址172.1.1.20下的所有副用戶終端設備。同理,依此方式,管理者可以直接至主用戶終端設備A上進行用戶終端設備A、B、C...等的管理。而在主用戶終端設備A進行命令時,亦會監視是否超出運作瓦數以防止整個系統斷電。 Continuing from the previous paragraph, when the primary user terminal device manages the secondary user terminal device, a virtual server (Virtual Server) function is automatically enabled, and a virtual port is added to include but not limited to the use of web pages (Web; port 80) management. For example, if the IP address of the primary user terminal device A is 172.1.1.20, the secondary user terminal device B obtains the IP address of a local area network terminal by DHCP from the user terminal device A, which is 192.168.0.31, the administrator The web address management method is http://IP:Port . For example, the URL of the main user terminal device A is http://172.1.1.20:30, and the port number 30 represents the port of the main user terminal device A, and the secondary The URL of user terminal device B is http://172.1.1.20: 31 , and the port number 31 represents the port of secondary user terminal device B. In other words, if there are other secondary user terminal devices C, D, E... , The port number will be 32, 33, 34... and so on. At the same time, because the information of the secondary user terminal devices B, C... has been recorded on the primary user terminal device A, when the administrator uses the WAN IP without adding a port number, the administrator can log on the primary user terminal device A You can see all the information of A, B, and C on the management webpage of. For example, http://172.1.1.20 can manage all the secondary user terminal devices under the IP address 172.1.1.20. Similarly, in this way, the administrator can directly go to the main user terminal device A to manage the user terminal devices A, B, C... and so on. When the main user terminal device A performs a command, it will also monitor whether the operating wattage is exceeded to prevent the entire system from powering down.

本發明之電源管理方法中,當主用戶終端設備的控制單元受電開機後,會開啟DHCP伺服器、智能搜索封包服務、簡單網路管理協議(Simple Network Management Protocol,SNMP)、CGI/XML等封包協議;自上層之乙太網路電源交換器處依連線狀態,設定整體迴路之一最大可耗用瓦數;接 著,主用戶終端設備進入偵測模式及掃瞄模式,以智能搜索找到轄下所有之副用戶終端設備,並取得副用戶終端設備所回報之通知訊息;以及記錄並計算轄下所有該副用戶終端設備之耗電瓦數、最大可能耗用瓦數、自該乙太網路電源交換器所能取得之最大瓦數,以做為每一個燈具電源啟動或關閉的依據。若無設定時,管理者可透過管理介面於系統建置時自行設定此一迴路的各負載,以做為建置完成後進行管理的依據。 In the power management method of the present invention, when the control unit of the main user terminal device is powered on, the DHCP server, intelligent search packet service, Simple Network Management Protocol (SNMP), CGI/XML and other packets will be turned on Protocol; From the upper-level Ethernet power switch according to the connection status, set the maximum power consumption of one of the overall circuits; At this time, the main user terminal device enters the detection mode and the scanning mode to find all the sub-user terminal devices under its smart search, and obtain the notification message reported by the sub-user terminal device; and record and calculate all the sub-users under it The power consumption of the terminal equipment, the maximum possible wattage, and the maximum wattage that can be obtained from the Ethernet power switch are used as the basis for turning on or turning off the power of each lamp. If there is no setting, the administrator can set each load of this loop through the management interface when the system is built, as the basis for management after the completion of the build.

請參考第4圖,當用戶終端設備24設定為副供電模式時,用戶終端設備24自己的電源管理單元247無法透過自己的控制單元242進行作動設定(例如:定時啟閉),需由上層之主用戶終端設備下令,且是依主用戶終端設備的定時啟閉功能,由主用戶終端設備下令開啟),或管理者透過虛擬伺服器的方式進行下令給控制單元242後方能做動。因此即使副用戶終端設備已取得電源,仍不能隨意供電開啟燈具。 Please refer to Figure 4, when the user terminal device 24 is set to the secondary power supply mode, the user terminal device 24's own power management unit 247 cannot perform the operation setting (for example: timing opening and closing) through its own control unit 242, and the upper layer The main user terminal device orders, and it is ordered by the main user terminal device to open according to the timing opening and closing function of the main user terminal device), or the administrator can order to the control unit 242 through the virtual server. Therefore, even if the secondary user terminal device has obtained power, it cannot turn on the light at will.

本發明在智能搜索時預留使用瓦數的參數,當使用固定燈具時,系統軔體會寫入該燈具的耗用最大瓦數。因此在主供電模式和副供電模式時,透過智能搜索管理封包詢問(即副用戶終端設備所回報之通知訊息)時,便可得知及統計該主用戶終端設備轄下所有副用戶終端設備的可能總瓦數。如此一來,可保障乙太網路電源交換器或供電器供電至主用戶終端設備的供電路由不會因臨時過載,導致從主用戶終端設備到下層之副用戶終端設備整個迴路遭到斷電,以免失去使用乙太網路供電燈具優於傳統交流電供電方式的目的。 The present invention reserves the parameter of using wattage during intelligent search. When a fixed lamp is used, the system firmware will write the maximum wattage consumed by the lamp. Therefore, in the primary power supply mode and the secondary power supply mode, through the intelligent search management packet query (that is, the notification message reported by the secondary user terminal equipment), you can know and count the statistics of all secondary user terminal equipment under the primary user terminal equipment. Possible total wattage. In this way, it can be ensured that the power supply route from the Ethernet power switch or power supply to the main user terminal device will not be temporarily overloaded, causing the entire loop from the main user terminal device to the lower secondary user terminal device to be powered off , So as not to lose the purpose of using Ethernet-powered lamps to be better than traditional AC power supply.

舉例而言,假設主用戶終端設備A系統耗用5瓦,燈具耗用25瓦,副用戶終端設備B亦同,具整路自主用戶終端設備A的受電連接埠起一直到 副用戶終端設備B的耗用約為60瓦。加上線損10瓦,因此需求為70瓦。從主用戶終端設備A的角度記錄如下:1.乙太網路電源交換器到主用戶終端設備A:自乙太網路電源交換器以IEEE802.3bt協議Class 4,Type 8協議成功,可取得瓦數72瓦;2.主用戶終端設備A到副用戶終端設備B:以IEEE協議自乙太網路電源交換器取得,對方資訊為Class 4,Type 8,最大瓦數為72瓦,保留線損20瓦,總計92瓦;3.副用戶終端設備B問副用戶終端設備B:以智能搜索協議溝通,發現下方有一台副用戶終端設備,該副用戶終端設備最小耗用瓦數為系統5瓦,燈具25瓦。 透過上面步驟,總計二個燈具,總共耗瓦數70瓦,仍有2瓦左右緩衝瓦數。而主用戶終端設備A的瓦數統計表如下:

Figure 108145477-A0305-02-0015-1
因此當管理者設置該串燈具,即用戶終端設備A、B均需要開啟時,主用戶終端設備A將先檢視系統總瓦數及緩衝瓦數。由於緩衝仍大於零,因此一但收到管理者命令此迴路所有燈具點亮時,主用戶終端設備A將下令給自己的燈具電源模組,使其開始供電給燈具,同一時間也利用智能搜索發出封包給副用戶終端設備B的控制單元:「Slave 01 POE燈具(電源)打開。」當副終端 設備B收到此一智能搜索的命令封包時,控制單元便會下令給燈具電源模組使其開始供電給燈具。 For example, suppose that the main user terminal device A system consumes 5 watts, and the lamps consume 25 watts. The same is true for the secondary user terminal device B. There is a whole path from the power receiving port of the autonomous user terminal device A to the secondary user terminal device B. The consumption is about 60 watts. With 10 watts of line loss, the demand is 70 watts. From the perspective of the main user terminal device A, the records are as follows: 1. Ethernet power switch to main user terminal device A: From the Ethernet power switch to IEEE802.3bt protocol Class 4, Type 8 protocol success, it can be obtained Wattage 72 watts; 2. Primary user terminal equipment A to secondary user terminal equipment B: Obtained from the Ethernet power switch using the IEEE protocol, the other party's information is Class 4, Type 8, and the maximum wattage is 72 watts, reserved line Loss 20 watts, a total of 92 watts; 3. Deputy user terminal device B asks the deputy user terminal device B: Communicate with the smart search protocol, and found that there is a secondary user terminal device below, the minimum power consumption of the secondary user terminal device is System 5 Watts, 25 watts for lamps. Through the above steps, a total of two lamps consume 70 watts in total, and there is still about 2 watts of buffer wattage. The wattage statistics table of the main user terminal device A is as follows:
Figure 108145477-A0305-02-0015-1
Therefore, when the administrator sets the string of lamps, that is, when both user terminal devices A and B need to be turned on, the main user terminal device A will first check the total system wattage and buffer wattage. Since the buffer is still greater than zero, once the administrator orders all lamps in this circuit to light up, the main user terminal device A will order its own lamp power module to start supplying power to the lamps, and at the same time it will also use smart search Send a packet to the control unit of the secondary user terminal device B: " Slave 01 POE lamp ( power ) is turned on. " When the secondary terminal device B receives this smart search command packet, the control unit will issue an order to the lamp power supply module. It starts to supply power to the lamps.

上述實施例僅有二個燈具,當有三個燈具時之實施例如下所述。假設此實施例中主用戶終端設備A的瓦數統計表如下:

Figure 108145477-A0305-02-0016-3
當管理者設置該串燈具,即用戶終端設備A、B、C均需要開啟時,主用戶終端設備A將先檢視系統總瓦數及緩衝瓦數。由於緩衝小於零,因此一但收到管理者命令時,主用戶終端設備A將提示管理者過載,亦或依指示順序進行開啟,如順開或逆開至系統上限。順開之指令為:「Master POE燈具電源打開」、「Slave 01 POE燈具電源打開」,此時因將超過迴路上限,因此副用戶終端設備C將不予開啟。而逆開之指令為:「Slave 02 POE燈具電源打開」、「Slave 01 POE燈具電源打開」,此時因將超過迴路上限,因此主用戶終端設備A將不予開啟。透過主用戶終端設備A的系統管理及智能搜索,可確保整個迴路不會因為過載斷電,仍能有效進行燈具控制。 The above embodiment has only two lamps, and the implementation example when there are three lamps is described below. Assume that the wattage statistics table of the main user terminal device A in this embodiment is as follows:
Figure 108145477-A0305-02-0016-3
When the administrator sets the string of lamps, that is, when the user terminal devices A, B, and C need to be turned on, the main user terminal device A will first check the total wattage and buffer wattage of the system. Since the buffer is less than zero, the main user terminal device A will prompt the manager to be overloaded once receiving the manager's command, or open it in the order of instructions, such as open or reverse to the upper limit of the system. Shun Kai's instructions are: " Master POE lamp power on " and " Slave 01 POE lamp power on ". At this time, the upper limit of the loop will be exceeded, so the secondary user terminal device C will not be turned on. The instructions for reverse opening are: " Slave 02 POE lamp power on ", " Slave 01 POE lamp power on ". At this time, since the upper limit of the loop will be exceeded, the main user terminal device A will not be turned on. Through the system management and intelligent search of the main user terminal device A, it can be ensured that the entire circuit will not be powered off due to overload, and the lamps can still be controlled effectively.

在一更進階的管理,例如利用輸出輸入介面之輸出介面,透過I2C、DALi、RS232等方式進行燈具亮度控制以及動態電源管理,例如:「Master POE燈電源打開50%」、「Slave 01 POE燈電源打開」、「Slave 02 POE燈電源打開」,透過主用戶終端設備A的控制單元計算在不使整個迴路超載的前題下進行即時管理。 A more advanced management, such as the use of the output interface of the input and output interface, through I2C, DALi, RS232 and other methods to control the brightness of the lamp and dynamic power management, such as: " Master POE lamp power on 50% ", " Slave 01 POE "Light power on " and " Slave 02 POE light power on " are calculated by the control unit of the master user terminal device A to perform real-time management without overloading the entire loop.

綜上所述,本發明所提供之一種乙太網路供電控制系統及其方法係利用乙太網路對每一用戶終端設備的外接裝置(如燈具)供電,且每一用戶終端設備係以串聯之方式與乙太網路電源交換器連接,並設定用戶終端設備為主供電模式或副供電模式,可同時受電及供電,以提供多層式供電方式。此外,本發明中副用戶終端設備所連接之外接裝置係由負責管理的主用戶終端設備控制,即使外接裝置已取得供電,仍需等待來自主用戶終端設備之指令,以便主用戶終端設備可最大程度掌控耗電總瓦數並進行管理,以避免用電量超過乙太網路電源交換器所提供之電力,造成整個迴路被斷電,因此本發明可避免乙太網路供電有別於傳統交流電供電之缺點,更解決了原先乙太網路受限於雙絞線之長度限制。 In summary, the Ethernet power supply control system and method provided by the present invention uses Ethernet to supply power to the external devices (such as lamps) of each user terminal device, and each user terminal device is It is connected in series with the Ethernet power switch, and the user terminal equipment is set to the main power supply mode or the auxiliary power supply mode, which can receive and supply power at the same time to provide a multi-layer power supply mode. In addition, the external device connected to the secondary user terminal device in the present invention is controlled by the main user terminal device responsible for management. Even if the external device has received power, it still needs to wait for instructions from the main user terminal device so that the main user terminal device can maximize The total power consumption is controlled and managed to avoid the power consumption exceeding the power provided by the Ethernet power switch, causing the entire circuit to be powered off. Therefore, the present invention can prevent the Ethernet power supply from being different from the traditional The shortcomings of AC power supply have solved the original limitation of the length of the twisted pair cable in the Ethernet network.

唯以上所述者,僅為本發明之較佳實施例而已,並非用來限定本發明實施之範圍。故即凡依本發明申請範圍所述之特徵及精神所為之均等變化或修飾,均應包括於本發明之申請專利範圍內。 Only the above are merely preferred embodiments of the present invention, and are not used to limit the scope of the present invention. Therefore, all equivalent changes or modifications made in accordance with the characteristics and spirit of the application scope of the present invention shall be included in the patent application scope of the present invention.

24:用戶終端設備 24: User terminal equipment

241:受電連接埠 241: Power receiving port

242:控制單元 242: control unit

243:供電連接埠 243: Power supply port

244:輸出輸入介面 244: Input and output interface

245:交換器處理單元 245: Switch Processing Unit

246:燈具電源模組 246: Lamp Power Module

247:電源管理單元 247: Power Management Unit

248:冗餘外部電源連接埠 248: Redundant external power port

26:外接裝置 26: External device

30:上一層設備 30: Upper level equipment

32:下一層設備 32: Next layer equipment

Claims (20)

一種乙太網路供電控制系統,包括一乙太網路電源交換器及串接其後之複數用戶終端設備,且該等用戶終端設備為串聯,該用戶終端設備中包括: 至少一受電連接埠,電性連接該乙太網路電源交換器或上一層之該用戶終端設備,以取得電源供應及傳送封包; 一輸出輸入介面,接收從外部設定之一供電模式,包括主供電模式或副供電模式; 一控制單元,連接該輸出輸入介面,依據該供電模式決定一路由模式,以接收IP位址或提供IP位址給後續串聯之其他用戶終端設備; 至少一供電連接埠,電性連接下一層之該用戶終端設備,以提供電源給後續串聯之其他用戶終端設備及傳送封包;以及 其中,當該供電模式為主供電模式時,該控制單元設定該路由模式為網路位址轉換路由(Network Address Translate Router, NAT Router)模式,提供IP位址給後續串聯之其他用戶終端設備,計算最佳供電方式並進行管理,以依據設定或排程對一外接裝置供電, 當該供電模式為副供電模式時,該控制單元之路由模式為交換(Switch)模式或橋接(Bridge)模式,接收設定為該主供電模式之上層之該用戶終端設備所傳送之IP位址並接受管理。 An Ethernet power supply control system includes an Ethernet power switch and a plurality of user terminal devices connected in series thereafter, and these user terminal devices are connected in series, and the user terminal devices include: At least one power receiving port is electrically connected to the Ethernet power switch or the user terminal equipment on the upper layer to obtain power supply and transmit packets; An output and input interface, receiving a power supply mode set from the outside, including the main power supply mode or the auxiliary power supply mode; A control unit, connected to the output and input interface, determines a routing mode according to the power supply mode to receive an IP address or provide an IP address to other user terminal equipment connected in series; At least one power supply port is electrically connected to the user terminal device of the next layer to provide power to other user terminal devices connected in series and transmit packets; and Wherein, when the power supply mode is the main power supply mode, the control unit sets the routing mode to the Network Address Translate Router (NAT Router) mode, and provides IP addresses to other user terminal devices connected in series subsequently, Calculate and manage the best power supply method to supply power to an external device according to the setting or schedule, When the power supply mode is the secondary power supply mode, the routing mode of the control unit is Switch mode or Bridge mode, and receives the IP address transmitted by the user terminal device set to the upper layer of the main power supply mode and Accept management. 如請求項1所述之乙太網路供電控制系統,更包括至少一交換器處理單元,電性連接該受電連接埠及該供電連接埠,以傳送封包。The Ethernet power supply control system according to claim 1, further comprising at least one switch processing unit, which is electrically connected to the power receiving port and the power supply port to transmit packets. 如請求項1所述之乙太網路供電控制系統,其中該主供電模式下,該控制單元將該受電連接埠設定為廣域網路(WAN)之DHCP用戶端,並將該供電連接埠設定為區域網路(LAN)之DHCP伺服器端。The Ethernet power supply control system according to claim 1, wherein in the main power supply mode, the control unit sets the power receiving port as a wide area network (WAN) DHCP client, and sets the power supply port to The DHCP server side of the local area network (LAN). 如請求項1所述之乙太網路供電控制系統,其中該副供電模式下,該控制單元將該受電連接埠及該供電連接埠設為區域網路之DHCP用戶端。The Ethernet power supply control system according to claim 1, wherein in the secondary power supply mode, the control unit sets the power receiving port and the power supply port as the DHCP client of the local network. 如請求項1所述之乙太網路供電控制系統,其中該輸出輸入介面包括一輸入指撥,當其為關閉狀態時為主供電模式,當該輸入指撥為開啟狀態時為副供電模式。The Ethernet power supply control system according to claim 1, wherein the input/output interface includes an input finger, when it is in the off state, the main power supply mode, and when the input finger is in the on state, it is the secondary power supply mode. 如請求項1所述之乙太網路供電控制系統,更包括一燈具電源模組,電性連接該控制單元,該外接裝置為燈具,透過該燈具電源模組與該用戶終端設備連接,該燈具電源模組傳送一控制訊號給該燈具。The Ethernet power supply control system according to claim 1, further comprising a lamp power module electrically connected to the control unit, the external device is a lamp, and the user terminal device is connected through the lamp power module. The lamp power module transmits a control signal to the lamp. 如請求項6所述之乙太網路供電控制系統,其中該外接裝置之做動設定係由具有該主供電模式之該用戶終端設備送出該控制訊號,或由一管理者透過虛擬伺服器之方式送出該控制訊號,通過該輸出輸入介面將該控制訊號傳送至該燈具電源模組。The Ethernet power supply control system according to claim 6, wherein the activation setting of the external device is sent by the user terminal device with the main power supply mode to send the control signal, or by a manager through a virtual server The control signal is sent in the method, and the control signal is transmitted to the lamp power module through the input and output interface. 如請求項6或7所述之乙太網路供電控制系統,其中該控制訊號包括緊急停止運作之訊號、定時起閉或預設排程。The Ethernet power supply control system according to claim 6 or 7, wherein the control signal includes an emergency stop signal, a timing start and close or a preset schedule. 如請求項1所述之乙太網路供電控制系統,更包括一冗餘外部電源連接埠,電性連接該控制單元,用以提供一外部電源。The Ethernet power supply control system described in claim 1 further includes a redundant external power connection port electrically connected to the control unit for providing an external power supply. 如請求項1所述之乙太網路供電控制系統,更包括一電源管理單元,電性連接該受電連接埠、 該供電連接埠及該控制單元,用於接收該受電連接埠之電源後提供該控制單元所需之低電壓,並透過該供電連接埠供電給後續串聯之其他用戶終端設備。The Ethernet power supply control system described in claim 1, further comprising a power management unit, which is electrically connected to the power receiving port, the power supply port and the control unit, for receiving power from the power receiving port and providing The low voltage required by the control unit is supplied to other user terminal equipment connected in series through the power supply port. 一種乙太網路供電控制方法,包括一乙太網路電源交換器及串接其後之複數用戶終端設備,且該等用戶終端設備為串聯,該控制方法包括下列步驟: 將與該乙太網路電源交換器連接之該用戶終端設備設定為一主供電模式之一主用戶終端設備,並將串聯於該主用戶終端設備後之其餘用戶終端設備設定為一副供電模式之至少一副用戶終端設備; 該乙太網路電源交換器供電後,該等用戶終端設備之一控制單元依據一輸出輸入介面所設定之一供電模式,判斷本身是該主用戶終端設備或該副用戶終端設備,並依據該供電模式決定一路由模式,以接收IP位址或提供IP位址給後續串聯之其他用戶終端設備;以及 若該用戶終端設備為該主用戶終端設備時,該控制單元設定一路由模式為網路位址轉換路由(Network Address Translate Router, NAT Router)模式,提供IP位址給後續串聯之其他副用戶終端設備,計算最佳供電方式並進行管理,以依據設定或排程對一外接裝置供電, 若該用戶終端設備為副用戶終端設備時,該控制單元之該路由模式為交換(Switch)模式或橋接(Bridge)模式,接收上層之該主用戶終端設備所傳送之IP位址並接受管理。 An Ethernet power supply control method includes an Ethernet power switch and a plurality of user terminal devices connected in series thereafter, and the user terminal devices are connected in series. The control method includes the following steps: Set the user terminal device connected to the Ethernet power switch to a main power supply mode and one main user terminal device, and set the remaining user terminal devices connected in series to the main user terminal device to a secondary power supply mode At least one pair of user terminal equipment; After the Ethernet power switch is powered, a control unit of one of the user terminal devices determines whether it is the primary user terminal device or the secondary user terminal device according to a power supply mode set by an output and input interface, and based on the The power supply mode determines a routing mode to receive IP addresses or provide IP addresses to other user terminal devices connected in series; and If the user terminal device is the main user terminal device, the control unit sets a routing mode to the Network Address Translate Router (NAT Router) mode, and provides IP addresses to other secondary user terminals connected in series. Equipment, calculate and manage the best power supply method to supply power to an external device according to the setting or schedule, If the user terminal device is a secondary user terminal device, the routing mode of the control unit is a switch mode or a bridge mode, and the IP address transmitted by the upper layer main user terminal device is received and managed. 如請求項11所述之乙太網路供電控制方法,其中該主用戶終端設備之該控制單元將一受電連接埠設定為廣域網路之DHCP用戶端,並將一供電連接埠設定為區域網路之DHCP伺服器端。The Ethernet power supply control method according to claim 11, wherein the control unit of the main user terminal device sets a power receiving port as a DHCP client of a wide area network, and sets a power supply port as a local network The DHCP server side. 如請求項11所述之乙太網路供電控制方法,其中該副用戶終端設備之該控制單元將一受電連接埠及一供電連接埠設為區域網路之DHCP用戶端。The Ethernet power supply control method according to claim 11, wherein the control unit of the secondary user terminal device sets a power receiving port and a power supply port as a DHCP client of the local network. 如請求項11所述之乙太網路供電控制方法,其中該輸出輸入介面包括一輸入指撥,當其為關閉狀態時為主供電模式,當該輸入指撥為開啟狀態時為副供電模式。The Ethernet power supply control method according to claim 11, wherein the input/output interface includes an input dial, when it is in the off state, the main power supply mode, and when the input dial is in the on state, it is the secondary power supply mode. 如請求項11所述之乙太網路供電控制方法,其中該等用戶終端設備所連接之一外接裝置為燈具,其做動設定係由該主用戶終端設備送出該控制訊號,或由一管理者透過一虛擬伺服器之方式送出該控制訊號,通過該輸出輸入介面將該控制訊號傳送至該燈具。The Ethernet power supply control method according to claim 11, wherein one of the external devices connected to the user terminal equipment is a lamp, and its activation setting is sent by the main user terminal equipment to the control signal, or managed by a The control signal is sent through a virtual server, and the control signal is sent to the lamp through the input and output interface. 如請求項15所述之乙太網路供電控制方法,其中該控制訊號包括緊急停止運作之訊號控制訊號包括緊急停止運作之訊號、定時起閉或預設排程。The Ethernet power supply control method according to claim 15, wherein the control signal includes an emergency stop operation signal. The control signal includes an emergency stop operation signal, timing on/off or preset schedule. 如請求項11所述之乙太網路供電控制方法,更包括下列步驟: 該主用戶終端設備取得該乙太網路電源交換器所提供之電源後,定時以智能搜索(smart discovery)搜尋是否有至少一該副用戶終端設備之封包,若有,則提供電源並以DHCP方式提供IP位址; 該副用戶終端設備取得IP位址後,以智能搜索回送一通知訊息給該主用戶終端設備,該通知訊息中包括所取得之IP位址、媒體存取控制位址(Media Access Control Address, MAC)、設備名稱及類型、需求供電瓦數參數、目前燈具狀態、目前燈具耗用電源瓦數等;以及 該主用戶終端設備中包括一DHCP表,當收到該副用戶終端設備回送之該通知訊息後,比對該通知訊息之內容與該DHCP表是否相符,若皆相符,則該主用戶終端設備將該副用戶終端設備儲存並列管。 The Ethernet power supply control method described in claim 11 further includes the following steps: After the primary user terminal device obtains the power provided by the Ethernet power switch, it periodically uses smart discovery to search for at least one packet of the secondary user terminal device. If so, it provides power and uses DHCP Provide IP address by way; After the secondary user terminal device obtains the IP address, it sends a notification message back to the primary user terminal device through a smart search. The notification message includes the obtained IP address and the Media Access Control Address (MAC). ), the name and type of the equipment, the parameters of the required power supply wattage, the current status of the lamp, the current wattage consumption of the lamp, etc; The primary user terminal equipment includes a DHCP table. After receiving the notification message sent back by the secondary user terminal equipment, compare whether the content of the notification message matches the DHCP table. If they are consistent, the primary user terminal equipment Store and manage the secondary user terminal equipment. 如請求項17所述之乙太網路供電控制方法,其中該主用戶終端設備將該副用戶終端設備列管後,更自動開啟一虛擬伺服器(Virtual Server)功能,新增一虛擬連接埠以進行網頁(Web)管理。The Ethernet power supply control method according to claim 17, wherein after the primary user terminal device manages the secondary user terminal device, it automatically turns on a virtual server function and adds a virtual port For web management. 如請求項17所述之乙太網路供電控制方法,其中該通知訊息中更包括該副用戶終端設備之耗電瓦數,以供該主用戶終端設備進行管理。The Ethernet power supply control method according to claim 17, wherein the notification message further includes the power consumption of the secondary user terminal device for the management of the primary user terminal device. 如請求項17所述之乙太網路供電控制方法,其中該主用戶終端設備進行電源管理之流程更包括下列步驟: 該控制單元受電開機後,開啟DHCP伺服器、智能搜索封包服務、簡單網路管理協議(Simple Network Management Protocol, SNMP)、CGI/XML等封包協議; 自上層之該乙太網路電源交換器處依連線狀態,設定整體迴路之一最大可耗用瓦數; 進入偵測模式及掃瞄模式,以智能搜索找到轄下所有之該副用戶終端設備,並取得該通知訊息;以及 記錄並計算轄下所有該副用戶終端設備之耗電瓦數、最大可能耗用瓦數、自該乙太網路電源交換器所能取得之最大瓦數。 The Ethernet power supply control method according to claim 17, wherein the process of the main user terminal device for power management further includes the following steps: After the control unit is powered on, it turns on the DHCP server, intelligent search packet service, Simple Network Management Protocol (SNMP), CGI/XML and other packet protocols; According to the connection status of the Ethernet power switch on the upper level, set the maximum power consumption of one of the overall circuits; Enter the detection mode and the scan mode, find all the secondary user terminal devices under your jurisdiction with smart search, and get the notification message; and Record and calculate the power consumption wattage, the maximum possible wattage consumption, and the maximum wattage that can be obtained from the Ethernet power switch of all the secondary user terminal equipment under its jurisdiction.
TW108145477A 2019-12-12 2019-12-12 Method and apparatus for power over ether control system TWI713324B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108145477A TWI713324B (en) 2019-12-12 2019-12-12 Method and apparatus for power over ether control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108145477A TWI713324B (en) 2019-12-12 2019-12-12 Method and apparatus for power over ether control system

Publications (2)

Publication Number Publication Date
TWI713324B true TWI713324B (en) 2020-12-11
TW202123652A TW202123652A (en) 2021-06-16

Family

ID=74669993

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108145477A TWI713324B (en) 2019-12-12 2019-12-12 Method and apparatus for power over ether control system

Country Status (1)

Country Link
TW (1) TWI713324B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9531551B2 (en) * 2014-08-26 2016-12-27 Cisco Technology, Inc. Dynamically configurable power-over-ethernet apparatus and method
EP1709824B1 (en) * 2003-12-08 2018-06-06 Airtight Networks, Inc. Method and system for monitoring a selected region of an airspace associated with local area networks of computing devices
US20180278694A1 (en) * 2012-01-09 2018-09-27 May Patents Ltd. System and method for server based control

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1709824B1 (en) * 2003-12-08 2018-06-06 Airtight Networks, Inc. Method and system for monitoring a selected region of an airspace associated with local area networks of computing devices
US20180278694A1 (en) * 2012-01-09 2018-09-27 May Patents Ltd. System and method for server based control
US20190109904A1 (en) * 2012-01-09 2019-04-11 May Patents Ltd. System and method for server based control
US9531551B2 (en) * 2014-08-26 2016-12-27 Cisco Technology, Inc. Dynamically configurable power-over-ethernet apparatus and method

Also Published As

Publication number Publication date
TW202123652A (en) 2021-06-16

Similar Documents

Publication Publication Date Title
JP6058538B2 (en) Management of Power-over-Ethernet devices
US8375232B2 (en) Power management for power-over-ethernet-capable switch
US10285125B2 (en) Method of operating a communication device operable in an active mode and in an idle mode, a computer program product for executing the method, and the communication device operable in an active mode and in an idle mode
WO2018214590A1 (en) Power sourcing management method, device and system
EP2748975B1 (en) Electrical lighting system power control
US11726535B2 (en) Providing power to a server
US20070135086A1 (en) Providing detailed information on powered device in system for supplying power over communication link
US20110126035A1 (en) Energy conservation control method for network system
CN106330468B (en) A kind of Power over Ethernet device and Power over Ethernet method
US20240031179A1 (en) Method and system for managing power delivery and device operation over a meshed power over ethernet network
US10887116B2 (en) Ethernet power distribution
CN108925023A (en) A kind of wireless intelligent control system illuminated suitable for large space, big quantity
JP2013535731A (en) Energy saving circuit, trunk configuration and energy saving method for mains powered equipment
CN105703618A (en) Circuit for realizing large-power power supply by using routine POE and implementation method
TWI713324B (en) Method and apparatus for power over ether control system
US8219691B1 (en) Methods and apparatus for remotely waking up a computer system on a computer network
CN110602821B (en) POE power supply-based light control system, method and storage medium
CN112751751A (en) Gateway equipment and energy system
CN107708195A (en) A kind of method and system for realizing AP Intelligent energy-savings
CN210112026U (en) POE signal switching equipment
CN109379279A (en) A kind of Intelligent gateway system
Luo et al. Energy-efficient flow routing and scheduling in hybrid data center networks
CN218217403U (en) Communication protocol interface control system and electronic equipment
CN115442165B (en) Power over Ethernet architecture and power distribution method thereof
CN210693959U (en) Embedded serial port-to-Ethernet communication module