CN107682969B - Dimming method and system - Google Patents

Dimming method and system Download PDF

Info

Publication number
CN107682969B
CN107682969B CN201711021948.5A CN201711021948A CN107682969B CN 107682969 B CN107682969 B CN 107682969B CN 201711021948 A CN201711021948 A CN 201711021948A CN 107682969 B CN107682969 B CN 107682969B
Authority
CN
China
Prior art keywords
pwm signal
light sources
dimming
duty ratio
pwm
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
Application number
CN201711021948.5A
Other languages
Chinese (zh)
Other versions
CN107682969A (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.)
SHENZHEN GALAXYWIND NETWORK SYSTEMS Co Ltd
Original Assignee
SHENZHEN GALAXYWIND NETWORK SYSTEMS Co Ltd
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 SHENZHEN GALAXYWIND NETWORK SYSTEMS Co Ltd filed Critical SHENZHEN GALAXYWIND NETWORK SYSTEMS Co Ltd
Priority to CN201711021948.5A priority Critical patent/CN107682969B/en
Publication of CN107682969A publication Critical patent/CN107682969A/en
Application granted granted Critical
Publication of CN107682969B publication Critical patent/CN107682969B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/37Converter circuits
    • 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/10Controlling the intensity of the light
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/30Semiconductor 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 invention relates to the technical field of electronic equipment, in particular to a dimming method and a dimming system, which are applied to a dimming system connected with at least two light sources, wherein the dimming system comprises a power supply for supplying power to the at least two light sources. The dimming method comprises the following steps: obtaining PWM signals corresponding to the light sources according to target brightness parameters of the at least two light sources, inverting the duty ratio of at least one PWM signal to obtain a first PWM signal, inverting the high and low levels of the first PWM signal to obtain a second PWM signal, sending the second PWM signal to the corresponding light source, and sending the PWM signals without duty ratio inversion to the corresponding light source. Through the arrangement, the high level ending time point of the second PWM signal is consistent with the high level starting time point of the PWM signal without duty ratio inversion, so that the condition of stroboflash caused by simultaneous light emitting or extinguishing of at least two light sources is effectively improved, and when the at least two light sources emit light simultaneously, the power supply supplies power to the light sources simultaneously, so that the problem that the performance and the service life of the power supply are influenced by overhigh instantaneous power exists.

Description

Dimming method and system
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a dimming method and system.
Background
Along with the development and popularization of the Internet of things and smart homes, the light source dimming requirements are more and more, and the dimming quality requirements are higher and higher. The LED has the advantage of easy dimming and color adjustment as a light source, so that more and more LED light sources replace the traditional light source. At present, the most common LED dimming mode is PWM dimming, a lamp generally includes two sets of LED light sources with different color temperatures, and two PWM signals are used to respectively adjust and mix the brightness of the two LED light sources, thereby realizing color temperature and brightness adjustment.
The inventor finds that when the duty ratios of the two paths of PWM signals are not zero, the two paths of PWM signals start to work at the same moment, the two paths of loads work at the same time due to the fact that the effective control level is output at the same time, and the two paths of loads may coincide at a low level. Therefore, when two paths of light sources output effective levels simultaneously, the power consumption of the power supply reaches the highest level easily due to the fact that the load works simultaneously, the service life of the product is shortened due to overheating of the power supply, in addition, the cold and warm LEDs are simultaneously turned on in one period, the cold and warm LEDs are turned off simultaneously, jumping of the light source is obvious, and stroboflash of the light source can be increased, so that the quality of the light source is influenced.
Disclosure of Invention
In view of the above, an objective of the present invention is to provide a dimming method and system, which effectively solve the problem that when at least two light sources emit light or are extinguished simultaneously, a strobe is generated, and when at least two light sources emit light simultaneously, a power source supplies power to each light source simultaneously, which causes an excessive instantaneous power, which affects performance and lifetime of the power source.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
the invention provides a dimming method which is applied to a dimming system connected with at least two light sources, wherein the dimming system comprises a power supply for supplying power to the at least two light sources. The method comprises the following steps:
generating at least two dimming instructions according to the target bright color parameters of the at least two light sources;
generating a PWM signal according to each dimming instruction, so as to obtain PWM signals respectively corresponding to the light sources;
obtaining the duty ratio of at least one PWM signal, and obtaining at least one first PWM signal by inverting the duty ratio of the at least one PWM signal, wherein the number of the at least one first PWM signal is less than the number of the at least two light sources;
inverting high and low levels of the first PWM signal to obtain a second PWM signal and sending the second PWM signal to a corresponding light source, and sending PWM signals without duty ratio inversion to the corresponding light source;
and turning on/off the light source corresponding to the second PWM signal according to the high/low level of the second PWM signal, and turning on/off the light source corresponding to the PWM signal according to the high/low level of the PWM signal without duty ratio inversion.
Optionally, in a preferred embodiment of the present invention, in the dimming method, the target bright color parameter includes a color parameter and a brightness parameter, and the step of generating at least two dimming commands according to the target bright color parameters of the at least two light sources includes:
and obtaining at least two dimming instructions according to the color parameter, the brightness parameter, the luminous flux and the color temperature of at least two light sources, thereby obtaining the dimming instruction corresponding to each light source.
Optionally, in a preferred embodiment of the present invention, in the dimming method, before the step of generating at least two dimming instructions according to the target brightness parameters of the at least two light sources is performed, the method further includes:
and receiving target bright color parameters of the at least two light sources input by a user.
Optionally, in a preferred embodiment of the present invention, in the dimming method, in the PWM signals respectively generated according to each dimming command, the frequency of each PWM signal is the same and is 100Hz-30 KHz.
Optionally, in a preferred embodiment of the present invention, in the dimming method, when the number of the at least two light sources is an even number, the number of the light sources corresponding to the second PWM signal is the same as the number of the light sources corresponding to the PWM signal without duty ratio inversion;
when the number of the at least two light sources is an odd number, the difference between the number of the light sources corresponding to the second PWM signal and the number of the light sources corresponding to the PWM signal whose duty ratio is not inverted is 1.
The invention also provides a dimming system, wherein the dimming system is connected with at least two light sources and comprises a power supply, a controller, a PWM signal generator and an inverter, the controller is respectively and electrically connected with the PWM signal generator and the inverter, and the power supply is respectively and electrically connected with each light source;
the controller is used for generating at least two dimming instructions according to the target bright color parameters of the at least two light sources and sending the dimming instructions to the PWM signal generator;
the PWM signal generator is used for respectively generating a PWM signal according to each dimming instruction and sending the PWM signal to the controller so as to obtain PWM signals respectively corresponding to the light sources;
the controller is further configured to obtain a duty ratio of at least one PWM signal, generate a duty ratio inversion instruction, and send the duty ratio inversion instruction to the PWM signal generator, so that the PWM signal generator inverts the duty ratio of the at least one PWM signal to generate at least one first PWM signal and outputs the at least one first PWM signal to the inverter, where the number of the at least one first PWM signal is less than the number of the at least two light sources;
the inverter is used for inverting the high and low levels of the at least one first PWM signal to obtain at least one second PWM signal and outputting the at least one second PWM signal to a light source corresponding to the at least one second PWM signal;
the light source corresponding to the second PWM signal is turned on/off according to the high/low level of the second PWM signal;
the light source corresponding to the PWM signal whose duty ratio is not inverted is turned on/off according to the high/low level of the PWM signal.
Optionally, in a preferred embodiment of the present invention, in the dimming system, the dimming system further includes at least two driving circuits, the power supply is connected to each of the driving circuits to supply power to each of the driving circuits, and the power supply is electrically connected to each of the driving circuits;
the inverter is also used for outputting the at least one second PWM signal to a driving circuit connected with the corresponding light source so that the driving circuit can light/close the light source according to the high/low level of the second PWM signal;
the PWM signal generator is also used for sending the PWM signal without duty ratio inversion to the corresponding driving circuit, so that the driving circuit can light/close the light source according to the high/low level of the PWM signal without duty ratio inversion.
Optionally, in a preferred embodiment of the present invention, in the above lighting system, the lighting system further includes a dimming interface circuit electrically connected to the controller, and the dimming interface circuit is configured to receive a target brightness parameter input by a user and send the target brightness parameter to the controller.
Optionally, in a preferred embodiment of the present invention, in the dimming system, in the PWM signals respectively generated according to each dimming command, the frequency of each PWM signal is the same and is 100Hz to 30 KHz.
Optionally, in a preferred embodiment of the present invention, in the light modulation system, when the number of the at least two light sources is an even number, the number of the light sources corresponding to the second PWM signal is the same as the number of the light sources corresponding to the PWM signal without duty ratio inversion;
when the number of the at least two light sources is an odd number, the difference between the number of the light sources corresponding to the second PWM signal and the number of the light sources corresponding to the PWM signal whose duty ratio is not inverted is 1.
The invention provides a dimming method and a dimming system, wherein the dimming method is applied to the dimming system, and the dimming system comprises a power supply for supplying power to at least two light sources. The dimming method comprises the following steps: obtaining PWM signals corresponding to the light sources according to target brightness parameters of the at least two light sources, inverting the duty ratio of at least one PWM signal to obtain a first PWM signal, inverting the high and low levels of the first PWM signal to obtain a second PWM signal, sending the second PWM signal to the corresponding light source, and sending the PWM signals without duty ratio inversion to the corresponding light source. Through the arrangement, the high level ending time point of the second PWM signal is consistent with the high level starting time point of the PWM signal without duty ratio inversion, so that the condition of stroboflash caused by simultaneous light emitting or extinguishing of at least two light sources is effectively improved, and when the at least two light sources emit light simultaneously, the power supply supplies power to the light sources simultaneously, so that the problem that the performance and the service life of the power supply are influenced by overhigh instantaneous power exists.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments are briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention, and for those skilled in the art, other related drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a block diagram of a dimming system according to an embodiment of the present invention.
Fig. 2 is a schematic flowchart of a dimming method according to an embodiment of the present invention.
Fig. 3 is a waveform diagram after dimming according to an embodiment of the present invention.
Fig. 4 is another waveform diagram after dimming according to an embodiment of the present invention.
Fig. 5 is another block diagram of a dimming system according to an embodiment of the present invention.
Icon: 10-a dimming system; 20-a light source; 110-a controller; 120-a PWM signal generator; 130-an inverter; 140-a power supply; 150-a drive circuit; 160-dimming interface circuit.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, it should also be noted that, unless otherwise explicitly specified or limited, the terms "disposed" and "connected" are to be interpreted broadly, e.g., as being either fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Referring to fig. 1 and fig. 2, the present invention provides a dimming method for dimming at least two light sources 20, so as to effectively improve the stroboscopic condition of the at least two light sources 20 during light emission, and further effectively improve the color mixing effect of the at least two light sources 20.
The dimming method is used for performing five steps S110 to S150 when dimming the at least two light sources 20. The dimming method may be applied to a dimming system 10 connected to the at least two light sources 20, the dimming system 10 may include a controller 110, a PWM signal generator 120, an inverter 130, a power supply 140, and at least two driving circuits 150 connected, each driving circuit 150 corresponds to one light source 20, and the power supply 140 supplies power to the at least two driving circuits 150 to drive the corresponding light source 20 to be lighted.
Step S110: at least two dimming commands are generated according to the target bright color parameters of the at least two light sources 20.
The light source 20 may be, but is not limited to, an LED lamp or an incandescent lamp, and alternatively, in the present embodiment, the light source 20 is an LED lamp. The colors of the light sources 20 may be the same or different, and are not limited in particular. The target bright color parameters may include, but are not limited to, color parameters, brightness parameters, and/or color temperature parameters. The light source 20 has parameters such as luminous flux, light color temperature and/or light color.
The target brightness parameter may be preset, or may be set according to a requirement of a user, and is not specifically limited herein. Optionally, in this embodiment, before performing step S110, the method further includes: a user input of target bright color parameters of the at least two light sources 20 is received.
Optionally, in this embodiment, the target bright color parameters include a color parameter and a brightness parameter, and the step of generating at least two dimming instructions according to the target bright color parameters of the at least two light sources 20 includes: and obtaining at least two dimming instructions according to the color parameter, the brightness parameter, and the luminous flux and the color temperature of the at least two light sources 20, so as to obtain the dimming instruction corresponding to each light source 20.
Optionally, in this embodiment, the step S110 may be executed by the controller 110, and the controller 110 generates at least two dimming commands according to the target brightness parameters of the at least two light sources 20 and sends the at least two dimming commands to the PWM generator. Parameters such as luminous flux, light color temperature, and light color of each of the light sources 20 may be stored in the controller 110.
The controller 110 may be an integrated circuit chip having signal processing capabilities. The controller 110 may be a general-purpose processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed.
Step S120: a PWM signal is generated according to each dimming command, so as to obtain PWM signals corresponding to the light sources 20.
Wherein the PWM signal is composed of high and low levels with periodicity. Since the human eye is usually unable to see strobes when seeing images at frequencies of 50Hz and above. Therefore, in order to further improve the problem of the stroboscopic light of the light source 20, in the embodiment, the frequency of each PWM signal is the same and is 100Hz-30 KHz. Note that the higher the PWM signal frequency is, the less the problem of stroboscopic operation will occur.
Optionally, in this embodiment, the step S120 may be executed by the PWM signal generator 120, specifically, the PWM signal generator 120 generates a PWM signal according to each dimming command and sends the PWM signal to the controller 110, so as to obtain the PWM signals corresponding to the light sources 20, respectively.
Step S130: obtaining a duty cycle of at least one of the PWM signals, and inverting the duty cycle of the at least one PWM signal to obtain at least one first PWM signal, wherein the number of the at least one first PWM signal is less than the number of the at least two light sources 20.
In this embodiment, the duty ratio of the PWM signal is a ratio of a duration of the high level to a duration of the period in one period. After the duty ratio of the PWM signal is inverted to obtain a first PWM signal, the ratio of the low level duration time to the period time of the first PWM signal in a period is equal to the duty ratio.
The light source 20 corresponding to the at least one first PWM signal may be any light source 20, or may be selected according to actual requirements, for example, a cold light source or a warm light source is not specifically limited herein.
Optionally, in this embodiment, the step S130 may be executed by the controller 110, and the controller 110 obtains a duty ratio of at least one PWM signal, generates a duty ratio inversion instruction, and sends the duty ratio inversion instruction to the PWM signal generator 120, so that the PWM signal generator 120 performs duty ratio inversion on the at least one PWM signal to generate at least one first PWM signal, and outputs the at least one first PWM signal to the inverter 130.
Step S140: and inverting the high and low levels of the at least one first PWM signal to obtain at least one second PWM signal.
And the second PWM signal obtained by inverting the high and low levels of the first PWM signal is complementary with the first PWM signal.
Optionally, in this embodiment, the step S140 may be executed by the inverter 130, and the inverter 130 inverts the high and low levels of the at least one first PWM signal to obtain at least one second PWM signal and outputs the at least one second PWM signal to the light source 20 corresponding to the at least one second PWM signal.
Step S150: and turning on/off the light source 20 corresponding to the second PWM signal according to the high/low level of the second PWM signal, and turning on/off the light source 20 corresponding to the PWM signal according to the high/low level of the PWM signal whose duty ratio is not inverted.
Optionally, in this embodiment, after the inverter 130 outputs the at least one second PWM signal to the driving circuit 150 connected to the corresponding light source 20, the step S150 may be executed by the driving circuit 150, so that the driving circuit 150 turns on/off the light source 20 according to the high/low level of the second PWM signal.
When the second PWM signal and the PWM signal without duty ratio inversion are output to the corresponding light source 20, an end point of the high level duration of the second PWM signal is a start point of the high level time of the PWM signal without duty ratio inversion. So that the light source 20 corresponding to the second PWM signal at the high-level end time is turned off, and the PWM signal without duty ratio inversion is at the high-level start time and the corresponding light source 20 is turned on.
The driving circuits 150 are electrically connected to the power supply 140, and the power supply 140 is configured to supply power to the driving circuits 150 so that the driving circuits 140 can light the light sources 20 corresponding to the second PWM signals or PWM signals with non-inverted duty ratios corresponding to the driving circuits 150 when the power is supplied. Since the high level ending time point of the second PWM signal is the high point leveling starting time point of the PWM signal without duty ratio inversion, the problem that the power supply 140 is easily damaged or the performance and the service life of the power supply 140 are affected due to the excessively high instantaneous power consumption caused by the power supply 140 supplying power to each of the driving circuits 150 at the same time when the second PWM signal and the PWM signal without duty ratio inversion are both at the high level at the same time is effectively avoided.
Through the arrangement, the situation that the high level and the low level are overlapped to the maximum extent due to the fact that the duty ratios of the at least two light sources 20 are started to output at the same moment in each PWM signal period is effectively avoided, so that the light sources 20 are simultaneously lightened or simultaneously extinguished is effectively avoided, and the problem that the color mixing quality of the light sources 20 is influenced due to stroboflash of the light sources 20 is effectively avoided. And effectively avoiding the problem that the instantaneous power of the power supply 140 is too high and further affects the performance and the service life of the power supply 140 caused by the simultaneous power supply of the power supply 140 in each PWM period when the at least two light sources 20 emit light simultaneously in each PWM period.
Referring to fig. 3 and 4, two light sources 20 are provided, the duty ratio of the PWM signal corresponding to each light source 20 is 25% or 50%, and the light source 20 corresponding to the PWM signal without duty ratio inversion is a warm light source, and the light source 20 corresponding to the second PWM signal is a cold light source. The PWM signal without duty ratio inversion is the PWM signal after the start point of the period starts to output the effective high level from the beginning to the end, and the second PWM signal after the processing by software algorithm and hardware outputs the effective high level from the end position of the period to the end, so that the output time of the effective high level is changed and the duty ratio is the same, thereby changing the output time of the effective high level under the condition of ensuring that the brightness and color parameters of each light source 20 are correctly controlled, and further making the PWM signal without duty ratio inversion and the second PWM signal be a complementary output relation but not a complete complementary output relation. The problem that the performance and the service life of the power supply 140 are affected due to overhigh instantaneous power consumption of the power supply 140 caused by the simultaneous output of the traditional PWM signals is ingeniously avoided, and the problem of stroboflash caused by overlong on-off time slots of the at least two light sources 20 due to the fact that the at least two light sources 20 are simultaneously turned on or simultaneously turned off is effectively avoided.
The number of the second PWM signals may be the same as or different from the number of the PWM signals whose duty ratios are not inverted. In order to further avoid the problem that the power supply 140 supplies power to each of the driving circuits 150, which causes excessive voltage instantaneous power consumption and is easily damaged. Optionally, in this embodiment, when the number of the at least two light sources 20 is an even number, the number of the light sources 20 corresponding to the second PWM signal is the same as the number of the light sources 20 corresponding to the PWM signal whose duty ratio is not inverted. When the number of the at least two light sources 20 is an odd number, the difference between the number of the light sources 20 corresponding to the second PWM signal and the number of the light sources 20 corresponding to the PWM signal without duty ratio inversion is 1.
Referring to fig. 5, the present invention provides a light modulation system 10, wherein the light modulation system 10 is connected to at least two light sources 20, the light modulation system 10 includes a power source 140, a controller 110, a PWM signal generator 120 and an inverter 130, the controller 110 is electrically connected to the PWM signal generator 120 and the inverter 130, and the power source 140 is electrically connected to each of the light sources 20.
The controller 110 is configured to generate at least two dimming commands according to the target brightness parameters of the at least two light sources 20 and send the dimming commands to the PWM signal generator 120. The PWM signal generator 120 is configured to generate a PWM signal according to each dimming command and send the PWM signal to the controller 110, so as to obtain the PWM signals corresponding to the light sources 20. The controller 110 is further configured to obtain a duty ratio of at least one of the PWM signals, generate a duty ratio inversion command, and send the duty ratio inversion command to the PWM signal generator 120, so that the PWM signal generator 120 performs duty ratio inversion on the at least one PWM signal to generate at least one first PWM signal and output the at least one first PWM signal to the inverter 130, where the number of the at least one first PWM signal is less than the number of the at least two light sources 20. The inverter 130 is configured to invert the high and low levels of the at least one first PWM signal to obtain at least one second PWM signal, and output the at least one second PWM signal to the light source 20 corresponding to the at least one second PWM signal. The light source 20 corresponding to the second PWM signal is turned on/off according to the high/low level of the second PWM signal. The light source 20 corresponding to the PWM signal whose duty ratio is not inverted is turned on/off according to the high/low level of the PWM signal.
Optionally, in this embodiment, the dimming system 10 further includes at least two driving circuits 150, the power source 140 is connected to each of the driving circuits 150 respectively to supply power to each of the driving circuits 150, and the power source 140 is electrically connected to each of the driving circuits 150 respectively.
The inverter 130 is further configured to output the at least one second PWM signal to a driving circuit 150 connected to the corresponding light source 20, so that the driving circuit 150 turns on/off the light source 20 according to the high/low level of the second PWM signal. The PWM signal generator 120 is further configured to send a PWM signal without duty ratio inversion to the corresponding driving circuit 150, so that the driving circuit 150 turns on/off the light source 20 according to the high/low level of the PWM signal without duty ratio inversion.
Through the setting, the situation that the high level and the low level are superposed to the maximum extent due to the fact that the duty ratios of the at least two light sources 20 start to be output at the same moment in each PWM signal period is effectively avoided, so that the light sources 20 are simultaneously turned on or simultaneously turned off, and the problem that the color mixing quality of the light sources 20 is influenced due to stroboflash of the light sources 20 is effectively avoided. And effectively avoiding the problem that the instantaneous power of the power supply 140 is too high and further affects the performance and the service life of the power supply 140 caused by the simultaneous power supply of the power supply 140 in each PWM period when the at least two light sources 20 emit light simultaneously in each PWM period.
Optionally, in this embodiment, the dimming system 10 further includes a dimming interface circuit 160 electrically connected to the controller 110, where the dimming interface circuit 160 is configured to receive a target brightness parameter input by a user and send the target brightness parameter to the controller 110.
The practicability of the dimming system 10 is further improved by the above arrangement, so that the user can dim light according to actual needs. The dimming interface circuit 160 may be associated with a terminal device or a remote control device, so that a user can dim light through the terminal device or the remote control device.
Optionally, in this embodiment, in the PWM signals respectively generated according to each dimming command, the frequencies of the PWM signals are the same and are 100Hz to 30 KHz.
Optionally, in this embodiment, when the number of the at least two light sources 20 is an even number, the number of the light sources 20 corresponding to the second PWM signal is the same as the number of the light sources 20 corresponding to the PWM signal without duty ratio inversion. When the number of the at least two light sources 20 is an odd number, the difference between the number of the light sources 20 corresponding to the second PWM signal and the number of the light sources 20 corresponding to the PWM signal without duty ratio inversion is 1.
The problem of stroboflash is further avoided through the arrangement, and the problem that the instantaneous power consumption of the power supply 140 is too high is further avoided.
In summary, the present invention provides a dimming method and system, the method is applied to a dimming system 10 including at least two light sources 20, the dimming system 10 includes a power source 140, and the power source 140 is used for supplying power to the light sources 20. The dimming method comprises the following steps: obtaining a PWM signal corresponding to each light source 20 according to a target bright color of at least two light sources 20, inverting a duty ratio of at least one PWM signal to obtain a first PWM signal, inverting a high-low level of the first PWM signal to obtain a second PWM signal, and sending the second PWM signal to the corresponding light source 20, sending the PWM signal without duty ratio inversion to the corresponding light source 20, so that a high-level end time point of the second PWM signal is consistent with a high-level start time point of the PWM signal without duty ratio inversion, thereby effectively improving maximum coincidence of high and low levels caused by the fact that the at least two light sources 20 start outputting the PWM signals at the same time in each PWM signal period, and further improving the quality of the light sources 20 due to stroboflash caused by over-long bright time slots due to simultaneous on or simultaneous off of the at least two light sources 20. And effectively avoiding the problem that the instantaneous power of the power supply 140 is too high and further affects the performance and the service life of the power supply 140 caused by the simultaneous power supply of the power supply 140 in each PWM period when the at least two light sources 20 emit light simultaneously in each PWM period.
It is to be noted that the term "comprises," "comprising," or any other variation thereof is intended to cover a non-exclusive inclusion, such that a process, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, article, or apparatus that comprises the element.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A dimming method applied to a dimming system connected with at least two light sources, the dimming system comprising a power supply for supplying power to the at least two light sources, the method comprising:
generating at least two dimming instructions according to the target bright color parameters of the at least two light sources;
generating a PWM signal according to each dimming instruction to obtain PWM signals corresponding to the light sources respectively, wherein the frequencies of the PWM signals are the same and are 100Hz-30KHz in the PWM signals generated according to each dimming instruction respectively;
obtaining the duty ratio of at least one PWM signal, and obtaining at least one first PWM signal by inverting the duty ratio of the at least one PWM signal, wherein the number of the at least one first PWM signal is less than the number of the at least two light sources;
inverting high and low levels of the first PWM signal to obtain a second PWM signal and sending the second PWM signal to a corresponding light source, and sending PWM signals without duty ratio inversion to the corresponding light source;
and turning on/off the light source corresponding to the second PWM signal according to the high/low level of the second PWM signal, and turning on/off the light source corresponding to the PWM signal according to the high/low level of the PWM signal without duty ratio inversion.
2. The dimming method of claim 1, wherein the target bright color parameters comprise a color parameter and a brightness parameter, and the step of generating at least two dimming commands according to the target bright color parameters of the at least two light sources comprises:
and obtaining at least two dimming instructions according to the color parameter, the brightness parameter, the luminous flux and the color temperature of at least two light sources, thereby obtaining the dimming instruction corresponding to each light source.
3. The dimming method of claim 1, wherein prior to performing the step of generating at least two dimming instructions according to the target bright-color parameters of the at least two light sources, the method further comprises:
and receiving target bright color parameters of the at least two light sources input by a user.
4. The dimming method according to claim 1, wherein when the number of the at least two light sources is an even number, the number of the light sources corresponding to the second PWM signal is the same as the number of the light sources corresponding to the PWM signal whose duty ratio is not inverted;
when the number of the at least two light sources is an odd number, the difference between the number of the light sources corresponding to the second PWM signal and the number of the light sources corresponding to the PWM signal whose duty ratio is not inverted is 1.
5. A dimming system is characterized in that the dimming system is connected with at least two light sources and comprises a power supply, a controller, a PWM signal generator and an inverter, wherein the controller is respectively and electrically connected with the PWM signal generator and the inverter, and the power supply is respectively and electrically connected with each light source;
the controller is used for generating at least two dimming instructions according to the target bright color parameters of the at least two light sources and sending the dimming instructions to the PWM signal generator;
the PWM signal generator is used for respectively generating a PWM signal according to each dimming instruction and sending the PWM signal to the controller so as to obtain PWM signals respectively corresponding to the light sources, wherein in the PWM signals respectively generated according to each dimming instruction, the frequencies of the PWM signals are the same and are 100Hz-30 KHz;
the controller is further configured to obtain a duty ratio of at least one PWM signal, generate a duty ratio inversion instruction, and send the duty ratio inversion instruction to the PWM signal generator, so that the PWM signal generator inverts the duty ratio of the at least one PWM signal to generate at least one first PWM signal and outputs the at least one first PWM signal to the inverter, where the number of the at least one first PWM signal is less than the number of the at least two light sources;
the inverter is used for inverting the high and low levels of the at least one first PWM signal to obtain at least one second PWM signal and outputting the at least one second PWM signal to a light source corresponding to the at least one second PWM signal;
the light source corresponding to the second PWM signal is turned on/off according to the high/low level of the second PWM signal;
the light source corresponding to the PWM signal whose duty ratio is not inverted is turned on/off according to the high/low level of the PWM signal.
6. The light modulation system according to claim 5, further comprising at least two driving circuits, wherein the power source is connected to each of the driving circuits to supply power to each of the driving circuits, and the power source is electrically connected to each of the driving circuits;
the inverter is also used for outputting the at least one second PWM signal to a driving circuit connected with the corresponding light source so that the driving circuit can light/close the light source according to the high/low level of the second PWM signal;
the PWM signal generator is also used for sending the PWM signal without duty ratio inversion to the corresponding driving circuit, so that the driving circuit can light/close the light source according to the high/low level of the PWM signal without duty ratio inversion.
7. The dimming system of claim 5, further comprising a dimming interface circuit electrically connected to the controller, the dimming interface circuit configured to receive a target color parameter input by a user and send the target color parameter to the controller.
8. The dimming system according to claim 5, wherein when the number of the at least two light sources is an even number, the number of the light sources corresponding to the second PWM signal is the same as the number of the light sources corresponding to the PWM signal without duty cycle inversion;
when the number of the at least two light sources is an odd number, the difference between the number of the light sources corresponding to the second PWM signal and the number of the light sources corresponding to the PWM signal whose duty ratio is not inverted is 1.
CN201711021948.5A 2017-10-27 2017-10-27 Dimming method and system Active CN107682969B (en)

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 CN107682969A (en) 2018-02-09
CN107682969B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112153778B (en) * 2020-10-23 2023-03-10 上海顺舟智能科技股份有限公司 LED lamp adjusting device for Internet of things control and LED lamp

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202269053U (en) * 2011-09-01 2012-06-06 瑞谷科技(深圳)有限公司 Pulse-width modulation (PWM) dimming circuit
CN102917494B (en) * 2012-09-29 2014-07-23 彩虹集团公司 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
CN105407614B (en) * 2015-12-23 2017-12-29 深圳市中孚光电科技有限公司 A kind of adjusting control circuit provided with fan and turn-off function

Also Published As

Publication number Publication date
CN107682969A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
JP6245952B2 (en) LED driving circuit and LED lighting device
JP4944658B2 (en) LED drive circuit
JP4569245B2 (en) LED lighting device and lighting system
US8120273B2 (en) Light control system with PWM duty cycle control using current signal feedback
WO2012059838A1 (en) Method and device for driving an led string
JP2007080540A (en) Illumination system
CN107682969B (en) Dimming method and system
WO2017028480A1 (en) Backlight source, adjustment method therefor, adjustment device and display device
JP6906190B2 (en) Lighting devices, electronic devices and lighting equipment
JP5605723B2 (en) Light emitting diode lighting device, lighting device, and lighting method
JP2011150878A (en) Led lighting device and illumination device
JP5641229B2 (en) Lighting system
KR20100128923A (en) Light emitting device with controllable color temperature
JP2011113793A (en) Led lighting device and lighting system
JP2010244801A (en) Lighting system
US20150216014A1 (en) Theatrical effects controller with color correction
JP6998565B2 (en) Lighting devices, lighting fixtures and electronic devices
JP2011113794A (en) Led lighting apparatus and illuminating device
JP2015122202A (en) Led group light-emitting circuit and led illumination device
JP2013073827A (en) Control device of illumination apparatus
CN113891528A (en) Color difference lamp and color difference lamp adjusting method
CN113225867A (en) Dimming curve expansion method and device, computer equipment and storage medium
US20180295691A1 (en) Illumination light communication apparatus, illumination equipment, and illumination apparatus
US20150223307A1 (en) Theatrical effects controller with ultrasonic output
WO2014136409A1 (en) Illumination control device

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