Channel selection circuit, analog-to-digital converter and system on chip
By designing switch control and substrate potential control in the channel selection circuit, the liner bias effect of the MOS switch is eliminated, and the performance improvement of high-speed and high-precision ADC at low power supply voltage is achieved, solving the problem of on-resistance changing with the input signal.
Patent Information
- Application Number
- CN202310511424.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-08
- Publication Date
- 2024-11-08
AI Technical Summary
In the analog-to-digital converter, the on-resistance changes with the input signal due to the liner bias effect of the MOS switch in the existing channel selection circuit, which is difficult to meet the performance requirements of high speed, high accuracy and low power supply voltage.
A channel selection circuit is designed, through the switch control circuit, MOS switch channel circuit and substrate potential control circuit, and the selection decoding circuit and the switch enable circuit are used to ensure the substrate voltage setting of the MOS switch in the selected channel. To simulate the voltage of the input signal, eliminate the liner bias effect and pull the substrate voltage down in the unselected channel to ensure constant on-resistance.
Significantly improves the linearity of the channel selection circuit, meets the design requirements of high-speed and high-precision ADCs, and maintains excellent performance at low power supply voltage, improves harmonic distortion at main frequency positions, and is suitable for high-precision such as 16-bit resolution ADC design.
Smart Images

Figure CN118921060A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of integrated circuits, and in particular to a channel selection circuit, an analog-to-digital converter and a system on chip. Background Art
[0002] Analog to Digital Converter (ADC) is an indispensable circuit in System on Chip (SOC) as a bridge connecting analog signals to digital signals. The accuracy of ADC often directly determines the performance of the system, and its importance is self-evident. Usually, when designing SOC, multiple (M) analog signals need to be converted into digital signals, but ADC can only convert one analog signal into a digital signal at a time. Therefore, it is necessary to design a channel selection circuit at the front end of ADC to realize the conversion of multiple analog signals by ADC. At the same time, the channel selection circuit can only select one analog signal as the analog input signal of the subsequent ADC.
[0003] Figure 1 The block diagram of an analog-to-digital converter with a channel selection circuit 10 includes a channel selection circuit 10 and an analog-to-digital conversion circuit 11 coupled thereto. The channel selection circuit 10 selects a channel according to a channel selection signal SEL. <k:1>The value of the analog input signal VIN <m:1>One of the analog signals is selected and output to the input end of the N-bit analog-to-digital conversion circuit 11 as the input signal ADC input of the analog-to-digital conversion circuit 11. The analog-to-digital conversion circuit 11 converts the input signal ADC input output by the channel selection circuit 10 into a digital signal Dout. <n-1:0>. Among them, a CMOS (Complementary Metal Oxide Semiconductor) switch is usually used as a switch for each channel in the channel selection circuit 10. The CMOS switch is a parallel connection of an NMOS switch and a PMOS switch. Since the channel switch of the above scheme uses a MOS tube, there are defects such as the MOS tube bias effect and the threshold voltage of the MOS tube changing with the input voltage VIN, which makes it difficult to meet the ADC's requirements for high precision and low power consumption. Summary of the invention
[0004] The object of the present invention is to provide a channel selection circuit, an analog-to-digital converter and a system on chip, which can eliminate the bias effect of the MOS switch, greatly improve the linearity of the channel selection circuit, meet the design requirements of high-speed and high-precision ADC, and enable it to maintain excellent performance even at low power supply voltage.
[0005] To achieve the above object, the present invention provides a channel selection circuit, which serves as a pre-stage circuit of an analog-to-digital conversion circuit, comprising:
[0006] a switch control circuit, configured to generate a first switch control signal according to a channel selection signal during a sampling phase of the analog-to-digital conversion circuit;
[0007] A MOS switch channel circuit, wherein the input end is coupled to m analog input signals, and the output end is coupled to the input end of the analog-to-digital conversion circuit, the MOS switch channel circuit has m channels, each channel has a corresponding MOS switch, and the gate of each MOS switch is coupled to the corresponding first switch control signal;
[0008] A substrate potential control circuit, having an input end coupled to the m analog input signals and the first switch control signal, and an output end coupled to the substrate of the corresponding MOS switch in the MOS switch channel circuit, wherein the substrate potential control circuit is used to set the voltage of the substrate of the corresponding MOS switch in the selected channel to the voltage of the analog input signal coupled to the channel during the sampling phase of the analog-to-digital conversion circuit.
[0009] Optionally, the MOS switch of each channel is a CMOS switch or an NMOS switch formed by a deep N-well process.
[0010] Optionally, the substrate potential control circuit is further used for:
[0011] During the conversion phase of the analog-to-digital conversion circuit and the sampling phase, the voltage of the substrate of the corresponding NMOS switch in the unselected channel is pulled to ground; or,
[0012] During the conversion phase and the sampling phase of the analog-to-digital conversion circuit, the substrate voltage of the NMOS switch in the corresponding CMOS switch in the unselected channel is pulled to the ground, and the substrate voltage of the PMOS switch in the corresponding CMOS switch is pulled to the power supply voltage.
[0013] Optionally, the substrate potential control circuit is further used for:
[0014] During the sampling phase of the analog-to-digital conversion circuit, the substrate voltage of the corresponding NMOS switch in the selected channel is connected to the analog input signal coupled to the selected channel, and during the conversion phase of the analog-to-digital conversion circuit, the substrate voltage of the corresponding NMOS switch in the selected channel is pulled to ground; or,
[0015] During the sampling phase of the analog-to-digital conversion circuit, the substrate voltages of the NMOS switch and the PMOS switch of the corresponding CMOS switch in the selected channel are connected to the analog input signal coupled to the selected channel. During the conversion phase of the analog-to-digital conversion circuit, the substrate voltage of the NMOS switch of the corresponding CMOS switch in the selected channel is pulled to the ground, and the substrate voltage of the PMOS switch in the corresponding CMOS switch is pulled to the power supply voltage.
[0016] Optionally, the switch control circuit further includes:
[0017] A selection decoding circuit, an input end of which is coupled to the k-bit channel selection signal, and generates complementary m first control signals and m second control signals according to the channel selection signal;
[0018] A switch enabling circuit has a first input terminal coupled to the output terminal of the selection decoding circuit, a second input terminal coupled to the sampling phase signal of the analog-to-digital conversion circuit, and is used to generate m first switch control signals to the substrate potential control circuit according to the m first control signals and the sampling phase signal.
[0019] Optionally, the switch enabling circuit comprises a first AND logic circuit, and the first AND logic circuit performs an AND logic operation on the m first control signals and the sampling phase signal to output the m first switch control signals.
[0020] Optionally, the switch enable circuit includes a third AND logic circuit and a bootstrap circuit; the third AND logic circuit performs corresponding AND logic operations on the m first control signals and the sampling phase signals to output m clock control signals; the first input end of the bootstrap circuit is coupled to the m clock control signals, and the second input end of the bootstrap circuit is coupled to the m analog input signals to output the m first switch control signals.
[0021] Optionally, the substrate potential control circuit comprises:
[0022] A first switch circuit, having a control end coupled to the m first switch control signals, an input end coupled to the m analog input signals, and an output end serving as an output end of the substrate potential control circuit. Under the control of the first switch control signal, the first switch circuit outputs the m analog input signals as m substrate voltage signals and provides them one-to-one to the substrates of the MOS switches of each channel in the MOS switch channel circuit.
[0023] Optionally, the substrate potential control circuit further includes:
[0024] a second AND logic circuit, wherein the second AND logic circuit performs an AND logic operation on the m first control signals and the conversion phase signal of the analog-to-digital conversion circuit to output m second switch control signals, wherein the conversion phase signal and the sampling phase signal are a pair of two-phase non-overlapping clock signals;
[0025] a second switch circuit, wherein a control end is coupled to the m second switch control signals, an input end is coupled to a ground or a power supply voltage, and an output end is coupled to an output end of the substrate potential control circuit, and the second switch circuit pulls the voltage of the output end of the substrate potential control circuit to the ground or the power supply voltage under the control of the m second switch control signals;
[0026] The third switch circuit has a control end coupled to the m second control signals, an input end coupled to the ground or the power supply voltage, and an output end coupled to the output end of the substrate potential control circuit. Under the control of the m second control signals, the third switch circuit pulls the voltage of the output end of the substrate potential control circuit to the ground or the power supply voltage.
[0027] Optionally, when the MOS switch is a CMOS switch, the second switch circuit or the third switch circuit pulls the output end of the substrate potential control circuit of the substrate of the NMOS switch coupled to the CMOS switch to ground, and pulls the output end of the substrate potential control circuit of the substrate of the PMOS switch coupled to the CMOS switch to the power supply voltage; when the MOS switch is an NMOS switch, the second switch circuit or the third switch circuit pulls the output end of the substrate potential control circuit of the substrate coupled to the NMOS switch to ground.
[0028] Optionally, the substrate potential control circuit further includes:
[0029] a second AND logic circuit, wherein the second AND logic circuit performs an AND logic operation on the m second control signals and the conversion phase signal of the analog-to-digital conversion circuit to output m second switch control signals, wherein the conversion phase signal and the sampling phase signal are a pair of two-phase non-overlapping clock signals;
[0030] an OR logic circuit, wherein a first input terminal of the OR logic circuit is coupled to the m second control signals, a second input terminal of the OR logic circuit is coupled to the m second switch control signals, and the OR logic circuit is used to perform an OR logic operation on the m second control signals and the m second switch control signals respectively; and
[0031] A fourth switch circuit, wherein the control end of the fourth switch circuit is coupled to the output end of the OR logic circuit, the input end of the fourth switch circuit is coupled to the ground or the power supply voltage, the output end of the fourth switch circuit is coupled to the output end of the substrate potential control circuit, and the fourth switch circuit is used to pull the voltage of the output end of the substrate potential control circuit to the ground or the power supply voltage under the output control of the OR logic circuit.
[0032] Optionally, when the MOS switch is a CMOS switch, the fourth switch circuit pulls the output end of the substrate potential control circuit of the substrate of the NMOS switch coupled to the CMOS switch to ground, and pulls the output end of the substrate potential control circuit of the substrate of the PMOS switch coupled to the CMOS switch to the power supply voltage; when the MOS switch is an NMOS switch, the fourth switch circuit pulls the output end of the substrate potential control circuit of the substrate coupled to the NMOS switch to ground.
[0033] Optionally, the switch enable circuit includes a third AND logic circuit and a bootstrap circuit; the third AND logic circuit performs AND logic operations on the m first control signals and the sampling phase signals respectively to output m clock control signals; the first input end of the bootstrap circuit is coupled to the output end of the third AND logic circuit to couple the m clock control signals, the second input end of the bootstrap circuit is coupled to the m analog input signals, the output end of the bootstrap circuit is coupled to the control end of the first switch circuit, the power supply end of the bootstrap circuit is coupled to the power supply voltage, the ground end of the bootstrap circuit is coupled to the ground, and the bootstrap circuit outputs the m first switch control signals under the control of the m clock control signals, and when the clock control signal is at a low level, the first switch control signal is ground, and when the clock control signal is at a high level, the voltage of the first switch control signal is higher than that of the analog input signal by one of the power supply voltages.
[0034] Optionally, the bootstrap circuit includes a bootstrap capacitor. When the clock control signal is at a low level, the bootstrap circuit is cut off and the first switch control signal output by the bootstrap circuit is ground, the lower plate of the bootstrap capacitor is grounded, and the upper plate is connected to the power supply voltage to be charged; when the clock control signal is at a high level, the bootstrap circuit is turned on, the lower plate of the bootstrap capacitor is connected to the analog input signal, and the upper plate is connected to the output end of the bootstrap circuit, and the bootstrap circuit outputs the first switch control signal that changes with the received analog input signal and is always higher than the power supply voltage.
[0035] Optionally, the first AND logic circuit includes m first AND gates corresponding one-to-one to the m channels.
[0036] Optionally, the second AND logic circuit includes m second AND gates corresponding one-to-one to the m channels, and the second switch circuit, the third switch circuit or the fourth switch circuit includes m MOS switches respectively.
[0037] Optionally, the analog-to-digital conversion circuit includes a non-overlapping clock circuit, which generates the two-phase non-overlapping sampling phase signal and conversion phase signal based on the same clock signal.
[0038] Based on the same inventive concept, the present invention also provides an analog-to-digital converter, which includes an analog-to-digital conversion circuit and a channel selection circuit as described in the present invention, wherein the channel selection circuit couples m analog input signals and is used to select one of the m analog input signals at the same time and output it to the input end of the analog-to-digital conversion circuit, and the analog-to-digital conversion circuit is used to convert the analog input signal selected by the channel selection circuit into a digital signal.
[0039] Based on the same inventive concept, the present invention further provides a system on chip, which includes the analog-to-digital converter as described in the present invention.
[0040] Compared with the prior art, the technical solution of the present invention has at least one of the following beneficial effects:
[0041] 1. During the sampling phase of the ADC circuit, the substrate voltage of the corresponding MOS switch in the selected channel is set to the voltage of the analog input signal coupled to the channel, eliminating the substrate bias effect of the MOS switch, greatly improving the linearity of the channel selection circuit, meeting the design requirements of high-speed and high-precision ADCs, and maintaining excellent performance even at low power supply voltages. It can also improve the harmonic distortion phenomenon at the main frequency position, meeting the design requirements of high-precision ADCs (such as 16-bit resolution or even higher).
[0042] 2. The MOS switch of the MOS switch channel circuit will only be turned on when the channel it is in is selected and during the sampling phase of the ADC, and it is in the off state at other times, thereby keeping the on-resistance of the conductive device constant, further improving the linearity of the channel selection circuit.
[0043] 3. In a further embodiment, during the conversion phase of the ADC, the substrate voltage of the NMOS switch in the selected channel is pulled to ground, and the substrate voltage of the PMOS switch in the selected channel is pulled to the power supply voltage; in a further embodiment, during the sampling phase and the conversion phase of the ADC, the substrate voltage of the NMOS switch in the unselected channel is pulled to ground, and the substrate voltage of the PMOS switch in the unselected channel is pulled to the power supply voltage. The above embodiments can improve the harmonic distortion phenomenon at the main frequency position and meet the design requirements of high-precision (such as 16-bit resolution, or even higher) ADC. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Those skilled in the art will appreciate that the accompanying drawings are provided for a better understanding of the present invention and do not constitute any limitation on the scope of the present invention.
[0045] Figure 1 is a block diagram of an analog-to-digital converter with a channel selection circuit.
[0046] Figure 2 The present invention is a schematic diagram of a specific circuit structure of an analog-to-digital converter with a channel selection circuit.
[0047] Figure 3 1 is a system block diagram of a channel selection circuit and an analog-to-digital converter in which the channel selection circuit is located according to a first embodiment of the present invention.
[0048] Figure 4 FIG. 4 is a schematic diagram of an exemplary structure of a switch enabling circuit according to the first embodiment of the present invention.
[0049] Figure 5A and Figure 5B 2 are two exemplary structural diagrams of the substrate potential control circuit according to the first embodiment of the present invention.
[0050] Figure 6 4 is a system block diagram of a channel selection circuit and an analog-to-digital converter in which the channel selection circuit is located according to a second embodiment of the present invention.
[0051] Fig. 7A and Figure 7B 2 are two exemplary structural diagrams of the substrate potential control circuit according to the second embodiment of the present invention.
[0052] Fig. 8A and Figure 8B 2 are two exemplary structural diagrams of the bootstrap circuit according to the second embodiment of the present invention.
[0053] Fig. 9 yes Figure 2 A schematic diagram of a curve showing how the on-resistance changes with the number of sampling times when VDD=3V in the circuit shown.
[0054] Fig.10 yes Figure 6 A schematic diagram of a curve showing how the on-resistance changes with the number of sampling times when VDD=3V in the circuit shown.
[0055] Fig.11 yes Figure 2 A schematic diagram of a curve showing how the on-resistance changes with the number of sampling times when VDD=1.8V in the circuit shown.
[0056] Fig.12 yes Figure 6 A schematic diagram of a curve showing how the on-resistance changes with the number of sampling times when VDD=1.8V in the circuit shown.
[0057] Fig.13 yes Figures 9 to 12 A comparative summary analysis table of relevant information.
[0058] Fig.14 4 is a system block diagram of a channel selection circuit and an analog-to-digital converter in which the channel selection circuit is located according to a third embodiment of the present invention.
[0059] Fig.15 2 are two exemplary structural schematic diagrams of the switch enabling circuit according to the third embodiment of the present invention.
[0060] Fig.16A and Fig. 16B 2 are two exemplary structural diagrams of the substrate potential control circuit according to the third embodiment of the present invention.
[0061] Fig.17 It is a schematic diagram of a common NMOS tube, an NMOS tube using a deep N well according to an embodiment of the present invention, and a PMOS tube.
[0062] Fig.18 A bootstrap circuit according to an embodiment of the present invention Schematic diagram of . DETAILED DESCRIPTION
[0063] In the following description, a large number of specific details are given in order to provide a more thorough understanding of the present invention. However, it is obvious to those skilled in the art that the present invention can be implemented without one or more of these details. In other examples, in order to avoid confusion with the present invention, some technical features known in the art are not described. It should be understood that the present invention can be implemented in different forms and should not be interpreted as being limited to the embodiments proposed here. On the contrary, providing these embodiments will make the disclosure thorough and complete, and the scope of the present invention will be fully conveyed to those skilled in the art. The same reference numerals represent the same elements from beginning to end. It should be understood that when an element is referred to as "connected to", "coupled" other elements, it can be directly connected to other elements, or there can be intervening elements. On the contrary, when an element is referred to as "directly connected to" other elements, there is no intervening element. When used here, the singular "one", "one" and "said / the" are also intended to include plural forms, unless the context clearly indicates another way. It should also be understood that the term "comprising" is used to identify the presence of features, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, steps, operations, elements, components and / or groups. When used herein, the term "and / or" includes any and all combinations of the relevant listed items.
[0064] Please refer to Figure 2 In an analog-to-digital converter with a channel selection circuit 10, the channel selection circuit 10 uses a CMOS switch as a switch for each channel. Specifically, the channel selection circuit 10 includes a selection decoding circuit (controlgenerate, CTRL GEN) 100 and m CMOS switches CMOS <m:1>Each CMOS switch is formed by connecting an NMOS switch and a PMOS switch in parallel. The decoding circuit 100 selects the channel selection signal Select <k:1>Generate and control M CMOS switches CMOS <m:1>The complementary control signal SWN <m:1>and SWP <m:1>, respectively as the gate voltage signals of the NMOS switch and the PMOS switch in the M CMOS switches. For example, when the control signal SWN is high and SWP When it is low, the CMOS switch At the same time, m CMOS switches CMOS <m:1>Only one of them can be turned on, thus selecting the corresponding analog input signal VIN As the input signal ADC Input of the analog-to-digital conversion circuit 11.
[0065] The circuit principle of the above scheme is simple and easy to implement. And the resistance R of each CMOS switch when it is turned on on for:
[0066]
[0067] Among them, (W / L) N is the width-to-length ratio of the NMOS switch in the CMOS switch, μ n is the mobility of the NMOS switch, V thn is the threshold voltage of the NMOS switch, (W / L) P is the width-to-length ratio of the PMOS switch in the CMOS switch, μ p is the mobility of the PMOS switch, V thp is the threshold voltage of the PMOS switch, C ox is the gate oxide specific capacitance of the CMOS switch, V in It is the voltage of the analog input signal when the CMOS switch is turned on.
[0068] The above scheme has at least the following defects:
[0069] (1) When the bias effect of MOS switch is not considered, theoretically, when μ n C ox (W / L) N =μ P C ox (W / L) P When the on-resistance of the CMOS switch is on and the voltage of the analog input signal V in It does not matter. At this time, the on-resistance R on Constant, the linearity is the best. But in fact, the on-resistance R of the CMOS switch on Will follow the analog input signal VIN <m:1>The voltage V in , the threshold voltage of the PMOS tube V thp , the threshold voltage of NMOS tube V thn This brings nonlinearity to the analog-to-digital converter.
[0070] (2) Under normal circumstances, the substrate of an NMOS switch is grounded to VSS, and the substrate of a PMOS switch is connected to the power supply voltage VDD, and both will have a substrate bias effect. For an NMOS switch or a PMOS switch, its threshold voltage V th The details are as follows:
[0071]
[0072] Among them, V BS is the bias voltage between the source and substrate, V th0 V BS =0 when the threshold voltage, γ is related to the process and is called the body effect coefficient. Fermi potential is a junction with a built-in potential kT / q (Boltzmann constant k = 1.38e - 23 J / K, T is temperature, q is the magnitude of a charge 1.6e -19 C), substrate doping concentration Nsub, substrate intrinsic carrier concentration n i And other related parameters, as follows:
[0073]
[0074] When the CMOS switch is turned on, the V BS =V in , V of the PMOS switch BS =VDD-V in It can be seen that the threshold voltage V thn , the threshold voltage of the PMOS switch V thp As the analog input signal voltage V in The offset effect of NMOS and PMOS switches makes the linearity of CMOS switches worse. <V thn +|V thp |, and the input signal falls within the interval [VDD-V thn ,|V thp |], the CMOS switch is cut off. It can be seen that the conductivity of the CMOS switch deteriorates when working at a low voltage and cannot meet the design requirements of a high-speed and high-precision ADC. In particular, the switch in the channel cannot even be turned on at a low power supply voltage. Therefore, this solution cannot be used for the design of a channel selection circuit in a low-power supply voltage, high-speed, and high-precision ADC.
[0075] Obviously, as the SOC chip has higher and higher requirements for the accuracy of the on-chip ADC, the ADC power supply voltage VDD range is getting wider and wider. The above-mentioned channel selection circuit solution has been difficult to meet the performance requirements of low power supply voltage, high speed and high precision ADC.
[0076] Based on this, the present invention provides a channel selection circuit, an analog-to-digital converter and a system on chip, which can eliminate the bias effect of the MOS switch, greatly improve the linearity of the channel selection circuit, meet the design requirements of high-speed and high-precision ADC, and enable it to maintain excellent performance even under low power supply voltage.
[0077] The technical solution proposed by the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The advantages and features of the present invention will become clearer according to the following description. It should be noted that the accompanying drawings are all in a very simplified form and are not in precise proportions, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention.
[0078] First embodiment
[0079] Please refer to Figure 3 The present embodiment provides a channel selection circuit 10 and an analog-to-digital converter (ADC), wherein the analog-to-digital converter comprises the channel selection circuit 10 and an analog-to-digital conversion circuit 11, wherein the channel selection circuit 10 serves as a pre-stage circuit of the analog-to-digital conversion circuit 11, and a signal input terminal is coupled to m analog input signals VIN <m:1>The signal output terminal is coupled to the input terminal of the analog-to-digital conversion circuit 11, and the channel selection circuit 10 receives m analog input signals VIN at the same time. <m:1>The analog-to-digital conversion circuit 11 is used to select an analog input signal (i.e., ADC_Input) selected by the channel selection circuit 10 and output it to the input end of the analog-to-digital conversion circuit 11. The analog-to-digital conversion circuit 11 is used to convert the analog input signal (i.e., ADC_Input) selected by the channel selection circuit 10 into a digital signal Dout. <n-1:0>.
[0080] In this embodiment, a non-overlapping clock circuit (Non-overlappingClock) 110 is provided inside the analog-to-digital conversion circuit 11. The non-overlapping clock circuit 110 can adopt any suitable circuit design. The input of the non-overlapping clock circuit 110 is the sampling signal ADC_SAMP of the ADC, and the output is the sampling phase signal PHS and the conversion phase signal PHC. PHS and PHC are a pair of two-phase non-overlapping clocks, and the length of the non-overlapping time depends on the delay time of the delay circuit (such as the DLL circuit, etc.) in the non-overlapping clock circuit 110.
[0081] In this embodiment, the channel selection circuit 10 specifically includes a switch control circuit 100 , a substrate potential control circuit 101 and a MOS switch channel circuit 102 .
[0082] The switch control circuit 100 is used to control the analog-to-digital conversion circuit 11 during the sampling phase (ie, when PHS=1 and PHC=0) according to the channel selection signal SEL <k:1>Generate a first switch control signal (SW <m:1>).
[0083] The MOS switch channel circuit 102 has m channels, each of which has a corresponding MOS switch (ie, switch <1> ~Switch <m>), the MOS switch can be any suitable four-terminal switch, the four terminals of which are: a signal input terminal, for coupling a corresponding analog input signal VIN <m:1>(i.e., VIN<1> to VIN <m>); a signal output terminal for coupling the input terminal of the analog-to-digital conversion circuit 11; a control terminal for coupling the first switch control signal SW provided by the switch control circuit 100 <m:1>(i.e., SW<1> to SW <m>), and controls the MOS switch to be turned on or off; the substrate end is used to couple the output end of the substrate potential control circuit 101. The input end of the MOS switch channel circuit 102 is coupled to m analog input signals VIN <m:1>, and convert m analog input signals VIN <m:1>Provided to m channels one by one, each channel can only be switched on by the first switch control signal SW <m:1>Only when the MOS switch is turned on and the corresponding analog input signal VIN is output as the input ADC_Input of the analog-to-digital conversion circuit 11 .
[0084] In a further embodiment, the MOS switch (ie, switch <1> ~Switch <m>) includes but is not limited to NMOS switches, PMOS switches, CMOS switches, and bootstrap switches. The substrate voltage VB of the MOS switch <m:1>Can be controlled independently, connected to different voltages in different states: SEL <k:1>The selected channel, and during the ADC sampling period, the corresponding switch In other cases, the switch is in the closed state. Furthermore, the switch in the open state The substrate of its NMOS tube is connected to the corresponding input VIN (If the switch There is a PMOS tube, and its substrate voltage is also connected to the corresponding input VIN ). In the off state of the switch, the substrate of the NMOS tube is connected to the lowest voltage, that is, the ground VSS (if the switch has a PMOS tube, its substrate voltage is connected to the highest voltage, that is, the power supply voltage VDD).
[0085] In a further example, the MOS switch (ie, switch) of each channel <1> ~Switch <m>) are NMOS switches (for example, implemented by NMOS tubes) or CMOS switches (for example, implemented by NMOS tubes and PMOS tubes connected in parallel) formed by a deep N-well (DNW) process. Fig.17 Schematic diagram of a common NMOS tube, an NMOS tube using a deep N well and a PMOS tube of the present invention. Fig.17 As shown, all three MOS tubes are P-type substrate processes, that is, the entire chip is processed on a P-type substrate, wherein the deep N-well (DNW) is an N-well located under the MOS tube and on the P-type substrate, which, combined with the ordinary N-wells on both sides, can separate the substrate of the NMOS tube above the deep N-well DNW from the P-type substrate of the entire chip. Therefore, the NMOS switch of the present invention uses an NMOS tube of the deep N-well DNW, and its substrate voltage VB_N can be independently controlled. In addition, as Fig.17 As shown, the PMOS tube is built in an independent N-well, so the substrate voltage VB_P of the PMOS tube can also be independently controlled.
[0086] In this embodiment, the switch control circuit 100 includes a selection decoding circuit 100a and a switch enabling circuit 100b. The selection decoding circuit 100a decodes the k-bit channel selection signal SEL <k:1>Decode and analyze to generate m pairs of complementary first control signals CH_A <m:1>(i.e., CH_A<1> to CH_A <m>) and the second control signal CH_B <m:1>(i.e., CH_B<1> to CH_B <m>The first input terminal of the switch enabling circuit 100b is coupled to select the m first control signals CH_A output by the decoding circuit 100a. <m:1>The second input terminal is coupled to the sampling phase signal PHS of the analog-to-digital conversion circuit 11 and is used to convert the m first control signals CH_A into <m:1>and the sampling phase signal PHS to generate m first switch control signals SW <m:1>To the substrate potential control circuit 101. By default, CH_A <m:1>All 0, CH_B <m:1>For all 1s, the switch <1> ~Switch <m>(i.e., the MOS switches of all channels) are in the off state. When channel i (i is any one of 1 to m) is switched on by SEL <k:1>When selected, CH_A =1 (CH_A of other channels = 0), CH_B =0 (CH_B of the other channels =1). Further, during the sampling phase, ADC_SAMP =1, PHS =1 and PHC =0, when channel i (i is any one of 1 to m) is <k:1>When selected, SW =1 (SW of other channels = 0) to control the switch <1> ~Switch <m>The switch corresponding to channel i Conductivity.
[0087] The selection decoding circuit 100a and the switch enabling circuit 100b can adopt any suitable circuit design. The selection decoding circuit 100a can be implemented by a circuit design commonly used in the art, which will not be given as an example here. Figure 4 In one example, the switch enabling circuit 100b includes a first AND logic circuit AND1 <m:1>For example, the first AND logic circuit AND1 <m:1>It may include m first AND gates (not shown) corresponding to the m channels of the MOS switch channel circuit 102 one by one. Figure 4 ), the m first AND gates can all be two-input AND gates, and each first AND gate is sensitive to the m first control signals CH_A <m:1>The corresponding first control signal CH_A and the sampling phase signal PHS are ANDed to generate the corresponding first switch control signal SW. For example, the first AND gate AND1 corresponding to the channel i (i is any one of 1 to m) The first control signal CH_A The sampling phase signal PHS is ANDed to generate a corresponding first switch control signal SW Therefore, the first AND logic circuit AND1 <m:1>A total of m first switch control signals SW can be output <m:1>, and then control the switches of m channels accordingly <1> ~Switch <m>Whether it is turned on during the ADC sampling phase. That is, m SW <m:1>=CH_A <m:1>*PHS.
[0088] The input terminal of the substrate potential control circuit 101 of this embodiment is coupled to m analog input signals VIN <m:1>and m first switch control signals SW <m:1>, output terminal VB <m:1>The substrate potential control circuit 101 is coupled to the substrate of the corresponding MOS switch in the MOS switch channel circuit 102. The substrate potential control circuit 101 is used to control the substrate voltage VB of the MOS switch in the MOS switch channel circuit 102. <m:1>, which has the following function: if and only if a channel i (i is any one of 1 to m) in the MOS switch channel circuit 102 is selected (ie, CH_A =1,CH_B =0) and in the sampling phase (i.e., PHS=1 and PHC=0), the switch in the MOS switch channel circuit 102 is controlled. The substrate voltage VB Connect to the corresponding analog input signal VIN In a further embodiment, if the switch There is an NMOS tube (also called an NMOS switch) in the circuit, which controls the substrate potential VB_N of the NMOS tube. Receive VIN ; If the switch There is a PMOS tube (also called a PMOS switch) in the circuit, which controls the substrate potential VB_P of the PMOS tube. Also received VIN .
[0089] The substrate potential control circuit 101 of this embodiment can adopt any suitable circuit design. As an example, please refer to Figure 5A The substrate potential control circuit 101 includes a first switch circuit Switch1 <m:1>In other embodiments, the substrate potential control circuit 101 further includes a second AND logic circuit AND2 <m:1>, the second switch circuit M2 <m:1>and the third switch circuit M3 <m:1>In one embodiment, the first switch circuit Switch1 <m:1>The control terminal (for example, the gate of the NMOS tube) is coupled to m first switch control signals SW <m:1>, the first switch circuit Switch1 <m:1>The input terminals (eg, the source of the NMOS tube) are connected to the analog input signal VIN of the analog-to-digital conversion circuit 11. <m:1>, the first switch circuit Switch1 <m:1>The output end (for example, the drain of the NMOS tube) is respectively connected to the switch in the MOS switch channel circuit 102 <m:1>(ie switch <1> ~Switch <m>) substrate. The first switch circuit Switch1 <m:1>In the first switch control signal SW <m:1>Under the control of m analog input signals VIN <m:1>The output is m substrate voltage signals VB <m:1>The substrates of the MOS switches of each channel in the MOS switch channel circuit 102 are provided one by one.
[0090] In a further embodiment, the substrate potential control circuit 101 further includes a second AND logic circuit AND2 <m:1>, the second switch circuit M2 <m:1>and the third switch circuit M3 <m:1>, where the second AND logic circuit AND2 <m:1>For m first control signals CH_A <m:1>The conversion phase signal PHC of the analog-to-digital conversion circuit 11 is ANDed to output m second switch control signals SW_C <m:1>, at this time SW_C <m:1>=CH_A <m:1>*PHC, where as mentioned above, the conversion phase signal PHC and the sampling phase signal PHS are a pair of two-phase non-overlapping clock signals.
[0091] The second switch circuit M2 <m:1>The control end (for example, the gate of the NMOS tube) is coupled to m second switch control signals SW_C <m:1>, the second switch circuit M2 <m:1>The input terminal (eg, the source of the NMOS tube) is coupled to the ground VSS (for the NMOS switch), and the second switch circuit M2 <m:1>The output terminal (for example, the drain of the NMOS tube) of the substrate potential control circuit 101 is coupled to the output terminal (for providing VB <m:1>), the second switch circuit M2 <m:1>In the m second switch control signals SW_C <m:1>Under the control of the substrate potential control circuit 101, the voltage VB at the output end is <m:1>Pulled to ground VSS (for NMOS transistors of MOS switches in MOS switch channel circuit 102) or power supply voltage VDD (for PMOS transistors of MOS switches in MOS switch channel circuit 102), Figure 5A (not shown).
[0092] Furthermore, when the MOS switch <m:1>All are CMOS switches (for example, Fig.14 In the embodiment of the present invention, the second switch circuit M2 <m:1>The NMOS switch M1 that couples the CMOS switch <m:1>The output terminal of the substrate 101 (eg Fig.16A VB_N <m:1>) to ground VSS, and the PMOS switch M0 coupled to the CMOS switch <m:1>The output terminal of the substrate 101 (eg Fig.16A VB_P <m:1>) to the power supply voltage VDD. When the MOS switch <m:1>All are NMOS switches (for example, Figure 6 In the embodiment of the present invention, the second switch circuit M2 <m:1>The coupled NMOS switch M1 <m:1>The output terminal of the substrate 101 (eg Fig. 7A VB <m:1>) to the ground.
[0093] The third switch circuit M3 <m:1>The control end of the CH_B is coupled to m second control signals CH_B <m:1>, the third switch circuit M3 <m:1>The input terminal of the third switch circuit M3 is coupled to the ground VSS. <m:1>The output terminal of the substrate potential control circuit 101 is coupled to the output terminal of the substrate potential control circuit 101 (for providing VB <m:1>), the third switch circuit M3 <m:1>In the m second control signals CH_B <m:1>Under the control of the substrate potential control circuit 101, the voltage VB at the output end is <m:1>Pulled to ground VSS (for NMOS transistors of MOS switches in MOS switch channel circuit 102) or power supply voltage VDD (for PMOS transistors of MOS switches in MOS switch channel circuit 102), Figure 5A (not shown).
[0094] Furthermore, when the MOS switch is a CMOS switch (for example, Fig.14 In the embodiment of the present invention, the third switch circuit M3 <m:1>The NMOS switch M1 that couples the CMOS switch <m:1>The output terminal of the substrate 101 (eg Fig.16A VB_N <m:1>) to ground VSS, and the PMOS switch M0 coupled to the CMOS switch <m:1>The output terminal of the substrate 101 (eg Fig.16A VB_P <m:1>) to the power supply voltage VDD. When the MOS switch is an NMOS switch (for example, Figure 6 When the third switch circuit M3 couples the NMOS switch M1 <m:1>The output terminal of the substrate 101 (eg Fig. 7A VB <m:1>) to the ground.
[0095] It should be understood that the first switch circuit Switch1 <m:1>, the second AND logic circuit AND2 <m:1>, the second switch circuit M2 <m:1>and the third switch circuit M3 <m:1>Any suitable circuit design can be used. For example, the second AND logic circuit AND2 <m:1>The MOS switch channel circuit 102 includes m second AND gates (not shown) corresponding to the m channels in the MOS switch channel circuit 102. Figure 5A In the figure, the first switch circuit Switch1 <m:1>, the second switch circuit M2 <m:1>and the third switch circuit M3 <m:1>Each of them includes m MOS switches (all of which can be NMOS switches). Taking channel i as an example, the first switch circuit Switch1 , the second switch circuit M2 and the third switch circuit M3 The substrate potential control circuit branch is composed of the switch in the MOS switch channel circuit 102. The substrate provides a corresponding substrate voltage signal VB For another example, the first switch circuit Switch1 <m:1>Switch selection in MOS switch channel circuit 102 <m:1>The selection is consistent, when the switch <m:1>When both are NMOS switches, the first switch circuit Switch1 <m:1>The switches in the circuit are all NMOS switches. <m:1>When both are CMOS switches, the first switch circuit Switch1 <m:1>The switches in the figure are all CMOS switches.
[0096] In summary, when the switch in the MOS switch channel circuit 102 <m:1>When all NMOS switches are used, the substrate potential control circuit 101 pulls the substrate voltage of the corresponding NMOS switch in the unselected channel to the ground VSS, whether during the conversion phase or the sampling phase of the analog-to-digital conversion circuit. <m:1>When all are CMOS switches, the substrate voltage of the NMOS switch in the corresponding CMOS switch in the unselected channel is pulled to the ground VSS, and the substrate voltage of the PMOS switch in the corresponding CMOS switch is pulled to the power supply voltage VDD.
[0097] Furthermore, when the switch in the MOS switch channel circuit 102 <m:1>When all NMOS switches are used, the substrate potential control circuit 101 is used to connect the substrate voltage of the corresponding NMOS switch in the selected channel i to the analog input signal VIN coupled to the selected channel i during the sampling phase. , during the switching phase, pull the substrate voltage of the corresponding NMOS switch in the selected channel i to ground VSS. Alternatively, combine Fig.14 , when the switch in the MOS switch channel circuit 102 <m:1>When all CMOS switches are used, the substrate potential control circuit 101 is used to control the NMOS switch M1 of the corresponding CMOS switch in the selected channel i during the sampling phase. and PMOS switch M0 The substrate voltage VB_N and VB_P The analog input signal VIN coupled to the selected channel i is connected , during the switching phase, the NMOS switch M1 of the corresponding CMOS switch in the selected channel i is switched The substrate voltage VB_N Pull to ground VSS, and the PMOS switch M0 in the CMOS switch The substrate voltage VB_P Pulled to the supply voltage VDD.
[0098] In this example, the switch in the MOS switch channel circuit 102 <1> ~Switch <m>Taking NMOS switches as an example, the working principle of the channel selection circuit 10 is as follows:
[0099] When any channel i is not selected, CH_A =0 and CH_B =1, regardless of whether the ADC is sampling or not, SW =0,SW_C =0,Switch1 With M2 Both are in the closed state, CH_B Controlling M3 The gate of M3 is turned on , the switch in the MOS switch channel circuit 102 The substrate voltage VB Pull to ground VSS, and M1 That is, the substrate potential control circuit 101 can pull the substrate voltage VB of the corresponding NMOS switch in the unselected channel of the MOS switch channel circuit 102 to the ground VSS during the conversion phase and the sampling phase of the analog-to-digital conversion circuit 11.
[0100] When channel i is selected and the ADC sampling phase is low (i.e. ADC_SAMP=0), CH_A =1,CH_B = 0, the non-overlapping clock circuit 110 outputs PHS = 0 and PHC = 1, SW =0,SW_C =1,Switch1 With M3 All are in the closed state. SW_C Control M2 The gate of switch M2 Turn on, M1 The substrate voltage VB Pull to ground VSS, switch In closed state.
[0101] When channel i is selected and the ADC sampling phase is high (ie, ADC_SAMP=1), the decoding circuit 100a is selected to output CH_A =1 and CH_B =0, the non-overlapping clock circuit 110 outputs PHS=1 and PHC=0, so SW =1,SW_C =0,M2 With M3 Both are in the closed state, SW Controlling Switch1 On, VB =WINE , that is, the switch corresponding to the selected channel i The substrate voltage VB Equal to its source voltage VIN , eliminating the switch in channel i The linearity of channel i is greatly improved by eliminating the bias effect.
[0102] As another example, see Figure 5B The substrate potential control circuit 101 includes a first switch circuit Switch1 <m:1>In other embodiments, the substrate potential control circuit 101 further includes a second AND logic circuit AND2 <m:1>, OR logic circuit OR <m:1>and the fourth switch circuit M4 <m:1>.
[0103] In one embodiment, the first switch circuit Switch1 <m:1>The control terminal (for example, the gate of the NMOS tube) is coupled to m first switch control signals SW <m:1>, the first switch circuit Switch1 <m:1>The input terminals (eg, the source of the NMOS tube) are connected to the analog input signal VIN of the analog-to-digital conversion circuit 11. <m:1>, the first switch circuit Switch1 <m:1>The output end (for example, the drain of the NMOS tube) is respectively connected to the switch in the MOS switch channel circuit 102 <m:1>(ie switch <1> ~Switch <m>) substrate. The first switch circuit Switch1 <m:1>In the first switch control signal SW <m:1>Under the control of m analog input signals VIN <m:1>The output is m substrate voltage signals VB <m:1>The substrates of the MOS switches of each channel in the MOS switch channel circuit 102 are provided one by one.
[0104] In a further embodiment, the substrate potential control circuit 101 further includes a second AND logic circuit AND2 <m:1>, OR logic circuit OR <m:1>and the fourth switch circuit M4 <m:1>, where the second AND logic circuit AND2 <m:1>For m first control signals CH_A <m:1>The conversion phase signal PHC of the analog-to-digital conversion circuit 11 is ANDed to output m second switch control signals SW_C <m:1>, at this time SW_C <m:1>=CH_A <m:1>*PHC, where as mentioned above, the conversion phase signal PHC and the sampling phase signal PHS are a pair of two-phase non-overlapping clock signals.
[0105] OR logic circuit <m:1>The first input terminal is coupled to m second control signals CH_B <m:1>The second input terminal is coupled to m second switch control signals SW_C <m:1>, OR logic circuit OR <m:1>For m second control signals CH_B<m:1) and m second switch control signals SW_C <m:1>Perform an OR logic operation to generate m third switch control signals SW_D <m:1>.
[0106] Fourth switch circuit M4 <m:1>The control end of the m third switch control signals SW_D is coupled to <m:1>, the fourth switch circuit M4 <m:1>The input terminal of the fourth switch circuit M4 is coupled to the ground VSS (for NMOS switch). <m:1>The output terminal of the substrate potential control circuit 101 is coupled to the output terminal of the substrate potential control circuit 101 (for providing VB <m:1>), the fourth switch circuit M4 <m:1>In the m third switch control signals SW_D <m:1>Under the control of the substrate potential control circuit 101, the voltage VB at the output end is <m:1>Pulled to ground VSS (for NMOS transistors of MOS switches in MOS switch channel circuit 102) or power supply voltage VDD (for PMOS transistors of MOS switches in MOS switch channel circuit 102), Figure 5B (not shown).
[0107] Furthermore, the MOS switch is a CMOS switch (for example, Fig.14 In the embodiment of the present invention, the fourth switch circuit M4 <m:1>The CMOS switch will be coupled <m:1>The NMOS switch M1 <m:1>The output terminal of the substrate 101 (eg Fig. 16B VB_N <m:1>) to ground VSS and couple the CMOS switch <m:1>The PMOS switch M0 <m:1>The output terminal of the substrate 101 (eg Fig. 16B VB_P <m:1>) is pulled to the power supply voltage VDD. The MOS switch is an NMOS switch (for example, Figure 6 When M1) of the embodiment, the fourth switch circuit M4 <m:1>The coupled NMOS switch M1 <m:1>The output terminal of the substrate 101 (eg Figure 7B VB <m:1>) to the ground.
[0108] This example also makes the MOS switch of channel i The MOS switch in the selected channel i is turned on (i.e., conducting) only when it is selected and during the ADC sampling phase. During the ADC sampling phase, the on-resistance Ron is proportional to the input signal VIN. It doesn’t matter, it is a constant value, and the linearity of channel i is greatly improved.
[0109] What requires instructions is: Figure 5A and Figure 5B In the example shown, the switch <m:1>(ie switch <1> ~Switch <m> )、M2 <m:1> 、M3 <m:1>and M4 <m:1>All of them are NMOS switches. The substrate potential control circuit 101 needs to switch when channel i is not selected. The substrate voltage VB Pull down to ground VSS, so M2 <m:1> 、M3 <m:1>and M4 <m:1>The input terminals of the switches are all coupled to the ground VSS. However, the technical solution of this embodiment is not limited to this. <m:1>(ie switch <1> ~Switch <m>) are both PMOS switches, the substrate potential control circuit 101 needs to switch when channel i is not selected. The substrate voltage VB Pull to the power supply voltage VDD, at this time, M2 <m:1> 、M3 <m:1>and M4 <m:1>are replaced with PMOS switches, and their input terminals are coupled to the power supply voltage VDD. For details, please refer to Fig.16A and Fig. 16B The circuit part related to the PMOS switch.
[0110] Based on the same invention concept, please refer to Figure 3 This embodiment also provides an analog-to-digital converter ADC, which includes an analog-to-digital conversion circuit 11 and a channel selection circuit 10 as described in this embodiment, wherein the channel selection circuit 10 is coupled to m analog input signals VIN <m:1>And used to receive m analog input signals VIN at the same time <m:1>One of the channels is selected and output to the input end of the analog-to-digital conversion circuit 11. The analog-to-digital conversion circuit 11 is used to convert the analog input signal selected by the channel selection circuit 10 into a digital signal Dout. <n-1:0>.
[0111] Based on the same inventive concept, this embodiment further provides a system on chip, which includes the analog-to-digital converter as described in this embodiment.
[0112] In the technical solution of this embodiment, the sampling phase clock signal PHS, the conversion phase clock signal PHC and the substrate voltage VB control technology generated by the non-overlapping clock circuit 110 inside the ADC are utilized, so that the substrate voltage of the corresponding MOS switch in the selected channel is set to the voltage of the analog input signal coupled to the channel during the ADC sampling phase, eliminating the MOS switch's bias effect, which means that the on-resistance of the MOS switch in the selected channel is a constant value during the entire ADC sampling phase, greatly improving the linearity of the channel selection circuit 10, meeting the design requirements of a high-precision ADC, maintaining excellent performance even at a low power supply voltage, and being able to improve the harmonic distortion phenomenon at the main frequency position, meeting the design requirements of a high-precision ADC (such as 16-bit resolution, or even higher).
[0113] Second embodiment
[0114] Please refer to Figure 6 The present embodiment provides a channel selection circuit 10 and an analog-to-digital converter (ADC). The analog-to-digital converter comprises the channel selection circuit 10 and an analog-to-digital conversion circuit 11. The channel selection circuit 10 serves as a pre-stage circuit of the analog-to-digital conversion circuit 11. The signal input terminal is coupled to m analog input signals VIN. <m:1>The signal output terminal is coupled to the input terminal of the analog-to-digital conversion circuit 11, and the channel selection circuit 10 receives m analog input signals VIN at the same time. <m:1>The analog-to-digital conversion circuit 11 is used to select an analog input signal (i.e., ADC_Input) selected by the channel selection circuit 10 and output it to the input end of the analog-to-digital conversion circuit 11. The analog-to-digital conversion circuit 11 is used to convert the analog input signal (i.e., ADC_Input) selected by the channel selection circuit 10 into a digital signal Dout. <n-1:0>In the technical solution of this embodiment, the channel selection circuit 10 also includes a switch control circuit 100 , a substrate potential control circuit 101 and a MOS switch channel circuit 102 .
[0115] In this embodiment, the switch control circuit 100 includes a selection decoding circuit 100a and a switch enabling circuit 100b. The selection decoding circuit 100a selects a k-bit channel selection signal SEL <k:1>Decode and analyze to generate m pairs of complementary first control signals CH_A <m:1>and the second control signal CH_B <m:1>The switch enabling circuit 100b includes a third AND logic circuit AND3 <m:1>and bootstrap circuit <m:1>.
[0116] The substrate potential control circuit 101 of this embodiment adopts the same design as the substrate potential control circuit 101 of the first embodiment. Further, optionally, the switch 1 in the substrate potential control circuit 101 of this embodiment <m:1>It can be an NMOS switch, such as Fig. 7A and 7B The specific structure of the substrate potential control circuit 101 of this embodiment can refer to the above Figure 5A and Figure 5B The relevant description will not be repeated here.
[0117] The most important difference between the channel selection circuit 10 of this embodiment and the channel selection circuit 10 of the first embodiment is that the MOS switch channel circuit 102 in the channel selection circuit 10 of this embodiment uses m NMOS switches (or NMOS tubes) formed by deep N-well technology. <m:1>To construct m channels, the switch enabling circuit 100 in the switch control circuit 100 includes a third AND logic circuit AND3 <m:1>and bootstrap circuit <m:1>The third AND logic circuit AND3 <m:1>For m first control signals CH_A <m:1>Perform an AND logic operation on the sampling phase signal PHS to output m clock control signals CLK <m:1>, bootstrap circuit <m:1>The first input terminal is coupled to m clock control signals CLK <m:1>The second input terminal is coupled to m analog input signals VIN <m:1>, to output m first switch control signals SW <m:1>.
[0118] In a further embodiment, the third AND logic circuit AND3 <m:1>For m first control signals CH_A <m:1>Perform an AND logic operation with the sampling phase signal PHS to output m clock control signals CLK <m:1>When CH_A corresponding to channel i When PHS is 1, the corresponding CLK is 1, in other cases CLK The third AND logic circuit AND3 <m:1>Any suitable circuit design can be used to implement this. A simple implementation method is to construct m two-input AND gates, m first control signals CH_A <m:1>and PHS are used as the inputs of the m two-input AND gates respectively, thereby generating the clock control signal CLK <m:1>=CH_A <m:1>*PHS. Bootstrap circuit <m:1>Includes NMOS switch M1 <1> ~M1 <m>m bootstrap circuits are arranged one by one <1> ~ Bootstrap circuit <m>In a further embodiment, the bootstrap circuit <1> ~ Bootstrap circuit <m>With NMOS switch M1 <1> ~M1 <m>One-to-one can be regarded as forming a bootstrap switch <1> ~ Bootstrap switch <m>The m bootstrap switches <m:1>. Analog input signal VIN <m:1>As bootstrap circuit <1> ~ Bootstrap circuit <m>The input signal, CLK <m:1>As bootstrap circuit <1> ~ Bootstrap circuit <m>The clock signal of the bootstrap circuit <1> ~ Bootstrap circuit <m>The corresponding output first switch control signal SW <m:1>, VDD and VSS are respectively the bootstrap circuit <1> ~ Bootstrap circuit <m>Power supply and ground. Bootstrap circuit <1> ~ Bootstrap circuit <m>The m clock control signals CLK <m:1>m first switch control signals SW are output under the control of <m:1>, and the clock control signal CLK <m:1>When the first switch control signal SW is at a low level, <m:1>The clock control signal CLK <m:1>When the first switch control signal SW is high, <m:1>The voltage ratio of the analog input signal VIN <m:1>For example, the bootstrap circuit corresponding to channel i (i is any one of 1 to m) With NMOS switch M1 Combining bootstrap switches , bootstrap circuit The clock control signal CLK The first switch control signal SW is output under the control of , and at CLK When it is low, SW is ground, at CLK When high, SW The voltage is higher than VIN One supply voltage higher than VDD.
[0119] In a further embodiment, wherein the bootstrap circuit <1> ~ Bootstrap circuit <m>Any suitable circuit design can be used to implement this. Each bootstrap circuit generally includes a bootstrap capacitor. Fig.18 A bootstrap circuit according to an embodiment of the present invention Schematic diagram, such as Fig.18 As shown, the bootstrap circuit It has the following characteristics: Taking channel i as an example, when the clock signal CLK When the level is low (such as Fig.18 charging phase), bootstrap circuit The lower plate of the bootstrap capacitor CB is connected to the ground VSS and the upper plate is connected to the power supply voltage VDD, the bootstrap capacitor CB is charged, and the bootstrap circuit The first switch control signal SW output is low level, namely VSS. At this time, the NMOS switch M1 in the MOS switch channel circuit 102 In the cut-off state. When CLK When VDD is high (such as Fig.18 Bootstrap phase), bootstrap circuit The lower plate of the bootstrap capacitor CB is connected to the analog input signal VIN , the upper plate is connected to the bootstrap circuit The output terminal of the bootstrap circuit The first switch control signal SW output Follows the analog input signal VIN changes, if the bootstrap circuit is not considered According to the charge conservation law, the first switch control signal SW The value is always greater than the analog input signal VIN One power supply voltage higher than VDD, that is, SW =WINE +VDD.
[0120] Since the MOS switch M1 When in the on state, its on resistance Ron is:
[0121]
[0122] Where μ is the carrier mobility in the MOS tube conduction channel in the MOS switch (when the NMOS tube is turned on, the carrier is an electron with a mobility of μ n When the PMOS tube is turned on, the carrier is a hole and the mobility is μ p ), Cox is the capacitance density of the gate oxide layer, W and L are the gate width and gate length of the MOS tube respectively, and Vgs is the gate-source voltage.
[0123] Since in this embodiment, the bootstrap circuit Make MOS switch M1 The gate voltage SW =WINE +VDD, higher than its source voltage VIN Higher than the power supply voltage VDD, so its gate-source voltage Vgs = SW -WINE =VDD, so the above formula is simplified to:
[0124]
[0125] According to the threshold voltage Vth formula of the MOS switch as above:
[0126]
[0127] When channel i is selected and during the ADC sampling phase, the output CH_A of the decoding circuit 100a is selected. =1,CH_B = 0, the output of the non-overlapping clock circuit 110 PHS = 1 and PHC = 0, SW =1,SW_C =0,M2 With M3 Both are in the closed state, SW Controlling Switch1 On, VB =WINE , due to the MOS switch M1 The source voltage VS =WINE , thus realizing VBS=VB in the above formula -VS =0, achieving the purpose of eliminating the bias effect, that is, Vth = Vth0 in the above formula. Because the bias effect is eliminated, the switch of channel i The on-resistance Ron formula can be further simplified as:
[0128]
[0129] It can be seen that the MOS switch of channel i Only when it is selected and during the ADC sampling phase (PHS=1 and PHC=0) will it be turned on (i.e., turned on), and the switch in the selected channel i During the ADC sampling phase, the on-resistance Ron is proportional to the input signal VIN. It does not matter, it is a constant value, and the linearity of channel i is greatly improved. In addition, the switch of channel i The rest of the states are in the closed state (also known as the cut-off or shut-off state), which can avoid leakage and save power consumption.
[0130] It should be understood that the bootstrap circuit in this embodiment <m:1>Any suitable circuit design in the art may be used to implement this.
[0131] As an example, see Fig. 8A A bootstrap circuit that can be used in this embodiment includes 9 MOS tubes Q1 to Q9, an inverter INV0, a bootstrap capacitor CB, and CLK is a clock control signal CLK <m:1>The clock control signal input to the bootstrap circuit is VIN <m:1>The analog input signal input to the bootstrap circuit is BS_OUT, which is the output terminal of the bootstrap circuit, and outputs the corresponding first switch control signal SW. VDD is the power supply voltage (i.e., high level), and VSS is the ground (i.e., low level). The specific circuit connection relationship is as follows: CLK is connected to the gate of Q1, the gate of Q2, and the input terminal of the inverter INV0. The drain of Q1, the drain of Q2, the gate of Q5, and the drain of Q6 are all connected to the node N2. The power supply voltage VDD is connected to the source and substrate of Q1, the drain of Q4, and the gate of Q7; the source and substrate of Q4, the source and substrate of Q5, and the top plate (also called the upper plate) of the bootstrap capacitor CB are all connected to the node N4. The gate of Q4 is connected to the drain of Q5, the gate of Q6, the drain of Q7, and the gate of Q8. The electrodes are connected to form the output terminal BS_OUT of the bootstrap circuit and are used to output the first switch control signal SW, the source of Q7 and the drain of Q9 are connected to the node N1, the gate of Q9 and the gate of Q3 are both connected to the output terminal of the inverter INV0 to access the inverted signal CLKN of CLK, the drain of Q3, the source of Q2, the source of Q6, the drain of Q8 and the bottom plate (also called the lower plate) of the bootstrap capacitor CB are all connected to the node N3, the source of Q8 is connected to the analog input signal VIN; the source of Q3 and the source of Q9 are both grounded VSS.
[0132] When the clock control signal CLK is at a low level, the output CLKN of the inverter INV0 is at a high level, Q3 and Q9 are turned on, so that the node N1 and the node N3 are pulled to a low level, CLK turns on Q1 and turns off Q2, and the node N2 is pulled to a high level, so that Q5 is turned off. The conduction of Q7 and Q9 causes the SW output at the BS_OUT terminal to be pulled to a low level, so that Q4 is turned on and Q6 and Q8 are turned off, and the power supply VDD charges the bootstrap capacitor CB to VDD.
[0133] When the clock control signal CLK is at a high level, the output CLKN of the inverter INV0 is at a low level, Q3 and Q9 are turned off, CLK turns off Q1 and turns on Q2, and node N2 is pulled down to the voltage of node N3, so that Q5 is turned on, and the bootstrap capacitor CB starts to charge the BS_OUT terminal through the gates of Q6 and Q8, so that Q6 and Q8 are turned on. The turned-on Q8 pulls the voltage of node N3 to the size of VIN, and Q6 pulls the voltage of node N2 to VIN. Due to the conservation of charge, the voltage of node N4 follows node N3 and changes to VIN+VDD. During this process, Q5 remains turned on, so that the size of SW outputted by the output terminal BS_OUT of the bootstrap circuit is VIN+VDD. It should be pointed out that when the load capacitance at the output BS_OUT and the parasitic capacitance of the top plate of the bootstrap capacitor CB are not considered, the SW size of the output terminal BS_OUT is VIN+VDD. In actual situations, the SW size of the output terminal BS_OUT will be smaller than VIN+VDD (depending on the relationship between the load capacitance, parasitic capacitance and bootstrap capacitance).
[0134] As another example, see Figure 8B Another bootstrap circuit that can be used in this embodiment includes 10 MOS tubes Q1-Q10, an inverter INV0, a bootstrap capacitor CB, and CLK is a clock control signal CLK <m:1>The clock control signal input to the bootstrap circuit is VIN <m:1>The analog input signal input to the bootstrap circuit, BS_OUT is the output terminal of the bootstrap circuit, which outputs the corresponding first switch control signal SW, VDD is the power supply voltage (i.e. high level), and VSS is ground (i.e. low level). The specific connection relationship inside the bootstrap circuit is as follows: CLK is connected to the input terminal of the inverter INV0, the drain of Q1 is connected to the drain of Q2, the gate of Q5 and the drain of Q6 are all connected to the node N2, the power supply voltage VDD is connected to the source and substrate of Q1, the drain of Q4, the gate of Q7 and the source and substrate of Q10; the source and substrate of Q4, the source and substrate of Q5 and the top plate (also called the upper plate) of the bootstrap capacitor CB are all connected to the node N4, the gate of Q4 is connected to the drain of Q5, the gate of Q6, the drain of Q7 and the gate of Q8, forming the output of the bootstrap circuit. Terminal BS_OUT is used to output the first switch control signal SW, the gate of Q9, the gate of Q2, the source of Q7, the drain of Q9 and the drain of Q10 are all connected to the node N1, the gate of Q10, the gate of Q9 and the gate of Q3 are all connected to the output end of the inverter INV0 to access the inverted signal CLKN of CLK, the drain of Q3, the source of Q2, the source of Q6, the drain of Q8 and the bottom plate (also called the lower plate) of the bootstrap capacitor CB are all connected to the node N3, the source of Q8 is connected to the analog input signal VIN; the source of Q3 and the source of Q9 are both grounded VSS.
[0135] When the clock signal CLK is at a low level, the output CLKN of the inverter INV0 is at a high level, Q3 and Q9 are turned on and Q10 is turned off, so that the node N1 and the node N3 are pulled to a low level, the node N1 makes Q1 turned on and Q2 turned off, the node N2 is pulled to a high level, so that Q5 is turned off, the conduction of Q7 and Q9 makes the SW outputted by the output terminal BS_OUT be pulled to a low level, so that Q4 is turned on and Q6 and Q8 are turned off, and the power supply VDD charges the bootstrap capacitor CB to VDD.
[0136] When the clock signal CLK is at a high level, the output CLKN of the inverter INV0 is at a low level, Q3 and Q9 are turned off and Q10 is turned on, so that the node N1 is pulled to a high level, so that Q1 is turned off and Q2 is turned on, and the node N2 is pulled down to the voltage of the node N3, so that Q5 is turned on, and the bootstrap capacitor CB starts to charge the output terminal BS_OUT through the gates of Q6 and Q8, so that Q6 and Q8 are turned on, and the turned-on Q8 pulls the voltage of the node N3 to the level of VIN, and Q6 pulls the voltage of the node N2 to VIN. Due to the conservation of charge, the voltage of the node N4 follows the node N3 and changes to VIN+VDD. In this process, Q5 is always turned on, so that the SW output of the output terminal BS_OUT of the bootstrap circuit is VIN+VDD. It should be pointed out that when the load capacitance of the output terminal BS_OUT and the parasitic capacitance of the top plate of the bootstrap capacitor CB are not considered, the SW size of the output terminal BS_OUT is VIN+VDD. In actual situations, the SW size of the output terminal BS_OUT will be smaller than VIN+VDD (depending on the relationship between the load capacitance, parasitic capacitance and bootstrap capacitance).
[0137] The working principle of the channel selection circuit 10 of this embodiment is as follows:
[0138] When channel i is not selected, according to the characteristics of the selection decoding circuit 100a, its output CH_A =0 and CH_B =1, and regardless of whether the ADC is sampled or not, according to the characteristics of the switch control circuit 100, the bootstrap circuit and the substrate potential control circuit 101, it can be obtained that CLK =0,SW =0,SW_C = 0. Then Switch1 in the substrate potential control circuit 101 With M2 are all closed. Fig. 7A In the embodiment, CH_B =1 control M3 The gate of the MOS switch channel circuit 102 is turned on, and M1 The substrate voltage VB Pull to ground VSS. And M1 Vgs = 0, M1 is closed. Figure 7B In the embodiment, CH_B =1 control M4 Gate SW_D =1, M1 The substrate voltage VB Pull to ground VSS.
[0139] When channel i is selected, the output of the decoding circuit 100a is CH_A. =1 and CH_B =0. Further, when the ADC sampling phase is at a low level (ADC_SAMP=0), the output of the non-overlapping clock circuit 110 PHS=0 and PHC=1. According to the characteristics of the switch control circuit 100, the bootstrap circuit and the substrate potential control circuit 101, it can be obtained that CLK =0,SW =0,SW_C =1. Fig. 7A In the embodiment, Switch1 With M3 All are in the closed state. SW_C Controlling M3 The gate of M3 Open and turn M1 The substrate voltage VB Pull to ground VSS. And M1 Vgs = 0, M1 In closed state.
[0140] When channel i is selected, the output of the decoding circuit 100a is CH_A. =1 and CH_B =0. Further, when the ADC sampling phase is high (ADC_SAMP=1), the output of the non-overlapping clock circuit 110 PHS=1 and PHC=0. According to the characteristics of the switch control circuit 100, the bootstrap circuit and the substrate potential control circuit 101, it can be obtained that CLK =1,SW =1,SW_C = 0. Fig. 7A In the embodiment, M2 With M3 All are in the off state. CLK of channel i =1, corresponding to the bootstrap switch The output SW =VDD+VIN ,SW Controlling Switch1 The gate of Switch1 Open, VB =WINE , eliminating the MOS switch M1 in the MOS switch channel circuit 102 The bias effect of NMOS switch M1 Vth = Vth0. In addition, SW It also controls the NMOS switch M1 of the channel The gate of the SW -WINE = VDD, NMOS switch M1 of the channel In the open state, and as can be seen from the above analysis, because the bias effect is eliminated, the NMOS switch M1 of the channel The on-resistance Ron is proportional to the input signal VIN It doesn't matter.
[0141] In summary, the channel selection circuit of this embodiment skillfully combines the bootstrapped switch, deep N-well process technology, sampling phase PHS and conversion phase PHC in ADC, and can also make the NMOS switch in the selected channel only need to be turned on during the ADC sampling period, and does not need to be turned on at other times. In addition, the on-resistance of the selected channel remains constant during the period when its NMOS switch is turned on. This can greatly improve the linearity index of the channel selection circuit and has great advantages under high-precision ADC and low power supply voltage.
[0142] In order to better illustrate the advantages of the technical solution of this embodiment, in a certain FAB 40nm process, using a 25OD33 MOS tube, according to this embodiment and Figure 2 The existing scheme shown in the figure designs two channel selection circuits respectively, and performs PVT (Process, Voltage, Temperature) process corner simulation on the two channel selection circuits. The analog input signal corresponding to the selected channel is a full-swing sine wave signal, the peak-to-peak value Vpp is VDD, and fin = 146kHz. The on-resistance of the two channel selection circuits is compared in the time domain, as follows:
[0143] Fig. 9 The on-resistance of the prior art solution changes with the number of sampling times when VDD = 3.3V. Fig.10 The on-resistance of this embodiment varies with the number of sampling times when VDD = 3.3V. Figures 9 and 10 The relevant information in Fig.13 As shown in the table. Compare Figure 5 and Figure 6 Combined with Fig.13 It can be clearly seen from the related signals in that when VDD=3.3V, the on-resistance of the prior art solution changes greatly with the change of sampling times (i.e., with the change of analog input signal VIN), and the maximum value-minimum value (RON_max-RON_min) of the on-resistance under some process corners (SNFP 125) is close to twice the minimum value. However, the on-resistance in this embodiment changes very little with the change of sampling times, less than 1Ω, and is basically a constant value.
[0144] Fig.11 The on-resistance of the prior art solution changes with the number of sampling times when VDD = 1.8V. Fig.12 The on-resistance of this embodiment varies with the number of sampling times when VDD = 1.8V. Figures 9 and 10 The relevant information in Fig.13 As shown in the table. Compare Figure 7 and Figure 8 and combine Fig.13 From the relevant signals in FIG. 1 , it can be clearly seen that when VDD=1.8V, the on-resistance of the prior art solution changes greatly with the change of sampling times, and the conductivity is very poor in some corners. However, the on-resistance of the present embodiment still changes very little with the change of sampling times, and the maximum change is about 2Ω, which is basically a constant value.
[0145] When the power supply voltage VDD is further reduced (such as VDD = 1.62V), the on-resistance of the prior art solution deteriorates further, and even fails to conduct, while the present proposal still maintains excellent performance. In addition, due to the technical solution of this embodiment, its on-resistance is basically constant and has excellent linearity indicators, so it can greatly improve harmonic distortion and meet the design requirements of high-precision (such as 16-bit resolution, or even higher) ADC.
[0146] Based on the same invention concept, please refer to Figure 6 This embodiment also provides an analog-to-digital converter ADC, which includes an analog-to-digital conversion circuit 11 and a channel selection circuit 10 as described in this embodiment, wherein the channel selection circuit 10 is coupled to m analog input signals VIN <m:1>And used to receive m analog input signals VIN at the same time <m:1>One of the channels is selected and output to the input end of the analog-to-digital conversion circuit 11. The analog-to-digital conversion circuit 11 is used to convert the analog input signal selected by the channel selection circuit 10 into a digital signal Dout. <n-1:0>.
[0147] Based on the same inventive concept, this embodiment further provides a system on chip, which includes the analog-to-digital converter as described in this embodiment.
[0148] Third embodiment
[0149] Please refer to Fig.14 The present embodiment provides a channel selection circuit 10 and an analog-to-digital converter (ADC). The analog-to-digital converter comprises the channel selection circuit 10 and an analog-to-digital conversion circuit 11. The channel selection circuit 10 serves as a pre-stage circuit of the analog-to-digital conversion circuit 11. The signal input terminal is coupled to m analog input signals VIN. <m:1>The signal output terminal is coupled to the input terminal of the analog-to-digital conversion circuit 11, and the channel selection circuit 10 receives m analog input signals VIN at the same time. <m:1>The analog-to-digital conversion circuit 11 is used to select an analog input signal (i.e., ADC_Input) selected by the channel selection circuit 10 and output it to the input end of the analog-to-digital conversion circuit 11. The analog-to-digital conversion circuit 11 is used to convert the analog input signal (i.e., ADC_Input) selected by the channel selection circuit 10 into a digital signal Dout. <n-1:0>In the technical solution of this embodiment, the channel selection circuit 10 also includes a switch control circuit 100 , a substrate potential control circuit 101 and a MOS switch channel circuit 102 .
[0150] In this embodiment, the switch control circuit 100 includes a selection decoding circuit 100a and a switch enabling circuit 100b, and the selection decoding circuit 100a processes the k-bit pass channel selection signal SEL <k:1>Decode and analyze to generate m pairs of complementary first control signals CH_A <m:1>and the second control signal CH_B <m:1>.
[0151] The most important difference between the channel selection circuit 10 of this embodiment and the channel selection circuit 10 of the first embodiment is that the MOS switch channel circuit 102 in the channel selection circuit 10 of this embodiment uses m CMOS switches. <m:1>Construct m channels, and the CMOS switch in each channel is formed by a parallel NMOS switch M1 and a PMOS switch M0, that is, m CMOS switches <m:1>Contains m NMOS switches M1 <m:1>and m PMOS switches M0 <m:1>; The switch enabling circuit 100 in the switch control circuit 100 is based on the first control signal CH_A <m:1>and PHS generate a pair of mutually inverted switch control signals SW_N <m:1>and SW_P <m:1>, where SW_N <m:1>It is used to control CMOS switches <m:1>NMOS switch M1 in <m:1>The first switch control signal of the gate, SW_P <m:1>It is used to control CMOS switches <m:1>The PMOS switch M0 in <m:1>The substrate potential control circuit 101 is based on VIN <m:1>、SW_N <m:1>、SW_P <m:1>、CH_A <m:1>、CH_B <m:1>and PHC is used to control M1 <m:1>The substrate voltage VB_N <m:1>And for controlling M0 <m:1>The substrate voltage VB_P <m:1>.
[0152] It should be understood that the substrate potential control circuit 101 and the switch enabling circuit 100 b of this embodiment may adopt any appropriate circuit design.
[0153] As an example, see Fig.15 The switch enabling circuit 100b of this embodiment includes a first AND logic circuit AND1 <m:1>and inverter INV1 <m:1>, where the first AND logic circuit AND1 <m:1>Receive CH_A <m:1>and PHS, and outputs a first switch control signal SW_N <m:1>, the SW_N <m:1>Compared with the SW in the above two embodiments <m:1>Equivalent. Inverter INV1 <m:1>That is, there are m inverters, whose input terminals are coupled to the first AND logic circuit AND1 one by one. <m:1>The output of the first AND gate receives SW_N <m:1>, and output SW_N <m:1>The inverted signal SW_P <m:1>.
[0154] As an example, see Fig.16A The substrate potential control circuit 101 includes a second AND logic circuit AND2 <m:1>、Inverter INV2 <m:1>, first switch circuit Switch1 <m:1>, the second switch circuit M2 <m:1>, the third switch circuit M3 <m:1>, the fifth switch circuit M5 <m:1>, the sixth switch circuit M6 <m:1>, Ninth switch circuit Switch2 <m:1>.
[0155] Among them, the second AND logic circuit AND2 <m:1>Receive CH_A <m:1>and PHC, and outputs a second switch control signal SW_C <m:1>Inverter INV2 <m:1>That is, there are m inverters, whose input terminals are coupled to the second AND logic circuit AND2 one by one. <m:1>The output of the second AND gate receives SW_C <m:1>, and output SW_C <m:1>The inverted signal SW_C1 <m:1>.
[0156] The first switch circuit Switch1 <m:1>The control terminal is coupled to SW_N <m:1>, the input terminal is coupled to the analog input signal VIN <m:1>, the output end is coupled to the second switch circuit M2 <m:1>The output end of the third switch circuit M3 <m:1>The output terminal is used to output VB_N <m:1>To NMOS switch M1 <m:1>The substrate of the second switch circuit M2 <m:1>The input terminal (eg, source) and the third switch circuit M3 <m:1>The input terminals of the second switch circuit M2 are both grounded to VSS. <m:1>The control terminal is coupled to SW_C <m:1>, the third switch circuit M3 <m:1>The control terminal is coupled to CH_B <m:1>Therefore, the first switch circuit Switch1 <m:1>, the second switch circuit M2 <m:1>, the third switch circuit M3 <m:1>Composition controls the NMOS switch M1 in the CMOS switch <m:1>The substrate potential control branch of the substrate voltage has the following function: when and only when a channel i in the MOS switch channel circuit 102 is selected (ie, CH_A =1,CH_B =0) and is in the sampling phase (i.e. PHS=1 and PHC=0), M1 is controlled The substrate voltage VB_N Connect to the corresponding analog input signal VIN In other cases, M1 is controlled The substrate voltage is connected to the ground VSS. Its working principle is similar to Figure 5A and Fig. 7A The same is not repeated here.
[0157] Similarly, the ninth switch circuit Switch2 <m:1>The control terminal is coupled to SW_P <m:1>, the input terminal is coupled to the analog input signal VIN <m:1>The output end is coupled to the fifth switch circuit M5 <m:1>The output end of the sixth switch circuit M6 <m:1>The output terminal of the VB_P <m:1>To PMOS switch M0 <m:1>The substrate of the fifth switch circuit M5 <m:1>The input terminal (eg, source) and the sixth switch circuit M6 <m:1>The input terminals of the fifth switch circuit M5 are connected to VDD. <m:1>The control terminal is coupled to SW_C1 <m:1>, the sixth switch circuit M6 <m:1>The control terminal is coupled to CH_A <m:1>Therefore, the ninth switch circuit Switch2 <m:1>, the fifth switch circuit M5 <m:1>, the sixth switch circuit M6 <m:1>Composition controls the PMOS switch M0 in the CMOS switch <m:1>The substrate potential control branch of the substrate voltage has the following function: when and only when a certain channel i in the MOS switch channel circuit 102 is selected (ie, CH_A =1,CH_B =0) and in the sampling phase (i.e. PHS=1 and PHC=0), M0 is controlled The substrate voltage VB_P Connect to the corresponding analog input signal VIN In other cases, M0 is controlled The substrate voltage is connected to VDD.
[0158] As another example, see Fig. 16B The substrate potential control circuit 101 includes a second AND logic circuit AND2 <m:1>, OR logic circuit OR <m:1>、Inverter INV3 <m:1>, first switch circuit Switch1 <m:1>, seventh switch circuit M7 <m:1>, the eighth switch circuit M8 <m:1>, Ninth switch circuit Switch2 <m:1>.
[0159] Among them, the second AND logic circuit AND2 <m:1>Receive CH_A <m:1>and PHC, and outputs a second switch control signal SW_C <m:1>OR logic circuit <m:1>Receive SW_C <m:1>and CH_B <m:1>, and outputs the third switch control signal SW_D <m:1>Inverter INV3 <m:1>That is, there are m inverters, whose input terminals are coupled to the OR logic circuit OR one by one <m:1>The output of the OR gate receives SW_D <m:1>, and output SW_D <m:1>The inverted signal SW_D1 <m:1>.
[0160] The first switch circuit Switch1 <m:1>The control terminal is coupled to SW_N <m:1>, the input terminal is coupled to the analog input signal VIN <m:1>The output end is coupled to the seventh switch circuit M7 <m:1>The output terminal is used to output VB_N <m:1>To the NMOS switch M1 in the CMOS switch <m:1>The seventh switch circuit M7 <m:1>The input end (eg, source) of the seventh switch circuit M7 is grounded to VSS. <m:1>The control terminal is coupled to SW_D <m:1>Therefore, the first switch circuit Switch1 <m:1>and the seventh switch circuit M7 <m:1>Composition controls the NMOS switch M1 in the CMOS switch <m:1>The substrate potential control branch of the substrate voltage has the following function: when and only when a certain channel i in the MOS switch channel circuit 102 is selected (ie, CH_A =1,CH_B =0) and is in the sampling phase (i.e. PHS=1 and PHC=0), M1 is controlled The substrate voltage VB_N Connect to the corresponding analog input signal VIN In other cases, M1 is controlled The substrate voltage is connected to the ground VSS. Its working principle is similar to Figure 5B and Figure 7B The same is not repeated here.
[0161] Similarly, the ninth switch circuit Switch2 <m:1>The control terminal is coupled to SW_P <m:1>, the input terminal is coupled to the analog input signal VIN <m:1>The output end is coupled to the eighth switch circuit M8 <m:1>The output terminal of the VB_P <m:1>To the PMOS switch M0 in the CMOS switch <m:1>The eighth switch circuit M8 <m:1>The input terminal (eg, source) of the eighth switch circuit M8 is connected to VDD. <m:1>The control terminal is coupled to SW_D1 <m:1>Therefore, the ninth switch circuit Switch2 <m:1>and the eighth switch circuit M8 <m:1>Composition controls the PMOS switch M0 in the CMOS switch <m:1>The substrate potential control branch of the substrate voltage has the following function: when and only when a channel i in the MOS switch channel circuit 102 is selected (ie, CH_A =1,CH_B =0) and in the sampling phase (i.e. PHS=1 and PHC=0), M0 is controlled The substrate voltage VB_P Connect to the corresponding analog input signal VIN In other cases, M0 is controlled The substrate voltage is connected to VDD.
[0162] In addition, it should be understood that the CMOS switch of this embodiment can be implemented based on a P-type substrate process, that is, the switch formed by manufacturing the entire chip on a P-type substrate. In a further embodiment, a deep N-well DNW process technology can be used for manufacturing. The deep N-well DNW is an N-well located under the MOS tube and on the P-type substrate. When combined with a common N-well, the substrate of the NMOS above the DNW can be separated from the P-type substrate of the entire chip. Therefore, the NMOS tube M1 using the DNW is , its substrate voltage VB_N can be independently controlled. And because the PMOS tube M0 It can be made in an independent N well, so the PMOS tube M0 The substrate voltage VB_P can also be controlled independently.
[0163] It should also be noted that, in this embodiment, the MOS switch (i.e., switch <1> ~Switch <m>)When using CMOS switches, due to the input VIN The swing is from 0 to VDD, the first switch circuit Switch1 <m:1>And the ninth switch circuit Switch2 <m:1>They can also be implemented with CMOS switches.
[0164] In summary, the channel selection circuit 10 of this embodiment is the same as the channel selection circuit 10 of the first embodiment, except that the channel selection signal SEL <k:1>The selected channel i, and during the ADC sampling period (PHS = 1 and PHC = 0), the corresponding CMOS switch (PMOS tube M0 and NMOS tube M1 ) will be turned on. In other cases, the CMOS switch (PMOS tube M0 With NMOS tube M1 ) is in the off state. Furthermore, the PMOS tube M0 of the CMOS switch in the on state Substrate VB_P and NMOS tube M1 Substrate VB_N Connect the corresponding input VIN , to eliminate M0 With M1 The PMOS tube M0 of the CMOS switch in the off state Substrate VB_P Connect to power supply voltage VDD, NMOS tube M1 Substrate VB_N Ground VSS.
[0165] When channel i is selected and the ADC sampling phase is high (ADC_SAMP=1), the decoding circuit 100a is selected to output CH_A =1 and CH_B =0, the output of the non-overlapping clock circuit 110 PHS=1 and PHC=0. =1 and PHS=1, the switch control circuit 100 outputs SW_N =1 and SW_P =0, the PMOS switch M0 in the CMOS switch corresponding to channel i and NMOS switch M1 All are in open state.
[0166] Because SW_N =1、SW_P =0、CH_A =1、CH_B =0 and PHC=0, the output VB_N of the substrate potential control circuit 101 and VB_P NMOS tube M1 The substrate and PMOS tube M0 The substrate is connected to the input VIN corresponding to channel i , eliminating M0 With M1 The bias effect of NMOS switch M1 Vthn = Vthn0, PMOS switch M0 Vthp=Vthp0.
[0167] Thus, the CMOS switch (M0) in the open state With M1 ), whose on-resistance Ron is the NMOS switch M1 The on-resistance of the PMOS switch M0 The on-resistance of is connected in parallel as follows:
[0168]
[0169] It can be seen that theoretically When , the on-resistance Ron of the CMOS switch has nothing to do with the input signal VIN. At this time, the on-resistance Ron of the CMOS switch is constant and the linearity is the best.
[0170] The channel selection circuit of this embodiment can also make the CMOS switch in the selected channel only need to be opened during the ADC sampling period, and need not be opened at other times. During the period when the CMOS switch of the selected channel is turned on, the substrate voltage of the CMOS switch is set to the voltage of the analog input signal coupled to the channel, eliminating the substrate bias effect of the CMOS switch, and the on-resistance maintains a constant value, which can greatly improve the linearity index of the channel selection circuit and has great advantages under high-precision ADC and low power supply voltage.
[0171] Based on the same invention concept, please refer to Fig.14 This embodiment also provides an analog-to-digital converter ADC, which includes an analog-to-digital conversion circuit 11 and a channel selection circuit 10 as described in this embodiment, wherein the channel selection circuit 10 is coupled to m analog input signals VIN <m:1>And used to receive m analog input signals VIN at the same time <m:1>One of the channels is selected and output to the input end of the analog-to-digital conversion circuit 11. The analog-to-digital conversion circuit 11 is used to convert the analog input signal selected by the channel selection circuit 10 into a digital signal Dout. <n-1:0>.
[0172] Based on the same invention concept, please refer to Fig.14 , this embodiment also provides a system on chip, which includes the analog-to-digital converter as described in this embodiment.
[0173] The above description is only a description of the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any changes or modifications made by a person skilled in the art in the field of the present invention based on the above disclosure shall fall within the scope of protection of the technical solution of the present invention. < / m> < / m> < / m> < / m> < / m> < / m> < / m> < / m> < / m> < / m> < / m> < / m> < / m:1> < / m> < / m:1> < / m:1> < / m> < / m> < / m> < / m> < / m> < / m> < / m> < / m> < / m> < / m> < / m> < / m> < / m> < / m>
Claims
1. A channel selection circuit, characterized in that: As the front stage circuit of the analog-to-digital conversion circuit, it includes: a switch control circuit, configured to generate a first switch control signal according to a channel selection signal during a sampling phase of the analog-to-digital conversion circuit; A MOS switch channel circuit, wherein the input end is coupled to m analog input signals, and the output end is coupled to the input end of the analog-to-digital conversion circuit, the MOS switch channel circuit has m channels, each channel has a corresponding MOS switch, and the gate of each MOS switch is coupled to the corresponding first switch control signal; A substrate potential control circuit, having an input end coupled to the m analog input signals and the first switch control signal, and an output end coupled to the substrate of the corresponding MOS switch in the MOS switch channel circuit, wherein the substrate potential control circuit is used to set the voltage of the substrate of the corresponding MOS switch in the selected channel to the voltage of the analog input signal coupled to the channel during the sampling phase of the analog-to-digital conversion circuit.
2. The channel selection circuit according to claim 1, characterized in that: The MOS switch of each channel is a CMOS switch or an NMOS switch formed by a deep N-well process.
3. The channel selection circuit according to claim 2, characterized in that: The substrate potential control circuit is also used for: During the conversion phase of the analog-to-digital conversion circuit and the sampling phase, the voltage of the substrate of the corresponding NMOS switch in the unselected channel is pulled to ground; or, During the conversion phase and the sampling phase of the analog-to-digital conversion circuit, the substrate voltage of the NMOS switch in the corresponding CMOS switch in the unselected channel is pulled to the ground, and the substrate voltage of the PMOS switch in the corresponding CMOS switch is pulled to the power supply voltage.
4. The channel selection circuit according to claim 2, characterized in that: The substrate potential control circuit is also used for: During the sampling phase of the analog-to-digital conversion circuit, the substrate voltage of the corresponding NMOS switch in the selected channel is connected to the analog input signal coupled to the selected channel, and during the conversion phase of the analog-to-digital conversion circuit, the substrate voltage of the corresponding NMOS switch in the selected channel is pulled to ground; or, During the sampling phase of the analog-to-digital conversion circuit, the substrate voltages of the NMOS switch and the PMOS switch of the corresponding CMOS switch in the selected channel are connected to the analog input signal coupled to the selected channel. During the conversion phase of the analog-to-digital conversion circuit, the substrate voltage of the NMOS switch of the corresponding CMOS switch in the selected channel is pulled to the ground, and the substrate voltage of the PMOS switch in the corresponding CMOS switch is pulled to the power supply voltage.
5. The channel selection circuit according to any one of claims 1 to 4, characterized in that: The switch control circuit further includes: A selection decoding circuit, an input end of which is coupled to the k-bit channel selection signal, and generates complementary m first control signals and m second control signals according to the channel selection signal; A switch enabling circuit has a first input terminal coupled to the output terminal of the selection decoding circuit, a second input terminal coupled to the sampling phase signal of the analog-to-digital conversion circuit, and is used to generate m first switch control signals to the substrate potential control circuit according to the m first control signals and the sampling phase signal.
6. The channel selection circuit according to claim 5, characterized in that: The switch enabling circuit includes a first AND logic circuit, and the first AND logic circuit performs an AND logic operation on the m first control signals and the sampling phase signal to output the m first switch control signals.
7. The channel selection circuit according to claim 5, characterized in that: The switch enabling circuit includes a third AND logic circuit and a bootstrap circuit; the third AND logic circuit performs AND logic operations on the m first control signals and the sampling phase signals to output m clock control signals; A first input terminal of the bootstrap circuit is coupled to the m clock control signals, and a second input terminal of the bootstrap circuit is coupled to the m analog input signals to output the m first switch control signals.
8. The channel selection circuit according to claim 5, characterized in that: The substrate potential control circuit comprises: A first switch circuit, having a control end coupled to the m first switch control signals, an input end coupled to the m analog input signals, and an output end serving as an output end of the substrate potential control circuit. Under the control of the first switch control signal, the first switch circuit outputs the m analog input signals as m substrate voltage signals and provides them one-to-one to the substrates of the MOS switches of each channel in the MOS switch channel circuit.
9. The channel selection circuit according to claim 8, characterized in that: The substrate potential control circuit further includes: a second AND logic circuit, wherein the second AND logic circuit performs an AND logic operation on the m first control signals and the conversion phase signal of the analog-to-digital conversion circuit to output m second switch control signals, wherein the conversion phase signal and the sampling phase signal are a pair of two-phase non-overlapping clock signals; a second switch circuit, wherein a control end is coupled to the m second switch control signals, an input end is coupled to a ground or a power supply voltage, and an output end is coupled to an output end of the substrate potential control circuit, and the second switch circuit pulls the voltage of the output end of the substrate potential control circuit to the ground or the power supply voltage under the control of the m second switch control signals; The third switch circuit has a control end coupled to the m second control signals, an input end coupled to the ground or the power supply voltage, and an output end coupled to the output end of the substrate potential control circuit. Under the control of the m second control signals, the third switch circuit pulls the voltage of the output end of the substrate potential control circuit to the ground or the power supply voltage.
10. The channel selection circuit according to claim 9, characterized in that: When the MOS switch is a CMOS switch, the second switch circuit or the third switch circuit pulls the output end of the substrate potential control circuit of the substrate of the NMOS switch coupled to the CMOS switch to the ground, and pulls the output end of the substrate potential control circuit of the substrate of the PMOS switch coupled to the CMOS switch to the power supply voltage; when the MOS switch is an NMOS switch, the second switch circuit or the third switch circuit pulls the output end of the substrate potential control circuit of the substrate coupled to the NMOS switch to the ground.
11. The channel selection circuit according to claim 8, characterized in that: The substrate potential control circuit further includes: a second AND logic circuit, wherein the second AND logic circuit performs an AND logic operation on the m second control signals and the conversion phase signal of the analog-to-digital conversion circuit to output m second switch control signals, wherein the conversion phase signal and the sampling phase signal are a pair of two-phase non-overlapping clock signals; an OR logic circuit, wherein a first input terminal of the OR logic circuit is coupled to the m second control signals, a second input terminal of the OR logic circuit is coupled to the m second switch control signals, and the OR logic circuit is used to perform an OR logic operation on the m second control signals and the m second switch control signals respectively; and A fourth switch circuit, wherein the control end of the fourth switch circuit is coupled to the output end of the OR logic circuit, the input end of the fourth switch circuit is coupled to the ground or the power supply voltage, the output end of the fourth switch circuit is coupled to the output end of the substrate potential control circuit, and the fourth switch circuit is used to pull the voltage of the output end of the substrate potential control circuit to the ground or the power supply voltage under the output control of the OR logic circuit.
12. The channel selection circuit according to claim 11, characterized in that: When the MOS switch is a CMOS switch, the fourth switch circuit pulls the output end of the substrate potential control circuit of the substrate of the NMOS switch coupled to the CMOS switch to the ground, and pulls the output end of the substrate potential control circuit of the substrate of the PMOS switch coupled to the CMOS switch to the power supply voltage; when the MOS switch is an NMOS switch, the fourth switch circuit pulls the output end of the substrate potential control circuit of the substrate coupled to the NMOS switch to the ground.
13. The channel selection circuit according to claim 8, characterized in that: The switch enabling circuit comprises a third AND logic circuit and a bootstrap circuit; the third AND logic circuit performs AND logic operations on the m first control signals and the sampling phase signals to output m clock control signals; The first input terminal of the bootstrap circuit is coupled to the output terminal of the third AND logic circuit to couple the m clock control signals, the second input terminal of the bootstrap circuit is coupled to the m analog input signals, the output terminal of the bootstrap circuit is coupled to the control terminal of the first switch circuit, the power supply terminal of the bootstrap circuit is coupled to the power supply voltage, the ground terminal of the bootstrap circuit is coupled to the ground, and the bootstrap circuit outputs the m first switch control signals under the control of the m clock control signals, and when the clock control signal is at a low level, the first switch control signal is ground, and when the clock control signal is at a high level, the voltage of the first switch control signal is higher than that of the analog input signal by one power supply voltage.
14. The channel selection circuit according to claim 7 or 13, characterized in that: The bootstrap circuit includes a bootstrap capacitor. When the clock control signal is at a low level, the bootstrap circuit is cut off and the first switch control signal output by the bootstrap circuit is ground, the lower plate of the bootstrap capacitor is grounded, and the upper plate is connected to the power supply voltage to be charged; when the clock control signal is at a high level, the bootstrap circuit is turned on, the lower plate of the bootstrap capacitor is connected to the analog input signal, and the upper plate is connected to the output end of the bootstrap circuit, and the bootstrap circuit outputs the first switch control signal that changes with the received analog input signal and is always higher than the power supply voltage.
15. The channel selection circuit according to claim 6, characterized in that: The first AND logic circuit includes m first AND gates corresponding one-to-one to the m channels.
16. The channel selection circuit according to claim 9 or 11, characterized in that: The second AND logic circuit includes m second AND gates corresponding one-to-one to the m channels, and the second switch circuit, the third switch circuit or the fourth switch circuit includes m MOS switches respectively.
17. The channel selection circuit according to claim 5, characterized in that: The analog-to-digital conversion circuit includes a non-overlapping clock circuit, which generates the sampling phase signal and the conversion phase signal with two non-overlapping phases based on the same clock signal.
18. An analog-to-digital converter, characterized in that: It comprises an analog-to-digital conversion circuit and a channel selection circuit as described in any one of claims 1 to 17, wherein the channel selection circuit is coupled to m analog input signals and is used to select one of the m analog input signals at the same time and output it to the input end of the analog-to-digital conversion circuit, and the analog-to-digital conversion circuit is used to convert the analog input signal selected by the channel selection circuit into a digital signal.
19. A system on chip, characterized in that: Comprising an analog-to-digital converter as claimed in claim 18.
Citation Information
Patent Citations
Method for switching main power supply and backup power supply and switching circuit
CN101604867A
Multi-channel selection circuit suitable for high-speed and high-precision analog-to-digital converter
CN105119601A
Low-power positive and negative high voltage to low voltage multichannel selection front-end switching circuit
CN109525231A
Switching circuit, multi-channel sampling control circuit, analog-to-digital conversion circuit and chip
CN216981894U
Semiconductor integrated circuit device including a speed monitor circuit and a substrate bias controller responsive to the speed-monitor circuit
US6466077B1
Cited By
Channel selection circuit, analog-to-digital converter and system-on-chip
EP4462685A1
Channel selection circuit, analog-to-digital converter and system-on-chip
EP4462685B1
