CN107682969A - A kind of light-dimming method and system - Google Patents
A kind of light-dimming method and system Download PDFInfo
- Publication number
- CN107682969A CN107682969A CN201711021948.5A CN201711021948A CN107682969A CN 107682969 A CN107682969 A CN 107682969A CN 201711021948 A CN201711021948 A CN 201711021948A CN 107682969 A CN107682969 A CN 107682969A
- Authority
- CN
- China
- Prior art keywords
- pwm signal
- light source
- light
- dutycycle
- negates
- 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
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/30—Driver circuits
- H05B45/37—Converter circuits
-
- 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
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/30—Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The present invention relates to technical field of electronic equipment, and in particular to a kind of light-dimming method and system, applied to the light adjusting system for being connected with least two light sources, light adjusting system includes being used for the power supply at least two light source power supplies.Light-dimming method includes:The pwm signal according to corresponding to the target light tone parameter of at least two light sources obtains each light source, the dutycycle of at least one pwm signal is negated to obtain the first pwm signal, low and high level is carried out to the first pwm signal to negate to obtain the second pwm signal and send to corresponding light source, will not be carried out the pwm signal that dutycycle negates and is sent to corresponding light source.High level end time point by the above-mentioned pwm signal of setting second is consistent with the high level start time point for not carrying out the pwm signal that dutycycle negates, and then it is effectively improved the situation that stroboscopic is caused when at least two light sources while luminous or extinguishing, and at least two light source it is simultaneously luminous when, power supply is powered simultaneously on each light source has instantaneous power too high the problem of influenceing power source performance and life-span.
Description
Technical field
The present invention relates to technical field of electronic equipment, in particular to a kind of light-dimming method and system.
Background technology
It is more and more to dimming light source demand with the development and popularization of Internet of Things and smart home, to the quality of light modulation
It is required that also more and more higher.LED has the advantages of easily light modulation toning as light source, thus increasing LED light source instead of biography
The light source of system.At present, the most frequently used LED dimming modes dim for PWM, and light fixture generally includes the LED light source of two groups of different-colours,
Colour mixture is adjusted so as to realize colour temperature and brightness regulation using brightness of the two-way pwm signal respectively to two paths of LED light source.
Inventor it has been investigated that using PWM carry out colour temperature regulation LED, when the dutycycle of two-way is all not zero,
Two-way pwm signal is started working in synchronization, and effectively controlling level to export simultaneously causes two-way to load while work, and low
Level be able to may also overlap.Therefore using this design when two-way exports significant level simultaneously, because of load, work causes electricity simultaneously
Source power consumption moment reaches highest and easily causes power supply overheat to shorten life of product, in addition, lighting changes in temperature simultaneously in a cycle
LED, changes in temperature LED is simultaneously closed off again, the jump of light source in itself is obvious, and this can increase the stroboscopic of light source and then influence light source
Quality.
The content of the invention
In view of this, it is an object of the invention to provide a kind of light-dimming method and system, at least two light sources are effectively improved
Situation simultaneously luminous or that stroboscopic is caused when extinguishing, and when at least two light sources are simultaneously luminous, power supply supplies each light source simultaneously
The problem of too high influence power source performance of instantaneous power and life-span be present in electricity.
To achieve the above object, the embodiment of the present invention adopts the following technical scheme that:
A kind of light-dimming method provided by the invention, applied to the light adjusting system for being connected with least two light sources, light adjusting system
Including for the power supply at least two light source power supply.Methods described includes:
At least two dimming commands are generated according to the target light tone parameter of at least two light source;
A pwm signal is generated respectively according to each dimming commands, and so as to obtain, corresponding PWM believes respectively with each light source
Number;
Obtain the dutycycle of at least one pwm signal, the dutycycle of at least one pwm signal is negated to obtain to
Few first pwm signal, wherein, the quantity of at least one first pwm signal is less than the quantity of at least two light source;
Low and high level is carried out to first pwm signal to negate to obtain the second pwm signal and send to corresponding light source, will
The pwm signal that dutycycle negates is not carried out to send to corresponding light source;
The light source according to corresponding to second pwm signal is lighted/closed to the high/low level of second pwm signal, and according to
Light source corresponding to the pwm signal is lighted/closed to the high/low level for not carrying out the pwm signal that dutycycle negates.
Optionally, in the preferred embodiment, in above-mentioned light-dimming method, the target light tone parameter includes face
Color parameter and luminance parameter, according to the step of the target light tone parameter of at least two light source at least two dimming commands of generation
Including:
At least two light modulations are obtained according to the color parameter, luminance parameter, the luminous flux of at least two light sources and colour temperature
Instruction, so as to obtain dimming commands corresponding to each light source difference.
Optionally, in the preferred embodiment, in above-mentioned light-dimming method, performing according to described at least two
Before the target light tone parameter of light source generates the step of at least two dimming commands, methods described also includes:
Receive the target light tone parameter of at least two light source of user's input.
Optionally, in the preferred embodiment, in above-mentioned light-dimming method, given birth to respectively according to each dimming commands
Into pwm signal in, the frequency of each pwm signal is identical, and is 100Hz-30KHz.
Optionally, in the preferred embodiment, in above-mentioned light-dimming method, when the number of at least two light source
Measure for even number when, the quantity of light source corresponding to second pwm signal with described not carry out the pwm signal that dutycycle negates corresponding
Light source quantity it is identical;
When the quantity of at least two light source is odd number, the quantity of light source and institute corresponding to second pwm signal
State do not carry out the quantity of light source corresponding to the pwm signal that dutycycle negates difference be 1.
The present invention also provides a kind of light adjusting system, and the light adjusting system is connected with least two light sources, the light adjusting system
Including power supply, controller, PWM signal generator and reverser, the controller and the PWM signal generator, reverser point
Do not electrically connect, the power supply is electrically connected with each light source;
The controller is used to generate at least two dimming commands according to the target light tone parameter of at least two light source
And send to the PWM signal generator;
The PWM signal generator is used to generate a pwm signal respectively according to each dimming commands and sent to the control
Device processed, so as to obtain distinguishing corresponding pwm signal with each light source;
The controller is additionally operable to obtain the dutycycle of at least one pwm signal, and generation dutycycle negates instruction simultaneously
Send to the PWM signal generator, taken so that the PWM signal generator carries out dutycycle at least one pwm signal
It is counter to produce at least one first pwm signal and export to the reverser, wherein, the quantity of at least one first pwm signal
Less than the quantity of at least two light source;
The reverser is used to the low and high level of at least one first pwm signal is negated to obtain at least one the
Two pwm signals are simultaneously exported to light source corresponding with least one second pwm signal;
Light source is lit/closed according to the high/low level of second pwm signal corresponding to second pwm signal;
Light source corresponding to the pwm signal that dutycycle negates is not carried out to be lit/close according to the high/low level of the pwm signal
Close.
Optionally, in the preferred embodiment, in above-mentioned light adjusting system, the light adjusting system also includes described
Light adjusting system also includes at least two drive circuits, and the power supply is connected with to each driving respectively with each drive circuit
Circuit is powered, and the power supply electrically connects with each drive circuit respectively;
The reverser is additionally operable to export at least one second pwm signal to the driving electricity of corresponding light source connection
Road, so that the light source is lighted/closed to the drive circuit according to the high/low level of second pwm signal;
The PWM signal generator is additionally operable to will not to carry out the pwm signal that dutycycle negates to send to corresponding driving electricity
Road, so that the light source is lighted/closed to the high/low level that the drive circuit does not carry out the pwm signal that dutycycle negates according to this.
Optionally, in the preferred embodiment, in above-mentioned light adjusting system, the light adjusting system also includes and institute
The dimming interface circuit of controller electrical connection is stated, the dimming interface circuit is for receiving the target light tone parameter of user's input simultaneously
Send to the controller.
Optionally, in the preferred embodiment, in above-mentioned light adjusting system, given birth to respectively according to each dimming commands
Into pwm signal in, the frequency of each pwm signal is identical, and is 100Hz-30KHz.
Optionally, in the preferred embodiment, in above-mentioned light adjusting system, when the number of at least two light source
Measure for even number when, the quantity of light source corresponding to second pwm signal with described not carry out the pwm signal that dutycycle negates corresponding
Light source quantity it is identical;
When the quantity of at least two light source is odd number, the quantity of light source and institute corresponding to second pwm signal
State do not carry out the quantity of light source corresponding to the pwm signal that dutycycle negates difference be 1.
A kind of light-dimming method provided by the invention and system, the light-dimming method are applied to the light adjusting system, light modulation system
System includes being used for the power supply at least two light source power supplies.Light-dimming method includes:Joined according to the target light tone of at least two light sources
Number obtains pwm signal corresponding to each light source, and the dutycycle of at least one pwm signal is negated to obtain the first pwm signal, right
First pwm signal carries out low and high level and negates to obtain the second pwm signal and send to corresponding light source, will not carry out dutycycle and take
Anti- pwm signal is sent to corresponding light source.By the high level end time point of the above-mentioned pwm signal of setting second with not
It is consistent to carry out the high level start time point for the pwm signal that dutycycle negates, and then is effectively improved at least two light sources while sends out
Light causes the situation of stroboscopic when extinguishing, and when at least two light sources are simultaneously luminous, and power supply is powered presence simultaneously to each light source
The problem of too high influence power source performance of instantaneous power and life-span.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached
Figure is briefly described, it will be appreciated that the following drawings illustrate only the section Example of the present invention, therefore be not construed as pair
The restriction of the scope of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, also
Other related accompanying drawings can be obtained according to these accompanying drawings.
Fig. 1 is a kind of structured flowchart of light adjusting system provided in an embodiment of the present invention.
Fig. 2 is a kind of schematic flow sheet of light-dimming method provided in an embodiment of the present invention.
Fig. 3 is the oscillogram after a kind of light modulation provided in an embodiment of the present invention.
Fig. 4 is another oscillogram after a kind of light modulation provided in an embodiment of the present invention.
Fig. 5 is a kind of another structured flowchart of light adjusting system provided in an embodiment of the present invention.
Icon:10- light adjusting systems;20- light sources;110- controllers;120-PWM signal generators;130- reversers;140-
Power supply;150- drive circuits;160- dimming interface circuits.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the present invention is applied by the technical scheme in example is clearly and completely described, it is clear that described embodiment is this
Invention part of the embodiment, rather than whole embodiments.The embodiment of the present invention for generally describing and showing in this figure
Component can be configured to arrange and design with a variety of.
Therefore, below the detailed description of the embodiments of the invention to providing in the accompanying drawings be not intended to limit it is claimed
The scope of the present invention, but be merely representative of the present invention selected embodiment.It is common based on the embodiment in the present invention, this area
The every other embodiment that technical staff is obtained under the premise of creative work is not made, belong to the model that the present invention protects
Enclose.It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi are attached
It is defined, then it further need not be defined and explained in subsequent accompanying drawing in figure.
In the description of the invention, it is also necessary to explanation, unless otherwise clearly defined and limited, term " setting ",
" connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected, or be integrally connected;Can be
Mechanically connect or electrically connect;Can be joined directly together, can also be indirectly connected by intermediary, can be two
The connection of element internal.For the ordinary skill in the art, with concrete condition above-mentioned term can be understood in the present invention
In concrete meaning.
Incorporated by reference to Fig. 1 and Fig. 2, the present invention provides a kind of light-dimming method, for being dimmed at least two light sources 20, with
It is effectively improved when at least two light source 20 lights and stroboscopic is present, and then effectively improves the mixed of at least two light source 20
Color effect.
Five steps of step S110-S150 are performed when the light-dimming method is used to dim at least two light source 20
Suddenly.Wherein, the light-dimming method can apply to the light adjusting system 10 being connected with least two light source 20, the light modulation system
System 10 can include controller 110, PWM signal generator 120, reverser 130, the drive circuit 150 of power supply 140 and at least two
Connection, the corresponding light source 20 of each drive circuit 150, the power supply 140 at least two drive circuit 150 is powered with
Light source 20 is lit corresponding to driving.
Step S110:At least two dimming commands are generated according to the target light tone parameter of at least two light source 20.
The light source 20 can be but not limited to LED or incandescent lamp, optionally, in the present embodiment, the light source 20
For LED.The color of each light source 20 can be identical or different, be not especially limited herein.The mesh
Mark light tone parameter can include but is not limited to color parameter, luminance parameter and/or color temperature parameters.The light source 20 leads to light
The parameters such as amount, light color temperature and/or light color.
Wherein, the target light tone parameter can be pre-set or the demand according to user be configured
, it is not especially limited herein.Optionally, in the present embodiment, before step S110 is performed, methods described also includes:Connect
Receive the target light tone parameter of at least two light source 20 of user's input.
Optionally, in the present embodiment, the target light tone parameter includes color parameter and luminance parameter, according to it is described extremely
The step of target light tone parameter of few two light sources 20 generates at least two dimming commands includes:According to the color parameter, bright
Degree parameter, the luminous flux of at least two light sources 20 and colour temperature obtain at least two dimming commands, so as to obtain each light source 20
Dimming commands corresponding to respectively.
Optionally, in the present embodiment, the step S110 can be performed by the controller 110, the controller 110
At least two dimming commands are generated according to the target light tone parameter of at least two light source 20 and sent to PWM generator.Respectively
The parameters such as luminous flux, light color temperature and the light color of the light source 20 can be stored in the controller 110.
The controller 110 can be a kind of IC chip, have signal handling capacity.The controller 110 can
To be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network
Processor, NP) etc.;It can also be digital signal processor (DSP), application specific integrated circuit (ASIC), field-programmable gate array
Arrange (FPGA) either other PLDs, discrete gate or transistor logic, discrete hardware components.It can realize
Or disclosed each method, step and logic diagram in the execution embodiment of the present invention.
Step S120:A pwm signal is generated respectively according to each dimming commands, so as to obtain distinguishing with each light source 20
Corresponding pwm signal.
Wherein, the pwm signal is made up of periodic low and high level.Because human eye is seeing 50Hz and the above frequency
Image when, stroboscopic generally can not be seen.Therefore, further to improve 20 stroboscopic of light source the problem of, in the present embodiment, each institute
It is identical to state the frequency of pwm signal, and is 100Hz-30KHz.It should be noted that the signal frequency of the PWM is higher, then more not
Easily there is the problem of stroboscopic.
Optionally, in the present embodiment, the step S120 can be performed by the PWM signal generator 120, specifically
, the PWM signal generator 120 generates a pwm signal according to each dimming commands and sent to the controller respectively
110, so as to obtain distinguishing corresponding pwm signal with each light source 20.
Step S130:The dutycycle of at least one pwm signal is obtained, to the dutycycle of at least one pwm signal
Negate to obtain at least one first pwm signal, wherein, the quantity of at least one first pwm signal is less than described at least two
The quantity of light source 20.
In the present embodiment, the dutycycle of the pwm signal is high level duration and cycle duration in a cycle
Ratio.The dutycycle of pwm signal is negated after obtaining the first pwm signal, first pwm signal is low within a cycle
Level duration is equal with the dutycycle with the ratio of cycle duration.
Light source 20 corresponding at least one first pwm signal can be arbitrary light source 20 or according to reality
Border demand is chosen, as cold light light source or warm light light source are not especially limited herein.
Optionally, in the present embodiment, the step S130 can be performed by the controller 110, the controller 110
The dutycycle of at least one pwm signal is obtained, generation dutycycle, which negates, to be instructed and send to the PWM signal generator
120, so that the PWM signal generator 120 carries out dutycycle at least one pwm signal negates generation at least one first
Pwm signal is simultaneously exported to the reverser 130.
Step S140:The low and high level of at least one first pwm signal is negated to obtain at least one 2nd PWM
Signal.
Wherein, the second pwm signal obtained after being negated to the first pwm signal low and high level and first pwm signal
It is complementary.
Optionally, in the present embodiment, the step S140 can be performed by the reverser 130, the reverser 130
The low and high level of at least one first pwm signal is negated to obtain at least one second pwm signal and export to this
Light source 20 corresponding at least one second pwm signal.
Step S150:The light according to corresponding to second pwm signal is lighted/closed to the high/low level of second pwm signal
Source 20, and the light source according to corresponding to the pwm signal is lighted/closed to the high/low level for not carrying out the pwm signal that dutycycle negates
20。
Optionally, in the present embodiment, the reverser 130 exports at least one second pwm signal to corresponding
Light source 20 connect drive circuit 150 after, the step S150 can be performed by drive circuit 150, so that the drive circuit
150 light/close the light source 20 according to the high/low level of second pwm signal.
Wherein, second pwm signal is being exported to corresponding light source 20 with not carrying out the pwm signal that dutycycle negates
When, the end point of the high level lasting time of second pwm signal is the height for not carrying out the pwm signal that dutycycle negates
The starting point of level time.So that second pwm signal corresponding to high level finish time light source 20 extinguish while, institute
State and do not carry out the pwm signal that dutycycle negates and be lit for high level initial time and corresponding light source 20.
It should be noted that each drive circuit 150 electrically connects with the power supply 140 respectively, the power supply 140 is used for
Each drive circuit 150 is powered, so that the driving power 140 can be according to each drive circuit under electric power thus supplied
Second pwm signal corresponding to 150 does not carry out light source 20 corresponding to the pwm signal that dutycycle negates and lighted.Because the 2nd PWM believes
Number high level end time point be the flat start time point of high point for not carrying out the pwm signal that dutycycle negates, Jin Eryou
Effect is avoided in the second pwm signal described in synchronization and when not carry out pwm signal that dutycycle negates be all high level, the electricity
Instantaneous power consumption source 140 is powered to each drive circuit 150 simultaneously caused by it is too high and cause power supply 140 easily it is destroyed or
And the problem of influenceing performance and the life-span of power supply 140.
By above-mentioned setting, effectively to avoid at least two light source 20 synchronization within each pwm signal cycle
Starting output duty cycle causes high and low level farthest to overlap so that light source 20 while the feelings for being lit or extinguishing simultaneously
Condition, with effectively avoid the stroboscopic of light source 20 so that influence 20 colour mixture quality of light source the problem of.And effectively avoid described at least two
When light source 20 is simultaneously luminous in each PWM cycle, power supply 140 at least two light source 20 in each PWM cycle it is same
When instantaneous power caused by power supply it is too high and then influence the performance of power supply 140 and the problem of the life-span.
Incorporated by reference to Fig. 3 and Fig. 4, with least two light source 20 for two, pwm signal corresponding to each light source 20
Dutycycle is all is 25% or 50%, and it is warm light light source not carry out light source 20 corresponding to the pwm signal that dutycycle negates, second
Light source 20 corresponding to pwm signal be cold light light source exemplified by illustrate.It is to rise in this cycle not carry out the pwm signal that dutycycle negates
Initial point starts to export effective high level from front to back, and PWM letter of second pwm signal after software algorithm and hardware handles
Number, it is to export effective high level forward from the end position in this cycle so that the output time of effective high level is changed
And dutycycle is identical, change effective high level in the case where the light tone parameter for ensureing each light source 20 is properly controlled to realize
Output time, and then make not carry out pwm signal that dutycycle negates and be a kind of complementary with second pwm signal but be not
The output relation of complete complementary.Dexterously avoid traditional pwm signal while the instantaneous power consumption of power supply 140 that brings of output be too high,
And then influence the performance of power supply 140 and the problem of the life-span, and effectively prevent at least two light source 20 at the same light or
Stroboscopic problem caused by extinguishing simultaneously makes the light on and off time slot of at least two light source 20 long.
The quantity of second pwm signal can be identical with the quantity for not carrying out the pwm signal that dutycycle negates
Can also be different.Further to avoid the power supply 140 from being powered to each drive circuit 150, electricity is caused
The problem of pressing instantaneous power consumption too high easily destroyed.Optionally, in the present embodiment, when the quantity of at least two light source 20 is
During even number, the light corresponding with not carrying out pwm signal that dutycycle negates of the quantity of light source 20 corresponding to second pwm signal
The quantity in source 20 is identical.When the quantity of at least two light source 20 is odd number, light source 20 corresponding to second pwm signal
Quantity with the difference of the quantity for not carrying out the corresponding light source 20 of pwm signal that dutycycle negates be 1.
Incorporated by reference to Fig. 5, the present invention provides a kind of light adjusting system 10, and the light adjusting system 10 is connected with least two light sources
20, the light adjusting system 10 includes power supply 140, controller 110, PWM signal generator 120 and reverser 130, the controller
110 are electrically connected with the PWM signal generator 120, reverser 130, and the power supply 140 is electric respectively with each light source 20
Connection.
The controller 110 is used for according to the light modulation of the target light tone parameter of at least two light source 20 generation at least two
Instruct and send to the PWM signal generator 120.The PWM signal generator 120 is used to be distinguished according to each dimming commands
Generate a pwm signal and send to the controller 110, so as to obtain distinguishing corresponding pwm signal with each light source 20.Institute
State controller 110 to be additionally operable to obtain the dutycycle of at least one pwm signal, generation dutycycle, which negates, to be instructed and send to institute
PWM signal generator 120 is stated, is negated so that the PWM signal generator 120 carries out dutycycle at least one pwm signal
Produce at least one first pwm signal and export to the reverser 130, wherein, the quantity of at least one first pwm signal
Less than the quantity of at least two light source 20.The reverser 130 is used for the height electricity at least one first pwm signal
It is flat to be negated to obtain at least one second pwm signal and exported to light source 20 corresponding with least one second pwm signal.
Light source 20 is lit/closed according to the high/low level of second pwm signal corresponding to second pwm signal.Duty is not carried out
It is lit/closes according to the high/low level of the pwm signal than light source 20 corresponding to the pwm signal that negates.
Optionally, in the present embodiment, the light adjusting system 10 also includes at least two drive circuits 150, the power supply
140 are connected to be powered to each drive circuit 150 respectively with each drive circuit 150, the power supply 140 respectively with each drive
Dynamic circuit 150 electrically connects.
The reverser 130 is additionally operable at least one second pwm signal exporting what is connected to corresponding light source 20
Drive circuit 150, so that the light source 20 is lighted/closed to the drive circuit 150 according to the high/low level of second pwm signal.
The PWM signal generator 120 is additionally operable to will not to carry out the pwm signal that dutycycle negates to send to corresponding drive circuit 150,
So that the light source 20 is lighted/closed to the high/low level that the drive circuit 150 does not carry out the pwm signal that dutycycle negates according to this.
By above-mentioned setting, effectively to avoid at least two light source 20 synchronization within each pwm signal cycle
Starting output duty cycle causes high and low level farthest to overlap so that light source 20 while the feelings lighted or extinguished simultaneously
Condition, so with effectively avoid the stroboscopic of light source 20 so that influence 20 colour mixture quality of light source the problem of.And described in effectively avoiding at least
When two light sources 20 are simultaneously luminous in each PWM cycle, power supply 140 is at least two light source 20 in each PWM cycle
Interior while instantaneous power caused by powering is too high and then influences the performance of power supply 140 and the problem of the life-span.
Optionally, in the present embodiment, the light modulation that the light adjusting system 10 also includes electrically connecting with the controller 110 connects
Mouth circuit 160, the dimming interface circuit 160 are used to receive the target light tone parameter of user's input and sent to the controller
110。
By above-mentioned setting further to lift the practicality of the light adjusting system 10, so that user can be according to actual need
Ask and dimmed.Wherein, the dimming interface circuit 160 can be associated with terminal device or remote control equipment, to facilitate user can
To be dimmed by the terminal device or remote control equipment.
Optionally, in the present embodiment, in the pwm signal generated respectively according to each dimming commands, each pwm signal
Frequency it is identical, and be 100Hz-30KHz.
Optionally, in the present embodiment, when the quantity of at least two light source 20 is even number, the 2nd PWM letters
The quantity of light source 20 corresponding to number is identical with the quantity of light source 20 corresponding to the pwm signal for not carrying out dutycycle and negating.When
When the quantity of at least two light source 20 is odd number, the quantity of light source 20 is not entered with described corresponding to second pwm signal
The difference of the quantity of light source 20 corresponding to the pwm signal that row dutycycle negates is 1.
The problem of by above-mentioned setting further avoid stroboscopic, and further avoid the 140 instantaneous work(of power supply
Consume the problem of too high.
To sum up, a kind of light-dimming method provided by the invention and system, methods described are applied to include at least two light sources 20
Light adjusting system 10, light adjusting system 10 includes power supply 140, and the power supply 140 is used to power to the light source 20.Light-dimming method bag
Include:The pwm signal according to corresponding to the target light tone of at least two light sources 20 obtains each light source 20, at least one pwm signal
Dutycycle is negated to obtain the first pwm signal, and carrying out low and high level to the first pwm signal negates to obtain the second pwm signal, and
Send to corresponding light source 20, will not carry out the pwm signal that dutycycle negates and send to corresponding light source 20, so that described second
The high level end time point of pwm signal is consistent with the high level start time point for not carrying out the pwm signal that dutycycle negates, enters
And be effectively improved at least two light sources 20 synchronization within each pwm signal cycle start it is high and low caused by output pwm signal
Level farthest overlaps, so that light on and off time slot at least two light source 20 is lighted or extinguished simultaneously simultaneously caused by
The problem of stroboscopic is caused when long, and then influences 20 colour mixture quality of light source.And at least two light source 20 is effectively avoided to exist
When in each PWM cycle while luminous, power supply 140 at least two light source 20, make simultaneously in each PWM cycle by power supply
Into instantaneous power it is too high and then influence the performance of power supply 140 and the problem of the life-span.
It should be noted that term " comprising " or any other variant are intended to including for nonexcludability, so that
Process, article or the equipment of a series of elements must be included not only include those key elements, but also including being not expressly set out
Other element, or also include for this process, article or the intrinsic key element of equipment.In situation about not limiting more
Under, the key element that is limited by sentence "including a ...", it is not excluded that in the process including the key element, article or equipment
Other identical element also be present.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (10)
1. a kind of light-dimming method, applied to the light adjusting system for being connected with least two light sources, light adjusting system includes being used for described
The power supply of at least two light source power supplies, it is characterised in that methods described includes:
At least two dimming commands are generated according to the target light tone parameter of at least two light source;
A pwm signal is generated respectively according to each dimming commands, so as to obtain distinguishing corresponding pwm signal with each light source;
The dutycycle of at least one pwm signal is obtained, negates to obtain at least one to the dutycycle of at least one pwm signal
Individual first pwm signal, wherein, the quantity of at least one first pwm signal is less than the quantity of at least two light source;
Low and high level is carried out to first pwm signal to negate to obtain the second pwm signal and send to corresponding light source, will not entered
The pwm signal that row dutycycle negates is sent to corresponding light source;
The light source according to corresponding to second pwm signal is lighted/closed to the high/low level of second pwm signal, and according to not entering
Light source corresponding to the pwm signal is lighted/closed to the high/low level for the pwm signal that row dutycycle negates.
2. light-dimming method according to claim 1, it is characterised in that the target light tone parameter includes color parameter and bright
The step of spending parameter, at least two dimming commands are generated according to the target light tone parameter of at least two light source includes:
At least two dimming commands are obtained according to the color parameter, luminance parameter, the luminous flux of at least two light sources and colour temperature,
So as to obtain dimming commands corresponding to each light source difference.
3. light-dimming method according to claim 1, it is characterised in that performing the target according at least two light source
Before light tone parameter generates the step of at least two dimming commands, methods described also includes:
Receive the target light tone parameter of at least two light source of user's input.
4. light-dimming method according to claim 1, it is characterised in that the PWM generated respectively according to each dimming commands believes
In number, the frequency of each pwm signal is identical, and is 100Hz-30KHz.
5. light-dimming method according to claim 1, it is characterised in that when the quantity of at least two light source is even number
When, the quantity of light source corresponding to second pwm signal and pwm signal that dutycycle the negates corresponding light source of not carrying out
Quantity is identical;
When the quantity of at least two light source is odd number, the quantity of light source corresponding to second pwm signal with it is described not
The difference for carrying out the quantity of light source corresponding to the pwm signal that dutycycle negates is 1.
6. a kind of light adjusting system, it is characterised in that the light adjusting system is connected with least two light sources, and the light adjusting system includes
Power supply, controller, PWM signal generator and reverser, the controller are electric respectively with the PWM signal generator, reverser
Connection, the power supply are electrically connected with each light source;
The controller is used for concurrent according to the target light tone parameter of at least two light source at least two dimming commands of generation
Deliver to the PWM signal generator;
The PWM signal generator is used to generate a pwm signal respectively according to each dimming commands and sent to the controller,
So as to obtain distinguishing corresponding pwm signal with each light source;
The controller is additionally operable to obtain the dutycycle of at least one pwm signal, and generation dutycycle, which negates, to be instructed and send
To the PWM signal generator, so that the PWM signal generator carries out dutycycle at least one pwm signal negates production
Raw at least one first pwm signal is simultaneously exported to the reverser, wherein, the quantity of at least one first pwm signal is less than
The quantity of at least two light source;
The reverser is used to the low and high level of at least one first pwm signal is negated to obtain at least one second
Pwm signal is simultaneously exported to light source corresponding with least one second pwm signal;
Light source is lit/closed according to the high/low level of second pwm signal corresponding to second pwm signal;
Light source corresponding to the pwm signal that dutycycle negates is not carried out to be lit/close according to the high/low level of the pwm signal.
7. light adjusting system according to claim 6, it is characterised in that the light adjusting system also includes at least two driving electricity
Road, the power supply and each drive circuit are connected with to each drive circuitry respectively, the power supply respectively with each drive
Dynamic circuit electrical connection;
The reverser is additionally operable to export at least one second pwm signal to the drive circuit of corresponding light source connection,
So that the light source is lighted/closed to the drive circuit according to the high/low level of second pwm signal;
The PWM signal generator is additionally operable to will not to carry out the pwm signal that dutycycle negates to send to corresponding drive circuit, with
The drive circuit is not carried out the high/low level for the pwm signal that dutycycle negates according to this and light/close the light source.
8. light adjusting system according to claim 6, it is characterised in that the light adjusting system also includes and controller electricity
The dimming interface circuit of connection, the dimming interface circuit are used to receive the target light tone parameter of user's input and sent to described
Controller.
9. light adjusting system according to claim 6, it is characterised in that the PWM generated respectively according to each dimming commands believes
In number, the frequency of each pwm signal is identical, and is 100Hz-30KHz.
10. light adjusting system according to claim 6, it is characterised in that when the quantity of at least two light source is even number
When, the quantity of light source corresponding to second pwm signal and pwm signal that dutycycle the negates corresponding light source of not carrying out
Quantity is identical;
When the quantity of at least two light source is odd number, the quantity of light source corresponding to second pwm signal with it is described not
The difference for carrying out the quantity of light source corresponding to the pwm signal that dutycycle negates is 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711021948.5A CN107682969B (en) | 2017-10-27 | 2017-10-27 | Dimming method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711021948.5A CN107682969B (en) | 2017-10-27 | 2017-10-27 | Dimming method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107682969A true CN107682969A (en) | 2018-02-09 |
CN107682969B CN107682969B (en) | 2020-01-10 |
Family
ID=61143330
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711021948.5A Active CN107682969B (en) | 2017-10-27 | 2017-10-27 | Dimming method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107682969B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112153778A (en) * | 2020-10-23 | 2020-12-29 | 上海顺舟智能科技股份有限公司 | LED lamp adjusting device for Internet of things control and LED lamp |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202269053U (en) * | 2011-09-01 | 2012-06-06 | 瑞谷科技(深圳)有限公司 | Pulse-width modulation (PWM) dimming circuit |
CN102917494A (en) * | 2012-09-29 | 2013-02-06 | 彩虹集团公司 | Two-dimensional color temperature regulating device of LED lamps |
CN203327345U (en) * | 2013-08-01 | 2013-12-04 | 广州硅能照明有限公司 | COB (Chip on Board) light source device with automatic color temperature adjustment |
CN105407614A (en) * | 2015-12-23 | 2016-03-16 | 深圳市中孚光电科技有限公司 | Dimming control circuit provided with fan and having turn-off function |
CN106304525A (en) * | 2015-06-01 | 2017-01-04 | 海洋王(东莞)照明科技有限公司 | The LED drive circuit of adjustable color temperature |
-
2017
- 2017-10-27 CN CN201711021948.5A patent/CN107682969B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202269053U (en) * | 2011-09-01 | 2012-06-06 | 瑞谷科技(深圳)有限公司 | Pulse-width modulation (PWM) dimming circuit |
CN102917494A (en) * | 2012-09-29 | 2013-02-06 | 彩虹集团公司 | Two-dimensional color temperature regulating device of LED lamps |
CN203327345U (en) * | 2013-08-01 | 2013-12-04 | 广州硅能照明有限公司 | COB (Chip on Board) light source device with automatic color temperature adjustment |
CN106304525A (en) * | 2015-06-01 | 2017-01-04 | 海洋王(东莞)照明科技有限公司 | The LED drive circuit of adjustable color temperature |
CN105407614A (en) * | 2015-12-23 | 2016-03-16 | 深圳市中孚光电科技有限公司 | Dimming control circuit provided with fan and having turn-off function |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112153778A (en) * | 2020-10-23 | 2020-12-29 | 上海顺舟智能科技股份有限公司 | LED lamp adjusting device for Internet of things control and LED lamp |
CN112153778B (en) * | 2020-10-23 | 2023-03-10 | 上海顺舟智能科技股份有限公司 | LED lamp adjusting device for Internet of things control and LED lamp |
Also Published As
Publication number | Publication date |
---|---|
CN107682969B (en) | 2020-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107172745B (en) | Colour temperature Automatic adjustment method, device and lamp mirror | |
AU2011310149B2 (en) | LED illumination apparatus and LED illumination system | |
CN106101591B (en) | The method of adjustment of LCD TV and its backlight driving voltage, device | |
CN102612194B (en) | Dimming circuit, control method, micro controller and phase angle detection method for micro controller | |
TW200416643A (en) | Circuit arrangement | |
EP2651187B1 (en) | Color temperature and illumination adjusting system, and method thereof | |
CN104066237B (en) | A kind of LED driving method | |
CN101498435A (en) | Luminous diode lighting device and method for reducing heating power thereof | |
CN107094335A (en) | The colour temperature brightness adjusting method and device of a kind of LED light comfort level | |
CN106604454A (en) | Driving circuit and driving method of using switch to set LED luminance | |
CN201081119Y (en) | Video apparatus status indicating lamp | |
CN107682969A (en) | A kind of light-dimming method and system | |
CN103634986B (en) | Multichannel light modulating device and light-dimming method thereof | |
CN202992741U (en) | Light-emitting diode (LED) lamp capable of adjusting light and color synchronously | |
CN203761617U (en) | Multipath light modulation apparatus | |
CN206948665U (en) | A kind of bridge-type light modulation toning drive circuit | |
CN202841594U (en) | Dimmable lamp digital display controller | |
CN113597043B (en) | Initial lighting grade method and system for fixed lamp, storage medium and lamp system | |
CN205179455U (en) | Linear illumination lamps and lanterns | |
CN203893114U (en) | LED light source module adjustable in color and light | |
CN103903594B (en) | The control method and device of remote control, household electrical appliance and its display | |
CN101929636A (en) | Light source module and method for driving same | |
CN105554962A (en) | LED (Light Emitting Diode) lamp with Bluetooth and control method thereof | |
CN101188099A (en) | LCD display impulse width modulation and light adjusting mode | |
CN108012368A (en) | A kind of PWM light-dimming methods of LED |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |