CN104918361A - Scanning identification method of controller and actuator in wireless light control system - Google Patents

Scanning identification method of controller and actuator in wireless light control system Download PDF

Info

Publication number
CN104918361A
CN104918361A CN201510234026.7A CN201510234026A CN104918361A CN 104918361 A CN104918361 A CN 104918361A CN 201510234026 A CN201510234026 A CN 201510234026A CN 104918361 A CN104918361 A CN 104918361A
Authority
CN
China
Prior art keywords
actuator
controller
search
configuration
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510234026.7A
Other languages
Chinese (zh)
Other versions
CN104918361B (en
Inventor
吴耀
魏代熙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongshan Enzd Electronic Co Ltd
Original Assignee
Zhongshan Enzd Electronic Co Ltd
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 Zhongshan Enzd Electronic Co Ltd filed Critical Zhongshan Enzd Electronic Co Ltd
Priority to CN201510234026.7A priority Critical patent/CN104918361B/en
Publication of CN104918361A publication Critical patent/CN104918361A/en
Application granted granted Critical
Publication of CN104918361B publication Critical patent/CN104918361B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

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

Abstract

The invention provides a scanning identification method of a controller and an actuator in a wireless light control system. The method comprises the steps that the actuator starts a remote start step in a configuration state; in a continuous energized state, the actuator completes the operation of one or more power-cycle in T1 seconds, which means that the configuration state is activated; the configuration state lasts for T2 seconds; the actuator receives a search command issued by any controller in the duration of T2 seconds; a controller ID which is parsed in the last search command is temporarily stored, wherein the temporary storage time of the controller ID is T3 seconds and is used for subsequent testing and configuration; actuator scanning based on an Aloha algorithm is carried out; the controller starts the configuration state; the improved Aloha algorithm is used for scanning; and a search command and a configuration command are sent in a local range, wherein the search command comprises the controller ID, and the configuration command comprises a number of instructions or instruction codes set for the actuator operation.

Description

Scanning recognition method between wireless lighting control system middle controller and actuator
Technical field
The present invention relates to the matching method between lamp light control system middle controller and actuator, be specifically related to a kind of scanning recognition method between wireless lighting control system middle controller and actuator.
Background technology
Along with the development of lighting field technology, people now can utilize colorful LED lamp to carry out, and place atmosphere is played up, stage-lighting effect, mansion exterior wall lamp light projection etc., and develop into state-of-the art, be the control being realized lighting effects by wireless lighting control system mostly.Wireless lighting control system comprises controller, and several actuators matched with this controller.Before wireless lighting control system performs an action, it has been primarily the pairing between controller and actuator.
In existing wireless lighting control system, actuator is general because need, by the button on actuator, activation is entered study or configuration status, and matched by pre-configured mode and controller, common layoutprocedure is:
Mode one: controller enters study or the configuration status controller that---inputs ID or the address information of actuator on the controller---and exchanges configuration data according to ID or address information and actuator, completes configuration.
Mode two: controller, actuator enter study simultaneously or the parsing of configuration status---actuator sends special packet to controller---controller receives packet, extract wherein actuator id information---controller exchanges configuration data according to id information and actuation means, completes configuration.
There is deficiency common as follows in these ' In System Reconfiguration Methods existing:
1, configuration personnel need there be contacting of physics with actuator, touch configuration or learn button, it is made to enter configuration status, require that the configuration effort of actuator need complete before the mounting like this, installation personnel has possessed the knowledge of configuration, need installation personnel, technical staff simultaneously on the scene, convenient not, flexibly.
2, layoutprocedure needs to carry out seriatim, repeatedly between controller and actuator, expends time in, also produces larger workload.
Summary of the invention
Based on the defect that the prior art arrived mentioned by background technology exists, the present invention proposes a kind of scanning recognition method between wireless lighting control system middle controller and actuator, purport in realization flexibly, configuration mode efficiently, the workload of mitigation technique personnel, increases work efficiency.
The technical solution adopted in the present invention is as follows:
A scanning recognition method between wireless lighting control system middle controller and actuator, comprises the following steps:
A) make actuator enter the remote activation step of configuration status, have following operation:
Arrange actuator under lasting "on" position, within T1 second, complete the operation that one or many power-off powers on again, be considered as activation and enter configuration status, this configuration status continues T 2second, in this duration T 2in second, actuator receives the search command that any controller sends, and resolves the controller ID obtained in temporary the last search command, and this controller ID temporary storage time is T 3second, for follow-up test and configuration operation;
B) based on the actuator scanning step of the Aloha algorithm improved, following operation is had:
Controller is set and enters configuration status, the Aloha algorithm improved is used to scan, in local scope, send search command and configuration order, described search command includes the ID of controller, described configuration order include to actuator action setting some instructions or instruction code.
In the middle of one or more embodiment of the present invention, the actuator scanning step of the described Aloha algorithm based on improving comprises following operation further:
Search initiated by controller, generates a timeslot number and a random number;
Controller starts to send first time search instruction, comprise this timeslot number and random number in this search instruction, controller enters and waits for actuator response status immediately, waits for " the software time slot * timeslot number " time, exceeding this time then repeats aforesaid operations, sends search instruction next time;
Actuator receives described search instruction and responds, and one of them time slot of random selecting from the time slot search instruction, waits for that the time of this time slot returns self information to backward controller;
Controller received by actuator feedack in " the software time slot * timeslot number " time, resolved and recorded the ID of actuator and be inserted in the middle of next search instruction;
Actuator receives search instruction again, when the ID containing himself in search instruction then enters silent status, no longer responds search;
Controller sends configuration order to the actuator of Record ID, is received, complete configuration by this actuator.
Described actuator receives search instruction, then judge whether it is new search by random number; If so, this search is namely responded; No, then enter silent status.
In the middle of one or more embodiment of the present invention, described controller controls by intelligent terminal, and described intelligent terminal has the visual operation interface of Controller-oriented; By the configuration status of described intelligent terminal active controller, the result of the search that controller is initiated reports to intelligent terminal, is shown with list or graphics mode by intelligent terminal.
In the middle of one or more embodiment of the present invention, described intelligent terminal initiates the connecting test to the actuator found by controller, is specially, and controller finds test instruction to appointment actuator, received and feedback-related information by this actuator, to confirm its coupling connection status.
In the middle of one or more embodiment of the present invention, when the first time search feedback result that controller is initiated is zero, then initiate second time search with the second timeslot number at least again.
Compared with prior art, its advantageous exists in the present invention: be applied in wireless lighting control system, can the setting of simplified control system and maintenance process greatly, improves ease for maintenance and the usability of system.The brand-new configuration mode of the present invention, configuration personnel can make all actuators in environment enter configuration status when there not being any physical contact with actuator, and searching algorithm used in the present invention can complete the identification to all actuators in environment fast in the time in several seconds, and completes configuration.
Accompanying drawing explanation
Fig. 1 is the configuration flow schematic diagram of controller end of the present invention.
Fig. 2 is the configuration flow schematic diagram of actuator end of the present invention.
Embodiment
Following 1-2 by reference to the accompanying drawings, is further described the application's scheme:
A scanning recognition method between wireless lighting control system middle controller and actuator, comprises the following steps:
A) make actuator enter the remote activation step of configuration status, have following operation:
Arrange actuator under lasting "on" position, within T1 second, complete the operation that one or many power-off powers on again, be considered as activation and enter configuration status, this configuration status continues T 2second, in this duration T 2in second, actuator receives the search command that any controller sends, and resolves the controller ID obtained in temporary the last search command, and this controller ID temporary storage time is T 3second, for follow-up test and configuration operation;
B) based on the actuator scanning step of the Aloha algorithm improved, following operation is had:
Controller is set and enters configuration status, the Aloha algorithm improved is used to scan, in local scope, send search command and configuration order, described search command includes the ID of controller, described configuration order include to actuator action setting some instructions or instruction code.
The actuator scanning step of the described Aloha algorithm based on improving comprises following operation further:
1. search initiated by controller, generates a timeslot number and a random number;
2. controller starts to send first time search instruction, comprise this timeslot number and random number in this search instruction, controller enters and waits for actuator response status immediately, waits for " the software time slot * timeslot number " time, exceeding this time then repeats aforesaid operations, sends search instruction next time;
3. actuator receives described search instruction and responds, and one of them time slot of random selecting from the time slot search instruction, waits for that the time of this time slot returns self information to backward controller;
4. controller received by actuator feedack in " the software time slot * timeslot number " time, resolved and recorded the ID of actuator and be inserted in the middle of next search instruction;
5. actuator receives search instruction again, when the ID containing himself in search instruction then enters silent status, no longer responds search;
6. controller sends configuration order to the actuator of Record ID, is received, complete configuration by this actuator.
Described actuator receives search instruction, then judge whether it is new search by random number; If so, this search is namely responded; No, then enter silent status.
Described controller controls by intelligent terminal, and described intelligent terminal has the visual operation interface of Controller-oriented; By the configuration status of described intelligent terminal active controller, the result of the search that controller is initiated reports to intelligent terminal, is shown with list or graphics mode by intelligent terminal.
Described intelligent terminal initiates the connecting test to the actuator found by controller, is specially, and controller finds test instruction to appointment actuator, is received and feedback-related information by this actuator, to confirm its coupling connection status.
When the first time search feedback result that controller is initiated is zero, then initiate second time search with the second timeslot number at least again.
As shown in Figure 1-2, apply scanning recognition method of the present invention, the concrete configuration process of wireless lighting control system is:
First keep actuator "on" position (controlled lamp is bright), then at T 1complete the operation that a time power-off powers on again in=2 seconds, then actuator enters configuration status, continues appropriate time (as T 2=30 seconds), this T 2in time, actuator can be arbitrarily controlled device search, and the ID of the controller of temporary the last search, this ID can keep in a period of time (as T 3=30 minutes) for follow-up test and configuration operation.
Actuator not response controller search command when not being in configuration status; Controller, outside configuration status, does not send search command and configuration order yet; Be not performed device keep in ID controller cannot to this actuator carry out other operation; There is provided the fail safe of system with this, actuator can not be paired to other controller by mistake; Even if certain actuator is mismatched for a certain reason, also can be corrected by Timeliness coverage.
After controller and actuator all enter configuration status, use the Aloha algorithm improved to scan, find the actuator existed in surrounding environment, and impose suitable configuration.
Search instruction (subsidiary timeslot number) initiated by software, controller is made to start search procedure, controller generates a random number, and start to send first time search instruction, comprise this timeslot number and random number in instruction, controller enters and waits for that (time-out time is total slot time to actuator response status, if timeslot number is 32 immediately, each time slot is 20ms, then the time-out time of this search is 640ms);
Actuator receives this instruction and at configuration status, then judge whether it is new search by random number, if so, this search is namely responded, random selecting time slot from the time slot instruction, wait for that the time of this time slot is to rear, returns self information (such as to controller, timeslot number is 32, then random selecting one value in 1-32, as 8, and each time slot is 20ms, then return information after wait 160ms);
Controller receives the information of actuator, to this information of software upload, and the ID recording actuator is inserted in next search instruction, the controller wait timeout time arrives, then search is next time initiated, if actuator receives search instruction again, if contain self ID in instruction, enter silent status and no longer respond search (only the new search triggered, is judged by random number);
If controller current search result is 0, then sending a timeslot number is again the search of 8, if this search is without returning, exits search, if return, and the search operation before continuing.
The algorithm that present patent application realizes can guarantee that the actuator of preassembled Lighting Control Assembly was found rapidly in the system configuration stage, even if the installation site of these actuators can not be seen by visual, also can complete configuration effort within a few second.
Table below shows the test result of realized algorithm:
Actuator quantity Minimum search time (ms) The maximum search time (ms) Average search time (ms)
10 1600 2080 1840
20 2080 3360 2720
30 2720 4000 3360
40 3360 4000 3680
58 4000 4640 4320
The realization of this algorithm can the installation of simplified intelligent lamp light control system and layoutprocedure greatly, makes the DIY of System Implementation become possibility.
Above-mentioned preferred implementation should be considered as illustrating of the application's scheme implementation mode, allly to duplicate with the application's scheme, technology that is approximate or that make based on this is deduced, replaces, improvement etc., all should be considered as the protection range of this patent.

Claims (6)

1. the scanning recognition method between wireless lighting control system middle controller and actuator, is characterized in that, comprise the following steps:
A) make actuator enter the remote activation step of configuration status, have following operation:
Arrange actuator under lasting "on" position, within T1 second, complete the operation that one or many power-off powers on again, be considered as activation and enter configuration status, this configuration status continues T 2second, in this duration T 2in second, actuator receives the search command that any controller sends, and resolves the controller ID obtained in temporary the last search command, and this controller ID temporary storage time is T 3second, for follow-up test and configuration operation;
B) based on the actuator scanning step of the Aloha algorithm improved, following operation is had:
Controller is set and enters configuration status, the Aloha algorithm improved is used to scan, in local scope, send search command and configuration order, described search command includes the ID of controller, described configuration order include to actuator action setting some instructions or instruction code.
2. the scanning recognition method between wireless lighting control system middle controller according to claim 1 and actuator, is characterized in that,
The actuator scanning step of the described Aloha algorithm based on improving comprises following operation further:
Search initiated by controller, generates a timeslot number and a random number;
Controller starts to send first time search instruction, comprise this timeslot number and random number in this search instruction, controller enters and waits for actuator response status immediately, waits for " the software time slot * timeslot number " time, exceeding this time then repeats aforesaid operations, sends search instruction next time;
Actuator receives described search instruction and responds, and one of them time slot of random selecting from the time slot search instruction, waits for that the time of this time slot returns self information to backward controller;
Controller received by actuator feedack in " the software time slot * timeslot number " time, resolved and recorded the ID of actuator and be inserted in the middle of next search instruction;
Actuator receives search instruction again, when the ID containing himself in search instruction then enters silent status, no longer responds search;
Controller sends configuration order to the actuator of Record ID, is received, complete configuration by this actuator.
3. the scanning recognition method between wireless lighting control system middle controller according to claim 2 and actuator, is characterized in that: described actuator receives search instruction, then judge whether it is new search by random number; If so, this search is namely responded; No, then enter silent status.
4. the scanning recognition method between wireless lighting control system middle controller according to claim 3 and actuator, is characterized in that: described controller controls by intelligent terminal, and described intelligent terminal has the visual operation interface of Controller-oriented; By the configuration status of described intelligent terminal active controller, the result of the search that controller is initiated reports to intelligent terminal, is shown with list or graphics mode by intelligent terminal.
5. the scanning recognition method between wireless lighting control system middle controller according to claim 4 and actuator, it is characterized in that: described intelligent terminal initiates the connecting test to the actuator found by controller, be specially, controller finds test instruction to appointment actuator, received and feedback-related information by this actuator, to confirm its coupling connection status.
6. the scanning recognition method between wireless lighting control system middle controller according to claim 4 and actuator, is characterized in that: when the first time search feedback result that controller is initiated is zero, then initiate second time search with the second timeslot number at least again.
CN201510234026.7A 2015-05-08 2015-05-08 Scanning recognition method in wireless lighting control system between controller and actuator Active CN104918361B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510234026.7A CN104918361B (en) 2015-05-08 2015-05-08 Scanning recognition method in wireless lighting control system between controller and actuator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510234026.7A CN104918361B (en) 2015-05-08 2015-05-08 Scanning recognition method in wireless lighting control system between controller and actuator

Publications (2)

Publication Number Publication Date
CN104918361A true CN104918361A (en) 2015-09-16
CN104918361B CN104918361B (en) 2017-11-21

Family

ID=54086940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510234026.7A Active CN104918361B (en) 2015-05-08 2015-05-08 Scanning recognition method in wireless lighting control system between controller and actuator

Country Status (1)

Country Link
CN (1) CN104918361B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763327A (en) * 2018-05-07 2018-11-06 中山易能智达电子有限公司 A method of using switch quick search lamp light control system configuration file
CN110334118A (en) * 2019-05-31 2019-10-15 口碑(上海)信息技术有限公司 Data query method and device
WO2019198257A1 (en) * 2018-04-10 2019-10-17 Smc Corporation Actuator control device
CN110366290A (en) * 2019-06-28 2019-10-22 中山易能智达电子有限公司 A kind of self-recovery method of intelligent lighting system
CN113596911A (en) * 2021-07-12 2021-11-02 广东易百珑智能科技有限公司 Wireless device communication method and wireless device control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050083178A1 (en) * 2003-10-21 2005-04-21 Atmel Germany Gmbh Method for selecting one or several transponders
CN1741400A (en) * 2004-08-27 2006-03-01 Atmel德国有限公司 Method for selecting one or more transponders
CN101470791A (en) * 2007-12-29 2009-07-01 华为技术有限公司 Radio frequency signal recognition and response method and system, label and reading device
CN202168256U (en) * 2011-08-03 2012-03-14 浙江川山甲物资供应链有限公司 Remote lighting control system based on Internet of things
CN104200182A (en) * 2014-08-25 2014-12-10 重庆邮电大学 Label anti-collision method based on binary system split tree

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050083178A1 (en) * 2003-10-21 2005-04-21 Atmel Germany Gmbh Method for selecting one or several transponders
CN1741400A (en) * 2004-08-27 2006-03-01 Atmel德国有限公司 Method for selecting one or more transponders
CN101470791A (en) * 2007-12-29 2009-07-01 华为技术有限公司 Radio frequency signal recognition and response method and system, label and reading device
CN202168256U (en) * 2011-08-03 2012-03-14 浙江川山甲物资供应链有限公司 Remote lighting control system based on Internet of things
CN104200182A (en) * 2014-08-25 2014-12-10 重庆邮电大学 Label anti-collision method based on binary system split tree

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李宝山: "基于随机数传送的动态帧时隙Aloha算法的研究", 《内蒙古科技大学学报》 *
舒琳: "ALOHA类RFID防碰撞算法OPNET建模与优化", 《通信与网络》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019198257A1 (en) * 2018-04-10 2019-10-17 Smc Corporation Actuator control device
EP3883100A1 (en) * 2018-04-10 2021-09-22 SMC Corporation Actuator control device
CN108763327A (en) * 2018-05-07 2018-11-06 中山易能智达电子有限公司 A method of using switch quick search lamp light control system configuration file
CN110334118A (en) * 2019-05-31 2019-10-15 口碑(上海)信息技术有限公司 Data query method and device
CN110334118B (en) * 2019-05-31 2021-08-03 口碑(上海)信息技术有限公司 Data query method and device
CN110366290A (en) * 2019-06-28 2019-10-22 中山易能智达电子有限公司 A kind of self-recovery method of intelligent lighting system
CN110366290B (en) * 2019-06-28 2021-07-23 中山易能智达电子有限公司 Self-recovery method of intelligent lighting control system
CN113596911A (en) * 2021-07-12 2021-11-02 广东易百珑智能科技有限公司 Wireless device communication method and wireless device control system

Also Published As

Publication number Publication date
CN104918361B (en) 2017-11-21

Similar Documents

Publication Publication Date Title
CN104918361A (en) Scanning identification method of controller and actuator in wireless light control system
RU2402161C2 (en) Unit for detection of vehicle position (versions) with system of power supply mode control system
CN101523991B (en) Method of restoring a remote wireless control device to a known state
CN105788214A (en) Remote control method, remote controller and remote control system
EP2579627B1 (en) System and method for remote household appliance control based on mobile communication network
US20160224043A1 (en) Method and Apparatus for Controlling Turn-On and Turn-Off of Smart Socket
CN105453701A (en) System comprising a controlling device and a controlled device
CN104767639A (en) Equipment management method and device
CN103794955B (en) Intelligent power supply system and Intelligent socket thereof and intelligent power supply method
CN103901863A (en) Intelligent home control system and method based on live-action control interface
EP3504938A1 (en) Wireless luminaire configuration
CN106354037B (en) A kind of system and method for realizing household appliance and mobile terminal binding
CN104867316A (en) Infrared remote control method and device
CN105516903A (en) Control method and system for achieving connection with multiple Bluetooth devices
WO2016209069A1 (en) Methods for managing multiple lighting fixtures
CN104900047A (en) Remote control system for household appliances and remote control method for remote control system
WO2004001588A8 (en) A system and method to re-synchronize client devices while refreshing them from a server
CN105527952A (en) Smart home control device and electric appliance matching system and method
CN105956111A (en) Cloud service intelligent control system for air purifier
CN106373378A (en) Infrared code matching method, matching device and intelligent socket
CN104238392A (en) Remote control power supply device, remote control lamp assembly thereof and code matching method thereof
US20070183460A1 (en) Method for establishing a user of a data network as a pilot master
CN103839394B (en) The control method of controlled switch and controlled switch
CN108846952A (en) Automatic vending machine long-range control method, device, storage medium and system
CN106019966A (en) Live-action-interface-based intelligent household control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant