Assembly line analog-to-digital conversion circuit, chip and electronic equipment

By predicting the quantization margin and adjusting the voltage based on historical code values ​​in the pipeline analog-to-digital conversion circuit, the problem of inter-stage amplifier gain error is solved and the analog-to-digital conversion performance is improved.

CN118659785APending Publication Date: 2024-09-17CHIPSEA TECH SHENZHEN CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410819357.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Under advanced process nodes, the gain error of the inter-stage amplifier in the pipeline analog-to-digital converter is difficult to eliminate, affecting the performance of the Pipeline ADC.

Method used

By injecting the first adjustment voltage predicted based on historical code values ​​at the input end of the inter-stage gain module, and injecting the corresponding second adjustment voltage at the output end to offset the first adjustment voltage, thereby eliminating the gain error and achieving high-pass filtering and restoration Quantization margin.

Benefits of technology

It effectively eliminates the gain error of the inter-stage gain module, improves the performance of the pipeline analog-to-digital conversion circuit, and improves the accuracy of the quantization margin and the signal-to-noise ratio.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118659785A
    Figure CN118659785A
Patent Text Reader

Abstract

The embodiment of the invention provides a pipeline analog-to-digital conversion circuit, a chip and electronic equipment, and belongs to the technical field of analog-to-digital conversion. The assembly line analog-digital conversion circuit comprises a first analog-digital conversion module and a second analog-digital conversion module; the interstage gain module is connected between the first analog-to-digital conversion module and the second analog-to-digital conversion module and is used for amplifying the quantization margin of the first analog-to-digital conversion module; the adjusting module is used for outputting a first adjusting voltage and a second adjusting voltage based on one or more historical code values in the current analog-to-digital conversion period, injecting the first adjusting voltage at the input end of the inter-stage gain module, and injecting the second adjusting voltage at the output end of the inter-stage gain module to offset the first adjusting voltage; wherein any historical code value is a code value obtained by performing analog-to-digital conversion on the corresponding quantization margin by the second analog-to-digital conversion module in any analog-to-digital conversion period before the current analog-to-digital conversion period. According to the analog-to-digital conversion circuit, the influence of the gain error of the inter-stage gain module can be eliminated, and the performance of the analog-to-digital conversion circuit is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of analog-to-digital conversion, and in particular to a pipeline analog-to-digital conversion circuit, chip and electronic device. Background Art

[0002] The pipeline analog-to-digital converter (Pipeline ADC) is a multi-stage converter that can include at least two analog-to-digital conversion modules. An interstage amplifier is set between the two analog-to-digital conversion modules. The interstage amplifier amplifies the quantization margin (also called residual voltage) of the first analog-to-digital conversion module and then outputs it to the second analog-to-digital conversion module for further quantization. Pipeline ADC requires an interstage amplifier with precise gain, especially at advanced process nodes, where the power supply voltage is reduced and it is very difficult to achieve a high-gain amplifier. The gain error of the interstage amplifier is not easy to eliminate, which affects the performance of the Pipeline ADC. Summary of the invention

[0003] In view of the above problems, the embodiments of the present application provide a pipeline analog-to-digital conversion circuit, chip and electronic device to solve the above technical problems.

[0004] In a first aspect, an embodiment of the present application provides a pipeline analog-to-digital conversion circuit, comprising: a first analog-to-digital conversion module; a second analog-to-digital conversion module; an inter-stage gain module, connected between the first analog-to-digital conversion module and the second analog-to-digital conversion module, for amplifying the quantization margin of the first analog-to-digital conversion module; an adjustment module, for outputting a first adjustment voltage and a second adjustment voltage based on one or more historical code values ​​in a current analog-to-digital conversion cycle, injecting the first adjustment voltage at the input end of the inter-stage gain module, and injecting the second adjustment voltage at the output end of the inter-stage gain module to offset the first adjustment voltage; wherein any of the one or more historical code values ​​is a code value obtained by analog-to-digital conversion of the corresponding quantization margin by the second analog-to-digital conversion module in the two analog-to-digital conversion stages in any analog-to-digital conversion cycle before the current analog-to-digital conversion cycle. In an embodiment of the present application, an adjustment module predicts the size of a quantization margin of a current analog-to-digital conversion cycle based on one or more historical code values, injects a first adjustment voltage at the input end of an inter-stage gain module to implement high-pass filtering, and injects a second adjustment voltage at the output end of the inter-stage gain module to offset the first adjustment voltage, thereby restoring the quantization margin of the current analog-to-digital conversion cycle, eliminating the influence of a gain error of the inter-stage gain module, and improving the performance of a pipeline analog-to-digital conversion circuit.

[0005] In a second aspect, an embodiment of the present application further provides a chip comprising the above-mentioned pipeline analog-to-digital conversion circuit.

[0006] In a third aspect, an embodiment of the present application further provides an electronic device, comprising the above-mentioned chip or pipeline analog-to-digital conversion circuit.

[0007] The pipeline analog-to-digital conversion circuit, chip and electronic device provided in the embodiments of the present application predict the size of the quantization margin of the current analog-to-digital conversion cycle based on one or more historical code values, inject a first adjustment voltage at the input end of the inter-stage gain module to achieve high-pass filtering, and inject a second adjustment voltage at the output end of the inter-stage gain module to offset the first adjustment voltage, thereby restoring the quantization margin of the current analog-to-digital conversion cycle, eliminating the influence of the gain error of the inter-stage gain module, and improving the performance of the pipeline analog-to-digital conversion circuit.

[0008] These and other aspects of the present application will become more clearly understood in the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0010] Figure 1 A schematic diagram of a pipeline analog-to-digital conversion circuit provided in an embodiment of the present application is shown.

[0011] Figure 2 A schematic diagram of another pipeline analog-to-digital conversion circuit provided in an embodiment of the present application is shown.

[0012] Figure 3 A schematic diagram of another pipeline analog-to-digital conversion circuit provided in an embodiment of the present application is shown.

[0013] Figure 4 A schematic diagram of a pipeline analog-to-digital conversion circuit provided in an embodiment of the present application is shown.

[0014] Figure 5 A timing diagram of the pipeline analog-to-digital conversion circuit 400 is shown.

[0015] Figure 6 A schematic diagram of another pipeline analog-to-digital conversion circuit provided in an embodiment of the present application is shown.

[0016] Figure 7 A timing diagram of the pipeline analog-to-digital conversion circuit 600 is shown.

[0017] Figure 8 A circuit diagram of a pipeline analog-to-digital conversion circuit according to an embodiment of the present application is shown.

[0018] Fig. 9 A circuit diagram of another pipeline analog-to-digital conversion circuit according to an embodiment of the present application is shown.

[0019] Fig.10 A circuit diagram of a first injection unit according to an embodiment of the present application is shown.

[0020] Fig.11 A circuit diagram of another first injection unit according to an embodiment of the present application is shown.

[0021] Fig.12 A circuit diagram of a second injection unit according to an embodiment of the present application is shown.

[0022] Fig.13 A flow chart of an analog-to-digital conversion method according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0023] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.

[0024] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.

[0025] In the embodiments of the present application, it should be noted that, in this article, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.

