CN103068112B - Method of light-emitting diode (LED) lamp smart lighting adjustment and system thereof - Google Patents

Method of light-emitting diode (LED) lamp smart lighting adjustment and system thereof Download PDF

Info

Publication number
CN103068112B
CN103068112B CN 201210562955 CN201210562955A CN103068112B CN 103068112 B CN103068112 B CN 103068112B CN 201210562955 CN201210562955 CN 201210562955 CN 201210562955 A CN201210562955 A CN 201210562955A CN 103068112 B CN103068112 B CN 103068112B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
color
led
intelligent
rgb
values
Prior art date
Application number
CN 201210562955
Other languages
Chinese (zh)
Other versions
CN103068112A (en )
Inventor
李斌
林少宏
郑炜乔
马里千
杨锋超
龙有焕
Original Assignee
华南理工大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Grant date

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
    • Y02B20/40Control techniques providing energy savings
    • Y02B20/48Smart controllers

Abstract

一种LED灯智能调光方法,包括以下步骤:用户使用在智能移动终端上开发的客户端应用程序,选择RGB调光、选色调光、图片拾色、音乐跟随配色四种调光中的任意一种方式,客户端程序执行相应的算法后将得出的控制参数通过wifi发送给网络节点,网络节点将数据处理后通过无线射频通信传送给控制节点,再由控制节点的MCU输出的PWM信号控制LED驱动电路,调节LED情景灯的光颜色和亮度。 An LED lamp intelligent dimming method, comprising the steps of: the user using the client application on the development of intelligent mobile terminal, select RGB dimming, election-tone, color image pick-up, followed by any music four kinds of color light modulated in One way, a client program executing the corresponding algorithm will control parameter sent to the network node obtained through the wifi, the network node via the wireless data transfer processing radio frequency communication to the control node, then the MCU outputs a PWM signal control node controls the LED driver circuit, adjust the light color and brightness of the LED lamp scenarios. 实现LED灯智能调光方法的调光系统,包括智能移动终端、网络节点、控制节点、小功率DC/DC恒流输出控制电路、LED灯具。 LED lamp to achieve dimming system intelligent light modulation method, comprising intelligent mobile terminal, network node, the control node, low power DC / DC constant current output control circuit, LED lamps. 具有实现了更加人性化、新颖的调光方式,其智能性增强了LED情景灯的视觉效果和符合了智能化应用需求等优点。 Has achieved a more humane, innovative dimming, its intelligence enhances LED scene lights and visual effects in line with the advantages of intelligent application needs.

Description

—种LED灯智能调光方法及其系统 - kind of the LED lamp system and method for intelligent dimming

技术领域 FIELD

[0001] 本发明涉及一种LED调光控制技术,特别涉及一种LED灯智能调光方法及其系统。 [0001] The present invention relates to an LED dimming technique of, in particular, relates to an LED lamp intelligent dimming method and system.

背景技术 Background technique

[0002] 随着社会经济的发展,节能低耗的需求使LED灯得到很广的普及和应用,对基于LED光源的应用也随之增长,LED的智能化照明在智能家居和其他领域的应用也逐渐增加。 [0002] With the development of economy, low energy demand of the LED lights resulting wide popularization and application, based on application of the LED light sources also will increase, LED lighting intelligent smart home and other areas gradually increasing. 当前的市场上提供的LED情景灯调光系统大多是按照事先设定的固定颜色,或按某一规律变化的颜色进行照明,自成一套控制设备,然而并不能充分体现智能化照明,也不能非常人性化地达到情景渲染效果。 Most scenario LED lamp dimming system available on the current market is a fixed preset color, or the color of an illumination according to changes in the law, self-contained set control apparatus, however, does not adequately reflect the intelligent lighting, also not very humane to reach the scene rendering.

发明内容 SUMMARY

[0003] 为了克服现有技术的缺点与不足,本发明的首要目的在于提供一种LED灯智能调光方法,该方法使得调光方式更具人性化、多样化,给人以舒适完美的视觉享受。 [0003] In order to overcome the drawbacks and deficiencies of the prior art, a primary object of the present invention is to provide a method for intelligent dimming LED lamp, the dimming method so that more user-friendly, diversification, gives a comfortable visual perfection enjoy.

[0004] 为了克服现有技术的缺点与不足,本发明的另一目的在于提供实现LED灯智能调光方法的调光系统。 [0004] In order to overcome the drawbacks and deficiencies of the prior art, a further object of the present invention is to provide an LED lamp to achieve dimming system intelligent light modulation method.

[0005] 本发明的首要目的通过以下技术方案实现:一种LED灯智能调光方法及其系统,包括以下步骤: [0005] The primary object of the present invention is achieved by the following technical solution: an LED lamp intelligent dimming method and system comprising the steps of:

[0006] SI用户使用智能移动终端,在客户端应用程序中选择一张用于拾色的图片,客户端应用程序将会对图片进行采样、计算,得出图片中若干种主要颜色的RGB值(其中:R代表红、G代表绿、B代表蓝); [0006] SI intelligent mobile terminal user to select an image pick up colors for the client application, the client application will be sampled on the image, we calculated the RGB values ​​of the picture of several primary colors (where: R for red, G green behalf, B for blue);

[0007] 用户可以选择使用图片拾色或者音乐跟随配色,若选择图片拾色则进行步骤S2 ;若选择音乐跟随配色则进行步骤S3 ; [0007] Users can choose to follow the image pickup Color color or music, if the selected color image pickup step S2 is performed; if the selected music is performed following the step S3 color;

[0008] S2客户端应用程序将步骤SI中得到的若干种颜色的RGB值发送给网络节点;然后进行步骤S4 ; [0008] S2 client application the RGB values ​​of a plurality of colors obtained in step SI is transmitted to the network node; and then proceeds to step S4;

[0009] S3利用HSV模型(其中:H代表色调、S代表饱和度、V代表明度)到RGB模型的映射关系将步骤SI中得到的若干种颜色的RGB值映射为HSV值。 [0009] S3 using the HSV model (where: H indicates that the hues, S for saturation, V Representative lightness) the mapping between the RGB model of a plurality of colors obtained in step SI mapped to RGB values ​​HSV values.

[0010] 用户在客户端应用程序中选择一首用于跟随配色的歌曲,客户端应用程序将会在歌曲播放的同时对歌曲进行实时的采样,获取歌曲实时的音量、频谱数据,并结合此前映射得到的若干种颜色的HSV值,实时地计算得到融合音乐后的新HSV值,再利用RGB模型到HSV模型的映射关系将新HSV值映射为新RGB值,并发送给网络节点; [0010] the user to select a color for the songs follow in the client application, the client application will perform the song while the song is playing in real-time sampling, access to real-time volume for songs, spectral data, combined with previous HSV values ​​obtained by mapping a plurality of colors, the real-time calculated value of the new HSV fusion music, then the mapping between the RGB model using the HSV model would map the new HSV values ​​for the new RGB values, and sends the network node;

[0011] S4网络节点将收到的RGB控制参数后,经过封装成数据包,通过无线射频传输协议,可与多个控制节点进行数据通信; [0011] S4 network node after receiving the control parameter RGB, encapsulated into packets, for data communication with a plurality of control nodes by radio frequency transmission protocol;

[0012] S5控制节点收到数据包后,调节处理器输出的PWM信号的占空比,实现脉冲宽度调制技术,辅助设计的DC/DC恒流输出驱动电路来控制LED灯具的颜色和亮度变化。 [0012] S5 after the control node receives the packet, the processor adjusting the duty cycle of the PWM output signal, the pulse width modulation techniques to achieve, DC / DC constant current output driver circuit designed to control the secondary color LED lamps and the luminance variation .

[0013] 步骤SI所述的对图片进行采样、计算,具体包括以下步骤: [0013] Step SI of the image is sampled, calculations, includes the following steps:

[0014] 考虑到智能移动终端有限的计算能力,对于m*n大小的图像,取k*k个样点(k<=m, η)ο [0014] Given the limited capabilities of smart mobile computing terminal, for an image size of m * n, k * k samples taken points (k <= m, η) ο

[0015] 同时对于RGB模型的二百五十六的三次方种颜色进行计数、排序时所需的计算量及存储量过大,且人眼分辨能力有限,因此需对颜色进行聚类处理,聚类成512种颜色,这512种颜色能代表和比较完整地体现一副图片的颜色。 [0015] For simultaneous RGB cubic color model, two hundred and sixteen counts, the amount of calculation required for sorting and storing excessive, and the limited resolution capability of the human eye, so the need for color clustering process clustered into 512 kinds of colors, this 512 kinds of colors to represent and reflect the color of a more complete picture.

