TW201642712A - System and method of entry sensing and wireless control of internal lighting - Google Patents

System and method of entry sensing and wireless control of internal lighting Download PDF

Info

Publication number
TW201642712A
TW201642712A TW105104471A TW105104471A TW201642712A TW 201642712 A TW201642712 A TW 201642712A TW 105104471 A TW105104471 A TW 105104471A TW 105104471 A TW105104471 A TW 105104471A TW 201642712 A TW201642712 A TW 201642712A
Authority
TW
Taiwan
Prior art keywords
module
wireless communication
sensing
light
door
Prior art date
Application number
TW105104471A
Other languages
Chinese (zh)
Other versions
TWI584690B (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 英華達股份有限公司
Publication of TW201642712A publication Critical patent/TW201642712A/en
Application granted granted Critical
Publication of TWI584690B publication Critical patent/TWI584690B/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

This present disclosure provides a system of entry sensing and wireless control of internal lighting and a method thereof, wherein the system of entry sensing and wireless control of internal lighting comprises: a first wireless communication module, a detection module, a control module, a second communication module and a sensing module. When the detection module detects the key is inserting into the lock aperture of outside door, and then the door is opening, the first wireless communication module will be triggered and send a signal to trigger the second wireless communication module. When the second communication module receives the signal, the control module contacts the indoor environment and determines if turning on the internal light according to sensing the internal light intensity or whether other existing people whom is asleep, to avoid wasting the energy and interrupting others' rest, and fulfill the smart home conception.

Description

基於無線通訊之門控燈光開關之系統及其方法System and method for gated light switch based on wireless communication

本發明關於一種智慧家居領域,尤其是一種基於無線通訊之門控燈光開關之系統及其方法。The invention relates to a smart home field, in particular to a system and method for gated light switch based on wireless communication.

隨著科學技術的發展,人們的工作節奏和壓力都很大,每天可能都會很晚回家。而每晚回家開門後都要摸黑去開家裡的燈,有的時候經常會發生一些碰擦或者意外。With the development of science and technology, people's work rhythm and pressure are very big, and they may come home very late every day. And every night after going home to open the door, you have to go black to open the lights at home, and sometimes there are some bumps or accidents.

中國專利公告號為CN 203755996U的實用新型專利公開了一種門控燈光開關系統,該門控燈光開關系統包括一個位於門鎖槽內部的壓力感應開關,壓力感應開關連接燈,藉由門的開閉來控制燈的開閉,避免了夜晚回家時摸黑的不便,但是,同時引入了一個新的問題,就是白天室內的光線充足,光照(Illuminance)強度較大時,當開門進入室內時,燈仍然會打開,造成電能的浪費。The utility model patent of CN 203755996U discloses a door-controlled light switch system, which comprises a pressure-sensing switch located inside the door lock slot, and the pressure-sensing switch is connected with the lamp, by opening and closing the door. Controlling the opening and closing of the lights avoids the inconvenience of blacking at night, but at the same time introduces a new problem, that is, when the indoor light is sufficient during the daytime, when the intensity of Illuminance is large, when the door is opened into the room, the light will still be Open, causing waste of electrical energy.

本發明的目的在於提供一種基於無線通訊之門控燈光開關之系統及其方法,以解決無法智慧判斷是否需要開燈的問題。The object of the present invention is to provide a system and method for gated light switch based on wireless communication, so as to solve the problem that it is impossible to intelligently judge whether it is necessary to turn on the light.

為了達到上述目的,本發明提供了一種基於無線通訊之門控燈光開關之系統及方法,其中,一種基於無線通訊之門控燈光開關之系統包括:In order to achieve the above object, the present invention provides a system and method for gated light switches based on wireless communication, wherein a system for gated light switches based on wireless communication includes:

偵測模組,偵測模組用於判斷門是否是從室外被打開;a detection module, the detection module is used to determine whether the door is opened from the outside;

第一無線通訊模組,當偵測模組偵測到門是從室外被打開時,第一無線通訊模組被觸發,並發出觸發訊號;The first wireless communication module, when the detection module detects that the door is opened from the outside, the first wireless communication module is triggered, and sends a trigger signal;

第二無線通訊模組,第二無線通訊模組用於接收觸發訊號;a second wireless communication module, wherein the second wireless communication module is configured to receive the trigger signal;

感應模組,第二無線通訊模組在接收到觸發訊號後觸發感應模組,感應模組用於感應室內的環境,並將感應的結果發送給控制模組;以及The sensing module, the second wireless communication module triggers the sensing module after receiving the trigger signal, and the sensing module is used to sense the environment in the room and send the sensing result to the control module;

控制模組,控制模組接收到感應模組的感應結果後,控制燈的狀態。The control module controls the state of the lamp after receiving the sensing result of the sensing module.

較佳地,在上述的基於無線通訊的門控燈光開關系統中,所述感應模組包括一光感測器,所述光感測器用於感應室內光的強弱。Preferably, in the above-mentioned wireless communication-based gated light switch system, the sensing module includes a light sensor for sensing the intensity of indoor light.

較佳地,在上述的基於無線通訊之門控燈光開關之系統中,感應模組更包括第二感測器,第二感測器用於感應室內是否有人。Preferably, in the above system for controlling the light switch based on the wireless communication, the sensing module further comprises a second sensor, and the second sensor is configured to sense whether there is a person in the room.

較佳地,在上述的基於無線通訊之門控燈光開關之系統中,偵測模組包括第一光柵感應模組,第一光柵感應模組位於門鎖外側的孔眼處,用於判斷是否有鑰匙插入到門鎖外側的孔眼中。Preferably, in the above system for controlling the light switch based on the wireless communication, the detecting module comprises a first grating sensing module, and the first grating sensing module is located at the hole outside the door lock for determining whether there is The key is inserted into the eyelet on the outside of the door lock.

較佳地,在上述的基於無線通訊之門控燈光開關之系統中,偵測模組更包括第二光柵感應模組,第二光柵感應模組位於門上,用於判斷門是否被打開。Preferably, in the above system for controlling the light switch based on the wireless communication, the detecting module further comprises a second grating sensing module, and the second grating sensing module is located on the door for determining whether the door is opened.

較佳地,在上述的基於無線通訊之門控燈光開關之系統中,第一無線通訊模組或該第二無線通訊模組為wifi模組、藍芽模組或Zigbee模組。Preferably, in the above system for controlling the light switch based on the wireless communication, the first wireless communication module or the second wireless communication module is a wifi module, a Bluetooth module or a Zigbee module.

一種基於無線通訊之門控燈光開關系統之方法,包括以下步驟: 判斷門是否為從室外被打開; 如果門是從室外被打開,第一無線通訊模組被觸發,並發出觸發訊號; 第二無線通訊模組接收到觸發訊號後,感應模組感應室內的環境,並將感應結果發送給控制模組; 控制模組接收到感應結果後,控制燈的狀態。A method for gated light switch system based on wireless communication, comprising the steps of: determining whether a door is opened from outside; if the door is opened from outside, the first wireless communication module is triggered and issuing a trigger signal; After receiving the trigger signal, the wireless communication module senses the environment in the room and sends the sensing result to the control module. After receiving the sensing result, the control module controls the state of the light.

較佳地,在上述的基於無線通訊之門控燈光開關之方法中,第二無線通訊模組接收到觸發訊號後,感應模組感應室內的環境,並將感應結果發送給控制模組之步驟包括: 感應模組感應室內光的強度,並將感應到的室內光的強度發送給控制模組。Preferably, in the above method for controlling a light switch based on wireless communication, after the second wireless communication module receives the trigger signal, the sensing module senses the environment in the room and sends the sensing result to the control module. The method includes: the sensing module senses the intensity of the indoor light, and transmits the intensity of the sensed indoor light to the control module.

較佳地,在上述的基於無線通訊之門控燈光開關之方法中,控制模組接收到感應結果後,控制燈的狀態之步驟包括: 當感應模組感應的室內光的強度小於等於光感門檻值時,控制模組控制燈打開。Preferably, in the method for controlling a light switch based on wireless communication, after the control module receives the sensing result, the step of controlling the state of the light comprises: when the intensity of the indoor light induced by the sensing module is less than or equal to the light sense When the threshold is exceeded, the control module controls the light to turn on.

較佳地,在上述的基於無線通訊之門控燈光開關之方法中,第二無線通訊模組接收到觸發訊號後,感應模組感應室內的環境,並將感應結果發送給控制模組之步驟更包括: 感應模組感應室內是否有人,並將所感應的是否有人的訊息發送給控制模組。Preferably, in the above method for controlling a light switch based on wireless communication, after the second wireless communication module receives the trigger signal, the sensing module senses the environment in the room and sends the sensing result to the control module. The method further includes: the sensing module senses whether there is someone in the room, and sends a message indicating whether someone is sent to the control module.

較佳地,在上述的基於無線通訊之門控燈光開關之方法中,控制模組接收到感應結果後,控制燈的狀態之步驟更包括: 當感應模組感應到室內有人時,燈的狀態不變;當感應模組感應到室內沒有人時,控制模組控制燈打開。Preferably, in the method for controlling the light switch based on the wireless communication, after the control module receives the sensing result, the step of controlling the state of the light further comprises: when the sensing module senses someone in the room, the state of the light No change; when the sensor module senses that there is no one in the room, the control module controls the light to turn on.

較佳地,在上述的基於無線通訊之門控燈光開關之方法中,第二無線通訊模組接收到觸發訊號後,感應模組感應室內的環境,並將感應結果發送給控制模組之步驟更包括: 感應模組感應室內是否有人,並將所感應的是否有人的訊息發送給控制模組。Preferably, in the above method for controlling a light switch based on wireless communication, after the second wireless communication module receives the trigger signal, the sensing module senses the environment in the room and sends the sensing result to the control module. The method further includes: the sensing module senses whether there is someone in the room, and sends a message indicating whether someone is sent to the control module.

在本發明提供的基於無線通訊之門控燈光開關之系統及其方法中,當偵測模組偵測到有鑰匙插入到門鎖外側的孔眼處,且門被打開時,第一無線通訊模組被觸發,並向第二無線通訊模組發送一觸發訊號,當第二無線通訊模組接收到所述觸發訊號後,控制模組控制感應模組感應室內的環境,並根據室內的光照強度以及室內是否有人來判斷是否需要將室內的燈打開。避免了在白天室內光照強度較大時開燈而造成電能的浪費,實現了家居的智慧化。當深夜家中有人正在休息時,也避免了自動開燈打擾到休息者,使得控制更加人性化。In the system and method for the wireless communication-based gated light switch provided by the present invention, when the detecting module detects that a key is inserted into the hole outside the door lock and the door is opened, the first wireless communication mode The group is triggered, and sends a trigger signal to the second wireless communication module. After the second wireless communication module receives the trigger signal, the control module controls the sensing module to sense the environment in the room, and according to the indoor light intensity. And if there is anyone in the room to judge whether it is necessary to turn on the lights in the room. It avoids the waste of electric energy when the indoor light intensity is large during the daytime, and realizes the wisdom of the home. When someone in the family is resting in the middle of the night, it also avoids the automatic lighting to disturb the rest, making the control more human.

下面將結合圖式對本發明的具體實施方式進行更詳細的描述。根據下列描述和申請專利範圍,本發明的優點和特徵將更清楚。需說明的是,圖式均採用非常簡化的形式且均使用非精準的比例,僅用以方便、明確地輔助說明本發明實施例的目的。Specific embodiments of the present invention will be described in more detail below with reference to the drawings. Advantages and features of the present invention will be apparent from the description and appended claims. It should be noted that the drawings are in a very simplified form and both use non-precise proportions, and are only used to facilitate and clearly assist the purpose of the embodiments of the present invention.

實施例1Example 1

本發明提供了一種基於無線通訊之門控燈光開關之系統及其方法,其中,基於無線通訊之門控燈光開關之系統,如圖1所示,包括了偵測模組107,偵測模組107用於判斷門是否是從室外被打開。具體地,偵測模組107包括第一光柵感應模組109,第一光柵感應模組109位於門鎖102外側的孔眼處,用於判斷是否有鑰匙插入到門鎖102外側的孔眼內。The invention provides a system and method for gated light switch based on wireless communication, wherein the system of gated light switch based on wireless communication, as shown in FIG. 1 , comprises a detection module 107 and a detection module 107 is used to determine whether the door is opened from the outside. Specifically, the detecting module 107 includes a first grating sensing module 109. The first grating sensing module 109 is located at an eyelet outside the door lock 102 for determining whether a key is inserted into the hole outside the door lock 102.

偵測模組107更包括第二光柵感應模組110,第二光柵感應模組110位於門上,具體地,位於門內側的一面上,且靠近門與門框相對的一面的邊緣處,用於判斷門是否被打開。第一光柵感應模組109和第二光柵感應模組110均被隔斷而產生一訊號,說明此時門被從室外打開,這時第一無線通訊模組106將被觸發,並發出觸發訊號。第一無線通訊模組106也位於門上。The detecting module 107 further includes a second grating sensing module 110, and the second grating sensing module 110 is located on the door, specifically on the inner side of the door, and near the edge of the opposite side of the door and the door frame, Determine if the door is open. The first grating sensing module 109 and the second grating sensing module 110 are both blocked to generate a signal, indicating that the door is opened from the outside, and the first wireless communication module 106 will be triggered and a trigger signal is issued. The first wireless communication module 106 is also located on the door.

基於無線通訊之門控燈光開關之系統更包括第二無線通訊模組103,第二無線通訊模組103用於接收第一無線通訊模組106所發出的觸發訊號。當第二無線通訊模組103接收到觸發訊號後,將觸發感應模組105。感應模組105用於感應室內的環境,並將感應結果發送給控制模組104。感應模組105包括光感測器108,光感測器108用於感應室內光的強弱。The system of the wireless communication-based gated light switch further includes a second wireless communication module 103, and the second wireless communication module 103 is configured to receive the trigger signal sent by the first wireless communication module 106. When the second wireless communication module 103 receives the trigger signal, the sensing module 105 is triggered. The sensing module 105 is configured to sense the environment in the room and send the sensing result to the control module 104. The sensing module 105 includes a photo sensor 108 for sensing the intensity of the indoor light.

所述第一無線通訊模組106和所述第二無線通訊103模組均採用wifi。在本發明的其他實施例中,第一無線通訊模組106和第二無線通訊模組103更可以是採用其他無線通訊技術,例如為藍芽或Zigbee等。The first wireless communication module 106 and the second wireless communication 103 module all adopt wifi. In other embodiments of the present invention, the first wireless communication module 106 and the second wireless communication module 103 may be other wireless communication technologies, such as Bluetooth or Zigbee.

在本實施例中,更提供一種基於無線通訊的門控燈光開關的方法,如圖2所示,具體的實現方法如下:In this embodiment, a method for gated light switch based on wireless communication is further provided. As shown in FIG. 2, the specific implementation method is as follows:

步驟S11:判斷門是否為從室外被打開。Step S11: It is judged whether the door is opened from the outside.

具體地,偵測模組107位於門上,包括第一光柵感應模組109,第一光柵感應模組109位於門鎖102門外側的孔眼處,第一光柵感應模組109可以判斷出是否有鑰匙插入到門鎖102外側的孔眼處。當有鑰匙插入到門鎖102門外側的孔眼處時,第一光柵感應模組109被隔斷,並向第一無線通訊模組發出一訊號。Specifically, the detecting module 107 is located on the door, and includes a first grating sensing module 109. The first grating sensing module 109 is located at an aperture outside the door of the door lock 102. The first grating sensing module 109 can determine whether there is any The key is inserted into the eyelet outside the door lock 102. When a key is inserted into the hole outside the door lock 102, the first grating sensing module 109 is blocked and sends a signal to the first wireless communication module.

偵測模組107更包括第二光柵感應模組110,第二光柵感應模組110位於所述門上,具體地,位於門內側的一面上,且靠近門與門框相對的一面的邊緣處,用於判斷門是否被打開。當第二光柵感應模組110被隔斷,則第二光柵感應模組110也向第一無線通訊模組發出一訊號。只有當第一光柵感應模組109和第二光柵感應模組110均發出訊號後,才表明此時門被從室外打開。The detecting module 107 further includes a second grating sensing module 110, and the second grating sensing module 110 is located on the door, specifically, on one side of the inner side of the door, and near the edge of the opposite side of the door and the door frame, Used to determine if the door is open. When the second grating sensing module 110 is blocked, the second grating sensing module 110 also sends a signal to the first wireless communication module. Only when the first grating sensing module 109 and the second grating sensing module 110 send out signals, it indicates that the door is opened from the outside.

步驟S12:如果門是從室外被打開,第一無線通訊模組被觸發,並發出觸發訊號。Step S12: If the door is opened from the outside, the first wireless communication module is triggered and a trigger signal is issued.

具體地,當第一無線通訊模組接收到第一光柵感應模組109和第二光柵感應模組110發出的訊號後,第一無線通訊模組106被觸發,並向第二無線通訊模組103發出觸發訊號。如果僅僅是門被打開,而第一光柵感應模組109沒有檢測到有鑰匙插入到門鎖102外側的孔眼處時,則說明門是從內部打開的,則維持燈101的狀態不變,即如果在門打開之前燈處於關閉狀態,門打開後,燈101仍處於關閉狀態;如果在門打開之前所述燈101處於打開狀態,燈101仍處於打開狀態。Specifically, after the first wireless communication module receives the signals sent by the first grating sensing module 109 and the second grating sensing module 110, the first wireless communication module 106 is triggered, and the second wireless communication module is 103 sends a trigger signal. If only the door is opened, and the first grating sensing module 109 does not detect that a key is inserted into the hole outside the door lock 102, then the door is opened from the inside, and the state of the lamp 101 is maintained, that is, If the lamp is in the off state before the door is opened, the lamp 101 is still in the off state after the door is opened; if the lamp 101 is in the on state before the door is opened, the lamp 101 is still in the open state.

步驟S13:第二無線通訊模組接收到觸發訊號後,感應模組感應室內的環境,並將感應結果發送給控制模組。Step S13: After the second wireless communication module receives the trigger signal, the sensing module senses the environment in the room and sends the sensing result to the control module.

具體地,感應模組105包括光感測器108,光感測器108用於感應室內光的強度。當第二無線通訊模組103接收到觸發訊號後,控制模組104控制光感測器108感應室內光的強度,光感測器108感應到室內光的強度後,將室內光的強度發送給控制模組104。Specifically, the sensing module 105 includes a photo sensor 108 for sensing the intensity of the indoor light. After the second wireless communication module 103 receives the trigger signal, the control module 104 controls the light sensor 108 to sense the intensity of the indoor light. After the light sensor 108 senses the intensity of the indoor light, the intensity of the indoor light is sent to Control module 104.

步驟S14:控制模組接收到感應結果後,控制燈的狀態。Step S14: After receiving the induction result, the control module controls the state of the light.

具體地,控制模組104接收到光感測器108感應到的室內光的強度後,將光的強度與光感門檻值進行比較,當光的強度大於光感門檻值時,控制模組104控制燈的狀態不變,即當前燈101處於打開狀態,則維持燈為打開狀態;如果當前燈101為關閉狀態,則維持燈101為關閉狀態。從而避免了當室內光的強度較強時打開燈,也就是說避免了在白天或者室外有路燈而導致的室內較亮時打開燈,進而避免了電能的浪費。Specifically, after receiving the intensity of the indoor light sensed by the light sensor 108, the control module 104 compares the intensity of the light with the light threshold, and when the intensity of the light is greater than the light threshold, the control module 104 The state of the control lamp is unchanged, that is, the current lamp 101 is in an open state, and the lamp is maintained in an open state; if the current lamp 101 is in a closed state, the lamp 101 is maintained in a closed state. Therefore, the light is turned on when the intensity of the indoor light is strong, that is, the light is turned on when the indoor light is bright during the day or outdoors, thereby avoiding waste of electric energy.

當光的強度小於等於光感門檻值時,控制模組104控制燈打開,使得燈處於打開的狀態。進一步地,光感門檻值儲存在控制模組上,可以根據實際需要調整光感門檻值的大小。When the intensity of the light is less than or equal to the light threshold, the control module 104 controls the light to be turned on so that the light is in an open state. Further, the light threshold value is stored on the control module, and the light threshold value can be adjusted according to actual needs.

也就是說,只有當室內較暗,光的強度不夠時,控制模組104才會控制燈打開,而當室內光的強度足夠時,控制模組104控制燈維持當前狀態,從而實現了家居的智慧化,給使用者帶來愉悅感。That is to say, the control module 104 controls the lamp to be turned on only when the room is dark and the intensity of the light is insufficient, and when the intensity of the room light is sufficient, the control module 104 controls the lamp to maintain the current state, thereby realizing the home. Wisdom, giving users a sense of pleasure.

實施例2Example 2

在本實施例中,基於無線通訊之門控燈光開關之系統,如圖3所示,包括:In this embodiment, a system for gated light switches based on wireless communication, as shown in FIG. 3, includes:

偵測模組207,偵測模組207用於判斷門是否是從室外被打開。具體地,偵測模組207包括第一光柵感應模組210,第一光柵感應模組210位於門鎖202外側的孔眼處,用於判斷是否有鑰匙插入到門鎖202外側的孔眼內。The detecting module 207 is configured to determine whether the door is opened from the outside. Specifically, the detecting module 207 includes a first grating sensing module 210. The first grating sensing module 210 is located at an aperture outside the door lock 202 for determining whether a key is inserted into the hole outside the door lock 202.

偵測模組207更包括第二光柵感應模組211,第二光柵感應模組211位於門上,具體地,位於門內側的一面上,且靠近門與門框相對的一面的邊緣處,用於判斷門是否被打開。第一光柵感應模組210和第二光柵感應模組211均被隔斷而產生訊號,說明此時門被從室外打開,這時第一無線通訊模組206將被觸發,並發出觸發訊號。第一無線通訊模組206也位於所述門上。The detecting module 207 further includes a second grating sensing module 211, and the second grating sensing module 211 is located on the door, specifically on the side of the inner side of the door, and near the edge of the opposite side of the door and the door frame, Determine if the door is open. The first grating sensing module 210 and the second grating sensing module 211 are both blocked to generate a signal, indicating that the door is opened from the outside, and the first wireless communication module 206 is triggered and a trigger signal is issued. The first wireless communication module 206 is also located on the door.

更包括第二無線通訊模組203,第二無線通訊模組203用於接收第一無線通訊模組206所發出的觸發訊號。當第二無線通訊模組203接收到觸發訊號後,將觸發感應模組205。感應模組205用於感應室內的環境,並將感應結果發送給控制模組204。感應模組205包括光感測器208,光感測器208用於感應室內光的強弱,感應模組205更包括第二感測器209,第二感測器209用於感應室內是否有人。具體地,第二感測器209可以為紅外感測器等。The second wireless communication module 203 is further configured to receive the trigger signal sent by the first wireless communication module 206. When the second wireless communication module 203 receives the trigger signal, the sensing module 205 is triggered. The sensing module 205 is configured to sense the environment in the room and send the sensing result to the control module 204. The sensor module 205 includes a photo sensor 208 for sensing the intensity of the indoor light. The sensor module 205 further includes a second sensor 209 for sensing whether there is a person in the room. Specifically, the second sensor 209 may be an infrared sensor or the like.

第一無線通訊模組206和第二無線通訊203模組均採用wifi。在本發明的其他實施例中,第一無線通訊模組206和第二無線通訊模組203更可以採用其他無線通訊技術,例如為藍芽、Zigbee等。The first wireless communication module 206 and the second wireless communication 203 module all adopt wifi. In other embodiments of the present invention, the first wireless communication module 206 and the second wireless communication module 203 may further adopt other wireless communication technologies, such as Bluetooth, Zigbee, and the like.

在本實施例中,更提供一種基於無線通訊之門控燈光開關之方法,如圖4所示,其具體的實現方法如下:In this embodiment, a method for gated light switch based on wireless communication is further provided. As shown in FIG. 4, the specific implementation method is as follows:

步驟S21:判斷門是否為從室外被打開。Step S21: It is judged whether the door is opened from the outside.

偵測模組207位於門上,包括第一光柵感應模組210,第一光柵感應模組210位於門鎖202門外側的孔眼處,第一光柵感應模組210可以判斷出是否有鑰匙插入到門鎖202外側的孔眼處。當有鑰匙插入到門鎖202門外側的孔眼處時,第一光柵感應模組210被隔斷,並向第一無線通訊模組發出一訊號。The detecting module 207 is located on the door, and includes a first grating sensing module 210. The first grating sensing module 210 is located at an aperture outside the door of the door lock 202. The first grating sensing module 210 can determine whether a key is inserted into the door. The hole on the outside of the door lock 202. When a key is inserted into the hole outside the door of the door lock 202, the first grating sensing module 210 is blocked and sends a signal to the first wireless communication module.

偵測模組207更包括第二光柵感應模組211,第二光柵感應模組211位於門上,具體地,位於門內側的一面上,且靠近門與門框相對的一面的邊緣處,用於判斷門是否被打開。當第二光柵感應模組211被隔斷,則第二光柵感應模組211也向第一無線通訊模組發出一訊號。只有當第一光柵感應模組210和第二光柵感應模組211均發出訊號後,才表明此時門被從室外打開。The detecting module 207 further includes a second grating sensing module 211, and the second grating sensing module 211 is located on the door, specifically on the side of the inner side of the door, and near the edge of the opposite side of the door and the door frame, Determine if the door is open. When the second grating sensing module 211 is blocked, the second grating sensing module 211 also sends a signal to the first wireless communication module. Only when the first grating sensing module 210 and the second grating sensing module 211 both send out signals, it indicates that the door is opened from the outside.

步驟S22:如果門是從室外被打開,第一無線通訊模組被觸發,並發出一觸發訊號。Step S22: If the door is opened from the outside, the first wireless communication module is triggered and sends a trigger signal.

具體地,當第一無線通訊模組接收到所述第一光柵感應模組210和第二光柵感應模組211發出的訊號後,第一無線通訊模組206被觸發,並向第二無線通訊模組203發出一觸發訊號。如果僅僅是門被打開,而第一光柵感應模組210沒有檢測到有鑰匙插入到門鎖門外側的孔眼處時,則說明門是從內部打開的,則維持燈201的狀態不變,即如果在門打開之前燈201處於關閉狀態,門打開後,燈201仍處於關閉狀態;如果在門打開之前燈201處於打開狀態,燈201仍處於打開狀態。Specifically, after the first wireless communication module receives the signals sent by the first grating sensing module 210 and the second grating sensing module 211, the first wireless communication module 206 is triggered, and the second wireless communication is performed. The module 203 sends a trigger signal. If only the door is opened, and the first grating sensing module 210 does not detect that a key is inserted into the hole outside the door lock door, then the door is opened from the inside, and the state of the lamp 201 is maintained, that is, If the lamp 201 is in the off state before the door is opened, the lamp 201 is still in the off state after the door is opened; if the lamp 201 is in the on state before the door is opened, the lamp 201 is still in the open state.

步驟S23:第二無線通訊模組接收到觸發訊號後,感應模組感應室內光的強度,並將感應的室內光的強度發送給控制模組。Step S23: After receiving the trigger signal, the second wireless communication module senses the intensity of the indoor light and transmits the intensity of the sensed indoor light to the control module.

具體地,感應模組205包括光感測器208,光感測器208用於感應室內光的強度。當第二無線通訊模組203接收到所述觸發訊號後,控制模組205控制光感測器208感應室內光的強度,光感測器208感應到室內光的強度後,將室內光的強度發送給控制模組204。Specifically, the sensing module 205 includes a photo sensor 208 for sensing the intensity of the indoor light. After the second wireless communication module 203 receives the trigger signal, the control module 205 controls the light sensor 208 to sense the intensity of the indoor light. After the light sensor 208 senses the intensity of the indoor light, the intensity of the indoor light is used. Send to control module 204.

步驟S24:控制模組接收到室內光的強度後,控制燈的狀態。Step S24: After receiving the intensity of the indoor light, the control module controls the state of the light.

具體地,控制模組204接收到光感測器208感應到的室內光的強度後,將光的強度與光感門檻值進行比較,當光的強度大於光感門檻值時,控制模組204控制燈的狀態不變,即當前燈處於打開狀態,則維持燈為打開狀態;如果當前燈為關閉狀態,則維持燈為關閉狀態。進一步地,光感門檻值儲存在控制模組204上,可以根據實際需要調整光感門檻值的大小。Specifically, after receiving the intensity of the indoor light sensed by the light sensor 208, the control module 204 compares the intensity of the light with the light threshold value. When the intensity of the light is greater than the light threshold, the control module 204 The state of the control lamp is unchanged, that is, the current lamp is in an open state, and the lamp is maintained in an open state; if the current lamp is in a off state, the lamp is maintained in a closed state. Further, the light threshold value is stored on the control module 204, and the size of the light threshold can be adjusted according to actual needs.

如果室內光的強度小於等於光感門檻值,則控制模組204觸發第二感測器209。If the intensity of the indoor light is less than or equal to the light threshold, the control module 204 triggers the second sensor 209.

步驟S25:第二感測器感應室內是否有人,並將所感應的是否有人的訊息發送給控制模組。Step S25: The second sensor senses whether there is someone in the room, and sends the sensed message to the control module.

具體地,第二感測器209被控制模組204觸發後,感應室內是否有人,並將其所感應的結果訊息發送給控制模組。Specifically, after the second sensor 209 is triggered by the control module 204, it senses whether there is a person in the room, and sends the result message sensed by the control module to the control module.

步驟S26:控制模組接收到第二感測器所感應的訊息之後,控制燈的狀態。Step S26: After receiving the message sensed by the second sensor, the control module controls the state of the lamp.

具體地,當第二感測器209感應到室內有人時,則控制模組204控制燈201的狀態不變。即,當前燈201為關閉狀態,則維持燈201為關閉狀態;如果當前燈201為打開狀態,則維持燈201為打開狀態。避免了當深夜家中有人正在休息時,自動開燈打擾到休息者,使得控制更加人性化。Specifically, when the second sensor 209 senses a person in the room, the control module 204 controls the state of the lamp 201 to be unchanged. That is, when the current lamp 201 is in the off state, the lamp 201 is maintained in the off state; if the current lamp 201 is in the on state, the lamp 201 is maintained in the on state. It avoids the fact that when someone in the middle of the night is resting, the lights are automatically turned on to disturb the rest, making the control more human.

當第二感測器209感應到室內沒有人時,則控制模組204控制燈201打開,實現家居智慧化,給使用者帶來愉悅感。When the second sensor 209 senses that there is no person in the room, the control module 204 controls the lamp 201 to be turned on, thereby realizing the wisdom of the home and bringing a sense of pleasure to the user.

綜上所述,在本發明實施例提供的基於無線通訊之門控燈光開關之系統及方法中,當偵測模組偵測到有鑰匙插入到門鎖外側的孔眼處,且門被打開時,第一無線通訊模組被觸發,並向第二無線通訊模組發送一觸發訊號,當第二無線通訊模組接收到觸發訊號後,控制模組控制感應模組感應室內的環境,並根據室內光的強度以及室內是否有人來判斷是否需要將室內的燈打開。避免了在白天室內光強較大時開燈而造成電能的浪費,實現了家居的智慧化。當深夜家中有人正在休息時,也避免了自動開燈打擾到休息者,使得控制更加人性化。In summary, in the system and method for gated light switch based on wireless communication provided by the embodiment of the present invention, when the detecting module detects that a key is inserted into the hole outside the door lock, and the door is opened, The first wireless communication module is triggered, and sends a trigger signal to the second wireless communication module. When the second wireless communication module receives the trigger signal, the control module controls the sensing module to sense the environment in the room, and according to The intensity of the indoor light and whether there is someone in the room to determine whether it is necessary to turn on the indoor light. It avoids the waste of electric energy when the indoor light intensity is large during the daytime, and realizes the wisdom of the home. When someone in the family is resting in the middle of the night, it also avoids the automatic lighting to disturb the rest, making the control more human.

上述僅為本發明的較佳實施例而已,並不對本發明產生任何限制作用。任何本發明所屬技術領域的通常知識者,在不脫離本發明的技術方案的範圍內,對本發明揭露的技術方案和技術內容做任何形式的等同替換或修改等變動,均屬未脫離本發明的技術方案的內容,仍屬於本發明的保護範圍之內。The above are only the preferred embodiments of the present invention and do not impose any limitation on the present invention. Any changes in the technical solutions and technical contents disclosed in the present invention, without departing from the scope of the present invention, may be made without departing from the invention. The content of the technical solution is still within the protection scope of the present invention.

101‧‧‧燈;
102‧‧‧門鎖;
103‧‧‧第二無線通訊模組;
104‧‧‧控制模組;
105‧‧‧感應模組;
106‧‧‧第一無線通訊模組;
107‧‧‧偵測模組;
108‧‧‧光感測器;
109‧‧‧第一光柵感應模組;
110‧‧‧第二光柵感應模組;
201‧‧‧燈;
202‧‧‧門鎖;
203‧‧‧第二無線通訊模組;
204‧‧‧控制模組;
205‧‧‧感應模組;
206‧‧‧第一無線通訊模組;
207‧‧‧偵測模組;
208‧‧‧光感測器;
209‧‧‧第二感測器;
210‧‧‧第一光柵感應模組;
211‧‧‧第二光柵感應模組;
S11~S14、S21~S26‧‧‧步驟。
101‧‧‧ lights;
102‧‧‧ door locks;
103‧‧‧Second wireless communication module;
104‧‧‧Control module;
105‧‧‧Induction module;
106‧‧‧First wireless communication module;
107‧‧‧Detection module;
108‧‧‧Light sensor;
109‧‧‧ first grating sensing module;
110‧‧‧Second grating sensing module;
201‧‧‧ lights;
202‧‧‧ door locks;
203‧‧‧Second wireless communication module;
204‧‧‧Control module;
205‧‧‧ sensor module;
206‧‧‧First wireless communication module;
207‧‧‧Detection module;
208‧‧‧Light sensor;
209‧‧‧ second sensor;
210‧‧‧ first grating sensing module;
211‧‧‧Second grating sensing module;
Steps S11~S14, S21~S26‧‧.

圖1為本發明實施例1中基於無線通信的門控燈光開關的系統的結構示意圖; 圖2為本發明之實施例1中基於無線通訊的門控燈光開關的方法的流程圖; 圖3為本發明之實施例2中基於無線通訊的門控燈光開關的系統的結構示意圖; 圖4為本發明之實施例2中基於無線通訊的門控燈光開關的方法的流程圖。1 is a schematic structural diagram of a system for gated light switches based on wireless communication according to Embodiment 1 of the present invention; FIG. 2 is a flowchart of a method for gated light switches based on wireless communication according to Embodiment 1 of the present invention; FIG. 4 is a schematic flowchart of a method for gated light switch based on wireless communication in Embodiment 2 of the present invention; FIG.

101‧‧‧燈 101‧‧‧ lights

102‧‧‧門鎖 102‧‧‧door lock

103‧‧‧第二無線通訊模組 103‧‧‧Second wireless communication module

104‧‧‧控制模組 104‧‧‧Control Module

105‧‧‧感應模組 105‧‧‧Sensor module

106‧‧‧第一無線通訊模組 106‧‧‧First wireless communication module

107‧‧‧偵測模組 107‧‧‧Detection module

108‧‧‧光感測器 108‧‧‧Light sensor

109‧‧‧第一光柵感應模組 109‧‧‧First grating sensing module

110‧‧‧第二光柵感應模組 110‧‧‧Second grating sensing module

Claims (10)

一種基於無線通訊之門控燈光開關之系統,其包括: 一偵測模組,該偵測模組用於判斷門是否從室外被打開; 一第一無線通訊模組,當該偵測模組偵測到該門是從室外被打開時,該第一無線通訊模組被觸發,並發出一觸發訊號; 一第二無線通訊模組,該第二無線通訊模組用於接收該觸發訊號; 一感應模組,該第二無線通訊模組在接收到該觸發訊號後觸發該感應模組,該感應模組用於感應室內的環境,並將感應的結果發送給一控制模組;以及 該控制模組,該控制模組接收該感應模組的感應結果後,根據該感應結果控制燈的狀態。A system for controlling a light switch based on wireless communication, comprising: a detection module, wherein the detection module is used to determine whether the door is opened from the outside; a first wireless communication module, when the detection module When detecting that the door is opened from the outside, the first wireless communication module is triggered and sends a trigger signal; and a second wireless communication module, the second wireless communication module is configured to receive the trigger signal; a sensing module, the second wireless communication module triggers the sensing module after receiving the triggering signal, the sensing module is configured to sense an environment in the room, and send the result of the sensing to a control module; The control module, after receiving the sensing result of the sensing module, controls the state of the lamp according to the sensing result. 如申請專利範圍第1項所述之基於無線通訊之門控燈光開關之系統,其中該感應模組包括一光感測器,該光感測器用於感應一室內光的強弱。The system of the wireless communication-based gated light switch of claim 1, wherein the sensor module comprises a light sensor for sensing the intensity of an indoor light. 如申請專利範圍第2項所述之基於無線通訊之門控燈光開關之系統,其中該感應模組更包括一第二感測器,該第二感測器用於感應室內是否有人。The system of the wireless communication-based gated light switch of claim 2, wherein the sensing module further comprises a second sensor, the second sensor is configured to sense whether there is a person in the room. 如申請專利範圍第1項所述之基於無線通訊之門控燈光開關之系統,其中該偵測模組包括一第一光柵感應模組,該第一光柵感應模組位於一門鎖外側的孔眼處,用於判斷是否有鑰匙插入到該門鎖外側的孔眼中。The system of the wireless communication-based gated light switch of claim 1, wherein the detection module comprises a first grating sensing module, the first grating sensing module is located at a hole outside the door lock Used to determine whether a key is inserted into the eyelet outside the door lock. 如申請專利範圍第4項所述之基於無線通訊之門控燈光開關之系統,其中該偵測模組更包括一第二光柵感應模組,該第二光柵感應模組位於該門上,用於判斷該門是否被打開。The system of the wireless communication-based gated light switch of claim 4, wherein the detection module further comprises a second grating sensing module, the second grating sensing module is located on the door, To determine if the door is opened. 如申請專利範圍第1項所述之基於無線通訊之門控燈光開關之系統,其中該第一無線通訊模組或該第二無線通訊模組為一wifi模組、藍芽模組或Zigbee模組。The system of the wireless communication-based gated light switch according to the first aspect of the invention, wherein the first wireless communication module or the second wireless communication module is a wifi module, a Bluetooth module or a Zigbee module. group. 一種基於無線通訊之門控燈光開關之方法,其包括以下步驟: 判斷門是否為從室外被打開; 如果門是從室外被打開,一第一無線通訊模組被觸發,並發出一觸發訊號; 一第二無線通訊模組接收到該觸發訊號後,一感應模組感應室內的環境,並將感應結果發送給一控制模組; 該控制模組接收到該感應結果後,根據該感應結果控制燈的狀態。A method for gated light switch based on wireless communication, comprising the steps of: determining whether a door is opened from outside; if the door is opened from outside, a first wireless communication module is triggered, and a trigger signal is issued; After receiving the trigger signal, a second wireless communication module senses an environment in the room and sends the sensing result to a control module. After receiving the sensing result, the control module controls the sensing result according to the sensing result. The state of the light. 如申請專利範圍第7項所述之基於無線通訊之門控燈光開關之方法,其中該第二無線通訊模組接收到該觸發訊號後,該感應模組感應室內的環境,並將感應結果發送給該控制模組之步驟包括: 該感應模組感應一室內光的強度,並將感應到的該室內光的強度發送給該控制模組。The method of the wireless communication-based gated light switch according to the seventh aspect of the invention, wherein the second wireless communication module receives the trigger signal, the sensing module senses an environment in the room, and sends the sensing result The step of giving the control module includes: the sensing module sensing the intensity of an indoor light, and transmitting the sensed intensity of the indoor light to the control module. 如申請專利範圍第8項所述之基於無線通訊之門控燈光開關之方法,其中該控制模組接收到該感應結果後,控制燈的狀態之步驟包括: 當該感應模組感應的該室內光的強度小於等於一光感門檻值時,該控制模組控制該燈打開。The method for controlling a light switch based on a wireless communication according to claim 8 , wherein the step of controlling the state of the light after the control module receives the sensing result comprises: the indoor sensor sensed by the sensing module When the intensity of the light is less than or equal to a light threshold, the control module controls the light to turn on. 如申請專利範圍第8項所述之基於無線通訊之門控燈光開關之方法,其中該第二無線通訊模組接收到該觸發訊號後,該感應模組感應室內的環境,並將感應結果發送給該控制模組之步驟更包括: 該感應模組感應該室內是否有人,並將所感應的是否有人的訊息發送給該控制模組。The method of the wireless communication-based gated light switch according to the eighth aspect of the invention, wherein the second wireless communication module receives the trigger signal, the sensing module senses an environment in the room, and sends the sensing result The step of giving the control module further includes: the sensing module sensing whether there is a person in the room, and transmitting the sensed message to the control module.
TW105104471A 2015-05-26 2016-02-16 System and method of entry sensing and wireless control of internal lighting TWI584690B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510275261.9A CN104883783B (en) 2015-05-26 2015-05-26 Door control light switch system based on wireless communication and method thereof

Publications (2)

Publication Number Publication Date
TW201642712A true TW201642712A (en) 2016-12-01
TWI584690B TWI584690B (en) 2017-05-21

Family

ID=53951075

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105104471A TWI584690B (en) 2015-05-26 2016-02-16 System and method of entry sensing and wireless control of internal lighting

Country Status (2)

Country Link
CN (1) CN104883783B (en)
TW (1) TWI584690B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI669025B (en) * 2018-05-28 2019-08-11 台灣松下電器股份有限公司 Electrical control method and system

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105116753A (en) * 2015-09-18 2015-12-02 李林国 Smart home based on Internet of Things
CN106094586A (en) * 2016-06-21 2016-11-09 珠海格力电器股份有限公司 Lockset, the working state control device of electronic equipment and control method thereof
CN206542615U (en) * 2017-03-10 2017-10-03 郭仲益 Intelligent lightening device
CN107197578A (en) * 2017-06-28 2017-09-22 苏州见真物联科技有限公司 A kind of wireless controlled lamp device
CN108040409B (en) * 2017-12-21 2019-10-18 广东汇泰龙科技有限公司 A kind of method, the system of the linkage of Yun Suoyu light
CN108282943A (en) * 2018-01-17 2018-07-13 深圳市沃特沃德股份有限公司 Illumination control method and device
CN111212506A (en) * 2019-07-17 2020-05-29 移康智能科技(上海)股份有限公司 Lamp switch based on photosensitive induction and pressure induction
CN112291891A (en) * 2020-11-04 2021-01-29 厦门狄耐克智能科技股份有限公司 Behavior control system based on lamplight

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282605B (en) * 2008-03-21 2011-12-07 浙江大学城市学院 Energy-saving type interior illumination wireless intelligent control system and control method based on ZigBee sensing network
TWM353392U (en) * 2008-05-20 2009-03-21 Oplus Design Internat Co Ltd Indoor environment controlling apparatus
CN102893225B (en) * 2010-04-08 2016-04-20 陈傑臻 Facility control system and using method thereof
CN202425114U (en) * 2011-12-12 2012-09-05 比亚迪股份有限公司 Control device for induction lamps
CN203115697U (en) * 2013-02-06 2013-08-07 重庆宗申天润地产有限公司 House night sense lighting device
TWM459467U (en) * 2013-04-25 2013-08-11 Univ Chung Chou Sci & Tech Home monitoring system
CN203243581U (en) * 2013-05-17 2013-10-16 黄海燕 Intelligent gate-controlled switch

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI669025B (en) * 2018-05-28 2019-08-11 台灣松下電器股份有限公司 Electrical control method and system

Also Published As

Publication number Publication date
CN104883783A (en) 2015-09-02
CN104883783B (en) 2017-05-24
TWI584690B (en) 2017-05-21

Similar Documents

Publication Publication Date Title
TWI584690B (en) System and method of entry sensing and wireless control of internal lighting
CN103763828B (en) A kind of eye-protecting desk lamp being provided with alarm clock and control method thereof
CN104574885B (en) Safety-protection system control method and safety-protection system based on electron key
CN105423251B (en) It is a kind of can automatic illuminating Intelligent lamp
CN103402001A (en) Antitheft mobile phone based on optical sensor and antitheft method thereof
JP3747854B2 (en) Lighting device
CN105307342A (en) Domestic lamp control method
CN106247527B (en) The method and device of night control is carried out to air-conditioning using night control model
CN205177069U (en) Security protection monitoring alarm
JP2003203784A (en) Lighting system
CN106193892A (en) A kind of by monolithic processor controlled Smart Home sliding door
CN107644499A (en) A kind of entry lamp alert control
CN206112646U (en) Intelligent light -adjusting desk lamp
CN210781434U (en) Automatic induction lighting device
CN106781227A (en) A kind of high-end residential cell synthetic security system
CN103115340A (en) Intelligent sensing light emitting door handle
CN203179195U (en) Anti-theft detection device
CN208314951U (en) It is a kind of can remote alarms sense light
CN104470131A (en) Intelligent lamp turn-on and turn-off system of indoor illuminating lamp
CN108040409A (en) A kind of cloud lock and method, the system of light linkage
WO2018006223A1 (en) Intelligent desk lamp
CN208480008U (en) A kind of novel intelligent-induction lamp
CN209780492U (en) Intelligent door lock
CN206207495U (en) Gas monitor and control device and gas monitor and control system
CN105307347A (en) GPS-based lamp control system