1. Technical Field
The present disclosure relates to lighting devices, and particularly to a lighting device capable of automatically adjusting brightness according to ambient luminance.
2. Description of Related Art
A lighting device usually emits light in a fixed brightness. The fixed brightness may be not fit with a requirement of an environment, and peoples may feel uncomfortable.
Therefore, what is needed is a lighting device capable of automatically adjusting brightness according to ambient luminance to solve the above-mentioned problem.
Many aspects of the present disclosure should be better understood with reference to the following drawing. The components in the drawing are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present device. Moreover, in the drawing, like reference numerals designate corresponding components throughout the views.
The FIGURE is a circuit diagram of a lighting device capable of automatically adjusting brightness according to ambient luminance, in accordance with an exemplary embodiment.
Embodiments of the present disclosure are described with reference to the accompanying drawing.
The FIGURE shows an exemplary embodiment of a lighting device 100 capable of adjusting brightness according to ambient luminance automatically. The lighting device 100 includes a control unit 10, an input unit 20, a decoding unit 30, a display unit 40, a clock unit 50, a brightness adjusting unit 60, and a lighting unit 70. In this embodiment, the lighting unit 70 may include at least one light-emitting diode, or at least one incandescent bulb, for example. In this embodiment, the control unit 10 is AT89C51 microcontroller. The control unit 10 includes a number of input ports and a number of output ports. In this embodiment, the control unit 10 includes five data input ports In1-In5, a clock input port In6, a display output port OUT1, and five output ports OUT2-OUT6. In other embodiments, the number of data input ports and the number of output ports can be set as needed.
The input unit 20 is electrically connected to the control unit 10 via the data input ports In1-In5 and is used to receive user input. The control unit 10 is used to set a time period according to user input received by the input unit 20. If the lighting unit 70 is turned on to emit light in the time period, the lighting unit 70 then automatically adjusts the brightness according to ambient luminance during the time period. The control unit 10 is used to control the lighting unit 70 to adjust the brightness according to the set time period automatically. For example, suppose the set time period is from 6:00 AM to 19:30 PM, when the lighting unit 70 is turned on to emit light within the time period, the control unit 10 controls the lighting unit 70 to adjust the brightness according to ambient luminance automatically. In addition, when the lighting unit 70 is turned on to emit light out of the time period, the control unit 10 controls the lighting unit 70 to emit light in a fixed brightness. In this embodiment, the input unit 20 includes a number of buttons W1 provided for producing user input including setting the time period. Then the control unit 10 may set the time period according the user input by a well known technology. In an alternative embodiment, the input unit 20 may be a remote controller. In other embodiment, the input unit 20 may be a touch input device.
The decoding unit 30 is electrically connected to the display output interface OUT1. The decoding unit 30 receives a signal corresponding to the time period set according to the user input, and decodes the signal to output a decoded signal. In this embodiment, the decoding unit 30 is a chip with a model type 74LS138.
The display unit 40 is connected to the decoding unit 30 and is used to receive the decoded signal from the decoding unit 30, and display the time period set by the user according to the received decoded signal.
The clock unit 50 is electrically connected to the control unit 10 via the clock input port In6. The clock unit 50 provides a clock signal to the control unit 10. In this embodiment, the clock unit 50 is a chip with a model type DS1302.
The brightness adjusting unit 60 is used to detect the ambient luminance and control the lighting unit 70 to adjust the brightness according to the ambient luminance when the lighting unit 70 emits light within the time period, under the control of the control unit 10.
In this embodiment, the brightness adjusting unit 60 is connected to the control unit 10 and under the control of the control unit 10. The brightness adjusting unit 60 includes an operational amplifier 601 and a number of branch circuits 602. The operational amplifier 601 includes a non-inverting input terminal 6011, an inverting input terminal 6012, and an output terminal 6013. The branch circuits 602 are connected between the control unit 10 and the non-inverting input terminal 6011 of the operational amplifier 601 in parallel. In this embodiment, the brightness adjusting unit 60 includes five branch circuits 602, and each branch circuit 602 includes a diode D and a photoresistor R. The photoresistor R is a light-controlled variable resistor. In the embodiment, a resistance value of the photoresistor R is inversely proportional to the ambient brightness. The anode of the diodes D are respectively electrically connected to the output ports OUT2-OUT6. The cathode of each diode D is connected to the non-inverting input terminal 6011 of the operational amplifier 601 via the photoresistor R. The inverting input terminal 6012 of the operational amplifier 601 receives a reference voltage Vref. In the embodiment, the inverting input terminal 6012 of the operation amplifier 601 connects to a power source (not shown) and obtains the reference voltage Vref. The output terminal 6013 of the operational amplifier 601 is connected to the lighting unit 70. The operational amplifier 601 is used to compare the voltage input from the non-inverting input terminal 6011 with the reference voltage Vref, and output a voltage V to the lighting unit 70 via the output terminal 6013 according to the compared result. In this embodiment, the reference voltage Vref is equal to a minimum value of a voltage input to the positive input terminal 6011.
In the embodiment, the greater a difference between the voltage of the non-inverting input terminal 6011 and the inverting input terminal 6012, the smaller the voltage V output by the output terminal 6013. Because the voltage of the reference voltage Vref is a fixed value, the voltage of the non-inverting input terminal 6011 determines the difference between the voltage of the positive input terminal 6011 and the inverting input terminal 6012.
In this embodiment, the brighter the ambient luminance, the smaller the resistance value of the photoresistor R, and the greater the voltage input to the positive input terminal 6011. For example, if the ambient luminance is increased, the resistance value of the photoresistors R becomes smaller, thus the voltage input to the non-inverting input terminal 6011 is greater, and the difference between the voltage of the non-inverting input terminal 6011 and the reference voltage Vref of the inverting input terminal 6012 is greater, the output voltage V output by the output terminal 6013 is smaller. That is, the voltage V provided to the lighting unit 70 becomes smaller, and thus the brightness of the light emitted by the lighting unit 70 is decreased. Similarly, when the ambient luminance is decreased, the brightness of the light emitted by the lighting unit 70 is increased.
In this embodiment, the input unit 20 further includes a sensitivity increasing button W2 and a sensitivity decreasing button W3 to adjust a sensitivity of the lighting unit 70 for sensing the ambient luminance. In detail, if the sensitivity increasing button W2 is pressed one time, the control unit 10 controls one of the output ports OUT2-OUT6 to output a digital-high voltage to the corresponding branch circuit 602, thus one corresponding diode D in that branch circuit 602 is turned on, and the photoresistor R in that branch circuit 602 is enabled, therefore the number of enabled photoresistors R is increased, the sensitivity for sensing the ambient luminance is increased.
Similarly, if the sensitivity decreasing button W3 is pressed one time, the control unit 10 controls one of the output ports OUT2-OUT6 to output a digital-low voltage to the corresponding branch circuit 602, thus the diode D in that branch circuit 602 is turned off, and the photoresistor R in that branch circuit 602 is disabled, therefore the number of disabled photoresistors R is reduced, the sensitivity for sensing the ambient luminance is reduced. Thus, the control unit 10 increases the number of the output ports outputting the digital-high voltage and decreases the number of the output ports outputting the digital-low voltage when the sensitivity increasing button W2 is pressed. The control unit 10 decreases the number of the output ports outputting the digital-high voltage and increases the number of the output ports outputting the digital-low voltage when the sensitivity decreasing button W3 is pressed.
Although the present disclosure has been specifically described on the basis of exemplary embodiments thereof, the disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiments without departing from the scope and spirit of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2013101444344 | Apr 2013 | CN | national |