SECOND STAGE CALIBRATION IN DC/DC LED CURRENT REGULATION
A current regulator controller includes a differential amplifier that is arranged to output a current sense signal based on a differential input signal and a first stage trim signal. The current regulator controller also includes a first stage trim circuit that is arranged to provide the first stage trim signal. The current regulator controller also includes a digital-to-analog converter that is arranged to provide a set signal based on a digital input signal and a second stage trim signal. The current regulator controller also includes a second stage trim circuit that is arranged to provide the second stage trim signal. The current regulator controller also includes an error amplifier that is arranged to output an error signal based on the set signal and the current sense signal. The regulation of the current is based on the error signal.
This disclosure relates to electronic circuits, and more specifically to second stage calibration in DC/DC LED current regulation.
BACKGROUNDIllumination devices (e.g., lamps) that comprise light emitting diodes (LEDs) as luminescent components usually cannot simply be connected to a voltage supply but have to be driven by special driver circuits (or control circuits) providing a defined load current to the LEDs in order to provide a desired radiant power (radiant flux). Since a single LED exhibits only small forward voltages (from about 1.5 V for infrared GaAs LEDs ranging up to 4 V for violet and ultraviolet InGaN LEDs) compared to commonly used supply voltages (for example, 12 V, 24 V and 42 V in automotive applications) several LEDs are typically connected in series to form so-called LED chains.
LEDs are current-driven components and that typically employ driver circuits including a load current regulation. In order to reduce power dissipation within the driver circuits, switched-mode power supplies are usually employed to supply an LED or LED chain with a well-defined load current.
SUMMARYIn some examples, a current regulator controller includes a differential amplifier that is arranged to output a current sense signal based on a differential input signal and a first stage trim signal. The current regulator controller may include a first stage trim circuit that is arranged to provide the first stage trim signal. The current regulator controller may also include a digital-to-analog converter that is arranged to provide a set signal based on a digital input signal and a second stage trim signal. The current regulator controller may also include a second stage trim circuit that is arranged to provide the second stage trim signal. In addition, the current regulator controller may include an error amplifier that is arranged to output an error signal based on the set signal and the current sense signal. The regulation of the current is based on the error signal.
In some examples, a method comprises controlling regulation of a current. Controlling the regulation of the current may include: outputting a first stage trim signal; outputting a current sense signal based, at least in part, on a differential input signal and the first stage trim signal; outputting a second stage trim signal; performing a digital-to-analog conversion to output a set signal based, at least in part, on a digital input signal and the second stage trim signal; and outputting an error signal based, at least in part, on the set signal and the current sense signal. The regulation of the current is based, at least in part, on the error signal.
In some examples, a method comprises employing an error amplifier of a current regulator controller to output an error signal based, at least in part, on a current sense signal and a set signal; calibrating a current sense gain of a differential amplifier circuit of the current regulator controller to determine a first trim value, wherein the differential amplifier circuit is arranged to output the current sense signal; and calibrating an offset of a digital-to-analog converter to determine a second trim value. The digital-to-analog converter is arranged to output the set signal.
In some examples, calibrating the offset of the digital-to-analog converter to determine the second trim value includes performing front-end trimming and further includes performing an in-field end-of-line calibration.
In other examples, calibrating the offset of the digital-to-analog converter to determine the second trim value includes performing front-end trimming and does not include performing an in-field end-of-line calibration.
In yet other examples, calibrating the offset of the digital-to-analog converter to determine the second trim value includes performing an in-field end-of-line calibration and does not include performing front-end trimming.
The details of one or more examples of the disclosure are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the disclosure will be apparent from the description and drawings, and from the claims.
Non-limiting and non-exhaustive examples of the present disclosure are described with reference to the following drawings.
Various examples of this disclosure will be described in detail with reference to the drawings, where like reference numerals represent like parts and assemblies throughout the several views. Reference to various examples does not limit the scope of this disclosure which is limited only by the scope of the claims attached hereto. Additionally, any examples set forth in this specification are not intended to be limiting and merely set forth some of the many possible examples of this disclosure.
Throughout the specification and claims, the following terms take at least the meanings explicitly associated herein, unless the context dictates otherwise. The meanings identified below do not necessarily limit the terms, but merely provide illustrative examples for the terms. The meaning of “a,” “an,” and “the” includes plural reference, and the meaning of “in” includes “in” and “on.” The phrase “in one embodiment,” or “in one example,” as used herein does not necessarily refer to the same embodiment or example, although it may be the case. Similarly, the phrase “in some embodiments,” or “in some examples,” as used herein, when used multiple times, does not necessarily refer to the same embodiments or examples, although it may. As used herein, the term “or” is an inclusive “or” operator, and is equivalent to the term “and/or,” unless the context clearly dictates otherwise. The term “based, in part, on”, “based, at least in part, on”, or “based on” is not exclusive and allows for being based on additional factors not described, unless the context clearly dictates otherwise. Where suitable, the term “gate” is intended to be a generic term covering both “gate” and “base”; the term “source” is intended to be a generic term covering both “source” and “emitter”; and the term “drain” is intended to be a generic term covering both “drain” and “collector.” The term “coupled” means at least either a direct electrical connection between the items connected, or an indirect connection through one or more passive or active intermediary devices. The term “signal” means at least one current, voltage, charge, temperature, data, or other signal.
Briefly stated, a current regulator controller includes a differential amplifier that is arranged to output a current sense signal based on a differential input signal and a first stage trim signal. The current regulator controller also includes a first stage trim circuit that is arranged to provide the first stage trim signal. The current regulator controller also includes a digital-to-analog converter that is arranged to provide a set signal based on a digital input signal and a second stage trim signal. The current regulator controller also includes a second stage trim circuit that is arranged to provide the second stage trim signal. The current regulator controller also includes an error amplifier that is arranged to output an error signal based on the set signal and the current sense signal. The regulation of the current is based on the error signal.
In some examples, current regulator 100 is arranged to operate as follows. Differential amplifier circuit 110 is arranged to output current sense signal CS based, at least in part, on differential input signal FBH/FBL and first stage trim signal 1trim. First stage trim circuit 120 is arranged to provide first stage trim signal 1trim. Digital-to-analog converter (DAC) 130 is arranged to output set signal Set based, at least in part, on digital input signal DI and second stage trim signal 2trim. Second stage trim circuit 140 is arranged to provide second stage trim signal 2trim. Error amplifier 150 is arranged to output error signal ERR based, at least in part, on signal Set and signal CS. Accordingly, error amplifier 150 is arranged to force signal CS to be close to signal Set via negative feedback. Current regulator controller 100 is arranged to control regulation of a load current/output current (not shown in
In one example, process 390 proceeds as follows. After a start block, first stage trim circuit 120 provides first stage trim signal 1trim (391). Next, differential amplifier circuit 110 outputs current sense signal CS based, at least in part, on differential input signal FBH/FBL and first stage trim signal 1trim (392). Second stage trim circuit 140 then provides second stage trim signal 2trim (393). Next, digital-to-analog converter (DAC) 130 outputs set signal Set based, at least in part, on digital input signal DI and second stage trim signal 2trim (394). Then, error amplifier 150 outputs error signal ERR based, at least in part, on signal Set and signal CS (395). The process then advances to a return block, where other processing is resumed.
In some examples, it may be desirable for the waveforms of signal CS and signal Set to be identical to each and in such examples the waveforms would entirely overlap each other. However, due to errors from the ideal characteristics, the waveforms differ from each other as illustrated in
In the examples shown in
The first stage trimming may modify the current sense gain associated with the differential amplifier circuit (e.g., differential amplifier circuit 110) so that Set and CS are equal to each other at the maximum analog dimming value. However, after the first stage trimming and before the second stage trimming, there may be a residual offset and other values of analog dimming, particularly at the minimum value of analog dimming.
As discussed above, current regulator controller 600 controls regulation of the load current. In some examples, differential amplifier circuit 610 senses the load current via differential input signal FBH/FBL, and provides current sense signal CS based on the sensed current. Differential amplifier circuit 610 has a gain value that is trimmed based on signal 1trim.
In some examples, first stage trim circuit 620 is arranged to provide signal 1trim. First stage trim circuit 620 may have a first trim value stored in a fuse block, where the first trim value is communicated to differential amplifier circuit 610 via signal 1trim. As shown in
In some examples, differential amplifier circuit 610 is arranged such that differential amplifier circuit 610 has a variable gain, such that the variable gain is controlled based on first stage trim signal 1trim. More specifically, in some examples, differential amplifier circuit 610 is arranged to output current sense signal CS such that a voltage associated with current sense signal CS is equal to a voltage associated with differential input signal FBH/FBL times a gain value that is associated with first trim signal 1trim. In some examples, the digital value of first trim signal is an offset associated with the gain value.
Differential amplifier circuit 610 may include differential amplifier 611, gain circuit 612, current source Idc, transistor M1, transistor M2, and resistor Rout. In some examples, current source Idc is arranged to provide an offset to the input of differential amplifier circuit 610. In some examples, gain circuit 612 is arranged to provide an adjustable output gain to differential amplifier circuit 610. In some examples, transistors M1 and M2 operate as a current mirror to mirror the current provided by gain circuit 612.
In some examples, gain circuit 612 is a current DAC that provides a current that is proportional to the digital value of signal 1trim. In other examples, the current is proportional to a total gain value that is equal to a fixed gain value plus the digital value of signal 1trim. The current output by gain circuit 612 may be mirrored by current mirror M1/M2 and provided to resistor Rout. In some examples, resistor Rout is arranged to provide signal CS by converting the mirrored current into a voltage.
In some examples, error amplifier 650 is arranged to control the regulation by comparing the sensed current via signal CS with a reference signal, Set, so that signal Set effectively defines the constant current to which the output current is to be regulated.
The constant current to which the load current is regulated can be adjusted by analog dimming. The analog dimming feature may adjust the average load current via the control of error amplifier 650. The analog dimming may be performed by signal Set acting as a variable reference for error amplifier 650, where the variable reference is adjusted by DAC 630. The analog dimming may be performed by adjusting signal DI through SPI 689 and thereby adjusting signal Set.
In some examples, DAC 630 is configured to provide signal Set at the minimum value for signal Set (0.2V in one example) when signal DI is at the minimum value (e.g., DAC 630 provides signal Set at the minimum value for signal Set when all bits of signal DI are zero), and to provide signal Set at the maximum value of signal Set (1.4V in one example) when signal DI is at the maximum value (e.g., DAC provides signal Set at the maximum value for signal Set when all bits of signal DI are one). Internal switch S1 may be arranged to disconnect signal ERR from the switch control during calibration. Internal switch S2 may be arranged to close the output loop during calibration.
SPI block 689 may provide an external interface usable by the customer to communicate with current regulator controller 600 and to enable, whenever it is required, the trimming procedure. SPI block 689 may provide an external interface usable by the customer to control the analog dimming. During normal operation, the customer can interface with current regulator controller to allow the user to control the value of signal DI output by SPI block 689.
SPI block 689 may be arranged to provide signal DI, which is an 8-bit digital signal in some examples. During normal operation, signal DI may be externally controllable so that analog dimming may be externally controlled. In contrast, during calibration, SPI block 689 may provide signal DI at an appropriate level in accordance with the algorithm for the trimming and/or calibration being performed, as discussed in greater detail below, for example with regard to
In some examples, SPI block 689 may be replaced with another suitable communication interface.
DAC 630 may control the analog dimming. In some examples, DAC 630 is arranged to receive a reference voltage, such as a bandgap voltage as illustrated in
Second stage trim circuit 640 is arranged to provide trim signal 2trim. Second stage trim circuit 640 may include a fuse block, a summer, a latch, and a logic block, which operate as follows in one example. In some examples, the fuse block is arranged to provide a four-bit front-end trim signal. In some examples, the latch and the logic block are arranged to perform end-of-line calibration and to provide a four-bit second stage calibration signal during operation. In some examples, the summer sums the value of the four-bit front-end trim signal and the four-bit end of line calibration signal to provide signal 2trim.
Although second stage trim circuit 640 as illustrated in
In operation, LED string load 703 is driven by load current Iload, where current Iload is regulated by current regulator 701. In some examples, current regulator 701 regulates load current Iload as a constant current via a negative feedback based on differential input signal FBH/FBL. In some examples, differential input signal FBH/FLB is generated by resistor Rsnsin, where resistor Rsnsin is in series with LED string load 703. In some examples, because resistor Rsnsin is in series with LED string load 703, current Iload flows through resistor Rsnsin, and the voltage across resistor Rsnsin (FBH/FBL) is proportional to current Iload. Capacitor Cout may be arranged to operate as an output capacitor for current regulator 601.
In some examples, transistor M7 operates as follows. Transistor M7 is arranged to operate as a digital dimming transistor. Transistor M7 switches on and off continuously to provide dimming; the equivalent load current is equal to the average current between the time transistor M7 is on and the time transistor M7 is off (the current is zero when transistor M7 is off), while ensuring that the off time is less than the retention time of output capacitor Cout. The effective brightness of the light of the external LEDs driven by the load current is proportional to the duty cycle of transistor M7.
DC/DC plant 702 includes one or more switches that are controller by switch control signal(s) SCTL to regulate load current Iload. In some examples, DC/DC plant 702 has a buck-boost topology. In other examples, DC/DC plant 702 has a topology other than a buck/boost topology, such as a boost topology, buck topology, and/or any suitable DC/DC converter topology. Also, although in the example shown in
As shown in
Resistor string 834, multiplexer MUX2, transistors M8 and M9, and amplifiers 833 and 834 operate together as a primary DAC to convert digital signal DI into analog signal, Set. Resistor string 833 and multiplexer MUX1 operate together as a secondary DAC that generates the reference for the bottom regulator of the primary DAC, and adjusts the generated reference to modify the origin of the characteristic of the primary DAC. In this way is possible to modify the signal Set characteristic in order to match the current set signal CS characteristic at minimum value of analog dimming.
After a start block, during factory front-end trimming, first trim circuit 620 controls front-end trimming of current sense gain of differential amplifier circuit 610 to determine a first trim value (e.g., 1trim) (961). Next, and still during factory front-end trimming, second trim circuit 640 controls second-end trimming of DAC offset in DAC 830 to determine a second trim value (e.g., 2trim) (968). The process then advances to a return block, where other processing is resumed.
After a start block, during factory front-end trimming, first trim circuit 620 controls front-end trimming of current sense gain of differential amplifier circuit 610 to determine a first trim value (e.g., 1trim) (1061). Next, during an in-field, end-of-line calibration process, second trim circuit 640 controls end-of-line calibration of DAC offset in DAC 830 to determine a second trim value (e.g., 2trim) (1075). The process then advances to a return block, where other processing is resumed.
After a start block, during factory front-end trimming, first trim circuit 620 controls front-end trimming of current sense gain of differential amplifier circuit 610 to determine a first trim value (e.g., 1trim) (1161). Next, and still during factory front-end trimming, second trim circuit 640 controls second-end trimming of DAC offset in DAC 830 to determine a second stage front end (FE) trim value (1168). In this example, step 1168 acts as coarse trimming of DAC 830. Then, during an in-field, end-of-line calibration process, second trim circuit 640 controls end-of-line calibration of DAC offset in DAC 830 to determine a second stage end-of-line (EOL) trim value (1175). In this example, step 1175 acts as fine trimming for DAC 830. Next, the second stage FE trim value and the second stage EOL trim value are added to determine the second stage trim value (2trim) (1182). The process then advances to a return block, where other processing is resumed.
After a start block, first stage trim circuit 610 causes the differential input signal to be forced to the maximum value, which is 150 mV in some examples (1262). Next, SPI block 689 provides signal DI to have the maximum full-scale value of signal DI (with all bits of signal DI being 1) (1263).
Next, first stage trim circuit 620 determines the most significant bit (MSB) of the value of first trim signal 1trim based on the comp output (signal ERR), and adjusts the value of signal 1trim accordingly (1264). Error amplifier 650 is employed as a detection comparator, comparing signal CS with signal Set. First stage trim circuit 620 determines the value of the MSB of signal 1trim based on signal ERR according to whether signal CS or signal Set is greater. After the determination is made, first stage trim circuit 620 changes the value of the MSB of signal 1trim according to the determined value of the MSB (or leaves the value unchanged, if it is already the correct value).
Next, first stage trim circuit 620 determines the next bit of the value of first trim signal 1trim based on the comp output (signal ERR), and adjusts the value of signal 1trim accordingly (1265). Error amplifier 650 is employed as a detection comparator, comparing signal CS with signal Set. First stage trim circuit 620 determines the value of the current bit of signal 1trim based on signal ERR according to whether signal CS or signal Set is greater. After the determination is made, first stage trim circuit 620 changes the value of the current bit of signal 1trim according to the determined value of the next bit (or leaves the value unchanged, if it is already the correct value).
Next, a determination is made as to whether any bits of signal 1trim remain undetermined. If so, the process returns to block 1265, where first stage trim circuit 620 determines the value of the value of the next bit. Once the value of each bit has been determined, the process proceeds to a return block, where other processing is resumed.
After a start block, second stage trim circuit 640 causes the differential input signal to be forced to the minimum value, e.g. zero (1369). For example, this may be accomplished by turning off digital dimming transistor M7 of
Next, second stage trim circuit 640 determines the MSB of the value of the second stage FE trim value based on the comp output (signal ERR), and adjusts the value of the second stage FE trim value accordingly (1372). Error amplifier 650 is employed as a detection comparator, comparing signal CS with signal Set. Second stage trim circuit 640 determines the value of the MSB of the second stage FE trim value based on signal ERR according to whether signal CS or signal Set is greater. After the determination is made, second stage trim circuit 640 changes the value of the MSB of the second stage FE trim value according to the determined value of the MSB (or leaves the value unchanged, if it is already the correct value).
Next, second stage trim circuit 640 determines the next bit of the value of the second stage FE trim value based on the comp output (signal ERR), and adjusts the value of the second stage FE trim value accordingly (1373). Error amplifier 650 is employed as a detection comparator, comparing signal CS with signal Err. Second stage trim circuit 640 determines the value of the current bit of the second stage FE trim value based on signal ERR according to whether signal CS or signal Set is greater. After the determination is made, second stage trim circuit 640 changes the value of the current bit of the second stage FE trim value according to the determined value of the next bit (or leaves the value unchanged, if it is already the correct value).
Next, second stage trim circuit 640 determines whether any bits of the second stage FE trim value remain undetermined (1374). If so, the process returns to block 1373, where the first stage circuit determines the value of the value of the next bit. Through blocks 1372-1374, second stage trim circuit 640 iteratively determines a value of each bit of the second stage end-of-line calibration value based on the error signal. Once the value of each bit has been determined, the process proceeds to a return block, where other processing is resumed.
After a start block, second stage trim circuit 640 causes the LED chain switch (e.g. transistor M7 of
Next, second stage trim circuit 640 determines the MSB of the value of the second stage EOL calibration value based on the comp output (signal ERR), and adjusts the value of the second stage EOL calibration value accordingly (1479). Error amplifier 650 is employed as a detection comparator, comparing signal CS with signal Err. Second stage trim circuit 640 determines the value of the MSB of the second stage EOL calibration value based on signal ERR according to whether signal CS or signal Set is greater. After the determination is made, second stage trim circuit 640 changes the value of the MSB of the second stage EOL calibration value according to the determined value of the MSB (or leaves the value unchanged, if it is already the correct value).
Next, second stage trim circuit 640 determines the next bit of the value of the second trim stage EOL calibration value based on the comp output (signal ERR), and adjusts the value of the second stage EOL calibration value accordingly (1480). Error amplifier 650 is employed as a detection comparator, comparing signal CS with signal Err. Second stage trim circuit 640 determines the value of the current bit of the second stage EOL calibration value based on signal ERR according to whether signal CS or signal Set is greater. After the determination is made, second stage trim circuit 640 changes the value of the current bit of the second stage EOL calibration value according to the determined value of the next bit (or leaves the value unchanged, if it is already the correct value).
Next, a determination is made as to whether any bits of the second stage EOL calibration value remain undetermined (1481). If so, the process returns to block 1480, where the first stage circuit determines the value of the next bit. Through blocks 1479-11481, second stage trim circuit 640 iteratively determines a value of each bit of the second stage end-of-line calibration value based on the error signal. Once the value of each bit has been determined, second stage trim circuit 640 causes the LED chain switch (e.g. transistor M7 of
As discussed above, the end-of-line trimming of the process of
The second stage trimming performed by the process of
Various examples have been described. For example, circuits are described for current regulator controllers and trimming/calibration methods for current regulator controllers. For example, the circuits and methods described may be used for current regulation of an output current that drives an LED string, although the disclosure is not so limited, and the output current may drive other types of loads in other examples. The techniques may be employed in a number of different applications, including automotive applications in some examples. For example, a car may use a number of series LED chains for headlights, where each series LED chain has three LEDs coupled in series. There are also numerous other applications for circuits and techniques of this disclosure beyond automotive applications, including, for example consumer applications for LEDs and industrial applications for LEDs.
These and other examples are within the scope of the following claims. The above specification, examples, and data provide a description of the manufacture and use of the composition of the disclosure. Since many examples of the disclosure can be made without departing from the scope and spirit of the disclosure, the disclosure also resides in the claims hereinafter appended.
Claims
1. A device, comprising:
- a current regulator controller that is arranged to control regulation of a current, wherein the current regulator controller includes: a differential amplifier circuit that is arranged to output a current sense signal based, at least in part, on a differential input signal and a first stage trim signal; a first stage trim circuit that is arranged to output the first stage trim signal; a digital-to-analog converter that is arranged to output a set signal based, at least in part, on a digital input signal and a second stage trim signal; a second stage trim circuit that is arranged to output the second stage trim signal; and an error amplifier that is arranged to output an error signal based, at least in part, on the set signal and the current sense signal, wherein the regulation of the current is based, at least in part, on the error signal.
2. The device of claim 1, wherein the differential amplifier circuit is arranged such that the differential amplifier circuit has a variable gain, such that the variable gain is controlled based on the first stage trim signal.
3. The device of claim 1, wherein the digital-to-analog converter is arranged such that the digital-to-analog converter has a variable offset, such that the variable offset is controlled based on the second stage trim signal.
4. The device of claim 1, wherein the current regulator controller further includes a switch control circuit that is arranged to receive the error signal, and further arranged to output one or more switch control signals based on the error signal to control one or more switches to control regulation of the current based, at least in part, on the error signal.
5. The device of claim 1, wherein the differential amplifier circuit is arranged to output the current sense signal such that a voltage associated with the current sense signal is equal to a voltage associated with the differential input signal times a gain value that is based, in part, on the first trim signal.
6. The device of claim 1, wherein the digital-to-analog converter is arranged to perform analog-to-digital conversion to convert the digital input signal into the set signal such that the digital-to-analog conversion is offset based on the second stage trim signal.
7. The device of claim 1, wherein the current regulator controller is configured to perform a front-end first stage trimming to determine the first stage trim signal.
8. The device of claim 1, wherein the current regulator controller is configured to perform a second stage calibration determine the second stage trim signal, and wherein the current regulator controller is configured to perform the second stage calibration such that the second stage calibration includes a front-end trimming.
9. The device of claim 1, wherein the current regulator controller is configured to perform a second stage calibration determine the second stage trim signal, and wherein the current regulator controller is configured to perform the second stage calibration such that the second stage calibration includes an in-field end-of-line calibration.
10. The device of claim 1, wherein the current regulator controller is configured to perform a second stage calibration determine the second stage trim signal, and wherein the current regulator controller is configured to perform the second stage calibration such that the second stage calibration includes a front-end trimming and an in-field end-of-line calibration.
11. A method of controlling regulation of a current, the method comprising:
- outputting a first stage trim signal;
- outputting a current sense signal based, at least in part, on a differential input signal and the first stage trim signal;
- outputting a second stage trim signal;
- performing a digital-to-analog conversion to output a set signal based, at least in part, on a digital input signal and the second stage trim signal; and
- outputting an error signal based, at least in part, on the set signal and the current sense signal, wherein the regulation of the current is based, at least in part, on the error signal.
12. The method of claim 11, the method further comprising:
- controlling one or more switches to control regulation of the current based on the error signal.
13. The method of claim 11, wherein outputting the current sense signal includes outputting the current sense signal such that a voltage associated with the current sense signal is equal to a voltage associated with the differential input signal times a gain value that is associated with the first trim signal.
14. The method of claim 11, wherein performing a digital-to-analog conversion to output a set signal based on a digital input signal and the second stage trim signal includes converting the digital input signal into the set signal such that the digital-to-analog conversion is offset based on the second stage trim signal.
15. A method, comprising:
- using an error amplifier of a current regulator controller to output an error signal based, at least in part, on a current sense signal and a set signal;
- calibrating a current sense gain of a differential amplifier circuit of the current regulator controller to determine a first trim value, wherein the differential amplifier circuit is arranged to output the current sense signal; and
- calibrating an offset of a digital-to-analog converter to determine a second trim value, wherein the digital-to-analog converter is arranged to output the set signal.
16. The method of claim 15, wherein calibrating the offset of the digital-to-analog converter to determine the second trim value includes performing front-end trimming and further includes performing an in-field end-of-line calibration.
17. The method of claim 15, wherein calibrating the offset of the digital-to-analog converter to determine the second trim value includes performing a second stage front-end trimming.
18. The method of claim 17, wherein the differential amplifier circuit is arranged to output the current sense signal based, at least in part, on a differential input signal and the first trim signal, wherein the digital-to-analog converter is arranged to perform digital-to-analog conversion on a digital signal to provide the set signal such that the digital-to-analog conversion is offset based on the second trim value, and wherein performing the second stage front-end trimming includes:
- providing the second stage trim signal based, at least in part, on a second stage front-end trim value;
- causing the differential input signal to be zero;
- causing a value that is associated with the digital input signal to be zero; and
- iteratively determining a value of each bit of the second stage front-end trim value based on the error signal.
19. The method of claim 15, wherein calibrating the offset of the digital-to-analog converter to determine the second trim value includes performing an in-field end-of-line calibration.
20. The method of claim 19, further comprising:
- driving a chain of light-emitting diodes (LEDs) with an output current; and
- controlling regulation of the output current based, at least in part, on the error signal, wherein the digital-to-analog converter is arranged to perform digital-to-analog conversion on a digital signal to provide the set signal such that the digital-to-analog conversion is offset based on the second trim value, and wherein performing the in-field end-of-line calibration includes: providing the second stage trim signal based, at least in part, on a second stage end-of-line calibration value; turning off a switch that is in series with the chain of LEDs; causing a value that is associated with the digital input signal to be zero; and iteratively determining a value of each bit of the second stage end-of-line calibration value based on the error signal; and turning on the switch that is in series with the chain of LEDs.
Type: Application
Filed: Oct 31, 2014
Publication Date: May 5, 2016
Inventors: Paolo Milanesi (Padova), Roberto Penzo (Chioggia), Maurizio Galvano (Padova)
Application Number: 14/530,368