Redundant SAR analog-to-digital converter, device and algorithm
By designing a redundant SAR analog-to-digital converter, a DAC array composed of multiple capacitors and a segmented capacitor structure is used to solve the problems of traditional SAR analog-to-digital converters in judging errors and capacitance matching errors, achieving low cost and low resource Analog-to-digital conversion effect with high fault tolerance.
Patent Information
- Application Number
- CN202410827703.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-11-08
AI Technical Summary
Traditional SAR analog-to-digital converters are prone to judgment errors during the analog/digital conversion process, and the capacitor matching error is large, resulting in conversion errors, lack of fault tolerance, and insufficient fault tolerance of binary search algorithms.
A redundant SAR analog-to-digital converter is designed, using a DAC array composed of M+1 capacitors. The MSB capacitor contains 2N-1-2P capacitor units and is connected in parallel with the in-phase and inverting terminals of the comparator at the input. , adopts a segmented capacitor structure and redundancy algorithm to reduce errors through automatic summing and segmented capacitors in series, and improve fault tolerance.
It effectively eliminates the judgment error caused by comparator mismatch, reduces capacitor mismatch error, reduces resource usage and cost, and improves the logical simplicity of digital decoding.
Smart Images

Figure CN118921065A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of digital electronic technology, and in particular to a redundant SAR analog-to-digital converter, a device and an algorithm. Background Art
[0002] The analog-to-digital conversion (ADC) circuit can convert analog quantities into digital signals. The successive approximation analog-to-digital converter (SAR ADC) is an analog-to-digital converter structure with a medium sampling frequency (1-50MSPS) and medium resolution (10-18 bits). Because of its advantages such as simple structure and low power consumption, it is widely used in sensor detection, industrial control and other fields.
[0003] Figure 1 The main framework of the traditional SAR ADC is shown, including a sample-and-hold (S / H) circuit, a comparator, a SAR digital logic circuit, and a digital-to-analog converter (DAC). A SAR ADC requires several comparison cycles to complete analog-to-digital conversion. According to the SAR digital logic circuit, the DAC changes the output voltage, and then the comparison is repeated until the final result is obtained. For a correct conversion process, the difference between the analog signal and the digital signal should be less than 1 minimum precision (LSB). If the difference is greater than 1LSB, it means that an error occurred in the conversion process.
[0004] The digital-analog-converser (DAC) is the core of the successive approximation analog-to-digital converter. Its basic function is to convert digital signals into analog signals. Its differential and integral nonlinearity will be directly reflected in the transfer function of the analog-to-digital converter. Typical digital-to-analog converters include resistive and capacitive types. Since the matching error of capacitors is much better than that of resistors, the most ideal structure at present is the capacitive digital-to-analog converter (CDAC), which is based on the principles of charge conservation and charge redistribution. The capacitance of the commonly used capacitive DAC structure is distributed in binary quantities.
[0005] In traditional binary search algorithms, each analog input has a unique digital output code corresponding to it. There is no fault tolerance and once a wrong decision is made, it is impossible to recover and produce the correct output. Summary of the invention
[0006] The present invention proposes a redundant SAR analog-to-digital converter, a device and an algorithm, which have the characteristics of small error, low cost, small resource occupation and simple logic.
[0007] The technical solution of the present invention is as follows:
[0008] A redundant SAR analog-to-digital converter, wherein the N-bit redundant analog-to-digital converter converts an N-bit digital code in an M-bit cycle, wherein M>N, a DAC capacitor array is composed of M+1 capacitors, and the M+1 capacitors in the DAC array in the N-bit redundant analog-to-digital converter are composed of only 2N capacitor units, and the MSB capacitor C M Contains 2 N-1 -2 P Capacitor unit, where (N-1>P, MSB capacitor C M 2 P The capacitor units are distributed into r groups, where M>r>P. In each r group, the number of capacitor units is a power of 2. M-1 to C1, r groups are selectively assigned to r different capacitors, C M-1 A capacitor Cn between C1 and C2 has 2 n-j or 2 n-j +2 k Capacitor unit, 2 of which n-j ≠2 k , and Cn satisfies C n ≤C n-1 +…+C1+C0, where M≥n>1.
[0009] As a further optimization of the present solution, capacitors are connected in parallel at the input of the N-bit redundant analog-to-digital converter and at the in-phase terminal and the inverting terminal of the comparator, respectively.
[0010] A 14-bit redundant analog-to-digital converter, comprising 2 redundant bits, wherein the quantized value of each bit in the digital quantity corresponding to the 14-bit analog-to-digital converter comprises 1, 1, 2, 2, 2, 4, 2, 4, 6, 9, 18, 34, 68, 128, and 240, wherein each quantized value is also a multiple of a unit capacitance value in the analog-to-digital converter;
[0011] The quantized value of the capacitance of the segmented capacitor is 4, and the segmented capacitor is located between the 5th digital quantity and the 6th digital quantity in the analog-to-digital converter.
[0012] An analog-to-digital conversion algorithm using segmented capacitors with redundant bits, setting the quantization value of each bit in the digital quantity corresponding to the N-bit analog-to-digital converter with redundant bits, and determining the capacitance value in the analog-to-digital converter corresponding to each quantization value;
[0013] Take any two-digit value as the breakpoint, and count the total capacitance after the capacitance values corresponding to each quantized value before the breakpoint are connected in parallel;
[0014] For each breakpoint, design the capacitance of the segmented capacitor and calculate the drop ratio of the total capacitance before the breakpoint after the segmented capacitors are connected in series.
[0015] The capacitance value in the analog-to-digital converter corresponding to each quantization value after the breakpoint is reduced by the reduction ratio;
[0016] If the capacitance value corresponding to each quantization value after the breakpoint is still an integer after being adjusted downward by the reduction ratio, the corresponding segmented capacitance is set as the segmented capacitance of the analog-to-digital converter, and the corresponding breakpoint is set as the segmentation point.
[0017] As a further optimization of this solution, the total capacitance after parallel connection of the capacitance values corresponding to each quantization value before the breakpoint is calculated by taking any two-digit number as the breakpoint, includes:
[0018] The automatic summation algorithm is used to automatically calculate the total capacitance after the capacitance values corresponding to each quantized value before the breakpoint are connected in parallel, taking any two-digit value as the breakpoint.
[0019] Based on the common divisor of the capacitance value in the analog-to-digital converter corresponding to each quantization value, the capacitance value in the analog-to-digital converter corresponding to each quantization value is overall reduced.
[0020] The reduced capacitance value is used as the capacitance value of each quantized value in the analog-to-digital converter.
[0021] As a further optimization of this solution, for each breakpoint, the common divisor of each quantization value after the breakpoint is automatically counted, and the reciprocal of each common divisor is used as the candidate reduction ratio of the total capacitance before the breakpoint after the segmented capacitance is connected in series;
[0022] A capacitance equation after the total capacitance before the breakpoint is connected in series with the segmented capacitance is constructed to obtain a calculation formula for the decrease ratio of the total capacitance before the breakpoint;
[0023] Verify the values of each candidate reduction ratio, take the segmented capacitor that satisfies the calculation formula of the reduction ratio and has an integer value as the candidate segmented capacitor, and record the corresponding breakpoint;
[0024] All breakpoints are automatically traversed to calculate all candidate segmented capacitances, and the breakpoint that satisfies the maximum drop ratio is used as the segmentation point, and the corresponding segmented capacitance is used as the final segmented capacitance.
[0025] As a further optimization of the present solution, after the segmentation point is set, the capacitance value in the analog-to-digital converter corresponding to each quantization value after the segmentation point is adjusted down by the reduction ratio is used as the final capacitance value.
[0026] As a further optimization of the present solution, a 14-bit analog-to-digital converter is included, including 2 redundant bits;
[0027] After the redundancy algorithm is processed, the quantization value of each bit in the digital quantity corresponding to the 14-bit analog-to-digital converter includes 2, 2, 4, 4, 4, 8, 16, 32, 48, 72, 144, 272, 544, 1024, and 1920, wherein each quantization value is also a multiple of the unit capacitance value in the analog-to-digital converter;
[0028] Based on the common divisor 2, the capacitance value of each quantization value in the analog-to-digital converter is overall lowered, and the capacitance value of each quantization value in the digital quantity corresponding to the 14-bit analog-to-digital converter is obtained as 1, 1, 2, 2, 2, 4, 8, 16, 24, 36, 72, 136, 272, 512, 960;
[0029] The calculated capacitance of the segment capacitor is 4, and the breakpoint is between the 5th and 6th digital values in the analog-to-digital converter. The total capacitance before the breakpoint and the total capacitance after the breakpoint are proportionally reduced by 1 / 4 after the segment capacitors are connected in series.
[0030] 1, 1, 2, 2, 2, 4, 2, 4, 6, 9, 18, 34, 68, 128, 240 are used as the capacitance values of each final quantization value in the analog-to-digital converter.
[0031] An analog-to-digital conversion device using segmented capacitors with redundant bits, comprising:
[0032] A quantization value setting unit, used to set the quantization value of each bit in the digital quantity corresponding to the N-bit analog-to-digital converter with redundant bits;
[0033] A capacitance setting unit, used to determine the capacitance value in the analog-to-digital converter corresponding to each quantization value;
[0034] A total capacitance calculation unit is used to take any two-digit value as a breakpoint and respectively count the total capacitance after the capacitance values corresponding to each quantized value before and after the breakpoint are connected in parallel;
[0035] The segment parameter calculation unit is used to design the capacitance of the segment capacitor for each breakpoint, so that the total capacitance before the breakpoint and the total capacitance after the breakpoint are proportionally reduced after the segment capacitors are connected in series;
[0036] The segmentation parameter determination unit is used to use the breakpoints that meet the conditions as segmentation points, and set the corresponding segmentation capacitance as the segmentation capacitance of the analog-to-digital converter.
[0037] The working principle and beneficial effects of the present invention are:
[0038] 1. Redundant capacitors can eliminate judgment errors caused by comparator mismatch, etc.
[0039] 2. Segment capacitor 4C uThe choice ensures that on the one hand the capacitance is not too small to cause more mismatch errors, and on the other hand the total capacitance is not too large, so it does not need to occupy too much area, reducing costs.
[0040] 3. The redundant capacitor ratio is designed to be suitable for decoding conversion. The logic of digital decoding is simple and does not require a large amount of digital circuit resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0042] Figure 1 is a circuit schematic diagram of a redundant SAR analog-to-digital converter;
[0043] Figure 2 It is a structural block diagram of the digital redundancy algorithm decoding architecture;
[0044] Figure 3 It is a conventional capacitive analog / digital converter in the prior art;
[0045] Figure 4 Schematic diagram of the accuracy comparison between the binary search algorithm and the redundant search algorithm. DETAILED DESCRIPTION
[0046] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] A redundant SAR analog-to-digital converter, wherein the N-bit redundant analog-to-digital converter converts an N-bit digital code in an M-bit cycle, wherein M>N, a DAC capacitor array is composed of M+1 capacitors, and the M+1 capacitors in the DAC array in the N-bit redundant analog-to-digital converter are composed of only 2N capacitor units, and the MSB capacitor C M Contains 2 N-1 -2 P Capacitor unit, where (N-1>P, MSB capacitor C M 2 P The capacitor units are distributed into r groups, where M>r>P. In each r group, the number of capacitor units is a power of 2. M-1 to C1, r groups are selectively assigned to r different capacitors, C M-1 A capacitor Cn between C1 and C2 has 2 n-j or 2 n-j +2 k Capacitor unit, 2 of whichn-j ≠2 k , and Cn satisfies C n ≤C n-1 +…+C1+C0, wherein M≥n>1, capacitors are connected in parallel at the input of the N-bit redundant analog-to-digital converter and at the non-inverting terminal and the inverting terminal of the comparator, respectively.
[0048] For an N-bit redundant SAR ADC, an M-bit cycle (M>N) is used to convert an N-bit digital code. The DAC capacitor array consists of M+1 capacitors, (C M C0 is the terminal capacitance with the same size as the unit capacitance). M The total capacitance to C0 is C total ,V R is the reference voltage. The switch capacitor C n The maximum tolerable setting error range can be expressed as
[0049]
[0050] Therefore, each capacitor in the redundant SAR ADC must satisfy
[0051] C n ≤ C n-1 +…+ C1+ C0 , ( M ≥ n> 1). (2)
[0052] Based on the redundancy principle, we adopt a binary composite weighting method that does not require the addition of additional compensation capacitors and has a smaller circuit overhead than previous methods. For an N-bit SAR ADC, the M+1 capacitors in the DAC array consist of only 2 N In order to make the MSB capacitor C M With a certain range of redundancy margin, the MSB capacitor C M Contains only 2 N-1 -2 P (N-1>P) capacitor units, less than C total Half of the MSB capacitor C M 2 P The capacitor units are distributed into r groups (M>r>P). In each r group, the number of capacitor units is a power of 2. M-1 to C1, r groups are selectively assigned to r different capacitors. M-1 A capacitor Cn between C1 and C2 has 2 n-j or 2 n-j +2 k Capacitor unit, 2 of which n-j ≠2 k , and Cn must satisfy (2). Figure 1Middle frame.
[0053] The use of segmented capacitor structure can reduce the number of unit capacitors, reduce the total capacitance value, reduce the requirements for sampling switches, and speed up the CDAC settling time. Figure 1 Left frame.
[0054] At the same time, in order to achieve gain control, add a group connected to V cm Capacitance, such as Figure 1 As shown in the left box, by changing the size of this group of capacitors, the total capacitance can be changed, thereby changing the capacitance ratio controlled by the switch and affecting the resolution progress. For example, when the number of capacitors reaches half of the total capacitance, the LSB of the ADC resolution is reduced by half.
[0055] As the instruction manual Figure 1 As shown, a 14-bit redundant analog-to-digital converter includes 2 redundant bits, and the quantization value of each bit in the digital quantity corresponding to the 14-bit analog-to-digital converter includes 1, 1, 2, 2, 2, 4, 2, 4, 6, 9, 18, 34, 68, 128, and 240, wherein each quantization value is also a multiple of the capacitance of a unit capacitor in the analog-to-digital converter; the quantization value of the capacitance of the segmented capacitor is 4, and the segmented capacitor is located between the 5th digital quantity and the 6th digital quantity in the analog-to-digital converter.
[0056] In this design, N=12, M=14, and the conversion is done every 14 bits. The capacitor array used in the design is arranged as shown in the figure above. The 14-bit capacitor weights used are 240, 128, 68, 34, 18, 9, 6, 4, 2, 4, 2, 2, 2, 1, and the conversion values correspond to Figure 1 B14:B0 in the 12-bit decoder is used to decode the 12-bit output using a digital redundancy algorithm.
[0057] An analog-to-digital conversion algorithm using segmented capacitors with redundant bits, setting the quantization value of each bit in the digital quantity corresponding to the N-bit analog-to-digital converter with redundant bits, and determining the capacitance value in the analog-to-digital converter corresponding to each quantization value;
[0058] Take any two-digit value as the breakpoint, and count the total capacitance after the capacitance values corresponding to each quantized value before the breakpoint are connected in parallel;
[0059] Use the automatic summation algorithm to automatically calculate the total capacitance after parallel connection of the capacitance values corresponding to each quantized value before the breakpoint with any two-digit value as the breakpoint.
[0060] Based on the common divisor of the capacitance value in the analog-to-digital converter corresponding to each quantization value, the capacitance value in the analog-to-digital converter corresponding to each quantization value is overall reduced.
[0061] The reduced capacitance value is used as the capacitance value of each quantized value in the analog-to-digital converter.
[0062] For each breakpoint, the capacitance of the segmented capacitor is designed, and the reduction ratio of the total capacitance before the breakpoint after the segmented capacitors are connected in series is calculated. For each breakpoint, the common divisor of each quantization value after the breakpoint is automatically counted, and the reciprocal of each common divisor is used as the candidate reduction ratio of the total capacitance before the breakpoint after the segmented capacitors are connected in series;
[0063] The capacitance value in the analog-to-digital converter corresponding to each quantization value after the breakpoint is reduced by a reduction ratio, a capacitance equation of the total capacitance before the breakpoint after the segmented capacitance is connected in series is constructed, and a calculation formula for the reduction ratio of the total capacitance before the breakpoint is obtained;
[0064] If the capacitance value corresponding to each quantization value after the breakpoint is still an integer after being reduced by the reduction ratio, the corresponding segment capacitance is set as the segment capacitance of the analog-to-digital converter, and the corresponding breakpoint is set as the segment point.
[0065] The automatic summation algorithm is used to automatically calculate the total capacitance after parallel connection of the capacitance values corresponding to each quantization value before the breakpoint with any two-digit number as the breakpoint, and the value of each alternative reduction ratio is verified, and the segmented capacitance that meets the calculation formula of the reduction ratio and has an integer value is used as the alternative segmented capacitance, and the corresponding breakpoint is recorded; all breakpoints are automatically traversed, all the alternative segmented capacitances are calculated, and the breakpoint that meets the maximum reduction ratio is used as the segmentation point, and the corresponding segmented capacitance is used as the final segmented capacitance. After the segmentation point is set, the capacitance value in the analog-to-digital converter corresponding to each quantization value after the segmentation point is adjusted down by the reduction ratio is used as the final capacitance value.
[0066] Based on the common divisor of the capacitance value in the analog-to-digital converter corresponding to each quantization value, the capacitance value in the analog-to-digital converter corresponding to each quantization value is overall reduced.
[0067] The reduced capacitance value is used as the capacitance value of each quantized value in the analog-to-digital converter.
[0068] As the instruction manual Figure 2 As shown, a 14-bit analog-to-digital converter is included, including 2 redundant bits;
[0069] After the redundancy algorithm is used, the quantization value of each bit in the digital quantity corresponding to the 14-bit analog-to-digital converter includes 2, 2, 4, 4, 4, 8, 16, 32, 48, 72, 144, 272, 544, 1024, and 1920, where each quantization value is also a multiple of the unit capacitance value in the analog-to-digital converter;
[0070] Based on the common divisor 2, the capacitance value of each quantization value in the analog-to-digital converter is overall reduced, and the capacitance value of each quantization value in the digital quantity corresponding to the 14-bit analog-to-digital converter is 1, 1, 2, 2, 2, 4, 8, 16, 24, 36, 72, 136, 272, 512, 960;
[0071] The calculated capacitance of the segment capacitor is 4, and the breakpoint is between the 5th and 6th digital values in the analog-to-digital converter. The total capacitance before the breakpoint and the total capacitance after the breakpoint are proportionally reduced by 1 / 4 after the segment capacitors are connected in series.
[0072] 1, 1, 2, 2, 2, 4, 2, 4, 6, 9, 18, 34, 68, 128, 240 are used as the capacitance values of each final quantized value in the analog-to-digital converter.
[0073] An analog-to-digital conversion device using segmented capacitors with redundant bits, comprising:
[0074] A quantization value setting unit, used to set the quantization value of each bit in the digital quantity corresponding to the N-bit analog-to-digital converter with redundant bits;
[0075] A capacitance setting unit, used to determine the capacitance value in the analog-to-digital converter corresponding to each quantization value;
[0076] A total capacitance calculation unit is used to take any two-digit value as a breakpoint and respectively count the total capacitance after the capacitance values corresponding to each quantized value before and after the breakpoint are connected in parallel;
[0077] The segment parameter calculation unit is used to design the capacitance of the segment capacitor for each breakpoint, so that the total capacitance before the breakpoint and the total capacitance after the breakpoint are proportionally reduced after the segment capacitors are connected in series;
[0078] The segmentation parameter determination unit is used to set the breakpoints that meet the conditions as segmentation points and set the corresponding segmentation capacitors as the segmentation capacitors of the analog-to-digital converter.
[0079] In a traditional binary SAR ADC, for example, a 4-bit ADC has 16 quantization values, and the minimum precision unit is 1. The ADC completes the conversion by comparing the voltage with the threshold. When all steps are converted correctly, the error of the result is less than 1LSB. However, when a conversion error occurs, the difference between the final conversion result and the input value is greater than 1LSB, resulting in an erroneous ADC conversion. The binary quantization capacitor array is not fault-tolerant.
[0080] Segmented capacitor architecture, including Figure 1 The 4Cs shown u Segment resistor; 4C u The segmented resistor is a compromise between the capacitor area cost and the minimum capacitor mismatch accuracy, which can make the capacitor deviation smaller while taking into account the engineering cost.
[0081] Capacitor array weights with redundancy check, including Figure 1 The 14-bit capacitor array shown has capacitor weights of 240, 128, 68, 34, 18, 9, 6, 4, 2, 4, 2, 2, 2, 1. The capacitor ratios are carefully designed and are an excellent capacitor array choice for a 12-bit ADC.
[0082] Gain adjustment capacitors include Figure 1 The capacitance of the box shown in the figure can adjust the ratio of the switch control capacitance, thereby changing the detection accuracy and achieving gain adjustment.
[0083] Redundant decoding algorithm, redundant decoding circuit is used with redundant check capacitor structure, and the final conversion value can be obtained simply.
[0084] Each functional unit in each embodiment of the present invention may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit. If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and may also instruct the relevant hardware to complete it through a computer program. The computer program may be stored in a computer-readable storage medium, and the computer program may be executed by the processor to implement the steps of the above-mentioned method embodiments. Among them, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media does not include electrical carrier signals and telecommunications signals.
[0085] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A redundant SAR analog-to-digital converter, wherein the N-bit redundant analog-to-digital converter converts an N-bit digital code in an M-bit cycle, wherein M>N, and the DAC capacitor array consists of M+1 capacitors, characterized in that: The M+1 capacitors in the DAC array of the N-bit redundant analog-to-digital converter are composed of only 2N capacitor units. The MSB capacitor C M Contains 2 N-1 -2 P Capacitor unit, where (N-1>P, MSB capacitor C M 2 P The capacitor units are distributed into r groups, where M>r>P. In each r group, the number of capacitor units is a power of 2. M-1 to C1, r groups are selectively assigned to r different capacitors, C M-1 A capacitor Cn between C1 and C2 has 2 n-j or 2 n-j +2 k Capacitor unit, 2 of which n-j ≠2 k , and Cn satisfies C n ≤C n-1 +…+C1+C0, where M≥n>1.
2. A redundant SAR analog-to-digital converter according to claim 1, characterized in that: Capacitors are connected in parallel at the input of the N-bit redundant analog-to-digital converter, the non-inverting terminal and the inverting terminal of the comparator, respectively.
3. A 14-bit redundant analog-to-digital converter, characterized in that: Including 2 redundant bits, the quantized value of each bit in the digital quantity corresponding to the 14-bit analog-to-digital converter includes 1, 1, 2, 2, 2, 4, 2, 4, 6, 9, 18, 34, 68, 128, 240, wherein each quantized value is also a multiple of the unit capacitance value in the analog-to-digital converter; The quantized value of the capacitance of the segmented capacitor is 4, and the segmented capacitor is located between the 5th digital quantity and the 6th digital quantity in the analog-to-digital converter.
4. An analog-to-digital conversion algorithm using segmented capacitors with redundant bits, characterized in that: Set the quantization value of each bit in the digital quantity corresponding to the N-bit analog-to-digital converter with redundant bits, and determine the capacitance value in the analog-to-digital converter corresponding to each quantization value; Take any two-digit number as the breakpoint, and count the total capacitance after the capacitance values corresponding to each quantized value before the breakpoint are connected in parallel; For each breakpoint, design the capacitance of the segmented capacitor and calculate the drop ratio of the total capacitance before the breakpoint after the segmented capacitors are connected in series. The capacitance value in the analog-to-digital converter corresponding to each quantization value after the breakpoint is reduced by the reduction ratio; If the capacitance value corresponding to each quantization value after the breakpoint is still an integer after being adjusted downward by the reduction ratio, the corresponding segmented capacitance is set as the segmented capacitance of the analog-to-digital converter, and the corresponding breakpoint is set as the segmentation point.
5. The analog-to-digital conversion algorithm using segmented capacitors with redundant bits according to claim 4, characterized in that: The method uses any two-digit number as a breakpoint, and counts the capacitance values corresponding to each quantization value before the breakpoint and the total capacitance after being connected in parallel includes: The automatic summation algorithm is used to automatically calculate the total capacitance after the capacitance values corresponding to each quantized value before the breakpoint are connected in parallel, taking any two-digit value as the breakpoint. Based on the common divisor of the capacitance value in the analog-to-digital converter corresponding to each quantization value, the capacitance value in the analog-to-digital converter corresponding to each quantization value is overall reduced. The reduced capacitance value is used as the capacitance value of each quantized value in the analog-to-digital converter.
6. The analog-to-digital conversion algorithm using segmented capacitors with redundant bits according to claim 4, characterized in that: For each breakpoint, the common divisors of the quantized values after the breakpoint are automatically counted, and the reciprocals of the common divisors are used as the candidate reduction ratios of the total capacitance before the breakpoint after the segmented capacitances are connected in series. A capacitance equation after the total capacitance before the breakpoint is connected in series with the segmented capacitance is constructed to obtain a calculation formula for the decrease ratio of the total capacitance before the breakpoint; Verify the values of each candidate reduction ratio, take the segmented capacitor that satisfies the calculation formula of the reduction ratio and has an integer value as the candidate segmented capacitor, and record the corresponding breakpoint; All breakpoints are automatically traversed to calculate all candidate segmented capacitances, and the breakpoint that satisfies the maximum drop ratio is used as the segmentation point, and the corresponding segmented capacitance is used as the final segmented capacitance.
7. The analog-to-digital conversion algorithm using segmented capacitors with redundant bits according to claim 4, characterized in that: After the segmentation point is set, the method includes taking the capacitance value in the analog-to-digital converter corresponding to each quantization value after the segmentation point as the final capacitance value after the capacitance value is reduced by the reduction ratio.
8. The analog-to-digital conversion algorithm using segmented capacitors with redundant bits according to claim 4, characterized in that: Includes a 14-bit analog-to-digital converter, including 2 redundant bits; After the redundancy algorithm is processed, the quantization value of each bit in the digital quantity corresponding to the 14-bit analog-to-digital converter includes 2, 2, 4, 4, 4, 8, 16, 32, 48, 72, 144, 272, 544, 1024, and 1920, wherein each quantization value is also a multiple of the unit capacitance value in the analog-to-digital converter; Based on the common divisor 2, the capacitance value of each quantization value in the analog-to-digital converter is overall lowered, and the capacitance value of each quantization value in the digital quantity corresponding to the 14-bit analog-to-digital converter is obtained as 1, 1, 2, 2, 2, 4, 8, 16, 24, 36, 72, 136, 272, 512, 960; The calculated capacitance of the segment capacitor is 4, and the breakpoint is between the 5th and 6th digital values in the analog-to-digital converter. The total capacitance before the breakpoint and the total capacitance after the breakpoint are proportionally reduced by 1 / 4 after the segment capacitors are connected in series. 1, 1, 2, 2, 2, 4, 2, 4, 6, 9, 18, 34, 68, 128, 240 are used as the capacitance values of each final quantization value in the analog-to-digital converter.
9. An analog-to-digital conversion device using segmented capacitors with redundant bits, characterized in that: include A quantization value setting unit, used to set the quantization value of each bit in the digital quantity corresponding to the N-bit analog-to-digital converter with redundant bits; A capacitance setting unit, used to determine the capacitance value in the analog-to-digital converter corresponding to each quantization value; A total capacitance calculation unit is used to take any two-digit value as a breakpoint and respectively count the total capacitance after the capacitance values corresponding to each quantized value before and after the breakpoint are connected in parallel; The segment parameter calculation unit is used to design the capacitance of the segment capacitor for each breakpoint, so that the total capacitance before the breakpoint and the total capacitance after the breakpoint are proportionally reduced after the segment capacitors are connected in series; The segmentation parameter determination unit is used to use the breakpoints that meet the conditions as segmentation points, and set the corresponding segmentation capacitance as the segmentation capacitance of the analog-to-digital converter.
