CN105848354A - Color modulation method and system applied to intelligent illumination system - Google Patents

Color modulation method and system applied to intelligent illumination system Download PDF

Info

Publication number
CN105848354A
CN105848354A CN201610319154.6A CN201610319154A CN105848354A CN 105848354 A CN105848354 A CN 105848354A CN 201610319154 A CN201610319154 A CN 201610319154A CN 105848354 A CN105848354 A CN 105848354A
Authority
CN
China
Prior art keywords
color
pwm
value
output valve
pwm output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610319154.6A
Other languages
Chinese (zh)
Other versions
CN105848354B (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.)
South China Normal University
Shenzhen Guohua Optoelectronics Co Ltd
Academy of Shenzhen Guohua Optoelectronics
Shenzhen Guohua Optoelectronics Research Institute
Original Assignee
South China Normal University
Shenzhen Guohua Optoelectronics Co Ltd
Shenzhen Guohua Optoelectronics Research Institute
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 South China Normal University, Shenzhen Guohua Optoelectronics Co Ltd, Shenzhen Guohua Optoelectronics Research Institute filed Critical South China Normal University
Priority to CN201610319154.6A priority Critical patent/CN105848354B/en
Publication of CN105848354A publication Critical patent/CN105848354A/en
Application granted granted Critical
Publication of CN105848354B publication Critical patent/CN105848354B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/20Controlling the colour of the light
    • H05B45/24Controlling the colour of the light using electrical feedback from LEDs or from LED modules

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Non-Portable Lighting Devices Or Systems Thereof (AREA)

Abstract

The invention discloses a color modulation method applied to an intelligent illumination system. The color modulation method comprises the following steps: in step A, target color data of a user is obtained via a remote device, and a corresponding PWM output value is output according to the target color data; the target color data comprises a red lamp luminance value R, a green lamp luminance value G and a blue lamp luminance value B; in step B, difference is obtained by comparing the PWM output value and a current PWM output value, and a PWM variable is calculated via a progressive mode; in step C, color modulation is realized via lamp luminance change based on the PWM variable. Via use of the color modulation method and system applied to the intelligent illumination system, color kinds can be reduced, color can be changed gradually, color change difficulty can be lowered, damage caused to a lamp body due to rapid change can be reduced, and service life of the lamp body can be prolonged.

Description

