201023547 六、發明說明: 【發明所屬之技術領域】 本發明係關於一種控制系統及其控制方法,尤指一種 適用於居家環境之居家控制系統及其控制方法。 5 【先前技術】 置身科技日新月異的時代,將居家環境中的家電用品 整合為一居家控制系統可提供更多樣的服務及更舒適、方 φ 便的日常生活。 圖1係習知之一居家控制系統之示意圖,其主要由通訊 10單元11、感測單元12、無線單元13、以及光源控制單元14 對居豕狀況進行偵測 '控制及回報,經溝通介面17對輸出/ 入單7G15及遠端監控單元18作溝通;由於該系統複雜且控 制單7L多,欲對任何一裝置進行控制必須經過多層介面; 而由於控制單元多且傳輸介面不統一,使得該系統的擴充 15性低,使用者無法任意將新裝置加入該系統;且傳輪介面 料統-使得各控制單元必須提供不同的傳輸介面以連接 各裝置,也使得每個控制單元的工作較為複雜。 由此可知,習見的居家控制系統中仍有改善空間設 計-適用於居家環境的控制系統是有其必要性的。 20 【發明内容】 於上述習知的居家控制系統複雜擴充性低,故本 發明提供—種單—介面且擴充性高、適用㈣家環境之^ 家控制系統及其控制方法,其係經由力伽無線網;J 家環境中的裝置進行控制;ttZigBee(群蜂)是—種無線 201023547 路協疋纟要由ZlgBee聯盟制定其底層是採用 讓·15·4 #準規制媒體存取層與實體層,主要特色 有低速、低耗電、支援大量網路節點、支援多種網路拓撲; 由於Zig曰Be:為-標準化的無線通訊協定,且於傳輸範圍内 5支援大量節點’因此本發明之系統具有高擴充性,使用者 可任意將支援ZigBee的不同廠商的家電產品設置於系統 内。 明之主要目的係在提供—種居家控制系統及其控 制方法,使用者可於-控制中心單元下達所需服務,經由 10 - ZigBee掌控單it對至少—zigBee裝置進行控制。 依據本發明之-特色,本發明係提出一種居家控制系 統,其包括:一控制中心單元、一 ZigBee掌控單元、以及 至少-ZigBee裝置單元。上述控制中心單元用以發送控制 訊息;ZigBee掌控單元用以接收及處理控制中心單元所發 15送之控制訊息,並以廣播通訊的方式發送控制訊息;至少 _ ZigBee裝置單元可經ZigBee無線網路接收由zigBee掌控 ® 單元所發送之控制訊息,由控制訊息的ID判斷是否對應於 本身,及依相對應之控制訊息之内容進行動作。 依據本發明之另一特色,本發明係提出一種居家控制 20 系統之控制方法,包括下列步驟:(A)控制中心單元發送一 控制訊息至ZigBee掌控單元;(B)ZigBee掌控單元接收並處 理控制訊息,然後以廣播通訊的方式發送控制訊息;(C)至 〉'一 ZigBee裝置單元接收控制訊息,並由控制訊息的id判 斷是否為對應於本身之控制訊息,若否,則不進行動作; 201023547 以及(D)於步驟(C)中,若至少一 ZigBee裝置單元判斷所接收 之控制訊息為一對應於本身之控制訊息,則依控制訊息進 行動作。 【實施方式】 5 為能讓讀者更瞭解本發明之技術内容,特舉較佳實施 例說明如下,請先參照圖2,圖2係本發明一較佳實施例之 居家控制系統之示意圖,包括ZigBee掌控單元21、至少一 ZigBee裝置單元4、以及控制中心單元3 ;其中zigBee掌 ’ 控單元21用以接收及處理控制訊息與回報訊息,及以廣播 10 通訊的方式發送控制訊息與回報訊息;至少一 zigBee裝置 單元4包括ZigBee裝置41,用以依據控制訊息的内容進行 動作並發送回報訊息、以及ZigBee通訊單元22,用以接收 控制訊息並由控制訊息的ID判斷是否對應於ZigBee裝置 41,解開ZigBee封包並將控制訊息的内容傳送至ZigBee 15裝置41,以及接收ZigBee裝置41傳送之回報訊息,將其 包裝成ZigBee封包並發送至zigBee掌控單元21。 > 前述控制中心單元3可為個人電腦31或個人數位助理 (Personal Digital Assistant ’ PDA)32,其中包括 zigBee 通 訊單元22,用以將控制訊息包裝成zigBee封包並以以邙“ 2〇無線網路發送至ZigBee掌控單元2卜以及接收回報訊息並 解開ZigBee封包;控制中心單元3亦可為遠端裝置單元 33,其中包括遠端裝置332,用以下達控制訊息、以及轉換 裝置331,其經由網際網路連接至遠端裝置332,用以將遠 端裝置332所下達之控制訊息轉換成ZigBee封包並以 6 201023547201023547 VI. Description of the invention: [Technical field to which the invention pertains] The present invention relates to a control system and a control method thereof, and more particularly to a home control system and a control method thereof suitable for use in a home environment. 5 [Prior Art] In the era of ever-changing technology, integrating home appliances in the home environment into a home control system can provide more kinds of services and more comfortable and comfortable daily life. FIG. 1 is a schematic diagram of a home control system of the prior art. The communication unit 10, the sensing unit 12, the wireless unit 13, and the light source control unit 14 detect and control the living conditions, and the communication interface 17 The output/incoming single 7G15 and the remote monitoring unit 18 communicate; since the system is complicated and the control unit is more than 7L, the control of any device must pass through the multi-layer interface; and because the control unit is large and the transmission interface is not uniform, the The expansion of the system is low, the user can not arbitrarily add new devices to the system; and the transmission system - so that each control unit must provide different transmission interfaces to connect the devices, and make the operation of each control unit more complicated. . It can be seen that there is still room for improvement in the home control system that I have seen – it is necessary to apply a control system for the home environment. [Summary of the Invention] The above-mentioned conventional home control system has low complexity and expandability, so the present invention provides a single-interface and high-expansion, suitable (4) home environment control system and its control method, which is based on force Gamma wireless network; device control in J home environment; ttZigBee (group bee) is a kind of wireless 201023547. The association is to be developed by ZlgBee Alliance. The bottom layer is the use of Jean·15·4 #quasi-regulated media access layer and entity. Layer, the main features are low speed, low power consumption, support a large number of network nodes, support a variety of network topologies; because Zig曰Be: is a standardized wireless communication protocol, and supports a large number of nodes in the transmission range 5' The system is highly expandable, and the user can set the home appliances of different manufacturers supporting ZigBee to the system at will. The main purpose of Ming is to provide a home control system and its control method. The user can provide the required service in the control center unit, and control the at least-zigBee device through the 10-ZigBee control unit. In accordance with the features of the present invention, the present invention provides a home control system comprising: a control center unit, a ZigBee control unit, and at least a -ZigBee device unit. The control center unit is configured to send a control message; the ZigBee control unit is configured to receive and process the control message sent by the control center unit, and send the control message by means of broadcast communication; at least the _ZigBee device unit can pass the ZigBee wireless network. Receive the control message sent by the zigBee control unit, determine whether it corresponds to itself by the ID of the control message, and operate according to the content of the corresponding control message. According to another feature of the present invention, the present invention provides a method for controlling a home control system 20, comprising the steps of: (A) the control center unit sends a control message to the ZigBee control unit; and (B) the ZigBee control unit receives and processes the control. The message is then sent to the control message by means of broadcast communication; (C) to > a ZigBee device unit receives the control message, and the id of the control message determines whether it is a control message corresponding to itself, and if not, does not perform an action; 201023547 and (D) in step (C), if at least one ZigBee device unit determines that the received control message is a control message corresponding to itself, it operates according to the control message. [Embodiment] 5 In order to provide the reader with a better understanding of the technical content of the present invention, a preferred embodiment will be described below. Please refer to FIG. 2, which is a schematic diagram of a home control system according to a preferred embodiment of the present invention, including The ZigBee control unit 21, the at least one ZigBee device unit 4, and the control center unit 3; wherein the zigBee control unit 21 is configured to receive and process control messages and report messages, and to send control messages and report messages by means of broadcast 10 communication; At least one zigBee device unit 4 includes a ZigBee device 41 for operating according to the content of the control message and transmitting a report message, and a ZigBee communication unit 22 for receiving the control message and determining whether the ZigBee device 41 corresponds to the ID of the control message. The ZigBee packet is unpacked and the content of the control message is transmitted to the ZigBee 15 device 41, and the reward message transmitted by the ZigBee device 41 is received, packaged into a ZigBee packet and sent to the zigBee control unit 21. > The aforementioned control center unit 3 may be a personal computer 31 or a Personal Digital Assistant 'PDA PDA 32, which includes a zigBee communication unit 22 for packaging control messages into zigBee packets and 邙" 2" wireless network The road is sent to the ZigBee control unit 2 and receives the report message and unlocks the ZigBee packet; the control center unit 3 can also be the remote device unit 33, including the remote device 332, with the following control message, and the conversion device 331 Connected to the remote device 332 via the Internet to convert the control message issued by the remote device 332 into a ZigBee packet and to 6 201023547
ZlgBee無線網路發送至zigBee掌控單元2i,以及接收回 報讯息並解開ZigBee封包然後傳送至遠端裝置332。 圖3進一步顯示本發明一較佳實施例之居家控制系統 之ZigBee掌控單元21及控制中心單元3兩者間之溝通示 5意圖j中控制中心單元3及ZigBee掌控單元21皆包括 溝通模組5,其係用以解讀例如SAANET協定之一特定 協定的封包。 4參照圖4 ’圖4係本發明-較佳實施例之居家控制 系統之控制方法之流程圖,併請參照圖2所示之居家控制 1〇系統,當使用者於個人電腦3卜或個人數位助理32下達所 需服務而求(步驟S101),ZigBee通訊單元22將服務需求之 控制訊息轉換成zigBee封包(步驟sl〇2),然後個人電腦 31 ,或個人數位助理32經由ZigBee無線網路將控制訊息 傳送至ZigBee掌控單元21(步驟sl〇3);當使用者於遠端裝 15置332下達所需服務需求(步驟Sl〇4),轉換裝置331蔣服 務需求之控制訊息轉換成ZigBee封包,然後經·無 0 線網路將控制訊息傳送至ZigBee掌控單元21(步驟sl〇5); ZigBee掌控單元2丨接收及處理來自控制中心單元3之控制 訊息,並以廣播通訊的方式經ZigBee無線網路發送控^訊 20息(时步驟S106);至少- ZigBee裝置單元4令之叫心通 訊單元22接收控制訊息並由控制訊息的ID判斷是否為對 應於本身(步驟Sl〇7);若否,則不進行動作(步驟S⑽): 若=斷為對應於本身,_開ZigBee封包並將控制訊息的 内谷傳送至ZigBee裝置41(步驟S109); ZigBee裝置41依 201023547 控制訊息的内容進行動作並傳送一動作結果之回報訊息至The ZlgBee wireless network is sent to the zigBee control unit 2i, and receives the return message and unpacks the ZigBee packet and transmits it to the remote device 332. 3 further shows a communication between the ZigBee control unit 21 and the control center unit 3 of the home control system according to a preferred embodiment of the present invention. The control center unit 3 and the ZigBee control unit 21 both include the communication module 5. It is used to interpret packets such as a specific agreement of the SAANET Agreement. 4, FIG. 4 is a flow chart of a method for controlling a home control system according to the present invention - a preferred embodiment, and referring to the home control system shown in FIG. 2, when the user is on a personal computer 3 or a personal The digital assistant 32 requests the service (step S101), the ZigBee communication unit 22 converts the control request of the service request into a zigBee packet (step sl2), and then the personal computer 31 or the personal digital assistant 32 via the ZigBee wireless network. The control message is transmitted to the ZigBee control unit 21 (step s1〇3); when the user releases the required service request at the remote device 15 (step S10), the conversion device 331 changes the control message of the service request into ZigBee. The packet is then transmitted to the ZigBee control unit 21 via the non-wireless network (step sl5); the ZigBee control unit 2 receives and processes the control message from the control center unit 3, and transmits and communicates by means of broadcast communication. The ZigBee wireless network sends a control message (at step S106); at least the ZigBee device unit 4 causes the call center communication unit 22 to receive the control message and determine whether it corresponds to itself by the ID of the control message (step S1) 7); if not, no action is taken (step S(10)): If = is broken to correspond to itself, _open ZigBee packet and transmit the inner valley of the control message to ZigBee device 41 (step S109); ZigBee device 41 is controlled according to 201023547 The content of the message acts and transmits a return message of the result of the action to
ZigBee通訊單元22(步驟S110) ; ZigBee通訊單元22將回 5 10 15 報訊息包裝成ZigBee封包並以ZigBee無線網路發送至 ZigBee掌控單元η(步驟Sm) ; ZigBee掌控單元2丨接收 及處理回報訊息,並經由ZigBee無線網路將回報訊息發送 至控制中心單元3(步驟S112);控制中心單元3接收=報訊 息(步驟S113)。 請參照圖5,圖5係本發明一較佳實施例之居家控制 系統之多段式窗簾控制器系統之示意圖。其中ZigBee裝置 單元4之ZigBee裝置為電動窗簾42,如此,使用者可以根 據個人所需,由個人電腦3 1、個人數位助理32、或遠端裝 置332下達服務需求以分別或同時對每個電動窗簾作控 制。 上述實施例僅係為了方便說明而舉例而已,本發明所 主張之權利範圍自應以申請專利範圍所述為準,而非僅限 於上述實施例。 【圖式簡單說明】 圖1係習知之一居家控制系統之示意圖β 圖2係本發明一較佳實施例之居家控制系統之示意圖。 圖3係本發明一較佳實施例之居家控制系統之zigBee掌控 單元及控制中心單元之溝通示意圖。 圖4係本發明一較佳實施例之居家控制系統之控制方法之 流程圖。 20 201023547 圖5係本發明一較佳實施例之居家控制系統之多段式窗簾 控制器系統之示意圖。 【主要元件符號說明】 通訊單元11 感測單元12 無線單元13 光源控制單元14 輸出/入單元15 處理單元16 溝通介面17 遠端監控單元18 ZigBee掌控單元21 ZigBee通訊單元22 控制中心單元3 個人電腦31 個人數位助理32 遠端裝置單元33 轉換裝置331 遠端裝置332 ZigBee裝置單元4 ZigBee裝置 41 電動窗簾42 溝通模組5 步驟S101〜113ZigBee communication unit 22 (step S110); ZigBee communication unit 22 packages the message into a ZigBee packet and sends it to the ZigBee control unit η on the ZigBee wireless network (step Sm); the ZigBee control unit 2 receives and processes the report. The message is sent to the control center unit 3 via the ZigBee wireless network (step S112); the control center unit 3 receives the message (step S113). Please refer to FIG. 5. FIG. 5 is a schematic diagram of a multi-segment curtain controller system of a home control system according to a preferred embodiment of the present invention. The ZigBee device of the ZigBee device unit 4 is an electric curtain 42. Thus, the user can provide service requirements by the personal computer 31, the personal digital assistant 32, or the remote device 332 according to individual needs, respectively, for each electric device. Curtains are controlled. The above-described embodiments are merely examples for the convenience of the description, and the scope of the claims is intended to be limited by the scope of the claims. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram of a home control system of the prior art. FIG. 2 is a schematic diagram of a home control system in accordance with a preferred embodiment of the present invention. 3 is a schematic diagram of communication between a zigBee control unit and a control center unit of a home control system according to a preferred embodiment of the present invention. 4 is a flow chart showing a method of controlling a home control system in accordance with a preferred embodiment of the present invention. 20 201023547 Figure 5 is a schematic illustration of a multi-segment curtain controller system for a home control system in accordance with a preferred embodiment of the present invention. [Main component symbol description] Communication unit 11 Sensing unit 12 Wireless unit 13 Light source control unit 14 Output/input unit 15 Processing unit 16 Communication interface 17 Remote monitoring unit 18 ZigBee control unit 21 ZigBee communication unit 22 Control center unit 3 Personal computer 31 Personal digital assistant 32 Remote device unit 33 Conversion device 331 Remote device 332 ZigBee device unit 4 ZigBee device 41 Electric curtain 42 Communication module 5 Steps S101 to 113