[go: up one dir, main page]

CN1949949B - A wireless LED lighting control system - Google Patents

A wireless LED lighting control system Download PDF

Info

Publication number
CN1949949B
CN1949949B CN2006101125495A CN200610112549A CN1949949B CN 1949949 B CN1949949 B CN 1949949B CN 2006101125495 A CN2006101125495 A CN 2006101125495A CN 200610112549 A CN200610112549 A CN 200610112549A CN 1949949 B CN1949949 B CN 1949949B
Authority
CN
China
Prior art keywords
node
control
led
network
unit
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.)
Expired - Fee Related
Application number
CN2006101125495A
Other languages
Chinese (zh)
Other versions
CN1949949A (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.)
ZHEJIANG XUNBO INFORMATION ENGINEERING Co Ltd
Original Assignee
Institute of Computing Technology of CAS
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 Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CN2006101125495A priority Critical patent/CN1949949B/en
Publication of CN1949949A publication Critical patent/CN1949949A/en
Application granted granted Critical
Publication of CN1949949B publication Critical patent/CN1949949B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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
    • 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/196Controlling the light source by remote control characterised by user interface arrangements
    • H05B47/1965Controlling the light source by remote control characterised by user interface arrangements using handheld communication devices
    • 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/198Grouping of control procedures or address assignation to light sources
    • H05B47/1985Creation of lighting zones or scenes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

本发明公开了一种LED灯光无线控制系统,该系统包括:灯光场景文件网站单元,用于通过Internet网络向用户提供可供下载的灯光场景文件,接收用户利用灯光场景软件编辑并上传的灯光场景文件;本地计算机单元,用于利用装载的灯光场景软件编辑灯光效果,登录灯光场景网站单元,下载和上传灯光场景文件,将灯光场景文件转换成LED单元可以识别的数据格式,将转换后的数据下载到无线个人区域网络单元;无线个人区域网络单元,用于接收来自本地计算机单元的灯光场景数据,并存储起来,控制LED单元;LED单元,用于接收来自无线个人区域网络单元的控制信号,实现特定的灯光效果。利用本发明,实现了对LED灯光的灵活控制,非常易于系统的扩展。

Figure 200610112549

The invention discloses a wireless control system for LED lighting, which comprises: a lighting scene file website unit, which is used to provide users with downloadable lighting scene files through the Internet network, and receive lighting scenes edited and uploaded by users using lighting scene software file; the local computer unit is used to edit the lighting effect by using the loaded lighting scene software, log in to the lighting scene website unit, download and upload the lighting scene file, convert the lighting scene file into a data format that the LED unit can recognize, and convert the converted data Download to the wireless personal area network unit; the wireless personal area network unit is used to receive the lighting scene data from the local computer unit and store them to control the LED unit; the LED unit is used to receive the control signal from the wireless personal area network unit, To achieve specific lighting effects. The invention realizes the flexible control of the LED light and is very easy to expand the system.

Figure 200610112549

Description

一种LED灯光无线控制系统 A wireless LED lighting control system

技术领域technical field

本发明涉及LED灯光控制技术和无线个人区域网络领域,尤其涉及一种基于IEEE 802.15.4标准的低速无线个人区域网络LR-WPAN(Low-Rate Wireless Personal Area Network)技术与WEB技术相结合的LED灯光无线控制系统。The present invention relates to the field of LED lighting control technology and wireless personal area network, in particular to an LED based on the combination of IEEE 802.15.4 standard LR-WPAN (Low-Rate Wireless Personal Area Network) technology and WEB technology. Lighting wireless control system.

背景技术Background technique

LED作为一种新型的照明技术,其应用前景举世瞩目,LED照明取代传统照明已成为照明领域发展的一种趋势。高亮度LED灯具更是被誉为21世纪最有价值的光源,必将引起照明领域一场新的革命。As a new type of lighting technology, LED has attracted worldwide attention for its application prospects. LED lighting has become a trend in the field of lighting to replace traditional lighting. High-brightness LED lamps are known as the most valuable light source in the 21st century, which will surely cause a new revolution in the field of lighting.

因此,目前传统照明灯具正面临LED灯具的严峻挑战,造成目前这种局面的原因主要是因为LED灯具有以下3个主要优点:Therefore, at present, traditional lighting fixtures are facing severe challenges from LED lamps. The main reason for this situation is that LED lamps have the following three main advantages:

1、节能。由于LED是冷光源,半导体照明自身对环境没有任何污染,与白炽灯、荧光灯相比,省电效率可以达到90%以上。在同样亮度下,耗电量仅为普通白炽灯的1/10,荧光灯管的1/2。如果用LED取代我们目前传统照明的50%,每年我国节省的电量就相当于一个三峡电站发电量的总和,其节能效益十分可观。1. Energy saving. Since LED is a cold light source, semiconductor lighting itself has no pollution to the environment. Compared with incandescent lamps and fluorescent lamps, the power saving efficiency can reach more than 90%. Under the same brightness, the power consumption is only 1/10 of that of ordinary incandescent lamps and 1/2 of that of fluorescent tubes. If LEDs are used to replace 50% of our current traditional lighting, the electricity saved in my country every year is equivalent to the sum of the power generation of a Three Gorges Power Station, and its energy-saving benefits are very considerable.

2、健康。LED是一种绿色光源。LED灯直流驱动,没有频闪,没有红外和紫外的成分,没有辐射污染,显色性高并且具有很强的发光方向性,调光性能好,色温变化时不会产生视觉误差。冷光源发热量低,可以安全触摸;这些都是白炽灯和日光灯达不别的。它既能提供令人舒适的光照空间,又能很好地满足人的生理健康需求,是保护视力并且环保的健康光源。2. Health. LED is a green light source. LED lights are driven by DC, no stroboscopic, no infrared and ultraviolet components, no radiation pollution, high color rendering and strong luminous directionality, good dimming performance, and no visual errors when the color temperature changes. Cold light sources generate low heat and are safe to touch; these are incomparable to incandescent and fluorescent lamps. It can not only provide a comfortable lighting space, but also meet the physiological health needs of people. It is a healthy light source that protects eyesight and is environmentally friendly.

3、艺术性。LED在色彩艺术上显示了无与伦比的优势,目前彩色LED产品已覆盖了整个可见光谱范围,且单色性好,色彩纯度高,红、绿、黄LED的组合使色彩及灰度(1670万色)的选择具有较大的灵活性。3. Artistry. LED has shown unparalleled advantages in color art. At present, color LED products have covered the entire visible spectrum range, and have good monochromaticity and high color purity. The combination of red, green and yellow LEDs makes the color and grayscale (16.7 million colors) ) has greater flexibility in selection.

目前LED灯光照明主要应用在居室照明、建筑物照明、景观照明中,通过对灯光的控制实现灯光的追逐、流水、跳跃等数果,使灯光建立起构图、秩序和节奏,能充分发挥出灯光的艺术表现力。但要达到使灯光的变化、色彩、亮度以及音乐节奏等各种艺术元素相协调,就必须采用复杂的自动控制系统。At present, LED lighting is mainly used in room lighting, building lighting, and landscape lighting. Through the control of lights, the lights can be chased, flowing, jumping, etc., so that the lights can establish composition, order and rhythm, and can give full play to the lights. artistic expression. However, in order to achieve the coordination of various artistic elements such as lighting changes, colors, brightness, and music rhythms, a complex automatic control system must be adopted.

目前,LED灯光控制系统主要通过以下几种技术方式来实现动态的LED灯光控制效果:At present, the LED lighting control system mainly uses the following technical methods to achieve dynamic LED lighting control effects:

1)、采用DMX512通讯协议方式:该方式采用分布式、模块化的计算机网络技术控制系统,通讯接口采用计算机通讯中通用的EIA-485标准,采用光纤或网线传输控制信号。1) Adopt DMX512 communication protocol mode: This mode adopts distributed and modular computer network technology control system, the communication interface adopts the general EIA-485 standard in computer communication, and uses optical fiber or network cable to transmit control signals.

2)、采用EIA-485标准接口的网络控制系统:泫系统采用光纤或网线传输控制信号。系统通讯协议,一般采用EIA-485标准或厂家自行定义的格式。多台主控制相联最大可达128个,最多可以控制128个终端回路控制器。终端到灯具采用串行或并行TTL信号控制方式。2) Network control system using EIA-485 standard interface: the system uses optical fiber or network cable to transmit control signals. The system communication protocol generally adopts the EIA-485 standard or the format defined by the manufacturer. A maximum of 128 multiple main control units can be connected, and a maximum of 128 terminal loop controllers can be controlled. Terminal to lamp adopts serial or parallel TTL signal control mode.

3 )、采用大屏幕显示控制方式:该方式主要由CPU微处理器、与上位机的标准通信接口、与显示驱动模块的标准通信接口及环境光强检测模块组成一个标准的控制模块硬件结构,通过编制不同的软件,即可用于不同的场所。与上位机的标准通信接口及与显示驱动模块的标准通信接口可采用标准的RS232、RS422AK或RS485通信接口。3), using large-screen display control mode: this mode is mainly composed of CPU microprocessor, standard communication interface with host computer, standard communication interface with display driver module and ambient light intensity detection module to form a standard control module hardware structure, By compiling different software, it can be used in different places. The standard communication interface with the upper computer and the standard communication interface with the display driver module can adopt standard RS232, RS422AK or RS485 communication interface.

通过对以上三种方式的描述可以看出,现有的LED灯光控制方式有如下两个缺点:From the description of the above three methods, it can be seen that the existing LED lighting control methods have the following two disadvantages:

第一、是将灯光效果方案固化在控制器里,通过控制器面板上的按钮来选择,用户只能在控制器中的方案中进行选择而无法添加新的灯光效果方案,应用不灵活;The first is to solidify the lighting effect scheme in the controller and select it through the buttons on the controller panel. Users can only choose from the schemes in the controller and cannot add new lighting effect schemes, so the application is not flexible;

第二、信号传输依赖于485接口方式的双绞线,在使用灵活上大打折扣,而且当灯具增多时,大量的电缆将占用空间并且增加系统的成本,使得系统变得十分臃肿,不易于系统的扩展。Second, the signal transmission depends on the twisted pair of 485 interface, which greatly reduces the flexibility of use, and when the number of lamps increases, a large number of cables will take up space and increase the cost of the system, making the system very bloated and difficult to install. extension.

发明内容Contents of the invention

一)要解决的技术问题1) Technical problems to be solved

针对上述现有技术存在的不足,本发明的主要目的在于提供一种基于IEEE 802.15.4标准的低速无线个人区域网络LR-WPAN技术与WEB技术相结合的LED灯光无线控制系统,以实现对LED灯光的灵活控制,并易于系统的扩展。Aiming at the deficiencies in the prior art above, the main purpose of the present invention is to provide a LED light wireless control system based on IEEE 802.15.4 standard low-speed wireless personal area network LR-WPAN technology combined with WEB technology to realize Flexible control of lighting and easy system expansion.

(二)技术方案(2) Technical solutions

为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:

一种LED灯光无线控制系统,该系统包括:A wireless LED lighting control system, the system includes:

灯光场景文件网站单元,用于通过Internet网络向用户提供可供下载的灯光场景文件,接收用户利用灯光场景软件编辑并上传的灯光场景文件;The lighting scene file website unit is used to provide users with downloadable lighting scene files through the Internet, and receive the lighting scene files edited and uploaded by users using the lighting scene software;

本地计算机单元,用于利用装载的灯光场景软件编辑灯光效果,登录灯光场景网站单元,下载和上传灯光场景文件,将灯光场景文件转换成LED单元可以识别的数据格式,将转换后的数据下载到无线个人区域网络单元;The local computer unit is used to use the loaded lighting scene software to edit the lighting effect, log in to the lighting scene website unit, download and upload the lighting scene file, convert the lighting scene file into a data format that the LED unit can recognize, and download the converted data to wireless personal area network unit;

无线个人区域网络单元,用于接收来自本地计算机单元的灯光场景数据,并存储起来,控制LED单元;The wireless personal area network unit is used to receive the lighting scene data from the local computer unit, store them, and control the LED unit;

LED单元,用于接收来自无线个人区域网络单元的控制信号,实现特定的灯光效果。The LED unit is used for receiving a control signal from the wireless personal area network unit to realize a specific lighting effect.

所述无线个人区域网络单元包括:The wireless personal area network unit includes:

网络协调器节点,用于为网络中的节点分配地址,从本地计算机单元接收并存储灯光场景数据,将接收的灯光场景数据发送给路由器节点,控制整个LED灯光无线控制系统;The network coordinator node is used to assign addresses to nodes in the network, receive and store lighting scene data from the local computer unit, send the received lighting scene data to the router node, and control the entire LED lighting wireless control system;

路由器节点,用于实现网络路径的发现和选择,将接收自网络协调器节点的灯光场景数据发送给LED单元的终端设备节点,控制LED灯具的开关和亮度;The router node is used to realize the discovery and selection of the network path, send the lighting scene data received from the network coordinator node to the terminal device node of the LED unit, and control the switch and brightness of the LED lamp;

终端设备节点,用于提供控制路由器节点与LED灯具的接口,将接收自控制路由器节点的控制信号实时的传送给LED灯具,从而控制LED灯具的灯光和亮度按照预期的方案变化。The terminal device node is used to provide the interface between the control router node and the LED lamp, and transmit the control signal received from the control router node to the LED lamp in real time, so as to control the light and brightness of the LED lamp to change according to the expected scheme.

所述网络协调器节点包含一个路由表,该路由表存储有通往网络中每个节点的路径,网络协调器节点根据存储的路径将灯光场景数据发送给中继路由器节点和终端设备节点;The network coordinator node includes a routing table, the routing table stores a path leading to each node in the network, and the network coordinator node sends the lighting scene data to the relay router node and the terminal device node according to the stored path;

所述网络协调器节点通过串口与本地计算机单元相连,所述网络协调器节点提供键盘接口以及LCD显示屏,对灯光场景数据进行编号,通过键盘输入控制LED模块显示预定的灯光效果。The network coordinator node is connected to the local computer unit through a serial port, and the network coordinator node provides a keyboard interface and an LCD display to number the lighting scene data, and controls the LED module to display predetermined lighting effects through keyboard input.

所述路由器节点包括:The router nodes include:

中继路由器节点,用于将接收自网络协调器节点的灯光场景数据转发给控制路由器节点;The relay router node is used to forward the lighting scene data received from the network coordinator node to the control router node;

控制路由器节点,用于以终端设备节点作为其子节点,组成星型网络,实现对LED灯具的控制。The control router node is used to use the terminal device node as its child node to form a star network to realize the control of LED lamps.

所述中继路由器节点和控制路由器节点分别包含一个路由表,所述路由表存储有通向网络协调器节点和其它路由器节点的路径;The relay router node and the control router node respectively include a routing table, and the routing table stores paths leading to the network coordinator node and other router nodes;

所述中继路由器节点和控制路由器节点固定墙壁上或建筑物上,由直流稳压供电,以无线的方式控制LED灯具的开关和亮度。The relay router node and the control router node are fixed on a wall or a building, powered by a DC stabilized voltage, and wirelessly control the switch and brightness of the LED lamps.

所述无线个人区域网络单元进一步包括:The wireless personal area network unit further includes:

遥控器,包括路由器节点和键盘,用于集中或分级控制多组灯光的开关和亮度,在遥控器的路由器节点中存储有灯光场景程序,通过键盘输入需要控制的LED灯具地址、路由器节点地址或灯光场景编号,采用多跳的方式将控制信号传输到目的节点,控制LED灯具的开关和亮度。The remote control, including router nodes and keyboards, is used to centrally or hierarchically control the switch and brightness of multiple groups of lights. Lighting scene programs are stored in the router nodes of the remote control, and the address of the LED lamp to be controlled, the address of the router node or Lighting scene number, the control signal is transmitted to the destination node in a multi-hop manner, and the switch and brightness of the LED lamp are controlled.

所述遥控器所发出的控制信号由路由器节点接收,具体控制哪些或哪个LED灯具的开关和亮度由控制信号数据帧的负载决定。The control signal sent by the remote controller is received by the router node, and the switch and brightness of which or which LED lamps are specifically controlled are determined by the load of the data frame of the control signal.

所述无线个人区域网络单元为在星型拓扑网络结构的基础上构建的树型拓扑网络,所述树型拓扑网络为多跳网络。The wireless personal area network unit is a tree topology network constructed on the basis of a star topology network structure, and the tree topology network is a multi-hop network.

所述LED单元包括LED灯具和LED驱动电路。The LED unit includes an LED lamp and an LED driving circuit.

所述LED驱动电路用于解析路由器节点传来的数据,以MCU控制PWM的方式驱动三种颜色R/G/B的LED发光时间的长短,控制LED灯具灯光的颜色变化。The LED drive circuit is used to analyze the data transmitted from the router node, and drive the LEDs of three colors R/G/B to light up the length of time in the way of PWM control by the MCU, so as to control the color change of the light of the LED lamp.

(三)有益效果(3) Beneficial effects

从上述技术方案可以看出,本发明具有以下有益效果:As can be seen from the foregoing technical solutions, the present invention has the following beneficial effects:

1、利用本发明,用户可以通过灯光场景软件在WEB上下载或上传灯光场景方案,只要通过一台连接到Internet的计算机就可以随时获得最新的灯光效果,使得灯光方案的选择十分便捷,具有极大的灵活性。1. Using the present invention, users can download or upload lighting scene schemes on the WEB through the lighting scene software, and can obtain the latest lighting effects at any time through a computer connected to the Internet, making the selection of lighting schemes very convenient and extremely Great flexibility.

2、利用本发明,还可以利用灯光场景软件编辑方案,预览灯光效果,将转化后的灯光场景数据下载到协调器中,解决了灯光场景方案难以改变的问题,还可以实时的观察网络状况,使得LED灯光控制更加人性化。2. With the present invention, it is also possible to use the lighting scene software to edit the scheme, preview the lighting effect, and download the converted lighting scene data to the coordinator, which solves the problem that the lighting scene scheme is difficult to change, and can also observe the network status in real time. Make LED lighting control more humane.

3、利用本发明,以无线网络来控制LED灯光系统,取代有线的方式,节省了大量的空间,也降低了成本,易于安装和维护,实现对LED灯光的灵活控制。3. Using the present invention, the wireless network is used to control the LED lighting system instead of the wired way, which saves a lot of space, reduces the cost, is easy to install and maintain, and realizes the flexible control of the LED lighting.

4、利用本发明,采用多跳网络,使得系统的覆盖范围变得更大,可随时加入新的节点,当需要扩展系统时,只需安装好灯具,而无需布置电缆,使得系统极易扩展。4. Using the present invention, the multi-hop network is used to make the coverage of the system larger, and new nodes can be added at any time. When the system needs to be expanded, only the lamps need to be installed without laying cables, making the system extremely easy to expand .

附图说明Description of drawings

图1为星型网络的拓扑结构示意图;Fig. 1 is a schematic diagram of the topology of a star network;

图2为网状网络的拓扑结构示意图;FIG. 2 is a schematic diagram of a topology structure of a mesh network;

图3为本发明提供的LED灯光无线控制系统的结构框图;Fig. 3 is a structural block diagram of the LED lighting wireless control system provided by the present invention;

图4为本发明实施例中LED灯光无线控制系统的示意图;4 is a schematic diagram of a wireless control system for LED lights in an embodiment of the present invention;

图5为本发明实施例中LED灯光无线控制系统的工作流程图。Fig. 5 is a working flow chart of the LED lighting wireless control system in the embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚明白,以下首先对本发明应用的无线个人区域网络进行详细描述。In order to make the purpose, technical solution and advantages of the present invention clearer, the wireless personal area network to which the present invention is applied is firstly described in detail below.

IEEE 802.15.4是电子电机工程师学会(Institute of Electrical andElectronics Engineer,IEEE)确定的低速无线个人区域网络(Personal AreaNetwork)标准。该标准把低能量消耗、低速率传输、低成本作为重点目标,旨在为个人或家庭范围内不同设备之间低速互连提供统一的标准。标准定义了物理层(Physical Layer,PHY)和介质访问层(Medium AccessLayer,MAC)。IEEE 802.15.4 is a low-speed wireless personal area network (Personal Area Network) standard determined by the Institute of Electrical and Electronics Engineers (IEEE). The standard focuses on low energy consumption, low-speed transmission, and low cost, and aims to provide a unified standard for low-speed interconnection between different devices within the personal or family range. The standard defines the Physical Layer (Physical Layer, PHY) and the Medium Access Layer (Medium Access Layer, MAC).

物理层(PHY)规范确定了在国际通用的ISM 2.4GHz上的低功耗扩频无线电,另外还规定了两个工作频率868MHz和915MHz。The physical layer (PHY) specification defines a low-power spread-spectrum radio on the internationally accepted ISM 2.4GHz, and also specifies two operating frequencies of 868MHz and 915MHz.

介质访问层(MAC)规范定义了在同一区域工作的多个IEEE 802.15.4无线电信号如何共享空中通道。介质访问层有如下特点:The Medium Access Layer (MAC) specification defines how multiple IEEE 802.15.4 radios operating in the same area share the air channel. The media access layer has the following characteristics:

在不同的载波频率下实现了20kbps、40kbps和250kbps三种不同的传输速率;Three different transmission rates of 20kbps, 40kbps and 250kbps are realized under different carrier frequencies;

支持星型网和网状网两种网络拓扑结构;Support star network and mesh network two network topologies;

有16位和64位两种地址格式,其中64位地址是全球唯一的扩展地址;There are two address formats, 16-bit and 64-bit, of which the 64-bit address is the only extended address in the world;

支持冲突避免的载波多路侦听技术(Carrier Sense Multiple Access withCollision Avoidance,CSMA-CA);Carrier Sense Multiple Access with Collision Avoidance (CSMA-CA) that supports collision avoidance;

支持确认(ACK)机制,保证传输可靠性。Support acknowledgment (ACK) mechanism to ensure transmission reliability.

在IEEE 802.15.4网络中,根据设备所具有的通信能力,可以分为全功能设备(Full-Function Device,FFD)和精简功能设备(Reduce-FunctionDevice,RFD)。FFD设备之间以及FFD设备与RFD设备之间都可以通信。RFD设备之间不能直接通信,只能与FFD设备通信,或者通过一个FFD设备向外转发数据。这个与RFD相关联的FFD设备称为该RFD的协调器(Coordinator)。RFD设备主要用于简单的控制应用,如灯的开关等,传输的数据量较少,对传输资源和通信资源占用不多,这样RFD设备可以采用非常廉价的实现方案。网络协调器是LR-WPAN中的主控制器,除了直接参与应用之外,还要完成成员身份管理、链路状态信息管理以及分组转发等任务。In the IEEE 802.15.4 network, according to the communication capabilities of the device, it can be divided into a full-function device (Full-Function Device, FFD) and a reduced-function device (Reduce-Function Device, RFD). Both FFD devices and between FFD devices and RFD devices can communicate. RFD devices cannot communicate directly with each other, but can only communicate with FFD devices, or forward data through an FFD device. The FFD device associated with the RFD is called the RFD's coordinator (Coordinator). RFD equipment is mainly used for simple control applications, such as light switches, etc., the amount of transmitted data is small, and the transmission resources and communication resources are not occupied, so RFD equipment can adopt a very cheap implementation scheme. The network coordinator is the main controller in LR-WPAN. In addition to directly participating in the application, it also needs to complete tasks such as membership management, link state information management, and packet forwarding.

根据应用的需要,IEEE 802.15.4网络可以组织成星型网络,也可以组织成网状网络。According to the needs of the application, the IEEE 802.15.4 network can be organized into a star network or a mesh network.

如图1所示,图1为星型网络的拓扑结构示意图。在星型网络中,以网络协调器11为中心,所有的设备都与网络协调器通信。一个网络如何确定自已的网络协调器由上层协议决定,当FFD在第一次被激活之后,首先广播查询网络协调器的请求,如果接收到回应说明网络中已经存在网络协调器,再通过一系列认证过程,设备就成为了这个网络中的普通设备。如果没有收到回应或者认证不成功,这个FFD设备就可以建立自己的网络,并且成为这个网络的网络协调器。网络协调器为网络选择一个唯一的标志符,所有的星型网络中的设备都是用这个标志符来规定自己的属主关系。选择标志符之后,网络协调器就允许其它设备加入自己的网络,并为这些设备转发数据分组。As shown in FIG. 1 , FIG. 1 is a schematic diagram of a topology structure of a star network. In the star network, the network coordinator 11 is the center, and all devices communicate with the network coordinator. How a network determines its own network coordinator is determined by the upper layer protocol. When FFD is activated for the first time, it first broadcasts a request to query the network coordinator. If a response is received, it means that the network coordinator already exists in the network, and then through a series of After the authentication process, the device becomes a common device in the network. If no response is received or the authentication is unsuccessful, the FFD device can establish its own network and become the network coordinator of the network. The network coordinator selects a unique identifier for the network, and all devices in the star network use this identifier to specify their own ownership. After selecting the identifier, the network coordinator allows other devices to join its network and forwards data packets for these devices.

如图2所示,图2为网状网络的拓扑结构示意图。网状网络中,任意两个设备只要能够彼此收到对方的无线信号,就可以进行直接通信,不需要其他设备的转发。但网状网络中仍然需要一个网络协调器21,不过该协调器的功能不再是为其它设备转发属,而是完成设备注册和访问控制等基本的网络管理功能。网络协调器的产生同样由上层协议规定,例如把某个信道上第一个开始通信的设备作为该信道上的网络协调器。As shown in FIG. 2 , FIG. 2 is a schematic diagram of a topology structure of a mesh network. In a mesh network, as long as any two devices can receive each other's wireless signals, they can communicate directly without forwarding by other devices. However, a network coordinator 21 is still required in the mesh network, but the function of the coordinator is no longer to forward attributes for other devices, but to complete basic network management functions such as device registration and access control. The generation of the network coordinator is also stipulated by the upper layer protocol, for example, the first device to start communication on a certain channel is used as the network coordinator on the channel.

因此,基于IEE 802.15.4标准具有的低速、低功耗的特性,可以将无线个人区域网络应用到诸如工业监控、环境监测等很多的领域。由于LED灯光控制所需要的正是一种短距低速的传输方式,基于IEEE 802.15.4标准的无线个人区域网络很适合应用到LED灯光控制,目前虽然有使用无线来控制LED灯光的产品,但是并没有将无线个人区域网络的概念引入LED灯光控制领域,而且IEEE 802.15.4标准提供了面向网络层的接口,可以方便的开发出路由协议,使得无线个人区域网络具有极大的扩展性。Therefore, based on the low speed and low power consumption characteristics of the IEE 802.15.4 standard, wireless personal area networks can be applied to many fields such as industrial monitoring and environmental monitoring. Since LED lighting control requires a short-distance and low-speed transmission method, the wireless personal area network based on the IEEE 802.15.4 standard is very suitable for application to LED lighting control. Although there are currently products that use wireless to control LED lighting, but The concept of wireless personal area network has not been introduced into the field of LED lighting control, and the IEEE 802.15.4 standard provides an interface for the network layer, which can facilitate the development of routing protocols, making wireless personal area network have great scalability.

本发明正是基于上述IEEE 802.15.4标准的低速无线个人区域网络,提供了一种LED灯光无线控制系统。The present invention is based on the low-speed wireless personal area network of the above-mentioned IEEE 802.15.4 standard, and provides a wireless LED lighting control system.

如图3所示,图3为本发明提供的LED灯光无线控制系统的结构框图,该系统包括灯光场景文件网站单元31、本地计算机单元32、无线个人区域网络单元33和LED单元34 。As shown in Figure 3, Figure 3 is a structural block diagram of the LED lighting wireless control system provided by the present invention, the system includes a lighting scene file website unit 31, a local computer unit 32, a wireless personal area network unit 33 and an LED unit 34.

其中,灯光场景文件网站单元31用于通过Internet网络向用户提供可供下载的灯光场景文件,接收用户利用灯光场景软件编辑并上传的灯光场景文件。Wherein, the lighting scene file website unit 31 is used to provide users with downloadable lighting scene files through the Internet, and receive lighting scene files edited and uploaded by users using lighting scene software.

本地计算机单元32用于利用装载的灯光场景软件编辑灯光效果,登录灯光场景网站单元,下载和上传灯光场景文件,将灯光场景文件转换LED单元可以识别的数据格式,将转换后的数据下载到无线个人区域网络单元。The local computer unit 32 is used to use the loaded lighting scene software to edit the lighting effect, log in to the lighting scene website unit, download and upload the lighting scene file, convert the lighting scene file into a data format that the LED unit can recognize, and download the converted data to the wireless Personal area network unit.

无线个人区域网络单元33用于接收来自本地计算机单元的灯光场景数据,并存储起来,控制LED单元。无线个人区域网络单元33包括网络协调器节点、路由器节点和终端设备节点。The wireless personal area network unit 33 is used to receive the lighting scene data from the local computer unit, store them, and control the LED unit. The wireless personal area network unit 33 includes a network coordinator node, a router node, and a terminal device node.

其中,网络协调器节点用于为网络中的节点分配地址,从本地计算机单元接收并存储灯光场景数据,将接收的灯光场景数据发送给路由器节点,控制整个LED灯光无线控制系统。网络协调器节点包含一个路由表,该路由表存储有通往网络中每个节点的路径,网络协调器节点根据存储的路径将灯光场景数据发送给中继路由器节点和终端设备节点。网络协调器节点通过串口与本地计算机单元相连,所述网络协调器节点提供键盘接口以及LCD显示屏,对灯光场景数据进行编号,通过键盘输入控制LED模块显示预定的灯光效果。Among them, the network coordinator node is used to assign addresses to nodes in the network, receive and store lighting scene data from the local computer unit, send the received lighting scene data to the router node, and control the entire LED lighting wireless control system. The network coordinator node contains a routing table, which stores the path to each node in the network, and the network coordinator node sends the lighting scene data to the relay router node and the terminal device node according to the stored path. The network coordinator node is connected to the local computer unit through a serial port, and the network coordinator node provides a keyboard interface and an LCD display to number the lighting scene data, and controls the LED module to display predetermined lighting effects through keyboard input.

路由器节点用于实现网络路径的发现和选择,将接收自网络协调器节点的灯光场景数据发送给LED单元的终端设备节点,控制LED灯具的开关和亮度。路由器节点包括中继路由器节点、控制路由器节点和终端设备节点。其中,中继路由器节点用于将接收自网络协调器节点的灯光场景数据转发给控制路由器节点;控制路由器节点用于以终端设备节点作为其子节点,组成星型网络,实现对LED灯具的控制。中继路由器节点和控制路由器节点分别包含一个路由表,所述路由表存储有通向网络协调器节点和其它路由器节点的路径。中继路由器节点和控制路由器节点固定墙壁或建筑物上,由直流稳压供电,以无线的方式控制LED灯具的开关和亮度。The router node is used to realize the discovery and selection of the network path, send the lighting scene data received from the network coordinator node to the terminal device node of the LED unit, and control the switch and brightness of the LED lamp. Router nodes include relay router nodes, control router nodes, and terminal device nodes. Among them, the relay router node is used to forward the lighting scene data received from the network coordinator node to the control router node; the control router node is used to use the terminal device node as its child node to form a star network to realize the control of LED lamps . The relay router node and the control router node each contain a routing table which stores routes to the network coordinator node and other router nodes. The relay router node and the control router node are fixed on the wall or building, powered by a DC stabilized voltage, and control the switch and brightness of the LED lamps wirelessly.

终端设备节点用于提供控制路由器节点与LED灯具的接口,将接收自控制路由器节点的控制信号实时的传送给LED灯具,从而控制LED灯具的灯光和亮度按照预期的方案变化。The terminal device node is used to provide the interface between the control router node and the LED lamp, and transmit the control signal received from the control router node to the LED lamp in real time, so as to control the light and brightness of the LED lamp to change according to the expected scheme.

无线个人区域网络单元33还可以进一步包括遥控器。该遥控器包括路由器节点和键盘,用于集中或分级控制多组灯光的开关和亮度,在遥控器的路由器节点中存储有灯光场景程序,通过键盘输入需要控制的LED灯具地址、路由器节点地址或灯光场景编号,采用多跳的方式将控制信号传输到目的节点,控制LED灯具的开关和亮度。遥控器所发出的控制信号由路由器节点接收,具体控制哪些或哪个LED灯具的开关和亮度由控制信号数据帧的负载决定。The wireless personal area network unit 33 may further include a remote controller. The remote control includes a router node and a keyboard, which are used to centrally or hierarchically control the switch and brightness of multiple groups of lights. The lighting scene program is stored in the router node of the remote control, and the address of the LED lamp to be controlled, the address of the router node or Lighting scene number, the control signal is transmitted to the destination node in a multi-hop manner, and the switch and brightness of the LED lamp are controlled. The control signal sent by the remote controller is received by the router node, and the switch and brightness of which or which LED lamps are specifically controlled are determined by the load of the control signal data frame.

无线个人区域网络单元33为在星型拓扑网络结构的基础上构建的树型拓扑网络,所述树型拓扑网络为多跳网络。The wireless personal area network unit 33 is a tree topology network constructed on the basis of a star topology network structure, and the tree topology network is a multi-hop network.

LED单元34用于接收来自无线个人区域网络单元的控制信号,实现特定的灯光效果。LED单元34包括LED灯具和LED驱动电路,所述LED驱动电路用于解析路由器节点传来的数据,以MCU控制PWM的方式驱动三种颜色R/G/B的LED发光时间的长短,控制LED灯具灯光的颜色变化。The LED unit 34 is used to receive a control signal from the wireless personal area network unit to realize a specific lighting effect. The LED unit 34 includes an LED light fixture and an LED drive circuit. The LED drive circuit is used to analyze the data sent by the router node, and to drive the LEDs of three colors R/G/B to emit light in the mode of PWM to control the length of the LED light emitting time. The color change of the lamp light.

本发明将WEB技术和无线个人区域网络技术结合起来应用到LED灯光控制上,从互联网上通过无线个人区域网络的形式将灯光场装方案下载到LED灯光系统中。The present invention combines WEB technology and wireless personal area network technology and applies it to LED lighting control, and downloads the lighting field installation scheme from the Internet to the LED lighting system in the form of wireless personal area network.

为克服现有LED灯光控制系统不灵活、可扩展性差的缺点,将灯光场景方案通过Internet提供给用户,供用户选择,并且用户可以通过灯光场景软件编辑所需要的方案,或者将所编辑的方案上传到网站上。In order to overcome the disadvantages of inflexibility and poor scalability of the existing LED lighting control system, the lighting scene scheme is provided to users through the Internet for users to choose, and the user can edit the required scheme through the lighting scene software, or edit the scheme Upload to the website.

为解决现有的LED控制系统采用有线的方式占用大量空间、成本高、维护不便的缺点,以无线个人区域网络取代有线的连接方式。IEEE802.15.4标准专注于低速和低功耗,射频发射功率较低,只定义了物理层和MAC层,而没有涉及到高层协议,只能组成星型网络和简单的网状网络,由此所带来的问题是传输距离有限,工作在2.4GHz的条件下传输距离在十米到几十米的范围内,当需要工作范围扩大时无法满足要求,系统扩展困难。In order to solve the shortcomings of the existing LED control system, which uses a wired method, which takes up a lot of space, is expensive, and is inconvenient to maintain, a wireless personal area network is used to replace the wired connection method. The IEEE802.15.4 standard focuses on low speed and low power consumption, and the radio frequency transmission power is low. It only defines the physical layer and the MAC layer, and does not involve high-level protocols. It can only form a star network and a simple mesh network. The problem is that the transmission distance is limited, and the transmission distance is within the range of ten meters to tens of meters under the condition of 2.4GHz. When the working range needs to be expanded, it cannot meet the requirements, and the system expansion is difficult.

本发明为解决上述问题提供了一种多跳路由方式,在网络中加入路由器节点,使得信息可以通过路由器转发到目的设备,扩大网络的工作范围,保证数据的无差错传输,同时也增强了系统的扩展性。具体方案包括以下内容:The present invention provides a multi-hop routing method to solve the above problems, adding router nodes in the network, so that information can be forwarded to the destination device through the router, expanding the working range of the network, ensuring error-free transmission of data, and at the same time enhancing the system scalability. The specific plan includes the following:

在WEB方面,建立一个LED灯光场景网站,该网站由技术人员维护,提供各种灯光场景方案的下载。为使用户可以不断的获得最新的灯光场景方案,技术人员保持更新网站内容,将制作好的灯光场景文件放到网站上。用户可以通过灯光场景软件登陆网站下载方案,也可以通过灯光场景软件自己来编辑场景方案,并且如果用户有兴趣共享自已的方案的话,可以通过灯光场景软件上传到网站上,供其他用户体验。In terms of WEB, an LED lighting scene website is established, which is maintained by technicians and provides downloads of various lighting scene solutions. In order to enable users to continuously obtain the latest lighting scene solutions, technicians keep updating the content of the website and put the prepared lighting scene files on the website. Users can log in to the website to download the scheme through the lighting scene software, or edit the scene scheme through the lighting scene software, and if users are interested in sharing their own schemes, they can upload them to the website through the lighting scene software for other users to experience.

关于灯光场景软件的描述如下:The description of the lighting scene software is as follows:

1)可以通过该软件作为浏览器登陆LED灯光场景网站,并从网站上下载文件,还通过灯光场景软件可以将本地的文件上传到网站上;1) The software can be used as a browser to log in to the LED lighting scene website, and download files from the website, and can also upload local files to the website through the lighting scene software;

2)编辑灯光场景方案,提供图形界面来选择LED灯光的数量、颜色、动态效果,生成一个灯光场景文件,该文件和从服务器上所下载的灯光场景文件格式一致;2) Edit the lighting scene scheme, provide a graphical interface to select the number, color, and dynamic effect of LED lights, and generate a lighting scene file, which is in the same format as the lighting scene file downloaded from the server;

3)软件可以解释下载到的灯光场景文件,提供一个预览灯光效果的虚拟环境,真实的反映灯光效果;3) The software can interpret the downloaded lighting scene files, provide a virtual environment to preview the lighting effects, and truly reflect the lighting effects;

4)灯光场景文件只用于在计算机上预览,并不能为LED驱动模块所识别,在计算机上预览后,灯光场景软件可以将灯光场景文件转换成LED模块可以识别的数据;4) The lighting scene file is only used for previewing on the computer and cannot be recognized by the LED driver module. After previewing on the computer, the lighting scene software can convert the lighting scene file into data that the LED module can recognize;

5)软件包含串口通信模块,将转换后的数据通过计算机的串口下载到无线个人区域网络的协调器中。5) The software includes a serial port communication module, which downloads the converted data to the coordinator of the wireless personal area network through the serial port of the computer.

软件还可以实时的观察网络的状况,发现网络的错误,识别新加入的节点。The software can also observe the status of the network in real time, discover network errors, and identify newly added nodes.

在无线个人区域网络方面,IEEE 802.15.4标准只定义了物理层和MAC层,而没有涉及到网络层,只能组成单跳网络,而且由于设备的发射功率较低,传输距离有限,使得单跳网络的覆盖范围较小。本发明为解决这一问题基于IEEE 802.15.4建立多跳网络,在星型网络的基础上加入路由器节点,形成树形拓扑结构。In terms of wireless personal area network, the IEEE 802.15.4 standard only defines the physical layer and the MAC layer, but does not involve the network layer, and can only form a single-hop network, and because the transmission power of the device is low and the transmission distance is limited, making a single Hop networks have less coverage. In order to solve this problem, the present invention establishes a multi-hop network based on IEEE 802.15.4, and adds router nodes on the basis of the star network to form a tree topology.

根据网络的树形拓扑结构,在设计网络的路由协议时,考虑到网络中的大部分节点很少移动,采用表驱动的路由协议。网络中的每个协调器节点和路由器节点都维护一张表格,表格中包含到达网络中其他所有节点的路由信息,称为路由表。路由表条目的结构由目的节点地址、下一跳节点地址、跳数组成。当检测到网络拓扑结构发生变化时,节点在网络中发送更新消息,收到更新消息的节点更新自己的表格,以维护及时、准确的路由信息。路由表的建立和维护通过周期性的广播路由更新分组来实施,节点会自动选择最小跳数来作为路径存储起来,由于节点很少移动,所以路由表格不需要经常更新。下面对网络中各个组成部分进行说明。According to the tree topology of the network, when designing the routing protocol of the network, considering that most of the nodes in the network seldom move, a table-driven routing protocol is adopted. Each coordinator node and router node in the network maintains a table that contains routing information to all other nodes in the network, called the routing table. The structure of the routing table entry is composed of the destination node address, the next hop node address, and the number of hops. When a change in the network topology is detected, the node sends an update message in the network, and the node receiving the update message updates its own table to maintain timely and accurate routing information. The establishment and maintenance of the routing table is implemented through periodic broadcast routing update packets. Nodes will automatically select the minimum number of hops to store as a path. Since nodes rarely move, the routing table does not need to be updated frequently. Each component in the network is described below.

网格协调器负责组织并建立树型网络,为网络中的节点分配地址,控制整个LED灯光系统,通过串口与计算机相连。协调器的子节点为路由器节点。协调器对从计算机上获得的灯光场景数据编号,并存储起来。协调器中存储一个路由表,包含了通往网络中每个节点的路径,路由器接收到后将场景数据发送给它的子节点——终端设备节点。协调器提供了键盘接口以及LCD显示屏,还对灯光场景数据进行编号,通过键盘输入控制LED模块显示预定的灯光效果。The grid coordinator is responsible for organizing and establishing a tree network, assigning addresses to nodes in the network, controlling the entire LED lighting system, and connecting to a computer through a serial port. The child nodes of the coordinator are router nodes. The coordinator numbers and stores the lighting scene data obtained from the computer. The coordinator stores a routing table, which contains the path to each node in the network, and the router sends the scene data to its child node - the terminal device node after receiving it. The coordinator provides a keyboard interface and an LCD display, and also numbers the lighting scene data, and controls the LED module to display predetermined lighting effects through keyboard input.

路由器节点实现网络路径的发现和选择,一些路由器节点以终端设备作为其子节点,组成星型网络,称为控制路由器节点;另外一些路由器节点只需要转发数据,称为中继路由器节点。路由器节点中也存储了路由表,包含通向协调器节点和其它路由器节点的路径。在系统中,路由器节点一般固定墙壁上或建筑物上,由直流稳压供电,根据现场的需要,部分路由器节点做成无线开关的形式,替代原有的机械开关,可集中或分组控制LED灯具的开关和亮度。Router nodes realize the discovery and selection of network paths. Some router nodes use terminal devices as their child nodes to form a star network, called control router nodes; other router nodes only need to forward data, called relay router nodes. Routing tables are also stored in router nodes, containing paths to coordinator nodes and other router nodes. In the system, router nodes are generally fixed on walls or buildings, powered by DC stabilized voltage. According to the needs of the site, some router nodes are made into wireless switches to replace the original mechanical switches, which can control LED lamps in a centralized or grouped manner. switch and brightness.

终端设备节点作为路由器的子节点,负责提供与LED模块的接口,将接收到的控制信号实时的传送给LED模块,从而控制灯光按照预期的方案变化。LED模块设计有LED驱动电路,负责解析终端设备传来的数据,以MCU控制PWM的方式驱动三种颜色R/G/B的LED发光时间的长短,控制LED灯光变化的颜色。As a sub-node of the router, the terminal device node is responsible for providing the interface with the LED module, and transmitting the received control signal to the LED module in real time, so as to control the light to change according to the expected scheme. The LED module is designed with an LED drive circuit, which is responsible for analyzing the data sent by the terminal equipment, and drives the three-color R/G/B LED light-emitting time by means of MCU control PWM, and controls the color of the LED light change.

在网络中还有一种遥控器,该设备由一个路由器节点和LCD及键盘组成,可以集中或分级控制多组灯光的开关和亮度。在遥控器中存储了几组灯光场景程序,通过键盘输入需要控制的LED地址或路由器节点地址,以及灯光场景编号,通过多跳的方式传输到目的节点。遥控器所发出的数据只由路由器节点接收,具体控制哪盏灯或哪几盏灯由数据帧的负载决定。There is also a remote controller in the network, which is composed of a router node, LCD and keyboard, which can centrally or hierarchically control the switch and brightness of multiple groups of lights. Several groups of lighting scene programs are stored in the remote control, and the address of the LED or router node to be controlled, as well as the number of the lighting scene are input through the keyboard, and transmitted to the destination node through multi-hop. The data sent by the remote control is only received by the router node, and which lamp or lamps to control is determined by the load of the data frame.

基于图3所述的LED灯光无线控制系统的结构框图,以下结合具体的实施例对本发明提供的LED灯光无线控制系统进一步详细说明。Based on the structural block diagram of the wireless LED lighting control system shown in FIG. 3 , the wireless LED lighting control system provided by the present invention will be further described in detail below in conjunction with specific embodiments.

实施例一Embodiment one

在本实施例中,以家居应用为例,结合附图进一步说明本发明提供的LED灯光无线控制系统。In this embodiment, taking home application as an example, the wireless LED lighting control system provided by the present invention is further described in conjunction with the accompanying drawings.

如图4所示,图4为本发明实施例中LED灯光无线控制系统的示意图,该系统包括灯光场景文件网站41、本地计算机42、无线个人区域网络单元43、LED单元44和遥控器45。其中,无线个人区域网络单元43包括网络协调器431、中继路由器节点432、控制路由器节点433终端设备节点434。As shown in FIG. 4 , FIG. 4 is a schematic diagram of a wireless LED lighting control system in an embodiment of the present invention. The system includes a lighting scene file website 41 , a local computer 42 , a wireless personal area network unit 43 , an LED unit 44 and a remote controller 45 . Wherein, the wireless personal area network unit 43 includes a network coordinator 431 , a relay router node 432 , a control router node 433 and a terminal device node 434 .

该LED灯光无线控制系统的工作流程如图5所示,图5为本发明实施例中LED灯光无线控制系统的工作流程图,包括以下步骤:The working process of the LED lighting wireless control system is shown in Figure 5, and Figure 5 is a working flow chart of the LED lighting wireless control system in the embodiment of the present invention, including the following steps:

步骤501:首先建立灯光场景网站,由技术人员维护,提供一系列的灯光场景文件下载,并不断的由技术人员对文件进行更新,网站还提供上传文件的功能,用户可以利用灯光场景软件进行下载和上传。Step 501: First establish a lighting scene website, maintained by technicians, provide a series of lighting scene file downloads, and constantly update the files by technicians, the website also provides the function of uploading files, users can use the lighting scene software to download and upload.

步骤502:在各个房间布置无线个人区域网络和LED灯具,每个房间内包含一个控制路由器节点和数个终端设备节点,组成星型网络。路由器节点固定在墙壁上,外壳为开关的形式,作为无线开关,替代原有的机械开关,符合人们原有的习惯。将LED模块和终端设备连接;Step 502: Arranging wireless personal area networks and LED lamps in each room, each room includes a control router node and several terminal device nodes to form a star network. The router node is fixed on the wall, and the shell is in the form of a switch. As a wireless switch, it replaces the original mechanical switch, which is in line with people's original habits. Connect the LED module and terminal equipment;

步骤503:根据现场具体需要合理布置中继路由器节点和网络协调器,使得所有的节点都能够接入网络。Step 503: Arrange the relay router nodes and the network coordinator reasonably according to the specific needs of the site, so that all nodes can access the network.

步骤504:在遥控器中预先存储了几组灯光场景数据,在遥控器键盘上输入需要控制的地址以及需要显示的灯光场景方案编号,根据灯光效果状况判断测试系统是否正常运行。然后将网络协调器和计算机连通过串口接起来。Step 504: Pre-store several groups of lighting scene data in the remote controller, input the address to be controlled and the number of the lighting scene scheme to be displayed on the keyboard of the remote controller, and judge whether the test system is running normally according to the lighting effect status. Then connect the network coordinator and the computer through the serial port.

步骤505:在计算机上运行灯光场景软件,登陆网站下载灯光场景文件,或者通过灯光场景软件编辑方案,预览后下载到网络协调器中,通过协调器上的键盘接口控制LED显示灯光效果。Step 505: Run the lighting scene software on the computer, log in to the website to download the lighting scene file, or edit the scheme through the lighting scene software, preview it and download it to the network coordinator, and control the LED to display the lighting effect through the keyboard interface on the coordinator.

步骤506:在系统运行的过程中通过灯光场景软件实时观察网络的状态,一旦网络中的节点出现错误可以及时的发现。Step 506: Observe the status of the network in real time through the lighting scene software during the running of the system, and find out in time if a node in the network fails.

以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (9)

1. a LED lamp light wireless controlling system is characterized in that, this system comprises:
Unit, lamplight scene file website is used for providing and can receiving the lamplight scene file that the user utilizes the lamplight scene software editing and uploads for the lamplight scene file of downloading to the user by internet;
The local computer unit, be used to utilize the lamplight scene software editing lighting effects of loading, login unit, lamplight scene website, download and upload the lamplight scene file, become the LED unit can the recognition data form lamplight scene file conversion, the data after the conversion are downloaded to the wireless personal domain network unit;
The wireless personal domain network unit is used to receive the lamplight scene data from the local computer unit, and stores, control LED unit; And
The LED unit is used to receive the control signal from the wireless personal domain network unit, realizes the lighting effects of having edited the lamplight scene file;
Wherein, described wireless personal domain network unit comprises:
The network coordinator node is used to the node in the network to distribute the address, receives from the local computer unit and storage lamplight scene data, the lamplight scene data that receive is sent to router node, control whole LED lamp light wireless controlling system;
Router node is used to realize the discovery and the selection of network path, and the lamplight scene data that are received from the network coordinator node are sent to the terminal equipment node of LED unit, the switch and the brightness of control LED light fixture;
The terminal equipment node is used for providing the control router node of router node and the interface of LED light fixture, with the control signal that is received from the control router node real-time send the LED light fixture to, thereby the light and the brightness of control LED light fixture change.
2. LED lamp light wireless controlling system according to claim 1 is characterized in that,
Described network coordinator node comprises a routing table, this routing table stores the path of removing other all-router nodes of network coordinator node itself in the network, and the network coordinator node sends to relay router node in terminal equipment node and the router node according to the path of storing with the lamplight scene data;
Described network coordinator node links to each other with the local computer unit by serial ports, and described network coordinator node provides keyboard interface and LCD display, and the lamplight scene data are numbered, and shows predetermined lighting effects by keyboard input control led module.
3. LED lamp light wireless controlling system according to claim 1 is characterized in that, described router node comprises:
The relay router node is used for giving the control router node with the lamplight scene data forwarding that is received from the network coordinator node;
The control router node is used for the terminal equipment node as its child node, forms Star Network, realizes the control to the LED light fixture.
4. LED lamp light wireless controlling system according to claim 3, it is characterized in that, described relay router node comprises a relay router node route list, described control router node comprises a control router node routing table, and this relay router node route list and control router node routing table store the path of leading to network coordinator node and other router node respectively;
Described relay router node and control router node are fixed on the wall or on the building, power by DC voltage-stabilizing, the relay router node is transmitted the signal of control LED lamp switch and brightness to the terminal equipment node, and the control router node directly sends the signal of control LED lamp switch and brightness to the terminal equipment node.
5. LED lamp light wireless controlling system according to claim 1 is characterized in that, described wireless personal domain network unit further comprises:
Remote controller, comprise router node and keyboard, be used for concentrating or grading control is organized the switch and the brightness of light more, in the router node of remote controller, store the lamplight scene program, the LED light fixture address, router node address or the lamplight scene numbering that need control by the keyboard input, adopt the mode of multi-hop that control signal is transferred to destination node, the switch and the brightness of control LED light fixture; This lamplight scene program is meant the program in the router node that is stored in remote controller, and this program associates the switch and the brightness of lamplight scene numbering and one or more groups LED light fixture.
6. LED lamp light wireless controlling system according to claim 5, it is characterized in that, the control signal that described remote controller sent is received by router node, specifically controls the switch of which or which LED light fixture and the brightness load decision by the control signal data frame.
7. according to each described LED lamp light wireless controlling system in the claim 1 to 6, it is characterized in that, the tree topology network of described wireless personal domain network unit for making up on the basis of star topology network configuration, described tree topology network is a multihop network.
8. LED lamp light wireless controlling system according to claim 1 is characterized in that, described LED unit comprises LED light fixture and led drive circuit.
9. LED lamp light wireless controlling system according to claim 8, it is characterized in that, described led drive circuit is used to resolve the data that router node transmits, drive the length of the LED fluorescent lifetime of three kinds of color R/G/B in the mode of the micro-control unit controls pulse-width modulation in the embedded system, the change color of control LED light fixture light.
CN2006101125495A 2006-08-23 2006-08-23 A wireless LED lighting control system Expired - Fee Related CN1949949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101125495A CN1949949B (en) 2006-08-23 2006-08-23 A wireless LED lighting control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101125495A CN1949949B (en) 2006-08-23 2006-08-23 A wireless LED lighting control system

Publications (2)

Publication Number Publication Date
CN1949949A CN1949949A (en) 2007-04-18
CN1949949B true CN1949949B (en) 2010-11-10

Family

ID=38019284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101125495A Expired - Fee Related CN1949949B (en) 2006-08-23 2006-08-23 A wireless LED lighting control system

Country Status (1)

Country Link
CN (1) CN1949949B (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442861B (en) * 2008-12-19 2013-01-02 上海广茂达光艺科技股份有限公司 Control system and control method for LED lamplight scene
CN101489337B (en) * 2008-12-19 2012-09-05 上海广茂达光艺科技股份有限公司 Editing method for LED lamp light landscape scene
EP2457418B1 (en) 2009-07-24 2013-01-16 Koninklijke Philips Electronics N.V. A lighting system and a method for determining the energy consumption of lighting scenes of the lighting system
CN102118901A (en) * 2009-12-31 2011-07-06 上海广茂达光艺科技股份有限公司 Mood LED light control system
CN101827479A (en) * 2010-05-10 2010-09-08 杭州奥能照明电器有限公司 Wireless control system for dimming light-emitting diode
CN102548110A (en) * 2010-12-31 2012-07-04 上海广茂达光艺科技股份有限公司 Indoor sentiment lighting system
CN102355767A (en) * 2011-07-21 2012-02-15 桂海进 LED illumination lamp with wireless remote control function
US9820359B2 (en) 2012-03-08 2017-11-14 Philips Lighting Holding B.V. Methods and apparatus for configuration of control devices
CN102625530B (en) * 2012-03-14 2014-06-25 梅志国 Light emitting diode (LED) lamplight remote control system based on institute of electrical and electronic engineers (IEEE) 802.15.4
CN102982632A (en) * 2012-11-23 2013-03-20 陈少藩 Signal informing equipment
CN105022362B (en) * 2014-04-29 2018-10-16 奔马物联科技(横琴)有限公司 A kind of coordinated control system and inter-linked controlling method of smart home device
CN103985379A (en) * 2014-05-04 2014-08-13 苏州乐聚一堂电子科技有限公司 Karaoke mobile phone VOD system with special light effect
CN103987166A (en) * 2014-05-09 2014-08-13 苏州乐聚一堂电子科技有限公司 Automatic identification system for karaoke lighting effects
CN104597819A (en) * 2015-01-28 2015-05-06 南京埃尔乔亿自控设备有限公司 C4 bus
CN105960063A (en) * 2016-06-27 2016-09-21 武克易 Household intelligent lamp system
CN107666745A (en) * 2016-07-28 2018-02-06 北京百牛环球科技有限公司 A kind of new system and method for realizing electric light dance
US10212793B1 (en) * 2018-07-16 2019-02-19 Logitech Europe S.A. Bandwidth optimization for streaming lighting effects
CN109237320B (en) * 2018-09-07 2024-02-13 广州中大中鸣科技有限公司 Spliced light-emitting panel system and communication method thereof
CN114613118B (en) * 2020-11-24 2025-05-06 齐越 Intelligent network control storage box and control method thereof
CN114818653B (en) * 2022-04-12 2025-03-25 广州彩熠科技股份有限公司 Lamp, lamp library file identification method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003007665A1 (en) * 2001-07-12 2003-01-23 Koninklijke Philips Electronics N.V. Binding protocol using randmization
CN1582079A (en) * 2003-08-15 2005-02-16 珠海爱圣特电子科技有限公司 Scene lighting system and its control method
CN1770934A (en) * 2005-10-13 2006-05-10 上海国皓电子有限公司 Non-linear pulse-width modulation PWM control device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003007665A1 (en) * 2001-07-12 2003-01-23 Koninklijke Philips Electronics N.V. Binding protocol using randmization
CN1582079A (en) * 2003-08-15 2005-02-16 珠海爱圣特电子科技有限公司 Scene lighting system and its control method
CN1770934A (en) * 2005-10-13 2006-05-10 上海国皓电子有限公司 Non-linear pulse-width modulation PWM control device

Also Published As

Publication number Publication date
CN1949949A (en) 2007-04-18

Similar Documents

Publication Publication Date Title
CN1949949B (en) A wireless LED lighting control system
CN201766739U (en) Intelligent home LED lighting system based on ZigBee and ARM techniques
Varghese et al. Comparative study of zigBee topologies for IoT‐based lighting automation
CN204721647U (en) Lighting apparatus, user's computing equipment and the system for controlling illumination
CN103987173B (en) Indoor illumination control system and indoor intelligent control system
US11496932B2 (en) Beacon-based handover option for commissioning and control of wireless network devices
CN203896554U (en) Indoor illumination control system and indoor intelligent control system
CN102752916A (en) Light-emitting diode (LED) lamp and LED lighting system
CN102625530B (en) Light emitting diode (LED) lamplight remote control system based on institute of electrical and electronic engineers (IEEE) 802.15.4
CN204291046U (en) A kind of tele-control system of intelligent terminal
CN102869166A (en) Intelligent control system for urban LED illumination
CN101163365A (en) Illumination control method and system
Domingo-Perez et al. Lighting control system based on DALI and wireless sensor networks
CN102984845A (en) Illumination control system, illuminating device and secondary controller
TW200938759A (en) System and method for constructing solid state lighting network by using electric power system
TW201138363A (en) Interconnecting grids of devices of networked control systems
CN105960071A (en) ZLL (ZigBee light link) technology based intelligent streetlamp interconnection system and control method
CN102984844A (en) Illumination control system, illuminating device and secondary controller
CN102752827A (en) Communication method among multiple subnets in street lamp control system
CN101772234A (en) Method for controlling network type LED illuminating lamps through wireless communication
CN209982798U (en) Intelligent lighting system and Internet of things system
CN201391763Y (en) Network LED Lighting with Wireless Communication
CN110312354A (en) A kind of the decoration lamp control system and method for bluetooth MESH networking
Minoli et al. IoT-driven advances in commercial and industrial building lighting
CN201690612U (en) A home network 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
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: ZHEJIANG XUNBO INFORMATION ENGINEERING CO., LTD.

Free format text: FORMER OWNER: INSTITUTE OF COMPUTING TECHNOLOGY, CHINESE ACADEMY OF SCIENCES

Effective date: 20121225

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100080 HAIDIAN, BEIJING TO: 314300 HANGZHOU, ZHEJIANG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20121225

Address after: Hangzhou City, Zhejiang province Xiaoshan District 314300 City Center Road No. 72 Tianchen International Plaza 6

Patentee after: Zhejiang Xunbo Information Engineering Co., Ltd.

Address before: 100080 Haidian District, Zhongguancun Academy of Sciences, South Road, No. 6, No.

Patentee before: Institute of Computing Technology, Chinese Academy of Sciences

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101110

Termination date: 20140823

EXPY Termination of patent right or utility model