A kind of desk lamp with dimmer switch
The application is dividing an application of following patent
Application number: 201010179404.3
The applying date: on 05 21st, 2010
Invention and created name: a kind of light modulation driving method, device and desk lamp with dimmer switch
Technical field
The invention belongs to the lighting lamp control technical field, the desk lamp with dimmer switch that relate to a kind of light modulation driving method, installs and have this dimming drive device, the brightness of light source is controlled and regulated to this dimming drive device with the on-off type switch.
Background technology
In situation about being becoming tight energy day, light fixture is energy-conservation to have become the problem that more and more is taken seriously, the energy-conservation direction of lighting mainly is traditional incandescent lamp replacement is become the electricity-saving lamps such as fluorescent lamp or LED at present, but but seldom oriented light regulating technology future development, by the brightness of in good time adjusting light fixture, effectively energy savings.Few in this direction research on the one hand, the light modulation demand has but appearred in the consumer on the other hand, but the problem of the technical support of but must arriving.People tend to be perplexed should buying how powerful light fixture when buying lighting and could satisfy lighting demand, and the embarrassment that do not need in time so high brightness of illumination more has appearred after having bought enough lightings, and the domestic lighting light fixture only has switching function at present, there is not dimming function, so caused occurring under the condition of a faint light of needs, great waste has appearred in but have to situation that lamp is opened.Some hotel's bedside lamp has the lamplight brightness of adjusting function at present, but it comes light modulation by knob, this is in domestic lighting, there is no that way realizes, because on the home wall of the overwhelming majority extinguishing of on-off type controlling switch lamp only is installed at present, rotary switch is not installed, if come light modulation by knob, that just needs common on-off type switch is replaced to rotary switch, so then can increase a lot of engineering costs, and when changing these switches, can have shock hazard, so need the electrician personnel of specialty to go to change, increase again so undoubtedly the cost of labor of changing.By the on-off type switch is abandoned, change rotary switch, increased again the product cost of rotary switch.So this light regulating technology except new lighting construction, is difficult to promote in market.Also have some advanced technology of passing through remote control light modulating on the market; the cost of labor when although this light regulating technology does not need to increase in addition construction and replacement; but because the difficult keeping of remote controller, and usually can exhaust because of the electric weight of remote controller the problem that can't open light fixture.
In the commercial lighting field, not only have the demand of regulating lamplight brightness, also have simultaneously the demand of regulating light color, same, this adjusting light color also needs to arrange other control device to be regulated, and can not regulate by the on-off type switch, has increased the cost of light modulation.Certainly lighting of home equally also has the demand of potential adjusting light color, but does not also have at present to occur controlling the technology that light color changes by the on-off type switch.
The inventor finds by retrieval, number of patent application is that 200810135921.3 Chinese invention patents disclose a kind of dimming drive device and method, the dimming drive device of this invention cooperates running with led driver, adopt compute switch to switch the number of times of ON/OFF and change the mode of brightness, so that led driver has dimming function.Owing to adopt the number of times that compute switch switches ON/OFF to change brightness, the then brightness of its adjusting light that can only disperse, its lamplight brightness can be divided into several grades, ON/OFF number of switching over that the brightness of each different brackets is corresponding different, and it can not linear random adjusting lamplight brightness.In the brightness of regulating lamp, need simultaneously frequently diverter switch ON/OFF, cause the frequently on and off of LED lamp, not only loaded down with trivial details, also can make human eye uncomfortable, the most important useful life that also can reduce light fixture.
Summary of the invention
Purpose of the present invention is exactly in order to solve the technical problem of above-mentioned existence, a kind of light modulation driving method, device and desk lamp with dimmer switch have been proposed, this dimming drive device cooperates with traditional on-off type switch, come the linear random adjusting light-source brightness corresponding with this conducting/cut-off signal by the conducting/cut-off signal that gathers switch, it is simple to have control method, with low cost, and in light modulation, light can not extinguish, and light modulation is convenient, can not impacted the useful life of light source simultaneously.In the needs light modulation, just need in addition light modulation, can remember the brightness custom that people's selection when not wanting light modulation, avoid people to turn on light at every turn and namely carry out the problem of light modulation, more convenient to use.
Light source of the present invention comprises that fluorescent lamp, LED lamp etc. are by the light fixture of electronic driver driving light source work.Before design the present invention, the inventor has also designed an other cover technical scheme, and this tackling body technique scheme is as follows:
A kind of light modulation driving method is provided, and the method comprises:
After the first conducting of light source driving circuit for light source and MCU power supply, MCU control light source driving circuit changes gradually according to predefined program curing driving light source light and shade;
After described light source driving circuit disconnected, interim power supply circuits continued to provide electric energy to MCU;
Be in gradually variable condition and disconnect moment at light source driving circuit of light and shade at light source, the instantaneous brightness state of light source and this luminance state information is temporarily stored when this MCU obtains light source driving circuit and disconnects;
In this luminance state information disappearance front light-source drive circuit conducting, MCU control light source driving circuit is according to the constant work of described luminance state information-driven light source;
Light source driving circuit conducting after this luminance state information disappears, MCU control light source driving circuit changes gradually according to predefined driven by program light source light and shade;
After described interim power supply circuits stopped to the MCU power supply, the luminance state information of described storage disappeared.
Described light source driving circuit comprises energy-storage travelling wave tube, and described energy-storage travelling wave tube continues to provide electric energy to light source after light source driving circuit stops to light source power supply.
Described energy-storage travelling wave tube comprises in electric capacity, inductance, the battery one or more.
The method further comprises:
According to the work of constant luminance state and before the constant luminance state information does not disappear, light source driving circuit disconnects at light source, and MCU removes the constant luminance state information of storage.
Described " be in gradually variable condition and disconnect moment at light source driving circuit of light and shade at light source, when MCU obtains light source driving circuit and disconnects the instantaneous constant luminance state of light source and this constant luminance state information is temporarily stored ", specifically comprise:
Be in gradually variable condition and disconnect moment at light source driving circuit of light and shade at light source, this MCU obtains light source driving circuit from conducting to the time that disconnects, and seeks the light source constant luminance state corresponding with this time and also this constant luminance state information is temporarily stored in predefined program.
Described " be in gradually variable condition and disconnect moment at light source driving circuit of light and shade at light source, when MCU obtains light source driving circuit and disconnects the instantaneous constant luminance state of light source and this constant luminance state information is temporarily stored ", specifically comprise:
Be in gradually variable condition and disconnect moment at light source driving circuit of light and shade at light source, the electric current of light source driving circuit output when this MCU obtains light source driving circuit and disconnects is or/and magnitude of voltage, and with this electric current or/and magnitude of voltage temporarily store.
Adopt the drawback of said method to be:
Because each people are not when needing light illumination, switch must be disconnected extinguishes light source, if but switch is disconnected for a long time, light source driving circuit can not be powered to MCU for a long time, then the electric weight of interim power supply circuits must be consumed, so the luminance state information of MCU storage then can disappear, so people's actuating switch again behind long-time cut-off switch, then light source can again be in again light and shade gradually variable condition wait for that people carry out light modulation, if each actuating switch all needs light modulation, this has increased the inconvenience that uses to people undoubtedly, and in most of situation, people need the brightness of light to fix.So for the problems referred to above, the present invention improves above-mentioned technical scheme, the concrete technical scheme after the improvement is as follows:
A kind of light modulation driving method, the method comprises:
After the first conducting of light source driving circuit for light source and MCU power supply, MCU control light source driving circuit changes gradually according to predefined program curing driving light source light and shade;
After described light source driving circuit disconnected, interim power supply circuits continued to provide electric energy to MCU;
Be in gradually variable condition and disconnect moment at light source driving circuit of light and shade at light source, the instantaneous brightness state of light source and this luminance state information is temporarily stored when this MCU obtains light source driving circuit and disconnects;
Disconnect when light source is in light and shade and gradually changes at described light source driving circuit, and after interim power supply circuits stopped to the MCU power supply, the luminance state information of temporary transient storage disappeared;
In this luminance state information disappearance front light-source drive circuit again conducting after first conducting, MCU control light source driving circuit stores according to described luminance state information-driven light source works and with described luminance state information stability;
Light source driving circuit again conducting after first conducting after this luminance state information disappears, MCU control light source driving circuit changes gradually according to predefined driven by program light source light and shade;
Disconnect according to described constant luminance state work light drive circuit at light source, disconnect rear and again light source driving circuit conducting before interim power supply circuits stop to the MCU power supply at this light source driving circuit, MCU removes the luminance state information of stable storage when described light source driving circuit conducting;
Disconnect according to described constant luminance state work light drive circuit at light source, stop to the rear light source driving circuit conducting of MCU power supply at described interim power supply circuits after this light source driving circuit disconnects and again, described MCU keeps the luminance state information of stable storage;
Light source driving circuit conducting after this luminance state information is eliminated, MCU control light source driving circuit changes gradually according to predefined driven by program light source light and shade;
Light source driving circuit conducting after this luminance state information is retained, MCU control light source driving circuit is according to the luminance state information-driven light source works of fixed storage.
Described light source driving circuit comprises energy-storage travelling wave tube, and described energy-storage travelling wave tube continues to provide electric energy to light source after light source driving circuit stops to light source power supply.
Described " be in gradually variable condition and disconnect moment at light source driving circuit of light and shade at light source, when MCU obtains light source driving circuit and disconnects the instantaneous brightness state of light source and this luminance state information is temporarily stored ", specifically comprise:
Be in gradually variable condition and disconnect moment at light source driving circuit of light and shade at light source, this MCU obtains light source driving circuit from conducting to the time that disconnects, and seeks the light-source brightness state corresponding with this time and also this luminance state information is temporarily stored in predefined program.
Described " be in gradually variable condition and disconnect moment at light source driving circuit of light and shade at light source, when MCU obtains light source driving circuit and disconnects the instantaneous brightness state of light source and this luminance state information is temporarily stored ", specifically comprise:
Be in gradually variable condition and disconnect moment at light source driving circuit of light and shade at light source, the electric current of light source driving circuit output when this MCU obtains light source driving circuit and disconnects is or/and magnitude of voltage, and with this electric current or/and magnitude of voltage temporarily store.
Catch up with the light modulation driving method of stating, the present invention also provides a kind of dimming drive device, comprise light source driving circuit, it is characterized in that, this dimming drive device also comprises MCU and interim power supply circuits, described interim power supply circuits are used for powering to MCU after light source driving circuit is stopped power supply, described MCU comprises current detection module, analysis and processing module and memory module, described current detection module is used for obtaining the conducting/cut-off signal of described light source driving circuit and sending to analysis and processing module, and described memory module is used for program curing and the constant state information of light-source brightness that storage light source light and shade changes gradually; Described analysis and processing module is obtained program curing or constant state information analysis and the processing of light-source brightness that the light source light and shade of the conducting/cut-off signal of described light source driving circuit and memory module storage changes gradually, generate the signal of regulating light-source brightness and this signal is sent to light source driving circuit, described light source driving circuit is specially according to the brightness of described control signal adjusting light source:
After the first conducting of described light source driving circuit, analysis and processing module generates the signal that the control light source driving circuit changes gradually according to predefined program curing driving light source light and shade;
Be in gradually variable condition and after light source driving circuit disconnected, analysis and processing module was obtained light source driving circuit and disconnected instantaneous constant luminance state and temporarily be stored in this constant luminance state information in the memory module of light and shade at light source;
Disconnect when light source is in light and shade and gradually changes at described light source driving circuit, and after interim power supply circuits stopped to the MCU power supply, the luminance state information of temporary transient storage disappeared;
In this luminance state information disappearance front light-source drive circuit again conducting after first conducting, analysis and processing module generates the control light source driving circuit and is stored in the memory module according to the signal of described constant luminance state information driving light source work and with described luminance state information stability;
Light source driving circuit again conducting after first conducting after this luminance state information disappears, analysis and processing module generate the signal that the control light source driving circuit changes gradually according to predefined driven by program light source light and shade;
According to described constant luminance state work, light source driving circuit disconnects and again conducting before interim power supply circuits stop to the MCU power supply at light source, and analysis and processing module is removed the luminance state information of stable storage when described light source driving circuit conducting;
According to described constant luminance state work, light source driving circuit disconnects and again light source driving circuit conducting after described interim power supply circuits stop to the MCU power supply at light source, and described analysis and processing module keeps the luminance state information of stable storage;
Light source driving circuit conducting after this luminance state information is eliminated, analysis and processing module generate the signal that the control light source driving circuit changes gradually according to predefined driven by program light source light and shade;
Light source driving circuit conducting after this luminance state information is retained, analysis and processing module generate the control light source driving circuit according to the signal of the luminance state information-driven light source works of fixed storage.
Described MCU also comprises timing module, is used for, and is in gradually variable condition and disconnect moment at light source driving circuit of light and shade at light source, obtains light source driving circuit from conducting to the time that disconnects; Described analysis and processing module is sought the light source constant luminance state corresponding with this time and this constant luminance state information is temporarily stored in predefined program.
Described MCU also comprises the signal sampling module, be used for, be in gradually variable condition and disconnect moment at light source driving circuit of light and shade at light source, the electric current of this light source driving circuit output is or/and magnitude of voltage and send to analysis and processing module, analysis and processing module with described electric current or/and magnitude of voltage be stored in the memory module.
The present invention provides a kind of desk lamp with dimmer switch in addition, comprises light source and the dimming drive device that is connected with light source, it is characterized in that, described dimming drive device is above-mentioned dimming drive device.
Described energy-storage travelling wave tube comprises one or more in electric capacity or the inductance.
The technique effect that the present invention is useful is:
MCU of the present invention produces the signal of control light-source brightness and exports to light source driving circuit by the switching signal (namely obtaining the conducting/cut-off signal of light source driving circuit) of obtaining the on-off type switch that is connected with light source driving circuit, it is ingenious to have method, characteristics simple in structure, need not to arrange unnecessary light-control knob or light modulation remote controller, so that the upgrade cost of lighting reduces greatly;
After the on-off type switch disconnects, energy-storage travelling wave tube in the described light source driving circuit continues as light source electric energy is provided, so that after switch disconnects, light source is unlikely to extinguish, within the time of switch motion, keep original brightness, guaranteed that light source provides the continuity of electric energy for us, so that light modulation is convenient;
By successional linearity light adjusting, only need once to select, both can select needed brightness, need not the frequently ON/OFF state of diverter switch, so that control convenient, and the brightness of control light source that can be random, more advanced compared to existing technology.
In the needs light modulation, just need in addition light modulation, can remember the brightness custom that people's selection when not wanting light modulation, avoid people to turn on light at every turn and namely carry out the problem of light modulation, more convenient to use.
Description of drawings
Fig. 1 is the method flow diagram of the embodiment of the invention 1;
Fig. 2 is the light-source brightness change curve of the embodiment of the invention 1;
Fig. 3 is the structured flowchart of the embodiment of the invention 2;
Fig. 4 is the structured flowchart of the embodiment of the invention 3.
Embodiment
The desk lamp with dimmer switch that the invention provides a kind of light modulation driving method, installs and have this dimming drive device, this dimming drive device cooperates with traditional on-off type switch, come the linear random adjusting light-source brightness corresponding with this cut-off signal by the cut-off signal that gathers switch, it is simple to have control method, with low cost, and in light modulation, light can not extinguish, light modulation is convenient, can do not impacted the useful life of light source simultaneously, also has in addition the use habit memory effect, so that often light modulation when turning on light at every turn.
The invention will be further elaborated and explanation below in conjunction with specific embodiment and Figure of description:
Embodiment 1
As shown in Figure 1, present embodiment provides a kind of light modulation driving method, and the method is based on sending the brightness that the signal of controlling light-source brightness is controlled light source by MCU to light source driving circuit, and concrete the method comprises:
101. first light source driving circuit conducting, MCU control light source driving circuit driving light source light and shade changes gradually.Be specially: in MCU, solidify a program, the corresponding driving light source of this program according to first by bright gradually to secretly, and then by the control signal that secretly changes to gradually bright state work, open the switch of controlling the light source driving circuit break-make first, so that light source driving circuit conducting, light source driving circuit provides electric energy for MCU and light source, after the light source driving circuit conducting, MCU starts working, light source also is lit simultaneously, MCU control light source driving circuit driving light source according to by bright to dark again by dark state work to bright variation, it changes order as shown in Figure 2, and before switch disconnected, described light source was still according to the variation that moves in circles of above-mentioned order, until switch when disconnecting, stops to change.Described control signal is pwm control signal.
102. disconnect light source driving circuit moment, MCU obtains the instantaneous brightness state of light source and this luminance state information is temporarily stored.Be specially: when in light source works during at the described state of 101 steps, cut-off switch, then light source driving circuit disconnects, light source driving circuit stops to power to MCU, but continuing as MCU, interim power supply circuits provide electric energy, continue to drive MCU work, MCU obtains the make-and-break signal of light source driving circuit by the current signal of detection light source drive circuit, when detecting light source driving circuit, MCU disconnects, then MCU obtains light source driving circuit from being conducting to the time that disconnects operation, and from program curing, find out light source driving circuit according to this time and disconnect instantaneous light-source brightness state, and this luminance state information is stored.Described interim power supply circuits can offer and decide discharge time of energy-storage travelling wave tube of the interim power supply circuits of basis of time of MCU electric weight, and described energy-storage travelling wave tube can be inductance, electric capacity or battery.
After MCU stores described luminance state information, just waiting for the again conducting of light source driving circuit, if consumed rear conducting at interim power supply circuits electric weight, then the luminance state information of storage disappears, and then MCU control light source driving circuit driving light source is according to the described state variation of step 101.If conducting before interim power supply circuits electric weight exhausts, then the luminance state information of storage still exists, and then MCU control light source driving circuit driving light source is according to the described state work of step 103.
103. light source driving circuit is again conducting after first conducting, MCU control light source driving circuit stores according to the described constant luminance state work of step 102 and with described luminance state information stability.Be specially: (being before interim power supply circuits can drive MCU work) switch conduction before the electric weight of interim power supply circuits exhausts, then light source driving circuit conducting, light source driving circuit can be again provides electric energy for MCU and light source, light source is lighted again, MCU works on, MCU detects the light source driving circuit conducting, exist at the same time in the situation of described program curing and luminance state information, MCU preferentially extracts the luminance state of storage and analyzes, and control light source driving circuit driving light source is according to described constant luminance state work.When light source is worked according to constant luminance state, MCU then stores this luminance state information stability, even described stable storage refers to consume at interim power supply circuits electric weight, the luminance state information of its storage can not disappear yet, can be by described luminance state information is stored in the flash chip.
104. disconnect according to described constant luminance state work light drive circuit at light source, disconnect rear and again light source driving circuit conducting before interim power supply circuits stop to the MCU power supply at this light source driving circuit, MCU removes the luminance state information of stable storage when described light source driving circuit conducting.Be specially: when light source is worked according to described constant luminance state, light source driving circuit disconnects, MCU begins to load the instruction of the luminance state information of preparing the removing stable storage when light source driving circuit disconnects, and before interim power supply circuits electric weight exhausted, this instruction existed always; After interim power supply circuits electric weight exhausted, this instruction disappeared.In the situation that this instruction exists, again conducting of light source driving circuit, after then MCU obtains the Continuity signal of light source driving circuit, namely remove the luminance state information of stable storage, because after described luminance state information was eliminated, described MCU sent driving light source changes work gradually according to light and shade signal to light source driving circuit.In the situation that this instruction disappears, again conducting of light source driving circuit, although then MCU has obtained the signal of light source driving circuit conducting, but because the instruction of the luminance state information of offhand removing stable storage, but MCU still can not remove the luminance state information of stable storage, and this moment, described luminance state information still kept, and then this moment, described MCU sends driving light source according to the signal of constant luminance state work to light source driving circuit.
Described first conducting refers to that the luminance state information of storing is eliminated the conducting of rear light source driving circuit.Certainly, at light source according to described constant luminance state work, after light source driving circuit disconnects, need to not stop to the rear light source driving circuit conducting of MCU power supply at described interim power supply circuits yet, MCU just keeps the luminance state information of storage, only need to not have conducting in the certain hour after disconnection, namely keeps the luminance state information of storage, this basis of time concrete condition has different designs, and scope is probably at 3 ~ 10s.
Need to prove:
In above-described embodiment 1, because light source driving circuit is not only powered to MCU, return light source power supply, after switch disconnects, light source driving circuit disconnects, stop to light source power supply, because each light modulation all needs switch is disconnected, so that light source all stops power supply, if light source does not have other power supply circuits that it is powered, light source is extinguished, if light source is extinguished at every turn, make troubles then can for work and life, and frequent increasing along with on-off times, will certainly greatly reduce the useful life of light source, so need the design energy-storage travelling wave tube after switch disconnects light source to be powered temporarily.Be specially: described light source driving circuit comprises energy-storage travelling wave tube, and described energy-storage travelling wave tube continues to provide electric energy to light source after light source driving circuit stops to light source power supply.Described energy-storage travelling wave tube carries out independently-powered after switch disconnects to light source, behind switch conduction, light source driving circuit charges to energy-storage travelling wave tube again, so more excellent energy-storage travelling wave tube is electric capacity or inductance.Owing to designed energy-storage travelling wave tube light source is continued power supply, so that even light source is in the moment of cut-off switch, also continue the same brightness of maintenance, the electric current and the magnitude of voltage that are light source remain unchanged, described energy-storage travelling wave tube is positioned at the output of described light source driving circuit, so be in gradually variable condition and disconnect moment at light source driving circuit of light and shade at light source, the electric current of light source driving circuit output was or/and magnitude of voltage when MCU obtained the light source driving circuit disconnection, described electric current is or/and the luminance state of the light source that magnitude of voltage is the corresponding light source drive circuit when disconnecting, this electric current or/and magnitude of voltage temporarily stores, namely has been equivalent to store the light-source brightness state information when light source driving circuit disconnects.
Embodiment 2
As shown in Figure 3, present embodiment provides a kind of desk lamp with dimmer switch, the light source 2 that described desk lamp with dimmer switch comprises dimming drive device 1 and is connected with dimming drive device, described dimming drive device is subjected to switch 3 controls, described dimming drive device 1 comprises light source driving circuit 11, MCU12 and interim power supply circuits 13, described light source driving circuit 11 is used for MCU12 and light source 2 power supplies, described interim power supply circuits 13 are used for continuing the power supply to MCU12 after light source driving circuit 11 stops to the MCU12 power supply, and described light source driving circuit 11 also is used for interim power supply circuits 13 are charged.Described light source driving circuit 11 also comprises energy-storage travelling wave tube 111, be used for after the switch 3 that is connected with light source driving circuit 11 disconnects, continuation is to light source 2 power supplies, described MCU12 comprises current detection module 121, analysis and processing module 122 and memory module 123, and described memory module comprises memory chip 1231 and flash chip 1232.Described current detection module 121 is used for obtaining the conducting/cut-off signal of described light source driving circuit 11 and sending to analysis and processing module 122, and described memory module 123 is used for program curing and the constant state information of light-source brightness that storage light source light and shade changes gradually; Described analysis and processing module 122 is obtained program curing or constant state information analysis and the processing of light-source brightness that the light source light and shade of the conducting/cut-off signal of described light source driving circuit 11 and memory module 123 storages changes gradually, generate the signal of regulating light-source brightness and this signal is sent to light source driving circuit 11, described light source driving circuit 11 is regulated the brightness of light source 2 according to described control signal.
The first conducting of described light source driving circuit, described current detection module 121 obtains the Continuity signal of described light source driving circuit 11 and sends to analysis and processing module 122, analysis and processing module 122 is obtained described Continuity signal, from memory module 123, extract the program curing that the light source light and shade changes (it changes order as shown in Figure 2) gradually, and analyzing and processing, generate the signal that control control light source driving circuit 11 changes gradually according to predefined program curing driving light source 2 light and shades.
Described MCU12 also comprises timing module 124, be used for, be in gradually variable condition and disconnect moment at light source driving circuit 11 of light and shade at light source 2, obtain light source driving circuit 11 from conducting to the time that disconnects, described analysis and processing module 122 is sought the light source constant luminance state corresponding with this time and this constant luminance state information temporarily is stored in the memory chip 1231 in predefined program.Described timing module 124 namely begins timing after the first conducting of described light source driving circuit 11, then stop timing until light source driving circuit 11 disconnects.When the first conducting of described light source driving circuit 11, described analysis and processing module 122 is obtained described Continuity signal, send the timing instruction to timing module 124, disconnect moment at light source driving circuit 11, described current detection module 121 sends the signal that light source driving circuit 11 disconnects to analysis and processing module 122, after described analysis and processing module 122 is obtained described cut-off signal, send the instruction that stops timing to timing module 124, described timing module 124 statistics send from conducting to the temporal information that disconnects and to analysis and processing module 122, described analysis and processing module is obtained described temporal information, and in conjunction with the program curing of storing in the memory module 123, searching is for light source constant luminance state corresponding to this time, and this constant luminance state information is stored in the memory chip 1231.
Disconnect when light source 2 is in light and shade and gradually changes at described light source driving circuit 11, and after interim power supply circuits 13 stopped to the MCU12 power supply, the luminance state information of temporary transient storage disappeared;
After first switch 3 conductings before described luminance state information disappears actuating switch 3 again, analysis and processing module 122 generates control light source driving circuits 11 and is stored in the flash chip 1232 according to the signal of described constant luminance state information driving light source 2 work and with described luminance state information stability.Be specially: described current detection module 121 obtains described light source driving circuit Continuity signal and this Continuity signal is sent to analysis and processing module 122, analysis and processing module 122 is the described luminance state information of preferential extraction from memory chip 1231, analysis and processing module 122 generates control light source driving circuit 11 driving light sources 2 according to the signal of constant luminance state work, and analysis and processing module 122 is stored in storage luminance state information in the memory chip 1231 in the flash chip 1232.
Disconnect according to described constant luminance state work light drive circuit 11 at light source 2, disconnect rear and again light source driving circuit 11 conductings before interim power supply circuits 13 stop to the MCU12 power supply at this light source driving circuit 11, MCU12 removes the luminance state information of stable storage when described light source driving circuit 11 conducting.Be specially: when light source 2 is worked according to described constant luminance state, light source driving circuit 11 disconnects, analysis and processing module 122 begins to load the instruction of preparing to remove the luminance state information in the flash chip 1232 when light source driving circuit 11 disconnects, before interim power supply circuits 13 electric weight exhausted, this instruction existed always; After interim power supply circuits 13 electric weight exhausted, this instruction disappeared.In the situation that this instruction exists, light source driving circuit 11 again conductings, current detection module 121 obtains the signal of described light source driving circuit 11 conductings, and this signal sent to analysis and processing module 122, analysis and processing module 122 is removed the luminance state information of stable storage, because after described luminance state information is eliminated, described analysis and processing module 122 is extracted program curing analysis and processing, generates to light source driving circuit 11 and sends driving light source changes work gradually according to light and shade signal.In the situation that this instruction disappears, light source driving circuit 11 again conductings, current detection module 121 obtains the signal of light source driving circuit 11 conductings, because the instruction of the luminance state information of offhand removing stable storage, so analysis and processing module 122 still can not removed the luminance state information of storage in the flash chip 1232, and this moment, described luminance state information still kept, then at this moment, luminance state information analysis in described analysis and processing module 122 flash chips 1232 is also processed, and generates to light source driving circuit and sends driving light source according to the signal of constant luminance state work.
Described first conducting refers to that the luminance state information of storing is eliminated the conducting of rear light source driving circuit.Certainly, at light source according to described constant luminance state work, after light source driving circuit disconnects, need to not stop to the rear light source driving circuit conducting of MCU power supply at described interim power supply circuits yet, MCU just keeps the luminance state information of storage, only need to not have conducting in the certain hour after disconnection, namely keeps the luminance state information of storage, this basis of time concrete condition has different designs, and scope is probably at 3 ~ 10s.
Embodiment 4
Above-described embodiment 3 is that timing module 124 is set in MCU, and this timing module 124 is in gradually variable condition and disconnect moment at light source driving circuit 11 of light and shade at light source 2, obtains light source driving circuit 11 from conducting to the time that disconnects; Described analysis and processing module 122 is sought the light source constant luminance state corresponding with this time and this constant luminance state information is temporarily stored in predefined program.Different from above-described embodiment 3 is, signalization sampling module 125 in MCU, described signal sampling module 125 is used for: be in gradually variable condition and disconnect moment at light source driving circuit 11 of light and shade at light source 2, the electric current of this light source 2 work is or/and magnitude of voltage and send to analysis and processing module 122, analysis and processing module 122 with described electric current or/and magnitude of voltage be stored in the memory module 123.Owing in light source driving circuit 11, be provided with energy-storage travelling wave tube 111, disconnect in a flash at light source driving circuit 11, energy-storage travelling wave tube 111 remains unchanged to electric current and the voltage that light source provides, and current detection module 121 also sends the signal that light source driving circuit 11 disconnects at this moment, analysis and processing module 122 sends collection light source driving circuit 11 outputs to signal sampling module 125 and flows to the electric current of light source 2 or/and magnitude of voltage, this moment, electric current was or/and the luminance state of light source corresponding to magnitude of voltage, signal sampling module 15 is obtained the electric current of described light source 2 or/and send to analysis and processing module behind the magnitude of voltage, and analysis and processing module is stored in it in memory module.At light source driving circuit again in the situation of conducting, analysis and processing module is called described electric current or/and the magnitude of voltage analyzing and processing generates control light source driving circuit driving light source according to described electric current magnitude of voltage is to the signal of light source output.
What described current detection module 121 detected in this embodiment is the current signal of light source driving circuit 11 inputs, and the electric current of light source driving circuit 11 outputs that described signal sampling module 125 gathers is or/and magnitude of voltage, both are different, if the output at light source driving circuit 11 does not arrange energy-storage travelling wave tube 111, then the electric current of exporting to light source of light source driving circuit and voltage are zero, and then the signal sampling module can not collect described light source driving circuit 11 and disconnects the electric current of light source works of moment or/and magnitude of voltage.
Need to prove simultaneously: in embodiment 3 and embodiment 4, interim power supply circuits need to keep stable to electric current and the voltage of MCU power supply, and MCU could effectively work, and could keep the stability of data.So more excellent is to adopt jumbo electric capacity or battery.
According to above-mentioned principle of light source being carried out capable of adjusting brightness; can regulate the color of light source; change just passable as long as replacing is replaced with described program curing the color of described light source according to the shades of colour order; those of ordinary skill in the art is easy to and can realizes according to the above embodiments and summary of the invention, so it also should be within protection scope of the present invention.
Need to prove; those skilled in the art can also expect other technical scheme easily for the above embodiments; as long as these technical schemes in design scope of the present invention, should be equal to the technical scheme of this patent, belong to the protection range of this patent.