The description relates generally to driver circuits, and in particular embodiments to a light-emitting diode (LED) current adjustment apparatus in a driver circuit and a corresponding control method.
A light-emitting diode (LED) is an electronic device that emits light when an electric current flows through it. In order to properly drive the LED so as to provide more efficient and reliable LED lighting, a driver circuit is employed to produce the current and voltage necessary to turn on the LED. For example, the driver circuit is configured to covert a dc voltage such as 12 V from a battery pack to a regulated current for driving the LED.
The most common LED driver is a voltage controlled current source. The voltage controlled current source is coupled in series with an LED or a plurality of LEDs. The voltage controlled current source comprises a first current adjustment portion and a second current adjustment portion used alternatively.
The first current adjustment portion is configured to provide a coarse adjustment of the current flowing through the LED. The second current adjustment portion is configured to provide a fine adjustment of the current flowing through the LED.
The first current adjustment portion of the LED driver comprises a first digital-to-analog converter, a first amplifier, a first source follower and a first resistor. The first source follower and the first resistor are coupled in series. The first digital-to-analog converter is configured to receive a first digital reference signal, and convert this signal into a first analog reference signal fed into a non-inverting input of the first amplifier. An inverting input of the first amplifier is coupled to a common node of the first source follower and the first resistor. An output of the first amplifier is coupled to a gate of the first source follower. The first analog reference signal is applied to the first resistor. The current flowing through the first resistor can be adjusted in a coarse manner through adjusting the first analog reference signal.
The second current adjustment portion of the LED driver comprises a second digital-to-analog converter, a second amplifier, a second source follower and a second resistor. The second source follower and the second resistor are coupled in series. The second digital-to-analog converter is configured to receive a second digital reference signal, and convert this signal into a second analog reference signal fed into a non-inverting input of the second amplifier. An inverting input of the second amplifier is coupled to a common node of the second source follower and the second resistor. An output of the second amplifier is coupled to a gate of the second source follower. The second analog reference signal is applied to the second resistor. The current flowing through the second resistor can be adjusted in a fine manner through adjusting the second analog reference signal.
The LED driver described above requires two digital-to-analog converters for programming the LED current. Furthermore, the LED driver requires two amplifiers and two resistors for the fine current adjustment and the coarse current adjustment, respectively. The resistance values of the first resistor and the second resistor may vary when the temperature changes. The temperature-dependent characteristics of these two resistors may result in deteriorating accuracy during the LED current adjustment processes. It is desirable to have a simple and reliable LED driver to regulate and adjust the current flowing through the LED accurately.
In accordance with an embodiment, an apparatus comprises a digital-to-analog converter coupled in series with a source follower, wherein the digital-to-analog converter is configured to control a current flowing through the source follower, and an amplifier having a first input coupled to a reference generator, a second input coupled to a common node of the source follower and the digital-to-analog converter, and an output coupled to a gate of the source follower.
In accordance with another embodiment, a method comprises configuring an digital-to-analog converter to operate in a fine current adjustment mode to control a current flowing through a source follower coupled in series with the digital-to-analog converter, and configuring the digital-to-analog converter to operate in a coarse current adjustment mode to control the current flowing through the source follower coupled in series with the digital-to-analog converter, wherein the digital-to-analog converter comprises a first digital-to-analog conversion device controlled by lower bits of a digital signal, and a second digital-to-analog conversion device controlled by upper bits of the digital signal.
In accordance with yet another embodiment, an apparatus comprises a first digital-to-analog converter configured to receive lower bits of a digital signal and convert the lower bits into a first analog current, a second digital-to-analog converter configured to receive upper bits of the digital signal and convert the upper bits into a second analog current, a source follower having a first drain/source terminal coupled to an electronic device, and a second drain/source terminal coupled to the first digital-to-analog converter and the second digital-to-analog converter, wherein a current flowing through the source follower is equal to a sum of the first analog current and the second analog current, and an amplifier having a first input coupled to a reference generator, a second input coupled to the second drain/source terminal of the source follower, and an output coupled to a gate of the source follower.
The foregoing has outlined rather broadly the features and technical advantages of the present disclosure in order that the detailed description of the disclosure that follows may be better understood. Additional features and advantages of the disclosure will be described hereinafter which form the subject of the claims of the disclosure. It should be appreciated by those skilled in the art that the conception and specific embodiment disclosed may be readily utilized as a basis for modifying or designing other structures or processes for carrying out the same purposes of the present disclosure. It should also be realized by those skilled in the art that such equivalent constructions do not depart from the spirit and scope of the disclosure as set forth in the appended claims.
For a more complete understanding of the present disclosure, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
Corresponding numerals and symbols in the different figures generally refer to corresponding parts unless otherwise indicated. The figures are drawn to clearly illustrate the relevant aspects of the various embodiments and are not necessarily drawn to scale.
The making and using of embodiments of this disclosure are discussed in detail below. It should be appreciated, however, that the concepts disclosed herein can be embodied in a wide variety of specific contexts, and that the specific embodiments discussed herein are merely illustrative and do not serve to limit the scope of the claims. Further, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of this disclosure as defined by the appended claims.
The present disclosure will be described with respect to preferred embodiments in a specific context, namely an LED current adjustment apparatus. The present disclosure may also be applied, however, to a variety of systems and applications that adjust a current flowing through an electronic device. For example, the present disclosure may be applied to applications where either a sink current (e.g., common cathode LED panels) or a source current (e.g., common anode LED panels) is required. Hereinafter, various embodiments will be explained in detail with reference to the accompanying drawings.
In some embodiments, the digital-to-analog converter 104 is implemented as a segmented digital-to-analog converter. The segmented digital-to-analog converter may be configured as a coarse and/or fine digital-to-analog converter. Such a configuration can be used to replace two digital-to-analog converters (two DACs for coarse and fine current adjustment respectively) commonly used in a conventional LED current adjustment apparatus. Throughout the description, the digital-to-analog converter 104 may be alternatively referred to as a segmented digital-to-analog converter.
The segmented digital-to-analog converter 104 comprises a first digital-to-analog conversion device and a second digital-to-analog conversion device. In some embodiments, the first digital-to-analog conversion device is controlled by lower bits of the digital signal. More particularly, the first digital-to-analog conversion device converts the lower bits of the digital signal into a first analog current. The second digital-to-analog conversion device is controlled by upper bits of the digital signal. More particularly, the second digital-to-analog conversion device converts the upper bits of the digital signal into a second analog current. The current flowing through the driver 102 is the sum of the first analog current and the second analog current.
In some embodiments, the first digital-to-analog conversion device is a R2R digital-to-analog converter. The R2R digital-to-analog converter is also known as an R-2R resistor ladder network. The second digital-to-analog conversion device is a thermometric digital-to-analog converter. In some embodiments, the R2R digital-to-analog converter is controlled by L bits of the digital signal. L is an integer equal or greater than one. The L bits are the lower bits of the digital signal. The thermometric digital-to-analog converter is controlled by M bits of the digital signal. M is an integer equal or greater than one. The M bits are the upper bits of the digital signal.
In operation, the LED current adjustment apparatus wo may be configured to operate in different current adjustment modes. In some embodiments, the LED current adjustment apparatus wo is configured to operate in a fine current adjustment mode. In the fine current adjustment mode, the digital signal has 15 bits. L is equal to 6, and M is equal to 9. In some embodiments, the LED current adjustment apparatus wo is configured to operate in a coarse current adjustment mode. In the coarse current adjustment mode, the digital signal has 10 bits. The four most significant bits of this digital signal are tied to zero. The least significant bits are shifted to the left by one bit. L is equal to 5, and M is equal to 9 (four of the most significant bits are tied to zero). The detailed structures and operating principles of the R2R digital-to-analog converter and the thermometric digital-to-analog converter will be described below with respect to
In operation, the R2R digital-to-analog converter and the thermometric digital-to-analog converter are configured to leave the fine current adjustment mode and enter into the coarse current adjustment mode. During a transition from the fine current adjustment mode to the coarse current adjustment mode, control bits for controlling the R2R digital-to-analog converter are shifted to the left by one bit.
In operation, the R2R digital-to-analog converter and the thermometric digital-to-analog converter are configured to operate in the fine current adjustment mode. In the fine current adjustment mode, the R2R digital-to-analog converter and is configured as a 6-bit R2R digital-to-analog converter. The thermometric digital-to-analog converter is configured as a 9-bit thermometric digital-to-analog converter.
In operation, the R2R digital-to-analog converter and the thermometric digital-to-analog converter are configured to operate in the coarse current adjustment mode. In the coarse current adjustment mode, the R2R digital-to-analog converter is configured as a 6-bit R2R digital-to-analog converter. The least significant bit of the 6-bit R2R digital-to-analog converter is tied to a logic high state. The thermometric digital-to-analog converter is configured as a 9-bit thermometric digital-to-analog converter. The four most significant bits of the 9-bit thermometric digital-to-analog converter are tied to a logic low state.
The reference generator 112 comprises a second amplifier 154. The non-inverting input of the second amplifier 154 is configured to receive a reference signal VREF. The reference signal VREF is generated by a current source and a resistor, which will be described in detail below with respect to
It should be noted that both the first amplifier 152 and the second amplifier 154 may have an offset. In some embodiments, this offset is about +/−10 millivolts at a five-sigma level. Furthermore, the resistor may have a mismatch (<0.5%). Both the mismatch of the resistor and the offset of the amplifiers can be compensated by a suitable current trimming circuit.
The segmented digital-to-analog converter 104 is formed by two digital-to-analog converters, namely a R2R digital-to-analog converter 122 and a thermometric digital-to-analog converter 124. The detailed schematic diagrams of these two digital-to-analog converters will be described below with respect to
As shown in
As shown in
It should be noted the current flowing through the source follower S1 is the sum of the current flowing through the R2R digital-to-analog converter 122 and the current flowing through the thermometric digital-to-analog converter 124. By generating different digital signals, the currents flowing through the R2R digital-to-analog converter 122 and the thermometric digital-to-analog converter 124 may vary accordingly. As a result, the current flowing through the source follower S1 may change in response to the variation of the digital signal. As described above, the current flowing through the source follower S1 is substantially equal to the current flowing through the LED. As such, the current of the LED can be controlled through adjusting the output of the decoder 114.
In operation, the first amplifier 152 having an output coupled to the gate of the source follower S1 forces the voltage of the source of the source follower S1 to be at about V1 (VREF) by forcing the difference between the inverting and non-inverting terminals of the first amplifier 152 to be about zero volts. As such, the voltage applied to the R2R digital-to-analog converter 122 and the thermometric digital-to-analog converter 124 is substantially equal to VREF.
One advantageous feature of the LED current adjustment apparatus shown in
In operation, the current of the current source IBG flows through the resistor RREF to generate a digital-to-analog conversion voltage reference VREF. The current of the current source IBG is a temperature compensated current. In some embodiments, the temperature compensated current of the current source IBG may be achieved through suitable temperature compensation techniques such as the temperature compensation technique used in the bandgap voltage reference.
The temperature compensated current of the current source IBG has the smallest temperature coefficient (TC). For example, the TC of the current of the current source IBG is less than 30 ppm/degree. In some embodiments, the TC of the current of the current source IBG is about zero.
The resistor RREF and the resistors in the segmented digital-to-analog converter 104 (shown in
One advantageous feature of having a temperature compensated reference generator is by temperature compensating the reference generator, an accurate voltage reference can be ensured over a wide range of temperatures. Accordingly, the current flowing through the LED can be ensured to be sufficiently accurate over various operating conditions.
As shown in
In operation, the R2R digital-to-analog converter 122 may be used in converting a digital signal into a corresponding analog signal. For example, the R2R digital-to-analog converter 122 may generate a current corresponding to the digital signal. The operating principle of the R2R digital-to-analog converter is well known in the art, and hence is not discussed in further detail to avoid repetition.
It should be noted that the diagram shown in
Referring back to
Alternatively, the LED current adjustment apparatus wo may be configured to operate in the coarse current adjustment mode. In the coarse current adjustment mode, the current flowing through the R2R digital-to-analog converter can be expressed by the following equation:
As shown in
In operation, the thermometric digital-to-analog converter 124 may be used in converting a digital signal into a corresponding analog signal. For example, the thermometric digital-to-analog converter 124 may generate a current corresponding to the digital signal. The operating principle of the thermometric digital-to-analog converter is well known in the art, and hence is not discussed in further detail to avoid repetition.
It should be noted that the diagram shown in
Referring back to
Alternatively, the LED current adjustment apparatus wo may be configured to operate in the coarse current adjustment mode. In the coarse current adjustment mode, the current flowing through the thermometric digital-to-analog converter 124 can be expressed by the following equation:
Referring back to
In Equation (5), in some embodiments, M is equal to 9, and L is equal to 6. The last element (½L) is an offset. This offset is employed to set the full scale value at 2L+M×IBG×RREF/R.
An LED current adjustment apparatus comprises a digital-to-analog converter. The digital-to-analog converter is formed by a first digital-to-analog converter and a second digital-to-analog converter. The first digital-to-analog converter is configured to receive lower bits of a digital signal, and convert the lower bits into a first analog current. The second digital-to-analog converter is configured to receive upper bits of the digital signal, and convert the upper bits into a second analog current. The first digital-to-analog converter is a R2R digital-to-analog converter. The second digital-to-analog converter is a thermometric digital-to-analog converter.
The LED current adjustment apparatus further comprises a source follower and an amplifier. The source follower has a first drain/source terminal coupled to an electronic device (e.g., an LED), and a second drain/source terminal coupled to the digital-to-analog converter. A current flowing through the source follower is equal to a sum of the first analog current and the second analog current. The amplifier has a first input coupled to a reference generator, a second input coupled to the second drain/source terminal of the source follower, and an output coupled to a gate of the source follower.
The LED current adjustment apparatus may be configured to operate in different current adjustment modes, namely a fine current adjustment mode and a coarse current adjustment mode.
At step 802, the digital-to-analog converter is configured to operate in the fine current adjustment mode to control the current flowing through the source follower coupled in series with the digital-to-analog converter. In the fine current adjustment mode, the first digital-to-analog conversion device is configured as a 6-bit R2R digital-to-analog converter, and the second digital-to-analog conversion device is configured as a 9-bit thermometric digital-to-analog converter.
At step 804, the digital-to-analog converter is configured to operate in the coarse current adjustment mode to control the current flowing through the source follower coupled in series with the digital-to-analog converter. In the coarse current adjustment mode, the first digital-to-analog conversion device is configured as a 6-bit R2R digital-to-analog converter having the least significant bit tied to a logic high state. The second digital-to-analog conversion device is configured as a 9-bit thermometric digital-to-analog converter having four most significant bits tied to a logic low state.
It should be noted that the flow chart shown in
Although embodiments of the present disclosure and its advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the disclosure as defined by the appended claims.
Moreover, the scope of the present application is not intended to be limited to the particular embodiments of the process, machine, manufacture, composition of matter, means, methods and steps described in the specification. As one of ordinary skill in the art will readily appreciate from the disclosure of the present disclosure, processes, machines, manufacture, compositions of matter, means, methods, or steps, presently existing or later to be developed, that perform substantially the same function or achieve substantially the same result as the corresponding embodiments described herein may be utilized according to the present disclosure. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or steps.