CN113795073B - Wireless ad hoc network control network and wireless ad hoc network method of LED lamp - Google Patents

Wireless ad hoc network control network and wireless ad hoc network method of LED lamp Download PDF

Info

Publication number
CN113795073B
CN113795073B CN202111085300.0A CN202111085300A CN113795073B CN 113795073 B CN113795073 B CN 113795073B CN 202111085300 A CN202111085300 A CN 202111085300A CN 113795073 B CN113795073 B CN 113795073B
Authority
CN
China
Prior art keywords
code
main controller
product type
controller
wireless
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.)
Active
Application number
CN202111085300.0A
Other languages
Chinese (zh)
Other versions
CN113795073A (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.)
Wuxi Bee's Lamp Technology Co ltd
Original Assignee
Wuxi Bee's Lamp Technology 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 Wuxi Bee's Lamp Technology Co ltd filed Critical Wuxi Bee's Lamp Technology Co ltd
Priority to CN202111085300.0A priority Critical patent/CN113795073B/en
Publication of CN113795073A publication Critical patent/CN113795073A/en
Application granted granted Critical
Publication of CN113795073B publication Critical patent/CN113795073B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/155Coordinated control of two or more light sources
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/20Controlling the colour of the light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Selective Calling Equipment (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a wireless ad hoc network control network of an LED lamp, which comprises a trigger controller, a main controller and a power supply; the power supply is connected with the main controller, and the main controller is connected with one or more LED lamps; the trigger controller is connected with the main controller through wireless communication. The trigger controller and the main controller are paired by a wireless ad hoc network method; the wireless ad hoc network method comprises the following steps: step S1, a main controller is placed in a learning state; step S2, the trigger controller sends a control code to the main controller; the control code includes: a guide code, a product type code, a function code, a check code and an end code; step S3, the main controller receives and analyzes the control code and stores the product type code and the function code therein; pairing is completed; and exiting the learning state. The invention realizes the flexible control of the LED lamp and can realize various networking modes.

Description

Wireless ad hoc network control network and wireless ad hoc network method of LED lamp
Technical Field
The invention relates to the technical field of control of LED lamps, in particular to a wireless ad hoc network control network and a wireless ad hoc network method of an LED lamp.
Background
At present, the control mode of the LED lamps in markets and supermarkets is single, and a controller is usually used for controlling one or more specific LED lamps, so that a flexible and convenient control mode cannot be realized.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provide a wireless ad hoc network control network and a wireless ad hoc network method for an LED lamp, so that the LED lamp can be flexibly controlled, and various networking modes can be realized. In order to achieve the technical purpose, the technical scheme adopted by the embodiment of the invention is as follows:
in a first aspect, an embodiment of the present invention provides a wireless ad hoc network control network for an LED lamp, including a trigger controller, a main controller, and a power supply; the power supply is connected with the main controller, and the main controller is connected with one or more LED lamps; the trigger controller is connected with the main controller through wireless communication.
Further, the trigger controller and the main controller form pairing through a wireless ad hoc network method; the wireless ad hoc network method comprises the following steps:
step S1, a main controller is placed in a learning state;
step S2, the trigger controller sends a control code to the main controller; the control code includes: a guide code, a product type code, a function code, a check code and an end code;
the guide code is used for enabling the main controller to start receiving the control code;
the product type code is used for indicating the product type of the trigger controller so that the main controller can identify the corresponding function code according to the product type;
the function code is used for controlling the functions of the LED lamps, so that the main controller correspondingly controls the LED lamps according to the analyzed function code;
the check code is used for checking the accuracy of the received control code by the main controller;
the end code is used for enabling the main controller to stop receiving the control code;
step S3, the main controller receives and analyzes the control code and stores the product type code and the function code therein; pairing is completed; and exiting the learning state.
Further, the product type codes comprise two types, wherein the first type of product type codes are used for indicating that the trigger controller can trigger the switch of the LED lamp and adjusting the brightness or the color temperature of the LED lamp; the second type of product type code is used for indicating that the trigger controller can only trigger the switch of the LED lamp;
the main controller correspondingly controls the LED lamp according to the analyzed function code, and specifically comprises the following steps:
when the product type code is a first type product type code,
the function code indicates that the switch is turned on;
function code +1 represents closing the switch;
function code +2 indicates that brightness or color temperature adjustment is started;
function code +3 indicates stopping brightness or color temperature adjustment;
when the product type code is a second type product type code,
the function code indicates that the switch is turned on;
the function code +1 indicates that the switch is turned off.
Further, the function code is a random number.
Still further, the control code further includes a version code; the version code is used to represent the version of the current trigger controller.
In a second aspect, an embodiment of the present invention provides a wireless ad hoc network method, which is applicable to the wireless ad hoc network control network of the LED lamp as claimed in claim 1, and is characterized in that the wireless ad hoc network method includes the following steps:
step S1, a main controller is placed in a learning state;
step S2, the trigger controller sends a control code to the main controller; the control code includes: a guide code, a product type code, a function code, a check code and an end code;
the guide code is used for enabling the main controller to start receiving the control code;
the product type code is used for indicating the product type of the trigger controller so that the main controller can identify the corresponding function code according to the product type;
the function code is used for controlling the functions of the LED lamps, so that the main controller correspondingly controls the LED lamps according to the analyzed function code;
the check code is used for checking the accuracy of the received control code by the main controller;
the end code is used for enabling the main controller to stop receiving the control code;
step S3, the main controller receives and analyzes the control code and stores the product type code and the function code therein; pairing is completed; and exiting the learning state.
Further, the product type codes comprise two types, and the first type of product type codes are used for indicating that the trigger controller can trigger the switch of the LED lamp and adjusting the brightness or the color temperature of the LED lamp; the second type of product type code is used for indicating that the trigger controller can only trigger the switch of the LED lamp;
the main controller correspondingly controls the LED lamp according to the analyzed function code, and specifically comprises the following steps:
when the product type code is a first type product type code,
the function code indicates that the switch is turned on;
function code +1 represents closing the switch;
function code +2 indicates that brightness or color temperature adjustment is started;
function code +3 indicates stopping brightness or color temperature adjustment;
when the product type code is a second type product type code,
the function code indicates that the switch is turned on;
the function code +1 indicates that the switch is turned off.
Further, the function code is a random number.
Still further, the control code further includes a version code; the version code is used to represent the version of the current trigger controller.
The technical scheme provided by the embodiment of the invention has the beneficial effects that: the LED lamp control method and device can form flexible and various networking modes, and are convenient to flexibly control the LED lamp. And wiring is reduced through wireless networking, and the efficiency of on-site layout is improved.
Drawings
Fig. 1 is a schematic diagram of a wireless ad hoc network control network according to an embodiment of the present invention.
Fig. 2 is a flowchart of a wireless ad hoc network method according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the embodiment of the invention, as shown in fig. 1, a wireless ad hoc network control network of an LED lamp comprises a trigger controller, a main controller and a power supply; the power supply is connected with the main controller, and the main controller is connected with one or more LED lamps; the trigger controller is connected with the main controller through wireless communication; the wireless communication between the trigger controller and the main controller adopts 433M frequency band;
the trigger controller and the main controller are paired by a wireless ad hoc network method; the wireless ad hoc network method comprises the following steps:
step S1, a main controller is placed in a learning state;
the main controller automatically enters a learning state within a set time after being started, and then enters a working state; or when the main controller is in a working state, the main controller is switched into a learning state through a switching key on the main controller;
step S2, the trigger controller sends a control code to the main controller; the format of the control code is as follows:
the guide code, the version code, the product type code, the functional code, the check code and the end code
The guide code is used for enabling the main controller to start receiving the control code; in the present embodiment, the pilot code is a low level signal of 12 ms;
the version code is used for representing the version of the current trigger controller; so as to be convenient for analyzing the problems of each version during updating and maintenance; in this embodiment, the version code length is 1Byte;
the product type code is used for indicating the product type of the trigger controller so that the main controller can identify the corresponding function code according to the product type; the code length of the product type is 1Byte; in order to enable the wireless ad hoc network control network of the LED lamp to have more application scenes and more various control modes, the trigger controller can comprise a human body induction controller, a door control controller, a hand sweeping controller, a remote control controller and the like; for example, the human body induction controller can passively detect human body infrared signals, the hand sweep controller can actively send short-distance infrared signals and then detect infrared echo signals, the door control controller can detect the switch of the cabinet door, and the trigger controllers can trigger the switch of the LED lamp; the remote controller not only can trigger the switch of the LED lamp, but also can adjust the brightness or the color temperature of the LED lamp; in this embodiment, the product type codes include two types, and the first type of product type code is 0x01, which is used to indicate that the trigger controller can trigger the switch of the LED lamp, and adjust the brightness or color temperature of the LED lamp; the second type of product type code is 0x02, which is used for indicating that the trigger controller can only trigger the switch of the LED lamp;
the function code is used for controlling the functions of the LED lamps, so that the main controller correspondingly controls the LED lamps according to the analyzed function code; the length of the function code is 1Byte; in this embodiment, the function code is a random number;
when the product type code is a first type product type code,
the function code indicates that the switch is turned on;
function code +1 represents closing the switch;
function code +2 indicates that brightness or color temperature adjustment is started;
function code +3 indicates stopping brightness or color temperature adjustment;
when the product type code is a second type product type code,
the function code indicates that the switch is turned on;
function code +1 represents closing the switch;
the check code is used for checking the accuracy of the received control code by the main controller; the length of the check code is 2Byte, and a CRC check mode is adopted;
the end code is used for enabling the main controller to stop receiving the control code; in the present embodiment, the end code is a high level signal of 1.2 ms;
step S3, the main controller receives and analyzes the control code and stores the version code, the product type code and the function code; pairing is completed; and exiting the learning state.
After the pairing is completed, the trigger controller and the main controller can control the LED lamp through wireless communication;
through the wireless ad hoc network method, various flexible networking modes of one-shot, multiple-shot, one-shot, multiple-shot and multiple-shot can be realized;
for application scene introduction, for example, for a one-to-many networking mode, one human body induction controller can simultaneously establish wireless connection with a plurality of main controllers, so that the LED lamps respectively connected with the plurality of main controllers can be simultaneously controlled; for another example, for a multiple-sending-one-receiving networking mode, multiple remote controllers can establish wireless connection with the same main controller, so that the multiple remote controllers can control the LED lamps connected with the same main controller.
Finally, it should be noted that the above-mentioned embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same, and although the present invention has been described in detail with reference to examples, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention, and all such modifications and equivalents are intended to be encompassed in the scope of the claims of the present invention.

Claims (3)

1. The wireless ad hoc network control network of the LED lamp comprises a trigger controller, a main controller and a power supply; the power supply is connected with the main controller, and the main controller is connected with one or more LED lamps; the trigger controller is connected with the main controller through wireless communication;
the wireless ad hoc network method is characterized by comprising the following steps of:
step S1, a main controller is placed in a learning state;
step S2, the trigger controller sends a control code to the main controller; the control code includes: a guide code, a product type code, a function code, a check code and an end code;
the guide code is used for enabling the main controller to start receiving the control code;
the product type code is used for indicating the product type of the trigger controller so that the main controller can identify the corresponding function code according to the product type;
the function code is used for controlling the functions of the LED lamps, so that the main controller correspondingly controls the LED lamps according to the analyzed function code;
the check code is used for checking the accuracy of the received control code by the main controller;
the end code is used for enabling the main controller to stop receiving the control code;
step S3, the main controller receives and analyzes the control code and stores the product type code and the function code therein; pairing is completed; exiting the learning state;
the product type codes comprise two types, wherein the first type of product type codes are used for indicating that the trigger controller can trigger the switch of the LED lamp and adjusting the brightness or the color temperature of the LED lamp; the second type of product type code is used for indicating that the trigger controller can only trigger the switch of the LED lamp;
the main controller correspondingly controls the LED lamp according to the analyzed function code, and specifically comprises the following steps:
when the product type code is a first type product type code,
the function code indicates that the switch is turned on;
function code +1 represents closing the switch;
function code +2 indicates that brightness or color temperature adjustment is started;
function code +3 indicates stopping brightness or color temperature adjustment;
when the product type code is a second type product type code,
the function code indicates that the switch is turned on;
the function code +1 indicates that the switch is turned off.
2. The wireless ad hoc network method of claim 1, wherein,
the function code is a random number.
3. The wireless ad hoc network method of claim 1, wherein,
the control code also includes a version code; the version code is used to represent the version of the current trigger controller.
CN202111085300.0A 2021-09-16 2021-09-16 Wireless ad hoc network control network and wireless ad hoc network method of LED lamp Active CN113795073B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111085300.0A CN113795073B (en) 2021-09-16 2021-09-16 Wireless ad hoc network control network and wireless ad hoc network method of LED lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111085300.0A CN113795073B (en) 2021-09-16 2021-09-16 Wireless ad hoc network control network and wireless ad hoc network method of LED lamp

Publications (2)

Publication Number Publication Date
CN113795073A CN113795073A (en) 2021-12-14
CN113795073B true CN113795073B (en) 2023-12-29

Family

ID=79183682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111085300.0A Active CN113795073B (en) 2021-09-16 2021-09-16 Wireless ad hoc network control network and wireless ad hoc network method of LED lamp

Country Status (1)

Country Link
CN (1) CN113795073B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377339A (en) * 2007-08-31 2009-03-04 海尔集团公司 Method and device for regulating and controlling air conditioner
CN101729192A (en) * 2008-10-30 2010-06-09 杭州士兰微电子股份有限公司 Encoding and decoding method for wireless radio frequency remote control
CN103186115A (en) * 2011-12-27 2013-07-03 厦门青年网络通讯股份有限公司 Networkable remote home intelligent control switch and intelligent realization method
CN104853487A (en) * 2015-05-11 2015-08-19 上海益奥自控设备有限公司 Wireless intelligent lighting control system
CN104981066A (en) * 2015-07-03 2015-10-14 邹玉龙 Novel multifunctional remote-control intelligent solar lamp
CN105634888A (en) * 2016-01-25 2016-06-01 重庆邮电大学 Smart home cooperative networking communication method and system based on VSOP (Variable Safety Operation Protocol) protocol
CN108064103A (en) * 2017-12-18 2018-05-22 连云港苏达照明有限公司 A kind of intelligent wireless home lighting control system based on bluetooth
CN208832414U (en) * 2018-08-22 2019-05-07 广州景晴光电科技有限公司 A kind of LED touch remote controler for supporting multi partition multiple lamp light type

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377339A (en) * 2007-08-31 2009-03-04 海尔集团公司 Method and device for regulating and controlling air conditioner
CN101729192A (en) * 2008-10-30 2010-06-09 杭州士兰微电子股份有限公司 Encoding and decoding method for wireless radio frequency remote control
CN103186115A (en) * 2011-12-27 2013-07-03 厦门青年网络通讯股份有限公司 Networkable remote home intelligent control switch and intelligent realization method
CN104853487A (en) * 2015-05-11 2015-08-19 上海益奥自控设备有限公司 Wireless intelligent lighting control system
CN104981066A (en) * 2015-07-03 2015-10-14 邹玉龙 Novel multifunctional remote-control intelligent solar lamp
CN105634888A (en) * 2016-01-25 2016-06-01 重庆邮电大学 Smart home cooperative networking communication method and system based on VSOP (Variable Safety Operation Protocol) protocol
CN108064103A (en) * 2017-12-18 2018-05-22 连云港苏达照明有限公司 A kind of intelligent wireless home lighting control system based on bluetooth
CN208832414U (en) * 2018-08-22 2019-05-07 广州景晴光电科技有限公司 A kind of LED touch remote controler for supporting multi partition multiple lamp light type

Also Published As

Publication number Publication date
CN113795073A (en) 2021-12-14

Similar Documents

Publication Publication Date Title
US20230284363A1 (en) Commissioning and controlling load control devices
US7768422B2 (en) Method of restoring a remote wireless control device to a known state
US20110140914A1 (en) Controller system
CN204389961U (en) A kind of integrated monitoring socket and jack system
CN204217165U (en) A kind of based on internet of things intelligent household illuminator
CN110796844A (en) Wireless remote control method
CN104837265A (en) Household illumination intelligent monitoring system
CN105005216A (en) Intelligent classroom energy-saving control and state inquiry system
CN102300378A (en) Wireless remote controller and remotely-controlled dimming power-saving bulb device with signal responding and forwarding functions
CN102904639A (en) Visible light communication system, and transmitting device and receiving device thereof
CN111600586A (en) Single-fire switch double-control system and method
CN105163470A (en) Multi-sensing intelligent illumination control system and method
CN205862203U (en) Intelligent switch device based on conventional mechanical switch
CN113795073B (en) Wireless ad hoc network control network and wireless ad hoc network method of LED lamp
US11035562B2 (en) Custom universal light switch and dimmer
US20100085164A1 (en) Control circuit, system for operating a device and device for programming such a control circuit
CN202918296U (en) Visible light communication system and its transmitting device and receiving device
CN110379147A (en) A kind of RF remote-controlled grouping and control method
CN109757019A (en) A kind of learning-oriented scene management system based on signal light control
CN207164989U (en) A kind of control unit based on Zigbee, response unit and control system
CN102123548B (en) Brightness adjusting method and system of LED lamp
CN213069529U (en) Intelligent control system based on visible light communication
CN110049595B (en) Wired remote intelligent multi-channel dimming control method for LED industrial illumination
CN107436559A (en) A kind of smart home wireless control system
CN206149539U (en) Intelligence lamp accuse device based on human infrared system

Legal Events

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