[0026] Moreover, the terms "comprises," "comprising," or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.

[0027] In the description of the embodiments of the present application, words such as "example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "example" or "for example" in the embodiments of the present application is not to be interpreted as being more preferred or having more advantages than another embodiment or design. The use of words such as "example" or "for example" is intended to present relative concepts in a clear manner.

[0028] In addition, the "plurality" in the embodiments of the present application refers to two or more than two. In view of this, in the embodiments of the present application, "plurality" can also be understood as "at least two". "At least one" can be understood as one or more, for example, one, two or more. For example, including at least one means including one, two or more, and there is no limit on which ones are included. For example, including at least one of A, B and C, then A, B, C, A and B, A and C, B and C, or A, B and C can be included.

[0029] It should be noted that, in the embodiments of the present application, "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / ", unless otherwise specified, generally indicates that the associated objects before and after are in an "or" relationship.

[0030] It should be noted that in the embodiments of the present application, "connection" can be understood as electrical connection, and the connection between two electrical components can be a direct or indirect connection between the two electrical components. For example, the connection between A and B can be either a direct connection between A and B or an indirect connection between A and B through one or more other electrical components.

[0031] In the circuit structure provided in the embodiments of the present application, the first node, the second node and other nodes do not represent actual existing components, but represent the junction points of related couplings in the circuit diagram, that is, these nodes are nodes formed by the equivalent junction points of related couplings in the circuit diagram.

[0032] An embodiment of the present application provides a pipeline analog-to-digital conversion circuit.

[0033] Figure 1 A schematic diagram of a pipeline analog-to-digital conversion circuit provided in an embodiment of the present application is shown. Figure 1 As shown, the pipeline analog-to-digital conversion circuit 100 may include at least a first analog-to-digital conversion module 110 - 1 and a second analog-to-digital conversion module 110 - 2 , an inter-stage gain module 120 connected between the first analog-to-digital conversion module 110 - 1 and the second analog-to-digital conversion module 110 - 2 , and an adjustment module 130 .

[0034] like Figure 1As shown, the first analog-to-digital conversion module 110-1 performs analog-to-digital conversion on its input signal and outputs a first code value D fir The inter-stage gain module 120 amplifies the quantization residual of the first analog-to-digital conversion module 110-1, and the second analog-to-digital conversion module 110-2 performs analog-to-digital conversion on the amplified quantization residual and outputs a second code value D sce The adjustment module 130 outputs a first adjustment voltage V1 and a second adjustment voltage V2 based on one or more historical code values ​​in the current analog-to-digital conversion cycle, injects the first adjustment voltage V1 into the input end of the interstage gain module 120, and injects the second adjustment voltage V2 into the output end of the interstage gain module 120 to offset the first adjustment voltage V1. Any of the one or more historical code values ​​is a second code value obtained by the second analog-to-digital conversion module 110-2 performing analog-to-digital conversion on the corresponding quantization residual in any analog-to-digital conversion cycle before the current analog-to-digital conversion cycle.

[0035] In some embodiments, the pipeline analog-to-digital conversion circuit 100 may include a traditional pipeline analog-to-digital conversion circuit. Exemplarily, the first analog-to-digital conversion module 110-1 and the second analog-to-digital conversion module 110-2 may include a fully parallel (flash) analog-to-digital conversion unit, a digital-to-analog conversion unit and a subtraction unit. The flash analog-to-digital conversion unit performs analog-to-digital conversion on the input of this stage and outputs the code value of this stage. The digital-to-analog conversion unit performs digital-to-analog conversion on the code value of this stage. The subtraction unit performs a subtraction operation on the input of this stage and the result of the digital-to-analog conversion and outputs a quantization residue.

[0036] In some embodiments, the pipeline analog-to-digital conversion circuit 100 may include a hybrid structure analog-to-digital conversion circuit, such as a successive approximation pipeline analog-to-digital conversion circuit (SAR-Pipeline ADC). Exemplarily, the first analog-to-digital conversion module 110-1 and the second analog-to-digital conversion module 110-2 may include a successive approximation analog-to-digital conversion module, which performs analog-to-digital conversion on the input of this stage and outputs the code value and quantization margin of this stage.

[0037] In some embodiments, the interstage gain module 120 may include an amplifier unit and a feedback network, wherein the amplifier unit is used to amplify the quantization margin; and the feedback network is connected between the input and output ends of the amplifier unit. The feedback network may include a feedback capacitor. The adjustment module 130 can eliminate the gain error of the amplifier itself and the gain error introduced by the mismatch of the feedback network.

[0038] In some embodiments, assuming that the ideal gain of the interstage gain module 120 is G, the first adjustment voltage V1 and the second adjustment voltage V2 satisfy the following relationship: V1 = 1 / G*V2. After the first adjustment voltage V1 is amplified by G times by the interstage gain module 120, it is substantially equal to the second adjustment voltage V2, and the second adjustment voltage V2 can offset the first adjustment voltage V1. As an embodiment, the adjustment module 130 can subtract the first adjustment voltage V1 from the input end of the interstage gain module 120, and add the second adjustment voltage V2 to the output end of the interstage gain module 120, that is, the input end of the interstage gain module 120 is the difference between the quantization margin and the first adjustment voltage V1, and the output end of the interstage gain module 120 is the sum of the difference between the amplified quantization margin and the first adjustment voltage V1 and the second adjustment voltage V2.

[0039] In an embodiment of the present application, the size of the code value of the second analog-to-digital conversion module in the current analog-to-digital conversion cycle (that is, the quantization margin of the current analog-to-digital conversion cycle) is predicted based on one or more historical code values, and a first adjustment voltage is injected into the input end of the inter-stage gain module based on the predicted code value to achieve high-pass filtering, and a second adjustment voltage is injected into the output end of the inter-stage gain module to offset the first adjustment voltage, thereby restoring the quantization margin of the current analog-to-digital conversion cycle, which can eliminate the influence of the gain error of the inter-stage gain module and improve the performance of the pipeline analog-to-digital conversion circuit.

[0040] In some embodiments, the adjustment module 130 can inject a first adjustment voltage V1 at the input of the inter-stage gain module 120 based on a historical code value, and inject a second adjustment voltage V2 at the output of the inter-stage gain module 120. This achieves first-order gain error elimination. The adjustment module 130 can be connected to the second analog-to-digital conversion module 110-2 and receive at least part of the digital bits of the historical code value of the second analog-to-digital conversion module 110-2.

[0041] For example, the current analog-to-digital conversion cycle is represented as i, the previous analog-to-digital conversion cycle is represented as i-1, and the code value output by the second analog-to-digital conversion module 110-2 in the previous analog-to-digital conversion cycle of the current analog-to-digital conversion cycle is represented as D sec (i-1), the adjustment module 130 is based on D sec (i-1) outputs a first adjustment voltage V1 and a second adjustment voltage V2, the first adjustment voltage V1 and the second adjustment voltage V2 satisfy: V1=1 / G*V2, G represents the ideal gain of the inter-stage gain module 120. The adjustment module 130 can subtract the first adjustment voltage V1 from the input end of the inter-stage gain module 120, and add the second adjustment voltage V2 to the output end of the inter-stage gain module 120.

[0042] For example, the adjustment module 130 can sec(i-1) is converted into its corresponding voltage, and the voltage is injected into the output end of the inter-stage gain module 120 as the second adjustment voltage V2, and the voltage is reduced according to the ideal gain G of the inter-stage gain module 120, and the reduced voltage is injected into the input end of the inter-stage gain module 120 as the first adjustment voltage V1, so that the first adjustment voltage V1 and the second adjustment voltage V2 satisfy: V1=1 / G*V2, and the second adjustment voltage V2 basically offsets the first adjustment voltage V1.

[0043] For another example, the adjustment module 130 may sec The high M bits of the (i-1) conversion are converted into their corresponding voltages, and the voltage is injected into the output end of the inter-stage gain module 120 as the second adjustment voltage V2, and the voltage is reduced according to the ideal gain G of the inter-stage gain module 120, and the reduced voltage is injected into the input end of the inter-stage gain module 120 as the first adjustment voltage V1, thereby the first adjustment voltage V1 and the second adjustment voltage V2 satisfy: V1=1 / G*V2, and the second adjustment voltage V2 basically offsets the first adjustment voltage V1.

[0044] For another example, the adjustment module 130 may sec (i-1) The high M1 bit is converted into the corresponding first voltage, the first voltage is reduced according to the gain of the inter-stage gain module 120, and the reduced first voltage is injected into the input end of the inter-stage gain module 120 as the first adjustment voltage V1; D sec (i-1) high M2 bits are converted into their corresponding second voltages, and the second voltage is injected as the second adjustment voltage V2 into the output end of the inter-stage gain module 120. Among them, the scaled-down first voltage (i.e., the first adjustment voltage V1) is 1 / G of the second voltage (i.e., the second adjustment voltage V2), G represents the ideal gain of the inter-stage gain module 120, and M1 and M2 are different.

[0045] In other embodiments, the adjustment module 130 may subtract a first adjustment voltage V1 from the input of the interstage gain module 120 based on multiple historical code values, and add a second adjustment voltage V2 to the output of the interstage gain module 120, thereby eliminating high-order gain errors.

[0046] For example, the current analog-to-digital conversion cycle is represented as i, the previous analog-to-digital conversion cycle is represented as i-1, the previous two analog-to-digital conversion cycles are represented as i-2, and the code value output by the second analog-to-digital conversion module 110-2 in the previous analog-to-digital conversion cycle of the current analog-to-digital conversion cycle is represented as D sec (i-1), the code value output by the second analog-to-digital conversion module 110-2 in the first two analog-to-digital conversion cycles of the current analog-to-digital conversion cycle is represented by D sec (i-2), the adjustment module 130 is based on D(i-1) and D sec(i-2) outputting a first adjustment voltage V1 and a second adjustment voltage V2, wherein the first adjustment voltage V1 and the second adjustment voltage V2 satisfy: V1=1 / G*V2, where G represents the ideal gain of the inter-stage gain module 120. The adjustment module 130 may subtract the first adjustment voltage V1 from the input end of the inter-stage gain module 120, and add the second adjustment voltage V2 to the output end of the inter-stage gain module 120 to offset the first adjustment voltage V1.

[0047] For example, the current analog-to-digital conversion cycle is represented as i, the previous analog-to-digital conversion cycle is represented as i-1, the previous two analog-to-digital conversion cycles are represented as i-2, and the previous three analog-to-digital conversion cycles are represented as i-3. The code values ​​output by the second analog-to-digital conversion module 110-2 in the previous analog-to-digital conversion cycle, the previous two analog-to-digital conversion cycles, and the previous three analog-to-digital conversion cycles of the current analog-to-digital conversion cycle are represented as D sec (i-1), D sec (i-2), D sec (i-3), the adjustment module 130 is based on D(i-1), D sec (i-2) and D sec (i-3) Outputting a first adjustment voltage V1 and a second adjustment voltage V2, wherein the first adjustment voltage V1 and the second adjustment voltage V2 satisfy: V1=1 / G*V2, where G represents the ideal gain of the inter-stage gain module 120. The adjustment module 130 may subtract the first adjustment voltage V1 from the input end of the inter-stage gain module 120, and add the second adjustment voltage V2 to the output end of the inter-stage gain module 120 to offset the first adjustment voltage V1.

[0048] In some embodiments, Figure 2 As shown, the adjustment module 130 may include: a first injection unit 131 and a second injection unit 132. The first injection unit 131 is connected to the second analog-to-digital conversion module 110-2, and is used to receive a first control code value and generate a first adjustment voltage based on the first control code value; the second injection unit 132 is connected to the second analog-to-digital conversion module 110-2, and is used to receive a second control code value and generate a second adjustment voltage based on the second control code value. The first control code value and the second control code are at least part of the digital bits of the same historical code value, for example, the first control code value and the second control code are the code values ​​output by the second analog-to-digital conversion module 110-2 in the previous analog-to-digital conversion cycle. As an example, the number of bits of the first control code value is the same as the number of bits of the second control code value, for example, both are the code values ​​output by the second analog-to-digital conversion module 110-2 in the previous analog-to-digital conversion cycle. As another example, the number of bits of the first control code value is different from the number of bits of the second control code value.

[0049] In some embodiments, Figure 3As shown, the adjustment module 130 may include a first injection unit 131 , a second injection unit 132 and a pre-processing unit 133 .

[0050] As an example, the preprocessing unit 133 uses a historical code value as the control code value, outputs the high P1 bit of the control code value as the first control code value, and outputs the high P2 bit of the control code value as the second control code value. P1 and P2 are equal or unequal.

[0051] For example, the current analog-to-digital conversion cycle is represented as i, the previous analog-to-digital conversion cycle is represented as i-1, and the code value output by the second analog-to-digital conversion module 110-2 in the previous analog-to-digital conversion cycle of the current analog-to-digital conversion cycle is represented as D sec (i-1), the pre-processing unit 133 can intercept D sec The high P1 bit of (i-1) is output as the first control code value, intercepting D sec The high P2 bits of (i-1) are output as the second control code value. sec The high P1 bit of (i-1) generates the first adjustment voltage V1, and the second injection unit 132 generates the first adjustment voltage V1 according to D sec The high P2 bit of (i-1) generates the second adjustment voltage V2. The first adjustment voltage V1 and the second adjustment voltage V2 satisfy: V1=1 / G*V2, where G represents the ideal gain of the inter-stage gain module 120.

[0052] As another example, the preprocessing unit 133 generates the control code value based on multiple historical code values, and the first control code value and the second control code value are at least part of the digital bits of the control code value generated based on the multiple historical code values.

[0053] For example, the current analog-to-digital conversion cycle is represented as i, the previous analog-to-digital conversion cycle is represented as i-1, the previous two analog-to-digital conversion cycles are represented as i-2, and the code value output by the second analog-to-digital conversion module 110-2 in the previous analog-to-digital conversion cycle of the current analog-to-digital conversion cycle is represented as D sec (i-1), the code value output by the second analog-to-digital conversion module 110-2 in the first two analog-to-digital conversion cycles of the current analog-to-digital conversion cycle is represented by D sec (i-2), the preprocessing unit 133 calculates the sec (i-2) Generate a control code value. For example, the preprocessing unit 133 may generate the control code value according to the following formula:

[0054] D ctr =2*D sec (i-1)-D sec (i-2)

[0055] Among them, D ctrIndicates the control code value used to form the first adjustment voltage and the second adjustment voltage.

[0056] Exemplarily, following the above example, the code value output by the second analog-to-digital conversion module 110-2 in the first three analog-to-digital conversion cycles of the current analog-to-digital conversion cycle is represented as D sec (i-3), the preprocessing unit 133 is based on D(i-1), D sec (i-2) and D sec (i-3) Generate a control code value.

[0057] For example, the preprocessing unit 133 may generate the control code value according to the following formula:

[0058] D ctr =3*D sec (i-1)-3D sec (i-2)+D sec (i-3)

[0059] Among them, D ctr Indicates the control code value used to form the first adjustment voltage and the second adjustment voltage.

[0060] Exemplarily, following the above example, the code value output by the second analog-to-digital conversion module 110-2 in the first four analog-to-digital conversion cycles of the current analog-to-digital conversion cycle is represented as D sec (i-4), the preprocessing unit 133 is based on D(i-1), D sec (i-2), D sec (i-3) and D sec (i-4) Generate a control code value.

[0061] For example, the preprocessing unit 133 may generate the control code value according to the following formula:

[0062] D ctr =4*D sec (i-1)-6D sec (i-2)+4D sec (i-3)-D sec (i-4)

[0063] Among them, D ctr Indicates the control code value used to form the first adjustment voltage and the second adjustment voltage.

[0064] Further, the preprocessing unit 133 may use at least part of the digital bits of the control code value as the first control code value and the second control code value. ct The high P3 bit of D is output as the first control code value, intercepting D ctr The high P4 bit of is output as the second control code value. Wherein, P3 and P4 may be equal or unequal.

[0065] The first injection unit 131 receives the first control code value output by the preprocessing unit 133, and generates a first adjustment voltage based on the first control code value. The second injection unit 132 receives the second control code value output by the preprocessing unit 133, and generates a second adjustment voltage based on the second control code value. The first adjustment voltage V1 and the second adjustment voltage V2 satisfy: V1 = 1 / G*V2, where G represents the ideal gain of the inter-stage gain module 120.

[0066] As an implementation method, refer to Figures 1 to 3 As shown, when the first analog-to-digital conversion module 110-1 is in the holding state, the interstage gain module 120 is in the amplifying state, the first injection unit 131 and the second injection unit 132 are in the injecting state, and the second analog-to-digital conversion module 110-2 is in the sampling state. When the first analog-to-digital conversion module 110-1 is in the holding state, the quantization margin is output to the interstage gain module 120; when the interstage gain module 120 is in the amplifying state, the quantization error is amplified; when the first injection unit 131 is in the injecting state, the first adjustment voltage V1 is subtracted from the input end of the interstage gain module 120; when the second injection unit 132 is in the injecting state, the second adjustment voltage V2 is added to the output end of the interstage gain module 120.

[0067] Optionally, when the first analog-to-digital conversion module 110-1 is in a sampling state or a conversion state, the interstage gain module 120, the first injection unit 131, and the second injection unit 132 are in a reset state. Wherein, when the first analog-to-digital conversion module 110-1 is in a sampling state, its input signal is sampled, when the first analog-to-digital conversion module 110-1 is in a conversion state, the adopted input signal is analog-to-digital converted and a first code value is output, and when the first analog-to-digital conversion module 110-1 is in a holding stage, a quantization residue is output. When the interstage gain module 120, the first injection unit 131, and the second injection unit 132 are in a reset state, the interstage gain module 120 is disconnected from the first analog-to-digital conversion module 110-1, and no amplification processing is performed, and the first injection unit 131 and the second injection unit 132 can receive a preset code value and generate a corresponding voltage. When the first injection unit 131 and the second injection unit 132 enter the injection state, the first injection unit 131 is controlled by the first control code value so that its output voltage decreases, and the second injection unit 132 is controlled by the second control code value so that its output voltage increases, thereby subtracting the first adjustment voltage from the input end of the inter-stage gain module 120 and adding the second adjustment voltage to the output end of the inter-stage gain module 120.

[0068] Exemplarily, when the inter-stage gain module 120 , the first injection unit 131 and the second injection unit 132 are in a reset state, the preprocessing unit 133 outputs a first preset code value to the first injection unit 131 , and the preprocessing unit 133 outputs a second preset code value to the second injection unit 132 .

[0069] In some embodiments, the second injection unit 132 at least partially reuses the second analog-to-digital conversion module 110-2. Exemplarily, the second analog-to-digital conversion module 110-2 includes a switch capacitor array, and the second injection unit 132 at least partially reuses the switch capacitor array of the second analog-to-digital conversion module 110-2, which can save area and power consumption. For example, the second analog-to-digital conversion module 110-2 is a successive approximation analog-to-digital converter, which may include a digital-to-analog conversion unit, a comparator, and a SAR logic. The digital-to-analog conversion unit may be a capacitive analog-to-digital conversion unit, which may include a switch capacitor array, which is controlled by a sampling control signal for sampling during the sampling phase and is controlled by a SAR logic for conversion during the conversion phase. The second injection unit 132 may reuse the high preset position of the switch capacitor array.

[0070] As an implementation mode, when the second injection unit 132 reuses the switch capacitor array of the second analog-to-digital conversion module 110-2, when the first analog-to-digital conversion module 110-1 is in the holding state, the interstage gain module 120 is in the amplification state, the first injection unit 131 is in the injection state, and the second analog-to-digital conversion module 110-2 is in the injection and sampling state. Taking the second control code value as an example, when the second analog-to-digital conversion module 110-2 is in the injection and sampling state, the high P2 bit of the switch capacitor array of the second analog-to-digital conversion module 110-2 is controlled by the second control code value, and the remaining bits are controlled by the sampling control signal, so that the sampling result includes the output of the interstage gain module and the injected second adjustment voltage; when the second analog-to-digital conversion module 110-2 is in the conversion state, the switch capacitor array of the second analog-to-digital conversion module 110-2 is controlled by the conversion logic, and P2 is less than the number of bits of the second analog-to-digital conversion module 110-2.

[0071] Exemplarily, the second analog-to-digital conversion module 110-2 is a SAR analog-to-digital converter, which includes an L-bit switch capacitor array, and the second code value output by the second analog-to-digital conversion module 110-2 is L bits, and the second injection unit 132 can reuse the high preset bit of the switch capacitor array. That is to say, in the sampling phase of the second analog-to-digital conversion module 110-2, the high preset bit (for example, the high P2 bit) of the L-bit switch capacitor array is controlled by the second control code value, and the remaining bits are controlled by the sampling control signal. The sampling phase results in the output of the inter-stage gain module 120 and the injected second adjustment voltage; in the conversion phase of the second analog-to-digital conversion module 110-2, the L-bit switch capacitor array is controlled by the SAR logic to perform analog-to-digital conversion on the signal obtained in the sampling phase. Since the second adjustment voltage offsets the first adjustment voltage, its conversion result is the conversion result corresponding to the quantization margin after gain amplification.

[0072] Figure 4 A schematic diagram of a pipeline analog-to-digital conversion circuit provided in an embodiment of the present application is shown. Figure 4 As shown, the pipeline analog-to-digital conversion circuit 400 includes: a first analog-to-digital conversion module 411, a second analog-to-digital conversion module 412, an inter-stage gain module 420, an adjustment module 430 and a code value merging module 440. The adjustment module 430 includes a first injection unit 431, a second injection unit 432 and a pre-processing unit 433. It should be understood that the embodiment of the present application is not limited to a two-stage pipeline analog-to-digital converter, and can be applied to a multi-stage pipeline analog-to-digital converter, and an inter-stage gain module and a corresponding adjustment module can be set between any two adjacent stages.

[0073] As an implementation method, Figure 4 As shown, the inter-stage gain module 420 may include an amplification unit 421 and a feedback network 422 .

[0074] Figure 5 A timing diagram of the pipeline analog-to-digital conversion circuit 400 is shown. Figure 5 As shown, during the sampling ( SH1 ) and conversion ( SAR1 ) of the first analog-to-digital conversion module 411 , the first injection unit 431 , the inter-stage gain module 420 , and the second injection unit 432 are in a reset state.

[0075] When the first analog-to-digital conversion module 411 completes the conversion, the first code value D1 is obtained. <m-1:0>And output to the code value merging module 440, the first analog-to-digital conversion module 411 enters the holding state, outputs the generated quantization residual to the inter-stage gain module 420, and the pre-processing unit 433 outputs D3 <p-1:0>to the first injection unit 431 and the second injection unit 432, wherein D3 <p-1:0>It can be based on D2 of the previous cycle or cycles. <l-1:0>Generate (where P ≤ L, when P = L, the number of bits of the first injection unit 431 and the second injection unit 432 is the same as that of the second analog-to-digital conversion module 412; when P < L, the preprocessing unit 433 processes D2 <l-1:0>Truncate the low-order data to get D3 <p-1:0>). The first injection unit 431 is based on D3 and the second injection unit 432 is based on D3 <p-1:0>The first adjustment voltage and the second adjustment voltage are outputted, the first adjustment voltage is injected into the input end of the inter-stage gain module 420 , and the second adjustment voltage is injected into the output end of the inter-stage gain module 420 .

[0076] When the first analog-to-digital conversion module 411 enters the hold state, the interstage gain module 420 is in the amplification state (RA), and the second analog-to-digital conversion module 412 is in the sampling stage (SH2). After the second analog-to-digital conversion module 412 finishes sampling, it enters the conversion stage (SAR2), and the first injection unit 431, the interstage gain module 420, and the second injection unit 432 are restored to the reset state, wherein the preprocessing unit 431 outputs D3 <p-1:0>Restore to the default value. The first analog-to-digital conversion module 411 enters the pipeline operation of sampling and conversion in the next cycle.

[0077] When the second analog-to-digital conversion module 412 completes the conversion and generates D2 <l-1:0>, the final overall code value D is generated by the code value merging module 440 <n-1:0>. This structure predicts the size of the quantization margin of the current analog-to-digital conversion cycle based on one or more historical code values ​​through the adjustment module 430, injects a first adjustment voltage at the input end of the interstage gain module based on the predicted quantization margin to achieve high-pass filtering, and injects a second adjustment voltage at the output end of the interstage gain module to restore the quantization margin of the current analog-to-digital conversion cycle, which can eliminate the influence of the gain error of the interstage gain module and improve the performance of the pipeline analog-to-digital conversion circuit. The gain error of the amplifier and the gain error introduced by the capacitor mismatch in the feedback network can be eliminated, and the performance of the overall pipeline analog-to-digital converter can be improved.

[0078] Figure 6 FIG. 1 shows a schematic diagram of another pipeline analog-to-digital conversion circuit provided in an embodiment of the present application, such as Figure 6 As shown, the pipeline analog-to-digital conversion circuit 600 may include: a first analog-to-digital conversion module 611, a second analog-to-digital conversion module 612, an inter-stage gain module 620, an adjustment module 630, and a code value merging module 640. The adjustment module 630 includes a first injection unit 631 and a preprocessing unit 633. In this embodiment, the second analog-to-digital conversion module 612 is multiplexed as a second injection unit. As an embodiment, Figure 6 As shown, the inter-stage gain module 620 may include an amplification unit 621 and a feedback network 622 .

[0079] The second analog-to-digital conversion module 612 may include a digital-to-analog conversion unit, and the second injection unit 632 at least partially reuses the digital-to-analog conversion unit of the second analog-to-digital conversion module 612, which can save area and power consumption. For example, the second analog-to-digital conversion module 612 is a successive approximation analog-to-digital converter, which may include a digital-to-analog conversion unit, a comparator, and a SAR logic. The digital-to-analog conversion unit may include a capacitor switch array. The second injection unit 632 may reuse the high preset position of the switch capacitor array.

[0080] Figure 7 A timing diagram of the pipeline analog-to-digital conversion circuit 600 is shown. Figure 7 As shown, during the sampling and conversion period of the first analog-to-digital conversion module 611, the first injection unit 631 and the inter-stage gain module 620 are in a reset state. When the first analog-to-digital conversion module 611 completes the conversion and obtains D1 <m-1:0>After being output to the code value merging module 640, the first analog-to-digital conversion module 611 enters a holding state.

[0081] When the first analog-to-digital conversion module 611 enters the hold state, the generated quantization residual is output to the inter-stage gain module 620, and the pre-processing unit 633 outputs D3 <p-1:0>To the first injection unit and the second analog-to-digital conversion module 612 (multiplexed as the second injection unit), the D3 <p-1:0>It can be based on D2 of the previous cycle or cycles. <l-1:0>produce.

[0082] When the first analog-to-digital conversion module 611 enters the holding state, the inter-stage gain module 620 is in the amplification state, and the second analog-to-digital conversion module 612 is simultaneously in the sampling and injection phase (D3 <p-1:0>After the second analog-to-digital conversion module 612 finishes sampling, it enters the conversion phase, and the first injection unit 631 and the inter-stage gain module 620 are restored to the reset state. At the same time, the first analog-to-digital conversion module 611 can enter the next cycle of sampling and conversion pipeline operation, in which the preprocessing unit 633 outputs D3 <p-1:0>Restore to the default value. At this stage, the second analog-to-digital conversion module 612 performs the conversion function first. D3 <p-1:0>The control function does not take effect.

[0083] When the second analog-to-digital conversion module 612 completes the conversion and generates D2 <l-1:0>, the final overall code value D is generated by the code value merging module 640 <n-1:0>.

[0084] In this implementation, the gain error of the amplifier and the gain error introduced by the capacitor mismatch in the feedback network can be eliminated by combining the preprocessing unit with the first injection unit and the second injection unit, thereby improving the performance of the overall pipeline analog-to-digital converter. At the same time, the second analog-to-digital conversion module can be reused as the second injection unit to save area and power consumption.

[0085] Figure 8 A circuit diagram of a pipeline analog-to-digital conversion circuit according to an embodiment of the present application is shown. Figure 8 As shown, the pipeline analog-to-digital conversion circuit 800 may include: a first analog-to-digital conversion module 811, a second analog-to-digital conversion module 812, an inter-stage gain module 820, an adjustment module 830 and a code value merging module 840. The first analog-to-digital conversion module 811 includes an M-bit SAR ADC, and the second analog-to-digital conversion module 812 includes an L-bit SAR ADC. The inter-stage gain module 820 includes an amplifier AMP and a feedback capacitor CFP / N. The adjustment module 830 includes a first injection unit 831, a second injection unit 832 and a pre-processing unit 833.

[0086] During the sampling (SW1P / N is turned on) and conversion period (SW1P / N is turned off) of the first analog-to-digital conversion module 811, the first injection unit 831, the interstage gain module and the second injection unit are all in a reset state, the switches S2 / S3 / S4 in the interstage gain module are all in a turned-on state, S1 / S5 are in a turned-off state, and the control signals D3 of the first injection unit and the second injection unit are in a reset value (for example, D3 <p-1:0>=100000, P=6). When the first analog-to-digital conversion module 811 completes the conversion and obtains D1 <m-1:0>And output to the code value merging module 840, after which the first analog-to-digital conversion module 811 enters the holding state, outputs the generated quantization residual to the inter-stage gain module 820, and the pre-processing unit outputs D3 <p-1:0>to the first injection unit 831 and the second injection unit 832, the D3 <p-1:0>It can be based on D2 of the previous cycle or cycles. <l-1:0>Generation (for example, using only the result of D2 in the previous cycle to generate D3: D3(i) <p-1:0>=D2(i-1) <l-1:0>, P = L, where D2(i-1) represents D2 generated in the previous cycle; for example, the method of generating D3 using the D2 results of the previous two cycles:

[0087] D3 <p-1:0>=2*D2(i-1) <l-1:0>-D2(i-2) <l-1:0>, P=L, where D2(i-1) represents D2 generated in the previous cycle, and D2(i-2) represents D2 generated in the previous two cycles). When the first analog-to-digital conversion module 811 enters the holding state (SW1P / N remains closed), the amplifier AMP in the interstage gain module 820 is in the amplification state, wherein the switches S2 / S3 / S4 in the interstage gain module 820 are all in the disconnected state, and S1 / S5 are in the on state, and at the same time, the second injection unit 832 performs injection, and the second analog-to-digital conversion module 812 performs sampling at the same time (SW2P / N is on). After the second analog-to-digital conversion module 812 completes sampling, it enters the conversion stage (SW2P / N is closed), and the first injection unit 831, the interstage gain module 820, and the second injection unit 832 are all restored to the reset state, and at the same time, the first analog-to-digital conversion module 811 enters the pipeline operation of sampling and conversion of the next cycle, wherein the preprocessing unit 833 outputs D3 <p-1:0>Restore to default value (such as D3 <p-1:0>=100000, P=6). When the second analog-to-digital conversion module 812 completes the conversion and generates D2 <l-1:0>, the final overall code value D is generated through the code value merging module <n-1:0>The structure can eliminate the gain error of the amplifier and the gain error introduced by the capacitor mismatch in the feedback network through the preprocessing unit 833 combined with the first injection unit 832 and the second injection unit 831, thereby improving the performance of the overall pipeline analog-to-digital converter.

[0088] Fig. 9 FIG. 4 shows a circuit diagram of another pipeline analog-to-digital conversion circuit according to an embodiment of the present application. Fig. 9 As shown, the pipeline analog-to-digital conversion circuit 900 may include: a first analog-to-digital conversion module 911, a second analog-to-digital conversion module 912, an inter-stage gain module 920, an adjustment module 930 and a code value merging module 940. The first analog-to-digital conversion module 911 includes an M-bit SAR ADC, and the second analog-to-digital conversion module 912 includes an L-bit SAR ADC. The inter-stage gain module 920 includes an amplifier AMP and a feedback capacitor CFP / N. The adjustment module 930 includes a first injection unit 931 and a preprocessing unit 933, and the second analog-to-digital conversion module 912 is multiplexed as a second injection unit.

[0089] During the sampling (SW1P / N is turned on) and conversion period (SW1P / N is turned off) of the first analog-to-digital conversion module 911, the first injection unit 931 and the inter-stage gain module 920 are in a reset state, the switches S2 / S3 / S4 in the inter-stage gain module 920 are all in a turned-on state, S1 / S5 are in a turned-off state, and the control signal D3 of the first injection unit and the second injection unit (multiplexing the second analog-to-digital conversion module 912) is in a reset value (for example, D3 <p-1:0>=100000, P=6). When the first analog-to-digital conversion module 911 completes the conversion and obtains D1 <m-1:0>And output to the code value merging module 940, after which the first analog-to-digital conversion module 911 enters the holding state (SW1P / N remains closed), outputs the generated quantization residual to the inter-stage gain module, and the pre-processing unit outputs D3 <p-1:0>to the first injection unit and the second injection unit, the D3 <p-1:0>From the D2 of the previous cycle or cycles <l-1:0>Generation (for example, using only the result of D2 in the previous cycle to generate D3: D3(i) <p-1:0>=D2(i-1) <l-1:0>, P = L, where D2(i-1) represents D2 generated in the previous cycle; for example, the method of generating D3 using the D2 results of the previous two cycles:

[0090] D3 <p-1:0>=2*D2(i-1) <l-1:0>-D2(i-2) <l-1:0>, P=L, where D2(i-1) represents D2 generated in the previous cycle, and D2(i-2) represents D2 generated in the previous two cycles). When the first analog-to-digital conversion module 911 enters the holding state (SW1P / N remains closed), the amplifier is in the amplification state, wherein the switches S2 / S3 / S4 in the interstage gain module are all in the disconnected state, S1 / S5 are in the on state, and the second analog-to-digital conversion module 912 simultaneously performs sampling (SW2P / N is on) and injection stages (D3 control takes effect). When the second analog-to-digital conversion module 912 completes sampling and injection, it enters the conversion stage (SW2P / N is closed), the first injection unit and the amplifier are both restored to the reset state, and the first analog-to-digital conversion module 911 enters the next cycle of sampling and conversion pipeline operation, wherein the preprocessing unit outputs D3 <p-1:0>Restore to default value (such as D3 <p-1:0>=100000, P=6), at this stage, the second analog-to-digital conversion module 912 has priority in the conversion function, and the control function of D3 is not effective. <l-1:0>, the final overall code value D is generated through the code value merging module <n-1:0>The structure can eliminate the gain error of the amplifier and the gain error introduced by the capacitor mismatch in the feedback network by combining the preprocessing unit with the first injection unit and the second injection unit, thereby improving the performance of the overall pipeline analog-to-digital converter, and at the same time multiplexing the second analog-to-digital conversion module 912 as the second injection unit to save area and power consumption.

[0091] Fig.10 A circuit diagram of a first injection unit according to an embodiment of the present application is shown. Fig.11 FIG. 4 shows another circuit diagram of a first injection unit according to an embodiment of the present application. Fig.10 and Fig.11 As shown above Figures 1 to 3 , Figure 4 , Figure 6 , Figure 8 or Fig. 9 The first injection unit in the embodiment may include: a first conversion unit 1001 and a scaling unit 1002. The first conversion unit 1001 is used to convert the first control code value into a first voltage; the scaling unit 1002 is used to reduce the first voltage according to the gain of the inter-stage gain module and output a first adjustment voltage.

[0092] In some embodiments, reference Figure 8 or Fig. 9 As shown, the interstage gain module may include: an amplifying unit for amplifying the quantization margin; a feedback capacitor connected between the input and output of the amplifying unit. The scaling unit 1002 may include a scaling capacitor connected between the output of the first conversion unit 1002 and the input of the amplifying unit, and the capacitance value of the scaling capacitor is equal to the capacitance value of the feedback capacitor. Through this implementation, on the basis of the feedback capacitor, a scaling capacitor with the same capacitance value is combined to reduce the above-mentioned first voltage according to the gain of the interstage gain module and output the first adjustment voltage.

[0093] refer to Figure 8 , Fig. 9 , Fig.10 and Fig.11 As shown, the feedback capacitor may include: a first feedback capacitor CFP, connected between the first input terminal and the first output terminal of the amplifying unit; a second feedback capacitor CFN, connected between the second input terminal and the second output terminal of the amplifying unit; and a scaling capacitor may include: a first scaling capacitor CSP, connected between the first output terminal of the first conversion unit 1001 and the first input terminal of the amplifying unit; and a second scaling capacitor CSN, connected between the second output terminal of the first conversion unit and the second input terminal of the amplifying unit. The capacitance value of the first scaling capacitor CSP is equal to the capacitance value of the first feedback capacitor CFP, and the capacitance value of the second scaling capacitor CSN is equal to the capacitance value of the second feedback capacitor CFN. In this way, the first voltage is reduced according to the gain of the inter-stage gain module and the first adjustment voltage is output.

[0094] As an implementation method, refer to Fig.10 As shown, the first conversion unit 1001 may include a first switch capacitor array, for example, Fig.10 CP / N of P bits shown <p-1:0>Capacitor array, CP / N of P bits <p-1:0>Each switch in the capacitor array receives the first control code value to convert the first control code value into a first voltage corresponding thereto. Fig.10 As shown, the scaling unit 1002 may include a first scaling capacitor CSP and a second scaling capacitor CSN, whose outputs VO1P / N are connected to Figure 8 or Fig. 9 The VP / N node is connected to the inter-stage gain module, and the size of CSP / N is equal to the feedback capacitor CFP / N in the inter-stage gain module, so as to reduce the first voltage according to the gain of the inter-stage gain module and output the first adjustment voltage.

[0095] As another embodiment, refer to Fig.11 As shown, the first conversion unit 1001 may include a first switch resistor array, for example, Fig.11 As shown, the first switch resistor array may include a resistor string of P bits, and each switch in the resistor string of P bits receives a first control code value to convert the first control code value into a first voltage corresponding to it. Fig.11 As shown, the scaling unit 1002 may include a first scaling capacitor CSP and a second scaling capacitor CSN, whose outputs VO1P / N are connected to Figure 8 or Fig. 9 The VP / N node is connected to the inter-stage gain module, and the size of CSP / N is equal to the feedback capacitor CFP / N in the inter-stage gain module, so as to reduce the first voltage according to the gain of the inter-stage gain module and output the first adjustment voltage.

[0096] Fig.12 A circuit diagram of a second injection unit according to an embodiment of the present application is shown, wherein the second injection unit may include CP / N <p-1:0>Capacitor array, output VO2P / N are connected to Figure 8 VRAMPOP / N node. And CP / N <p-1:0>The capacitance values ​​from high to low are respectively CP / N of the second analog-to-digital conversion module <l-1:0>The capacitance values ​​from high to low are equal. CP / N <p-1:0>The second control code value is converted into a second adjustment voltage corresponding thereto, and each switch in the capacitor array can receive the second control code value to implement the conversion. It should be understood that the second injection unit can also adopt Fig.11 The resistor array shown is not described in detail in the embodiment of the present application.

[0097] The pipeline analog-to-digital conversion circuit in the embodiment of the present application eliminates the influence of the gain error of the amplifier itself and the gain error introduced by the feedback network mismatch by adding a first injection unit, a second injection unit and a preprocessing unit on the basis of the traditional structure. At the same time, the second analog-to-digital conversion module can be reused as the second injection unit to save area and power consumption.

[0098] The present application also provides an analog-to-digital conversion method, which can be implemented by the analog-to-digital conversion circuit of the present application. Fig.13 As shown, the method includes:

[0099] Step S1301, a first analog-to-digital conversion module performs analog-to-digital conversion on its input and outputs a first code value;

[0100] Step S1302, amplifying the quantization margin of the first analog-to-digital conversion module by the inter-stage gain module;

[0101] Step S1303, during the amplification process, the adjustment module outputs a first adjustment voltage and a second adjustment voltage based on one or more historical code values, injects the first adjustment voltage into the input end of the inter-stage gain module, and injects the second adjustment voltage into the output end of the inter-stage gain module to offset the second adjustment voltage;

[0102] Wherein, any historical code value is a code value obtained by performing analog-to-digital conversion on the corresponding quantization residue by the second analog-to-digital conversion module in any analog-to-digital conversion cycle before the current analog-to-digital conversion cycle;

[0103] Step S1304: The second analog-to-digital conversion module performs analog-to-digital conversion on the output of the inter-stage gain module and outputs a second code value.

[0104] In the embodiment of the present application, the analog-to-digital conversion result can be output based on the first code value and the second code value.

[0105] The method predicts the size of the quantization margin of the current analog-to-digital conversion cycle based on one or more historical code values, injects a first adjustment voltage at the input end of the inter-stage gain module to achieve high-pass filtering, and injects a second adjustment voltage at the output end of the inter-stage gain module to offset the first adjustment voltage, thereby restoring the quantization margin of the current analog-to-digital conversion cycle, eliminating the influence of the gain error of the inter-stage gain module, and improving the performance of the pipeline analog-to-digital conversion circuit.

[0106] The embodiment of the present application also provides a chip, which includes the above-mentioned pipeline analog-to-digital conversion circuit. The chip is also called an integrated circuit (IC), and the chip can be, but is not limited to, a SOC (System on Chip, chip-level system) chip, a SIP (system in package, system-level packaging) chip. The chip eliminates the influence of the gain error of the amplifier itself and the gain error introduced by the mismatch of the feedback network by adding a first injection unit, a second injection unit and a preprocessing unit on the basis of the traditional structure. At the same time, the second analog-to-digital conversion module can be reused as the second injection unit to save area and power consumption.

[0107] The embodiment of the present application also provides an electronic device, which includes a device body and a chip as described above disposed in the device body. The electronic device may be, but is not limited to, a weight scale, a body fat scale, a nutrition scale, an infrared electronic thermometer, a pulse oximeter, a human body composition analyzer, a mobile power supply, a wireless charger, a fast charger, a car charger, an adapter, a display, a USB (Universal Serial Bus) docking station, a stylus, a true wireless headset, a car central control screen, a car, a smart wearable device, a mobile terminal, and a smart home device. Smart wearable devices include, but are not limited to, smart watches, smart bracelets, and cervical massagers. Mobile terminals include, but are not limited to, smart phones, laptops, tablet computers, and POS (point of sales terminal). Smart home devices include, but are not limited to, smart sockets, smart rice cookers, smart sweepers, and smart lights. The electronic device eliminates the gain error of the amplifier itself and the influence of the gain error introduced by the feedback network mismatch by adding a first injection unit, a second injection unit, and a preprocessing unit on the basis of the traditional structure. At the same time, the second analog-to-digital conversion module can be reused as the second injection unit to save area and power consumption.

[0108] The above are only preferred embodiments of the present application, and are not intended to limit the present application in any form. Although the present application has been disclosed as above with preferred embodiments, it is not intended to limit the present application. Any technical personnel in the field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present application. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application are still within the scope of the technical solution of the present application.

Claims

1. A pipeline analog-to-digital conversion circuit, characterized in that: include: A first analog-to-digital conversion module; A second analog-to-digital conversion module; an inter-stage gain module, connected between the first analog-to-digital conversion module and the second analog-to-digital conversion module, and used to amplify the quantization margin of the first analog-to-digital conversion module; an adjustment module, configured to output a first adjustment voltage and a second adjustment voltage based on one or more historical code values ​​in a current analog-to-digital conversion cycle, inject the first adjustment voltage into an input terminal of the inter-stage gain module, and inject the second adjustment voltage into an output terminal of the inter-stage gain module to offset the first adjustment voltage; Among them, any historical code value among the one or more historical code values ​​is a code value obtained by the second analog-to-digital conversion module performing analog-to-digital conversion on the corresponding quantization residue in any analog-to-digital conversion cycle before the current analog-to-digital conversion cycle.

2. The pipeline analog-to-digital conversion circuit according to claim 1, characterized in that: The adjustment module comprises: A first injection unit, configured to receive a first control code value, and output the first adjustment voltage based on the first control code value; Wherein, the first control code value is at least a part of the digits of the historical code value; or The first control code value is at least a portion of digital bits of a control code value generated based on a plurality of the historical code values.

3. The pipeline analog-to-digital conversion circuit according to claim 2, characterized in that: The adjustment module further includes: A second injection unit, configured to receive a second control code value, and output the second adjustment voltage based on the second control code value; The number of bits of the first control code value and the second control code value is the same or different; The first control code value and the second control code value are at least part of the digits of the same historical code value; or The first control code value and the second control code value are at least part of digital bits of control code values ​​generated based on a plurality of the historical code values.

4. The pipeline analog-to-digital conversion circuit according to claim 3, characterized in that: The adjustment module further includes a preprocessing unit, which is used to: Using one of the historical code values ​​as a control code value, or generating the control code value based on a plurality of the historical code values; Outputting the high P1 bit of the control code value as the first control code value; The high P2 bits of the control code value are output as the second control code value, where P1 and P2 are positive integers.

5. The pipeline analog-to-digital conversion circuit according to claim 3, characterized in that: When the first analog-to-digital conversion module is in a holding state, the inter-stage gain module is in an amplifying state, the first injection unit and the second injection unit are in an injecting state, and the second analog-to-digital conversion module is in a sampling state; in, When the first injection unit is in the injection state, the first adjustment voltage is injected into the input end of the inter-stage gain module; When the second injection unit is in the injection state, the second adjustment voltage is injected into the output end of the inter-stage gain module.

6. The pipeline analog-to-digital conversion circuit according to claim 5, characterized in that: When the first analog-to-digital conversion module is in a sampling state or a conversion state, the inter-stage gain module, the first injection unit and the second injection unit are in a reset state.

7. The pipeline analog-to-digital conversion circuit according to claim 2, characterized in that: The first injection unit comprises: A first conversion unit, configured to convert the first control code value into a first voltage; A scaling unit is used to reduce the first voltage according to the gain of the inter-stage gain module and output the first adjustment voltage.

8. The pipeline analog-to-digital conversion circuit according to claim 7, characterized in that: The inter-stage gain module includes: an amplifying unit, used to amplify the quantization margin; a feedback capacitor, connected between the input end and the output end of the amplifying unit; The scaling unit includes: a scaling capacitor connected between an output terminal of the first conversion unit and an input terminal of the amplification unit, and a capacitance value of the scaling capacitor is equal to a capacitance value of the feedback capacitor.

9. The pipeline analog-to-digital conversion circuit according to claim 7, characterized in that: The first conversion unit comprises: a first switch capacitor array, each switch in the first switch capacitor array receives the first control code value to convert the first control code value into the first voltage; or A first switch resistor array, each switch in the first switch resistor array receives the first control code value to convert the first control code value into the first voltage.

10. The pipeline analog-to-digital conversion circuit according to claim 3, characterized in that: The second injection unit includes: a second conversion unit, configured to convert the second control code value into the second adjustment voltage.

11. The pipeline analog-to-digital conversion circuit according to claim 10, characterized in that: The second conversion unit comprises: a second switch capacitor array, each switch in the second switch capacitor array receives the second control code value to convert the second control code value into the second adjustment voltage; or A second switch resistor array, each switch in the second switch resistor array receives the second control code value to convert the second control code value into the second adjustment voltage.

12. The pipeline analog-to-digital conversion circuit according to claim 3, characterized in that: The second injection unit at least partially multiplexes the second analog-to-digital conversion module.

13. The pipeline analog-to-digital conversion circuit according to claim 12, characterized in that: The second analog-to-digital conversion module includes a switched capacitor array; When the second analog-to-digital conversion module is in an injection and sampling state, the high P2 bit of the switch capacitor array of the second analog-to-digital conversion module is controlled by the second control code value, and the remaining bits are controlled by the sampling control signal; When the second analog-to-digital conversion module is in a conversion state, the switch capacitor array of the second analog-to-digital conversion module is controlled by a conversion logic.

14. The pipeline analog-to-digital conversion circuit according to any one of claims 1 to 13, characterized in that: The adjustment module is used to predict the code value of the current analog-to-digital conversion cycle based on one or more historical code values, and output the first adjustment voltage and the second adjustment voltage based on the predicted code value, wherein the second adjustment voltage is G times the first adjustment voltage, and G represents the ideal gain of the inter-stage gain module.

15. A chip, characterized in that: The pipeline analog-to-digital conversion circuit comprises the pipeline analog-to-digital conversion circuit described in any one of claims 1 to 14.

16. An electronic device, characterized in that: The invention comprises a device body and the chip as claimed in claim 15 arranged in the device body.

Citation Information

Cited By

  • Pipeline successive approximation analog-to-digital converter and second-order gain error shaping method

    CN119727717A

  • Analog-to-digital conversion method and device, two-stage analog-to-digital converter and storage medium

    CN120090633A

  • Pipeline analog-to-digital conversion circuit, chip and electronic device

    WO2026001714A1