CN102548084B - Device and method for controlling light source in gradual brightness change manner - Google Patents
Device and method for controlling light source in gradual brightness change manner Download PDFInfo
- Publication number
- CN102548084B CN102548084B CN201010577401.5A CN201010577401A CN102548084B CN 102548084 B CN102548084 B CN 102548084B CN 201010577401 A CN201010577401 A CN 201010577401A CN 102548084 B CN102548084 B CN 102548084B
- Authority
- CN
- China
- Prior art keywords
- light source
- brightness
- mcu
- gradual
- driving pulse
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- 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/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention discloses a device and a method for controlling a light source in a gradual brightness change manner. The device for controlling the light source in the gradual brightness change manner comprises a light source, a light source driving unit, a switch unit, and an MCU (Microgrammed Control Unit), wherein the MCU is used for detecting a switching action of the switch unit and whether the light source is turned on, calculating the duty cycle of drive pulses, outputting the drive pulses to the light source driving unit, detecting the time span for outputting the drive pulses, and storing the duty cycle of the drive pulses, the variation step length of the duty cycles of the drive pulses, the duty cycle of the maximum drive pulse, the duty cycle of the minimum drive pulse and the variation time period of the duty cycle of the drive pulse. According to the invention, According to the invention, the gradual lighting of gradual dimming of a lamp is realized by controlling the duty cycle of the drive pulses of the drive light source, so that the service life of the lamp is prolonged, in addition, by addition of a brightness detection unit, the brightness of the light source is regulated based on ambient brightness, so that the brightness sensed by human eyes is stabilized, and the stimulations to the human eyes are reduced and the health of the human eyes is protected.
Description
Technical field
The present invention relates to the gradual light source control device of a kind of brightness and method thereof, particularly relate to the gradual LED light source control device of a kind of brightness and method thereof.
Background technology
In today that household light fixtures emerges in an endless stream, businessman obtains more comfortable soft light to enable user, numerous and confused release " soft light ", " comfortable lamp ".But soft light or common fluorescent lamp, light fixture are all pressing the instantaneous of switch, and the brightness of light fixture reaches high-high brightness, light fixture instantaneous extinguishing during cut-off switch.The change of this unexpected brightness makes human eye be difficult to adapt to, and when the unexpected change of brightness, when serious, even may cause dizzy.
And existing household light fixtures is when opening light fixture at every turn, the light fixture described in powerful rush of current all repeatedly can be had, thus the useful life of impairment light fixture, reduce its fail safe.Although the low-light level light fixture such as so-called soft light can reduce the stimulation of light to glasses in addition, but because its brightness is not high, thus cause damaging human eyesight, although the brightness such as common fluorescent lamp is pure in addition, but the moment of turning on light, because brightness reaches high-high brightness, thus very dazzling, unfavorable to human eye health.
And existingly bright structure is delayed for bulb mainly realized by hardware, such one side adds the cost of product, on the other hand owing to adding the use of hardware, once certain parts in hardware are damaged, then total can not use, and the fraction defective of such product is also higher.
Summary of the invention
The technical problem to be solved in the present invention brightens instantaneously to overcome light source in prior art, thus affect human eye health and easily damage the defect of light fixture, the gradual light source control device of a kind of brightness and method thereof are provided, slowly to brighten by making light source or dimmed, thus reduce the stimulation that human eye is subject to and the useful life extending light fixture.
The present invention solves above-mentioned technical problem by following technical proposals:
The invention provides the gradual light source control device of a kind of brightness, comprise a light source, a light source driving units and a switch element, be characterized in that the gradual light source control device of this brightness also comprises:
One MCU, whether open for the switch motion of sense switch unit and light source, calculate the duty ratio of driving pulse and export described driving pulse to described light source driving units, and detect the time span of driving pulse output, and storing driver pulse duty factor, driving pulse change in duty cycle step-length, maximum drive pulse duty factor, simulation pulse duty factor and driving pulse change in duty cycle time cycle.
Preferably, described light source driving units comprises a digital transistor, a transistor, one first resistance and one second resistance;
Wherein said digital transistor has the first base stage, the first collector electrode and the first emitter; Described transistor has the second base stage, the second collector electrode and the second emitter; The first described base stage is electrically connected with MCU, the first described grounded emitter, the first described collector electrode is electrically connected with the second base stage by the first resistance, and described second base stage is also electrically connected with the second emitter by the second resistance, and described second collector electrode is electrically connected with light source.
Preferably, described light source driving units also comprises a diode, described diode comprises a negative pole and a positive pole, and the negative pole of wherein said diode is electrically connected with the second emitter of described transistor, and the positive pole of described diode is electrically connected with the second collector electrode of described transistor.
Preferably, described light source driving units also comprises one the 3rd resistance, and the 3rd described resistance is electrically connected with the first base stage of described digital transistor.
Preferably, described light source is a LED.
Preferably, the gradual light source control device of described brightness also comprises a brightness detection unit, for the illumination brightness of testing environment.
Preferably, described ambient brightness also for storage environment illumination brightness, is converted into ambient brightness pulse duty factor by described MCU, and deducts ambient brightness pulse duty factor from maximum drive pulse duty factor.
Preferably, described brightness detection unit is a light sensor.
Preferably, the gradual light source control device of described brightness also comprises one first filter, for the signal of the ambient brightness that lightness stabilized detecting unit exports.
Preferably, the gradual light source control device of described brightness also comprises one second filter, for the signal of the on off state that stable switch unit exports.
Present invention also offers the gradual control method that brightens of light source of the gradual light source control device of a kind of brightness as above, be characterized in comprising the following steps:
S
101, whether MCU sense switch unit carry out breakdown action, if testing result is yes, then enters step S
102, otherwise repeat step S
101;
S
102, whether MCU detection light source open, if testing result is no, then enters step S
103, otherwise return step S
101;
S
103, MCU sets driving pulse duty ratio and is simulation pulse duty factor and exports driving pulse to light source driving units according to described driving pulse duty ratio;
S
104, MCU detect driving pulse export time span whether arrive the described driving pulse change in duty cycle time cycle, if testing result is yes, then enter step S
105, otherwise repeat step S
104;
S
105, driving pulse change in duty cycle step-length adds driving pulse duty ratio by MCU, and detect the driving pulse duty ratio after this calculating and whether be greater than maximum drive pulse duty factor, if testing result is yes, then MCU according to the pulse of maximum drive pulse duration specific output to light source driving units, otherwise export driving pulse to light source driving units, and return step S
104.
Preferably, the gradual light source control device of described brightness also comprises a brightness detection unit; Described MCU also for store and conversion environment illumination brightness is ambient brightness pulse duty factor, and deducts ambient brightness pulse duty factor from maximum drive pulse duty factor, and in step S
101in further comprising the steps of:
S
1011, whether MCU sense switch unit carry out breakdown action, if testing result is no, then the illumination brightness of environment that detects of brightness detection unit be sent to MCU;
S
1012, described ambient brightness is converted into ambient brightness pulse duty factor, and deducting ambient brightness pulse duty factor from maximum drive pulse duty factor by MCU, repeats step S
101.
Preferably, in step S
101before further comprising the steps of:
S
100, MCU prestores driving pulse duty ratio, driving pulse change in duty cycle step-length, maximum drive pulse duty factor, simulation pulse duty factor and driving pulse change in duty cycle time cycle.
Present invention also offers the gradual dimmed control method of light source of the gradual light source control device of a kind of brightness as above, be characterized in comprising the following steps:
S
201, whether MCU sense switch unit carry out closing motion, if testing result is yes, then enters step S
202, otherwise repeat step S
201;
S
202, whether MCU detection light source open, if testing result is yes, then enters step S
203, otherwise return step S
201;
S
203, MCU sets driving pulse duty ratio and is maximum drive pulse duty factor and exports pulse to light source driving units according to driving pulse duty ratio;
S
204, MCU detect driving pulse export time span whether arrive the described driving pulse change in duty cycle time cycle, if testing result is yes, then enter step S
205, otherwise repeat step S
204;
S
205, MCU deducts driving pulse change in duty cycle step-length from driving pulse duty ratio, and detect the driving pulse duty ratio after this calculating and whether be less than simulation pulse duty factor, if testing result is yes, then MCU according to the pulse of simulation pulse duration specific output to light source driving units, otherwise export driving pulse to light source driving units, and return step S
204.
Preferably, in step S
201before further comprising the steps of:
S
200, MCU prestores driving pulse duty ratio, driving pulse change in duty cycle step-length, maximum drive pulse duty factor, simulation pulse duty factor and driving pulse change in duty cycle time cycle.
Positive progressive effect of the present invention is:
The present invention controls the signal pulse of driving light source duty ratio by MCU realizes the gradually bright or gradually dark of light fixture; thus extend the useful life of light fixture; in addition by adding brightness detection unit; achieve the high-high brightness regulating light source based on ambient brightness; thus stablize the brightness that human eye experiences; thus decrease the stimulation that human eye is subject to, protect the health of human eye.
Accompanying drawing explanation
Fig. 1 is the circuit structure block diagram of the preferred embodiment of the gradual light source control device of brightness of the present invention.
Fig. 2 is the circuit diagram of the preferred embodiment of the light source driving units of the gradual light source control device of brightness of the present invention.
Fig. 3 is the flow chart of the preferred embodiment of the gradual control method that brightens of light source of the gradual light source control device of brightness of the present invention.
Fig. 4 is the flow chart of the preferred embodiment of the gradual dimmed control method of light source of the gradual light source control device of brightness of the present invention.
Embodiment
Present pre-ferred embodiments is provided, to describe technical scheme of the present invention in detail below in conjunction with accompanying drawing.
1, the embodiment of the gradual light source control device of brightness
Figure 1 shows that the circuit structure block diagram of the gradual light source control device of brightness of the present invention, the gradual light source control device of wherein said brightness comprises a MCU1 (microcontroller), light source driving units 2, light source 3, switch element 4, brightness detection unit 5,1 first filter 7 and one second filter 8.
Wherein said MCU1 is used for the switch motion of sense switch unit 4 and whether light source 3 is opened, calculate the duty ratio of pulse and export described pulse to described light source driving units 2, and detect the time span of driving pulse output, and storing driver pulse duty factor, driving pulse change in duty cycle step-length, maximum drive pulse duty factor, simulation pulse duty factor and driving pulse change in duty cycle time cycle, and storage environment illumination brightness according to described ambient brightness setting maximum drive pulse duty factor.
What the light source 3 described in the present embodiment adopted is LED (light-emitting diode), and the staff of this area can according to the concrete needs of light fixture and the light source requiring the kind adopting other.
Described brightness detection unit 5 is for the illumination brightness of testing environment, brightness detection unit 5 described in the present embodiment can adopt light sensor to carry out the illumination brightness of testing environment, the staff of this area according to the actual needs of sensed luminance and can require the luminance detection device adopting other, circuit or device, thus the function realizing identical sensed luminance.
The signal of the ambient brightness that the first described filter 7 exports for lightness stabilized detecting unit 5.The signal of the on off state that the second described filter 8 exports for stable switch unit 4.
Light source driving units 2 in the present embodiment is for driving light source 3, namely for a bright light source 3, as shown in Figure 2, wherein said light source driving units 2 comprises digital transistor 21, transistor 22,1 first resistance 23,1 second resistance 24,1 the 3rd resistance 25 and a diode 26 to the circuit structure of wherein said light source driving units 2.
Wherein said digital transistor 21 has the first base stage, the first collector electrode and the first emitter, described transistor 22 has the second base stage, the second collector electrode and the second emitter, the first described base stage is electrically connected with MCU1, the first described grounded emitter, the first described collector electrode is electrically connected with the second base stage by the first resistance 23, described second base stage is also electrically connected with the second emitter by the second resistance 24, described second collector electrode is electrically connected with light source 3, described diode 26 comprises a negative pole and a positive pole, the negative pole of wherein said diode 26 is electrically connected with the second emitter of described transistor 22, the positive pole of described diode is electrically connected with the second collector electrode of described transistor 22, the 3rd described resistance 25 is electrically connected with the first base stage of described digital transistor 21.
The operation principle of the gradual light source control device of the brightness in the present embodiment is as follows:
1.1, the gradual operation principle brightened of the light source of the gradual light source control device of brightness
First, MCU1 prestores driving pulse duty ratio D, driving pulse change in duty cycle step-length D
change, maximum drive pulse duty factor D
max, simulation pulse duty factor D
minwith driving pulse change in duty cycle period of time T
d.
Then, MCU1 receives the illumination brightness of the environment that brightness detection unit 5 detects, described ambient brightness is converted into ambient brightness pulse duty factor D by MCU1
s, and from maximum drive pulse duty factor D
maxin deduct ambient brightness pulse duty factor D
s, i.e. D
max=D
max-D
s.Then whether MCU1 sense switch unit 4 carries out breakdown action, if breakdown action do not detected, then whether MCU1 duplicate detection switch element 4 carries out breakdown action, otherwise, whether MCU1 detection light source 3 opens, if testing result is no, then MCU1 sets driving pulse duty ratio D is simulation pulse duty factor D
min, namely make D=D
min, and export driving pulse to light source driving units 2 according to described driving pulse duty ratio D, then light source driving units 2 is according to the driving pulse driving light source 3 received.
After this, MCU1 detects the time span T exporting above-mentioned driving pulse and whether arrives described driving pulse change in duty cycle period of time T
dif testing result is T=T
d, then MCU1 is by driving pulse change in duty cycle step-length D
changeadd driving pulse duty ratio D, i.e. D=D+D
change, and detect the driving pulse duty ratio D after this calculating and whether be greater than maximum drive pulse duty factor D
maxif testing result is yes, then MCU1 is according to maximum drive pulse duty factor D
maxexport pulse to light source driving units 2, then light source driving units 2 is according to the driving pulse driving light source 3 received, and the time span T resetting driving pulse output is 0; Otherwise whether the time span T that the above-mentioned driving pulse of MCU1 duplicate detection exports arrives described driving pulse change in duty cycle period of time T
d.
After this by the continuous repetition of said process, such that light source 3 is gradual to brighten.
Wherein, the operation principle of light source driving units 2 is as follows:
The driving pulse that 3rd resistance 25 exports for stable MCU1, prevent owing to transmitting the driving pulse decay caused, after this driving pulse passes through the amplifying circuit of digital transistor 21, transistor 22 and the first resistance 23 and the second resistance 24 composition, thus export the drive pulse signal of amplification being used for driving light source 3, wherein diode 26 for prevent transistor 22 due to electric current excessive and damage.
1.2, the gradual dimmed operation principle of the light source of the gradual light source control device of brightness
Light source 3 keep shinny while, MCU1 stores driving pulse duty ratio D, driving pulse change in duty cycle step-length D
change, maximum drive pulse duty factor D
max, simulation pulse duty factor D
minwith driving pulse change in duty cycle period of time T
d.Now MCU1 exports maximum drive pulse duty factor D
maxto light source driving units 2.
Then, whether MCU1 sense switch unit 4 carries out closing motion, if do not detect, switch element 4 has carried out closing motion, then whether MCU1 duplicate detection switch element 4 carries out closing motion, otherwise, whether MCU1 detection light source 3 opens, if testing result is yes, then MCU1 sets driving pulse duty ratio D is maximum drive pulse duty factor D
max, i.e. D=D
max+, and export pulse to light source driving units 2, then light source driving units 2 is according to the driving pulse driving light source 3 received.
After this, MCU1 detects the time span T exporting above-mentioned driving pulse and whether arrives described driving pulse change in duty cycle period of time T
dif testing result is yes, then MCU1 deducts driving pulse change in duty cycle step-length D from driving pulse duty ratio D
change, i.e. D=D-D
change, and detect the driving pulse duty ratio D after this calculating and whether be less than simulation pulse duty factor D
minif testing result is yes, then MCU1 is according to simulation pulse duty factor D
minexport pulse to light source driving units 2, then light source driving units 2 is according to the driving pulse driving light source 3 received, and the time span T resetting driving pulse output is 0; Otherwise whether the time span T that the above-mentioned driving pulse of MCU1 duplicate detection exports arrives described driving pulse change in duty cycle period of time T
d.
After this by the continuous repetition of said process, make light source 3 gradual dimmed.
Wherein the operation principle of light source driving units 2 is described above, is not just repeating here.
2, the embodiment of the gradual control method that brightens of the light source of the gradual light source control device of brightness
Figure 3 shows that the flow chart of the gradual control method that brightens of the light source of the gradual light source control device of brightness of the present invention, comprising following steps:
Step 100, MCU prestores driving pulse duty ratio D, driving pulse change in duty cycle step-length D
change, maximum drive pulse duty factor D
max, simulation pulse duty factor D
minwith driving pulse change in duty cycle period of time T
d.Described step 100 is the step S in claim 13
100.
Step 101, whether MCU sense switch unit carries out breakdown action, if testing result is yes, then enters step 103, otherwise enters step 102.Described step 101 is the step S in claim 11
101.
Step 102, the illumination brightness of the environment that brightness detection unit detects also is sent to MCU and described ambient brightness is converted into ambient brightness pulse duty factor D
s, and from maximum drive pulse duty factor D
maxin deduct ambient brightness pulse duty factor, i.e. D
max=D
max-D
s.Then step 101 is returned.Described step 102 is the step S in claim 12
1011with step S
1012.
Step 103, whether MCU detection light source opens, if testing result is yes, then returns step 101, otherwise enters step 104.Described step 103 is the step S in claim 11
102.
Step 104, it is simulation pulse duty factor D that MCU sets driving pulse duty ratio D
min, and export driving pulse to light source driving units according to described driving pulse duty ratio D, i.e. D=D
max, thus drive point bright light source.Described step 104 is the step S in claim 11
103.
Step 105, whether the time span T that MCU detects the output of above-mentioned driving pulse arrives described driving pulse change in duty cycle period of time T
dif testing result is yes, then enter step 106, otherwise repeat step 105.Described step 105 is the step S in claim 11
104.
Step 106, MCU is by driving pulse change in duty cycle step-length D
changeadd driving pulse duty ratio D, i.e. D=D+D
change, and described driving pulse duty ratio D is exported driving pulse to light source driving units.
Step 107, whether the driving pulse duty ratio D after MCU detects this calculating is greater than maximum drive pulse duty factor D
maxif testing result is yes, then enter step 107, otherwise, reset the time span T of driving pulse output and return step 105.
Step 108, MCU is according to maximum drive pulse duty factor D
maxexport pulse to light source driving units.Described step 106, step 107 and step 108 are the step S in claim 11
105.
3, the embodiment of the gradual dimmed control method of the light source of the gradual light source control device of brightness
Figure 4 shows that the flow chart of the gradual dimmed control method of the light source of the gradual light source control device of brightness of the present invention, comprising following steps:
Step 200, MCU prestores driving pulse duty ratio D, driving pulse change in duty cycle step-length D
change, maximum drive pulse duty factor D
max, simulation pulse duty factor D
minwith driving pulse change in duty cycle period of time T
d.Described step 200 is the step S in claim 15
200.
Step 201, whether MCU sense switch unit carries out closing motion, if testing result is yes, then enters step 202, otherwise repeats step 201.Described step 201 is the step S in claim 14
201.
Step 202, whether MCU detection light source opens, if testing result is yes, then returns step 201, otherwise enters step 203.Described step 202 is the step S in claim 14
203.
Step 203, it is maximum drive pulse duty factor D that MCU sets driving pulse duty ratio D
max, and export driving pulse to light source driving units according to described driving pulse duty ratio D, i.e. D=D
max, thus drive point bright light source.Described step 203 is the step S in claim 14
203.
Step 204, whether the time span T that MCU detects the output of above-mentioned driving pulse arrives described driving pulse change in duty cycle period of time T
dif testing result is yes, then enter step 205, otherwise repeat step 204.Described step 204 is the step S in claim 14
204.
Step 205, MCU deducts driving pulse change in duty cycle step-length D from driving pulse duty ratio D
change, i.e. D=D-D
change, and described driving pulse duty ratio D is exported driving pulse to light source driving units.
Step 206, whether the driving pulse duty ratio D after MCU detects this calculating is less than simulation pulse duty factor D
minif testing result is yes, then enter step 207, otherwise resets the time span T of driving pulse output and return step 204.
Step 207, MCU is according to simulation pulse duty factor D
minexport pulse to light source driving units.Described step 205, step 206 and step 207 are the step S in claim 14
205.
Although the foregoing describe the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is defined by the appended claims.Those skilled in the art, under the prerequisite not deviating from principle of the present invention and essence, can make various changes or modifications to these execution modes, but these change and amendment all falls into protection scope of the present invention.
Claims (13)
1. the gradual light source control device of brightness, comprises a light source, a light source driving units and a switch element, it is characterized in that, the gradual light source control device of this brightness also comprises:
One MCU, whether open for the switch motion of sense switch unit and light source, calculate the duty ratio of driving pulse and export described driving pulse to described light source driving units, and detect the time span of driving pulse output, and storing driver pulse duty factor, driving pulse change in duty cycle step-length, maximum drive pulse duty factor, simulation pulse duty factor and driving pulse change in duty cycle time cycle, the gradual light source control device of described brightness also comprises a brightness detection unit, for the illumination brightness of testing environment, described MCU is also for storage environment illumination brightness, ambient brightness is converted into ambient brightness pulse duty factor, and ambient brightness pulse duty factor is deducted from maximum drive pulse duty factor.
2. the gradual light source control device of brightness as claimed in claim 1, it is characterized in that, described light source driving units comprises a digital transistor, a transistor, one first resistance and one second resistance;
Wherein said digital transistor has the first base stage, the first collector electrode and the first emitter; Described transistor has the second base stage, the second collector electrode and the second emitter; The first described base stage is electrically connected with MCU, the first described grounded emitter, the first described collector electrode is electrically connected with the second base stage by the first resistance, and described second base stage is also electrically connected with the second emitter by the second resistance, and described second collector electrode is electrically connected with light source.
3. the gradual light source control device of brightness as claimed in claim 2, it is characterized in that, described light source driving units also comprises a diode, described diode comprises a negative pole and a positive pole, the negative pole of wherein said diode is electrically connected with the second emitter of described transistor, and the positive pole of described diode is electrically connected with the second collector electrode of described transistor.
4. the gradual light source control device of brightness as claimed in claim 2, it is characterized in that, described light source driving units also comprises one the 3rd resistance, and the 3rd described resistance is electrically connected with the first base stage of described digital transistor.
5. the gradual light source control device of brightness as claimed in claim 1, it is characterized in that, described light source is a LED.
6. the gradual light source control device of brightness as claimed in claim 1, it is characterized in that, described brightness detection unit is a light sensor.
7. the gradual light source control device of brightness as claimed in claim 1, it is characterized in that, the gradual light source control device of described brightness also comprises one first filter, for the signal of the ambient brightness that lightness stabilized detecting unit exports.
8. the gradual light source control device of the brightness as described in any one of claim 1-7, is characterized in that, the gradual light source control device of described brightness also comprises one second filter, for the signal of the on off state that stable switch unit exports.
9. the gradual control method that brightens of the light source of the gradual light source control device of brightness as claimed in claim 1, is characterized in that, comprise the following steps:
S
101, whether MCU sense switch unit carry out breakdown action, if testing result is yes, then enters step S
102, otherwise repeat step S
101;
S
102, whether MCU detection light source open, if testing result is no, then enters step S
103, otherwise return step S
101;
S
103, MCU sets driving pulse duty ratio and is simulation pulse duty factor and exports driving pulse to light source driving units according to described driving pulse duty ratio;
S
104, MCU detect driving pulse export time span whether arrive the described driving pulse change in duty cycle time cycle, if testing result is yes, then enter step S
105, otherwise repeat step S
104;
S
105, driving pulse change in duty cycle step-length adds driving pulse duty ratio by MCU, and whether the driving pulse duty ratio after detection computations is greater than maximum drive pulse duty factor, if testing result is yes, then MCU according to the pulse of maximum drive pulse duration specific output to light source driving units, otherwise export driving pulse to light source driving units, and return step S
104.
10. the gradual control method brightened of light source as claimed in claim 9, it is characterized in that, the gradual light source control device of described brightness also comprises a brightness detection unit; Described MCU also for store and conversion environment illumination brightness is ambient brightness pulse duty factor, and deducts ambient brightness pulse duty factor from maximum drive pulse duty factor, and in step S
101in further comprising the steps of:
S
1011, whether MCU sense switch unit carry out breakdown action, if testing result is no, then the illumination brightness of environment that detects of brightness detection unit be sent to MCU;
S
1012, ambient brightness is converted into ambient brightness pulse duty factor, and deducting ambient brightness pulse duty factor from maximum drive pulse duty factor by MCU, repeats step S
101.
The gradual control method brightened of 11. light source as claimed in claim 9, is characterized in that, in step S
101before further comprising the steps of:
S
100, MCU prestores driving pulse duty ratio, driving pulse change in duty cycle step-length, maximum drive pulse duty factor, simulation pulse duty factor and driving pulse change in duty cycle time cycle.
The gradual dimmed control method of light source of 12. 1 kinds of gradual light source control devices of brightness as claimed in claim 1, is characterized in that, comprise the following steps:
S
201, whether MCU sense switch unit carry out closing motion, if testing result is yes, then enters step S
202, otherwise repeat step S
201;
S
202, whether MCU detection light source open, if testing result is yes, then enters step S
203, otherwise return step S
201;
S
203, MCU sets driving pulse duty ratio and is maximum drive pulse duty factor and exports pulse to light source driving units according to driving pulse duty ratio;
S
204, MCU detect driving pulse export time span whether arrive the described driving pulse change in duty cycle time cycle, if testing result is yes, then enter step S
205, otherwise repeat step S
204;
S
205, MCU deducts driving pulse change in duty cycle step-length from driving pulse duty ratio, and whether the driving pulse duty ratio after detection computations is less than simulation pulse duty factor, if testing result is yes, then MCU according to the pulse of simulation pulse duration specific output to light source driving units, otherwise export driving pulse to light source driving units, and return step S
204.
The gradual control method brightened of 13. light source as claimed in claim 12, is characterized in that, in step S
201before further comprising the steps of:
S
200, MCU prestores driving pulse duty ratio, driving pulse change in duty cycle step-length, maximum drive pulse duty factor, simulation pulse duty factor and driving pulse change in duty cycle time cycle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010577401.5A CN102548084B (en) | 2010-12-07 | 2010-12-07 | Device and method for controlling light source in gradual brightness change manner |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010577401.5A CN102548084B (en) | 2010-12-07 | 2010-12-07 | Device and method for controlling light source in gradual brightness change manner |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102548084A CN102548084A (en) | 2012-07-04 |
CN102548084B true CN102548084B (en) | 2015-02-18 |
Family
ID=46353738
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010577401.5A Active CN102548084B (en) | 2010-12-07 | 2010-12-07 | Device and method for controlling light source in gradual brightness change manner |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102548084B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104704435B (en) * | 2012-09-28 | 2017-07-18 | 飞利浦灯具控股公司 | The method and apparatus that the lighting parameter in light management system is adjusted based on user action |
CN103486475A (en) * | 2013-09-27 | 2014-01-01 | 无锡商业职业技术学院 | Luminance-adjustable LED lamp |
CN105554935A (en) * | 2015-12-16 | 2016-05-04 | 冯秋林 | Fade-in or fade-out LED lamp programmable controller |
CN107613603B (en) * | 2017-08-25 | 2020-01-03 | 昂宝电子(上海)有限公司 | LED slow-lighting control system |
CN108513394A (en) * | 2018-03-23 | 2018-09-07 | 佛山德仁照明科技有限公司 | A kind of LED lamp slowly started |
CN110012580A (en) * | 2019-04-19 | 2019-07-12 | 青岛亿联客信息技术有限公司 | A kind of method for controlling lamp, device, system and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101188720A (en) * | 2007-12-20 | 2008-05-28 | 四川长虹电器股份有限公司 | Light source and control method for DLP background projection TV |
CN101286288A (en) * | 2008-05-16 | 2008-10-15 | 深圳和而泰智能控制股份有限公司 | Digitron display driver circuit and its control method |
CN101835302A (en) * | 2009-03-13 | 2010-09-15 | 建兴电子科技股份有限公司 | Drive circuit for controlling quick closedown of light-emitting diode (LED) |
CN101881548A (en) * | 2010-07-01 | 2010-11-10 | 合肥美的荣事达电冰箱有限公司 | Illumination system of icebox |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2294898B1 (en) * | 2008-05-20 | 2014-01-15 | EldoLAB Holding B.V. | Controller for controlling an led assembly, lighting application and method for controlling an led assembly |
-
2010
- 2010-12-07 CN CN201010577401.5A patent/CN102548084B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101188720A (en) * | 2007-12-20 | 2008-05-28 | 四川长虹电器股份有限公司 | Light source and control method for DLP background projection TV |
CN101286288A (en) * | 2008-05-16 | 2008-10-15 | 深圳和而泰智能控制股份有限公司 | Digitron display driver circuit and its control method |
CN101835302A (en) * | 2009-03-13 | 2010-09-15 | 建兴电子科技股份有限公司 | Drive circuit for controlling quick closedown of light-emitting diode (LED) |
CN101881548A (en) * | 2010-07-01 | 2010-11-10 | 合肥美的荣事达电冰箱有限公司 | Illumination system of icebox |
Also Published As
Publication number | Publication date |
---|---|
CN102548084A (en) | 2012-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102548084B (en) | Device and method for controlling light source in gradual brightness change manner | |
TW201123966A (en) | LED drive circuit, phase control dimmer, LED illumination fixture, LED illumination device, and LED illumination system | |
CN103179748A (en) | Remote control, and backlight control method and backlight control system thereof | |
CN105338685B (en) | Multimedia touch control type switch panel | |
CN102811530A (en) | Voltage-rising type LED driving circuit and lamp | |
CN201508468U (en) | Clock intensity control circuit automatically controlled by lights | |
TWI444099B (en) | Light source device and dimming control circuit thereof | |
CN204906820U (en) | Automatic constant current drive device and LED lamps and lanterns of balanced LED lamp cross luma degree | |
CN202095134U (en) | Sound control lighting device | |
CN201178506Y (en) | LED control apparatus | |
CN108882435B (en) | Circuit capable of realizing continuous dimming without stroboflash | |
CN105338686B (en) | High reliable intelligent switching device | |
CN202818739U (en) | Non-stroboflash energy-saving light control circuit for illuminating lamp | |
CN205666996U (en) | Luminance adjustable is bright LED light that gradually goes out gradually | |
CN204906821U (en) | Automatic linear constant current drive device and LED lamps and lanterns of balanced lamp cross luma degree | |
CN105338687B (en) | intelligent switch panel for LED lamp | |
CN108882430A (en) | Has the LED lamp of automatic dimming function | |
CN201854480U (en) | LED (light emitting diode) phase shift dimming circuit | |
CN202101074U (en) | Composite LED (light emitting diode) voice-controlled lighting lamp | |
CN204906819U (en) | Linear constant current drive device and LED lamps and lanterns of balanced LED lamp cross luma degree | |
CN105163436A (en) | Linear constant-current driving device for brightness equilibrium of light emitting diode (LED) string and driving method of the linear constant-current driving device | |
CN205071376U (en) | A automatic switch for street lamp | |
KR101664729B1 (en) | Led lighting device with multi illuminance | |
TWI465150B (en) | Dimmer circuit and lighting apparatus using the same | |
CN104703342A (en) | Human body heat-released electric induction lamp circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |