This application claims the priority benefit of Taiwan application serial no. 98102576, filed on Jan. 22, 2009. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of specification.
1. Field of the Invention
The present invention generally relates to a control technology, and more particularly, to a control technology of light emitting diode channels (LED channels).
2. Description of Related Art
Along with the upgrowth of the semiconductor industry and the related electronic industry, many digital means, such as mobile phone, digital camera, digital video camera, notebook and desktop computer, have been getting continuous evolutions and improvements towards more usage convenience, multi functions and stylish design. In order to use the information products, a displaying screen is an indispensable man-machine interface, by which a user can more conveniently manipulate the above-mentioned apparatuses. Among various displaying screens, the liquid crystal display (LED) has played a major role in the market. However, an LED is not self-luminescent, so that a backlight module must be employed and placed under the LED, which serves as a light source so as to make display possible.
On the other hand, a comparator 51 compares the voltage Ch1 with a voltage Vref_open. When the voltage Ch1 is lower than the voltage Vref_open, the comparator 51 outputs a signal short to indicate the LED channel 21 is open already. Analogically for the comparators 52-5x, the signal open output from an OR gate 62 is for indicating one of the LED channels 21-2x has open-circuit.
It should be noted that in the prior art, the quantity of the comparators is increased with the increasing quantity of the LED channels. However, since the comparators 42-4x and the comparators 52-5x are analog circuits, so that the circuit area thereof is considerably large with the increasing quantity thereof. In addition, the hardware cost would accordingly soars, which is disadvantageous for the circuit layout.
Accordingly, the present invention is directed to a controlling apparatus, which is capable of detecting whether or not any one of the employed LED channels works abnormally and reducing the demand on the comparators.
The present invention is also directed to a controlling method, which is capable of detecting whether or not any one of the employed LED channels works normally and reducing the demand on the comparators so as to lower down the hardware cost.
The present invention provides a controlling circuit, which includes a plurality of first switches and a comparator. The first terminals of the first switches are respectively coupled to one of a plurality of LED channels. The first switches are conducted according to a plurality of first switching signals respectively, wherein the first switching signals are asserted alternately. The first input terminal of the comparator is coupled to the second terminals of the first switches and the second input terminal of the comparator receives a reference voltage for comparing the voltage of the first input terminal with the voltage of the second input terminal so as to output a comparison result.
In an embodiment of the present invention, the above-mentioned, the controlling circuit further includes a signal generator, which is coupled to every of the first switches for generating the corresponding first switching signals. In more details, the signal generator includes an NOR gate and a flip-flop string. The NOR gate receives every of the first switching signals to generate a trigger signal. The flip-flop string receives the trigger signal to generates every of the first switching signals.
In an embodiment of the present invention, the controlling circuit includes a logic circuit. The logic circuit includes a flip-flop string, wherein the flip-flop string includes a plurality of flip-flops. The input terminal of each of the flip-flops receives the comparison result. The flip-flops respectively receive the first switching signals to generate a plurality of indication signals respectively, wherein the first switching signal serves as a clock signal of the corresponding flip-flop. In another embodiment, the logic circuit further includes an OR gate, and the OR gate receives the indication signals so as to generate an output signal.
In an embodiment of the present invention, the controlling circuit further includes an alert device coupled to the comparator. The alert device decides whether or not to send out an alert according to the comparison result. In another embodiment, the controlling circuit further includes a reference voltage generator, an error amplifier, a power supply, a voltage-dividing circuit and a voltage-regulating capacitor. The reference voltage generator is coupled to the comparator and outputs a second reference voltage according to the comparison, result. The error amplifier is coupled to the reference voltage generator and receives a second reference voltage and a dividing voltage so as to output an adjusting signal. The power supply is coupled to the error amplifier and all the LED channels, adjusts a supply voltage according to the adjusting signal and outputs the supply voltage to all the LED channels. The voltage-dividing circuit is coupled to the power supply and the error amplifier and generates the dividing voltage according to the supply voltage. The voltage-regulating capacitor is coupled to the power supply to stabilize the voltage.
In an embodiment of the present invention, the controlling circuit further includes a plurality of second switches. The first terminal for each of the second switches are respectively coupled to one of a plurality of voltages, and the second terminals of the second switches are coupled to the second input terminal of the comparator. The second switches are conducted according to a plurality of second switching signals respectively so as to select one of the voltages as the first reference voltage, wherein the second switching signals are asserted alternately.
In an embodiment of the present invention, the controlling circuit further includes a plurality of current sources. The current sources respectively connect in series one of the LED channels and respectively control the current flow each of the LED channels according to one of a plurality of light-adjusting signals.
In an embodiment of the present invention, the controlling circuit further includes a signal generator, which includes a first NOR gate, a second NOR gate, a third NOR gate, a first flip-flop string, a second flip-flop string, a plurality of AND gates, an inverter, a flip-flop and an OR gate. The first NOR gate receives a plurality of filtering signals to generate a trigger signal. The first flip-flop string receives the trigger signal to generate the filtering signals. The second flip-flop string receives a reference light-adjusting signal to generate all the light-adjusting signals. The first terminals of the AND gates respectively receive one of the filtering signals, and the second terminals of the AND gates respectively receive a corresponding light-adjusting signal so as to generate each of the first switching signals. The inverter receives a first filtering signal in the filtering signals. The first input terminal of the second NOR gate receives a first light-adjusting signal in the light-adjusting signals and the second input terminal of the second NOR gate is coupled to the output terminal of the inverter. The input terminal of the flip-flop is coupled to the output terminal of the second NOR gate. The third NOR gate receives the light-adjusting signals. The first input terminal and the second input terminal of the OR gate are respectively coupled to the output terminal of the flip-flop and the output terminal of the third NOR gate so as to output a reset signal to the first flip-flop string.
The present invention further provides a controlling method, which includes generating a plurality of signals, wherein the signals are asserted alternately and using a timing of the signals so as to monitor a voltage at a terminal of each of a plurality of LED channels respectively.
In an embodiment of the present invention, the step of using a timing of the signalsso as to monitor a voltage at a terminal of each of a plurality of LED channels respectively includes receiving the voltage at a terminal of one of the LED channels as a stand-by voltage according to the timing of the signals and comparing the stand-by voltage with a reference voltage so as to obtain a comparison result.
In an embodiment of the present invention, the step of generating the signals includes progressively delaying a reference signal so as to generate the signals.
Based on the described above, the present invention takes a novel scheme that generating a plurality of signals and respectively monitoring the voltage at a terminal of one of a plurality of LED channels according to the timing of the signals, wherein the signals are asserted alternately, so that the present invention is advantageous not only in monitoring whether or not the LED channels work abnormally, but also in reducing the hardware cost.
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
A controlling circuit of a conventional backlight module requires a number of comparators, which occupies a great circuit area, but also cost more. To avoid the disadvantage in the prior art, the embodiments of the present invention make a plurality of switches coupled to the first input terminal of a comparator, wherein the switches are turned on alternately, so that the voltages at a terminal of every of a plurality of LED channels is alternately input to the first input terminal of the comparator. The second input terminal of the comparator receives a reference voltage, and then the comparator compares the voltage of the first input terminal with the voltage of the second input terminal so as to output a comparison result. In this way, the embodiments of the present invention may detect whether or not the LED channels work abnormally by means of the comparison result. The embodiments of the present invention are also advantageous in effectively reducing the quantity of the employed comparators. Reference will now be made in detail to the present embodiments of the invention, examples of which are illustrated in the, accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
The anodes of the LED channels 21-2x receive a voltage Vin and the cathodes thereof are respectively coupled to the current sources 31-3X. The currents flowing the current sources 31-3X may be controlled according to a light-adjusting signal, so that the luminance of the LED channels 21-2x may be adjusted. The detecting circuit 70 is coupled to the cathodes of the LED channels 21-2x for detecting the voltages Ch1-Chx of the LED channels 21-2x.
The first terminals of the switches 301-30x may respectively receive the voltages Ch1-Chx and the second terminals thereof are coupled to the first input terminal of the comparator 91. The switches 301-30x are turned on according to the switching signals s1-sx respectively. The second input terminal of the comparator 91 receives a voltage Vref_open. The comparator 91 compares the voltage of the first input terminal with the voltage of the second input terminal thereof so as to output a comparison result ouput1 to indicate whether or not one of the LED channels 21-2x has open-circuit. In more details, when the voltage of the first input terminal of the comparator 91 is lower than the voltage Vref_open, it means one of LED channels 21-2x may be open.
Analogically for the rest, the first terminals of the switches 311-31x respectively receive the voltages Ch1-Chx, and the second terminals of the switches 311-31x are coupled to the first input terminal of the comparator 92. The switches 311-31x are turned on according to the switching signals s1-sx respectively. The second input terminal of the comparator 92 receives a voltage Vref_short. The comparator 92 compares the voltage of the first input terminal with the voltage of the second input terminal thereof so as to output a comparison result ouput2 to indicate whether or not one of the LED channels 21-2x has short-circuit. In more details, when the voltage of the first input terminal of the comparator 92 is higher than the voltage Vref_short, it means one of LED channels 21-2x may be short.
Next in step S402, a timing of the signals is used so as to monitor a voltage at a terminal of each of the LED channels respectively. For example, when the signal s1 is asserted and the switching signals s2-sx are deasserted, the switch 301 is turned on and the switches 302-30x are turned off, so that the first input terminal of the comparator 91 receives the voltage Ch1 at the cathode terminal of the LED channel 21. Meanwhile, the comparator 91 compares the voltage Ch1 with the reference voltage Vref_open so as to output the comparison result ouput1.
It should be noted that when the LED channel 21 is open, the equivalent resistance of the LED channel 21 is near to infinity, so that the voltage Ch1 approaches a ground voltage. Based on the above[mentioned consideration, anyone skilled in the art should appropriately define the reference voltage Vref_open, so that when the voltage Ch1 is lower than the reference voltage Vref_open, the comparison result ouput1 is able to indicate the LED channel 21 may be open. In addition, anyone skilled in the art may also dispose an alert device (not shown), for example, a light alert device or a sound alert device, and the alert device is coupled to the comparator 91 to send out an alert according to the comparison result ouput1.
When the signal s2 is asserted and the switching signals s1 and s3-sx are deasserted, the switch 302 is turned on and the switches 301 and 303-30x are turned off, so that the first input terminal of the comparator 91 receives the voltage Ch2 at the cathode terminal of the LED channel 22. Meanwhile, the comparator 91 compares the voltage Ch2 with the reference voltage Vref_open so as to output the comparison result ouput1. At the time, the comparison result ouput1 is able to indicate whether or not the LED channel 22 may be open. Analogically for indicating whether or not the LED channels 23-2x are open, which is omitted to describe.
On the other hand, when the signal s1 is asserted and the switching signals s2-sx are deasserted, the switch 311 is turned on and the switches 312-31x are turned off, so that the first input terminal of the comparator 92 receives the voltage Ch1 at the cathode terminal of the LED channel 21. Meanwhile, the comparator 92 compares the voltage Ch1 with the reference voltage Vref_short so as to output the comparison result ouput2.
When the LED channel 21 has short-circuit, the equivalent resistance of the LED channel 21 drops down; therefore, anyone skilled in the art should appropriately define the reference voltage Vref_short, so that when the voltage Ch1 is higher than the reference voltage Vref_short, the comparison result ouput2 is able to indicate the LED channel 21 may be open. In addition, anyone skilled in the art may also dispose an alert device (not shown), for example, a light alert device or a sound alert device, and the alert device is coupled to the comparator 92 to send out an alert according to the comparison result ouput2.
When the signal s2 is asserted and the switching signals s1 and s3-sx are deasserted, the switch 312 is turned on and the switches 311 and 313-31x are turned off, so that the first input terminal of the comparator 92 receives the voltage Ch2 at the cathode terminal of the LED channel 22. Meanwhile, the comparator 92 compares the voltage Ch2 with the reference voltage Vref_short so as to output the comparison result ouput2. At the time, the comparison result ouput2 is able to indicate whether or not the LED channel 22 may be short. Analogically for indicating whether or not the LED channels 23-2x are short, which is omitted to describe.
Based on the described above, the controlling circuit of the embodiment may detect whether or not the LED channels 21-2x are short or open. In addition, the embodiment employs two comparators (91 and 92) only. In particular, the quantity of the comparators is not increased with an increasing quantity of the LED channels, which may effectively reduce the circuit area and save the hardware cost.
Although the above-mentioned embodiment provides an implementation of the controlling circuit and the controlling method, but anyone skilled in the art should understand the relevant manufactures have their own designs of the controlling circuit and the controlling method. Therefore, the present invention is not limited to the above-mentioned implementation. In fact, whenever the voltage at a terminal of each of a plurality of LED channels is respectively monitored according to the timing of a plurality of signals which are asserted alternately, the scheme is counted to fall in the scope of the present invention. More embodiments of the present invention are described hereinafter for anyone skilled in the art to further understand the spirit of the present invention and to realize the present invention.
In more details, when the switching signals s1 and s_open are asserted and the switching signals s2-sx and s_short are deasserted, the signal c3 output from the comparator 91 may indicate whether or not the LED channel 21 is open; when the switching signals s1 and s_short are asserted and the switching signals s2-sx and s_open are deasserted, the signal c3 output from the comparator 91 may indicate whether or not the LED channel 21 is short. Analogically for the rest, when the switching signals s2 and s_open are asserted and the switching signals s1, s3-sx and s_short are deasserted, the signal c3 output from the comparator 91 may indicate whether or not the LED channel 22 is open; when the switching signals s2 and s_short are asserted and the switching signals s1, s3-sx and s_open are deasserted, the signal c3 output from the comparator 91 may indicate whether or not the LED channel 22 is short. In this way, not only the function of the first embodiment may be achieved, but also the embodiment may further reduce the circuit area and save the hardware cost.
The controlling circuit of the first embodiment is one of the implementations only, and anyone skilled in the art may modify the above-mentioned implementation of the controlling circuit and appropriately adjust the circuit architecture depending on the requirement. For example,
The power supply 131 provides a voltage to the LED channels 21-2x according to the voltage Vin. The voltage-regulating capacitor 151 is for stabling the voltage. The voltage-dividing circuit 141 is composed of, for example, a plurality of resistors in series connection, so that a dividing voltage Vin′ is generated according to the voltage provided by the power supply 131 and outputs the voltage Vin to the error amplifier 121. The error amplifier 121 adjusts the voltage provided by the power supply 131 according to the dividing voltage Vin′ and the voltage Vref provided by the detecting circuit. In more details, the error amplifier 121 adjusts the dividing voltage Vin′ to approach the voltage Vref. It should be noted that the detecting circuit 71 in the second embodiment is for detecting and deciding whether or not the voltages Ch1-CHx at the cathodes of the LED channels 21-2x are normal. Once an abnormal voltage is revealed by the detecting circuit 71, the voltage provided by the power supply 131 may be changed by altering the voltage Vref.
Differently from the first embodiment, the detecting circuit 71 of the embodiment further includes a reference voltage generator 161. The comparator 91 respectively compares the voltages Ch1-CHx with the voltage Vref_low_limit one by one, so as to output a comparison result c4 to the reference voltage generator 161. In more details, when one of or a plurality of the voltages Ch1-CHx is lower than the voltage Vref_low_limit, it indicates the voltage or the voltages is abnormal, and the reference voltage generator 161 would accordingly increase the value of the voltage Vref according to the comparison result c4, for example, the voltage Vref may be increased by selecting a set of voltages with higher values as the voltage Vref from a plurality of sets of voltages.
On the other hand, the comparator 92 respectively compares the voltages Ch1-CHx with the voltage Vref_high_limit one by one, so as to output a comparison result c5 to the reference voltage generator 161. In more details, when one of or a plurality of the voltages Ch1-CHx is higher than the voltage Vref_high_limit, it indicates the voltage or the voltages is abnormal, and the reference voltage generator 161 would accordingly reduce the value of the voltage Vref according to the comparison result c5, for example, the voltage Vref may be reduced by selecting a set of voltages with lower values as the voltage Vref from a plurality of sets of voltages.
The second embodiment further provides another implementation of the signal generator.
The flip-flops 181-18x receive the signal CLK as the clock signal and the signal clear as the reset signal. The NOR gate 180 receives a plurality of signals Cs1-Csx so as to output a signal Cstart. The flip-flop 182 receives the signal Cstart so as to output the signal Cs1. The flip-flop 182 receives the signal Cs1 so as to output the signal Cs2. Analogically for the flip-flops 183-18x, which are omitted to describe.
The flip-flop 193 receives the signal CLK as the clock signal and the signal Reset as the reset signal. The inverter 191 receives the signal Cs1 and outputs a signal L1. The NOR gate 192 receives the signal phase1 and the signal L1 so as to output a signal L2. The flip-flop 193 receives the signal L2 so as to output a signal L3. The NOR gate 194 receives the signals phase1-phasex so as to output a signal L4. The OR gate 195 receives the signals L3 and L4 so as to output the signal clear.
The AND gate 201 receives the signals phase1 and Cs1 so as to output the switching signal s1. The AND gate 202 receives the signals phase2 and Cs2 so as to output the switching signal s2. Analogically for the AND gates 203-20x, which are omitted to describe. In this way, the embodiment not only generates the switching signals s1-sx, but also ensures to respectively enable the signals phase1-phasex under the condition of respectively enabling the switching signals s1-sx, which is advantageous in reducing a misjudgement risk by the detecting circuit 70.
In summary, the present invention takes a scheme, which respectively and alternately monitors the voltage at a terminal of one of a plurality of LED channels. In this way, the present invention may monitor whether or not the LED channels are abnormal and reduce the hardware cost (for example, reducing the quantity of the comparators). In addition, the embodiments of the present invention has following advantages:
1. The embodiments may detect out whether or not the LED channels have short-circuit, open-circuit, excessive voltage or too low voltage by changing the reference voltage of the comparator (i.e., by providing an appropriate reference voltage to the comparator).
2. The embodiments may further analyze and identify which one of the LED channels is abnormal by disposing a logic circuit at the output terminal of the comparator in association with the timing of the switching signals.
3. The hardware cost may be further reduced by using the switches to select one of the reference voltages and inputting the selected reference voltage to the input terminal of the comparator.
4. When the voltage of an LED channel gets abnormal, a feedback mechanism may be used to adjust the voltage provided to the defective LED channel.
5. When the light-adjusting signal is asserted, a misjudgement risk may be reduced by monitoring the voltage at a terminal of each of the LED channels.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention covers modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
98102576 | Jan 2009 | TW | national |