# US 2010/0060498 A1 · Calibration circuit and associated method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2010/0060498 A1
- Document ID: US20100060498A1
- Status: Published application
- Kind: A1
- Application number: 12/620,237
- Filed: 2009-11-17
- Published: 2010-03-11
- Earliest claimed: 2006-12-05
- Assignees: Wolfson Microelectronics plc
- Inventors: Alastair Mark Boomer; John Paul Lesso
- Web page: https://patentgrep.com/patent/US20100060498A1

## CPC

- H03M 1/1023: {Offset correction (H03M1/1019 takes precedence; removal of offset already present on the analogue input signal H03M1/1295)}
- H03M 1/1009: {Calibration}
- H03M 1/12: Analogue/digital converters ({H03M1/001 – } H03M1/10 take precedence)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

A calibration circuit and method suitable for black level calibration in image processing, the circuit comprising an analogue gain amplifier, an analogue to digital converter; a correction circuit for receiving a digital signal and providing a digital offset signal; and a digital to analogue converter for receiving said digital offset signal and feeding a corresponding analogue offset signal back to the input of said gain amplifier. The calibration circuit is arranged such that the correction circuit and said digital to analogue converter form a feedback loop applying an offset to said input signal and said correction circuit includes an inverse gain circuit for applying an inverse gain to a signal within said correction circuit prior to said digital to analogue converter. Preferably the inverse gain applied is such that the total loop gain does not deviate too far from unity.

## Claims

### Claim 1

A circuit for obtaining a calibrated output signal from an input signal, the circuit comprising:
an analogue gain amplifier comprising a first input for receiving said input signal, said analogue gain amplifier being configured to apply a gain to said input signal;
an analogue to digital converter for converting said input signal to digital form after amplification by said gain amplifier;
a correction circuit for receiving a signal derived from the output of the analogue to digital converter and outputting a digital offset signal; and
a digital to analogue converter for receiving said digital offset signal and feeding a corresponding analogue offset signal back to said first input of said gain amplifier, such that said correction circuit and said digital to analogue converter form a feedback loop applying an offset to said input signal prior to amplification,
wherein said correction circuit includes an inverse gain circuit for applying an inverse gain to a signal within said correction circuit prior to said digital to analogue converter.

### Claim 2 (depends on 1)

The circuit as claimed in claim 1 wherein said inverse gain is applied so as to establish a combined gain response applied around said feedback loop within predetermined bounds.

### Claim 3 (depends on 2)

The circuit as claimed in claim 2 wherein the gain of said gain amplifier is variable, the circuit further comprising a controller for controlling said inverse gain circuit so as to vary the inverse gain automatically so as to maintain the loop gain factor within said predetermined bounds as the gain of the gain amplifier varies.

### Claim at position 4

4-5. (canceled)

### Claim 6 (depends on 3)

The circuit as claimed claim 3 wherein said gain amplifier is a programmable gain amplifier, the gain being dependent on an input coefficient applied to a control input of the calibration circuit, the number of possible gain values that said inverse gain circuit can apply being less than the total number of possible input coefficients for said programmable gain amplifier.

### Claim 7 (depends on 6)

The circuit as claimed in claim 6 wherein said controller is arranged to use a look up table in order to select the inverse gain to be applied by reference to the coefficient controlling said gain amplifier, said look up table being divided into regions, with a single inverse gain factor being selected for all the coefficient values in each region.

### Claim 8 (depends on 7)

The circuit as claimed in claim 7 wherein said single inverse gain factor for each region is calculated from the mean coefficient value in that region.

### Claim 9 (depends on 1)

The circuit as claimed in claim 1 wherein said inverse gain circuit is a shift-add multiplier, the number of possible gain values said shift-add multiplier can apply being a power of two.

### Claim 10 (depends on 1)

The circuit as claimed in claim 1 wherein said correction circuit further comprises a digital adder, and a target calibration level is set by addition of a target calibration signal to said signal derived from the output of the analogue to digital converter such that said offset applied to said input signal is dependent on said target calibration level.

### Claim 11 (depends on 1)

The circuit as claimed in claim 1 further comprising a digital adder in an output signal path of said circuit, a target calibration level being set by addition of a target calibration signal to said signal derived from the output of the analogue to digital converter, to obtain said calibrated output signal.

### Claim 12 (depends on 1)

The circuit as claimed in claim 1, said circuit being arranged to take a number of iterations, if necessary, in order to perform said calibration wherein a pre-determined delay is introduced between successive iterations to allow for latency in the calibration circuit.

### Claim 13

A method for obtaining a calibrated output signal from an input signal prior to amplification by a gain amplifier comprising:
converting the amplified signal to a digital signal;
applying an inverse gain factor to a signal derived from said digital signal to obtain a digital offset signal;
converting said digital offset signal to an analogue offset signal; and
using said analogue offset signal to apply an offset to said input signal prior to amplification, thereby to define a feedback loop.

### Claim 14 (depends on 13)

The method as claimed in claim 13 wherein the gain of said gain amplifier is variable, and further including controlling said inverse gain factor so as to vary the inverse gain automatically so as to maintain the loop gain factor around said feedback loop within predetermined bounds as the gain of the gain amplifier varies.

### Claim at position 14

15-16. (canceled)

### Claim 17 (depends on 14)

The method as claimed in claim 14 wherein said gain amplifier is a programmable gain amplifier, the gain being dependent on an input coefficient the method being such that, when applying the inverse gain factor, the number of possible gain values that can be applied is less than the total number of possible input coefficients for said programmable gain amplifier.

### Claim 18 (depends on 17)

The method as claimed in claim 17 wherein a look up table is used in order to select the inverse gain factor to be applied, depending on the value of said input coefficient of the programmable gain amplifier, said look up table being divided into regions, with a single inverse gain factor being selected for all the coefficients in each region.

### Claim 19 (depends on 18)

The method as claimed in claim 18 wherein said single inverse gain factor for each region is calculated from the mean coefficient in that region.

### Claim 20 (depends on 13)

The method as claimed in claim 13 wherein the number of possible gain values that can be applied is a power of two, said inverse gain factor being applied using a shift-add multiplier,

### Claim 21 (depends on 13)

The method as claimed in claim 13 wherein a target calibration level is set by addition of a target calibration signal to said signal derived from the output of the analogue to digital converter such that said offset applied to said input signal is dependent on said target calibration level.

### Claim 22 (depends on 13)

The method as claimed in claim 13 wherein a target calibration level is set by addition of a target calibration signal to said signal derived from the output of the analogue to digital converter, to obtain said calibrated output signal.

### Claim 23 (depends on 13)

The method as claimed in claim 13, wherein a number of iterations are taken, if necessary, in order to perform said calibration and a pre-determined delay is introduced between successive iterations to allow for latency in the calibration circuit.

### Claim 24 (depends on 13)

The method as claimed in claim 13 specifically performed to set a black level offset for image processing said calibration being performed while specifically designated black pixels are being scanned.

### Claim 25

An image capturing system comprising:
an imaging sensor for producing an analogue input signal,
a signal conditioning circuit which comprises an analogue gain amplifier comprising a first input for receiving said analogue input signal, said analogue gain amplifier being configured to apply a gain to said input signal,
a signal conversion circuit which comprises an analogue to digital converter for converting said input signal to digital form after amplification by said gain amplifier, wherein said signal conversion circuit generates, at an output, a calibrated digital signal representing an analogue input signal received from said imaging sensor via said signal conversion circuit, wherein said image capturing system further comprises calibration circuitry for calibrating said input signal, said calibration circuitry comprising:
a correction circuit for receiving a signal derived from the output of the analogue to digital converter and outputting a digital offset signal; and
a digital to analogue converter for receiving said digital offset signal and feeding a corresponding analogue offset signal back to the input of said gain amplifier, such that said correction circuit and said digital to analogue converter form a feedback loop applying an offset to said input signal, wherein said correction circuit includes an inverse gain circuit for applying an inverse gain to a signal within said correction circuit prior to said digital to analogue converter, said inverse gain being applied so as to establish a combined gain response applied around said feedback loop within predetermined bounds.
