CN105578642B - A kind of invariable power matching algorithm applied in LED lamp - Google Patents
A kind of invariable power matching algorithm applied in LED lamp Download PDFInfo
- Publication number
- CN105578642B CN105578642B CN201510948381.0A CN201510948381A CN105578642B CN 105578642 B CN105578642 B CN 105578642B CN 201510948381 A CN201510948381 A CN 201510948381A CN 105578642 B CN105578642 B CN 105578642B
- Authority
- CN
- China
- Prior art keywords
- power
- color
- led lamp
- matching algorithm
- lamp bead
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/10—Controlling the intensity of the light
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
A kind of invariable power matching algorithm applied in LED lamp, it is assumed that LED lamp is provided with the lamp bead of n kind colors, calculates peak power W1 ~ Wn of the actual consumption of lamp bead monochrome all light, measurement light fixture maximum apparent energy Pw;The efficiency eta of calculating lamp bead consumption power, η=(W1+W2……+Wn)/ Pw;Setting light fixture allows rated maximum power Mw, Mw<Pw;If each color PWM duty cycle is N1 ~ Nn, each PWM duty cycle number range 0 ~ 100%;Calculate the current apparent energy Cw that different colours mix ratio;Cw=(N1*W1+N2*W2+N3*W3 ...+Nn*Wn)/η;Power factor (PF) θ, wherein 0 < θ≤1, θ=Mw/Cw, the dutycycle of each color reality output is N1* θ, N2* θ, N3* θ ... ... Nn* θ.During light modulation, according to current colour mixture than adjustment brightness ratio, change brightness but in turn ensure that the chromaticity of colour mixture.
Description
Technical field
The present invention relates to the light-dimming method in LED lamp, the invariable power especially applied in the control of multiple color colour mixture
Matching algorithm.
Background technology
Pulse width modulation(PWM, Pulse-Width Modulation), also referred to as pulsewidth modulation, pulse width tune
System(PWM)It is a kind of digitally coded method to be carried out to analog signal level.By the use of high-resolution counter, square wave
Dutycycle is modulated for being encoded to the level of a physical simulation signal.Pwm signal be still numeral because to
Fixed any moment, otherwise the direct current supply of full amplitude has completely(ON)Or entirely without(OFF).Voltage or current source be with
One kind is logical(ON)It is or disconnected(OFF)Repetition pulse sequence be added to fictitious load get on.It is direct current supply quilt when logical
When being that power supply is disconnected when being added in load, when disconnected.As long as bandwidth is enough, any analogue value can make
Encoded with PWM.
Nearly all commercially available single-chip microcomputer has PWM module function, and microcontroller all includes PWM controller.Only
PWM technologies are applied in LED light modulation, by controlling the PWM duty cycle of each color with regard to each color of LED lamp can be controlled
Brightness, the luminance mix of different colours will produce different brightness ratios, and every kind of brightness has different LED lamplights.
According to trichromatic principle, when feux rouges is as the ratio of green glow and blue light, it is exactly white light to mix light out,
Such as 100 parts of feux rouges:100 parts of green glows:100 parts of blue light=100 part white lights, then the brightness ratio of feux rouges, green glow and blue light is 100:
100:100, color colour mixture ratio is 1:1:1, similarly 1 part of feux rouges:1 part of green glow:The white light of 1 part of blue light=1 part, color colour mixture ratio
Do not change, still or white light, simply white brightness is dimmed according to brightness ratio ratio, and invariable power matching algorithm, is exactly
Realize in specified power bracket, ensure that each color colour mixture of LED lamp than constant effect is still " white light ", adjust automatically
Brightness ratio.
The content of the invention
The technical problems to be solved by the invention are adjusted using a kind of light fixture PWM of invariable power matching algorithm applied to LED
In light technology, in specified power bracket, the color colour mixture ratio of LED lamp is exactly brightness ratio, when beyond specified power
When, LED lamp can be always maintained at being worked under specified power, ensures each color colour mixture ratio by the brightness value for adjusting each color
Example keeps constant.
In order to solve the above technical problems, the technical scheme is that:A kind of PWM invariable powers applied in LED lamp
Matching algorithm
Assuming that LED lamp be provided with n kind colors lamp bead, calculate lamp bead monochrome all light actual consumption peak power w1 ~
Wn,
Measure light fixture maximum apparent energy Pw;
The efficiency eta of calculating lamp bead consumption power, η=(w1+w2+……wn)/ Pw;
Setting light fixture allows rated maximum power Mw, Mw<Pw;
If each color PWM duty cycle is N1 ~ Nn, each PWM duty cycle number range 0 ~ 100%;
Calculate the current apparent energy Cw that different colours mix ratio;
Cw=(N1*w1+N2*w2+N3*w3+Nn * wn)/η;
Power factor (PF) θ(0 < θ≤1), θ=Mw/Cw, the dutycycle of each color reality output is N1* θ, N2* θ, N3* θ,
Nn*θ。
The dutycycle of each color, which is all multiplied by an identical definite value, in the present invention can adjust brightness ratio, due to each color
Brightness ratio keeps constant, also ensure that the chromaticity of colour mixture.
The caused compared with prior art beneficial effect of the present invention is:
The dutycycle of each color is all multiplied by an identical definite value, ensure that the colour mixture of each color than constant situation
Get off to change its brightness ratio to change the brightness of mixed light, firm power algorithm can also allow light fixture constant in specified power simultaneously
In the range of, not over the load of power supply.
Embodiment:
Such as the LED Colour lamps of four color, four colors be RGBW, individually electric current I during each color all light of measurement light fixture
With voltage U, according to ohm formula:P=UI, calculate lamp bead monochrome all light actual consumption peak power be respectively Rw, Gw,
Bw, Ww, the general power of whole lamp is Pw, then the power efficiency of the consumption of lamp bead is than η:
η=(Rw+Gw+Bw+Ww)/ Pw;
During light modulation, if the dutycycle (0 ~ 100%) of each colors of RGBW is respectively RN, GN, BN, WN, then each color according to
The actual power of different duty specific consumptions is RN*Rw, GN*Gw, BN*Bw, WN * Ww;Then can calculate current
Apparent energy Cw:
Cw=(RN*Rw+GN*Gw+BN*Bw+WN * Ww)/η
Set a specified performance number Mw(Mw<Pw), this performance number is exactly the power maximum for setting light fixture
Value, when the actual power of light fixture is more than Mw, actual performance number is also constant to be kept being Mw;
Then, it is re-introduced into a parameter:Power factor (PF) θ(0 < θ≤1), for adjusting brightness according to current colour mixture ratio
Than θ values beyond power-handling capability Mw according to whether carry out value, and when the power Cw of reality is less than rated power Mw, θ values are permanent
For 1, ensure directly to be exported by power limit in specified power bracket, and exceeded rated power later just according to
One ratio value carries out containing, so, θ values can be tried to achieve:
θ=Mw/Cw;
Finally, the dutycycle of each color reality output is RN* θ, GN* θ, BN* θ, WN* θ, the dutycycle of each color
An identical definite value is all multiplied by, so as to, than adjustment brightness ratio, change brightness according to current colour mixture but in turn ensure that colour mixture
Chromaticity.
According to trichromatic principle, when feux rouges is as the ratio of green glow and blue light, it is exactly white light to mix light out,
Such as 100 parts of feux rouges:100 parts of green glows:100 parts of blue light=100 part white lights, then the brightness ratio of feux rouges, green glow and blue light is 100:
100:100, color colour mixture ratio is 1:1:1, similarly 1 part of feux rouges:1 part of green glow:The white light of 1 part of blue light=1 part, color colour mixture ratio
Do not change, still or white light, simply white brightness is dimmed according to brightness ratio ratio, and invariable power matching algorithm, is exactly
Realize in specified power bracket, ensure that each color colour mixture of LED lamp than constant effect is still " white light ", adjust automatically
Brightness ratio.
Experimental example:One colored lights of RGBW tetra- tool, maximum rated power requires 50W, when R, G, B, W PWM duty cycle
For 100% when, corresponding each color power R colors 18W, G color 25W, B color 27W, W color 30W, during two kinds of blend of colors:R+
G power 43W, R+W power 48W, B+W power 57W, R+G+W power 70W, G+B+W power 82W, R+G
+ B+W power 100W.Target call:1st, light fixture how could be allowed to keep monochromatic most bright, or two kinds of colors work to most bright;2、
When two or more color colour mixtures, general power is both no more than 50W, and and can ensures that the colour mixture ratio of two or more colors will not change
Become.
It is assumed that color PWM duty cycle is all 0 ~ 255 change, brightness is strictly proportional with PWM duty cycle, LED consumption
Power is proportional with PWM duty cycle;
When power is no more than power-handling capability, PWM duty cycle is exactly colour brightness, and PWM duty cycle is exactly colour mixture proportioning.
When beyond maximum rated power, during two kinds or more color colour mixtures, power constant maximum rating is constant, and colour mixture is with each face
The ratio of color PWM duty cycle is allocated, and now color PWM duty cycle does not represent brightness, only represents colour mixture proportioning;It is such as current
R colors PWM duty cycle is that 255, G colors PWM duty cycle is 255, power 43W, when B colors to be added, as B colors PWM is accounted for
Sky is than increase, and power increase, when B color PWM duty cycles reach 66, power reaches rated value 50W, and now RGB PWM is accounted for
The ratio of empty ratio is equal to colour mixture and is equal to brightness ratio equal to 255 with ratio:255:100;When B color PWM duty cycles reach 200, always
The ratio of power or 50W, RGB PWM duty cycle has occurred and that change, but colour mixture is also 255 with ratio:255:200,
But brightness ratio is 255* θ:255*θ:200* θ, and θ(0 < θ≤1)Value be exactly core in invariable power algorithm.
Claims (4)
- A kind of 1. invariable power matching algorithm applied in LED lamp, it is characterised in that:Assuming that LED lamp is provided with the lamp bead of n kind colors, peak power W1 ~ Wn of the actual consumption of lamp bead monochrome all light is calculated,Measure light fixture maximum apparent energy Pw;The efficiency eta of calculating lamp bead consumption power, η=(W1+W2……+Wn)/ Pw;Setting light fixture allows rated maximum power Mw, Mw<Pw;If each color PWM duty cycle is N1 ~ Nn, each PWM duty cycle number range 0 ~ 100%;Calculate the current apparent energy Cw that different colours mix ratio;Cw=(N1*W1+N2*W2+N3*W3 ...+Nn * Wn)/η;Power factor (PF) θ, wherein 0 < θ≤1, θ=Mw/Cw, the dutycycle of each color reality output is N1* θ, N2* θ, N3* θ ... ... Nn* θ.
- A kind of 2. invariable power matching algorithm applied in LED lamp according to claim 1, it is characterised in that:Respectively Electric current I and voltage U during each color all light of independent measurement light fixture, according to ohm formula:P=UI, it is actual that each color is calculated respectively The peak power of consumption.
- A kind of 3. invariable power matching algorithm applied in LED lamp according to claim 1, it is characterised in that:LED Tool need to set specified performance number.
- A kind of 4. invariable power matching algorithm applied in LED lamp according to claim 1, it is characterised in that:The LED Light fixture needs more than three kinds of color lamp bead, and a variety of colors power is added summation and is more than rated output power.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510948381.0A CN105578642B (en) | 2015-12-17 | 2015-12-17 | A kind of invariable power matching algorithm applied in LED lamp |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510948381.0A CN105578642B (en) | 2015-12-17 | 2015-12-17 | A kind of invariable power matching algorithm applied in LED lamp |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105578642A CN105578642A (en) | 2016-05-11 |
CN105578642B true CN105578642B (en) | 2017-11-28 |
Family
ID=55888159
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510948381.0A Active CN105578642B (en) | 2015-12-17 | 2015-12-17 | A kind of invariable power matching algorithm applied in LED lamp |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105578642B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106851903B (en) * | 2017-01-10 | 2018-10-12 | 深圳市光迹科技有限公司 | The method and system of LED multi-path lamp bead driving are realized using small-power power |
CN107896398B (en) * | 2017-11-09 | 2020-04-07 | 四川九洲光电科技股份有限公司 | Multi-path LED geometric light mixing method |
CN110850160A (en) * | 2019-11-05 | 2020-02-28 | 普联技术有限公司 | Method and device for measuring power consumption of LED lighting device and storage medium |
CN110958389B (en) * | 2019-12-05 | 2021-12-14 | 浙江大华技术股份有限公司 | Load starting method, equipment, device and storage medium of camera |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192546A (en) * | 2006-11-20 | 2008-06-04 | 深圳市同洲电子股份有限公司 | Luminous diode color matching method |
CN101360373A (en) * | 2007-08-01 | 2009-02-04 | 深圳Tcl工业研究院有限公司 | Power control method for LED backlight and LED display |
CN102137535A (en) * | 2011-03-08 | 2011-07-27 | 西安明泰半导体科技有限公司 | LED (light-emitting diode) driving and dimming method for pulse-by-pulse current adjustment by adopting frequency doubled of power frequency |
CN105430790A (en) * | 2015-11-13 | 2016-03-23 | 欧普照明股份有限公司 | Light mixing method used for LED light sources and linear lighting lamp |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8674613B2 (en) * | 2009-06-22 | 2014-03-18 | Richard Landry Gray | Power reforming methods and associated multiphase lights |
-
2015
- 2015-12-17 CN CN201510948381.0A patent/CN105578642B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192546A (en) * | 2006-11-20 | 2008-06-04 | 深圳市同洲电子股份有限公司 | Luminous diode color matching method |
CN101360373A (en) * | 2007-08-01 | 2009-02-04 | 深圳Tcl工业研究院有限公司 | Power control method for LED backlight and LED display |
CN102137535A (en) * | 2011-03-08 | 2011-07-27 | 西安明泰半导体科技有限公司 | LED (light-emitting diode) driving and dimming method for pulse-by-pulse current adjustment by adopting frequency doubled of power frequency |
CN105430790A (en) * | 2015-11-13 | 2016-03-23 | 欧普照明股份有限公司 | Light mixing method used for LED light sources and linear lighting lamp |
Also Published As
Publication number | Publication date |
---|---|
CN105578642A (en) | 2016-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106817811B (en) | The method for realizing full gamut range light distribution based on PWM four primary LED | |
FI128220B (en) | LED light source and method for regulating the colour or colour temperature of the LED light source | |
CN105578642B (en) | A kind of invariable power matching algorithm applied in LED lamp | |
CN101790264B (en) | Method for light-adjusting solar spectrum-like LED | |
CN104936350B (en) | A kind of light-dimming method of LED light emission device | |
CN104633499A (en) | LED light source module with high color rendering index and LED lamp | |
CN105430790B (en) | Light mixing method for LED light source and linear lighting lamp | |
US8957602B2 (en) | Correlated color temperature control methods and devices | |
CN105530721A (en) | Light-emitting control method, apparatus and system for LED (light emitting diode) lamp | |
JP2007035639A (en) | Lighting system and method for controlling luminance and color position of lighting system | |
CN108495406A (en) | Mix light source color temperature adjusting method, system, storage medium and human-computer interaction terminal | |
CN108156700B (en) | LED lamp capable of improving white light effect and control method | |
CN202998605U (en) | Remote control LED (light emitting diode) lamp | |
US11259377B2 (en) | Color temperature and intensity configurable lighting fixture using de-saturated color LEDs | |
CN108401314A (en) | Based on polar non-pole light regulating shading process | |
CN112423429B (en) | Method for fitting five-primary-color LED mixed light source | |
CN108513396B (en) | Control method for constant-power constant-current time-sharing multiplexing of LED lamp | |
US9137875B2 (en) | Method for operating at least one light-emitting diode and lighting device for carrying out the method | |
US20170303358A1 (en) | A Smart Lighting System | |
CN105263247A (en) | Method of realizing tricolor LED lamp color gradual change and device thereof | |
CN206291047U (en) | RGB lamp bars colour temperature adjusts light bar | |
CN207678050U (en) | A kind of LED lamp improving white light efficiency | |
CN205179455U (en) | Linear illumination lamps and lanterns | |
CN209218430U (en) | RGBW driving circuit | |
CN106658852A (en) | Calculation method used for constant luminance of LED lamp |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |