A capacitor segmented high energy efficiency successive approximation analog-to-digital converter and control method thereof
The successive approximation analog-to-digital converter designed with capacitor segmented structure and switch segmentation solves the problems of limited circuit gain and high power consumption under low power supply conditions, and achieves efficient analog-to-digital conversion effects.
Patent Information
- Application Number
- CN202311291119.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-07
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-10-07
AI Technical Summary
As the power supply voltage decreases, the gain of the circuit is limited, and the power consumption of the analog circuit is difficult to reduce, resulting in the inefficiency of the successive approximation analog-to-digital converter under low power supply conditions.
A capacitor-segmented high-energy-efficiency successive approximation analog-to-digital converter is designed, which uses a combination of capacitor arrays, comparators and shift registers. Through the switch segmentation structure of the capacitor banks and sub-arrays of the forward-phase and inverse-phase arrays, the voltage is The voltage is switched during the comparison process to reduce switching energy consumption, and the overall power consumption is reduced through structural optimization of the main array and sub-array.
It effectively improves the gain of the circuit and reduces the power consumption, realizes efficient analog-to-digital conversion under low power supply conditions, and reduces the number of unit capacitors and switching energy consumption.
Smart Images

Figure CN117526948B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic circuits, and in particular to a capacitor segmented high-efficiency successive approximation analog-to-digital converter and a control method thereof. Background Art
[0002] The successive approximation analog-to-digital converter is a medium-to-high precision, medium-speed analog-to-digital converter structure. Due to its simple structure, easy digitization, low power consumption and other advantages, it is widely used in sensors, portable devices and biological signal acquisition, and requires the analog-to-digital converter to be able to work under low power supply voltage.
[0003] As the power supply voltage decreases, the gain of the circuit is limited; in addition, although the proportion of power consumption of digital circuits continues to decrease as the process size decreases, the power consumption of analog circuits is difficult to reduce with the advancement of technology. Summary of the invention
[0004] In view of this, the present application provides a capacitor segmented high-efficiency successive approximation analog-to-digital converter and a control method thereof to avoid limiting circuit gain and reduce circuit power consumption.
[0005] One aspect of the present application provides a capacitor segmented high-efficiency successive approximation analog-to-digital converter, comprising: a capacitor array, a comparator, and a shift register;
[0006] Wherein, the capacitor array includes a positive phase array and an inverted phase array; the positive phase array includes a positive phase main array and a positive phase sub-array, and the positive phase main array is connected to the positive phase sub-array through a first connection switch; the inverted phase array includes an inverted phase main array and an inverted phase sub-array, and the inverted phase main array is connected to the inverted phase sub-array through a second connection switch;
[0007] The first input voltage passes through the first sampling switch, the positive phase sub-array and the positive phase main array in sequence and then is connected to the positive phase input terminal of the comparator; the second input voltage passes through the second sampling switch, the negative phase sub-array and the negative phase main array in sequence and then is connected to the negative phase input terminal of the comparator; the output terminal of the comparator is connected to the shift register; the shift register is used to determine the digital signal according to the output result of the comparator;
[0008] The structure of the positive phase main array is the same as that of the negative phase main array, and the structure of the positive phase sub-array is the same as that of the negative phase sub-array;
[0009] The positive phase main array includes a capacitor group and a connecting capacitor, the capacitor group includes a plurality of capacitors, and the capacitance value of each capacitor changes exponentially according to the arrangement order, and the capacitance value of the last capacitor arranged in the capacitor group is the same as the capacitance value of the connecting capacitor; wherein the arrangement order of the capacitor group is that the side connected to the positive phase sub-array is the start of the arrangement, and the side connected to the comparator is the end of the arrangement;
[0010] The positive phase sub-array includes a plurality of capacitors, and the capacitance value of each capacitor is the same as the capacitance value of the capacitor arranged at the front in the capacitor group;
[0011] The top plate of each capacitor in the positive phase array is connected to the positive phase input terminal of the comparator and to the first input voltage; the bottom plate of each capacitor in the positive phase sub-array and the bottom plate of each capacitor in the capacitor group are respectively connected to the first reference voltage or the ground through a corresponding switching switch; the bottom plate of the connection capacitor is connected to the first reference voltage or the second reference voltage through a switching switch;
[0012] The top plate of each capacitor in the inverting array is connected to the inverting input terminal of the comparator and to the second input voltage; the bottom plate of each capacitor in the inverting sub-array and the bottom plate of each capacitor in the capacitor group of the inverting main array are respectively connected to the first reference voltage or the ground through a corresponding switching switch; the bottom plate of the connection capacitor of the inverting main array is connected to the first reference voltage or the second reference voltage through a switching switch.
[0013] Optionally, a voltage value of the second reference voltage is half of a voltage value of the first reference voltage.
[0014] Optionally, the capacitance values of the capacitors of the capacitor group in the positive phase main array vary exponentially according to the arrangement order and decrease from front to back;
[0015] The capacitance values of the capacitors in the capacitor group in the inverted main array vary exponentially according to the arrangement order and decrease from the front to the back.
[0016] Optionally, the capacitance values of the capacitors in the capacitor group in the positive phase main array are 2 N-4 C...2C, C;
[0017] The capacitance values of the capacitors in the capacitor group in the inverted main array are 2 from front to back in order. N- 4 C...2C,C.
[0018] Optionally, the positive phase sub-array includes two capacitors, and the capacitance value of each capacitor is the same as the capacitance value of the frontmost capacitor in the capacitor group of the positive phase main array;
[0019] The inverted sub-array includes two capacitors, and the capacitance value of each capacitor is the same as the capacitance value of the first capacitor in the capacitor group of the inverted main array.
[0020] Optionally, the comparator is used to compare the voltage of the positive phase array with the voltage of the negative phase array, and determine the side with higher voltage between the two;
[0021] If the positive phase array is at the high voltage side, the shift register is used to output a first digital signal;
[0022] If the inverting array is at the high voltage side, the shift register is used to output a second digital signal.
[0023] Another aspect of the present application further provides a control method of a capacitor segmented high energy efficiency successive approximation analog-to-digital converter, which is used to control the above-mentioned capacitor segmented high energy efficiency successive approximation analog-to-digital converter, and the control method includes:
[0024] S1: Control the first and second sampling switches to be closed, and sample the first and second input voltages on the top plates of all capacitors through the first and second sampling switches; after sampling, control the first and second sampling switches to be disconnected; control the bottom plate of the capacitor with the largest capacitance value in the positive phase and negative phase main arrays to be connected to the ground, the bottom plates of the two connected capacitors to be connected to the second reference voltage, and the bottom plates of the remaining capacitors to be connected to the first reference voltage; control the bottom plate of one capacitor in the positive phase and negative phase sub-arrays to be connected to the ground, and the bottom plate of the other capacitor to be connected to the first reference voltage; compare the sampling signal of the positive phase array with the sampling signal of the negative phase array through a comparator, determine the side with the higher voltage between the two, and output the corresponding first comparison result through a shift register;
[0025] S2: Control the bottom plate switch of the capacitor with the largest capacitance value in the main array on the low voltage side of the first comparison result to be connected to the first reference voltage, and the connection mode of other switches remains unchanged, so that the voltage on the low voltage side of the first comparison result is increased by a voltage equal to half the voltage value of the first reference voltage; sample the voltage and perform a second comparison through the comparator to determine the higher voltage side of the two, and output the corresponding second comparison result through the shift register;
[0026] S3: If the first comparison result and the second comparison result both indicate that the positive phase array is on the high voltage side, or if the first comparison result and the second comparison result both indicate that the negative phase array is on the high voltage side, control the capacitor connected to the first reference voltage in the sub-array on the high voltage side to switch to ground, and the capacitor connected to the ground in the sub-array on the low voltage side to switch to the first reference voltage, and control the first and second connection switches between the two main arrays and the two sub-arrays to close; otherwise, control the first and second connection switches between the two main arrays and the two sub-arrays to close; then sample the voltage and perform a third comparison through a comparator to determine the side with the higher voltage between the two, and output the corresponding third comparison result through a shift register;
[0027] S4: in the comparison result obtained last time, the bottom plate of the capacitor in the main array on the high voltage side is switched from the first reference voltage to the ground, while the connection mode of the capacitor on the low voltage side remains unchanged; then the voltage is sampled and compared through the comparator to determine the side with higher voltage between the two, and the corresponding result is output through the shift register; the steps of switching the bottom plate of the capacitor in the main array on the high voltage side from the first reference voltage to the ground, while the connection mode of the capacitor on the low voltage side remains unchanged, then the voltage is sampled and compared through the comparator to determine the side with higher voltage between the two, and the corresponding result is output through the shift register are repeated until the N-1th comparison is completed, wherein N is the number of capacitors in the positive phase array or the number of capacitors in the negative phase array;
[0028] S5: In the comparison result obtained by the N-1th comparison, the bottom plate of the connecting capacitor in the main array on the high voltage side is switched from the first reference voltage to the second reference voltage, and the connection method of the capacitor on the low voltage side remains unchanged; then the voltage is sampled and compared through a comparator to determine the higher voltage side of the two, and the Nth comparison result is output through a shift register.
[0029] Another aspect of the present application also provides an electronic device, including a processor and a memory;
[0030] The memory is used to store programs;
[0031] The processor executes the program to implement the control method.
[0032] Another aspect of the present application further provides a computer-readable storage medium, wherein the storage medium stores a program, and the program is executed by a processor to implement the control method.
[0033] The present application also discloses a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the above-mentioned control method.
[0034] The present application provides a capacitor segmented high-efficiency successive approximation analog-to-digital converter, which only includes a capacitor array, a comparator, and a shift register, without providing a gain circuit; wherein the capacitor array includes two capacitor arrays of positive phase and negative phase; the positive phase array and the negative phase array are respectively composed of a main array and a sub-array, and the main array and the sub-array are connected by a switch; the main array includes a capacitor group and a connecting capacitor, the capacitor group includes a plurality of capacitors, and the capacity value of each capacitor changes exponentially according to the arrangement order; the sub-array includes a plurality of capacitors, and the capacity value of each capacitor is the same as the capacity value of the capacitor arranged at the front of the capacitor group; the analog-to-digital converter of the present application can switch the voltage during comparison through the positive phase array and the negative phase array, so that the comparator does not consume any switching energy when performing the first and second voltage comparisons; and the main array and the sub-array adopt a switch segmented structure, and the switch is closed during the third voltage comparison, effectively reducing the consumed energy. Finally, the average switching energy consumption of the capacitor array is effectively reduced compared with the energy consumption of the existing structure. The analog-to-digital converter of the present application adopts a capacitor segmentation structure, which effectively reduces the required energy consumption, reduces the number of unit capacitors, optimizes the switch switching scheme of the capacitor array, and effectively reduces the overall power consumption of the analog-to-digital converter. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0036] Figure 1 An optional structural diagram of a capacitor segmented high-efficiency successive approximation analog-to-digital converter provided in an embodiment of the present application;
[0037] Figure 2 A flow chart of a control method of a capacitor segmented high-efficiency successive approximation analog-to-digital converter provided in an embodiment of the present application;
[0038] Figure 3 A flow chart of a control method for an N-bit analog-to-digital converter provided in an embodiment of the present application;
[0039] Figure 4A working principle diagram of a 5-bit analog-to-digital converter provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0041] It should be noted that although the functional modules are divided in the device schematic and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart.
[0042] The terms "first", "second", etc. in the specification and claims and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. Moreover, the terms "comprises", "comprising", or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device that includes a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article, or device. In the absence of further limitations, an element limited by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device that includes the element.
[0043] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0044] Reference Figure 1 , an embodiment of the present application provides an optional structural diagram of a capacitor segmented high-efficiency successive approximation analog-to-digital converter, which includes a capacitor array, a comparator, and a shift register;
[0045] Wherein, the capacitor array includes a positive phase array and an inverted phase array; the positive phase array includes a positive phase main array and a positive phase sub-array, and the positive phase main array is connected to the positive phase sub-array through a first connection switch; the inverted phase array includes an inverted phase main array and an inverted phase sub-array, and the inverted phase main array is connected to the inverted phase sub-array through a second connection switch;
[0046] The first input voltage passes through the first sampling switch, the positive phase sub-array and the positive phase main array in sequence and then is connected to the positive phase input terminal of the comparator; the second input voltage passes through the second sampling switch, the negative phase sub-array and the negative phase main array in sequence and then is connected to the negative phase input terminal of the comparator; the output terminal of the comparator is connected to the shift register; the shift register is used to determine the digital signal according to the output result of the comparator;
[0047] The structure of the positive phase main array is the same as that of the negative phase main array, and the structure of the positive phase sub-array is the same as that of the negative phase sub-array;
[0048] The positive phase main array includes a capacitor group and a connecting capacitor, the capacitor group includes a plurality of capacitors, and the capacitance value of each capacitor changes exponentially according to the arrangement order, and the capacitance value of the last capacitor arranged in the capacitor group is the same as the capacitance value of the connecting capacitor; wherein the arrangement order of the capacitor group is that the side connected to the positive phase sub-array is the start of the arrangement, and the side connected to the comparator is the end of the arrangement;
[0049] The positive phase sub-array includes a plurality of capacitors, and the capacitance value of each capacitor is the same as the capacitance value of the capacitor arranged at the front in the capacitor group;
[0050] The top plate of each capacitor in the positive phase array is connected to the positive phase input terminal of the comparator and to the first input voltage; the bottom plate of each capacitor in the positive phase sub-array and the bottom plate of each capacitor in the capacitor group are respectively connected to the first reference voltage or the ground through a corresponding switching switch; the bottom plate of the connection capacitor is connected to the first reference voltage or the second reference voltage through a switching switch;
[0051] The top plate of each capacitor in the inverting array is connected to the inverting input terminal of the comparator and to the second input voltage; the bottom plate of each capacitor in the inverting sub-array and the bottom plate of each capacitor in the capacitor group of the inverting main array are respectively connected to the first reference voltage or the ground through a corresponding switching switch; the bottom plate of the connection capacitor of the inverting main array is connected to the first reference voltage or the second reference voltage through a switching switch.
[0052] Specifically, Figure 1 The symbols in are as follows: V ref Represents the first reference voltage, V cm Represents the second reference voltage, V ip Represents the first input voltage, V in represents the second input voltage, gnd represents ground, C represents capacitance, D outIndicates the digital signal output by the shift register. For the convenience of description, in the following description, the embodiments of the present application use the above symbols to indicate their corresponding meanings.
[0053] As an optional implementation manner, a voltage value of the second reference voltage is half of a voltage value of the first reference voltage.
[0054] As a further implementation, the capacitance values of each capacitor in the capacitor group in the positive phase main array change exponentially according to the arrangement order and decrease from front to back; the capacitance values of each capacitor in the capacitor group in the negative phase main array change exponentially according to the arrangement order and decrease from front to back.
[0055] Furthermore, the capacitance values of the capacitors in the capacitor group in the positive phase main array are 2 N-4 C...2C, C; the capacitance values of the capacitors in the capacitor group in the inverted main array are 2 in order from front to back. N-4 C...2C,C.
[0056] Regarding the above-mentioned two sub-arrays, in this embodiment, the positive phase sub-array includes two capacitors, and the capacitance value of each capacitor is the same as the capacitance value of the first capacitor arranged in the capacitor group of the positive phase main array; the negative phase sub-array includes two capacitors, and the capacitance value of each capacitor is the same as the capacitance value of the first capacitor arranged in the capacitor group of the negative phase main array.
[0057] Then, the comparator and shift register are further explained:
[0058] The comparator is used to compare the voltage of the positive phase array with the voltage of the negative phase array, and determine the higher voltage side of the two;
[0059] If the positive phase array is at the high voltage side, the shift register is used to output a first digital signal;
[0060] If the inverting array is at the high voltage side, the shift register is used to output a second digital signal.
[0061] Specifically, the digital signal output by the shift register can represent the side of the high voltage in the voltage comparison. In an optional implementation, if the positive phase array is the high voltage side, the first digital signal can be represented as 1, and if the negative phase array is the high voltage side, the second digital signal can be represented as 0. Similarly, for the convenience of description, in the following description, the embodiment of the present application uses 1 and 0 to indicate whether the side of the high voltage in the voltage comparison is the positive phase array or the negative phase array.
[0062] Reference Figure 2The embodiment of the present application provides a control method of a capacitor segmented high energy efficiency successive approximation analog-to-digital converter, which is used to control the above-mentioned capacitor segmented high energy efficiency successive approximation analog-to-digital converter. The control method includes steps S1 to S5, which are specifically as follows:
[0063] S1: Control the first and second sampling switches to be closed, and sample the first and second input voltages on the top plates of all capacitors through the first and second sampling switches; after sampling, control the first and second sampling switches to be disconnected; control the bottom plate of the capacitor with the largest capacitance value in the positive phase and negative phase main arrays to be connected to the ground, the bottom plates of the two connected capacitors to be connected to the second reference voltage, and the bottom plates of the remaining capacitors to be connected to the first reference voltage; control the bottom plate of one capacitor in the positive phase and negative phase sub-arrays to be connected to the ground, and the bottom plate of the other capacitor to be connected to the first reference voltage; compare the sampling signal of the positive phase array and the sampling signal of the negative phase array through a comparator, determine the side with the higher voltage between the two, and output the corresponding first comparison result through a shift register.
[0064] The control method of the present application includes S1 to S5, which can correspond to five stages respectively. Figure 3 , an embodiment of the present application provides a flow chart of a control method for an N-bit analog-to-digital converter.
[0065] Specifically, the first stage corresponding to step S1 may include: sampling the input voltage on the top plates of all capacitors through the sampling switch, connecting the bottom plate of the capacitor with the largest capacitance value in the main array to gnd, and connecting the last capacitor (i.e., the above-mentioned connecting capacitor) to V cm (Optionally, V cm =V ref / 2), the bottom plates of the remaining capacitors are connected to V ref ; The bottom plate of one capacitor in the subarray is connected to gnd, and the bottom plate of the other capacitor is connected to V ref After sampling, the sampling switch is turned off. Then, without consuming any switching energy, the comparator performs the first comparison and outputs the highest bit data D1.
[0066] S2: Control the bottom plate switch of the capacitor with the largest capacitance value in the main array on the low voltage side of the first comparison result to be connected to the first reference voltage, and the connection mode of other switches remains unchanged, so that the voltage on the low voltage side of the first comparison result is increased by a voltage equal to half the voltage value of the first reference voltage; sample the voltage and perform a second comparison through the comparator to determine the higher voltage side of the two, and output the corresponding second comparison result through the shift register.
[0067] Specifically, the second stage corresponding to step S2 may include: switching the bottom plate of the capacitor with the largest capacitance value in the main array on the low voltage side in the first stage to V ref, the connection of other capacitors remains unchanged. As a result, the voltage on the low voltage side increases by V ref / 2. Then, the comparator performs a second comparison and outputs the second highest bit data D2.
[0068] S3: If the first comparison result and the second comparison result both indicate that the positive phase array is on the high voltage side, or the first comparison result and the second comparison result both indicate that the negative phase array is on the high voltage side, control the capacitor connected to the first reference voltage in the sub-array on the high voltage side to switch to ground, and the capacitor connected to the ground in the sub-array on the low voltage side to switch to the first reference voltage, and control the first and second connection switches between the two main arrays and the two sub-arrays to be closed; otherwise, control the first and second connection switches between the two main arrays and the two sub-arrays to be closed; then sample the voltage and perform a third comparison through the comparator to determine the higher voltage side of the two, and output the corresponding third comparison result through the shift register.
[0069] Specifically, the third stage corresponding to step S3 may include: according to the outputs of the first two comparators, if the two voltage comparison results are D1D2=11 or 00, then the sub-array on the side with higher voltage is connected to V ref The capacitance from V ref The capacitor connected to gnd is switched to gnd, while the capacitor connected to gnd in the sub-array on the other side (lower voltage side) is switched from gnd to V ref , and then close the connection switch between the main array and the sub-array; if D1D2 = 10 or 01, directly close the connection switch between the main array and the sub-array. Finally, the comparator performs the comparison and outputs the comparison result D3. In the third comparison, the capacitor array switch energy is:
[0070]
[0071] S4: In the comparison result obtained last time, the bottom plates of the capacitors in the main array on the high voltage side are switched from the first reference voltage to the ground, while the connection mode of the capacitors on the low voltage side remains unchanged; then the voltage is sampled and compared through a comparator to determine the side with higher voltage between the two, and the corresponding result is output through a shift register; the steps of switching the bottom plates of the capacitors in the main array on the high voltage side from the first reference voltage to the ground, while the connection mode of the capacitors on the low voltage side remains unchanged, then the voltage is sampled and compared through a comparator to determine the side with higher voltage between the two, and the corresponding result is output through a shift register are repeated until the N-1th comparison is completed, wherein N is the number of capacitors in the positive phase array or the number of capacitors in the negative phase array.
[0072] Specifically, the fourth stage corresponding to step S4 may include: according to the output of the previous comparator, the capacitor in the main array on the side with higher voltage is increased from V refThe connection to gnd is switched, while the connection method of the capacitor on the other side (the side with lower voltage) remains unchanged, and then the comparator performs comparison and outputs the comparison result.
[0073] Repeat the step of "according to the output of the previous comparator, the capacitors in the main array on the higher voltage side are switched from Vref to gnd, while the connection mode of the capacitors on the other side (lower voltage side) remains unchanged, and then the comparator performs comparison and outputs the comparison result" until the N-1th comparison is completed, where N is the number of capacitors in the positive phase array or the number of capacitors in the negative phase array. The capacitor array switching energy from the 4th comparison to the N-1th comparison is:
[0074]
[0075] S5: In the comparison result obtained by the N-1th comparison, the bottom plate of the connecting capacitor in the main array on the high voltage side is switched from the first reference voltage to the second reference voltage, and the connection method of the capacitor on the low voltage side remains unchanged; then the voltage is sampled and compared through a comparator to determine the higher voltage side of the two, and the Nth comparison result is output through a shift register.
[0076] Specifically, the fifth stage corresponding to step S5 may include: in the Nth comparison, the bottom plate of the last capacitor in the main array on the side with higher voltage is changed from V ref Switch connected to V cm , while the connection mode of the capacitor on the lower voltage side remains unchanged. The switching energy of the capacitor array in the Nth comparison is:
[0077]
[0078] For N-bit resolution, the average switching energy of the capacitor array switching energy is:
[0079]
[0080] The embodiment of the present application uses a positive phase array and a negative phase array to switch the voltage during comparison, so that the comparator does not consume any switching energy when performing the first and second voltage comparisons; and uses a switch segmentation structure for the main array and the sub-array to close the switch during the third voltage comparison, thereby effectively reducing the consumed energy; in addition, by means of capacitor segmentation, the required capacitor area is reduced, and the energy consumption is significantly reduced compared with the prior art.
[0081] In order to facilitate a clearer understanding of the present application, the present application will be described below with a complete optional example.
[0082] Reference Figure 4 , an embodiment of the present application provides a working principle diagram of a 5-bit analog-to-digital converter.
[0083] Specifically, this embodiment includes five stages, as follows:
[0084] Phase 1: The input signal is sampled on the top plates of all capacitors through the sampling switch. The bottom plate of the largest capacitor in the main array is connected to gnd, and the last capacitor is connected to V cm (V ref / 2), the bottom plates of the remaining capacitors are connected to V ref ; One capacitor in the subarray is connected to gnd and the other is connected to V ref After sampling, the sampling switch is turned off. Then, the comparator performs the first comparison without consuming any switching energy and outputs the highest bit data D1.
[0085] Phase 2: Switch the bottom plate of the capacitor with the largest capacitance value in the main array on the low voltage side of Phase 1 to V ref , the other capacitors remain connected in the same way. As a result, the voltage on the low voltage side increases by V ref / 2. Then, the comparator performs a second comparison and outputs the second highest bit data D2.
[0086] Phase 3: Based on the outputs of the first two comparators, if the voltage on the same side is higher in both voltage comparisons (D1D2 = 11 or 00), the sub-array on the side with the higher voltage is connected to V ref The capacitance from V ref The capacitor connected to gnd is switched to gnd, while the capacitor connected to gnd in the sub-array on the other side (lower voltage side) is switched from gnd to V ref , and then close the connection switch between the main array and the sub-array. If D1D2=10 or 01, directly close the connection switch between the main array and the sub-array. Finally, the comparator performs the comparison and outputs the comparison result D3. In the third comparison, the capacitor array switch energy is:
[0087]
[0088] Phase 4: Based on the output of the previous comparator, the bottom plate of the corresponding capacitor in the main array on the higher voltage side is switched from V ref The connection to gnd is switched, while the connection of the capacitor on the other side (lower voltage side) remains unchanged. In the fourth comparison, the capacitor array switching energy is:
[0089]
[0090] Phase 5: In the 5th comparison, the last capacitor on the higher voltage side of the main array is switched from V ref Switch connected to V cm , while the connection mode of the capacitors on the other side remains unchanged. The switching energy of the capacitor array in the Nth comparison is:
[0091]
[0092] For 5-bit resolution, the average switching energy of the capacitor array switching energy is:
[0093] E average =1CV 2 REF (8)
[0094] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above control method when executing the computer program. Specifically, the electronic device can be a user terminal or a server.
[0095] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and the computer program implements the above-mentioned control method when executed by a processor.
[0096] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0097] The present application also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the electronic device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction so that the electronic device executes Figure 2 The method shown.
[0098] In some optional embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the application is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Optional embodiments are expected, wherein the order of various operations is changed and the sub-operation described as a part of a larger operation is performed independently.
[0099] In addition, although the present application is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features described may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present application. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present application set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present application, which is determined by the full scope of the attached claims and their equivalents.
[0100] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for enabling an electronic device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0101] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0102] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0103] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0104] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0105] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.
[0106] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the described embodiments. Technical personnel familiar with the field may make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A capacitor segmented high energy efficiency successive approximation analog-to-digital converter, It is characterized in that include: Capacitor arrays, comparators, and shift registers; Wherein, the capacitor array includes a positive phase array and an inverted phase array; the positive phase array includes a positive phase main array and a positive phase sub-array, and the positive phase main array is connected to the positive phase sub-array through a first connection switch; the inverted phase array includes an inverted phase main array and an inverted phase sub-array, and the inverted phase main array is connected to the inverted phase sub-array through a second connection switch; The first input voltage passes through the first sampling switch, the positive phase sub-array and the positive phase main array in sequence and then is connected to the positive phase input terminal of the comparator; the second input voltage passes through the second sampling switch, the negative phase sub-array and the negative phase main array in sequence and then is connected to the negative phase input terminal of the comparator; the output terminal of the comparator is connected to the shift register; the shift register is used to determine the digital signal according to the output result of the comparator; The structure of the positive phase main array is the same as that of the negative phase main array, and the structure of the positive phase sub-array is the same as that of the negative phase sub-array; The positive phase main array includes a capacitor group and a connecting capacitor, the capacitor group includes a plurality of capacitors, and the capacitance value of each capacitor changes exponentially according to the arrangement order, and the capacitance value of the last capacitor arranged in the capacitor group is the same as the capacitance value of the connecting capacitor; wherein the arrangement order of the capacitor group is that the side connected to the positive phase sub-array is the start of the arrangement, and the side connected to the comparator is the end of the arrangement; The positive phase sub-array includes a plurality of capacitors, and the capacitance value of each capacitor is the same as the capacitance value of the capacitor arranged at the front in the capacitor group; The top plate of each capacitor in the positive phase array is connected to the positive phase input terminal of the comparator and to the first input voltage; the bottom plate of each capacitor in the positive phase sub-array and the bottom plate of each capacitor in the capacitor group are respectively connected to the first reference voltage or the ground through a corresponding switching switch; the bottom plate of the connection capacitor is connected to the first reference voltage or the second reference voltage through a switching switch; The top plate of each capacitor in the inverting array is connected to the inverting input terminal of the comparator and to the second input voltage; the bottom plate of each capacitor in the inverting sub-array and the bottom plate of each capacitor in the capacitor group of the inverting main array are respectively connected to the first reference voltage or ground through a corresponding switching switch; the bottom plate of the connection capacitor of the inverting main array is connected to the first reference voltage or the second reference voltage through a switching switch; The voltage value of the second reference voltage is half of the voltage value of the first reference voltage; The capacitance values of the capacitors in the capacitor group in the positive phase main array vary exponentially according to the arrangement order and decrease from front to back; The capacitance values of the capacitors in the capacitor group in the inverted main array vary exponentially according to the arrangement order and decrease from front to back; The capacitance values of the capacitors in the capacitor group in the positive phase main array are 2 from front to back in order. M- 4 C, ..., 2C, C; The capacitance values of the capacitors in the capacitor group in the inverted main array are 2 from front to back in order. M- 4 C, ..., 2C, C; M is a positive integer greater than 4, and M is the number of bits actually used by the successive approximation analog-to-digital converter; The positive phase sub-array includes two capacitors, and the capacitance value of each capacitor is the same as the capacitance value of the first capacitor in the capacitor group of the positive phase main array; The inverted sub-array includes two capacitors, and the capacitance value of each capacitor is the same as the capacitance value of the first capacitor in the capacitor group of the inverted main array.
2. The capacitor segmented high energy efficiency successive approximation analog-to-digital converter according to claim 1, It is characterized in that The comparator is used to compare the voltage of the positive phase array with the voltage of the negative phase array, and determine the higher voltage side of the two; If the positive phase array is at the high voltage side, the shift register is used to output a first digital signal; If the inverting array is at the high voltage side, the shift register is used to output a second digital signal.
3. A control method for a capacitor segmented high energy efficiency successive approximation analog-to-digital converter, It is characterized in that Used to control a capacitor segmented high-efficiency successive approximation analog-to-digital converter according to any one of claims 1 to 2, the control method comprising: S1: Control the first and second sampling switches to be closed, and sample the first and second input voltages on the top plates of all capacitors through the first and second sampling switches; after sampling, control the first and second sampling switches to be disconnected; control the bottom plate of the capacitor with the largest capacitance value in the positive phase and negative phase main arrays to be connected to the ground, the bottom plates of the two connected capacitors to be connected to the second reference voltage, and the bottom plates of the remaining capacitors to be connected to the first reference voltage; control the bottom plate of one capacitor in the positive phase and negative phase sub-arrays to be connected to the ground, and the bottom plate of the other capacitor to be connected to the first reference voltage; compare the sampling signal of the positive phase array with the sampling signal of the negative phase array through a comparator, determine the side with the higher voltage between the two, and output the corresponding first comparison result through a shift register; S2: Control the bottom plate switch of the capacitor with the largest capacitance value in the main array on the low voltage side of the first comparison result to be connected to the first reference voltage, and the connection mode of other switches remains unchanged, so that the voltage on the low voltage side of the first comparison result is increased by a voltage equal to half the voltage value of the first reference voltage; sample the voltage and perform a second comparison through the comparator to determine the higher voltage side of the two, and output the corresponding second comparison result through the shift register; S3: If both the first comparison result and the second comparison result indicate that the positive phase array is on the high voltage side, or both the first comparison result and the second comparison result indicate that the negative phase array is on the high voltage side, control the capacitor connected to the first reference voltage in the sub-array on the high voltage side to switch to ground, and the capacitor connected to the ground in the sub-array on the low voltage side to switch to the first reference voltage, and control the first and second connection switches between the two main arrays and the two sub-arrays to be closed; otherwise, control the first and second connection switches between the two main arrays and the two sub-arrays to be closed; then sample the voltage and perform a third comparison through a comparator to determine the side with the higher voltage between the two, and output the corresponding third comparison result through a shift register; S4: in the comparison result obtained last time, the bottom plate of the capacitor in the main array on the high voltage side is switched from the first reference voltage to the ground, while the connection mode of the capacitor on the low voltage side remains unchanged; then the voltage is sampled and compared through the comparator to determine the side with higher voltage between the two, and the corresponding result is output through the shift register; the steps of switching the bottom plate of the capacitor in the main array on the high voltage side from the first reference voltage to the ground, while the connection mode of the capacitor on the low voltage side remains unchanged, then the voltage is sampled and compared through the comparator to determine the side with higher voltage between the two, and the corresponding result is output through the shift register are repeated until the N-1th comparison is completed, wherein N is the number of capacitors in the positive phase array or the number of capacitors in the negative phase array; S5: In the comparison result obtained by the N-1th comparison, the bottom plate of the connecting capacitor in the main array on the high voltage side is switched from the first reference voltage to the second reference voltage, and the connection method of the capacitor on the low voltage side remains unchanged; then the voltage is sampled and compared through a comparator to determine the higher voltage side of the two, and the Nth comparison result is output through a shift register.
4. A circuit system, It is characterized in that It comprises a capacitor segmented high-efficiency successive approximation analog-to-digital converter as described in any one of claims 1 to 2.
5. An electronic device, It is characterized in that including a processor and a memory; The memory is used to store programs; The processor executes the program to implement the control method according to claim 3.
6. A computer-readable storage medium, It is characterized in that The storage medium stores a program, and the program is executed by a processor to implement the control method according to claim 3.
