1. Field of the Invention
The present invention is related to a method for adjusting light brightness and a related illuminant system, and more particularly, to a method for adjusting light brightness set using a toggle switch and a related illuminant system.
2. Description of the Prior Art
The present invention provides a method for adjusting a brightness of a light source using a toggle switch. The method includes identifying a first state of the toggle switch when the light source is in an initial state; gradually adjusting the brightness of the light source from a first brightness to a second brightness during a dimmer period after the toggle switch changes from the first state to a second state at a first time point; and maintaining the brightness of the light source at the value obtained from the second time point when the toggle switch changes from the second state to the first state at a second time and then changes from the first state to the second state at a third time point, wherein a first dimmer period through the second time point to the third time point does not exceed a turn-off time.
The present invention also provides an illuminant system having dimmer function and including a power supply circuit, a switch, a feedback circuit, a detection circuit, a control circuit, and an input circuit. The power supply circuit is configured to convert an input signal into a power signal. The switch is configured to control a signal transmission path between the input signal and the power supply circuit. The feedback circuit is configured to generate a feedback signal by detecting a current flowing through a light source. The detection circuit is configured to generate a dimmer input signal according to a switching number and a switching mode of the switch. The control circuit is configured to generate a driving signal according to the power signal, the dimmer input signal and the feedback signal. The input circuit is configured to drive the light source according to the driving signal.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
The detection circuit 370 is configured to measure the frequency of the main AC voltage, monitor how and how many times the switch 110 changes states, and provide a dimmer input signal CLK having the same frequency as the AC signal VAC. In applications which require multiple lamps, the illuminant system 300 may perform dimmer synchronization according to the dimmer input signal CLK. The operation of the detection circuit 370 will be described in more detail in subsequent paragraphs.
The output circuit 350 may adopt a half-bridge structure which includes two transistors Q1 and Q2, a capacitor C and an inductor L. According to the DC signal VDC, the transistors Q1 and Q2 generate a resonating signal whose frequency may be varied by adjusting the switching frequencies of the transistors Q1 and Q2. The inductor L and the capacitor C are configured to convert the resonating signal generated by the transistors Q1 and Q2 into a high-frequency AC current ILAMP for driving the light source 120.
The feedback circuit 360 is configured to measure the current ILAMP which flows through the light source 120, thereby outputting a corresponding feedback signal FB to the control circuit 340. Therefore, the control circuit 340 may adjust the switching frequencies of the transistors Q1 and Q2 according to the current ILAMP, thereby providing a negative feedback close-loop current control for stabilizing the current ILAMP.
The control circuit 340 may be, but not limited to, a ballast chip which provides functions such as pre-heat, ignition and dimmer. In the present invention, the control circuit 340 is configured to operate the output circuit 350 according to the dimmer input signal CLK generated by the detection circuit 370 and the feedback signal FB generated by the feedback circuit 360, thereby adjusting the brightness of the light source 120.
Step 400: set the switch 110 in the first state so that the light source 120 provides a first brightness in an initial state.
Step 410: determine whether the switch 110 changes from the first state to the second state: if yes, execute step 420; if no, execute step 400.
Step 420: after the switch 110 changes from the first state to a second state at a first time point, gradually increase the brightness of the light source 120 from the first brightness to a second brightness within a dimmer period TDIM which starts from the first time point; execute step 430.
Step 430: determine whether the switch 110 changes from the second state to the first state at a second time point T2 within the dimmer period TDIM; if yes, execute step 440; if no, execute step 470.
Step 440: determine whether the switch 110 changes from the first state to the second state again at a third time point T3 within the dimmer period TDIM after the switch 110 changes from the second state to the first state at the second time point T2; if yes, execute step 450; if no, execute step 400.
Step 450: determine whether the period between the second time point T2 and the third time point T3 exceeds a turn-off time TOFF; if yes, execute step 420; if no, execute step 460.
Step 460: maintain the brightness of the light source 120 at a brightness which is obtained at the second time point T2.
Step 470: maintain the brightness of the light source 120 at the second brightness after the dimmer period TDIM has elapsed.
If the light source 120 is initially off in step 400, the first state of the switch 110 corresponds to the OFF state of the light source 120, the second state of the switch 110 corresponds to the ON state of the light source 120, the first brightness corresponds to zero luminance from the light source 120 when turned off, and the second brightness corresponds to the maximum luminance which the light source 120 may provide. When the user changes the state of the switch 110 for turning on the light, step 420 is executed for gradually increasing the brightness of the light source 120 from the first brightness to the second brightness (such as from zero luminance to the maximum luminance). If the state of the switch 110 is not toggled back within the dimmer period TDIM, step 470 is executed for maintaining the brightness of the light source 120 to the second brightness (such as the maximum luminance) after the dimmer period TDIM has elapsed. Within the dimmer period TDIM, the user may either turn off the light source 120 by re-toggling the state of the switch 110, or select the brightness of the light source 120 by giving a swift double-toggle on the switch 110. When the user only re-toggles the switch 110 once at the time point T2 within the dimmer period TDIM, steps 430, 440 and 400 are sequentially executed for turning off the light source 120 at the time point T2. When the user re-toggles the switch 110 firstly at the time point T2 and secondly at the time point T3 within the dimmer period TDIM, two things may be demanded: in the first case, the user wants to turn off the light source 120 at the time point T2 and turn on the light source 120 at the time point T3; in the second case, the user wants to adjust the brightness of the light source 120 at the time point T2. Therefore, the turn-off time TOFF is used for determining which demand these toggles at the time points T2 and T3 imply: if the period between the second time point T2 and the third time point T3 does not exceed the turn-off time TOFF, it is determined that brightness adjustment is required and steps 430, 440, 450 and 460 are sequentially executed for maintaining the brightness of the light source 120 at the value obtained at the second time point T2 (such as a specific value between zero luminance and the maximum luminance); if the period between the second time point T2 and the third time point T3 is larger than the turn-off time TOFF, it is determined that the light source 120 is required to be turned off at the time point T2 and turned on at the time point T3, and step 420 is executed for raising the brightness of the light source 120 to the second brightness (such as the maximum luminance). In other words, after the light source 120 is turned on, its brightness gradually increases so that the user may select an appropriate brightness by giving a swift double-toggle on the switch 110 within the dimmer period TDIM. Therefore, the illuminant system 300 of the present invention may provide dimmer function using a traditional switch without using a special rotary switch.
Similarly, if the light source 120 is initially on in step 400, the first state of the switch 110 corresponds to the ON state of the light source 120, the second state of the switch 110 corresponds to the OFF state of the light source 120, the first brightness corresponds to the maximum luminance which the light source 120 may provide, and the second brightness corresponds to zero luminance from the light source 120 when turned off. When the user changes the state of the switch 110 for turning off the light, step 420 is executed for gradually decreasing the brightness of the light source 120 from the first brightness to the second brightness (such as from the maximum luminance to zero luminance). If the state of the switch 110 is not toggled back within the dimmer period TDIM, step 470 is executed for maintaining the brightness of the light source 120 at the second brightness (such as zero luminance) after the dimmer period TDIM has elapsed. Within the dimmer period TDIM, the user may either turn on the light source 120 by re-toggling the state of the switch 110, or select the brightness of the light source 120 by giving a swift double-toggle on the switch 110. When the user only re-toggles the switch 110 once at the time point T2 within the dimmer period TDIM, steps 430, 440 and 400 are sequentially executed for turning on the light source 120 at the time point T2. When the user re-toggles the switch 110 firstly at the time point T2 and secondly at the time point T3 within the dimmer period TDIM, and the period between the second time point T2 and the third time point T3 does not exceed the turn-off time TOFF, steps 430, 440, 450 and 460 are sequentially executed for maintaining the brightness of the light source 120 at the value obtained at the second time point T2 (such as a specific value between zero luminance and the maximum luminance). In other words, after the light source 120 is turned off, its brightness gradually decreases so that the user may select an appropriate brightness by giving a swift double-toggle on the switch 110 within the dimmer period TDIM. Therefore, the illuminant system 300 of the present invention may provide dimmer function using a traditional switch without using a special rotary switch.
Step 400: set the switch 110 in the first state so that the light source 120 provides an initial brightness in an initial state.
Step 410: determine whether the switch 110 changes from the first state to the second state: if yes, execute step 415; if no, execute step 400.
Step 415: set the brightness of the light source 120 to a first brightness; execute step 420.
Step 420: gradually increase the brightness of the light source 120 from the first brightness to a second brightness within a dimmer period TDIM which starts from the first time point; execute step 430 after the switch 110 changes from the first state to a second state at a first time point.
Step 430: determine whether the switch 110 changes from the second state to the first state at a second time point T2 within the dimmer period TDIM; if yes, execute step 440; if no, execute step 470.
Step 440: after the switch 110 changes from the second state to the first state at the second time point T2, determine whether the switch 110 changes from the first state to the second state again at a third time point T3 within the dimmer period TDIM; if yes, execute step 450; if no, execute step 400.
Step 450: determine whether the period between the second time point T2 and the third time point T3 exceeds a turn-off time TOFF; if yes, execute step 415; if no, execute step 460.
Step 460: maintain the brightness of the light source 120 at a value which is obtained at the second time point T2.
Step 470: maintain the brightness of the light source 120 at the second brightness after the dimmer period TDIM has elapsed.
Similar to the flowchart in
In step 420, the brightness of the light source 120 may be gradually increased or decreased in a linear manner or in a non-linear manner. Or, multiple intermediate values between the first and second brightness may be provided so that the brightness of the light source 120 may be gradually increased or decreased in a stepwise manner. The values of the first brightness, the second brightness, the dimmer period TDIM and the turn-off time TDIMOFF may be determined according to different applications. The light source 120 may include one or more sets of fluorescent tubes, energy-saving tubes, or other types of lighting devices.
The detection circuit 370 according to the present invention is configured to monitor the input status of the AC signal VAC, thereby providing the corresponding dimmer input signal CLK according to how and how many times the switch 110 changes state. After the light source 120 is turned on/off, its brightness gradually increases/decreases so that the user may select an appropriate brightness by giving a swift double-toggle on the switch 110 within the dimmer period TDIM. Therefore, the illuminant system 300 of the present invention may provide dimmer function using a traditional switch without using a special rotary switch.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention.
Number | Date | Country | Kind |
---|---|---|---|
99112898 A | Apr 2010 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
20090190338 | Huang | Jul 2009 | A1 |
20110109249 | Liu et al. | May 2011 | A1 |
Number | Date | Country | |
---|---|---|---|
20120098447 A1 | Apr 2012 | US |