US20160128145A1 - Second stage calibration in dc/dc led current regulation - Google Patents
Second stage calibration in dc/dc led current regulation Download PDFInfo
- Publication number
- US20160128145A1 US20160128145A1 US14/530,368 US201414530368A US2016128145A1 US 20160128145 A1 US20160128145 A1 US 20160128145A1 US 201414530368 A US201414530368 A US 201414530368A US 2016128145 A1 US2016128145 A1 US 2016128145A1
- Authority
- US
- United States
- Prior art keywords
- signal
- stage
- trim
- digital
- current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H05B33/0815—
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/0092—Arrangements for measuring currents or voltages or for indicating presence or sign thereof measuring current only
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/165—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
- G01R19/16533—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application
- G01R19/16538—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application in AC or DC supplies
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M3/00—Conversion of dc power input into dc power output
- H02M3/02—Conversion of dc power input into dc power output without intermediate conversion into ac
- H02M3/04—Conversion of dc power input into dc power output without intermediate conversion into ac by static converters
- H02M3/10—Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
- H02M3/145—Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
- H02M3/155—Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only
- H02M3/156—Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators
- H02M3/158—Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators including plural semiconductor devices as final control devices for a single load
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/40—Details of LED load circuits
- H05B45/44—Details of LED load circuits with an active control inside an LED matrix
- H05B45/46—Details of LED load circuits with an active control inside an LED matrix having LEDs disposed in parallel lines
Definitions
- This disclosure relates to electronic circuits, and more specifically to second stage calibration in DC/DC LED current regulation.
- Illumination devices e.g., lamps
- LEDs light emitting diodes
- special driver circuits or control circuits
- 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.
- switched-mode power supplies are usually employed to supply an LED or LED chain with a well-defined load current.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- FIG. 1 is a block diagram illustrating an example of a current regulator controller.
- FIG. 2 is a flow diagram illustrating an example of a process for determining trim values.
- FIG. 3 is a flow diagram illustrating an example of a process for current regulation with trimming based on determined trim values.
- FIG. 4A is a plot diagram of the voltage of an example of signal CS and the voltage of an example of signal Set versus the voltage of an example of the differential input signal before trimming.
- FIG. 4B is a plot diagram of the voltage of an example of signal CS and the voltage of an example of signal Set versus the voltage of an example of the differential input signal after the first stage trimming.
- FIG. 5A is a plot diagram of the voltage of an example of signal CS and the voltage of an example of signal Set versus the voltage of an example of the differential input signal after the first stage trimming and before the second stage trimming.
- FIG. 5B is a plot diagram of the voltage of an example of signal CS and the voltage of an example of signal Set versus the voltage of an example of the differential input signal with the second stage trimming.
- FIG. 5C is a plot diagram of the output current versus the level of analog dimming after first stage trimming and second stage trimming.
- FIG. 6 is a block diagram illustrating an example of the current regulator controller of FIG. 1 .
- FIG. 7 is a block diagram of an example of a current regulator driving an LED string load, where the current regulator includes an example of the current regulator controller of FIG. 1 and/or FIG. 6 .
- FIG. 8 is a block diagram of an example of the DAC of FIG. 6 .
- FIG. 9 is a flow diagram illustrating an example of the process of FIG. 2 .
- FIG. 10 is a flow diagram illustrating another example of the process of FIG. 2 .
- FIG. 11 is a flow diagram illustrating yet another example of the process of FIG. 2 .
- FIG. 12 is a flow diagram illustrating an example of the first stage trim process of FIG. 9, 10 , and/or 11 .
- FIG. 13 is a flow diagram illustrating an example of the second stage front-end trim process of FIG. 9 and/or 10 .
- FIG. 14 is a flow diagram illustrating an example of the second stage end-of-line calibration process of FIG. 10 and/or 11 , in accordance with aspects of the present disclosure.
- 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.
- 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.”
- 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.
- signal means at least one current, voltage, charge, temperature, data, or other signal.
- 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.
- FIG. 1 is a block diagram illustrating an example of current regulator controller 100 .
- Current regulator controller 100 includes differential amplifier circuit 110 , first stage trim circuit 120 , digital-to-analog converter (DAC) 130 , second stage trim circuit 140 , and error amplifier 150 .
- DAC digital-to-analog converter
- 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 1 trim. First stage trim circuit 120 is arranged to provide first stage trim signal 1 trim. 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 2 trim. Second stage trim circuit 140 is arranged to provide second stage trim signal 2 trim. 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.
- DAC digital-to-analog converter
- Current regulator controller 100 is arranged to control regulation of a load current/output current (not shown in FIG. 1 ), such that the regulation of the load current is based, at least in part, on signal ERR.
- current regulator controller 100 controls regulation of the load current as a constant current via DC/DC switching regulation control, sensing the load current via differential input signal FBH/FBL.
- the regulated load current is adjustable.
- FIG. 2 is a flow diagram illustrating an example of a process ( 260 ) for determining trim values.
- process 260 proceeds as follows. After a start block, first stage trim circuit 120 calibrates the current sense gain (associated with differential amplifier 110 ) to determine a first trim value ( 261 ). In some examples, at step 261 , first stage trim circuit calibrates the current sense gain at a single trim point of the maximum value of the output current. Next, second stage trim circuit 140 calibrate the DAC offset (associated with DAC 140 ) to determine a second trim value ( 267 ). The process then advances to a return block, where other processing is resumed.
- FIG. 3 is a flow diagram illustrating an example of a process ( 390 ) for current regulation with trimming based on determined trim values (e.g., the first and second trim value determined by an example of the process of FIG. 2 ).
- process 390 proceeds as follows. After a start block, first stage trim circuit 120 provides first stage trim signal 1 trim ( 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 1 trim ( 392 ). Second stage trim circuit 140 then provides second stage trim signal 2 trim ( 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 2 trim ( 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.
- DAC digital-to-analog converter
- FIG. 4A is a plot diagram of a waveform of the voltage of an example of signal CS and a waveform of the voltage of an example of signal Set versus the voltage of an example of the differential input signal before trimming.
- the waveforms of signal CS and signal Set may be identical to each and in such examples the waveforms would entirely overlap each other.
- the waveforms differ from each other as illustrated in FIG. 4A in accordance with one example.
- the voltage associated with Set varies from 200 mV to 1400 mV, for use in providing analog dimming to vary the current from a minimum dimming value (zero) to a maximum analog dimming value that corresponds to the differential input voltage being 150 mV at the maximum analog dimming value.
- a minimum dimming value zero
- a maximum analog dimming value that corresponds to the differential input voltage being 150 mV at the maximum analog dimming value.
- other suitable values may be employed within the scope and spirit of the disclosure.
- FIG. 4B is a plot diagram of a waveform of the voltage of an example of signal CS and a waveform of the voltage of an example of signal Set versus the voltage of an example of the differential input signal after the first stage trimming.
- 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.
- the differential amplifier circuit e.g., differential amplifier circuit 110
- Set and CS are equal to each other at the maximum analog dimming value.
- FIG. 5A is a plot diagram of the voltage of an example of signal CS and the voltage of an example of signal Set versus the voltage of an example of the differential input signal after the first stage trimming and before the second stage trimming.
- FIG. 5B is a plot diagram of the voltage of an example of signal CS and the voltage of an example of signal Set versus the voltage of an example of the differential input signal with the second stage trimming.
- the characteristic of signal Set is modified to match signal CS at the minimum value of analog dimming.
- FIG. 5C is a plot diagram of the output current versus the level of analog dimming in accordance with aspects of the disclosure. As shown, with first trim and second trim applied, the real output current is substantially the same as the ideal output current at both minimum analog dimming and maximum analog dimming.
- FIG. 6 is a block diagram illustrating an example of current regulator controller 600 , which may be employed as an example of current regulator controller 100 of FIG. 1 .
- error amplifier 650 may include a compensation network, including a capacitor, which may be external or internal in various examples.
- An example of regulator controller 600 further includes internal switch S 1 , internal switch S 2 , SPI block 689 , and switch control circuit 688 .
- Switch control circuit 688 may be arranged to provide switch control signal(s) SCTL from signal ERR, such that switch control signal(s) SCTL turn on and off one or more switches external to regulator controller 600 (not shown in FIG. 6 ) to regulate the load current (not shown in FIG. 6 ) as a constant current based on error signal ERR.
- the load current may be sensed via differential input signal FBH/FBL, thus completing the feedback loop for the current regulation.
- 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 1 trim.
- first stage trim circuit 620 is arranged to provide signal 1 trim.
- 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 1 trim.
- signal 1 trim is a four-bit digital trim signal.
- 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 1 trim. 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 1 trim. 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 M 1 , transistor M 2 , and resistor Rout.
- current source Idc is arranged to provide an offset to the input of differential amplifier circuit 610 .
- gain circuit 612 is arranged to provide an adjustable output gain to differential amplifier circuit 610 .
- transistors M 1 and M 2 operate as a current mirror to mirror the current provided by gain circuit 612 .
- gain circuit 612 is a current DAC that provides a current that is proportional to the digital value of signal 1 trim. 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 1 trim.
- the current output by gain circuit 612 may be mirrored by current mirror M 1 /M 2 and provided to resistor Rout. In some examples, resistor Rout is arranged to provide signal CS by converting the mirrored current into a voltage.
- 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.
- 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 S 1 may be arranged to disconnect signal ERR from the switch control during calibration.
- Internal switch S 2 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.
- signal DI may be externally controllable so that analog dimming may be externally controlled.
- 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 FIG. 12 - FIG. 14 .
- SPI block 689 may be replaced with another suitable communication interface.
- DAC 630 may control the analog dimming.
- DAC 630 is arranged to receive a reference voltage, such as a bandgap voltage as illustrated in FIG. 6 , and to receive signal DI as an eight-bit digital signal.
- DAC 630 is arranged such that DAC has a variable offset, such that the variable offset is controlled based on second stage trim signal 2 trim. More specifically, in some examples, DAC 630 is arranged to perform analog-to-digital conversion to convert digital input signal DI into set signal Set such that the digital-to-analog conversion is offset based on second stage trim signal 2 trim.
- Second stage trim circuit 640 is arranged to provide trim signal 2 trim.
- 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.
- the fuse block is arranged to provide a four-bit front-end trim signal.
- 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.
- 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 2 trim.
- second stage trim circuit 640 as illustrated in FIG. 6 and discussed above shows an example in which the second stage calibration includes both front-end trimming and in-field end-of-line calibration
- the second stage calibration includes front-end trimming but does not includes in-field end-of-line calibration
- the second stage calibration includes in-field end-of-line calibration but does not includes front-end trimming.
- FIG. 7 is a block diagram of an example of circuit 705 .
- Circuit 705 includes current regulator 701 , LED string load 703 , and transistor M 7 .
- Current regulator 701 includes DC/DC plant 702 , current sense resistor Rsnsin, output capacitor Cout, and current regulator controller 700 .
- Current regulator controller 700 is an example of current regulator controller 100 of FIG. 1 and/or current regulator controller 600 of FIG. 6 .
- LED string load 703 is driven by load current Iload, where current Iload is regulated by current regulator 701 .
- current regulator 701 regulates load current Iload as a constant current via a negative feedback based on differential input signal FBH/FBL.
- differential input signal FBH/FLB is generated by resistor Rsnsin, where resistor Rsnsin is in series with LED string load 703 .
- 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 .
- transistor M 7 operates as follows. Transistor M 7 is arranged to operate as a digital dimming transistor. Transistor M 7 switches on and off continuously to provide dimming; the equivalent load current is equal to the average current between the time transistor M 7 is on and the time transistor M 7 is off (the current is zero when transistor M 7 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 M 7 .
- DC/DC plant 702 includes one or more switches that are controller by switch control signal(s) SCTL to regulate load current Iload.
- DC/DC plant 702 has a buck-boost topology.
- 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.
- the load voltage is referenced to ground, in other examples, the load voltage may be referenced to the power supply.
- FIG. 8 is a block diagram of an example of DAC 830 , which may be employed as an example of DAC 630 of FIG. 6 .
- DAC 830 includes amplifiers 831 and 832 , transistors M 8 and M 9 , multiplexers MUX 1 and MUX 2 , and resistors string 833 and 834 .
- FIG. 8 and the discussion of FIG. 8 below relates to some non-limiting examples of DAC 830 , although other suitable examples are also within the scope and spirit of the disclosure. Accordingly, the example of FIG. 8 is merely one example, and is not necessarily limiting of a DAC that may be used in accordance with this disclosure.
- resistor string 833 and multiplexer MUX 1 operate together as one DAC which converts digital signal 2 trim into an analog signal V 2trim .
- Resistor string 834 , multiplexer MUX 2 , transistors M 8 and M 9 , and amplifiers 833 and 834 operate together as another DAC which converts digital signal DI into an analog signal, Set (with a value from 0.2V minimum for 00000000 from 1.4V maximum for 11111111 and each other value spaced equally between 0.2V and 1.4V), adjusted an offset corresponding to analog voltage V 2trim .
- Resistor string 834 , multiplexer MUX 2 , transistors M 8 and M 9 , 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 MUX 1 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.
- FIG. 9 is a flow diagram illustrating an example of process 960 , which may be employed as an example of process 260 of FIG. 2 .
- Process 960 may be performed, for example, by an example of current regulator controller 100 of FIG. 1 or current regulator controller 600 of FIG. 6 .
- 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., 1 trim) ( 961 ).
- second trim circuit 640 controls second-end trimming of DAC offset in DAC 830 to determine a second trim value (e.g., 2 trim) ( 968 ). The process then advances to a return block, where other processing is resumed.
- FIG. 10 is a flow diagram illustrating an example of process 1060 , which may be employed as another example of process 260 of FIG. 2 .
- Process 1060 may be performed, for example, by an example of current regulator controller 100 of FIG. 1 or current regulator controller 600 of FIG. 6 .
- 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., 1 trim) ( 1061 ).
- second trim circuit 640 controls end-of-line calibration of DAC offset in DAC 830 to determine a second trim value (e.g., 2 trim) ( 1075 ). The process then advances to a return block, where other processing is resumed.
- FIG. 11 is a flow diagram illustrating an example of process 1160 , which may be employed as yet another example of process 260 of FIG. 2 .
- Process 1160 may be performed, for example, by an example of current regulator controller 100 of FIG. 1 or current regulator controller 600 of FIG. 6 .
- 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., 1 trim) ( 1161 ).
- 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 ).
- step 1168 acts as coarse trimming of DAC 830 .
- 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 ).
- step 1175 acts as fine trimming for DAC 830 .
- the second stage FE trim value and the second stage EOL trim value are added to determine the second stage trim value ( 2 trim) ( 1182 ).
- the process then advances to a return block, where other processing is resumed.
- FIG. 12 is a flow diagram illustrating an example of first stage trim process 1261 .
- Process 1261 may be employed, for instance, as an example of block 961 of FIG. 9 , block 1061 of FIG. 10 , and/or block 1161 of FIG. 11 .
- 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 ).
- 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 ).
- first stage trim circuit 620 determines the most significant bit (MSB) of the value of first trim signal 1 trim based on the comp output (signal ERR), and adjusts the value of signal 1 trim 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 1 trim 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 1 trim according to the determined value of the MSB (or leaves the value unchanged, if it is already the correct value).
- first stage trim circuit 620 determines the next bit of the value of first trim signal 1 trim based on the comp output (signal ERR), and adjusts the value of signal 1 trim 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 1 trim 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 1 trim according to the determined value of the next bit (or leaves the value unchanged, if it is already the correct value).
- FIG. 13 is a flow diagram illustrating an example of first stage trim process 1368 .
- Process 1368 may be employed, for instance, as an example of block 968 of FIG. 9 and/or block 1068 of FIG. 10 .
- 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 M 7 of FIG. 7 . Then, first stage trim circuit 620 fixes signal 1 trim based on the determined trim value. Next, SPI block 689 provides signal DI to have the minimum value of signal DI (with all bits of signal DI being 0) ( 1371 ).
- 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).
- 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).
- 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.
- FIG. 14 is a flow diagram illustrating an example of first stage trim process 1475 .
- Process 1475 may be employed, for instance, as an example of block 1075 of FIG. 10 and/or block 1175 of FIG. 11 .
- the process of FIG. 14 is performed directly in the field.
- second stage trim circuit 640 After a start block, second stage trim circuit 640 causes the LED chain switch (e.g. transistor M 7 of FIG. 7 ) to be turned off ( 1476 ). In this way, the output current is zero for the end-of-line calibration process of FIG. 14 . Then, second stage trim circuit 640 causes SPI block 689 to send an SPI command for calibration ( 1477 ).
- the LED chain switch e.g. transistor M 7 of FIG. 7
- 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).
- 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).
- 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 M 7 of FIG. 7 ) to be turned back on ( 1482 ). The process then proceeds to a return block, where other processing is resumed.
- the LED chain switch e.g. transistor M 7 of FIG. 7
- the end-of-line trimming of the process of FIG. 14 is done at zero current, which is by definition a precisely accurate value of the output current, which is used to calibrate the output current. In this way, it can be ensured that the end-of-line calibration is calibrating versus a known, accurate value of current.
- causing the output current to be zero can be accomplished by turning off digital dimming transistor M 7 of FIG. 7 .
- the second stage trimming performed by the process of FIG. 14 can be used to compensate offset and parameters deviation caused by back-end packaging stress, external components, PCT non-idealities, temperature, aging, external condition variations, and/or the like.
- circuits are described for current regulator controllers and trimming/calibration methods for current regulator controllers.
- 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.
- circuits and techniques of this disclosure beyond automotive applications, including, for example consumer applications for LEDs and industrial applications for LEDs.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Continuous-Control Power Sources That Use Transistors (AREA)
Abstract
Description
- This disclosure relates to electronic circuits, and more specifically to second stage calibration in DC/DC LED current regulation.
- Illumination 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.
- In 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.
-
FIG. 1 is a block diagram illustrating an example of a current regulator controller. -
FIG. 2 is a flow diagram illustrating an example of a process for determining trim values. -
FIG. 3 is a flow diagram illustrating an example of a process for current regulation with trimming based on determined trim values. -
FIG. 4A is a plot diagram of the voltage of an example of signal CS and the voltage of an example of signal Set versus the voltage of an example of the differential input signal before trimming. -
FIG. 4B is a plot diagram of the voltage of an example of signal CS and the voltage of an example of signal Set versus the voltage of an example of the differential input signal after the first stage trimming. -
FIG. 5A is a plot diagram of the voltage of an example of signal CS and the voltage of an example of signal Set versus the voltage of an example of the differential input signal after the first stage trimming and before the second stage trimming. -
FIG. 5B is a plot diagram of the voltage of an example of signal CS and the voltage of an example of signal Set versus the voltage of an example of the differential input signal with the second stage trimming. -
FIG. 5C is a plot diagram of the output current versus the level of analog dimming after first stage trimming and second stage trimming. -
FIG. 6 is a block diagram illustrating an example of the current regulator controller ofFIG. 1 . -
FIG. 7 is a block diagram of an example of a current regulator driving an LED string load, where the current regulator includes an example of the current regulator controller ofFIG. 1 and/orFIG. 6 . -
FIG. 8 is a block diagram of an example of the DAC ofFIG. 6 . -
FIG. 9 is a flow diagram illustrating an example of the process ofFIG. 2 . -
FIG. 10 is a flow diagram illustrating another example of the process ofFIG. 2 . -
FIG. 11 is a flow diagram illustrating yet another example of the process ofFIG. 2 . -
FIG. 12 is a flow diagram illustrating an example of the first stage trim process ofFIG. 9, 10 , and/or 11. -
FIG. 13 is a flow diagram illustrating an example of the second stage front-end trim process ofFIG. 9 and/or 10 . -
FIG. 14 is a flow diagram illustrating an example of the second stage end-of-line calibration process ofFIG. 10 and/or 11 , in accordance with aspects of the present disclosure. - 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.
-
FIG. 1 is a block diagram illustrating an example ofcurrent regulator controller 100.Current regulator controller 100 includesdifferential amplifier circuit 110, firststage trim circuit 120, digital-to-analog converter (DAC) 130, secondstage trim circuit 140, anderror amplifier 150. - 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. Firststage 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. Secondstage 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 inFIG. 1 ), such that the regulation of the load current is based, at least in part, on signal ERR. In some examples,current regulator controller 100 controls regulation of the load current as a constant current via DC/DC switching regulation control, sensing the load current via differential input signal FBH/FBL. In some examples, the regulated load current is adjustable. -
FIG. 2 is a flow diagram illustrating an example of a process (260) for determining trim values. In one example,process 260 proceeds as follows. After a start block, firststage trim circuit 120 calibrates the current sense gain (associated with differential amplifier 110) to determine a first trim value (261). In some examples, atstep 261, first stage trim circuit calibrates the current sense gain at a single trim point of the maximum value of the output current. Next, secondstage trim circuit 140 calibrate the DAC offset (associated with DAC 140) to determine a second trim value (267). The process then advances to a return block, where other processing is resumed. -
FIG. 3 is a flow diagram illustrating an example of a process (390) for current regulation with trimming based on determined trim values (e.g., the first and second trim value determined by an example of the process ofFIG. 2 ). - 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). Secondstage 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. -
FIG. 4A is a plot diagram of a waveform of the voltage of an example of signal CS and a waveform of the voltage of an example of signal Set versus the voltage of an example of the differential input signal before trimming. - 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
FIG. 4A in accordance with one example. - In the examples shown in
FIG. 4A ,FIG. 4B ,FIG. 5A , andFIG. 5B , the voltage associated with Set varies from 200 mV to 1400 mV, for use in providing analog dimming to vary the current from a minimum dimming value (zero) to a maximum analog dimming value that corresponds to the differential input voltage being 150 mV at the maximum analog dimming value. In other examples, other suitable values may be employed within the scope and spirit of the disclosure. -
FIG. 4B is a plot diagram of a waveform of the voltage of an example of signal CS and a waveform of the voltage of an example of signal Set versus the voltage of an example of the differential input signal after the first stage trimming. - 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.
-
FIG. 5A is a plot diagram of the voltage of an example of signal CS and the voltage of an example of signal Set versus the voltage of an example of the differential input signal after the first stage trimming and before the second stage trimming. In the example shown inFIG. 5A , with only the first stage trimming performed, there is only optimum accuracy at the single trimmed point (the maximum value of the current), and the output current accuracy decreases as the analog dimming values decrease.FIG. 5B is a plot diagram of the voltage of an example of signal CS and the voltage of an example of signal Set versus the voltage of an example of the differential input signal with the second stage trimming. In the example shown, after the second stage trim, the characteristic of signal Set is modified to match signal CS at the minimum value of analog dimming. -
FIG. 5C is a plot diagram of the output current versus the level of analog dimming in accordance with aspects of the disclosure. As shown, with first trim and second trim applied, the real output current is substantially the same as the ideal output current at both minimum analog dimming and maximum analog dimming. -
FIG. 6 is a block diagram illustrating an example ofcurrent regulator controller 600, which may be employed as an example ofcurrent regulator controller 100 ofFIG. 1 . Although not shown,error amplifier 650 may include a compensation network, including a capacitor, which may be external or internal in various examples. An example ofregulator controller 600 further includes internal switch S1, internal switch S2,SPI block 689, and switchcontrol circuit 688.Switch control circuit 688 may be arranged to provide switch control signal(s) SCTL from signal ERR, such that switch control signal(s) SCTL turn on and off one or more switches external to regulator controller 600 (not shown inFIG. 6 ) to regulate the load current (not shown inFIG. 6 ) as a constant current based on error signal ERR. The load current may be sensed via differential input signal FBH/FBL, thus completing the feedback loop for the current regulation. - 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. Firststage trim circuit 620 may have a first trim value stored in a fuse block, where the first trim value is communicated todifferential amplifier circuit 610 via signal 1trim. As shown inFIG. 6 , in some examples, signal 1trim is a four-bit digital trim signal. - In some examples,
differential amplifier circuit 610 is arranged such thatdifferential 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 includedifferential 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 ofdifferential amplifier circuit 610. In some examples,gain circuit 612 is arranged to provide an adjustable output gain todifferential amplifier circuit 610. In some examples, transistors M1 and M2 operate as a current mirror to mirror the current provided bygain 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 bygain 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 forerror amplifier 650, where the variable reference is adjusted byDAC 630. The analog dimming may be performed by adjusting signal DI throughSPI 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 bySPI 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
FIG. 12 -FIG. 14 . - 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 inFIG. 6 , and to receive signal DI as an eight-bit digital signal. In some examples,DAC 630 is arranged such that DAC has a variable offset, such that the variable offset is controlled based on second stage trim signal 2trim. More specifically, in some examples,DAC 630 is arranged to perform analog-to-digital conversion to convert digital input signal DI into set signal Set such that the digital-to-analog conversion is offset based on second stage trim signal 2trim. - Second
stage trim circuit 640 is arranged to provide trim signal 2trim. Secondstage 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 inFIG. 6 and discussed above shows an example in which the second stage calibration includes both front-end trimming and in-field end-of-line calibration, in other examples, the second stage calibration includes front-end trimming but does not includes in-field end-of-line calibration, and in yet other examples, the second stage calibration includes in-field end-of-line calibration but does not includes front-end trimming. These examples and others are within the scope and spirit of the disclosure. -
FIG. 7 is a block diagram of an example ofcircuit 705.Circuit 705 includescurrent regulator 701,LED string load 703, and transistor M7.Current regulator 701 includes DC/DC plant 702, current sense resistor Rsnsin, output capacitor Cout, andcurrent regulator controller 700.Current regulator controller 700 is an example ofcurrent regulator controller 100 ofFIG. 1 and/orcurrent regulator controller 600 ofFIG. 6 . - In operation,
LED string load 703 is driven by load current Iload, where current Iload is regulated bycurrent 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 withLED string load 703. In some examples, because resistor Rsnsin is in series withLED 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 inFIG. 7 the load voltage is referenced to ground, in other examples, the load voltage may be referenced to the power supply. These variations and others are within the scope and spirit of the disclosure. -
FIG. 8 is a block diagram of an example of DAC 830, which may be employed as an example ofDAC 630 ofFIG. 6 . DAC 830 includesamplifiers resistors string -
FIG. 8 and the discussion ofFIG. 8 below relates to some non-limiting examples of DAC 830, although other suitable examples are also within the scope and spirit of the disclosure. Accordingly, the example ofFIG. 8 is merely one example, and is not necessarily limiting of a DAC that may be used in accordance with this disclosure. - As shown in
FIG. 8 ,resistor string 833 and multiplexer MUX1 operate together as one DAC which converts digital signal 2trim into an analog signal V2trim. Resistor string 834, multiplexer MUX2, transistors M8 and M9, andamplifiers -
Resistor string 834, multiplexer MUX2, transistors M8 and M9, andamplifiers 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. -
FIG. 9 is a flow diagram illustrating an example ofprocess 960, which may be employed as an example ofprocess 260 ofFIG. 2 .Process 960 may be performed, for example, by an example ofcurrent regulator controller 100 ofFIG. 1 orcurrent regulator controller 600 ofFIG. 6 . - After a start block, during factory front-end trimming,
first trim circuit 620 controls front-end trimming of current sense gain ofdifferential 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. -
FIG. 10 is a flow diagram illustrating an example ofprocess 1060, which may be employed as another example ofprocess 260 ofFIG. 2 .Process 1060 may be performed, for example, by an example ofcurrent regulator controller 100 ofFIG. 1 orcurrent regulator controller 600 ofFIG. 6 . - After a start block, during factory front-end trimming,
first trim circuit 620 controls front-end trimming of current sense gain ofdifferential 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. -
FIG. 11 is a flow diagram illustrating an example ofprocess 1160, which may be employed as yet another example ofprocess 260 ofFIG. 2 .Process 1160 may be performed, for example, by an example ofcurrent regulator controller 100 ofFIG. 1 orcurrent regulator controller 600 ofFIG. 6 . - After a start block, during factory front-end trimming,
first trim circuit 620 controls front-end trimming of current sense gain ofdifferential 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. -
FIG. 12 is a flow diagram illustrating an example of firststage trim process 1261.Process 1261 may be employed, for instance, as an example ofblock 961 ofFIG. 9 , block 1061 ofFIG. 10 , and/or block 1161 ofFIG. 11 . - 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. Firststage 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, firststage 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. Firststage 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, firststage 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. -
FIG. 13 is a flow diagram illustrating an example of firststage trim process 1368.Process 1368 may be employed, for instance, as an example ofblock 968 ofFIG. 9 and/or block 1068 ofFIG. 10 . - 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 ofFIG. 7 . Then, firststage trim circuit 620 fixes signal 1trim based on the determined trim value. Next, SPI block 689 provides signal DI to have the minimum value of signal DI (with all bits of signal DI being 0) (1371). - 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. Secondstage 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, secondstage 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. Secondstage 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, secondstage 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, secondstage 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. -
FIG. 14 is a flow diagram illustrating an example of firststage trim process 1475.Process 1475 may be employed, for instance, as an example ofblock 1075 ofFIG. 10 and/or block 1175 ofFIG. 11 . The process ofFIG. 14 is performed directly in the field. - After a start block, second
stage trim circuit 640 causes the LED chain switch (e.g. transistor M7 ofFIG. 7 ) to be turned off (1476). In this way, the output current is zero for the end-of-line calibration process ofFIG. 14 . Then, secondstage trim circuit 640 causes SPI block 689 to send an SPI command for calibration (1477). - 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. Secondstage 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, secondstage 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. Secondstage 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, secondstage 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, secondstage trim circuit 640 causes the LED chain switch (e.g. transistor M7 ofFIG. 7 ) to be turned back on (1482). The process then proceeds to a return block, where other processing is resumed. - As discussed above, the end-of-line trimming of the process of
FIG. 14 is done at zero current, which is by definition a precisely accurate value of the output current, which is used to calibrate the output current. In this way, it can be ensured that the end-of-line calibration is calibrating versus a known, accurate value of current. In some examples, causing the output current to be zero can be accomplished by turning off digital dimming transistor M7 ofFIG. 7 . - The second stage trimming performed by the process of
FIG. 14 can be used to compensate offset and parameters deviation caused by back-end packaging stress, external components, PCT non-idealities, temperature, aging, external condition variations, and/or the like. - 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 (20)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/530,368 US9326335B1 (en) | 2014-10-31 | 2014-10-31 | Second stage calibration in DC/DC LED current regulation |
DE102015118630.6A DE102015118630B4 (en) | 2014-10-31 | 2015-10-30 | Calibration of the second stage in the DC / DC LED current control |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/530,368 US9326335B1 (en) | 2014-10-31 | 2014-10-31 | Second stage calibration in DC/DC LED current regulation |
Publications (2)
Publication Number | Publication Date |
---|---|
US9326335B1 US9326335B1 (en) | 2016-04-26 |
US20160128145A1 true US20160128145A1 (en) | 2016-05-05 |
Family
ID=55753542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/530,368 Active US9326335B1 (en) | 2014-10-31 | 2014-10-31 | Second stage calibration in DC/DC LED current regulation |
Country Status (2)
Country | Link |
---|---|
US (1) | US9326335B1 (en) |
DE (1) | DE102015118630B4 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE112018007763B4 (en) * | 2018-06-27 | 2023-02-23 | Dialog Semiconductor (Uk) Limited | CIRCUIT AND METHOD FOR REDUCING NOISE SIGNAL |
US10794982B2 (en) * | 2018-11-21 | 2020-10-06 | Nxp Usa, Inc. | Dynamic calibration of current sense for switching converters |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6150968A (en) * | 1997-12-02 | 2000-11-21 | Texas Instruments Incorporated | Trimming circuitry for pipeline A/D converter |
US7154421B2 (en) * | 2003-12-12 | 2006-12-26 | Telasic Communications, Inc. | DNL/INL trim techniques for comparator based analog to digital converters |
EP2775601B1 (en) * | 2013-03-04 | 2020-02-12 | Dialog Semiconductor GmbH | Adaptation of operating mode ranges of switching regulators by means of programmable voltage thresholds |
-
2014
- 2014-10-31 US US14/530,368 patent/US9326335B1/en active Active
-
2015
- 2015-10-30 DE DE102015118630.6A patent/DE102015118630B4/en active Active
Also Published As
Publication number | Publication date |
---|---|
DE102015118630B4 (en) | 2021-12-23 |
DE102015118630A1 (en) | 2016-05-04 |
US9326335B1 (en) | 2016-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10827575B2 (en) | Load control device having a wide output range | |
US10278242B2 (en) | Thermal and power optimization for linear regulator | |
US9451664B2 (en) | Adaptive switch mode LED driver | |
US10136487B2 (en) | Power optimization for linear regulator | |
US8552710B2 (en) | Calibration apparatus and method thereof, multi-channel driving circuit and current balancing method | |
US9615413B2 (en) | Driver circuit using dynamic regulation and related techniques | |
US7733030B2 (en) | Switching power converter with controlled startup mechanism | |
US8853960B2 (en) | Dimming control circuit and method for generating analog and digital signals according to one analog control signal | |
US20130088169A1 (en) | Constant-current led driver circuit and output voltage adjustable circuit and method thereof | |
US20130221875A1 (en) | Light emitting device driver circuit and control method thereof | |
US20160360590A1 (en) | High-Efficiency, Wide Dynamic Range Dimming for Solid-State Lighting | |
US10548188B2 (en) | Constant current linear driver with high power factor | |
US20160219667A1 (en) | Control circuit of light emitting diode lighting apparatus | |
KR20130137650A (en) | Circuitry to control a switching regulator | |
US20180049283A1 (en) | Apparatus and methods for converter mode and load configuration control | |
US10588193B2 (en) | LED module and lighting apparatus | |
US9326335B1 (en) | Second stage calibration in DC/DC LED current regulation | |
US20090315468A1 (en) | Light source driving circuit with dimming control function | |
JP2018163852A (en) | Lighting device | |
WO2015036551A1 (en) | Controller for controlling a current regulating element of a lighting load | |
TWI399128B (en) | Method and circuit of controlling an led charge pump driving circuit | |
US10932338B2 (en) | Power supply adjustment system and lighting apparatus | |
EP2897272B1 (en) | Method and converter for supplying current to series connection of LEDs | |
CN112369124B (en) | Light source driving device and method thereof | |
Park et al. | Multi-channel LED driver with self-optimized active current regulator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: INFINEON TECHNOLOGIES AG, GERMANY Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:MILANESI, PAOLO;PENZO, ROBERTO;GALVANO, MAURIZIO;REEL/FRAME:034084/0639 Effective date: 20141031 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 8 |