This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2011-186130, filed on Aug. 29, 2011, the entire contents of which are incorporated herein by reference.
Embodiments relate to a successive-approximation A/D (analog-to-digital) converter and a radio receiver.
The task of speeding up a successive approximation (SAR) A/D converter is to reduce the power consumption of a driver for driving a capacitive D/A converter. The cause for an increase in power consumption is nothing less than the necessity of shortening the settling time of the capacitive D/A converter along with the speeding up. In response to this task, there has been proposed a successive-approximation A/D converter based on a non-binary conversion algorithm. This A/D converter adopts a system in which a comparison voltage of A/D conversion is given redundancy in each conversion cycle. By having redundancy, the A/D converter is capable of making corrections in later digital processing even if settling is more or less insufficient.
In A/D conversion based on a non-binary algorithm, a radix is 2 or smaller. Accordingly, whereas a resolution of N bits can be obtained by N cycles of A/D conversion in a binary algorithm, the number of cycles larger than N is required in the case of the non-binary algorithm, in order to obtain a resolution of N bits. An error margin of the comparison voltage becomes larger in proportion to the amount of redundancy. Likewise, the number of conversion cycles increases with an increase in the amount of redundancy. Accordingly, the non-binary algorithm is disadvantageous in that an error tolerance in the algorithm decreases in contrast to a given amount of redundancy.
The non-binary algorithm is also disadvantageous in that a digital signal processing circuit needs to be provided in the A/D converter since the result of A/D conversion has to be converted to a binary system.
According to an embodiment, there is provided a successive-approximation A/D converter, including: a binary weighted capacitive D/A converter, a first comparator, a register, a second comparator, an error determining circuit and an error-correcting circuit.
The binary weighted capacitive D/A converter generates a residual signal for each of cycles assigned to each bit of N bits on the basis of an analog input signal and a reference voltage.
The first comparator compares a residual signal at a first time point within a cycle with a predetermined voltage to acquire a first comparison result representative of a logical value.
The register stores the first comparison result therein.
The second comparator compares a residual signal at a second time point later than the first time point within the cycle with the predetermined voltage to acquire a second comparison result representative of a logical value.
The error determining circuit generates an error detection signal when the first comparison result differs from the second comparison result.
The error-correcting circuit inverts, in a case that the error detection signal has been generated, the first comparison result from the register to output an inverted first comparison result, and output, in a case that the error detection signal has not been generated, the first comparison result from the register, without inverting the first comparison result.
Hereinafter, embodiments of the present invention will be described, while referring to the accompanying drawings.
This circuit includes a plurality of capacitors α3C, α2C, α1C, α0C and α0C weighted by powers of α; and a plurality of switches 101a, 101b, 101c, 101d and 101e respectively connected to one end of each capacitor; and a comparator 102. This circuit is a configuration example in which a resolution N=3 bits. Reference numeral 103 denotes a capacitive D/A converter.
A general formula of the internal amplitude (Vout), i.e., the residual signal of this SARAD converter is represented by the following formula:
Here, D[i] represents an A/D conversion result in an N-ith cycle. For example, if N=3, then D[2] represents an A/D conversion result in a cycle of 3−2=1. D[i] has a logical value of 0 or 1.
Vref represents the reference voltage of the A/D converter (input range of the A/D converter).
The comparator 102 compares Vout with a ground (Vg), and outputs 1 if Vout is larger, or outputs 0 if Vout is smaller.
A case is considered in which, for example, α=2, in order to describe basic A/D conversion operation.
In a first cycle, Vref is connected to a 23 capacitor and the ground (Vg) is connected to other capacitors. The comparator 102 compares Vout with Vg to perform A/D conversion.
Vout (Vout (1)) in the first cycle is given by the following formula:
V
out
=−V
in+½Vref [Formula 2]
At this time, the conversion result D[2] is 1 if an input signal (Vout−Vg) to the comparator 102 is positive, or 0 if the input signal is negative.
In a second cycle of conversion, Vref is connected to a 22 capacitor, Vg is connected to a 21 capacitor and two 22 capacitors, and a voltage of Vref*D[2] is connected to the 23 capacitor, respectively, to perform A/D conversion operation by using the comparator 102. Vout (Vout (2)) at this time is represented by the following formula:
V
out
=−V
in+½VrefD[2]+¼Vref[Formula 3]
Such computations as described above are repeated to realize high-resolution A/D conversion operation.
In practice, however, consideration needs to be given to the settling time of the capacitive D/A converter 103.
Insufficiency in settling corresponds to a decrease in the added amount to reference voltage. Accordingly, the reference voltage is subtracted in a case that a voltage of the input signal is larger than Vref/2. For example, as illustrated in
Examples of techniques to alleviate effects of insufficient settling include a method of setting α to a value smaller than 2. This method will be discussed hereinafter.
As an example of this method,
When α=1.5, the output signal (residual signal) of the capacitive D/A converter is represented by the following general formula:
Solid lines in
Note however that an output code decreases in this A/D conversion algorithm. If α=1.5 and the number of cycles is 3, then the output code is a 1.52+1.51+1.50=5.75 (5, if truncated) code. This value is approximately 0.7 times, compared with an output code (8 code) when α=2. If expressed by the accuracy of an A/D converter, the output code is 3 bits for α=2 and 2.5 bits for α=1.5, when the number of cycles is 3, thus resulting in a decrease of 0.5 bits. In order to compensate for this decrease, the number of cycles needs to be increased. For example, in a case where a conversion code of 3 bits or greater is obtained when α=1.5, an addition of one cycle gives a 9.1 (9, if truncated) code. Thus, it is understood that four cycles are required, whereas 3 cycles are sufficient otherwise.
In addition, in the case of a non-binary A/D converter, conversion to a binary code is required. For example, a computation of (2/1.5)2D[2]+(2/1.5)D[1] needs to be performed when α=1.5. For this reason, a multiplying circuit becomes necessary as a digital signal processing circuit, thus causing the problem that a circuit area and power consumption increase.
This SARAD converter includes a capacitive D/A converter 11, two comparators 1 and 2, an error determining circuit 13, a register 14, an error-correcting circuit 15, and an SAR control circuit 16.
The capacitive D/A converter 11 has the same configuration as that of the capacitive D/A converter 103 illustrated in
The two comparators 1 and 2 share the same input, and Vout (residual signal) which is the output of the capacitive D/A converter 11 and a ground (Vg) provided as a predetermined voltage are respectively input to the comparators.
The comparator 1 (first comparator) compares Vout (residual signal) at a first time point within a cycle with the predetermined voltage (ground), and acquires and outputs a first comparison result representative of a logical value.
The comparator 2 (second comparator) compares Vout (residual signal) at a second time point later than the first time point within the abovementioned cycle with the predetermined voltage (ground), and acquires and outputs a second comparison result representative of a logical value.
The output of the comparator 1 is input to the error determining circuit 13 and the register 14. The output of the comparator 2 is input to the error determining circuit 13.
The register 14 stores N signals (N is the resolution of the SARAD converter) output from the comparator 1 in N times.
The register 14 outputs the signals (N-bit data) stored therein to the error-correcting circuit 15.
The error determining circuit 13 determines whether the output (first comparison result) of the comparator 1 and the output (second comparison result) of the comparator 2 are the same. If the two outputs are the same, the error determining circuit 13 sends, to the error-correcting circuit 15, an instruction signal instructing to directly output the data input from the register 14 without correcting the data. On the other hand, if the two outputs differ from each other, the error determining circuit 13 sends, to the error-correcting circuit 15, an instruction signal (error detection signal) instructing to correct the data input from the register 14 to output the corrected data.
According to the content of the instruction signal from the error determining circuit 13, the error-correcting circuit 15 directly outputs the data input from the register without correcting the data, or corrects the data before outputting the data.
The SAR control circuit 16 sends control signals to the capacitive D/A converter 11, the comparators 1 and 2, the register 14, and the error-correcting circuit 15 to control these elements. A control signal to be sent to the SAR control circuit 16 is generated upon receipt of an A/D conversion result from the error-correcting circuit 15. With this control signal, the SAR control circuit 16 controls the capacitive D/A converter 11.
Specifically, the SAR control circuit 16 generates signals for controlling the switches (see the switches 101a to 101e in
Principles of error occurrence in a conventional A/D circuit due to insufficient settling will be described first, and then principles of error correction based on a proposed method will be described.
Output waveforms in the figure assume that the circuit is composed of a full differential circuit. Dashed lines represent a positive-side voltage and solid lines represent a negative-side voltage. Note that a circuit having a single-ended configuration is shown in
In the figure, Vref denotes a reference voltage of the A/D converter. Note that for reasons of differential configuration, a range of the reference voltage that the positive-side and negative-side configurations can have is Vref/2 in
In the SARAD converter, such a computation as shown earlier in Formula (1) is performed on the input signal.
(1) Capacitive D/A converter settling
(2) Comparison (decision)
(3) SAR control circuit operation (generation of control signals for cycles i and i+1)
Comparative operation in phase (2) is normally performed at the completion of settling. Considering the required operating time of the SAR control circuit, comparative operation (decision) is performed about halfway through one cycle. It is conceivable to shorten the settling time or speed up the operation of the SAR control circuit, in order to achieve sufficient settling. Either of these schemes involves the problem, however, that power consumption increases.
Like in
In
As illustrated in
This method is characterized in that two points of comparison (first and second time points) are provided in one cycle of an A/D conversion period. As illustrated in
The comparator 1 performs comparative operation near a midpoint in one cycle (first time point) as is done conventionally, whereas the comparator 2 performs comparative operation immediately before the end of one cycle (second time point).
An erroneous decision is detected by comparing the outputs of the comparator 1 and the comparator 2. Identity between the outputs of the two comparators means that the decision of the comparator 1 is normal. Any difference between the outputs of the two comparators means that the decision of the comparator 1 is erroneous.
If the decision of the comparator 1 is erroneous, data (bits) is corrected in a cycle two cycles later than the cycle in which an error has been made. The data correction is made by inverting data of the erroneous cycle and data of the next cycle, respectively. In the example of
In the case of a SARAD converter, if an erroneous decision is made in a certain cycle and if the amount of error is not so large, then an error is certainly made in the next cycle. For example, consider a case where an error is made in a first cycle. Here, assume that a time period of a second cycle is sufficiently longer than that of the first cycle. If the input signal is close in value to Vref/2 and if an error is made in the first cycle, then a voltage (amount of error) at the time of decision in the second cycle is approximately ¼ Vref. If the input signal is Vref/2+Vref/4 and if an error is made in the first cycle, then a voltage (amount of error) at the time of decision in the second cycle is approximately 0. Thus, there is the possibility that the decision in the second cycle is correct. Consequently, it can be said that data correction is possible if the amount of error in an ith cycle is equal to or smaller than a subtracted amount of reference voltage in an i+ith cycle.
Error-correcting operation is restarted from the same cycle as the one in which an error correction has been made (i.e., cycle 4 in
By the above-described operation, it is possible, in this proposed method, to relax the settling time of the capacitive D/A converter without giving rise to conventionally problematic extra conversion cycles, while maintaining a conversion algorithm in binary code format. In addition, there is no need for any extra digital signal processing circuits to be used after A/D conversion, since the binary code format is still maintained.
An error determining circuit 13 is composed of an EXOR circuit 21 and the AND circuit 22. The error-correcting circuit 15 is composed of two DFFs 31 and 32, a NOT circuit 33, a serial/parallel conversion circuit 34, N EXORs 35, and N DFFs (D latches) 36. A register 14 is composed of the D latch 23.
The basic operation of this circuit is to invert the output data of the register only for the parts thereof in which erroneous decisions have been made, by using the XOR circuit 35.
In order to invert bit information of a cycle in which a decision error is detected and of the next cycle, respectively, “1” which means error detection is written to the bits in question by using the serial/parallel conversion circuit 34. Address signals are used when the output of the DFF 31 is written to the serial/parallel conversion circuit 34. A counter value k within an SAR at the time of sampling is 0, as illustrated in
The comparators 1 and 2, output “1” or “0” by referring to a polarity obtained from a positive-side signal shown by a line L1 and a negative-side signal shown by a line L2. If the line L1 is positioned above the line L2, the comparators output “1”. Otherwise, the comparators output “0”. The comparators 1 and 2 share the same input signal. Consequently, a decision made by the comparator 1 in cycle 2 is “1”, and “0” in cycle 3.
A decision made by the comparator 2 in cycle 2 is “0”, and “0” in cycle 3. As described earlier, if in a successive-approximation A/D converter, an erroneous decision is made in a certain cycle, then an error is certainly made in the next cycle. Also from this premise, it can be said that the comparators 1 and 2 differ in decision result from each other in cycle 2, and agree in decision result with each other in cycle 3.
As has been described heretofore, in the present embodiment, the SARAD converter includes two comparators so as to make decisions individually at different time points within one cycle. An error caused due to incomplete settling is detected by using two comparison results, and data is corrected in a cycle following a cycle in which the error has been made. Consequently, A/D conversion operation can be performed without causing errors even in the case of a binary weighted capacitive DAC, as long as incomplete settling errors are limited to a certain degree. Accordingly, the present embodiment is effective in reducing the power consumption of a driver for driving the capacitive D/A converter.
The basic configuration of the circuit illustrated in
In the present embodiment, part of the circuitry of the two comparators in the first embodiment is shared to reduce power consumption and a circuit area. Specifically, amplifying circuits within the two comparators of the first embodiment are reduced to one amplifying circuit for shared use by the two comparators.
In general, an amplifying circuit 29 is provided in a stage followed by comparison circuits (comparators) 1 and 2, in order to alleviate effects of noise (kickback) due to latching operation upon the output of the capacitive D/A converter. Effects of impedance conversion by this amplifying circuit 29 produce improvement against the kickback noise. In addition, the effect of signal amplification by the amplifying circuit 29 produces the effect of reducing noise of the comparison circuits (comparators) 1 and 2 as viewed from a D/A convertor output. Note that although a single-ended configuration is illustrated in
As has been described heretofore, according to the present embodiment, power consumption can be reduced by sharing the amplifying circuit 29 between the two comparators. Note that the reason for providing the two comparators is that two circuits are necessary to retain comparison results.
This circuit is a pipelining SARAD converter configured by using the circuit of the first or second embodiment.
This circuit is provided with a preceding-stage circuit 51, a residue amplifying circuit 52, a subsequent-stage circuit 53, and a latency adjusting circuit 54.
The preceding-stage circuit 51 has an error-correcting function proposed in the first and second embodiments, and is a successive-approximation A/D converter configured to perform coarse A/D conversion (process higher-order n1 bits by the preceding-stage circuit if the resolution of this circuit is N bits) on input signals. In addition, the preceding-stage circuit 51 generates a residual signal according to an input analog signal and a reference voltage, and outputs the residual signal to the residue amplifying circuit 51. For example, the preceding-stage circuit 51 generates a Vin−Vref/2 signal as the residual signal.
The residue amplifying circuit 51 amplifies and outputs the residual signal to the subsequent-stage circuit 53. By the amplification, the input range of the subsequent-stage circuit 53 is adjusted to that of the preceding-stage circuit 51.
The subsequent-stage circuit 53 receives the amplified residual signal as the input thereof, and performs fine A/D conversion (processes remaining lower-order n2 (=N−n1) bits) on the input signal. The subsequent-stage circuit 53 is also a successive approximation A/D conversion circuit having the error-correcting function proposed in the first and second embodiments.
The latency adjusting circuit 54 makes a timing adjustment of A/D conversion results obtained by the preceding-stage circuit 51 and the subsequent-stage circuit 53, and output the results.
By pipelining A/D conversion processing as described above, it is possible to achieve an effect of area reduction and easily make a resolution higher, compared with the first and second embodiments.
As has been described heretofore, according to the present embodiment, a high-resolution A/D converter can be designed with a reduced area by pipelining a circuit according to the first or second embodiment. In addition, pipelining enables performance to be improved easily, compared with the configuration of the first or second embodiment.
This radio receiver is provided with an antenna 61, an LNA 62, a mixer 63, an analog baseband circuit 64, and a SARAD conversion circuit 65.
A radio signal received by the antenna 61 is amplified by the LNA (Low Noise Amplifier) 62. The radio-frequency signal amplified by the LNA 62 is down-converted to a baseband signal by the mixer 63, and the baseband signal is filter-processed by the analog baseband circuit 64, thereby deriving a signal of a desired band. Then, the filtered analog signal is converted to a digital signal by the SARAD conversion circuit 65. The digital signal is demodulation-processed by an unillustrated subsequent-stage circuit.
The present invention is not limited to the exact embodiments described above and can be embodied with its components modified in an implementation phase without departing from the scope of the invention. Also, arbitrary combinations of the components disclosed in the above-described embodiments can form various inventions. For example, some of the all components shown in the embodiments may be omitted. Furthermore, components from different embodiments may be combined as appropriate.
Number | Date | Country | Kind |
---|---|---|---|
2011-186130 | Aug 2011 | JP | national |