The technology disclosed in this specification relates to analog-to-digital converters (hereinafter referred to as ADCs), and more particularly to gain control technology of single-slope ADCs.
In recent years, image sensors having a large number of pixels have been used in digital camera systems. In order to achieve high speed video imaging, image sensors include ADCs corresponding to respective columns of a pixel array, and perform analog-to-digital conversion of output signals from a line of pixels during a horizontal scan period. Such analog-to-digital conversion is called “column parallel analog-to-digital conversion.” A single-slope ADC having a relatively small circuit size is often used as an ADC for column parallel analog-to-digital conversion due to limited mounting area.
A single-slope ADC inputs a reference ramp signal correlated to a count value of a counter to a comparator as a reference voltage, compares an analog signal to be converted with the reference ramp signal, holds the count value when the both signal values match, and outputs this count value as a result of analog-to-digital conversion. In order to maximally utilize the performance of an ADC and to prevent the signal-to-noise ratio (SNR) from lowering due to quantization noise etc., processing of pixel signals in an image sensor generally requires, upstream of the ADC, analog gain control to amplify the pixel signals to be converted to a suitable level for the dynamic range of the ADC. In a single-slope ADC, analog gain control is achieved by changing the resolution of the ADC by changing the maximum voltage of the reference ramp signal, thus by controlling the slope of the reference ramp signal, depending on a gain control signal, which is a digital value provided from the outside world.
As resolutions of ADCs have been increased, analog gain control with higher accuracy has been required. In addition, increase of the dynamic ranges of pixel signals has required a broader gain control range. Moreover, in order that the amplification factor (value in dB) of an ADC may be linear with respect to the value of a gain control signal, the amplitude of the reference ramp signal is generally changed exponentially with respect to the value of the gain control signal. As technologies to provide such gain control, the following techniques are known.
Patent Document 1 describes a technology to supply a variable reference voltage from a reference voltage generation circuit to a voltage-summing digital-to-analog converter (hereinafter referred to as DAC) which outputs a reference ramp signal. A voltage divided by a resistor chain, in which a plurality of resistors are connected in series, is selected according to a digital control signal, and supplied as the maximum voltage of the ramp signal. A nonlinear weighting, which approximates an exponential characteristic, is applied to each unit resistor in the resistor chain.
Patent Document 2 describes a technology to supply a reference current from a current-summing DAC to another current-summing DAC which outputs a reference ramp signal. This technology allows the slope of the ramp signal to be changed with high accuracy according to a digital control signal.
Patent Document 1: Japanese Patent Publication No. 2003-289251
Patent Document 2: Japanese Patent Publication No. 2007-059991
However, the technology of Patent Document 1 requires as many voltage division points as the number of levels which can be represented by the value of a control signal. Since the unit resistors of the resistor chain are weighted, increasing the resolution of gain control causes the area occupied by the resistors to be significantly increased. In addition, a decode circuit to generate a control signal for selecting a divided voltage and a selection switch are also required. Therefore, if the ADC is installed, for example, in an image sensor, then increasing the resolution causes an increase of the area of peripheral circuits of the pixel array and an increase of the chip size. Moreover, enough current for driving loads, such as the input capacitance of an output buffer and the resistance of a selection switch, needs to flow through the resistor chain. Thus, in order to increase the resolution, not only extension of the resistor chain but also reduction in the resistance value of each unit resistor are required. However, achievable resolution is limited due to the minimum resistance value of a resistor device allowable in the semiconductor process.
The technology of Patent Document 2 controls the amplitude of the reference ramp signal by a current-summing DAC; therefore, high-accuracy gain control depending on the resolution of the DAC is readily provided, and the circuit area increases by only a small amount. However, in order to control the amplification factor to linearly change with the value of the control signal, the control signal needs to be provided to the DAC as an input after having been converted by digital signal processing using an exponential function. This requires a logic circuit and/or a conversion table for that purpose in a digital circuit section, thus increasing the resolution of gain control results in increases of the size and the area of peripheral circuits of the pixel array. In addition, when the control signal which has been converted using an exponential function is input to the DAC, depending on a given gain range, unselected current cells in the DAC consume power even though these cells do not contribute to operation; thus, such power is wasted.
It is an object of the present invention to provide a current generation circuit by which control is provided so that a linear relationship is established between the gain control signal and the amplification factor (value in dB) in a single-slope ADC while reducing an increase in the circuit area.
A current generation circuit according to an embodiment of the present invention includes a first current output section configured to output a first current, a second current output section configured to output a second current proportional to the first current, and a variable-current control section configured to generate a third current proportional to the first current, to divide the third current into a fourth current and a fifth current according to a first control signal, and to output the fourth and the fifth currents, where the current generation circuit outputs a sum of the first and the fourth currents as a reference current, and a sum of the second and the fifth currents as an output current.
This allows linearity to be established with high accuracy between the first control signal and the logarithm of the output current while reducing an increase in the circuit area. Using this current generation circuit in a single-slope ADC allows high-accuracy control to be provided so that a linear relationship is established between the first control signal and the amplification factor (value in dB).
A single-slope analog-to-digital converter (ADC) according to an embodiment of the present invention includes a current generation circuit, a digital-to-analog converter (DAC) configured to generate a reference ramp signal having a voltage which increases or decreases proportionally to an input count value, and an ADC configured to output the count value. The current generation circuit includes a first current output section configured to output a first current, a second current output section configured to output a second current proportional to the first current, and a variable-current control section configured to generate a third current proportional to the first current, to divide the third current into a fourth current and a fifth current according to a first control signal, and to output the fourth and the fifth currents. The current generation circuit outputs a sum of the first and the fourth currents as a reference current, and a sum of the second and the fifth currents as an output current. A maximum value of the voltage of the reference ramp signal depends on the output current. The ADC counts up according to a clock signal, and outputs as a result of analog-to-digital conversion the count value when the reference ramp signal reaches the voltage of a signal to be converted.
Another single-slope ADC according to an embodiment of the present invention includes a current generation circuit, a DAC configured to generate a reference ramp signal having a voltage which increases or decreases proportionally to an input count value, and an ADC configured to output the count value. The current generation circuit includes a first current output section configured to output a first current, a second current output section configured to output a second current proportional to the first current, a variable-current control section configured to generate a third current proportional to the first current, to divide the third current into a fourth current and a fifth current according to a first control signal, and to output the fourth and the fifth currents, and a load resistor circuit. The current generation circuit outputs a sum of the first and the fourth currents as a reference current, and a sum of the second and the fifth currents as an output current. The load resistor circuit supplies the output current to a reference potential node. A maximum value of the voltage of the reference ramp signal depends on an output voltage generated in the load resistor circuit. The ADC counts up according to a clock signal, and outputs as a result of analog-to-digital conversion the count value when the reference ramp signal reaches the voltage of a signal to be converted.
A camera according to an embodiment of the present invention includes an image sensor configured to convert light which is input to each pixel into a voltage and to output the voltage, and a digital-video-signal processing section configured to perform signal processing on an output of the image sensor. The image sensor includes a pixel array, having a plurality of photodiodes corresponding to the respective pixels, and configured to output an electrical signal depending on detected light, for each column of the plurality of photodiodes, a current generation circuit, a DAC configured to generate a reference ramp signal having a voltage which increases or decreases proportionally to an input count value, and a plurality of column parallel ADCs respectively corresponding to the columns of the plurality of photodiodes. The current generation circuit includes a first current output section configured to output a first current, a second current output section configured to output a second current proportional to the first current, and a variable-current control section configured to generate a third current proportional to the first current, to divide the third current into a fourth current and a fifth current according to a first control signal, and to output the fourth and the fifth currents. The current generation circuit outputs a sum of the first and the fourth currents as a reference current, and a sum of the second and the fifth currents as an output current. A maximum value of the voltage of the reference ramp signal depends on the output current. The plurality of column parallel ADCs each counts up according to a clock signal, and each outputs as a result of analog-to-digital conversion the count value when the reference ramp signal reaches the voltage of a signal output from a corresponding column of the plurality of photodiodes.
According to example embodiments of the present invention, a current generation circuit in which linearity is established with high accuracy between the input gain control signal and the logarithm of the output signal can be easily achieved without using conversion tables, etc. while reducing an increase in the circuit area. In addition, in a single-slope ADC, using an output signal of the current generation circuit as a reference signal providing the amplitude of the reference ramp signal allows high-accuracy gain control while reducing an increase in the circuit size.
Example embodiments of the present invention will be described below with reference to the drawings, in which the last two digits of the reference numerals are repeated to designate the same or similar components which correspond to one another.
The current control circuit 100 outputs an output current IOUT having an amount depending on both a reference potential VREF and an n-bit (where n is a natural number) gain control signal D(n−1:0). A gain control signal D(n2:n1) (where n1 and n2 are integers satisfying 0≦n1<n and 0≦n2<n, respectively), as used herein, denotes the bits from n1-th bit to n2-th bit of the gain control signal D, and a gain control signal D(n1) denotes the n1-th bit of the gain control signal D. The zeroth bit is the least significant bit of the gain control signal D.
The DAC 2 generates and outputs a reference ramp signal SLS having a voltage proportional to the count value of the counter 6. The DAC 2 uses the output current IOUT as the reference current, and sets the amplitude (maximum value) of the reference ramp signal SLS to a value depending on the output current IOUT. The description below assumes that the DAC 2 sets the amplitude of the reference ramp signal SLS to a value proportional to the output current IOUT.
The comparator 5 compares a signal to be converted ISG, which is an analog signal, with the reference ramp signal SLS, and notifies the counter 6 when the both match. The counter 6 counts pulses of a clock CLK. The counter 6 holds a count value when a notice is received from the comparator 5, and outputs the count value as an analog-to-digital conversion result ADV. Then, the counter 6 resets the count value. Accordingly, the value of the analog-to-digital conversion result ADV is proportional to the reciprocal of the value of the output current IOUT.
Here, the current control circuit 100 sets the output current IOUT to a value proportional to an exponential function of the gain control signal D so that the output current IOUT decreases as the value of the gain control signal D increases. This causes the logarithm of the analog-to-digital conversion result ADV, which is output from the counter 6, to be linear with respect to the gain control signal D. That is, a linear relationship is established between the gain control signal D and the amplification factor (value in dB) of the single-slope ADC of
Next, a method for changing the current IOUT into a value depending on an exponential function of the gain control signal D will be discussed. The exponential characteristic of the current IOUT with respect to the gain control signal D, which is a digital value, needs to be provided with high accuracy. Since the binary number system is often used in digital control, an exponential function of base 2 is convenient. An almost ideal characteristic can be obtained for integer exponents; however, some approximation needs to be performed for decimal exponents.
Thus, to make the circuits as simple as possible, a high-accuracy exponential approximation is performed using a simple function. For example, an approximation equation yielding a very small error which uses a fractional function such as Equation 1 shown below is known:
2x≈L(x)=(24+10x)/(24−7x) (0≦x≦1) (1)
(See Barbour, J. M., “A geometrical approximation to the roots of numbers,” The American Mathematical Monthly, Vol. 64, No. 1 (January, 1957), pp. 1-9).
Assuming that x is expressed by, for example, a p-bit number “t,” Equation 1 can be rewritten as follows by replacing the continuous variable x with a discrete value t/2p:
2x≈{24+10(t/2p)}/{24−7(t/2p)} (p is an integer more than 1, and t is an integer satisfying 0≦t≦2p) (2)
Generally, 2y can be produced from composition of two exponential functions:
2y=2(m+x)=(2m)·(2x) (y is a real number, and m is an integer) (3)
Thus, control is provided so that 2m is expressed by weighting according to each bit value of the most-significant m bits of the number y, and 2x is expressed by the least-significant p bits (the number t) of the number y as Equation 2. If processing is performed in the circuit so that t is reset to zero and m is incremented by one when t=2p, then a carry operation from the lower circuit to the higher circuit can also be performed, and thus continuity is established.
Next, an optimum configuration with respect to Equation 2 corresponding to the control by the lower bits will be discussed. Considering that when the number t increases, the second term in the numerator increases and the second term in the denominator decreases, a circuit corresponding to these terms can be easily achieved by a configuration in which, for example, current routes are switched according to the number t, and such configuration can effectively utilize electric power and the circuit. By multiplying the numerator by 7/2 and the denominator by 5 to match the coefficients in the terms including the number t in the numerator and the denominator of Equation 2, and then by transforming Equation 2, considering that both the second term in the numerator and the second term in the denominator are changed by switching current routes, we obtain:
2x≈(10/7)·{84+35(t/2p)}/{85+35(1−t/2p)} (p is an integer more than 1, and t is an integer satisfying 0≦t≦2p) (4)
The current corresponding to “35” in Equation 4 is divided into a current corresponding to 35(t/2p) and a current corresponding to 35(1−t/2p) according to the number t, and the former current is added to the current corresponding to “84,” and the latter current is added to the current corresponding to “85.” In this way, the numerator and the denominator of Equation 4 can be expressed. The ratio between the numerator and the denominator allows a high-accuracy approximation of the exponential characteristic by the number t (the least-significant p bits of the number y).
Since the range of the exponent x=t/2p is 0≦x≦1 in Equation 2, the current control circuit 100 can provide the single-slope ADC with a variable amplification function of 0-6 dB. Each current described above is generated based on a reference current which is generated from, for example, a reference potential and a resistor. If the reference current is changed by changing the resistance value of the resistor according to a value of 2m, then the amplification factor of the single-slope ADC can vary more widely.
Although the foregoing description discusses a case where 2x increases from an initial value to a value twice as high (i.e., from 0 dB to −6 dB), a similar argument applies to a case where 2x decreases from an initial value to a half value (i.e., from 0 dB to −6 dB). This case corresponds to the negative sign of the exponent; thus, exchange between the numerator and the denominator in Equation 1 leads to a necessary equation, and a necessary transformation can also be achieved by exchanging the numerator and the denominator in Equation 4.
In the single-slope ADCs of
In this embodiment, a current control circuit and a voltage control circuit based on the principle of the high-accuracy exponential approximation described above will be described more in detail. The single-slope ADCs of
The variable-current control section 20 includes a current source set 22, a PMOS transistor 24 as a unit current source, a current switching section 26, and a switch 28. The current source set 22 includes n−2 PMOS transistors TR0, . . . , TRn−4, and TRn−3 each as a current source. The current switching section 26 includes n−2 inverters IV0, . . . , IVn−4, and IVn−3, and 2(n−2) switches SA0, . . . , SAn−4, SAn−3, SB0, . . . , SBn−4, and SBn−3. The reference-current control section 40 includes a resistor chain (resistor circuit) 42 in which resistors are connected in series, and a selector 44.
The gates of the PMOS transistors 14, 16, and 24, and of the PMOS transistors of the current source set 22 are commonly supplied with an output signal APO of the operational amplifier 12 as a bias signal. Thus, the PMOS transistors 16 and 24, and the current source set 22 respectively output currents proportional to the current of the PMOS transistor 14. The ratio between the current of the PMOS transistor 14 (first current), the current of the PMOS transistor 16 (second current), and the sum of the current of the current source set 22 and the current of the PMOS transistor 24 (third current) is, for example, approximately 84:85:35, and the ratio is almost constant. In this case, the ratio between the size of the PMOS transistor 14, the size of the PMOS transistor 16, and the sum of the sizes of all the PMOS transistors of the current source set 22 and the PMOS transistor 24 is approximately 84:85:35. As used herein, the size of a transistor means, for example, the gate width of a transistor.
The current source set 22 and the PMOS transistor 24 of the variable-current control section 20 generate currents proportional to the current of the PMOS transistor 14, and the variable-current control section 20 divides the generated current into two currents and then outputs the currents. That is, the variable-current control section 20 outputs a part of the current of the current source set 22 to a node N1 according to the least-significant six bits D(n−3:0) (first control signal) of the gain control signal D, and the rest to a node N2. The variable-current control section 20 outputs a current, for example, having a magnitude proportional to the gain control signal D(n−3:0), to the node N1. The sum of the currents output to the node N1 and to the node N2 by the variable-current control section 20 is almost constant.
The current control circuit 100 outputs the sum of the current of the PMOS transistor 14 and the current (fourth current) output from the current source set 22 to the node N1, to the reference-current control section 40, as a reference current IREF. In addition, the current control circuit 100 outputs a current, which is generated by adding the current of the PMOS transistor 16 to the sum (fifth current) of the current output from the current source set 22 to the node N2 and the current of the PMOS transistor 24, from an output terminal 18, as an output current IOUT.
First, a control operation according to the most-significant two bits D(n−1:n−2) (second control signal; here, D(7:6)) of the gain control signal D will be described. The decoder 46 generates two select signals SS1 and SS2 according to the most-significant two bits of the control signal. The tap supplied with the reference current IREF is selected by the select signal SS1, and the tap having a potential of one-half that of the selected tap is selected by the select signal SS2. The voltage of the tap selected by the select signal SS2 is supplied to the non-inverting input of the operational amplifier 12 as an input signal APP.
The operational amplifier 12 provides feedback control for the output voltage APO so that the reference potential VREF supplied to the inverting input and the input signal APP will match. This causes the potential of the node N1 to be stably maintained at twice as high as that of the input signal APP of the operational amplifier 12, and the reference current IREF to be uniquely determined. Note that since the PMOS transistor 14 serves also as a drive transistor of a single-stage amplifier in terms of a feedback loop, the phase compensation circuit 13 is coupled between the gate and the drain of the PMOS transistor 14.
The decoder 46 outputs the select signal SS1 to turn on one switch so that a higher value of the gain control signal D(n−1:n−2) causes the reference current IREF to flow through a resistor having a higher resistance value. Since a smaller slope of the reference ramp signal SLS results in a higher amplification factor in the single-slope ADCs of
The resistors R1-R5 are set to have a relationship of powers of two among the values of resistances from the respective voltage-division taps of the resistor chain, formed of the resistors R1-R5, to ground. Therefore, the reference current IREF can be expressed using the maximum value Iref0 of the reference current IREF and the value “s” of the gain control signal D(n−1:n−2) as:
IREF=2−s·Iref0 (s=0, 1, 2, 3) (5)
Next, using as a reference value a current determined in a stepwise fashion by the higher bits of the gain control signal D, a current having a magnitude in a range of values determined by Equation 5 is generated with high accuracy according to the lower bits of the gain control signal D, under the principle expressed by Equation 4. In this regard, since the current should monotonically decrease also with the value of the lower bits, an equation expressing the reciprocal of Equation 4 is used:
2−x≈(7/10)·{85+35(1−t/2p)}/{84+35(t/2p)} (p is an integer less than or equal to n, and t is an integer satisfying 0≦t−2p) (6)
The current IOUT which is output from the output terminal 18 is expressed as follows.
Here, since “7/10” in Equation 6 is a constant, the value 7/10 has no direct effect on the control. Thus, (7/10)·Iref0 is hereinafter rewritten as Iref0. By substituting Equation 6 into the previous equation and then transforming, the previous equation can be rewritten as:
In order to implement the relationship of Equation 7 in a circuit, each current source included in the current source set 22 of the variable-current control section 20 of
The inverters IV0, . . . , IVn−4, and IVn−3 respectively output inverted signals of the corresponding gain control signals D(0), . . . , D(n−4), and D(n−3). Each of the switches SA0-SAn−3 and SB0-SBn−3 turns on when the logical value of the control signal thereto is one, and turns off when the logical value is zero. Each of the switches SA0-SAn−3 and SB0-SBn−3 distributes the current of a corresponding current source (hereinafter referred to as “weighted current”) in the current source set 22 into the nodes N1 and N2 according to the gain control signal D(n−3:0).
Thus, the current of each current source in the current source set 22 flows entirely into the node N2 when the gain control signal D(n−3:0) is zero (this corresponds to t=0), and the current distributed to the node N1 is gradually increased every time the gain control signal D(n−3:0) is incremented by one, during which the summed current of the current of the PMOS transistor 14 and the current distributed to the node N1 is maintained at the reference current IREF by the feedback control of the operational amplifier 12. Therefore, the output current IOUT changes while the relationship of the predetermined current ratio (aforementioned 84:85:35) between the current of the PMOS transistor 14, the current of the PMOS transistor 16, and the sum of the currents of the current source set 22 and of the PMOS transistor 24 is maintained.
Eventually, the weighted current entirely flows into the node N1 when the gain control signal D(n−3:0)=2n−2−1 (this corresponds to t=2p−1). In Equation 7, the term {84+35(t/2p)} in the denominator corresponds to the summed current of the current of the PMOS transistor 14 and the current distributed to the node N1, and the term {85+35(1−t/2p)} in the numerator corresponds to the summed current of the current of the PMOS transistor 16 and the current distributed to the node N2. A current calculated by multiplying the current Iref0 by the ratio between these summed currents is the output current IOUT.
When t=0, Equation 7 is expressed as:
IOUT(0)=Iref0·120/84
and when t=2p, Equation 7 is expressed as:
IOUT(2p)=Iref0·85/119
That is, there is a relationship of IOUT(2p)=IOUT(0)/2. Here, the current corresponding to “35” of the above current ratio 84:85:35 is expressed by control in the range of the control code 0-2p in Equation 7. However, t=2p is beyond the control range by the gain control signal D(p−1:0) because the gain control signal D(p−1:0) has p bits.
Accordingly, a current of a unit current source (PMOS transistor 24), which supplies the same value of current as that of the current source (PMOS transistor TR0) corresponding to the least significant bit D(0) of the gain control signal D in the current source set 22 of the variable-current control section 20, is always supplied to the node N2. This allows the control of t=2p to be equivalently achieved by a carry operation to the upper bits, and thus the output current IOUT to be monotonically increased. In this way, the variable-current control section 20 exponentially decreases the output current IOUT approximately from an initial value to half the initial value according to the gain control signal D(p−1:0).
In addition, resistors, transistors, etc. (elements in which a current value does not change between the input and the output) may exist on both the output current path of the PMOS transistor 14 and the current path to the node N1 of the variable-current control section 20. The only requirement is that the resistor chain 42 exist between the junction of the both currents and the reference potential (in this embodiment, ground). Similarly, the current of the PMOS transistor 16 and the current to the node N2 of the variable-current control section 20 need to meet, and then be output from the output terminal 18.
As described above, according to the current control circuit 100 of
A switch 28, having a same characteristic as those of the switches SA0 and SB0, corresponding to the least significant bit, in the current source set 22 of the variable-current control section 20, is connected to the PMOS transistor 24. This configuration allows the source-to-drain voltage of the PMOS transistor 24 to be the same as those of the PMOS transistor TR0 etc., thereby reducing a current error due to channel length modulation effects. In particular, if high accuracy of adjustment is required, it is preferable that the resistor value of each switch be inversely proportional to the current flowing therethrough because a weighted current flows through each switch of the current switching section 26 of the variable-current control section 20. Note that, depending on the required accuracy of gain adjustment, such consideration may be omitted.
Although the PMOS transistor 24 is fixedly coupled to the node N2 in the above description, the PMOS transistor 24 may be coupled to the node N1. In this case, the gain setting value shifts only by one stage, thus the accuracy and the variable range of currents are not affected.
The decoder 246 controls each switch according to the gain control signal D(n−1:n−2) so that the combined resistance of the resistor chain will be (a power of two)·R. For example, when the gain control signal D(n−1:n−2)=(1, 1), the decoder 246 turns on only the switch connected to the resistor R15 to set the combined resistance of the resistors to 8R; and when the gain control signal D(n−1:n−2)=(0, 0), the decoder 246 turns on all the switches connected to the resistors R11-R15 to set the combined resistance of the resistors to R. Any configuration may be used as long as the combined resistance of the resistors is set to (a power of two)·R according to the gain control signal D(n−1:n−2).
As an example, the control circuit BA0 will be described. The control circuit BA0 includes an inverter IV0, PMOS transistors TA0 and TB0, and switches SA00, SA01, SB00, and SB01. The PMOS transistors TA0 and TB0 are respectively coupled to nodes N1 and N2. The PMOS transistors TA0 and TB0 form a set of current sources, and enable control is provided by the gain control signal D(0).
That is, when the gain control signal D(0)=0, only the switches SA00 and SB01 turn on. The PMOS transistor TA0 turns off and the PMOS transistor TB0 turns on, thus a current flows to the node N2. When the gain control signal D(0)=1, only the switches SA01 and SB00 turn on. The PMOS transistor TB0 turns off and the PMOS transistor TA0 turns on, thus a current flows to the node N1.
The control circuit BB0 includes an inverter IV0, and switches SC0 and SD0. Each of the other control circuits also includes an inverter and two switches. Here, the ratio between the resistances of the switches in the control circuits BB0-BBn−3 is 2n−3:2n−4: . . . :21:20. The resistance of the switch 28 is the same as that of the switch SC0.
As an example, the control circuit BB0 will be described. When the gain control signal D(0)=0, the switch SD0 turns on, thus a current flows to the node N2. When the gain control signal D(0)=1, the switch SC0 turns on, thus a current flows to the node N1.
In the case of the variable-current control section of
The R-2R resistor ladder 323 distributes the current output from the PMOS transistor 32 into weighted currents corresponding to the respective bits of the gain control signal D(n−3:0). The R-2R resistor ladder 323 includes resistors each having a resistance value of R and resistors each having a resistance value of 2R. The terminals not connected to resistors having a resistance value of R, among the terminals of resistors having a resistance value of 2R in the R-2R resistor ladder 323, serve as output terminals of the R-2R resistor ladder 323.
As described above referring to
The R-2R resistor ladder 323 can distribute a current with high accuracy by optimizing the layout of the resistors having a resistance value of R and the resistors having a resistance value of 2R so that the ratio between the resistance values is insusceptible to variation in a semiconductor process. In addition, the greater the extent to which the resistance value of each resistor in the resistor ladder 323 exceeds the resistance values of the switches in the current switching section 326 and the switch 28, the smaller the effects on the current accuracy due to variation in the resistance values of the switches can be.
If the switches of the current switching section 326 of
The transistor size of the cascode-transistor switch corresponding to each bit of the gain control signal D(5:0) is proportional to the value of a current which is expected to flow through the transistor. In addition, the transistor size of the cascode-transistor switch 427 corresponding to the least significant bit D(0) of the gain control signal D is the same as that of the unit switch 428. The bias voltage generation section 421 generates and outputs the bias voltage BIAS2. The bias voltage BIAS2 is commonly applied to each of the cascode-transistor switches 427 and to the unit switch 428. Thus, the potentials of the current output terminals of the resistor ladder 323 can be almost the same, thereby preventing the accuracy of current division from being reduced.
Due to a bias effect of the cascode-transistor switches 427, the source-to-drain voltage of the PMOS transistor 32, serving as a current source, becomes lower than the source-to-drain voltages of the PMOS transistors 14 and 16, each serving as a current source, thereby raising the possibility for the linearity of an output voltage to degrade when a higher bit of the gain control signal D changes. Accordingly, the bias transistors 415 and 417 are provided on the current output path of the PMOS transistors 14 and 16, and the bias voltage BIAS2 is applied to the gates thereof in order that the source-to-drain voltages of these current sources may match.
A current flowed from the resistor ladder 323 to the node N1 flows through the PMOS transistor 522 into the reference-current control section 40. A current flowed from the resistor ladder 323 to the node N2 flows through the PMOS transistor 523, and is output from the output terminal 18. The bias voltage generation section 521 generates and outputs a bias voltage BIAS1 to the gates of the PMOS transistors 522 and 523. The bias voltage generation section 521 generates also the bias voltage BIAS2 similarly to the bias voltage generation section 421.
According to the bias control method of
The voltage control circuit 600 outputs an output voltage VOUT having a magnitude depending on a reference potential VREF and an n-bit gain control signal D(n−1:0). The voltage buffer 601 outputs the output voltage VOUT to the DAC 602 as a reference voltage. Since some level of current-supplying capability is required for applying a reference voltage, the voltage buffer is used. The DAC 602 generates and outputs a reference ramp signal SLS having a voltage proportional to the count value of the counter 6. The DAC 602 uses the output voltage VOUT as the reference voltage, and sets the amplitude (maximum value) of the reference ramp signal SLS to a value depending on the output voltage VOUT. The description below assumes that the DAC 602 sets the amplitude of the reference ramp signal SLS to a value proportional to the output voltage VOUT.
VOUT=VREF/R0·{85+35(1−t/2p)}/{84+35(t/2p)}·Ro (p is an integer less than or equal to n, and t is an integer satisfying 0≦t≦2p) (8)
Assuming that n=8 and the value of the gain control signal D (8-bit control code value) when 0 dB is set is, for example, 80h (hexadecimal), the most-significant two bits of the gain control signal D are (1, 0), and the value of the resistance to ground of the tap, of the resistor chain 42, selected as the non-inverting input of the operational amplifier 12 is 4R in
This is solved for Ro as:
Therefore, if the resistance value of the load resistor 652 is 2.8R, the voltage control circuit of
The voltage control circuit of
Note that, in the voltage control circuit of
In the case of
A case will be described where, in the voltage control circuits of
Accordingly, the outputs of the voltage control circuits of
Note that the configuration may be such that the output voltage VOUT is 1/k of a usual value (where k is a positive real number), and at the same time, the reference ramp signal SLS is changed at a rate k times a usual rate.
An output signal from an ADC in the image sensor 860 is input to the digital-video-signal processing section 870. The digital-video-signal processing section 870 calculates the average value of the ADC output signal level every frame period, and determines whether or not the amplitude of an output signal from photodiodes which varies depending on the amount of incident light to the image sensor 860 is in an optimum state for the input range of the ADC, by comparing the average value with a predetermined reference value. The digital-video-signal processing section 870 increases the value of the gain control signal D(n−1:0) to amplify the output signal of the image sensor 860 when the output signal is low, while, on the contrary, the digital-video-signal processing section 870 decreases the value of the gain control signal D(n−1:0) to attenuate the output signal when the output signal is high and near saturation. The digital-video-signal processing section 870 outputs the gain control signal D(n−1:0) to the image sensor 860, for example, using serial communication.
The control register 862 stores and outputs the gain control signal D(n−1:0) to the current control circuit 100. The current control circuit 100 and the DAC 2 have already been described, thus the explanation thereof will be omitted. The pixel array 864 includes a plurality of photodiodes, for example, arranged in a matrix, and outputs an output signal from the photodiodes for every column of photodiodes as a signal ISG. Each of the plurality of column parallel ADCs 4 corresponds to a column of photodiodes, and obtains and outputs an analog-to-digital conversion result ADV of the signal ISG from a corresponding column of photodiodes, using the common reference ramp signal SLS output from the DAC 2.
In
Human visual perception of brightness is said to have characteristics such that sensitivity to low brightness is high, while sensitivity to high brightness is low. As such, gains are generally controlled so that the smaller the amplitude of a video signal is, the higher the resolution of an ADC is. That is, an optimum gain control is one in which the gain is increased for a low-amplitude signal, and the gain has a nonlinear exponential characteristic for the value of a control signal.
Conventionally, such nonlinear characteristic has been achieved by previously performing nonlinearization using digital signal processing of the gain control signal itself, and by using the result thereof for the control to set the amplitude of the reference ramp signal in a DAC which generates the reference ramp signal. In the image sensor according to this embodiment, the logarithm of the current IOUT (or the voltage VOUT), referenced by the DAC 2 (or the DAC 602) which outputs the reference ramp signal SLS, is controlled so as to be proportional to the gain control signal D(n−1:0); therefore, the gain control signal D(n−1:0) needs no nonlinearization processing.
The current control circuit of
The characteristic expressed by Equation 4 can be achieved also in the current control circuits and the voltage control circuits of figures other than
Although the description in association with
Whereas each of the above current control circuits and the above voltage control circuits uses PMOS transistors, NMOS transistors may be used instead of PMOS transistors. In such a case, the PMOS transistors should be replaced with NMOS transistors, and ground and the power source should be exchanged in each of the current control circuits and the voltage control circuits. Such a configuration can generate, for example, a reference ramp signal having a value decreasing with time. In addition, the power supply potential and/or ground may be other stable potentials.
Note that the R-2R resistor ladder 323 of
In the described embodiments, the resistance values of the resistor chain 42, the load resistor 652, and R-2R resistor ladders 323 and 752 are presented merely by way of example, thus may be other values as long as the values have a predetermined relationship. The number of bits of the lower bits (first control signal) of the gain control signal D and the number of bits of the higher bits (second control signal) of the gain control signal D are presented merely by way of example, thus may be other numbers.
Although the foregoing description discusses examples in which the DAC 2 and the DAC 602 generate a reference ramp signal SLS having a voltage which increases proportionally to the count value of the counter 6 or 8, the voltage of the reference ramp signal SLS may decrease as the count value of the counter 6 or 8 increases. For example, the DAC 2 or the DAC 602 may generate a reference ramp signal SLS having a voltage which decreases proportionally to the count value of the counter 6 or 8 from the maximum value.
The many features and advantages of the invention are apparent from the detailed specification and, thus, it is intended by the appended claims to cover all such features and advantages of the invention which fall within the true spirit and scope of the invention. Further, since numerous modifications and changes will readily occur to those skilled in the art, it is not desired to limit the invention to the exact construction and operation illustrated and described, and accordingly all suitable modifications and equivalents may be resorted to, falling within the scope of the invention.
As has been described above, according to the present invention, a linear relationship is established between the gain control signal and the amplification factor (value in dB), thus the present invention is useful for current generation circuits, ADCs, cameras, etc.
Number | Date | Country | Kind |
---|---|---|---|
2008-251596 | Sep 2008 | JP | national |
This is a continuation of PCT International Application PCT/JP2009/004069 filed on Aug. 24, 2009, which claims priority to Japanese Patent Application No. 2008-251596 filed on Sep. 29, 2008. The disclosures of these applications including the specifications, the drawings, and the claims are hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2009/004069 | Aug 2009 | US |
Child | 13050470 | US |