TWI713324B - Method and apparatus for power over ether control system - Google Patents
Method and apparatus for power over ether control system Download PDFInfo
- 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
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
本發明係有關一種乙太網路供電設計,特別是指乙太網路供電控制系統及其方法。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
有鑑於此,本發明即提出一種乙太網路供電控制系統及其方法,以有效解決上述該等問題,具體架構及其實施方式將詳述於下: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
以第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
用戶終端設備之內部方塊圖請參考第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
輸出輸入介面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/
因此,在主供電模式下,控制單元242會將受電連接埠241設定為廣域網路(WAN)之DHCP用戶端,並將供電連接埠243設定為區域網路(LAN)之DHCP伺服器端。而在副供電模式下,控制單元242將受電連接埠241及供電連接埠243設為區域網路之DHCP用戶端。
Therefore, in the main power supply mode, the
受電連接埠241使用跟管理者相同的網路網段,直接接受管理者的控制,管理者可使用Web流覽器、PLANET智能搜索、RESTful或XML等
方式來進行這台主供電模式的用戶終端設備24的控制,及透過網路位址轉換路由(NAT Router)的特性提供路由的功能,而不用將後端所串連的副用戶終端裝置全部都透通交由管理者個別管理。因此管理者可以下類似的命令:「Master 01後面的Slave 01、Slave 02 POE燈具(電源)全部打開。」假設本機為主供電模式的主用戶終端設備,當其受電連接埠241收到此命令時,控制單元242可轉發命令給後面串連的下一層設備32接受相關的指令,包括燈具電源的開和關,但不在此限,更進一步,可透過智能搜索或其他指令,搭配輸出輸入介面244的輸出介面,可進行調光亦或是變換不同的顏色。
The
用戶終端設備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
第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
本發明之電源管理方法中,當主用戶終端設備的控制單元受電開機後,會開啟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
本發明在智能搜索時預留使用瓦數的參數,當使用固定燈具時,系統軔體會寫入該燈具的耗用最大瓦數。因此在主供電模式和副供電模式時,透過智能搜索管理封包詢問(即副用戶終端設備所回報之通知訊息)時,便可得知及統計該主用戶終端設備轄下所有副用戶終端設備的可能總瓦數。如此一來,可保障乙太網路電源交換器或供電器供電至主用戶終端設備的供電路由不會因臨時過載,導致從主用戶終端設備到下層之副用戶終端設備整個迴路遭到斷電,以免失去使用乙太網路供電燈具優於傳統交流電供電方式的目的。 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的瓦數統計表如下:
上述實施例僅有二個燈具,當有三個燈具時之實施例如下所述。假設此實施例中主用戶終端設備A的瓦數統計表如下:
在一更進階的管理,例如利用輸出輸入介面之輸出介面,透過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)
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)
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 |
-
2019
- 2019-12-12 TW TW108145477A patent/TWI713324B/en active
Patent Citations (4)
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 |