A kind of shading process in intelligent illuminating system and system
Technical field
The present invention relates to a kind of shading process in intelligent illuminating system and system, belong to field of electrical control.
Background technology
The variable color of intelligent illuminating system at present is to be realized by the colour mixture of LED mostly, by regulating the brightness of RGB (RGB) three kinds of color lamp bead, can realize different light colors.
And the control software of current intelligent illuminating system great majority to be user pass through host computer (smart machine such as smart mobile phone or computer) sends toning order to remote server, toning order is sent to intelligent control box again by server, and then sent toning order to smart machine node (remote server therein and intelligent control box can according to circumstances increase and decrease, i.e. the toning order of host computer also can be sent directly to smart machine node) by intelligent control box.
Described toning order just contains the rgb value of the color of object of toning, and for the user, user can be by choosing the color of the arbitrfary point on any image as color of object.For 16 conventional in multimedia and 24 colours, having 65536 respectively, 16777216 kinds of colors, color category is too many, considerably increases execution user and mixes colours the difficulty of order.Lamp body can be caused damage by the most complicated regulation, affects the life-span.
Summary of the invention
In order to solve the problems referred to above, the present invention, by providing a kind of shading process in intelligent illuminating system and system, reduces Lighting control difficulty and extends the lamp body life-span.
On the one hand the technical solution used in the present invention is a kind of shading process in intelligent illuminating system, comprise the following steps: A, by remote equipment obtain user color of object data, according to the PWM output valve that the output of color of object data is corresponding, wherein color of object data include red colored lamp brightness value R, green light brightness value G, blue lamp brightness value B;B, compare PWM output valve and current PWM output valve to obtain residual quantity, calculate PWM variable according to progressive mode;C, based on PWM variable change lamp brightness with realizes mix colours.
Preferably step A also includes: set up the memory cell being used for storing the information of pre-set color, and pre-set color is the unified embodiment of rgb value color in certain area;Calculate the RGB difference of color of object data and RGB and value, by judging RGB and value, RGB difference, rgb value affiliated area, the PWM value of the pre-set color of output correspondence.
Preferably step B also includes defining progressive variable, obtains PWM variable by Step wise approximation value.
Preferably step C also includes the PWM output valve after having recorded toning, marks it for current PWM output valve.
The another aspect of the present invention program is a kind of tinting system in intelligent illuminating system, including with lower module: far module, for being obtained the color of object data of user by remote equipment, according to the PWM output valve that the output of color of object data is corresponding, wherein color of object data include red colored lamp brightness value R, green light brightness value G, blue lamp brightness value B;Control module, is used for comparing PWM output valve and current PWM output valve to obtain residual quantity, calculates PWM variable according to progressive mode;Light emitting module, for changing lamp brightness to realize toning based on PWM variable.
Beneficial effects of the present invention is for by providing a kind of shading process in intelligent illuminating system and system, simplify color category, color is changed stepwise, the difficulty of color change can be reduced, can reduce because changing the damage that lamp body is caused rapidly simultaneously, be conducive to extending the lamp body life-span.
Accompanying drawing explanation
Fig. 1 show the schematic diagram of a kind of shading process in intelligent illuminating system according to embodiments of the present invention;
Fig. 2 show PWM according to embodiments of the present invention and exports schematic diagram.
Detailed description of the invention
Below in conjunction with embodiment, the present invention will be described.
First embodiment based on invention, a kind of shading process in intelligent illuminating system, comprise the following steps: A, by remote equipment obtain user color of object data, according to the PWM output valve that the output of color of object data is corresponding, wherein color of object data include red colored lamp brightness value R, green light brightness value G, blue lamp brightness value B;B, compare PWM output valve and current PWM output valve to obtain residual quantity, calculate PWM variable according to progressive mode;C, based on PWM variable change lamp brightness with realizes mix colours.
By the equipment such as smart mobile phone or computer, arrange one and take color image, the color that user is liked by click carrys out setpoint color, smart mobile phone accepts the color of object data of client, i.e. after the rgb value of color, first determine whether the color region belonging to this color, because R in the color of 16, G, the region of B is 0 to 255, 65536 kinds of colors are had after combination, the most in these combinations, the combination that color attribute is similar to or human eye is difficult to differentiate is a lot, design the PWM of correspondence and be loaded down with trivial details in order to adapt to these combinations and do not conform to interests, therefore similar color is classified as same class, distinguish tens of kinds of color types, by setting a regional value, the color meeting this region is attributed to a kind of output color (every kind of output color correspondence one PWM output valve).By comparing this PWM output valve and current PWM output valve, the residual quantity of PWM output valve between the two can be obtained, take progressive manner, the most do not use the mode of disposable directly change, but use the mode gradually evolved, the RGB component (44 of the most former PWM output valve, 66, 88), the RGB component (56 of rear PWM output valve, 116, 232), change frequency can be set as 4 times, so asking for as PWM output valve variable quantity each time is R=(56-44)/4, G=(106-66)/4, B=(232-88)/4, i.e. PWM variable, the PWM being applied on light fixture is changed according to this variable, light fixture is made to complete toning;Can also such as set the PWM variable that changes each time for (12,12,12) by setting fixed increment, be varied multiple times to mix colours.
Step A also includes: set up the memory cell being used for storing the information of pre-set color, and pre-set color is the unified embodiment of rgb value color in certain area;Calculate the RGB difference of color of object data and RGB and value, by judging RGB and value, RGB difference, rgb value affiliated area, the PWM value of the pre-set color of output correspondence.
By setting in advance, the combination of whole colors is divided into tens of kinds of combinations, and using these combinations as pre-set color, judge RGB and value, RGB difference, the rgb value affiliated area of color of object data, then using pre-set color the most corresponding for the representative color in this region as the color exported, then export correspondence PWM value, wherein RGB and value for R, G, B and value, i.e. R+B+G;RGB difference is the difference two-by-two between each colour;Rgb value is the combined value of R, G, B, such as RGB=(1,2,3)=(R, G, B).
According to embodiments of the invention, PWM as shown in Figure 2 exports schematic diagram, rgb value R, G, B of the color data that remote equipment obtains is added, obtains sum, as they and value.The biggest, explanation color is the most bright-coloured to a certain extent, also illustrates that the brightness of color of object is the biggest.For the color of 16, when with the numerical value bigger more than or equal to certain, as 648 time (16 0 ~ 255, group and maximum number be 256 × 3=768), illustrate that the color on each road is the brightest, also illustrate that they mutual gaps are the most little, then this situation is carried out white light judgement, namely final actual output is set to white light, mark white light brightness value is W, and RGB tri-street lamp pearl represents colour lamplight, going out so be disposed as lamp herein, white lamps is then the brightest.The PWM output valve on final each road is (0,0,0,255) (brightness value of R, G, B, W);When R, G, B value sum of color of object is less than certain smaller value, during such as 43, illustrating that the value of RGB is the least, level off to black, indication lamp goes out, and the PWM output valve on each road all takes a little value, if PWM output valve is (0,0,0,0).
When R, G, B value of color of object differs the least, and e.g., less than 15(can judge by the method mutually seeking difference), illustrate that this color is for white, grey or black.Now can use the mean value PWM output valve as white lamp bead of R, G, B, and due to color of object achromaticity, so the PWM waveform of R, G, B lamp bead is less, then output valve is (0,0,0, (R+G+B)/3).
First carry out the checking of black, white, grey special area, determine the step (i.e. carrying out region judgement according to the RGB in the color of object data of the former input of user) extracting pre-set color after being not belonging to these several situations the most normally, because under these special areas, need not the light fixture to red, green, blue and carry out energy supply, as conservation measures, it should preferentially carry out the process of special area.
One can be classified as about the scope in region, the such as color of (0,64,64) and (32,64,64), so take the PWM output valve that (16,64,64,0) are this kind of color, all (0 ~ 32,64,64) the corresponding PWM output valve of the color combination of scope is (16,64,64,0).
Step B also includes defining progressive variable, obtains PWM variable by Step wise approximation value.
Progressive variable is defined when realizing progressive, as by number of times or by fixed value progressive, or utilize approximation theory, the i.e. function of definition one approximation replaces complicated conversion curve, function beginning and end corresponding current PWM output valve, target PWM output valve, progressively extract the value on this function as output valve (because lamp brightness is non-linear with energy supply relation, need a suitable function to state transformation relation, a suitable function can be obtained after multiple authentication).Operation step number when the PWM output valve corresponding according to current lamp bead and the difference (positive and negative) of target PWM output valve determine progressive and mode of operation (progressive number of times, number of times is the biggest, is taken time the most, and progressive effect is the best, but time delay increases, need to determine according to the needs of illuminator).
Step C also includes the PWM output valve after having recorded toning, marks it for current PWM output valve.
Record the PWM output valve after toning, using the basis as variable color next time, i.e. current PWM output valve.
The second embodiment based on invention, a kind of tinting system in intelligent illuminating system, including with lower module: far module, for being obtained the color of object data of user by remote equipment, according to the PWM output valve that the output of color of object data is corresponding, wherein color of object data include red colored lamp brightness value R, green light brightness value G, blue lamp brightness value B;Control module, is used for comparing PWM output valve and current PWM output valve to obtain residual quantity, calculates PWM variable according to progressive mode;Light emitting module, for changing lamp brightness to realize toning based on PWM variable.
The above, simply presently preferred embodiments of the present invention, the invention is not limited in above-mentioned embodiment, as long as it reaches the technique effect of the present invention with identical means, all should belong to the protection zone of the present invention.In the protection zone of the present invention, its technical scheme and/or embodiment can have various different modifications and variations.

Claims (5)

1. the shading process in intelligent illuminating system, it is characterised in that comprise the following steps:
A, being obtained the color of object data of user by remote equipment, according to the PWM output valve that the output of color of object data is corresponding, wherein color of object data include red colored lamp brightness value R, green light brightness value G, blue lamp brightness value B;
B, compare PWM output valve and current PWM output valve to obtain residual quantity, calculate PWM variable according to progressive mode;
C, based on PWM variable change lamp brightness with realizes mix colours.
A kind of shading process in intelligent illuminating system the most according to claim 1, step A also includes:
Setting up the memory cell being used for storing the information of pre-set color, pre-set color is the unified embodiment of rgb value color in certain area;
Calculate the RGB difference of color of object data and RGB and value, by judging RGB and value, RGB difference, rgb value affiliated area, the PWM value of the pre-set color of output correspondence.
A kind of shading process in intelligent illuminating system the most according to claim 1, step B also includes defining progressive variable, obtains PWM variable by Step wise approximation value.
A kind of shading process in intelligent illuminating system the most according to claim 1, step C also includes the PWM output valve after having recorded toning, marks it for current PWM output valve.
5. the tinting system in intelligent illuminating system, it is characterised in that include with lower module:
Far module, for being obtained the color of object data of user by remote equipment, according to the PWM output valve that the output of color of object data is corresponding, wherein color of object data include red colored lamp brightness value R, green light brightness value G, blue lamp brightness value B;
Control module, is used for comparing PWM output valve and current PWM output valve to obtain residual quantity, calculates PWM variable according to progressive mode;
Light emitting module, for changing lamp brightness to realize toning based on PWM variable.
CN201610319154.6A 2016-05-12 2016-05-12 A kind of shading process being used in intelligent illuminating system and system Active CN105848354B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610319154.6A CN105848354B (en) 2016-05-12 2016-05-12 A kind of shading process being used in intelligent illuminating system and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610319154.6A CN105848354B (en) 2016-05-12 2016-05-12 A kind of shading process being used in intelligent illuminating system and system

Publications (2)

Publication Number Publication Date
CN105848354A true CN105848354A (en) 2016-08-10
CN105848354B CN105848354B (en) 2018-03-06

Family

ID=56591808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610319154.6A Active CN105848354B (en) 2016-05-12 2016-05-12 A kind of shading process being used in intelligent illuminating system and system

Country Status (1)

Country Link
CN (1) CN105848354B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106793302A (en) * 2016-12-27 2017-05-31 瑞金市得邦照明有限公司 The regulator control system and its implementation of a kind of LED color high stability
CN107135573A (en) * 2017-05-16 2017-09-05 深圳市斑点猫信息技术有限公司 A kind of shading process and device for illuminator
CN107734803A (en) * 2017-10-26 2018-02-23 深圳市银河风云网络系统股份有限公司 Lamplight scene control method, device and electronic equipment
CN108471650A (en) * 2017-02-23 2018-08-31 法雷奥照明公司 The method and control module of pulsed luminous flux light source for motor vehicles
CN112351555A (en) * 2019-08-07 2021-02-09 调调(北京)科技有限公司 Lamp and control method and device for lamp beads of lamp
CN116524852A (en) * 2023-07-05 2023-08-01 禹创半导体(深圳)有限公司 LED display panel and pixel color display method and device thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007055519A1 (en) * 2005-11-09 2007-05-18 Yuyang Telecom Co., Ltd Constant current pulse width modulation driving circuit for light emitting diode
US20130191056A1 (en) * 2011-07-25 2013-07-25 Flextronics International Kft. Method of determining pwm values for led modules
CN103634982A (en) * 2013-08-13 2014-03-12 牛萍娟 Web-based remote LED lighting control system
CN104076985A (en) * 2014-07-02 2014-10-01 成都零点六一八科技有限公司 Intelligent switch with adjustable panel backlight colour
CN204836707U (en) * 2015-08-10 2015-12-02 上海锳科迩电子股份有限公司 LED drive device that wireless control can adjust luminance and mix colours
CN105263247A (en) * 2015-11-26 2016-01-20 科博达技术有限公司 Method of realizing tricolor LED lamp color gradual change and device thereof
CN205196004U (en) * 2015-11-26 2016-04-27 苏州集联微电子科技有限公司 Control system of relaying lamp

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007055519A1 (en) * 2005-11-09 2007-05-18 Yuyang Telecom Co., Ltd Constant current pulse width modulation driving circuit for light emitting diode
US20130191056A1 (en) * 2011-07-25 2013-07-25 Flextronics International Kft. Method of determining pwm values for led modules
CN103634982A (en) * 2013-08-13 2014-03-12 牛萍娟 Web-based remote LED lighting control system
CN104076985A (en) * 2014-07-02 2014-10-01 成都零点六一八科技有限公司 Intelligent switch with adjustable panel backlight colour
CN204836707U (en) * 2015-08-10 2015-12-02 上海锳科迩电子股份有限公司 LED drive device that wireless control can adjust luminance and mix colours
CN105263247A (en) * 2015-11-26 2016-01-20 科博达技术有限公司 Method of realizing tricolor LED lamp color gradual change and device thereof
CN205196004U (en) * 2015-11-26 2016-04-27 苏州集联微电子科技有限公司 Control system of relaying lamp

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106793302A (en) * 2016-12-27 2017-05-31 瑞金市得邦照明有限公司 The regulator control system and its implementation of a kind of LED color high stability
CN106793302B (en) * 2016-12-27 2018-12-07 瑞金市得邦照明有限公司 A kind of regulator control system and its implementation of LED color high stability
CN108471650A (en) * 2017-02-23 2018-08-31 法雷奥照明公司 The method and control module of pulsed luminous flux light source for motor vehicles
CN107135573A (en) * 2017-05-16 2017-09-05 深圳市斑点猫信息技术有限公司 A kind of shading process and device for illuminator
CN107734803A (en) * 2017-10-26 2018-02-23 深圳市银河风云网络系统股份有限公司 Lamplight scene control method, device and electronic equipment
CN112351555A (en) * 2019-08-07 2021-02-09 调调(北京)科技有限公司 Lamp and control method and device for lamp beads of lamp
CN116524852A (en) * 2023-07-05 2023-08-01 禹创半导体(深圳)有限公司 LED display panel and pixel color display method and device thereof

Also Published As

Publication number Publication date
CN105848354B (en) 2018-03-06

Similar Documents

Publication Publication Date Title
CN105848354A (en) Color modulation method and system applied to intelligent illumination system
CN101707052B (en) RGB-based method for adjusting white balance of LED backlight
CN106328070B (en) OLED mould group Gamma adjusting process and device
CN105848374A (en) Light control system and method
CN204046868U (en) A kind of lighting device
CN109819546A (en) A kind of width colour gamut light modulation light mixing method and atmosphere lamp
CN106559934B (en) Control method, device, system and the rail vehicle of rail vehicle lighting system
CN110677954B (en) Precise dimming method and system for super-three-color LED light source
CN105606218A (en) Light source color rendering performance spectrum diagnosis method and system
CN109000886A (en) A kind of light source detection method and device thereof, equipment and storage medium
CN103415127B (en) Intelligence color LED landscape lamp control system and method
CN105228319A (en) LED color adjusting device, system and method
CN108024411B (en) Lighting device and light color control method thereof
CN103634967A (en) Photoelectric intelligent adjustable LED panel lamp and adjusting method
CN106470513A (en) Illumination control method and device
CN207926973U (en) A kind of intelligent illuminating system
CN108649112B (en) LED product yield optimization method
CN106255282B (en) A kind of illumination control method
CN205179455U (en) Linear illumination lamps and lanterns
CN106304479A (en) A kind of intelligent lighting switching LED color lamp of microcomputerized control
CN106332383A (en) Intelligent lighting device
CN102858054B (en) Solid luminous device, solid luminescent light source, lighting device and control method thereof
CN207460541U (en) The driving circuit of Bluetooth remote control LED light and Bluetooth remote control LED light
CN106488624A (en) Lamps intelligent control method and system
CN105554962A (en) LED (Light Emitting Diode) lamp with Bluetooth and control method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Wang Li

Inventor after: Li Peiyang

Inventor after: Li Wei

Inventor after: Di Diguo

Inventor after: Yi Zichuan

Inventor after: Bai Pengfei

Inventor after: Zhou Guofu

Inventor before: Zhou Guofu

Inventor before: Li Peiyang

Inventor before: Yi Zichuan

Inventor before: Wang Li

Inventor before: Li Wei

Inventor before: Di Diguo

Inventor before: Bai Pengfei

GR01 Patent grant
GR01 Patent grant