[0016] 对图片的k的平方个点的颜色聚类后,进行计算、排序后,取得数量最多的几种颜色。 After [0016] After the square image color clustering of k points, and calculating, sorting, to obtain the largest number of several colors.

[0017] 步骤S3所述的计算得到融合音乐后的新HSV值,具体包括以下步骤: Calculation [0017] The step S3 the new HSV values ​​obtained after fusion of music, comprises the steps of:

[0018] 考虑到LED硬件照明所使用的RGB模型与人对色彩的感觉没有很好的对应关系,为此使用了比较符合人对色彩直观理解的HSV模型来进行参数的调节。 [0018] Considering the RGB model human LED lighting hardware used is not a good correspondence between the feeling of color, used for this purpose consistent with human HSV color model comparison intuitively understood that the parameters be adjusted. 为了防止色彩变化过于突兀,在这里不改变HSV中的H参数,而将实时采集到的歌曲音量数据、频率数据分别映射为新HSV值的S、V参数。 In order to prevent too abrupt color changes, where H is not changed in the HSV parameters, while the volume of the song in real time collected data, frequency data are mapped to the new HSV values ​​S, V parameters. 考虑到音量及频率的数值都是在中间值附近的一个范围内变化,为了更明显地用颜色表现音乐的变化,采用了分段线性的映射函数进行新HSV值的参数值计算。 Considering the volume and the value of the frequency is varied within a range close to the median, in order to more clearly demonstrated by a color change of music, using a piecewise linear mapping function of the new HSV values ​​for the parameter values ​​is calculated.

[0019] 步骤S5所述的控制LED灯具的颜色和亮度变化,具体包括以下步骤: LED lamps and controlling brightness of the color change [0019] the step S5, includes the following steps:

[0020] 控制节点端可以根据不同的设计容量,接入多组LED灯具,LED灯具利用三基色原理将红、绿、蓝三种超高亮度LED混合成白光和多种彩色光。 [0020] The control node side according to different design capacity, access a plurality of sets of LED lamps, LED lamps using the principle of the three primary colors of red, green and blue high brightness LED mixed into white light and the plurality of colored light. 每个LED灯具的红、绿、蓝三色分别由三组完全相同的PWM模式的DC/DC恒流驱动电路点亮,经过参数调节后处理器产生三路不同占空比的PWM信号作为小功率DC/DC恒流驱动电路的参数,进而达到LED调光的目的,智能地控制LED灯具的颜色和亮度变化。 Each LED lamps, red, green, and blue, respectively, by the DC / DC constant current driving circuit for lighting three identical PWM mode, after the parameter adjustment processor generates three-way different duty cycles of the PWM signal as a small power DC / DC constant current driving circuit parameters, thus achieving the purpose LED dimming intelligently control the color and brightness variations of LED lamps.

[0021] 本发明的另一目的通过以下技术方案实现:实现LED灯智能调光方法的调光系统,包括智能移动终端、网络节点、控制节点、小功率DC/DC恒流输出控制电路、LED灯具; [0021] Another object of the present invention is achieved by the following technical solution: an LED lamp to achieve dimming system intelligent light modulation method, comprising intelligent mobile terminal, network node, the control node, low power DC / DC constant current output control circuit, LED lamps;

[0022] 所述智能移动终端为用户便携移动终端平台;所述网络节点与智能移动终端进行网络互联通信,并作为人机交互的桥梁,与多个控制节点进行无线射频通信;所述控制节点与网络节点进行无线射频通信,并对小功率DC/DC恒流输出控制电路进行控制;所述小功率DC/DC恒流输出控制电路与LED灯具连接,对其进行驱动。 [0022] The user of the portable intelligent mobile terminal to the mobile terminal platform; intelligent network nodes to the Internet communication network the mobile terminal, and as a bridge to human-computer interaction, wireless radio frequency communication with a plurality of control nodes; the control node for radio frequency communication with the network node, and low power DC / DC constant current output control circuit controls; low power of the DC / DC constant current output to the LED lighting control circuit is connected to drive it.

[0023] 与现有技术相比,本发明具有以下优点与有益效果: [0023] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0024] (I)本发明提供了一种LED灯智能调光方法及其系统,利用便携的移动终端进行控制,实现远程智能化控制,利用图片拾色和音色跟随实现了LED的智能化情景照明,具有一定的技术开发价值和市场应用潜力。 [0024] (I) The present invention provides an LED lamp intelligent dimming method and system using a mobile portable terminal is controlled intelligent remote control, using voice and images eyedropper followed implements intelligent LED scene lighting, has a value of technology development and market application potential.

[0025] (2)本发明通过提出新的的调光方法及其系统,实现图片和音乐的视觉再现效果,使LED照明更具人性化,将在一定程度上拓宽LED的应用领域。 [0025] (2) The present invention proposes a new method and dimming system, pictures and music reproducing visual effects, the LED lighting more humane, will broaden the field of application of the LED to a certain extent.

附图说明 BRIEF DESCRIPTION

[0026] 图1为本发明的LED灯智能调光系统的组成框图。 Block diagram [0026] FIG 1 LED intelligent lamp dimming system of the present invention.

[0027] 图2为本发明的调光方法的流程图。 [0027] FIG 2 is a flowchart of a dimming method of the present invention.

具体实施方式 Detailed ways

[0028] 下面结合实施例及附图,对本发明作进一步地详细说明,但本发明的实施方式不限于此。 [0028] The following examples and the accompanying drawings in conjunction with embodiments of the present invention will be further described in detail, but the embodiment of the present invention is not limited thereto.

[0029] 实施例 [0029] Example

[0030] 如图1所示,本实施例的智能LED情景灯调光系统,包括智能移动终端、网络节点、控制节点、小功率DC/DC恒流输出控制电路、LED灯具。 [0030] 1, scene intelligent LED lamp dimming system according to the present embodiment, includes a intelligent mobile terminal, network node, the control node, low power DC / DC constant current output control circuit, LED lamps.

[0031] 所述智能移动终端为用户便携移动终端平台;所述网络节点作为智能移动终端和控制节点进行信息交互的传输中介;所述控制节点用于同时产生多路PWM控制信号,所述小功率DC/DC恒流输出控制电路实现脉宽调制技术对LED灯具的控制。 [0031] The user of the portable intelligent mobile terminal to the mobile terminal platform; said mobile terminal as an intelligent network node and the control node for transmission of intermediary information exchange; the control node for simultaneously generating multiple PWM control signal, the small power DC / DC constant current output control circuit implementation of the pulse width modulation control of the LED lamps.

[0032] 本实例的智能移动终端需安装客户端应用程序,客户端应用程序根据用户的选择计算得到颜色的RGB值,并由智能移动终端通过wifi发送给网络节点 [0032] intelligent mobile terminal of the present example need to install the client application, the client application RGB value obtained according to the selection of the user calculated by the intelligent mobile terminal to a network node wifi

[0033] 本实施例的网络节点主要由MCU和网络芯片及无线射频芯片构成,具有较强的数据通信能力。 [0033] The network node according to the present embodiment mainly by the MCU and the network chip and radio frequency chips, with a strong data communication capabilities. 其作为人机交互信息的桥梁,将从智能终端获取的控制参数进行初步处理后,通过无线射频,与多个控制节点进行实时数据的无线通信。 After the initial treatment which bridge as a control parameter, from the intelligent terminal interactive information acquired, real-time data wirelessly communicate with a plurality of control nodes by radio frequency.

[0034] 本实施例的控制节点主要由MCU和无线射频芯片构成,通过无线通信,从网络节点获取控制参数,利用MCU的强大处理能力,同时输出多了PWM信号。 [0034] The control node according to the present embodiment mainly, acquired by the MCU and RF chips from a network node via the wireless communication control parameters, using the processing power of the MCU, while the PWM signal output multiplexer.

[0035] 本实施例的小功率DC/DC恒流输出控制电路主要由功率开关管和驱动芯片构成,利用经过驱动芯片驱动增强的占空比不同的PWM信号,来控制功率开关管的导通和关断时间,进而改变输出给LED灯的电压,实现恒流输出的开关电源控制。 [0035] The present low power DC / DC constant current output control circuit of this embodiment is mainly composed of the power switch and the driving chips, the driving chip through the use of enhanced driving PWM signal having different duty ratios to control the power switch is turned on and the turn-off time, thereby changing the output voltage to the LED lamp, to achieve constant current output control of the switching power supply.

[0036] 上述LED灯智能调光方法,包括以下步骤: [0036] The LED lamp intelligent dimming method, comprising the steps of:

[0037] SI智能移动终端上安装的客户端应用程序有四种调光方式给用户选择,分别是RGB调光、选色调光、图片拾色、音乐跟随配色。 [0037] The client application installed on the mobile terminal SI intelligent dimming four user selected, namely RGB dimming, election-tone, color image pick-up, color music follow. 若用户选择RGB调光则进行步骤S2,若用户选择选色调光则进行步骤S3,若用户选择图片拾色或音乐跟随配色则进行步骤S4 ; If the user selects the dimming RGB proceeds step S2, when the user selects the hue of light selected for step S3, the image pick-up when the user selects colors or color music follow step S4 is performed;

[0038] S2用户直接输入颜色的RGB值,客户端应用程序将把RGB值发送给网络节点,然后进行步骤S6 ; [0038] S2 user directly inputs the RGB color values, the client application will send to the network node RGB values, and then proceeds to step S6;

[0039] S3客户端应用程序将提供给用户一张标准的色彩图,用户可在色彩图中点选自己想要的颜色,客户端应用程序将把用户点选的像素点的RGB值发送给网络节点,然后进行步骤S6 ; [0039] S3 client application will provide the user a standard color map, the user can click their desired color in the color map, the transmission of the RGB pixel values ​​of the client application user will click to The network node, and then to step S6;

[0040] S4用户在客户端应用程序中自选一张用于拾色的图片,客户端应用程序将会对图片进行采样、计算,得出图片中若干种主要颜色的RGB值(其中:R代表红、G代表绿、B代表蓝)。 [0040] S4 user selectable color image pickup for a client application, the client application will be sampled on the image, calculating, the RGB image values ​​derived in several primary colors (where: R for red, G green behalf, B for blue). 具体为:对于m*n大小的图像,取k*k个样点(k〈=m,n),并对样点的颜色进行聚类处理,将二百五十六的三次方种颜色聚类成512种颜色,按512种颜色对样点进行计数、排序,取得数量最多的4种颜色。 Specifically: the image size of m * n, k * k samples taken points (k <= m, n), and color spots clustering process, the colors of two hundred fifty-six cubic poly class into 512 kinds of colors, colors to be 512 samples counted, sorted, to obtain a maximum number of four colors.

[0041] 若用户在步骤SI中选择图片拾色,则客户端应用程序将获得的4种颜色的RGB值发送给网络节点,然后进行步骤S6 ;若用户在步骤SI中选择音乐跟随配色,则进行步骤S5 ; RGB values ​​of four colors [0041] If the user selects image in step SI, eyedropper, the client application will get sent to the network node, and then to step S6; If the user selects the music in step SI, following the color, the step S5;

[0042] S5利用HSV模型(其中:H代表色调、S代表饱和度、V代表明度)到RGB模型的映射关系将步骤S4中得到的4种颜色的RGB值映射为HSV值。 [0042] S5 using the HSV model (where: H indicates that the hues, S for saturation, V Representative lightness) the mapping between the RGB values ​​of the RGB model of four colors obtained in step S4 mapped to HSV values.

[0043] 用户在客户端应用程序中选择一首用于跟随配色的歌曲,客户端应用程序将会在歌曲播放的同时对歌曲进行实时的采样,获取歌曲实时的音量、频谱数据。 [0043] the user selects a song for the follow color in the client application, the client application will be real-time sampling of the song while the song is playing, get real-time volume for songs, spectral data.

[0044] 将4种颜色的HSV值的H参数作为新HSV值的H参数,将实时采集到的歌曲音量数据、频率数据分别用分段线性的映射函数映射为新HSV值的S、V参数: 0, X < a Mapping function maps [0044] The parameter H HSV values ​​of four colors as the new HSV values ​​of the H parameter, the volume of the song in real time collected data, respectively piecewise linear frequency data for the new HSV values ​​S, V parameters : 0, X <a

[0045] y = < ——-~ (x — a), a < X < b [0045] y = <--- ~ (x - a), a <X <b

b — d, b - d,

1, X > b 1, X> b

[0046] 其中,X为音量数据、频率数据,a、b为函数分段的界限,y为映射后新HSV值的S、V参数的值,此处采用归一化的参数,范围在[0,1]。 [0046] wherein, X is the volume data, frequency data, a, b as a function of segment boundaries, y is the value of the parameter V S after mapping the new HSV values, employed herein normalized parameters, the range [ 0,1].

[0047] 用户可以调整映射函数的参数a、b的值来调整映射效果。 [0047] The user can adjust the mapping function parameter values ​​of a, b to effect adjustment map.

[0048] 利用RGB模型到HSV模型的映射关系将新HSV值映射为新RGB值,并发送给网络节点; [0048] The mapping between the RGB model using the HSV model would map the new HSV values ​​for the new RGB values, and sends the network node;

[0049] S6网络节点利用互联网收到多个RGB的控制参数后,根据无线射频通信传输协议的要求,将数据封装成包后,与多个控制节点进行实时数据传输; After [0049] S6 using the Internet network node receives a plurality of control parameters of RGB, the wireless radio frequency communication protocol requires transmission, the data is encapsulated into packets, the real-time data transmission and a plurality of control nodes;

[0050] S7控制节点根据收到的数据请求,调节输出的PWM信号的占空比,不同占空比的PWM信号经过驱动电路后,对功率开关管的导通和关断时间进行控制,恒流输出点亮三基色红、绿、蓝LED,三基色LED的不同亮度的混合即可实现彩色绚丽显示效果。 [0050] S7 control node according to the received request data, to adjust the output duty cycle of the PWM signal, different duty cycles of the PWM signal after the driver circuit for turning on and turning-off time of the power switch is controlled constant lighting stream output three primary colors red, green and blue LED, LED mixing three primary colors of different brightness brilliant color display can be realized.

[0051] 上述实施例为本发明较佳的实施方式,但本发明的实施方式并不受所述实施例的限制,其他的任何未背离本发明的精神实质与原理下所作的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本发明的保护范围之内。 [0051] The preferred embodiment of the present invention embodiment, but the embodiment of the present invention is not limited by the embodiments, changes made to any other without departing from the spirit and principle of the present invention, a modified, Alternatively, combinations, simplification of the replacement pattern of equivalent effect, are included within the scope of the present invention.

Claims (3)

1.一种LED灯智能调光方法,其特征在于,包括以下步骤: 51、用户使用智能移动终端,在客户端应用程序中选择一张用于拾色的图片,客户端应用程序将会对图片进行采样、计算,得出图片中若干种主要颜色的RGB值,其中:R代表红、G代表绿、B代表蓝; 用户可以选择使用图片拾色或者音乐跟随配色,若选择图片拾色则进行步骤S2 ;若选择音乐跟随配色则进行步骤S3 ; 52、客户端应用程序将步骤S1中得到的若干种颜色的RGB值发送给网络节点;然后进行步骤S4 ; 53、利用HSV模型,其中:H代表色调、S代表饱和度、V代表明度,到RGB模型的映射关系将步骤S1中得到的若干种颜色的RGB值映射为HSV值; 用户在客户端应用程序中选择一首用于跟随配色的歌曲,客户端应用程序将会在歌曲播放的同时对歌曲进行实时的采样,获取歌曲实时的音量、频谱数据,并结合此前映 1. An LED lamp intelligent dimming method comprising the steps of: 51, intelligent mobile terminal user to select client applications for a color image pickup, the client application will be on the image is sampled, calculated the RGB values ​​of the picture of several primary colors, wherein: R for red, G green behalf, B for blue; the user can select images using the color picker follow color or music, if the selected image pickup color step S2; if the selected music to follow color step S3 is performed; 52, the client application sends the RGB values ​​of a plurality of colors in step S1 obtained to the network node; and then to step S4; 53, use of the HSV model, wherein: H represents hue, S for saturation, V representative of brightness, several color mapping between the RGB model obtained in the step S1 is mapped to RGB values ​​HSV values; client user selects an application program for following the color the songs, the client application will perform the song while the song is playing in real-time sampling, access to real-time volume for songs, spectral data, combined with previous mapping 得到的若干种颜色的HSV值,实时地计算得到融合音乐后的新HSV值,再利用RGB模型到HSV模型的映射关系将新HSV值映射为新RGB值,并发送给网络节点; 54、网络节点将收到的RGB控制参数后,经过封装成数据包,通过无线射频传输协议,可与多个控制节点进行数据通信; 55、控制节点收到数据包后,调节处理器输出的PWM信号的占空比,实现脉冲宽度调制技术,辅助设计的DC/DC恒流输出驱动电路来控制LED灯具的颜色和亮度变化; 步骤S1中的对图片进行采样和计算,包括以下步骤: 考虑到智能移动终端有限的计算能力,对于大小为m乘以η的图像,取k的平方个样点,所述m表示图像像素点的行数,η表示图像像素点的列数,k表示采样点的行数和列数,同时对于RGB模型的二百五十六的三次方种颜色进行计数和排序,并对颜色进行聚类处理,聚类成512种颜色; 对图片 HSV values ​​obtained in a plurality of colors, real-time calculated value of the new HSV fusion music, then the mapping between the RGB model using the HSV model would map the new HSV values ​​for the new RGB values, and sends the network node; 54, network RGB received after the node control parameter, encapsulated into packets, for data communication with a plurality of control nodes by radio frequency transmission protocol; 55, after the control node receives the packet, adjusting the PWM signal output from the processor duty cycle, pulse width modulation techniques to achieve, aided design a DC / DC constant-current output drive circuit to control the color and brightness of the LED lamp changes; the picture samples and calculation in step S1, comprising the steps of: consideration of intelligent mobile line terminal limited computing power, multiplied by [eta] m in size for an image taken of squared sample points k, m represents the number of lines of image pixels, [eta] represents the number of columns of pixels in the image, k represents a sampling point number and the number of columns simultaneously for RGB cubic color model, two hundred and sixteen count and sort, and the clustering process colors, clustered into 512 kinds of colors; picture 的k的平方个点的颜色聚类后,进行样点的颜色计数和排序,按样点点数的排序结果,取得样点点数最多的颜色。 After color clustering of k squared points of color sorting and counting of samples, the results are ordered sample points, sample points made up of color.
2.根据权利要求1所述的LED灯智能调光方法,其特征在于,步骤S3所述的计算得到融合音乐后的新HSV值,包括:不改变HSV中的Η参数,而将实时采集到的歌曲音量数据、频率数据分别映射为新HSV值的S、V参数,并采用分段线性的映射函数进行新HSV值的参数值计算。 The LED lamp intelligent dimming method according to claim 1, wherein said calculating step S3, the new HSV values ​​obtained after fusion of music, comprising: Η does not change the parameters of HSV, and to the real-time collection volume of the song data, frequency data are mapped to the new HSV values ​​S, V parameters, and a piecewise linear mapping function value of the parameter new HSV values ​​is calculated.
3.根据权利要求1所述的LED灯智能调光方法,其特征在于,步骤S5中的控制LED灯具的颜色和亮度变化,包括以下步骤: S1、控制节点可以根据不同的设计容量,接入多组LED灯具,LED灯具利用三基色原理将红、绿、蓝三种超高亮度LED混合成白光和多种彩色光; S2、每个LED灯具的红、绿、蓝三色分别由三组完全相同的PWM模式的DC/DC恒流驱动电路点亮,经过参数调节后处理器产生的三路PWM信号作为小功率DC/DC恒流驱动电路的参数。 3. The LED dimming method according intelligent lamp as claimed in claim 1, wherein, in step S5, the color control and brightness variations LED lamps, comprising the steps of: S1, the control node can be designed according to different capacities, access plural sets of LED lamps, LED lamps using the principle of the three primary colors of red, green and blue high brightness LED mixed into white light and the plurality of colored lights; S2, each of the red LED lamps, green, and blue respectively, by three identical PWM mode DC / DC constant current driving circuit for lighting, three PWM signal is generated after the parameter adjustment processor as low power DC / DC constant current driving circuit parameters.
CN 201210562955 2012-12-20 2012-12-20 Method of light-emitting diode (LED) lamp smart lighting adjustment and system thereof CN103068112B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210562955 CN103068112B (en) 2012-12-20 2012-12-20 Method of light-emitting diode (LED) lamp smart lighting adjustment and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201210562955 CN103068112B (en) 2012-12-20 2012-12-20 Method of light-emitting diode (LED) lamp smart lighting adjustment and system thereof

Publications (2)

Publication Number Publication Date
CN103068112A true CN103068112A (en) 2013-04-24
CN103068112B true CN103068112B (en) 2014-12-31

Family

ID=48110513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210562955 CN103068112B (en) 2012-12-20 2012-12-20 Method of light-emitting diode (LED) lamp smart lighting adjustment and system thereof

Country Status (1)

Country Link
CN (1) CN103068112B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103228092A (en) * 2013-05-08 2013-07-31 上海宏源照明电器有限公司 Independent frequency output circuit capable of inhibiting electromagnetic wave interference of electrodeless lamp and modulation method
CN103987166A (en) * 2014-05-09 2014-08-13 苏州乐聚一堂电子科技有限公司 Automatic identification system for karaoke lighting effects
CN104994618B (en) * 2015-06-04 2018-07-06 深圳市博普森机电顾问有限公司 Integrated Intelligent led lighting system
CN105517222B (en) * 2015-12-01 2018-10-19 小米科技有限责任公司 Light adjusting method and apparatus
CN105611693B (en) * 2015-12-29 2018-06-15 北京爱情说科技有限公司 Method and apparatus for controlling the dimming of the lamp acoustic
CN105611694B (en) * 2015-12-30 2018-10-16 北京经纬恒润科技有限公司 A method and apparatus for color scheme atmosphere lamp
WO2017120844A1 (en) * 2016-01-14 2017-07-20 邓娟 Method for pushing information when controlling lighting and light
WO2017120843A1 (en) * 2016-01-14 2017-07-20 邓娟 Data collection method and lamp for lighting-control technology
WO2017120845A1 (en) * 2016-01-14 2017-07-20 邓娟 Method and lamp for lighting control
CN107340952A (en) * 2016-04-29 2017-11-10 深圳市蚂蚁雄兵物联技术有限公司 Method and device for synchronously controlling lamps through mobile terminal
CN106793329B (en) * 2017-01-06 2018-11-30 广东德洛斯照明工业有限公司 Automatic fill method based on the rgbw
CN107018608A (en) * 2017-03-16 2017-08-04 深圳创维-Rgb电子有限公司 Method and system for controlling color change of appearance of equipment
CN106912155A (en) * 2017-05-09 2017-06-30 杨廉 Lamplight control method
CN107172792A (en) * 2017-07-10 2017-09-15 东莞市三恩照明实业有限公司 APP music intelligent lamp capable of light adjustment and toning

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6639574B2 (en) * 2002-01-09 2003-10-28 Landmark Screens Llc Light-emitting diode display
CN101383911B (en) * 2008-10-23 2010-12-08 上海交通大学 Color intelligent automatic regulating device for television video taking
CN101784145A (en) * 2009-07-06 2010-07-21 深圳茂硕电源科技股份有限公司 Remote stepless dimming LED multi-path drive constant-current system and constant-current source
CN101859511A (en) * 2010-04-01 2010-10-13 浙江大学 Environmental atmosphere lamp system and control method thereof
CN201828528U (en) * 2010-10-27 2011-05-11 大树智能科技(南京)有限公司 Appearance inspection device for cigarette packets
CN203039968U (en) * 2012-12-20 2013-07-03 华南理工大学 LED lamp intelligent dimming system

Also Published As

Publication number Publication date Type
CN103068112A (en) 2013-04-24 application

Similar Documents

Publication Publication Date Title
Gancarz et al. Impact of lighting requirements on VLC systems
WO2005069640A1 (en) Ambient light script command encoding
CN102281680A (en) Automatic adjusting color temperature illumination system based on visual perception of human eyes
CN103889115A (en) Illumination control system
CN102917498A (en) Bluetooth mobile phone control-based LED (Light Emitting Diode) color-changeable bulb
CN201766739U (en) Intelligent home LED lighting system based on ZigBee and ARM techniques
CN1309523A (en) Light modulating LED lighting apparatus
US20150237700A1 (en) Systems and methods to control color and brightness of lighting devices
CN102141210A (en) High color rendering index and high-brightness light lighting equipment and method for realizing multi color temperature regulation
WO2006003602A1 (en) Dominant color extraction for ambient light derived from video content mapped through unrendered color space
US20130148020A1 (en) Dynamic Ambient Lighting
CN201748320U (en) LED luminaire with adjustable color and luminance
CN102497703A (en) LED (Light Emitting Diode) indoor lighting dimming control system based on mobile phone
CN104470159A (en) LED lighting system
CN101996585A (en) RGB three primary colours LED backlight based automatic white balance adjustment system and method thereof
CN103974512A (en) Method and system for wireless music dimming based on lighting devices
US20160037611A1 (en) Lighting system, lighting apparastus, and lighting control method
CN101777306A (en) LED display controller and LED display device
CN202907281U (en) LED variable color bulb based on control of bluetooth mobile phone
CN103945604A (en) Light adjusting method, light adjusting device, adjustable light source and display equipment
CN205305164U (en) Intelligent light -adjusting LED lamp and intelligent lighting system based on thing networking
CN1909008A (en) Remote control method of LED decorative illuminating light
CN101784145A (en) Remote stepless dimming LED multi-path drive constant-current system and constant-current source
CN102734671A (en) High intelligence indoor white light LED (Light-Emitting Diode) lamp
CN102159011A (en) Method for remotely and wirelessly controlling illumination end

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted