LED COLOR AND BRIGHTNESS CONTROL DEVICE AND METHOD
Patent Information
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- DIODES INC
- Filing Date
- 2023-04-24
- Publication Date
- 2026-05-13
AI Technical Summary
Conventional RGB control methods for LED systems are complex and expensive, lacking design flexibility and reliability, due to partition and bundling control schemes that separately control brightness and color, leading to inefficient and costly systems.
A light-emitting diode (LED) control apparatus and method utilizing a mix-signal RGB controller that combines analog dimming and PWM dimming, employing a bandgap voltage reference, MOSFET devices, and a control circuit to generate precise current references and gate drive signals for controlling LED channels, with a sample and hold circuit for compensation and trimming, allowing for flexible and efficient color and brightness adjustment.
The solution provides a simple and reliable control apparatus that achieves high channel-to-channel accuracy and smooth dimming effects, reducing system complexity and cost while enhancing design flexibility and reliability.
Description
TECHNICAL FIELD
[0001] Embodiments of the invention are related to a light-emitting diode color and brightness control apparatus and method, and more particularly, to an RGB based LED system.BACKGROUND
[0002] A light-emitting diode (LED) is a semiconductor light source. When a voltage is applied to the LED, a current flows through the LED. In response to the current flowing through the LED, electrons and holes recombine in the PN Junction of the diode. In the recombination process, energy is released in the form of photons. The photons with different wavelengths and / or frequencies produce different colors of light. The primary LED colors are red, green and blue (RGB). Mixing these colors in different proportions can make almost all the colors of visible light.
[0003] To produce a different color, three RGB colors in different intensities are combined. The intensity of light produced by an LED is proportional to the current flowing through the LED. The current flowing through the LED can be adjusted to change the intensity of the LED, thereby achieving a different color through changing the intensities of the RGB colors.
[0004] An RGB based LED system plays a critical role in lighting technologies, which are widely used in fields such as automotive / industrial / architectural lighting, smart home appliances, wearable and handheld devices and the like. An RGB based LED system may comprise a plurality of RGB modules (e.g., 12 RGB modules). Each RGB module contains three light-emitting diodes, namely a red LED, a green LED and a blue LED. In most lighting applications, lights emitted from one RGB module are perceived by human eyes as a single point light source because of proximity of the three light-emitting diodes within one RGB module.
[0005] The three RGB colors of one RGB module are mixed into a single color and a single brightness level. The color and the brightness level of the RGB module can be changed through adjusting the currents flowing through the three light-emitting diodes in the RGB module. A variety of colors can be created by mixing the three RGB colors in different light emission intensity ratios of red, green and blue. The brightness level of an RGB module is the total emission intensity from the three light emitting diodes combined. The brightness level of a channel (a light-emitting diode) is proportional to the average current flowing through the LED channel.
[0006] The control process of an LED average current or emission intensity is often termed as dimming. The dimming process can be divided into two categories: analog dimming and PWM (pulse-width modulation) dimming. In the conventional RGB control methods, two complex control schemes are employed to control the color and the brightness level of the RGB based LED system. In a first RGB control method, a brightness PWM control scheme is applied to all RGB modules. In other words, the brightness and color of each RGB module are controlled separately. This is a partition control scheme. In a second RGB control method, a single functional control bit is used to control the color and the brightness level of a corresponding RGB module. This is a bundling control scheme. Either the partition control scheme or the bundling control scheme causes a complex and expensive system. Such a complex and expensive system has many shortcomings such as lack of design flexibility, poor reliability and the like. It would be desirable to have a simple control apparatus and method to effectively control the color and brightness level of an RGB based LED system.
[0007] US 6095661A describes a flashlight and corresponding method. The flashlight includes a housing, a plurality of LEDs, and an electrical circuit that selectively applies power from the DC voltage source to the LED units. In one embodiment, the first electrical circuit further includes a control circuit for maintaining a predetermined light output level of the LED units as a charge on a battery varies. In another embodiment, the control circuit maintains an average predetermined light output level of the LED units as the charge on the battery cell varies by changing a pulse width or frequency as the charge on the battery cell varies. Another aspect provides an illumination source that includes a light-emitting diode (LED) housing including one or more LEDs, and a control circuit that selectively applies power from a source of electric power to the LEDs. Still another aspect provides an illumination source including a light-emitting diode (LED) housing including one or more LEDs; and a control circuit that selectively applies power from a source of electric power to the LEDs.
[0008] US 2008 / 0315773 A1 describes an LED driving circuit that may control current flow into an LED on a current path according to the amount of light sensed from the LED. An LED driving circuit for driving at least one LED may include at least one of: An optical sensor for receiving light emitted from the LED and generating a feedback signal having a level corresponding to an amount of the received light. A current regulator provided on a path through which current of the LED flows for regulating an amount of current flowing into the LED according to a comparison of the feedback signal with a first reference signal.
[0009] KR 2012 / 0045798A describes an apparatus for driving a light emitting device, a driving circuit, and a driving method thereof. A voltage converting unit outputs a driving voltage by converting a voltage level. A sub light emitting unit is connected to an output terminal of the voltage converting unit and includes two or more light emitting devices which are serially connected. A light emitting unit emits light by a driving voltage. A driving unit controls a driving current value of the light emitting unit.
[0010] US20140197752A1 describes an array of LED diodes including N channels each having LEDs coupled in series with a switch. A current driver for the array includes a processing circuit configured to detect N currents flowing respectively through the N channels of the array. The detected currents are converted by a single analog to digital converter, one at a time, into a digital word. The circuit further includes N comparator devices configured to control the N switches as result of a comparison between the digital words and respective target digital words. A memory is provided for storing the digital words received from the analog to digital converter.
[0011] EP2575411A1 describes a circuit arrangement and a method for driving a multicolour LED arrangement. The circuit arrangement includes: at least a first light emitting diode and a second light emitting diode emitting light of different colours arranged adjacent to each other for additive colour mixing to provide a desired colour; a temperature sensing circuit configured to provide a temperature signal representing the temperature(s) of the light emitting diodes; a current source for each light emitting diode configured to provide the light emitting diodes with respective load currents in accordance with corresponding control signals received by the current sources; a first and a second modulator unit configured to generate the control signals which are modulated such that the time average value of each control signal corresponds to the value of a corresponding input signal of the respective sigma-delta modulator; and a calibration circuit configured to provide the input signals dependent on a colour signal defining the desired colour and dependent on the temperature signal.SUMMARY
[0012] These and other problems are generally solved or circumvented, and technical advantages are generally achieved, by preferred embodiments of the present disclosure which provide a light emitting diode (LED) color and brightness control apparatus and method.
[0013] In accordance with an embodiment of the present disclosure, a light emitting diode control apparatus is as defined in claim 1. Further preferred embodiments are defined in the dependent claims.
[0014] A maximum current flowing through the transistor may be determined by the set resistor.
[0015] The current mirror may comprise a first current mirror transistor and a second current mirror transistor having gates connected together and further connected to an output of the first operational amplifier. The first current mirror transistor and the set resistor may be connected in series between a bias voltage and ground. An inverting input of the first operational amplifier may be connected to the bandgap voltage reference. A non-inverting input of the first operational amplifier may be connected to a common node of the set resistor and the first current mirror transistor. The current-to-voltage conversion device may comprise an auxiliary transistor connected in series with the second current mirror transistor between the bias voltage and ground. A gate of the auxiliary transistor may be connected to the bias voltage. The non-inverting input of the second operational amplifier may be connected to a common node of the auxiliary transistor and the second current mirror transistor through the sample and hold circuit. An inverting input of the second operational amplifier may be connected to a source of the transistor. An output of the second operational amplifier maybe connected to the gate of the transistor. The plurality of MOSFET devices may be from a first MOSFET device group, a second MOSFET device group, a third MOSFET device group and a fourth MOSFET device group connected in parallel between the source of the transistor and ground.
[0016] The sample and hold circuit may comprise a first switch, a second switch, a third switch and a capacitor. The first switch may be connected between the common node of the auxiliary transistor and the second current mirror transistor, and the non-inverting input of the second operational amplifier. The second switch and the third switch may be connected in series between the common node of the auxiliary transistor and the second current mirror transistor, and the inverting input of the second operational amplifier. The capacitor may be connected between the non-inverting input of the second operational amplifier and a common node of the second switch and the third switch.
[0017] The first MOSFET device group may be controlled by a first global dimming control signal having 24 control bits. Under the first global dimming control signal, the first MOSFET device group may be configured to provide a bleed current for compensating a finite amount of time used for charging a gate of the transistor from a low voltage potential to a high voltage potential.
[0018] The first MOSFET device group may be controlled by a first global dimming control signal having 24 control bits. Under the first global dimming control signal, the first MOSFET device group may be configured to provide a bleed current for keeping the transistor to operate in an on state.
[0019] The first MOSFET device group may be controlled by a first global dimming control signal having 24 control bits. Under the first global dimming control signal, the first MOSFET device group may be configured to provide a bleed current for compensating a duty cycle loss caused by the sample and hold circuit.
[0020] The second MOSFET device group may be controlled by a second global dimming control signal having 6 control bits. Under the second global dimming control signal, the second MOSFET device group may be configured to provide a delay compensation current for compensating a delay caused by a voltage change on a gate of the transistor.
[0021] MOSFET devices in the third MOSFET device group may be selectively enabled by a third global dimming control signal having 6 control bits. Under the third global dimming control signal, the enabled MOSFET devices in the third MOSFET device group may be configured to provide a PWM current flowing through the transistor, and wherein the PWM current is generated based on a PWM signal generated by a PWM generator.
[0022] The fourth MOSFET device group may be controlled by a trimming control signal having 6 control bits. Under the trimming control signal, the fourth MOSFET device group may be configured to adjust a current flowing through the transistor so as to balance currents flowing through different channels.
[0023] The trimming control signal may be input through a digital interface for adjusting the current flowing through the transistor.
[0024] In accordance with an example of the present disclosure, a method for controlling brightness and color of a group of red, green and blue light emitting diode channels comprises in a lighting module comprising a red light emitting diode channel, a green light emitting diode channel and a blue light emitting diode channel, based on a predetermined color, determining three color digital values and saving the three color digital values in three corresponding color registers, based on a predetermined brightness level, determining a brightness digital value and saving the brightness digital value in a brightness register, and multiplying the three color digital values with the brightness digital value to achieve three PWM signals to control currents flowing through the red light emitting diode channel, the green light emitting diode channel and the blue light emitting diode channel, respectively.
[0025] The method may further comprise: determining a maximum current flowing the red light emitting diode channel, the green light emitting diode channel and the blue light emitting diode channel through selecting a value of a set resistor; adjusting the maximum current flowing the red light emitting diode channel, the green light emitting diode channel and the blue light emitting diode channel through selecting a predetermined set of MOSFET devices; and adjusting a current flowing through one of the red light emitting diode channel, the green light emitting diode channel and the blue light emitting diode channel through a PWM signal, wherein the PWM signal is configured to modulate the maximum current.
[0026] The method may further comprise: applying a bandgap voltage to the set resistor through a first operational amplifier to generate a first reference current; converting the first reference current into a second reference current through a current mirror; converting the second reference current into a first reference voltage through passing the second reference current through an auxiliary transistor operating in a triode region; generating a second reference voltage equal to the first reference voltage through a second operational amplifier; and applying the second reference voltage to plurality of MOSFET devices connected in parallel and coupled between a cathode of the one of the red light emitting diode channel, the green light emitting diode channel and the blue light emitting diode channel, and ground.
[0027] A transistor may be connected in series with the one of the red light emitting diode channel, the green light emitting diode channel and the blue light emitting diode channel. The current mirror may comprise a first current mirror transistor and a second current mirror transistor having gates connected together and further connected to an output of the first operational amplifier, The first current mirror transistor and the set resistor may be connected in series between a bias voltage and ground. An inverting input of the first operational amplifier may be connected to the bandgap voltage. A non-inverting input of the first operational amplifier may be connected to a common node of the set resistor and the first current mirror transistor. The auxiliary transistor operating in a triode region may be connected in series with the second current mirror transistor between the bias voltage and ground. A gate of the auxiliary transistor operating in a triode region may be connected to the bias voltage. A non-inverting input of the second operational amplifier may be connected to a common node of the auxiliary transistor operating in a triode region and the second current mirror transistor through a sample and hold circuit. An inverting input of the second operational amplifier may be connected to a source of the transistor. An output of the second operational amplifier may be connected to the gate of the transistor. The plurality of MOSFET devices may be from a first MOSFET device group, a second MOSFET device group, a third MOSFET device group and a fourth MOSFET device group connected in parallel between the source of the transistor and ground.
[0028] The method may further comprise providing a bleed current for compensating a finite amount of time used for charging a gate of the transistor from a low voltage potential to a high voltage potential through applying a first global dimming control signal having 24 control bits to gates of MOSFET devices in the first MOSFET device group.
[0029] The method may further comprise: providing a delay compensation current for compensating a delay caused by a voltage change on a gate of the transistor through applying a second global dimming control signal having 6 control bits to gates of MOSFET devices in the second MOSFET device group.
[0030] The method may further comprise: modulating the maximum current to generate a PWM current flowing through the transistor by applying the PWM signal to gates of MOSFET devices enabled by a third global dimming control signal having 6 control bits.
[0031] The method may further comprise: adjusting a current flowing through the transistor so as to balance currents flowing through different channels through applying a trimming control signal having 6 control bits to gates of MOSFET devices in the fourth MOSFET device group.
[0032] The sample and hold circuit may comprise a first switch, a second switch, a third switch and a capacitor. The first switch may be connected between the common node of the auxiliary transistor and the second current mirror transistor, and the non-inverting input of the second operational amplifier. The second switch and the third switch may be connected in series between the common node of the auxiliary transistor and the second current mirror transistor, and the inverting input of the second operational amplifier. The capacitor may be connected between the non-inverting input of the second operational amplifier and a common node of the second switch and the third switch.
[0033] The method may further comprise: during a PWM off phase, turning on the first switch and the third switch, and turning off the second switch to store an offset voltage in the capacitor; and during a PWM on phase, turning off the first switch and the third switch, and turning on the second switch to cancel the offset voltage.
[0034] In accordance with another embodiment of the present disclosure, a system comprises a plurality of lighting modules, each of which comprises a red light emitting diode channel, a green light emitting diode channel and a blue light emitting diode channel, and a light emitting diode control apparatus comprising a bandgap voltage reference configured to generate a current reference for controlling the plurality of lighting modules, a transistor, a plurality of MOSFET devices connected in parallel and couplable between a cathode of one light emitting diode channel and ground through the transistor, wherein the plurality of MOSFET devices are configurable to control a current flowing through the light emitting diode channel, a control circuit configured to generate gate drive signals for the plurality of MOSFET devices, wherein the gate drive signals are configurable to adjust the current flowing through the light emitting diode channel based on a predetermined color and a predetermined brightness level of the light emitting diode channel, a. first operational amplifier, wherein an output of the first operational amplifier is coupled to the transistor; and a sample and hold circuit coupled to the bandgap voltage reference, the sample and hold circuit configured to generate a reference voltage to a non-inverting input of the first operational amplifier and apply the reference voltage to the plurality of MOSFET devices.
[0035] The light emitting diode control apparatus may be an apparatus as described further above.
[0036] The light emitting diode control apparatus may further comprise: a second operational amplifier, a current mirror having inputs coupled to the bandgap voltage reference through the second operational amplifier; a set resistor coupled to the current mirror; and a current-to-voltage conversion device coupled to an output of the current mirror; wherein the sample and hold circuit is coupled between the output of the current mirror and the non-inverting input of the first operational amplifier.
[0037] The current mirror may comprise a first current mirror transistor and a second current mirror transistor having gates connected together and further connected to an output of the second operational amplifier. The first current mirror transistor and the set resistor may be connected in series between a bias voltage and ground. An inverting input of the second operational amplifier may be connected to the bandgap voltage reference. A non-inverting input of the second operational amplifier may be connected to a common node of the set resistor and the first current mirror transistor. The current-to-voltage conversion device may comprises an auxiliary transistor connected in series with the second current mirror transistor between the bias voltage and ground. A gate of the auxiliary transistor may be connected to the bias voltage. The non-inverting input of the first operational amplifier may be connected to a common node of the auxiliary transistor and the second current mirror transistor through the sample and hold circuit. An inverting input of the first operational amplifier may be connected to a source of the transistor. The output of the first operational amplifier may be connected to the gate of the transistor. The plurality of MOSFET devices may be from a first MOSFET device group, a second MOSFET device group, a third MOSFET device group and a fourth MOSFET device group connected in parallel between the source of the transistor and ground.
[0038] 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 scope of the disclosure as set forth in the appended claims.BRIEF DESCRIPTION OF THE DRAWINGS
[0039] 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: Figure 1 illustrates a block diagram of a control apparatus for a light emitting diode system in accordance with various embodiments of the present disclosure; Figure 2 illustrates a plurality of PWM generators for controlling the light emitting diodes shown in Figure 1 in accordance with various embodiments of the present disclosure; Figure 3 illustrates a schematic diagram of the control apparatus shown in Figure 1 in accordance with various embodiments of the present disclosure; Figure 4 illustrates a block diagram of the light emitting diode system shown in Figure 1 in accordance with various embodiments of the present disclosure; and Figure 5 illustrates a flow chart of controlling the light emitting diode system shown in Figure 1 in accordance with various embodiments of the present disclosure.
[0040] 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.DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
[0041] The making and using of the presently preferred embodiments are discussed in detail below. It should be appreciated, however, that the present disclosure provides many applicable inventive concepts that can be embodied in a wide variety of specific contexts. The specific embodiments discussed are merely illustrative of specific ways to make and use the disclosure, and do not limit the scope of the disclosure.
[0042] The present disclosure will be described with respect to preferred embodiments in a specific context, namely an RGB based LED system. The disclosure may also be applied, however, to a variety of LED systems. Hereinafter, various embodiments will be explained in detail with reference to the accompanying drawings.
[0043] Figure 1 illustrates a block diagram of a control apparatus for a light emitting diode system in accordance with various embodiments of the present disclosure. The light emitting diode system comprises a plurality of lighting modules (e.g., lighting modules 101 and 112). Each lighting module comprises a red light emitting diode channel, a green light emitting diode channel and a blue light emitting diode channel. In some embodiments, there may be 12 lighting modules in the light-emitting diode system.
[0044] As shown in Figure 1, a first lighting module 101 comprises three channels. Each channel comprises a light emitting diode. In some embodiments, D0 is a red light emitting diode. D1 is a green light emitting diode. D2 is a blue light emitting diode. The first lighting module 101 is a first RGB module. A second lighting module 112 comprises three channels. Each channel comprises a light emitting diode. In some embodiments, D33 is a red light emitting diode. D34 is a green light emitting diode. D35 is a blue light emitting diode. The second lighting module 112 is a second RGB module.
[0045] It should be noted that Figure 1 illustrates only two lighting modules of a light-emitting diode system that may include hundreds of such lighting modules. The number of lighting modules illustrated herein is limited solely for the purpose of clearly illustrating the inventive aspects of the various embodiments. The present disclosure is not limited to any specific number of lighting modules.
[0046] The control apparatus 100 is a mix-signal RGB controller combining analog dimming and PWM dimming for controlling an array of RGB modules (e.g., lighting modules 101 and 112). The generation of the color of a lighting module is achieved by setting the color control register of each channel of the lighting module. The generation of the brightness of the lighting module is achieved by setting the brightness control register of this lighting module. The output of the control apparatus 100 is configured to generate a PWM signal for each channel. In some embodiments, the PWM signal has a 12-bit PWM resolution and operates at a 30-kHz ultrasound frequency. The high PWM resolution such as a 12-bit PWM resolution, helps the RGB controller to achieve a smooth dimming effect. Selecting an ultrasound operating frequency prevents the RGB controller from producing audible noise.
[0047] In operation, the control apparatus 100 is configured to control the currents flowing through the respective light emitting diodes shown in Figure 1. Through controlling the currents flowing through three channels in a lighting module, the color and brightness of the lighting module can be adjusted accordingly.
[0048] As shown in Figure 1, the control apparatus 100 comprises a plurality of output terminals from Out0, Out1 and Out2 to Out33, Out34 and Out35. Each output terminal (e.g., Out0) is connected between a corresponding light emitting diode (e.g., D0) and ground (not shown but illustrated in Figure 3). Inside the control apparatus 100, a plurality of function units is connected to the output terminal (e.g., Out0). The plurality of function units is configured such that the currents flowing through the channels (light emitting diodes) of a lighting module (e.g., lighting module 101) are determined based on the color and brightness settings for this lighting module.
[0049] In some embodiments, the plurality of function units connected to the output terminal comprises a bandgap voltage reference, a plurality of MOSFET devices and a control circuit. The bandgap voltage reference is configured to generate a current reference for controlling a plurality of channels of the light emitting diode system. The plurality of MOSFET devices is connected in parallel and, through M1 in Figure 3, coupled between a cathode of a light emitting diode and ground. The plurality of MOSFET devices is configured to control a current flowing through the light emitting diode. The control circuit is configured to generate gate drive signals for the plurality of MOSFET devices. The gate drive signals are configured to achieve a predetermined color and a predetermined brightness level. The detailed schematic diagram of the plurality of function units will be discussed below with respect to Figure 3.
[0050] Figure 1 further illustrates a set resistor R SET connected between an I REF terminal and ground. The set resistor R SET is employed to set the maximum current flowing through the light emitting diodes shown in Figure 1. A capacitor C VCC is connected between a VCC terminal and ground. The capacitor C VCC is used to keep the voltage at VCC terminal constant and steady.
[0051] In operation, a lighting module (e.g., lighting module 101) comprises a red light emitting diode channel (e.g., D0), a green light emitting diode channel (e.g., D1) and a blue light emitting diode channel (e.g., D2). Based on a predetermined color, the control apparatus 100 determines three digital values for setting the color of the lighting module. The three digital values are stored in three corresponding color registers. Then, based on a predetermined brightness level, the control apparatus 100 determines a brightness digital value and saves the brightness digital value in a brightness register. Furthermore, the control apparatus 100 multiplies the three digital values for setting the color with the brightness digital value to achieve three PWM signals. These three PWM signals are used to control the currents flowing through the red light emitting diode channel, the green light emitting diode channel and the blue light emitting diode channel, respectively.
[0052] Figure 2 illustrates a plurality of PWM generators for controlling the light emitting diodes shown in Figure 1 in accordance with various embodiments of the present disclosure. The current flowing through each light emitting diode is controlled by a PWM signal. In some embodiments, the PWM signal is an exemplary 12-bit resolution PWM signal generated by a PWM generator.
[0053] As shown in Figure 2, a color-mixing unit is configured to generate a plurality of color control signals according to the color setting of the respective light emitting diodes. In some embodiments, each color control signal is an 8-bit color control signal. This 8-bit color control signal is saved in a corresponding color register.
[0054] As shown in Figure 2, an 8-bit color control signal R0 is used to determine the current flowing through a red light emitting diode in a first lighting module. An 8-bit color control signal G0 is used to determine the current flowing through a green light emitting diode in the first lighting module. An 8-bit color control signal B0 is used to determine the current flowing through a blue light emitting diode in the first lighting module. Through configuring these three color control signals, the color of the first lighting module can be determined accordingly. Likewise, an 8-bit color control signal R11 is used to determine the current flowing through a red light emitting diode in a twelfth lighting module. An 8-bit color control signal G11 is used to determine the current flowing through a green light emitting diode in the twelfth lighting module. An 8-bit color control signal B11 is used to determine the current flowing through a blue light emitting diode in the twelfth lighting module. Through configuring these three color control signals, the color of the twelfth lighting unit can be determined accordingly.
[0055] A brightness control unit is configured to generate a plurality of brightness control signals according to the brightness setting of the respective lighting modules. In some embodiments, each brightness control signal is an 8-bit brightness control signal. This 8-bit brightness control signal is saved in a corresponding brightness register.
[0056] As shown in Figure 2, the color control signals of a lighting module are multiplied by a corresponding brightness control signal to generate the PWM signals for the lighting module. For example, the 8-bit color control signal R0 is multiplied by the 8-bit brightness control signal of the first lighting module. The product of this multiplication is a 16-bit signal. The four least significant bits of this product are omitted depending on design needs. As a result, a 12-bit PWM signal is generated for the red light emitting diode of the first lighting module. In an embodiment shown in Figure 3, MG3 may contain six exemplary MOSFET devices controlled by a 6-bit global analog dimming control signal. The gate of each MOSFET device is configured to receive a 12-bit resolution PWM signal from a PWM Generator 304 shown in Figure 3.
[0057] Figure 3 illustrates a schematic diagram of the control apparatus shown in Figure 1 in accordance with various embodiments of the present disclosure. As shown in Figure 3, an anode of a light emitting diode D1 is connected to a power supply Vs. A cathode of the light emitting diode D1 is connected to an OUT node. The light emitting diode D1 may be any light emitting diode shown in Figure 1. The OUT node is connected to the corresponding output terminal shown in Figure 1.
[0058] The control apparatus comprises a bandgap voltage reference VG, a first amplifier A1, a current mirror formed by MP1 and MP2, a set resistor R SET , an auxiliary transistor M2, a sample and hold circuit 302 formed by switches S1, S2, S3 and capacitor C0, a control circuit 300, a second amplifier A2, a transistor M1 and a plurality of MOSFET device groups MG1, MG2, MG3 and MG4.
[0059] In operation, the bandgap voltage reference VG is configured to generate a current reference for controlling a plurality of light emitting diode channels (e.g., D1 shown in Figure 3). In some embodiments, the bandgap voltage reference is equal to 700 mV. The bandgap voltage reference is shared by all channels shown in Figure 3. One advantageous feature of having one single bandgap voltage reference for all light emitting diode channels is that the single bandgap voltage reference helps to improve channel-to-channel accuracy. In some embodiments, the channel-to-channel accuracy can be controlled within 2%. It should be noted that this high channel-to-channel accuracy is achieved without using common trimming options such as fuse trimming.
[0060] The plurality of MOSFET device groups MG1, MG2, MG3 and MG4 is connected in parallel and, through M1 in Figure 3, coupled between a cathode of the light emitting diode D1 and ground. The plurality of MOSFET device groups MG1, MG2, MG3 and MG4 is configured to control a current flowing through the light emitting diode D1. The control circuit 300 is configured to generate gate drive signals for the plurality of MOSFET device groups MG1, MG2, MG3 and MG4. The gate drive signals are configured to adjust the current flowing through the light emitting diode D1 based on a predetermined color and a predetermined brightness level of the light emitting diode D1.
[0061] As shown in Figure 3, the inputs of the current mirror MP1 / MP2 are coupled to the bandgap voltage reference VG through the first operational amplifier A1. The set resistor R SET is coupled to the current mirror. As shown in Figure 3, the current mirror comprises a first current mirror transistor MP1 and a second current mirror transistor MP2. The gates of MP1 and MP2 are connected together and further connected to an output of the first operational amplifier A1. An inverting input of the first operational amplifier A1 is connected to the bandgap voltage reference VG. A non-inverting input of the first operational amplifier A1 is connected to a common node of the set resistor R SET and the first current mirror transistor MP1.
[0062] As shown in Figure 3, the first current mirror transistor MP1 and the set resistor R SET are connected in series between a bias voltage Vb and ground. A current-to-voltage conversion device is coupled to an output of the current mirror. In some embodiments, the current-to-voltage conversion device is implemented as an auxiliary transistor M2 operating in a triode region. In other words, the auxiliary transistor M2 functions as a resistor. As shown in Figure 3, the auxiliary transistor M2 is connected in series with the second current mirror transistor MP2 between the bias voltage Vb and ground. The gate of the auxiliary transistor M2 is connected to the bias voltage Vb. It should be noted that Vb is a logic High voltage. Vb is also selectively connected to the gates of those devices in MG1, MG2, MG3 and MG4, as described in more detail below.
[0063] As shown in Figure 3, the second operational amplifier A2 is coupled between the output of the current mirror (the drain of MP2) and a gate of the transistor M1. A non-inverting input of the second operational amplifier A2 is connected to a common node of the auxiliary transistor M2 and the second current mirror transistor MP2 through the sample and hold circuit 302. An inverting input of the second operational amplifier A2 is connected to a source of the transistor M1. An output of the second operational amplifier A2 is connected to the gate of the transistor M1.
[0064] The plurality of MOSFET device groups comprises a first MOSFET device group MG1, a second MOSFET device group MG2, a third MOSFET device group MG3 and a fourth MOSFET device group MG4 connected in parallel between the source of the transistor M1 and ground.
[0065] The sample and hold circuit 302 comprises a first switch S1, a second switch S2, a third switch S3 and a capacitor C0. The first switch S1 is connected between the common node of the auxiliary transistor M2 and the second current mirror transistor MP2, and the non-inverting input of the second operational amplifier A2. The second switch S2 and the third switch S3 are connected in series between the common node of the auxiliary transistor M2 and the second current mirror transistor MP2, and the inverting input of the second operational amplifier A2. The capacitor C0 is connected between the non-inverting input of the second operational amplifier A2 and a common node of the second switch S2 and the third switch S3. The sample and hold circuit 302 and the second operational amplifier A2 form an auto-zero amplifier.
[0066] In some embodiments, when the PWM signal is of a 100% duty cycle, the auto-zero function can be achieved through a duty cycle compensation method. For example, the desired duty cycle is 100%. The PWM signal may be of a 97% duty cycle, and the rest (3%) is used to achieve the auto-zero function provided by the sample and hold circuit 302. In order to compensate the loss caused by the duty cycle mismatch (3% duty cycle), a duty cycle compensation current may be used. This duty cycle compensation current may be implemented as a bleed current. This duty cycle compensation current is able to cover the loss caused by the duty cycle mismatch.
[0067] In Figure 3, MG3 is the primary channel current regulator controlling about 97% of the channel current. MG1, MG2 and MG4 are auxiliary channel current regulators controlling about 3% of the channel current. MG1 is configured to provide a bleed current. MG1 contains 24 exemplary devices (e.g., MOSFET devices) for 24-bit programming. The gate of each device is configured to receive a DC voltage equal to either 0 V or Vb. MG2 is configured to provide a delay compensation current. MG2 contains six exemplary devices (e.g., MOSFET devices) for 6-bit programming. The gate of each device is configured to receive a DC voltage equal to either 0 V or Vb. MG3 is configured to provide 12-bit exemplary PWM dimming and 6-bit exemplary analog dimming simultaneously. MG3 contains six exemplary devices (e.g., MOSFET devices) for 6-bit analog dimming, and the gate of each device is configured to receive a 12-bit exemplary PWM signal from the PWM generator 304. MG4 is configured to provide current accuracy trimming. MG4 contains four exemplary devices (e.g., MOSFET devices) for 4-bit trimming, and the gate of each device is configured to receive a DC voltage equal to either 0 V or Vb.
[0068] It should be noted that the gates of the MOSFET devices in MG1, MG2, MG3 and MG4 are tied to Vb when a logic high signal is applied these gates. In addition, the drains of the MOSFET devices in MG1, MG2, MG3 and MG4 are maintained at a voltage level equal to Vref2. Through the gate and drain voltage settings above, the current flowing through M1 can be accurately controlled.
[0069] In operation, during a PWM off phase in which the PWM signal applied to the gate of MG3 has a logic low state, the first switch S1 and the third switch S3 are turned on, and the second switch S2 is turned off. As a result, the offset voltage is stored in the capacitor C0. During a PWM on phase in which the PWM signal applied to the gate of MG3 has a logic high state (Vg is equal to Vb), the first switch S1 and the third switch S3 are turned off, and the second switch S2 is turned on. As a result, the voltage stored in the capacitor C0 is added into the non-inverting input of the second operational amplifier A2 to cancel the offset voltage.
[0070] In operation, a maximum current flowing through the transistor M1 is determined by the set resistor R SET .
[0071] The current flowing through MP1 can be expressed by the following equation: I = VG / R SET
[0072] The ratio of the current mirror MP1 / MP2 is 1:m. In other words, the current flowing through MP2 is m times greater than the current flowing through MP1. M2 functions as a resistor because M2 is configured to operate in a triode region. The resistance of M2 is denoted as Ron_M2.
[0073] The current flowing through MP2 can be expressed by the following equation: Iref = m × VG / R SET
[0074] The voltage on the common node of MP2 and M2 is denoted as Vrefl. In consideration with Equation (2), Vrefl can be expressed by the following equation: Vref 1 = m × VG R SET × Ron_M 2
[0075] According to the operating principle of the second amplifier A2, Vref2 is equal to Vrefl. As shown in Figure 3, there are four MOSFET device groups connected in parallel between Vref2 and ground. The on resistance of each MOSFET device in the four MOSFET device groups is inversely proportional to the channel width W. As such, the maximum current flowing through M1 can be expressed as: Imax = Vref 2 / Ron_total
[0076] In Equation (4), Ron_total is the total resistance of the four MOSFET device groups connected in parallel. In some embodiments, Ron_total is inversely proportional to an equivalent width W_total. The resistance (Ron_M2) of M2 is inversely proportional to the width (W_2) of M2.
[0077] It should be noted that W_total is an equivalent width in consideration with the widths of the devices in MG1, MG2, MG3 and MG4. Furthermore, the duty cycle of the devices in MG3 may be considered when calculating W_total. For example, the width of the devices in MG3 is W_MG3. When the duty cycle of the devices in MG3 is 50%, the corresponding width of the devices in MG3 is equal to 0.5×W_MG3. Furthermore, there is a 6-bit analog dimming register that selects the equivalent width W_total from the six devices of MG3.
[0078] In consideration with Equation (3), Equation (4) can be expressed as: Imax = m × VG R SET × W _ total W _ 2
[0079] In Equation (5), m, W_total and W_2 can be replaced by a general parameter K. The maximum current Imax can be simplified as: Imax = K × VG R SET
[0080] Equation (6) indicates the maximum current flowing through M1 is determined by R SET and the 6-bit analog dimming register controlling the equivalent width W_total of MG3. By selecting different values of R SET , the maximum current flowing through M1 may vary accordingly. In some embodiments, Imax is equal to 70 mA.
[0081] As described above, LED emission (current) control can be categorized as a control scheme combining both analog dimming and PWM dimming for controlling a plurality of LED channels. Setting Imax by equation (6) is essentially an analog dimming process, which is achieved through setting global dimming control signals / registers of MOSFET device groups MG1, MG2, MG3 and MG4. In the analog dimming process, a plurality of predetermined MOSFET devices (e.g., MOSFET devices in MG3) are enabled, and the rest devices are disabled. When calculating W_total in equation (5), only those enabled MOSFET devices can contribute toward W_total. In the PWM dimming process, only MG3 is controlled by the PWM dimming signal generated by the PWM generator 304. It should be noted that in the PWM dimming process, only those enabled MOSFET devices in MG3 are subject to the PWM dimming control. As a result, the current flowing through M1 is regulated by applying the PWM dimming to Imax.
[0082] In operation, if the signal applied to the gate of M1 changes instantly from a low voltage (e.g., 0 V) to a high voltage potential (e.g., a supply voltage), there is a finite amount of time taken by the second amplifier A2 to charge the gate of M1 above the turn-on threshold voltage of M1. This transition leads to a significant amount of error. To avoid this error, a bleed current provided by MG1 is used to keep M1 always on to compensate this error. In some embodiments, this bleed current is adjustable.
[0083] As shown in Figure 3, the first MOSFET device group MG1 is controlled by a first global dimming control signal having 24 control bits. Under the first global dimming control signal, the first MOSFET device group MG1 is configured to provide the bleed current for compensating a finite amount of time used for charging the gate of the transistor M1 from a low voltage potential (e.g., 0 V) to a high voltage potential (e.g., a supply voltage). Under the first global dimming control signal, the first MOSFET device group MG1 may also be configured to provide the bleed current for keeping the transistor to operate in an on state, and / or for compensating a duty cycle loss caused by the sample and hold circuit.
[0084] In operation, with the bleed current added, when the PWM signal changes from a low voltage (e.g., 0 V) to a high voltage potential (e.g., a supply voltage), the gate voltage of M1 needs to change to support the increased current. The increased current means the current is the sum of the bleed current and the maximum current set by Equation (6). Furthermore, when a MOSFET device group such as MG3 is turned on, the voltage on the node VMG falls down. In order to maintain Vref2 equal to Vrefl, the second operational amplifier A2 has to increase the voltage on the gate of M1, thereby increasing the current flowing through M1. The increased current flowing through M1 charges VMG to a level equal to Vrefl. Due to various parasitic capacitors coupled to VMG, there may be a delay error. To avoid this delay error, a small current is provided by MG2 to compensate this delay error. In particular, the second MOSFET device group MG2 is controlled by a second global dimming control signal having 6 exemplary control bits. Under the second global dimming control signal, the second MOSFET device group MG2 is configured to provide a delay compensation current for compensating the delay error.
[0085] In operation, the third MOSFET device group MG3 is controlled by a third global dimming control signal having 6 control bits. Under the third global dimming control signal, the third MOSFET device group MG3 is configured to provide a PWM current flowing through the transistor M1. More particularly, MOSFET devices in the third MOSFET device group MG3 are selectively enabled by the third global dimming control signal having 6 control bits. Under the third global dimming control signal, the enabled MOSFET devices in the third MOSFET device group MG3 are configured to provide the PWM current flowing through the transistor M1. The PWM current is generated based on a PWM signal generated by the PWM generator 304.
[0086] In operation, systematic errors due to factors such as layout mismatch between different channels may cause channel-to-channel inaccuracy. This channel-to-channel inaccuracy can be corrected by using a trimming option. Under this trimming option, currents can be added or removed from M1 to minimize the channel-to-channel inaccuracy. As shown in Figure 3, the fourth MOSFET device group MG4 is controlled by a trimming control signal having 6 control bits. Under the trimming control signal, the fourth MOSFET device group MG4 is configured to adjust a current flowing through the transistor M1 so as to balance currents flowing through different channels. In some embodiments, the trimming control signal is input through a suitable digital interface such as I2C, Universal Asynchronous Receiver-Transmitter (UART) and the like, for adjusting the current flowing through the transistor M1.
[0087] One advantageous feature of having the control apparatus shown in Figure 3 is that the voltage on the drain of M1 can be reduced. In some embodiments, the voltage on the drain of M1 is as low as 350 mV. Such a low voltage helps to reduce power dissipation in the control apparatus. Such an advantage of reducing power dissipation is achieved through the A2 op-amp loop, in which the VMG voltage is regulated at a precise low value, such as about 200 mV.
[0088] It should be noted that Figure 3 is simplified such that only one of many LED channels is shown. In the light emitting diode system, the first amplifier A1, MP1 of the current mirror and the set resistor R SET are unique and shared by all LED channels. The circuit 350 in the dashed rectangle is employed to control the current flowing one channel. The detailed implementation of the light emitting diode system will be described below with respect to Figure 4.
[0089] It should further be noted that the method of generating Vrefl is quite flexible. In some embodiments, the control apparatus may generate a single Vrefl for all channels. Alternatively, the control apparatus may generate a dedicated Vrefl for each channel (e.g., the system configuration shown in Figure 4). This is a matter of tradeoff between design simplicity and matching accuracy. Furthermore, in some embodiments, three reference signals may be employed to control all channels. In particular, the control apparatus is configured to generate a first Vrefl shared by all red LED channels. The control apparatus is configured to generate a second Vref1 shared by all green LED channels. The control apparatus is configured to generate a third Vref1 shared by all blue LED channels.
[0090] Figure 4 illustrates a block diagram of the light emitting diode system shown in Figure 1 in accordance with various embodiments of the present disclosure. The light emitting diode system includes 36 channels (D0-D35). Each circuit 350 shown in Figure 4 is used to drive one channel. Each circuit 350 has three inputs connected to Vb, Vg and Vb, respectively. As shown in Figure 4, the first amplifier A1, MP1 and R SET are shared by all 36 channels. Vb is a bias voltage. Vg is tapped from the gate of MP1.
[0091] It should be noted that Figure 4 illustrates only 36 channels of a light-emitting diode system that may include hundreds of such channels. The number of channels illustrated herein is limited solely for the purpose of clearly illustrating the inventive aspects of the various embodiments. The present disclosure is not limited to any specific number of channels.
[0092] Figure 5 illustrates a flow chart of controlling the light emitting diode system shown in Figure 1 in accordance with various embodiments of the present disclosure. This flowchart shown in Figure 5 is merely an example, which should not unduly limit the scope of the claims.
[0093] Referring back to Figures 1 and 3, a light emitting diode system comprises a plurality of lighting modules (e.g., lighting modules 101 and 112 shown in Figure 1). Each lighting module comprises a red light emitting diode channel, a green light emitting diode channel and a blue light emitting diode channel. In some embodiments, there may be 12 lighting modules. Each module has three channels. The light emitting diode system includes 36 exemplary channels.
[0094] A light emitting diode control apparatus (e.g., control apparatus 100 shown in Figure 1) is employed to control the color and brightness of the light emitting diode system. The light emitting diode control apparatus comprises a bandgap voltage reference (e.g., VG shown in Figure 3), a plurality of MOSFET devices (e.g., devices in MG1, MG2, MG3 and MG4 shown in Figure 3), a control circuit (e.g., control apparatus 100 shown in Figure 3), and a PWM generator.
[0095] The bandgap voltage reference is configured to generate a current reference for control a plurality of light emitting diode channels in the light emitting diode system. For each channel, the plurality of MOSFET devices (e.g., devices in MG1, MG2, MG3 and MG4 shown in Figure 3) is connected in parallel and, through M1 in Figure 3, coupled between a cathode of the light emitting diode of this channel and ground. The plurality of MOSFET devices is configured to control a current flowing through the light emitting diode of this channel. The control circuit is configured to generate gate drive signals for the plurality of MOSFET devices. The gate drive signals are configured to adjust the current flowing through the light emitting diode based on a predetermined color and a predetermined brightness level of the channel.
[0096] A method below is employed to control the brightness and color from a group of red, green and blue light emitting diode channels in the light emitting diode system.
[0097] At step 502, in a lighting module comprising a red light emitting diode channel, a green light emitting diode channel and a blue light emitting diode channel, based on a predetermined color, three color digital values are determined and saved in three corresponding color registers.
[0098] At step 504, based on a predetermined brightness level, a brightness digital value is determined and saved in a brightness register.
[0099] At step 506, the three color digital values are multiplied with the brightness digital value to achieve three PWM signals to control currents flowing through the red light emitting diode channel, the green light emitting diode channel and the blue light emitting diode channel, respectively.
[0100] The method further comprises determining a maximum current flowing the red light emitting diode channel, the green light emitting diode channel and the blue light emitting diode channel through selecting a value of a set resistor, adjusting the maximum current flowing the red light emitting diode channel, the green light emitting diode channel and the blue light emitting diode channel through selecting a predetermined set of MOSFET devices, and adjusting a current flowing through one of the red light emitting diode channel, the green light emitting diode channel and the blue light emitting diode channel through a PWM signal, wherein the PWM signal is configured to modulate the maximum current.
[0101] The method further comprises applying a bandgap voltage to the set resistor through a first operational amplifier to generate a first reference current, converting the first reference current into a second reference current through a current mirror, converting the second reference current into a first reference voltage through passing the second reference current through an auxiliary transistor operating in a triode region, generating a second reference voltage equal to the first reference voltage through a second operational amplifier, and applying the second reference voltage to plurality of MOSFET devices connected in parallel and coupled between a cathode of the one of the red light emitting diode channel, the green light emitting diode channel and the blue light emitting diode channel, and ground.
[0102] A transistor (e.g., M1 in Figure 3) is connected in series with the one (e.g., D1 in Figure 3) of the red light emitting diode channel, the green light emitting diode channel and the blue light emitting diode channel. The current mirror comprises a first current mirror transistor (e.g., MP1 in Figure 3) and a second current mirror transistor (e.g., MP2 in Figure 3) having gates connected together and further connected to an output of the first operational amplifier (e.g., A1 in Figure 3). The first current mirror transistor and the set resistor (e.g., R SET in Figure 3) are connected in series between a bias voltage (e.g., Vb in Figure 3) and ground. An inverting input of the first operational amplifier is connected to the bandgap voltage (e.g., VG in Figure 3). A non-inverting input of the first operational amplifier is connected to a common node of the set resistor and the first current mirror transistor. The auxiliary transistor (e.g., M2 in Figure 3) operating in a triode region is connected in series with the second current mirror transistor between the bias voltage and ground. A gate of the auxiliary transistor operating in a triode region is connected to the bias voltage. A non-inverting input of the second operational amplifier (e.g., A2 in Figure 3) is connected to a common node of the auxiliary transistor operating in a triode region and the second current mirror transistor through a sample and hold circuit (e.g., S1, S2, S3 and C0 in Figure 3). An inverting input of the second operational amplifier is connected to a source of the transistor. An output of the second operational amplifier is connected to the gate of the transistor. The plurality of MOSFET devices is from a first MOSFET device group (e.g., MG1 in Figure 3), a second MOSFET device group (e.g., MG2 in Figure 3), a third MOSFET device group (e.g., MG3 in Figure 3) and a fourth MOSFET device group (e.g., MG4 in Figure 3) connected in parallel between the source of the transistor and ground.
[0103] The method further comprises providing a bleed current for compensating a finite amount of time used for charging a gate of the transistor from a low voltage potential to a high voltage potential through applying a first global dimming control signal having 24 control bits to gates of MOSFET devices in the first MOSFET device group.
[0104] The method further comprises providing a delay compensation current for compensating a delay caused by a voltage change on a gate of the transistor through applying a second global dimming control signal having 6 control bits to gates of MOSFET devices in the second MOSFET device group.
[0105] The method further comprises modulating the maximum current to generate a PWM current flowing through the transistor by applying the PWM signal to gates of MOSFET devices enabled by a third global dimming control signal having 6 control bits.
[0106] The method further comprises adjusting a current flowing through the transistor so as to balance currents flowing through different channels through applying a trimming control signal having 6 control bits to gates of MOSFET devices in the fourth MOSFET device group.
[0107] The sample and hold circuit (e.g., sample and hold circuit 302 in Figure 3) comprises a first switch (e.g., S1 in Figure 3), a second switch (e.g., S2 in Figure 3), a third switch (e.g., S3 in Figure 3) and a capacitor (e.g., C0 in Figure 3). The first switch is connected between the common node of the auxiliary transistor (e.g., M2 in Figure 3) and the second current mirror transistor (e.g., MP2 in Figure 3), and the non-inverting input of the second operational amplifier (e.g., A2 in Figure 3). The second switch and the third switch are connected in series between the common node of the auxiliary transistor and the second current mirror transistor, and the inverting input of the second operational amplifier. The capacitor is connected between the non-inverting input of the second operational amplifier and a common node of the second switch and the third switch.
[0108] The method further comprises during a PWM off phase, turning on the first switch and the third switch, and turning off the second switch to store an offset voltage in the capacitor, and during a PWM on phase, turning off the first switch and the third switch, and turning on the second switch to cancel the offset voltage.
[0109] 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. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or steps.
Claims
1. A light emitting diode color and brightness control apparatus comprising: a bandgap voltage reference (VG) configured to generate a current reference for controlling a plurality of light emitting diode channels; a transistor (M1) coupleable in series to a cathode of a light emitting diode channel (D1) of the plurality of light emitting diodes channels; a first operational amplifier (A1); a plurality of MOSFET devices (MG1, MG2, MG3, MG4) connected in parallel and couplable between the cathode of the light emitting diode channel (D1) and ground through a source of the transistor (M1), wherein the plurality of MOSFET devices (MG1, MG2, MG3, MG4) is configured to control a current flowing through the light emitting diode channel; a control circuit (300) configured to generate gate drive signals for the plurality of MOSFET devices (MG1, MG2, MG3, MG4), wherein the gate drive signals are configured to adjust the current flowing through the light emitting diode channel based on a predetermined color and a predetermined brightness level of the light emitting diode channel; a current mirror having inputs coupled to the bandgap voltage reference (VG) through the first operational amplifier (A1); a set resistor (RSET) coupled to the current mirror; a current-to-voltage conversion device coupled to an output of the current mirror; a second operational amplifier (A2), wherein an output of the second operational amplifier is coupled to a gate of the transistor (M1); and a sample and hold circuit (302) coupled between the output of the current mirror and a non-inverting input of the second operational amplifier (A2), wherein the first operational amplifier (A1) is configured to apply the bandgap voltage reference (VG) to the set resistor (RSET) to generate a first reference current (I), the current mirror is configured to convert the first reference current (I) into a second reference current (Iref), the current-to-voltage conversion device is configured to convert the second reference current (Iref) into a first reference voltage (Vref1), the sample and hold circuit is configured to provide the first reference voltage (Vref 1) to the non-inverting input of the second operational amplifier (A2), the second operational amplifier (A2) being configured to generate a second reference voltage (Vref 2) equal to the first reference voltage (Vref1) at an inverting input thereof, thereby applying the second reference voltage (Vref2) to a common drain of the plurality of MOSFET devices (MG1, MG2, MG3, MG4).
2. The light emitting diode color and brightness control apparatus of claim 1, wherein: the set resistor (RSET) is configured to determine a maximum current flowing through the transistor (M1).
3. The light emitting diode color and brightness control apparatus of claim 1, wherein: the current mirror comprises a first current mirror transistor (MP1) and a second current mirror transistor (MP2) having gates connected together and further connected to an output of the first operational amplifier (A1); the first current mirror transistor (MP1) and the set resistor (RSET) are connected in series between a bias voltage (Vb) and ground; an inverting input of the first operational amplifier is connected to the bandgap voltage reference (VG); a non-inverting input of the first operational amplifier (A1) is connected to a common node of the set resistor (RSET) and the first current mirror transistor (MP1); the current-to-voltage conversion device comprises an auxiliary transistor (M2) connected in series with the second current mirror transistor (MP2) between the bias voltage (Vb) and ground, and wherein a gate of the auxiliary transistor is connected to the bias voltage; the non-inverting input of the second operational amplifier (A2) is connected to the output of the current mirror through the sample and hold circuit (302), the output of the current mirror comprising a common node of the auxiliary transistor (M2) and the second current mirror transistor (MP2); the inverting input of the second operational amplifier (A2) is connected to the source of the transistor (M1); and the plurality of MOSFET devices (MG1, MG2, MG3, MG4) comprises a first MOSFET device group (MG1), a second MOSFET device group (MG2), a third MOSFET device group (MG3) and a fourth MOSFET device group (MG4) connected in parallel between the source of the transistor (M1) and ground.
4. The light emitting diode color and brightness control apparatus of claim 3, wherein: the sample and hold circuit (302) comprises a first switch (S1), a second switch (S2), a third switch (S3) and a capacitor (C0), and wherein: the first switch (S1) is connected between the common node of the auxiliary transistor (M2) and the second current mirror transistor (MP2), and the non-inverting input of the second operational amplifier (A2); the second switch (S2) and the third switch (S3) are connected in series between the common node of the auxiliary transistor (M2) and the second current mirror transistor (MP2), and the inverting input of the second operational amplifier (A2); and the capacitor (C0) is connected between the non-inverting input of the second operational amplifier (A2) and a common node of the second switch (S2) and the third switch (S3).
5. The light emitting diode color and brightness control apparatus of claim 3 or 4, wherein: the first MOSFET device group (MG1) is configured to be controlled by a first global dimming control signal having 24 control bits, and wherein under the first global dimming control signal, the first MOSFET device group (MG1) is configured to provide a bleed current for compensating a finite amount of time used for charging the gate of the transistor (M1) from a low voltage potential to a high voltage potential.
6. The light emitting diode color and brightness control apparatus of claim 3 or 4, wherein: the first MOSFET device group (MG1) is configured to be controlled by a first global dimming control signal having 24 control, and wherein under the first global dimming control signal, the first MOSFET device group (MG1) is configured to provide a bleed current for keeping the transistor (M1) to operate in an on state.
7. The light emitting diode color and brightness control apparatus of claim 3 or 4, wherein: the first MOSFET device group (MG1) is configured to be controlled by a first global dimming control signal having 24 control bits, and wherein under the first global dimming control signal, the first MOSFET device group (MG1) is configured to provide a bleed current for compensating a duty cycle loss caused by the sample and hold circuit (302).
8. The light emitting diode color and brightness control apparatus of any one of claims 3 to 7, wherein: the second MOSFET device group (MG2) is configured to be controlled by a second global dimming control signal having 6 control bits, and wherein under the second global dimming control signal, the second MOSFET device group (MG2) is configured to provide a delay compensation current for compensating a delay caused by a voltage change on the gate of the transistor (M1).
9. The light emitting diode color and brightness control apparatus of any one of claims 3 to 8, wherein: the apparatus further comprises a PWM generator (304) configured to generate a PWM signal; and MOSFET devices in the third MOSFET device group (MG3) are configured to be selectively enabled by a third global dimming control signal having 6 control bits, and wherein under the third global dimming control signal, the enabled MOSFET devices in the third MOSFET device group (MG3) are configured to provide a PWM current flowing through the transistor (M1) based on the PWM signal.
10. The light emitting diode color and brightness control apparatus of any one of claims 3 to 9, wherein: the fourth MOSFET device group (MG4) is configured to be controlled by a trimming control signal having 6 control bits, and wherein under the trimming control signal, the fourth MOSFET device group (MG4) is configured to adjust a current flowing through the transistor (M1) so as to balance currents flowing through different channels.
11. The light emitting diode color and brightness control apparatus of claim 10, wherein: the apparatus is configured to receive the trimming control signal through a digital interface for adjusting the current flowing through the transistor (M1).
12. A system comprising: a plurality of lighting modules (101, 112), each of which comprises a red light emitting diode channel (D0, D33), a green light emitting diode channel (D1, D34) and a blue light emitting diode channel (D3, D35); and a light emitting diode color and brightness control apparatus (100) according to any preceding claim: wherein the bandgap voltage reference (VG) is configured to generate a current reference for controlling the plurality of lighting modules.