Feedback circuit, analog-to-digital conversion circuit, temperature measurement circuit, chip and electronic equipment
By designing a feedback circuit in the Sigma-Delta modulator and using the digital gain modulation module and the charge feedback module to achieve gain calibration, the problem of inconsistency between the output signal of the Sigma-Delta modulator and the input signal is solved, and the accuracy and precision of signal conversion are improved. .
Patent Information
- Application Number
- CN202410849044.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-06-27
AI Technical Summary
There is an error between the digital signal output by the Sigma-Delta modulator and the input voltage signal, causing the input voltage signal to be inconsistent with the output digital signal. Gain calibration is required to ensure consistency.
Design a feedback circuit, including a digital gain modulation module and a charge feedback module, to achieve gain by feeding back the charge signal according to the digital signal output by the analog circuit in each measurement cycle, and using the digital gain unit to amplify or reduce the digital signal with a preset coefficient. Calibration ensures the consistency of the input voltage signal and the output digital signal.
The preset coefficient of the digital gain unit is adjusted through the feedback link to achieve gain calibration of the analog circuit, ensure the consistency of the input voltage signal and the output digital signal, and improve the measurement accuracy and signal conversion accuracy.
Smart Images

Figure CN118399973B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of integrated circuits, and in particular to a feedback circuit, an analog-to-digital conversion circuit, a temperature measurement circuit, a chip and an electronic device. Background Art
[0002] At present, the Sigma-Delta modulator (SDM) is a high-precision analog-to-digital converter with oversampling characteristics, which is often used for high-precision measurement of low-frequency voltage signals. In the relevant technology, the Sigma-Delta modulator mainly includes an integrator for charge integration of an input charge signal corresponding to an input voltage signal and a feedback charge signal corresponding to a reference voltage signal, a comparator for comparing a reference voltage with an output result of the integrator, and a feedback circuit for generating a feedback charge signal corresponding to a reference voltage signal.
[0003] During the operation of the Sigma-Delta modulator, the feedback circuit performs negative feedback according to the output result of the comparator, so that the output result of the integrator is close to or equal to 0 in multiple cycles. Finally, after the integrator integrates the input charge signal corresponding to the input voltage signal and the feedback charge signal corresponding to the reference voltage signal for multiple times, the size of the input voltage signal is quantified by the difference between the number of feedback positive charge signals and the number of feedback negative charge signals and the size of the reference voltage signal. However, there is usually an error between the digital signal output by the Sigma-Delta modulator and the input voltage signal, so the Sigma-Delta modulator needs to be gain calibrated to ensure the consistency between the input voltage signal and the output digital signal. Summary of the invention
[0004] In view of the above problems, the embodiments of the present application provide a feedback circuit, an analog-to-digital conversion circuit, a temperature measurement circuit, a chip and an electronic device to solve the above technical problems.
[0005] In a first aspect, an embodiment of the present application provides a feedback circuit, the feedback circuit being used to feed back a charge signal to an input end of an analog circuit according to a first digital signal outputted from an output end of the analog circuit in each measurement cycle, the feedback circuit comprising:
[0006] At least one digital gain modulation module, each digital gain modulation module is used to output a second digital signal according to the first digital signal in each measurement period;
[0007] At least one charge feedback module, each charge feedback module is used to output a charge signal according to at least one second digital signal and at least one preset reference voltage in each measurement cycle;
[0008] Each digital gain modulation module includes a digital gain unit for amplifying / reducing the first digital signal by a preset coefficient.
[0009] In a second aspect, an embodiment of the present application further provides an analog-to-digital conversion circuit, comprising the above-mentioned feedback circuit.
[0010] In a third aspect, an embodiment of the present application further provides a temperature measurement circuit, comprising the above-mentioned chip or feedback circuit.
[0011] In a fourth aspect, an embodiment of the present application further provides a chip, comprising the above-mentioned analog-to-digital conversion circuit or temperature measurement circuit.
[0012] In a fifth aspect, an embodiment of the present application also provides an electronic device, comprising the above-mentioned chip.
[0013] The present application uses a feedback circuit to feed back a charge signal to the input end of the analog circuit in each measurement cycle according to the first digital signal output from the output end of the analog circuit. Since each digital gain modulation module of the feedback circuit includes a digital gain unit for amplifying / reducing the first digital signal by a preset coefficient, the preset coefficient of the digital gain unit can be adjusted in the feedback link to achieve gain calibration of the analog circuit, which is beneficial to ensure the consistency between the input voltage signal and the output digital signal of the analog circuit.
[0014] 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
[0015] 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.
[0016] Figure 1 A schematic diagram of a Sigma-Delta modulator in the related art is shown.
[0017] Figure 2 A schematic diagram of a feedback circuit and an analog circuit in an embodiment of the present application is shown.
[0018] Figure 3 Another schematic diagram of the feedback circuit and the analog circuit in the embodiment of the present application is shown.
[0019] Figure 4 Another schematic diagram of the feedback circuit and the analog circuit in the embodiment of the present application is shown.
[0020] Figure 5 A schematic diagram of an analog circuit in an embodiment of the present application is shown.
[0021] Figure 6Another schematic diagram of the analog circuit in the embodiment of the present application is shown.
[0022] Figure 7 Another schematic diagram of the feedback circuit and the analog circuit in the embodiment of the present application is shown.
[0023] Figure 8 Another schematic diagram of the feedback circuit and the analog circuit in the embodiment of the present application is shown.
[0024] Fig. 9 Another schematic diagram of the feedback circuit and the analog circuit in the embodiment of the present application is shown.
[0025] Fig.10 Another schematic diagram of the feedback circuit and the analog circuit in the embodiment of the present application is shown.
[0026] Fig.11 Another schematic diagram of the feedback circuit and the analog circuit in the embodiment of the present application is shown.
[0027] Fig.12 Another schematic diagram of the feedback circuit and the analog circuit in the embodiment of the present application is shown.
[0028] Fig.13 Another schematic diagram of the feedback circuit and the analog circuit in the embodiment of the present application is shown.
[0029] Fig.14 Another schematic diagram of the charge feedback module in the embodiment of the present application is shown.
[0030] Fig.15 Another schematic diagram of the feedback circuit and the analog circuit in the embodiment of the present application is shown.
[0031] Fig.16 Another schematic diagram of the feedback circuit and the analog circuit in the embodiment of the present application is shown.
[0032] Fig.17 Another schematic diagram of the feedback circuit and the analog circuit in the embodiment of the present application is shown.
[0033] Wherein, 100 is a feedback circuit, 110 is a digital gain modulation module, 111 is a digital gain unit, 112 is a digital integration unit, 113 is a digital quantization unit, and 120 is a charge feedback module;
[0034] 200 analog circuit, 210 input sampling module, 220 analog integration module, 230 analog quantization module;
[0035] A first digital signal Dout, a second digital signal D1-DN, a charge signal Q1-QN, a preset reference voltage V1-VN, and a preset coefficient K1-KN;
[0036] 1101 first digital gain modulation module, 1102 second digital gain modulation module, 1103 third digital gain modulation module, 1201 first charge feedback module, 1202 second charge feedback module, 1203 third charge feedback module; gain digital signal Dgain, integral digital signal Dint, preset digital signal DR. DETAILED DESCRIPTION
[0037] 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.
[0038] 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.
[0039] 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.
[0040] 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.
[0041] 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.
[0042] 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.
[0043] 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.
[0044] 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.
[0045] Currently, the Sigma-Delta modulator is a high-precision analog-to-digital converter with oversampling characteristics, which is often used for high-precision measurement of low-frequency voltage signals. Figure 1 , Figure 1 A schematic diagram of a Sigma-Delta modulator in the related art is shown, wherein a sampling circuit samples an input voltage signal Vin and outputs an input charge signal Vin×C, a feedback circuit generates a feedback charge signal Vdac×C corresponding to a reference voltage signal Vdac, an integrator performs charge integration on the input charge signal Vin×C and the feedback charge signal Vdac×C, and a comparator compares a reference voltage VR with an output result of the integrator.
[0046] In each measurement cycle of the Sigma-Delta modulator, the output result of the comparator controls the positive and negative of the feedback charge signal Vdac×C, so that the output result of the integrator is always near the reference voltage VR in multiple measurement cycles. For example, in a measurement cycle, when the output voltage of the integrator is greater than the reference voltage VR, the comparator controls the feedback circuit to output the feedback positive charge signal +Vdac×C in the next measurement cycle, so that the output voltage of the integrator decreases; conversely, in a measurement cycle, when the output voltage of the integrator is less than the reference voltage VR, the comparator controls the feedback circuit to output the feedback negative charge signal -Vdac×C in the next measurement cycle, so that the output voltage of the integrator increases.
[0047] Since the output result of the integrator can be ignored near the reference voltage VR in multiple measurement cycles, the input voltage signal V0, the reference voltage signal Vdac, the number of times the positive charge signal +Vdac×C is fed back, and the number of times the negative charge signal -Vdac×C is fed back satisfy the following relationship:
[0048] Vin×C×(X1+X2)=(Vdac×C×X1)-(Vdac×C×X2)
[0049] Wherein, C is the unit capacitance, X1 is the number of times the positive charge signal +Vdac×C is fed back, and X2 is the number of times the negative charge signal -Vdac×C is fed back.
[0050] Therefore, the input voltage signal Vin can be calculated according to the following formula:
[0051]
[0052] It can be seen that in the code values (for example, 011100..1100) output by the comparator in multiple measurement cycles, 1 represents the number of times the positive charge signal +Vdac×C is fed back, and 0 represents the number of times the negative charge signal -Vdac×C is fed back. Therefore, the digital signal corresponding to the input voltage signal Vin can be finally obtained according to the signal output by the comparator.
[0053] However, there is usually an error between the digital signal output by the Sigma-Delta modulator and the input voltage signal. For example, when the input voltage signal is 1V, the corresponding voltage value of the digital signal output by the Sigma-Delta modulator after conversion according to the above formula may be 0.9V, which leads to the problem that the input voltage signal and the converted digital signal do not correspond.
[0054] To this end, the present application provides a feedback circuit 100, an analog-to-digital conversion circuit, a temperature measurement circuit, a chip, and an electronic device, which are described in detail below.
[0055] First, participate Figure 2 , Figure 2 A schematic diagram of a feedback circuit 100 and an analog circuit 200 in an embodiment of the present application is shown. The feedback circuit 100 includes at least one digital gain modulation module 110 and at least one charge feedback module 120. The feedback circuit 100 of the present application is used to feed back a charge signal to the input end of the analog circuit 200 according to the first digital signal Dout outputted from the output end of the analog circuit 200 in each measurement cycle, so as to enable the analog circuit 200 to operate normally.
[0056] In some embodiments of the present application, the analog circuit 200 can perform analog-to-digital conversion based on the feedback charge signal. Figure 3 , Figure 3Another schematic diagram of the feedback circuit 100 and the analog circuit 200 in an embodiment of the present application is shown, wherein the analog circuit 200 includes an input sampling module 210, an analog integration module 220 and an analog quantization module 230, wherein the input sampling module 210 can output an input charge signal Vin×C according to the input voltage signal Vin, the analog integration module 220 can integrate the input charge signal Vin×C and the feedback charge signal Q1 output by the feedback circuit 100, and the analog quantization module 230 can digitally quantize the voltage signal output by the analog integration module 220 and output a first digital signal Dout.
[0057] After the analog circuit 200 has gone through multiple measurement cycles, the charge integration result of the analog integration module 220 is close to or equal to 0. It can be seen that the input charge signal Vin×C and the feedback charge signal Q1 satisfy the following relationship:
[0058] Vin×C×N=Q0
[0059] Q0=D11×V1×C+D12×V1×C+D1n×V1×C
[0060] D11, D12, ..., D1n are second digital signals of the first measurement cycle, the second measurement cycle, and the Nth measurement cycle, respectively; Q0 is the total amount of the feedback charge signal Q1 output by the feedback circuit 100; N is the number of multiple measurement cycles; and C is a unit capacitance.
[0061] Combined with the above formula, since the feedback charge signal Q1 is output by the feedback circuit 100 according to the first digital signal Dout output by the analog circuit 200, all the first digital signals Dout output by the analog quantization module 230 in multiple measurement cycles correspond to the input voltage Vin, so that the conversion code value corresponding to the input voltage Vin can be obtained at the output end of the analog quantization module 230.
[0062] In some embodiments of the present application, the analog circuit 200 can perform temperature measurement based on the feedback charge signal, for example, see Figure 4 , Figure 4 Another schematic diagram of a feedback circuit 100 and an analog circuit 200 according to an embodiment of the present application is shown, wherein the analog circuit 200 includes an analog integration module 220 and an analog quantization module 230, wherein the analog integration module 220 can integrate the feedback charge signal Q1 and the charge signal Qx with a temperature coefficient output by the feedback circuit 100, and the analog quantization module 230 can digitally quantize the voltage signal Vout output by the analog integration module 220 and output a first digital signal Dout.
[0063] Similar to the process of analog-to-digital conversion of the voltage signal, the function of the analog circuit 200 is actually to quantize the charge signal Qx with a temperature coefficient through the feedback charge signal Q1. After the analog circuit 200 has undergone multiple measurement cycles, the charge integration result of the analog integration module 220 is close to or equal to 0. It can be seen that the feedback charge signal Q1 and the charge signal Qx satisfy the following relationship:
[0064] Qx×N=Q0
[0065] Similarly, since the feedback charge signal Q1 is output by the feedback circuit 100 according to the first digital signal Dout output by the analog circuit 200, all the first digital signals Dout output by the analog quantization module 230 in multiple measurement cycles correspond to the charge signal Qx, so that the conversion code value corresponding to the charge signal Qx can be obtained in the analog quantization module 230, and finally the ambient temperature value can be obtained according to the conversion code value.
[0066] For example, the charge signal Qx with a temperature coefficient is generated by a voltage Vt with a temperature coefficient, and the mapping relationship between the voltage Vt and the temperature is known. For example, when the temperature is 25°C, the voltage Vt is 2.5V, when the temperature is 26°C, the voltage Vt is 2.52V, and when the temperature is 27°C, the voltage Vt is 2.55V. If the voltage value corresponding to the conversion code value of the analog quantization module 230 is 2.55V, it means that the measured ambient temperature is 27°C.
[0067] As an exemplary embodiment of an analog circuit, see Figure 5 , Figure 5 A schematic diagram of an analog circuit 200 in an embodiment of the present application is shown, the input sampling module 210 includes a switch S1, a switch S2 and a capacitor C, the integration module includes a switch S3, a switch S4, an integration capacitor CH1 and an operational amplifier OP, and the analog quantization module 230 includes a comparator COMP.
[0068] In a measurement cycle, when switches S1 and S3 are closed and switches S2 and S4 are opened, the charge of the integrating capacitor CH1 remains unchanged, and the capacitor C is charged based on the input voltage signal Vin, and the charge amount charged into the capacitor C is Vin×C; when switches S1 and S3 are opened and switches S2 and S4 are closed, since one plate of the capacitor C is grounded, the capacitor C will release the charge, and the input charge signal with a charge amount of Vin×C is charged into the integrating capacitor CH1, and the integration module completes the integration of the charge signal, thereby changing the voltage at the output end of the operational amplifier OP. After the comparator COMP compares the operational amplifier OP with the reference voltage Vref, the first digital signal Dout of the cycle can finally be obtained at the output end of the comparator COMP.
[0069] It can be understood that the above embodiment is illustrative in that the analog quantization module 230 outputs a single-bit first digital signal Dout as an example, but is not limited thereto. For example, see Figure 6 , Figure 6 Another schematic diagram of the analog circuit 200 in an embodiment of the present application is shown, where the analog quantization module 230 includes a plurality of comparators COMP, and the inverting input terminal of each comparator is connected to reference voltages Vref1~Vrefn of different voltage magnitudes, so that the analog quantization module 230 outputs a multi-bit first digital signal Dout.
[0070] The digital gain modulation module 110 of the feedback circuit 100 of the present application is used to output the second digital signal according to the first digital signal Dout in each measurement cycle. In some embodiments of the present application, the number of bits of the first digital signal Dout and the second digital signal may be the same, for example, the first digital signal Dout and the second digital signal are both N-bit digital signals, and N is an integer greater than or equal to 1. In some embodiments of the present application, the number of bits of the first digital signal Dout and the second digital signal may be different, for example, the first digital signal Dout is an N-bit digital signal, and the second digital signal is an M-bit digital signal, and M and N are different integers.
[0071] Each digital gain modulation module 110 includes a digital gain unit 111 for amplifying / reducing the first digital signal Dout by a preset coefficient. For example, if the first digital signal Dout is 01010 (corresponding to the decimal number 10) and the preset coefficient is 1.1, the digital signal output by the digital gain unit 111 is the amplified 01011 (corresponding to the decimal number 11); for another example, if the first digital signal Dout is 0100 (corresponding to the decimal number 4) and the preset coefficient is 0.75, the digital signal output by the digital gain unit 111 is the amplified 00011 (corresponding to the decimal number 3).
[0072] In some embodiments of the present application, for example, for an embodiment in which the feedback circuit 100 includes multiple digital gain modulation modules 110, the preset coefficients corresponding to the digital gain units 111 of each digital gain modulation module 110 are different in size, for example, the preset coefficient corresponding to the digital gain unit 111 of one digital gain modulation module 110 is 1.1, and the preset coefficient corresponding to the digital gain unit 111 of another digital gain modulation module 110 is 0.75. In some embodiments of the present application, the preset coefficients corresponding to the digital gain units 111 of multiple digital gain modulation modules 110 may be partially or completely the same, for example, the preset coefficients corresponding to the digital gain units 111 of two digital gain modulation modules 110 are both 1.1, and the preset coefficient corresponding to the digital gain unit 111 of another digital gain modulation module 110 is 1.2.
[0073] In some embodiments of the present application, the second digital signal may refer to a digital signal output by the digital gain unit 111. For example, for the embodiment in which the first digital signal Dout is 01010, the preset coefficient is 1.1, and the digital signal output by the digital gain unit 111 is 01011 after amplification, the digital signal 01011 output by the digital gain unit 111 is the second digital signal output by the digital gain modulation module 110 in the current measurement cycle. In some embodiments of the present application, the second digital signal may also refer to a digital signal obtained by further modulating the digital signal output by the digital gain modulation module 110 according to the digital signal output by the digital gain unit 111.
[0074] The charge feedback module 120 is used to output a charge signal according to at least one second digital signal and at least one preset reference voltage in each measurement cycle, so that the analog circuit 200 integrates the fed-back charge signal to achieve analog-to-digital conversion or temperature measurement function.
[0075] As an example, see Figure 7 , Figure 7 Another schematic diagram of the feedback circuit 100 and the analog circuit 200 in an embodiment of the present application is shown. The charge feedback module 120 includes multiple groups of fifth switches S5, sixth switches S6 and capacitors CR. The second digital signal D1 is used to control the opening or closing of the multiple groups of fifth switches S5 and sixth switches S6. The fifth switch S5 controls whether the capacitor CR is connected to a preset reference voltage V1, and the sixth switch S6 controls whether the capacitor CR is grounded. Taking the fifth switch S5 as an NMOS tube and the sixth switch as a PMOS tube as an example, when a certain digital signal of the second digital signal is "1" (representing a high level), the fifth switch S5 is closed and the sixth switch S6 is opened, the capacitor CR is charged, and the amount of charge charged into the capacitor CR is CR×V1; after a certain digital signal of the second digital signal is "1" (representing a high level) converted to "0" (representing a low level), the fifth switch S5 is opened and the sixth switch S6 is closed, then the charge of the capacitor CR is cleared and a charge signal with a charge amount of -CR×V1 is output; on the contrary, when a certain digital signal of the second digital signal D1 is "0", the capacitor CR will output a charge signal with a charge amount of +CR×V1.
[0076] That is to say, the more bits that are "1" in the second digital signal and the fewer bits that are "0" in the second digital signal, the more negative charge is fed back by the feedback circuit 100; conversely, the more bits that are "0" in the second digital signal and the fewer bits that are "1" in the second digital signal, the more positive charge is fed back by the feedback circuit 100.
[0077] Understandably, Figure 7The charge feedback module 120 outputs a charge signal according to a second digital signal and a preset reference voltage as an example for illustrative description, but the invention is not limited thereto. For example, see Figure 8 , Figure 8 Another schematic diagram of the feedback circuit 100 and the analog circuit 200 in the embodiment of the present application is shown. Figure 7 The difference is that the same charge feedback module 120 is connected to the preset reference voltage V1 and the preset reference voltage V2, and the charge feedback module 120 outputs the charge signal according to a second digital signal and the two preset reference voltages V1 and V2; for another example, refer to Fig. 9 , Fig. 9 Another schematic diagram of the feedback circuit 100 and the analog circuit 200 in the embodiment of the present application is shown. Figure 7 The difference is that the same charge feedback module 120 is connected to the second digital signals D1 and D2 output by the two digital gain modulation modules 110 , and the charge feedback module 120 outputs a charge signal according to the two second digital signals D1 , D2 and two preset reference voltages V1 .
[0078] It should be pointed out that Figures 7 to 9 The preset reference voltage shown is a single-ended voltage signal, but it is not limited thereto. The preset reference voltage may also be a differential voltage signal, which is not specifically limited in this application. At the same time, Figures 5 to 9 The input voltage signal shown is also a single-ended voltage signal, and its corresponding circuit form is also a common differential circuit form. Those skilled in the art can Figures 5 to 9 Correspondingly, the input voltage signal is modified into a differential voltage signal and the circuit is modified into a fully differential circuit form. This solution is also included in the technical solution protected by the claims of this application.
[0079] In some embodiments of the present application, for example, for an embodiment in which the analog circuit 200 can perform analog-to-digital conversion according to the charge signal fed back by the feedback circuit, after multiple measurement cycles, the first ratio between the average value of the second digital signal output by each digital gain modulation module 110 and the average value of the first digital signal Dout is equal to the preset coefficient, that is, the average value of the second digital signal corresponding to a digital gain modulation module 110, the average value of the first digital signal, and the preset coefficient satisfy the following relationship:
[0080]
[0081] Wherein, K is a preset coefficient, D1_AV is an average value of the first digital signal, and D2_AV is an average value of the second digital signal.
[0082] For example, in an embodiment in which the second digital signal refers to a digital signal output by the digital gain unit 111, since the second digital signal is the first digital signal Dout amplified by a preset coefficient, then after multiple measurement cycles, naturally, the first ratio between the average value of the second digital signal output by each digital gain modulation module 110 and the average value of the first digital signal Dout is equal to the preset coefficient. Therefore, when the analog circuit 200 needs to perform gain calibration, gain calibration can be achieved by adjusting the preset coefficient of the digital gain modulation module 110.
[0083] For example, the voltage value of the input voltage signal of the analog circuit 200 is 2.2V, and the analog-to-digital conversion result output by the analog circuit 200 is 01010 (corresponding to the decimal number 10, and the corresponding voltage value is 2V), then the target gain calibration coefficient of the analog circuit 200 is: 2.2V / 2V=1.1, after the preset coefficient K1 of the digital gain unit 111 is set to 1.1, the proportional scaling ratio of the digital gain unit 111 is changed from 10 times to 11 times, when the first digital signal Dout output by the analog circuit 200 in a measurement cycle is "1", then the digital gain unit 111 is proportionally scaled by 11 times to obtain a second digital signal of 01011 (corresponding to the decimal number 11), and under the control of the second digital signal, the charge amount of the charge signal fed back by the charge feedback module 120 will be changed. After multiple measurement cycles, the input charge signal output by the input sampling module 210 and the charge signal fed back by the feedback circuit 100 satisfy:
[0084] Vin×C×N=Q0×K1
[0085] Wherein, K1 is the gain coefficient of the digital gain unit 111 .
[0086] It can be seen that the actual voltage value of the input voltage signal can be calculated by combining the above formula with the first digital signal Dout output by the analog circuit 200 in multiple measurement cycles. Therefore, the present application changes the preset coefficient of the digital gain unit 111, which actually changes the charge amount of the charge signal output by the charge feedback module 120. This is equivalent to realizing the gain calibration of the analog circuit 200 in the feedback link, which is beneficial to ensure the consistency between the input voltage signal and the output digital signal of the analog circuit 200.
[0087] It should be noted that the "equal" referred to in this application does not mean absolute equality, but approximate equality. For example, for an embodiment in which the first ratio between the average value of the second digital signal and the average value of the first digital signal Dout is equal to the preset coefficient, when the first ratio is within the range of ±2% of the preset coefficient, it can be considered that the first ratio is equal to the preset coefficient. It can be understood that the ±2% range is only for example, and those skilled in the art can reasonably set the fluctuation range in which the first ratio is considered to be equal to the preset coefficient according to actual needs (such as the accuracy requirements of the analog-to-digital converter), and this application does not make specific limitations.
[0088] At the same time, it should be pointed out that the average value of the digital signal referred to in this application (for example, the average value of the first digital signal, the average value of the second digital signal, and the average value of the third digital signal) can be the average value calculated after summing the digital signals of each measurement cycle, or it can refer to the amplitude in the frequency domain obtained after filtering the digital signal (for example, first-order low-pass filtering or second-order low-pass filtering).
[0089] In some embodiments of the present application, see Fig.10 , Fig.10 Another schematic diagram of the feedback circuit 100 and the analog circuit 200 in the embodiment of the present application is shown, wherein the feedback circuit 100 includes a plurality of digital gain modulation modules 110 and a plurality of charge feedback modules 120, and the charge feedback modules 120 correspond to the digital gain modulation modules 110 one by one; each charge feedback module 120 is connected to a preset reference voltage, and the second digital signal output by each digital gain modulation module 110 is used to control the corresponding charge feedback module 120 to output a charge signal based on the connected preset reference voltage. In other words, the present application can also change the charge amount of the charge signals Q1, Q2...Qn output by the plurality of charge feedback modules by adjusting the preset coefficients K1, K2...Kn of the plurality of digital gain feedback modules, and thus can also perform gain calibration on the analog circuit 200 in the feedback link.
[0090] In some embodiments of the present application, for example, for an embodiment in which the analog circuit 200 can perform analog-to-digital conversion according to the feedback charge signal, see Fig.11 , Fig.11 Another schematic diagram of the feedback circuit 100 and the analog circuit 200 in an embodiment of the present application is shown, and the analog circuit 200 performs analog-to-digital conversion gain calibration based on the target gain calibration coefficient K0; the second ratio of the sum of the products of the corresponding preset coefficients and the preset reference voltages to the sum of the preset reference voltages is equal to the target gain calibration coefficient K0.
[0091] It should be noted that, since after a plurality of measurement cycles, the first ratio between the average value of the second digital signal output by each digital gain modulation module 110 and the average value of the first digital signal Dout is equal to the preset coefficient, the average charge amount output by each digital gain modulation module 110 in a plurality of measurement cycles is:
[0092] D1_AV×V1×C=Dout_AV×K1×V1×C
[0093] D2_AV×V2×C=Dout_AV×K2×V2×C ...
[0095] Dn_AV×Vn×C=Dout_AV×Kn×Vn×C
[0096] Among them, D1_AV, D2_AV...Dn_AV are the average values of the second digital signal, Dout_AV is the average value of the first digital signal Dout, K1, K2...Kn are the preset coefficients of the digital gain unit 111 in multiple digital gain modulation modules 110, and V1, V2...Vn are the preset reference voltages connected to multiple charge feedback modules 120.
[0097] The principle of analog-to-digital conversion by the analog circuit 200 is that after multiple measurement cycles, the total charge amount (or average charge amount) of the charge signal output by the feedback circuit 100 is equal to the total charge amount (or average charge amount) of the input charge signal. It can be seen that:
[0098] Vin×C×N=(K1×V1+K2×V2+...+Kn×Vn)×Dout_AV×C×N
[0099] Then, the actual gain calibration coefficient of the analog circuit 200 is:
[0100] K=Vin / (Dout_AV)=(K1×V1+K2×V2+...+Kn×Vn) / (V1+V2+...+Vn)
[0101] Wherein, K is the actual gain calibration coefficient of the analog circuit 200 .
[0102] In the above embodiment, the second ratio of the sum of the products of the corresponding preset coefficients and the preset reference voltages to the sum of the preset reference voltages is equal to the target gain calibration coefficient, that is, the preset coefficients, the preset reference voltage, and the target gain coefficients satisfy the following formula:
[0103] K0=(K1×V1+K2×V2+...+Kn×Vn) / (V1+V2+...+Vn)
[0104] It can be seen that when the preset coefficient, preset reference voltage, and target gain coefficient satisfy the above formula, the gain calibration process of the analog circuit 200 is actually completed. Therefore, when the feedback circuit 100 includes multiple digital gain modulation modules 110, the gain calibration of the analog circuit can be completed by adjusting the preset coefficients K1, K2...Kn of the digital gain units 111 in the multiple digital gain modulation modules 110 to satisfy the above formula.
[0105] It should be noted that the corresponding preset coefficients and preset reference voltages referred to in the present application refer to the preset coefficients of the digital gain unit 111 in a digital gain modulation module 110 and the preset reference voltage corresponding to the second digital signal output by the digital gain modulation module 110 and the output charge signal. Fig.11 In the figure, V1 and K1 are preset coefficients and preset reference voltages corresponding to each other, V2 and K2 are preset coefficients and preset reference voltages corresponding to each other, and Vn and Kn are preset coefficients and preset reference voltages corresponding to each other.
[0106] In some embodiments of the present application, for example, in an embodiment where the analog circuit 200 can perform analog-to-digital conversion based on a feedback charge signal, after multiple measurement cycles, the average charge amount of the charge signal output by the feedback circuit 100 does not change with changes in ambient temperature.
[0107] It should be noted that, in combination with the above content, the principle of analog-to-digital conversion performed by the analog circuit 200 is that after multiple measurement cycles, the average charge amount of the charge signal output by the feedback circuit 100 is equal to the charge amount of the input charge signal, that is:
[0108] Vin×C=QR_AV
[0109] Wherein, QR_AV is the average charge output by the feedback circuit 100 after multiple measurement cycles.
[0110] Since in the above embodiment, the average charge amount of the charge signal output by the feedback circuit 100 does not change with the change of the ambient temperature, for the analog-to-digital conversion of the same input voltage signal, the analog-to-digital conversion accuracy of the input voltage signal will not decrease due to the change of the ambient temperature.
[0111] In some embodiments of the present application, the preset reference voltage connected to at least one charge feedback module 120 has a positive temperature coefficient, and the preset reference voltage connected to at least one charge feedback module 120 has a negative temperature coefficient; after multiple measurement cycles, the sum of the products of the corresponding preset coefficients and the preset reference voltages does not change with changes in ambient temperature.
[0112] For example, see Fig.12 , Fig.12Another schematic diagram of the feedback circuit 100 and the analog circuit 200 in the embodiment of the present application is shown. Taking the feedback circuit 100 including two digital gain modulation modules 110 and two charge feedback modules 120, one charge feedback module 120 is connected to a preset reference voltage V1 with a positive temperature coefficient, and the other charge feedback module 120 is connected to a preset reference voltage V2 with a negative temperature coefficient as an example, combined with the above content, it can be known that after multiple measurement cycles, the average charge output by the feedback circuit 100 in multiple measurement cycles is:
[0113] QR_AV=D1_AV×V1×C+D2_AV×V2×C=Dout_AV(K1×V1+K2×V2)×C
[0114] In the above embodiment, the sum of the products of the corresponding preset coefficients and the preset reference voltages (i.e., K1×V1+K2×V2) does not change with the change of ambient temperature, and the capacitance value of the capacitor basically does not change with temperature. Therefore, the average charge output by the feedback circuit 100 in multiple measurement cycles will not change with temperature, thereby avoiding the influence of ambient temperature on the analog-to-digital conversion accuracy of the analog circuit 200.
[0115] Taking the preset reference voltage as a first-order temperature coefficient voltage as an example, the preset reference voltages V1 and V2 connected to the two charge feedback modules 120 satisfy the following formula:
[0116] V1=V01+kx×△T
[0117] V2=V02+ky×△T
[0118] Wherein, Kx is a first-order positive temperature coefficient, Ky is a first-order negative temperature coefficient, △T is the difference between the ambient temperature and the set temperature (for example, 25°C), and V01 and V02 are the voltage values of the preset reference voltages V1 and V2 at the set temperature (for example, 25°C).
[0119] If the first-order positive temperature coefficient kx is 0.5 and the first-order negative temperature coefficient ky is -0.6, when the preset coefficient K1 is 1.2 and the preset coefficient K2 is 1, the sum of the products of the corresponding preset coefficients and the preset reference voltage is: 1.2×V01+V02. It can be seen that the formula does not contain any temperature coefficient. Therefore, by changing the preset coefficients K1, K2...Kn of the digital gain units 111 in the multiple digital gain modulation modules 110, the sum of the products of the corresponding preset coefficients and the preset reference voltage does not change with the change of ambient temperature, and ultimately avoids the influence of temperature on the analog-to-digital conversion of the analog circuit.
[0120] In some embodiments of the present application, for example, in an embodiment in which the analog circuit 200 performs temperature measurement based on the charge signal input by the feedback circuit 100, after multiple measurement cycles, the average charge amount of the charge signal output by the feedback circuit 100 changes with the change of the ambient temperature, so as to facilitate the analog circuit 200 to measure the ambient temperature.
[0121] In some embodiments of the present application, a preset reference voltage connected to at least one charge feedback module 120 has a positive temperature coefficient, and a preset reference voltage connected to at least one charge feedback module 120 has a negative temperature coefficient; after multiple measurement cycles, the sum of the products of the corresponding preset coefficients and the preset reference voltages does not change with changes in ambient temperature, and at least one charge feedback module 120 is connected to a third digital signal Din and outputs a charge signal based on the third digital signal Din and a preset reference voltage with a temperature coefficient.
[0122] For example, see Fig.13 , Fig.13 Another schematic diagram of the feedback circuit 100 and the analog circuit 200 in the embodiment of the present application is shown, wherein one charge feedback module 120 is connected to a preset reference voltage V1 with a positive temperature coefficient, and another charge feedback module 120 is connected to a preset reference voltage V2 with a negative temperature coefficient. The charge feedback module 120 connected to the preset reference voltage V2 outputs a charge signal according to the third digital signal Din in each measurement cycle. Then, the average charge output by the feedback circuit 100 in multiple measurement cycles satisfies the following formula:
[0123] QR_AV=Dout_AV(K1×V1+K2×V2)×C+Din×V2×C=0
[0124] Dout_AV(K1×V1+K2×V2)×C=-Din×V2×C
[0125] It can be seen that, in the above embodiment, the sum of the products of the corresponding preset coefficients and the preset reference voltage does not change with the change of the ambient temperature, and at least one charge feedback module 120 is connected to the third digital signal Din and outputs a charge signal based on the third digital signal Din and the preset reference voltage with a temperature coefficient, so that the average charge amount of the charge signal output by the feedback circuit 100 will change with the change of the ambient temperature, and at this time, the function of the analog circuit 200 is actually equivalent to quantizing the charge signal corresponding to the third digital signal Din through the charge signal corresponding to the second digital signal, so that the conversion code value of the charge signal corresponding to the third digital signal Din can be obtained at the output end of the analog quantization module 230, and finally the ambient temperature value can be obtained according to the conversion code value.
[0126] As an example, see Fig.14 , Fig.14 A schematic diagram of the charge feedback module 120 in an embodiment of the present application is shown, wherein one group of switches S5 and switch S6 are controlled by a third digital signal Din, and the remaining group of switches S5 and switch S6 are controlled by a second digital signal, so that the charge feedback module 120 is connected to the third digital signal Din and outputs a charge signal based on the third digital signal Din and a preset reference voltage V2 with a temperature coefficient.
[0127] In some embodiments of the present application, for example, for an embodiment in which the analog circuit 200 can perform analog-to-digital conversion or temperature measurement, the preset reference voltage connected to at least one charge feedback module 120 has a first-order negative temperature coefficient and a second-order negative temperature coefficient; the preset reference voltage connected to at least one charge feedback module 120 has a first-order positive temperature coefficient, and the preset reference voltage connected to at least one charge feedback module 120 has a second-order positive temperature coefficient. In other words, by controlling the preset coefficients of the digital gain units 111 in the multiple digital gain modulation modules 110, the influence of the first-order temperature coefficient and the second-order temperature coefficient can also be eliminated, thereby further improving the accuracy of analog-to-digital conversion and temperature measurement.
[0128] For example, see Fig.15 , Fig.15 Another schematic diagram of the feedback circuit 100 and the analog circuit 200 in an embodiment of the present application is shown, wherein the multiple digital gain modulation modules 110 include a first digital gain modulation module 1101, a second digital gain modulation module 1102 and a third digital gain modulation module 1103, and the multiple charge feedback modules 120 include a first charge feedback module 1201, a second charge feedback module 1202 and a third charge feedback module 1203; the first charge feedback module 1201 is connected to a first preset reference voltage V1 having a first-order negative temperature coefficient and a second-order negative temperature coefficient and a second digital signal output by the first digital gain modulation module 1101; the second charge feedback module 1202 is connected to a second preset reference voltage V2 having a first-order positive temperature coefficient and a second digital signal output by the second digital gain modulation module 1102; the third charge feedback module 1203 is connected to a third preset reference voltage V3 having a second-order positive temperature coefficient and a second digital signal output by the third digital gain modulation module 1103.
[0129] For example, the first preset reference voltage V1, the second preset reference voltage V2, and the third preset reference voltage V3 satisfy the following formula:
[0130] V1=V01-kx1×△T-kx2×△T 2
[0131] V2=V02+ky1×△T
[0132] V3=V03+kz2×△T 2
[0133] Among them, kx1 and ky1 are first-order temperature coefficients, kx2 and kz2 are second-order temperature coefficients, △T is the difference between ambient temperature and set temperature (for example, 25°C), and V01, V02, and V03 are the voltage values of preset reference voltages V1, V2, and V3 at the set temperature (for example, 25°C).
[0134] In order to meet the target gain calibration coefficient requirements and eliminate the influence of the first-order temperature coefficient and the second-order temperature coefficient, the following formula needs to be satisfied:
[0135] K1×kx1=K2×ky1
[0136] K1×kx2=K3×kz2
[0137] K0=(K1×V01+K2×V02+K3×V03) / (V01+V02+V03)
[0138] It can be seen that in the above formulas, kx1, ky1, kx2, kz2, V01, V02, V03, and K0 are all known numbers, and K1, K2, and K3 are all unknown numbers. The above three formulas can be combined to obtain the unique solution of K1, K2, and K3, ultimately ensuring that the analog circuit 200 achieves the target gain calibration coefficient and eliminates the influence of the first-order temperature coefficient and the second-order temperature coefficient.
[0139] In some embodiments of the present application, for example, the second digital signal refers to an embodiment obtained by further modulating and processing the digital signal output by the digital gain unit 111 by the digital gain modulation module 110, see Fig.16 , Fig.16 Another schematic diagram of the feedback circuit 100 and the analog circuit 200 in an embodiment of the present application is shown, wherein each digital gain modulation module 110 also includes a digital integration unit 112 and a digital quantization unit 113; the digital gain unit 111 is used to output a gain digital signal Dgain according to the first digital signal Dout in each measurement cycle; the digital integration unit 112 is used to integrate the gain digital signal Dgain input in the current measurement cycle and the second digital signal fed back in the previous measurement cycle to output an integrated digital signal Dint corresponding to the current measurement cycle; the digital quantization unit 113 is used to compare the integrated digital signal Dint with a preset digital signal DR in each measurement cycle and output a second digital signal.
[0140] For example, in the first measurement cycle, the first digital signal Dout output by the analog circuit 200 is 1, and the gain digital signal Dgain output by the digital gain unit 111 in a certain digital gain modulation module 110 is 1.2, then the integrated digital signal Dint output by the digital integration unit 112 is recorded as 1.2, and since the integrated digital signal Dint is greater than the preset digital signal DR (taking the preset digital signal DR equal to 0 as an example), the digital quantization unit 113 will output the second digital signal of 1; in the second measurement cycle, the first digital signal Dout output by the analog circuit 200 is 0, and the gain digital signal Dgain output by the digital gain unit 111 in a certain digital gain modulation module 110 is 0, the digital integration unit 112 integrates the second digital signal of the negative feedback of the previous measurement cycle, and the digital integration The integrated digital signal Dint output by the integration unit 112 is recorded as 0.2. Since the integrated digital signal Dint is still greater than the preset digital signal DR, the digital quantization unit 113 will still output the second digital signal of 1. In the third measurement cycle, the first digital signal Dout output by the analog circuit 200 is 0, the gain digital signal Dgain output by the digital gain unit 111 in a certain digital gain modulation module 110 is 0, and the digital integration unit 112 integrates the second digital signal of the negative feedback of the previous measurement cycle. The integrated digital signal Dint output by the digital integration unit 112 is recorded as -0.8. Since the integrated digital signal Dint is less than the preset digital signal DR, the digital quantization unit 113 will output the second digital signal of 0 and control the corresponding feedback circuit 100 to output the charge signal, and so on.
[0141] It can be seen that in the above exemplary process, the integrated digital signal Dint output by the digital integration unit 112 is close to the preset digital signal DR (or close to 0) after multiple measurement cycles. Therefore, after multiple measurement cycles, the first digital signal Dout and the second digital signal satisfy the following relationship:
[0142] Dout1×K1+Dout2×K1+...+Doutn×K1=D11+D12+...+D1n
[0143] Among them, D11, D12...D1n are the second digital signals output by the same digital gain modulation module 110 in the first measurement cycle, the second measurement cycle...the Nth measurement cycle, respectively, and Dout1, Dout2...Doutn are the first digital signals Dout output by the analog circuit 200 in the first measurement cycle, the second measurement cycle...the Nth measurement cycle.
[0144] At the same time, the average value of the first digital signal Dout and the average value of the second digital signal can be calculated according to the following formula:
[0145] Dout_AV=(Dout1+Dout2+...+Doutn) / N
[0146] D1_AV=(D11+D12+...+D1n) / N
[0147] Combining the above formula, we can know that:
[0148] Dout_AV×K1=D1_AV
[0149] It can be seen that although the second digital signal is not output by the digital gain unit 111, the digital gain modulation module 110 including the digital integration unit 112 and the digital quantization unit 113 in the above embodiment can also make the first ratio between the average value of the second digital signal output by each digital gain modulation module 110 and the average value of the first digital signal Dout equal to the preset coefficient after multiple measurement cycles. Finally, when the analog circuit 200 needs to perform gain calibration, gain calibration can be achieved by adjusting the preset coefficient of the digital gain modulation module 110.
[0150] It can be understood that the digital gain unit 111, the digital integration unit 112 and the digital quantization unit 113 in the above embodiments can be implemented using digital circuits, which include but are not limited to digital logic circuits such as gate circuits, counters, timers, and numerical comparators.
[0151] In some embodiments of the present application, for example, for an embodiment in which the analog circuit 200 can perform temperature measurement, when the analog circuit 200 performs temperature measurement based on the charge signal input by the feedback circuit 100, at least one digital gain modulation module 110 serves as a temperature digital gain modulation module, and the digital integration unit 112 of the temperature digital gain modulation module also integrates the third digital signal Din in each measurement cycle, and the charge feedback module 120 outputs a charge signal based on the second digital signal D1 output by the temperature digital gain modulation module and a preset reference voltage with a temperature coefficient.
[0152] For example, see Fig.17 , Fig.17 Another schematic diagram of the feedback circuit 100 and the analog circuit 200 in the embodiment of the present application is shown. Fig.17 In the embodiment, the first preset reference voltage V1 has a first-order negative temperature coefficient and a second-order negative temperature coefficient, the second preset reference voltage V2 has a first-order positive temperature coefficient, and the third preset reference voltage V3 has a second-order positive temperature coefficient. The sum of the products of the corresponding preset coefficients and the preset reference voltages does not change with changes in ambient temperature, that is, the total feedback voltage V=V1×k1+V2×k2+V3×k3 zero temperature coefficient voltage.
[0153] Among them, the digital gain modulation module 110 corresponding to the preset reference voltage V2 is a temperature digital gain modulation module, and the digital integration unit 112 of the digital gain modulation module 110 is connected to the third digital signal Din. Since the digital integration unit 112 of the digital gain modulation module 110 also integrates the third digital signal Din in each measurement cycle, then when the gain coefficient of the digital gain unit 111 remains unchanged, after multiple measurement cycles, the average value of the second digital signal D1 output by the temperature digital gain modulation module and the average value of the first digital signal Dout have a third ratio, the average value of the third digital signal Din and the average value of the first digital signal Dout have a fourth ratio, and the difference between the third ratio and the preset coefficient is equal to the fourth ratio, that is, the following relationship is satisfied:
[0154]
[0155] It can be seen that the establishment of the above relationship makes the first ratio between the average value of the second digital signal output by the digital gain modulation module 110 and the average value of the first digital signal not equal to the preset coefficient. At the same time, after multiple measurement cycles, the charge feedback module 120 additionally increases the charge amount corresponding to the third digital signal Din according to the charge signal output by the second digital signal D1. Since the second preset reference voltage V2 has a first-order positive temperature coefficient, the charge amount corresponding to the third digital signal Din has a temperature coefficient and can be used for temperature measurement. At the same time, compared with Fig.14 For an embodiment in which the third digital signal Din for temperature measurement is directly input to the charge feedback module 120 for temperature measurement, the above embodiment can make all switches and capacitors of the charge feedback module 120 reusable during analog-to-digital conversion and temperature measurement, thereby eliminating the need to set switches and capacitors for temperature measurement, which ultimately helps to further reduce the circuit area.
[0156] It should be noted that the third digital signal Din can be a fixed digital signal input into the digital integration unit 112 in each measurement cycle. For example, the digital integration unit 112 integrates the third digital signal Din of 0010 in each measurement cycle, and the average value of the third digital signal Din in the above formula is 0010; or, the third digital signal Din can also be a changing digital signal input into the digital integration unit 112 in each measurement cycle. For example, in the first measurement cycle, the third digital signal Din is 0011, in the second measurement cycle, the third digital signal Din is 0010, and in the third measurement cycle, the third digital signal Din is 0001. Taking these three measurement cycles as an example, it can also be determined that the average value of the third digital signal Din in the above formula is 0010.
[0157] It should be pointed out that the above content about the feedback circuit 100 is intended to clearly illustrate the implementation verification process of the present application. Under the guidance of the present application, those skilled in the art can make equivalent modified designs. For example, a voltage with a temperature coefficient is generated by an external circuit (resistance), and the voltage with the temperature coefficient is converted into an analog-to-digital value by the input sampling module 210 to achieve temperature measurement. For another example, the above content about the digital integration unit 112 and the digital quantization unit 113 actually implements a digital Sigma-Delta analog-to-digital converter, and the digital Sigma-Delta analog-to-digital converter is used to output the second digital signal. Those skilled in the art can also use a similar digital analog-to-digital converter to implement it, for example, the second digital signal is output by a digital successive approximation register (SAR) or a digital flash analog-to-digital converter (Flash ADC). For example, the digital flash analog-to-digital converter (Flash ADC) may include one or more numerical comparators, and the gain digital signal Dgain output by the digital gain unit 111 is compared by one or more numerical comparators to output the second digital signal.
[0158] In order to better implement the feedback circuit 100 in the embodiment of the present application, on the basis of the feedback circuit 100, the present application provides an analog-to-digital conversion circuit, the analog-to-digital conversion circuit includes the feedback circuit 100 described in any of the above embodiments, and the analog-to-digital conversion circuit can be but is not limited to a Sigma-Delta analog-to-digital converter, a hybrid analog-to-digital converter composed of a Sigma-Delta analog-to-digital converter and a successive approximation analog-to-digital converter. Since the analog-to-digital conversion circuit of the present application includes the above feedback circuit 100, it has all the beneficial effects of the feedback circuit 100, and the present application will not repeat them here.
[0159] In order to better implement the feedback circuit 100 in the embodiment of the present application, the present application provides a temperature measurement circuit based on the feedback circuit 100, and the temperature measurement circuit includes the feedback circuit 100 described in any of the above embodiments. Since the temperature measurement circuit of the present application includes the above feedback circuit 100, it has all the beneficial effects of the feedback circuit 100, and the present application will not repeat them here.
[0160] The embodiment of the present application also provides a chip, which includes the above-mentioned analog-to-digital conversion circuit or temperature measurement circuit. A chip (Integrated Circuit, IC) is also called a chip, and the chip can be, but is not limited to, a SOC (System on Chip) chip or a SIP (system in package) chip.
[0161] The application embodiment also provides an electronic device, which includes a device body and a chip as described above provided in the device body. The electronic device can 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.
[0162] 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 feedback circuit, It is characterized in that The feedback circuit is used to feed back a charge signal to the input end of the analog circuit according to a first digital signal output from the output end of the analog circuit in each measurement cycle. The analog circuit includes an analog integration module and an analog quantization module. The analog integration module is used to integrate the feedback charge signal. The analog quantization module is used to digitally quantize the voltage signal output by the analog integration module and output the first digital signal. The feedback circuit includes: at least one digital gain modulation module, each of the digital gain modulation modules being configured to output a second digital signal according to the first digital signal in each measurement period; At least one charge feedback module, each of the charge feedback modules being configured to output a charge signal according to at least one of the second digital signals and at least one preset reference voltage in each of the measurement cycles; Wherein, each of the digital gain modulation modules comprises a digital gain unit for amplifying / reducing the first digital signal by a preset coefficient; When the analog circuit performs analog-to-digital conversion based on the charge signal input by the feedback circuit, after multiple measurement cycles, the first ratio between the average value of the second digital signal output by each digital gain modulation module and the average value of the first digital signal is equal to the preset coefficient.
2. The feedback circuit as claimed in claim 1, It is characterized in that The feedback circuit comprises a plurality of the digital gain modulation modules and a plurality of the charge feedback modules, and the charge feedback modules correspond to the digital gain modulation modules one by one; Each of the charge feedback modules is connected to a preset reference voltage, and the second digital signal output by each of the digital gain modulation modules is used to control the corresponding charge feedback module to output a charge signal based on the connected preset reference voltage.
3. The feedback circuit as claimed in claim 2, It is characterized in that The analog circuit performs analog-to-digital conversion based on the charge signal input by the feedback circuit, and the analog circuit performs analog-to-digital conversion gain calibration based on a target gain calibration coefficient; A second ratio of the sum of the products of the corresponding preset coefficients and the preset reference voltage to the sum of the preset reference voltages is equal to the target gain calibration coefficient.
4. The feedback circuit as claimed in claim 3, It is characterized in that The preset reference voltage connected to at least one of the charge feedback modules has a positive temperature coefficient, and the preset reference voltage connected to at least one of the charge feedback modules has a negative temperature coefficient; The sum of the products of the corresponding preset coefficients and the preset reference voltage does not change with the change of the ambient temperature.
5. The feedback circuit as claimed in claim 2, It is characterized in that The preset reference voltage connected to at least one of the charge feedback modules has a positive temperature coefficient, and the preset reference voltage connected to at least one of the charge feedback modules has a negative temperature coefficient; The sum of the products of the corresponding preset coefficients and the preset reference voltage does not change with the change of ambient temperature, and at least one of the charge feedback modules receives a third digital signal and outputs a charge signal based on the third digital signal and the preset reference voltage with a temperature coefficient.
6. The feedback circuit according to claim 4 or 5, It is characterized in that The preset reference voltage connected to at least one of the charge feedback modules has a first-order negative temperature coefficient and a second-order negative temperature coefficient; The preset reference voltage connected to at least one of the charge feedback modules has a first-order positive temperature coefficient, and the preset reference voltage connected to at least one of the charge feedback modules has a second-order positive temperature coefficient.
7. The feedback circuit as claimed in claim 1, It is characterized in that Each of the digital gain modulation modules also includes a digital integration unit and a digital quantization unit; The digital gain unit is used for outputting a gain digital signal according to the first digital signal in each measurement period; The digital integration unit is used to integrate the gain digital signal input in the current measurement cycle and the second digital signal fed back in the previous measurement cycle to output an integrated digital signal corresponding to the current measurement cycle; The digital quantization unit is used for comparing the integrated digital signal with a preset digital signal in each measurement period and outputting the second digital signal.
8. The feedback circuit as claimed in claim 7, It is characterized in that When the analog circuit performs temperature measurement based on the charge signal input by the feedback circuit, at least one of the digital gain modulation modules serves as a temperature digital gain modulation module; Among them, the digital integration unit of the temperature digital gain modulation module also integrates the third digital signal in each measurement cycle, and the charge feedback module outputs a charge signal according to the second digital signal output by the temperature digital gain modulation module and the preset reference voltage with a temperature coefficient.
9. An analog-to-digital conversion circuit, It is characterized in that The method comprises the feedback circuit as claimed in any one of claims 1 to 8.
10. A temperature measuring circuit, It is characterized in that Comprising the feedback circuit as claimed in any one of claims 1 to 8.
11. A chip, It is characterized in that It includes the analog-to-digital conversion circuit as claimed in claim 9 or the temperature measurement circuit as claimed in claim 10.
12. An electronic device, It is characterized in that Comprising the chip as claimed in claim 11.
Citation Information
Patent Citations
Apparatus for accurately measuring open circuit gain of amplifier by utilizing digital excitation signal
CN101487863A
ASIC interface applied to capacitive grating angular displacement sensor
CN110031647A
Conversion of a discrete time quantized signal into a continuous time, continuously variable signal
US8294605B1
