Measurement circuit, chip and electronic device
By designing an integrated circuit, the measurement circuit using zero temperature coefficient and temperature coefficient feedback charge signal is solved, and the circuit area and cost problems caused by independent setting of analog-to-digital conversion and temperature detection circuits are realized while reducing the circuit area and cost.
Patent Information
- Application Number
- PCT/CN2024/143354
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-03
- Filing Date
- 2024-12-27
- Publication Date
- 2025-07-10
AI Technical Summary
Existing electronic equipment needs to be equipped with an analog-to-digital conversion circuit and a temperature detection circuit separately, resulting in an increase in circuit area and an increase in manufacturing costs.
Design a measurement circuit, through the input module, the charge feedback module and the metering module, the charge feedback signal is used to realize analog-to-digital conversion and temperature measurement functions, reducing the circuit area and reducing costs.
While achieving analog-to-digital conversion and temperature measurement, the circuit area is reduced and the manufacturing cost of electronic equipment is reduced.
Smart Images

Figure CN2024143354_10072025_PF_FP_ABST
Abstract
Description
Measuring circuits, chips and electronic equipment
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on January 3, 2024, with application number 202410010001.8 and invention name “Measurement Circuits, Chips and Electronic Devices”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of integrated circuit technology, and in particular to a measurement circuit, chip, and electronic equipment. Background Art
[0003] Currently, electronic devices are often required to have both analog-to-digital conversion and temperature detection functions. These functions convert analog signals into digital signals for digital processing, and also monitor the temperature of the electronic device in real time. However, these functions typically require separate analog-to-digital conversion and temperature detection circuits, which increases the circuit area and manufacturing costs of the electronic device. Technical Solutions
[0004] In view of the above problems, embodiments of the present application provide a measurement circuit, a chip, and an electronic device to solve the above technical problems.
[0005] In a first aspect, the present application provides a measurement circuit, comprising:
[0006] An input module, the input module is used to output a measurement charge signal according to the voltage to be measured;
[0007] a charge feedback module, the charge feedback module being configured to output a feedback charge signal, the feedback charge signal comprising at least one of a first feedback charge signal, a second feedback charge signal, and a third feedback charge signal, wherein the first feedback charge signal has a temperature coefficient of zero, the second feedback charge signal has a first temperature coefficient, and the third feedback charge signal has a second temperature coefficient, wherein one of the first temperature coefficient and the second temperature coefficient is a positive temperature coefficient and the other is a negative temperature coefficient;
[0008] a metering module, the metering module having a voltage measurement mode and a temperature measurement mode. When the metering module is in the voltage measurement mode, the metering module is configured to integrate a first number for a measurement charge signal of a first polarity, integrate a second number for a first feedback charge signal of a second polarity, and calculate a measurement charge signal based on the first number, the second number, and the zero temperature coefficient feedback charge signal;
[0009] When the metering module is in the temperature measurement mode, the metering module is configured to integrate the second feedback charge signal of the third polarity a third number, integrate the third feedback charge signal of the fourth polarity a fourth number, and calculate the second feedback charge signal or the third feedback charge signal based on the third number, the fourth number, and the first feedback charge signal;
[0010] Among them, the first polarity is opposite to the second polarity, the third polarity is opposite to the fourth polarity, the charge integration result of the metering module is less than the preset voltage, and the first feedback charge signal, the second feedback charge signal and the third feedback charge signal satisfy a preset relationship.
[0011] In a second aspect, an embodiment of the present application further provides a chip comprising the detection circuit described in the first aspect above.
[0012] In a third aspect, an embodiment of the present application further provides an electronic device comprising the chip described in the fourth aspect above.
[0013] In an embodiment of the present application, when the metering module is in a voltage measurement mode, the metering module can integrate a first number for the measured charge signal of the first polarity and a second number for the first feedback charge signal of the second polarity. Since the temperature coefficient of the first feedback charge signal is zero, and the charge integration result of the metering module is less than the preset voltage and close to zero and can be ignored, the measured charge signal can be calculated based on the first number, the second number, and the first feedback charge signal, thereby obtaining a voltage value of the voltage to be measured corresponding to the measured charge signal, thereby ultimately realizing an analog-to-digital conversion function of converting the voltage to be measured into a digital signal.
[0014] When the metering module is in the temperature measurement mode, the metering module may integrate the second feedback charge signal of the third polarity a third number of times and the third feedback charge signal of the fourth polarity a fourth number of times. Since the second feedback charge signal has a first temperature coefficient and the third feedback charge signal has a second temperature coefficient, and the charge integration result of the metering module is less than a preset voltage, and the zero temperature coefficient feedback charge signal (e.g., the first feedback charge signal), the second feedback charge signal, and the third feedback charge signal satisfy a preset relationship, if the zero temperature coefficient feedback charge signal is used as the first feedback charge signal as an example, for the first feedback charge signal (zero temperature coefficient feedback charge signal) and the second feedback charge signal, two equations can be solved simultaneously to obtain the first feedback charge signal and the second feedback charge signal, thereby achieving measurement of the second feedback charge signal and the third feedback charge signal having temperature coefficients. Furthermore, the ambient temperature can be calculated using the charge amounts of the second feedback charge signal and the third feedback charge signal, ultimately achieving the ambient temperature measurement process.
[0015] Therefore, the measurement circuit of the present application can simultaneously realize the analog-to-digital conversion function and the temperature measurement function, which is beneficial to reducing the circuit area and lowering the manufacturing cost of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. 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.
[0017] FIG1 shows a module schematic diagram of a Sigma-Delta modulator in the related art.
[0018] FIG2 shows a module schematic diagram of a measurement circuit in an embodiment of the present application.
[0019] FIG3 shows a circuit diagram of an input module in an embodiment of the present application.
[0020] FIG4 shows another circuit diagram of the input module in an embodiment of the present application.
[0021] FIG5 shows a circuit diagram of a charge feedback module in an embodiment of the present application.
[0022] FIG6 shows another circuit diagram of the charge feedback module in an embodiment of the present application.
[0023] FIG7 shows a working schematic diagram of the measurement circuit in an embodiment of the present application.
[0024] FIG8 shows another working schematic diagram of the measurement circuit in an embodiment of the present application.
[0025] FIG9 shows another module schematic diagram of the measurement circuit in an embodiment of the present application.
[0026] FIG10 shows a circuit diagram of a voltage output module in an embodiment of the present application.
[0027] FIG11 shows a circuit diagram of a feedback module in an embodiment of the present application.
[0028] FIG12 shows a schematic diagram of a charge feedback module in an embodiment of the present application.
[0029] FIG13 shows a schematic diagram of a feedback module in an embodiment of the present application.
[0030] FIG14 shows a circuit diagram of a feedback module in an embodiment of the present application.
[0031] FIG15 shows a schematic diagram of a working mode of the feedback module in an embodiment of the present application.
[0032] FIG16 shows another working schematic diagram of the feedback module in an embodiment of the present application.
[0033] FIG17 shows another working schematic diagram of the feedback module in an embodiment of the present application.
[0034] FIG18 shows a schematic diagram of a working state of the charge feedback module in an embodiment of the present application.
[0035] FIG19 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0036] FIG20 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0037] FIG21 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0038] FIG22 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0039] FIG23 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0040] FIG24 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0041] FIG25 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0042] FIG26 shows another schematic diagram of the charge feedback module in an embodiment of the present application.
[0043] FIG27 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0044] FIG28 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0045] FIG29 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0046] FIG30 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0047] FIG31 shows a module schematic diagram of a voltage output module in an embodiment of the present application.
[0048] FIG32 shows another circuit diagram of the voltage output module in an embodiment of the present application.
[0049] FIG33 shows another circuit diagram of the voltage output module in an embodiment of the present application.
[0050] FIG34 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0051] FIG35 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0052] FIG36 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0053] FIG37 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0054] FIG38 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0055] FIG39 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0056] FIG40 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0057] FIG41 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0058] FIG42 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0059] FIG43 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0060] FIG44 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0061] Figure 45 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0062] FIG46 shows another working schematic diagram of the charge feedback module in an embodiment of the present application.
[0063] FIG47 shows another module schematic diagram of the measurement circuit in an embodiment of the present application.
[0064] Figure 48 shows another circuit schematic diagram of the input module in an embodiment of the present application.
[0065] Figure 49 shows another module schematic diagram of the measurement circuit in an embodiment of the present application.
[0066] FIG50 shows a circuit diagram of a measurement circuit in an embodiment of the present application.
[0067] Among them, 100 is an input module, 200 is a charge feedback module, 300 is a metering module, a first feedback charge signal Q1, a second feedback charge signal Q2, and a third feedback charge signal Q3;
[0068] 10 voltage output modules, 20 feedback modules;
[0069] First voltage signal Vbep, second voltage signal Vben, first voltage difference VBE, feedback charge signal QR, voltage output modes VM1-VM12, charge feedback modes QM1-QM2;
[0070] Voltage generating submodule 11, first switch S1, second switch S2, third switch S3, fourth switch S4, transistor BJT, current source Iu;
[0071] Charge feedback submodule 21, first sub-switch S01, second sub-switch S02, third sub-switch S03, first capacitor Cf;
[0072] Integrating module 310, comparing module 320, counting module 330, voltage to be measured Vin, measured charge signal Qin, integrated voltage signal VI, preset voltage Vref, control signal VC.
[0073] Implementation Methods of the Application
[0074] The embodiments of the present application are described in detail below. 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 are not to be construed as limiting the present application.
[0075] 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, not 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 efforts are within the scope of protection of this application.
[0076] In the embodiments of the present application, it should be noted that, in this document, 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.
[0077] Moreover, the terms "comprises," "comprising," or any other variations 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 expressly 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 preclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0078] In the description of the embodiments of this application, words such as "example" or "for example" are used to indicate an example, illustration, or description. Any embodiment or design described as "for example" or "for example" in the embodiments of this application is not to be construed as being preferred or having more advantages than another embodiment or design. The use of words such as "example" or "for example" is intended to clearly present relative concepts.
[0079] In addition, in the embodiments of the present application, "plurality" refers to two or more. 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 does not limit which ones are included. For example, "including at least one of A, B, and C" means including A, B, C, A and B, A and C, B and C, or A, B, and C.
[0080] It should be noted that in the embodiments of the present application, "and / or" describes the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / ", unless otherwise specified, generally indicates that the associated objects are in an "or" relationship.
[0081] 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.
[0082] The first electrode / first end of each transistor used in the embodiments of the present application is one of the source and the drain, and the second electrode / second end of each transistor is the other of the source and the drain. Since the source and drain of the transistor can be symmetrical in structure, the source and drain can be structurally indistinguishable, that is, the first electrode / first end and the second electrode / second end of the transistor in the embodiments of the present application can be structurally indistinguishable. For example, in the case where the transistor is a P-type transistor, the first electrode / first end of the transistor is the source, and the second electrode / second end is the drain; for example, in the case where the transistor is an N-type transistor, the first electrode / first end of the transistor is the drain, and the second electrode / second end is the source.
[0083] 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 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.
[0084] Currently, the Sigma-Delta modulator is a high-precision analog-to-digital converter with oversampling characteristics, commonly used for high-precision measurement of low-frequency voltage signals. Taking Figure 1 as an example, the Sigma-Delta modulator primarily comprises a charge feedback module that generates a reference voltage signal Vdac with a zero temperature coefficient; an integrator that integrates the charge of the input voltage signal V0 and the reference voltage signal Vdac; a comparator that compares the integrator's output voltage; and a counter that records the comparator's output. The comparator's output controls the positive and negative feedback charge signal, ensuring that the integrator's output is close to or equal to zero over multiple cycles. For example, during one cycle, when the output voltage of the comparison integrator is greater than the reference voltage VR, the charge feedback module is controlled to output a negative feedback charge signal -Vdac*C during the next cycle, causing the integrator's output voltage to decrease. Conversely, during one cycle, when the output voltage of the comparison integrator is less than the reference voltage Vref, the charge feedback module is controlled to output a positive feedback charge signal +Vdac*C during the next cycle, causing the integrator's output voltage to increase.
[0085] However, the Sigma-Delta modulator can only realize analog-to-digital conversion function. When the electronic device needs to have a temperature detection function, a separate temperature detection circuit needs to be set up, which leads to technical problems such as increased circuit area and increased manufacturing cost of the electronic device.
[0086] To this end, the present application provides a measurement circuit, a chip, and an electronic device, which are described in detail below.
[0087] First, referring to FIG. 2 , the measurement circuit includes an input module 100 , a charge feedback module 200 and a metering module 300 .
[0088] Specifically, the input module 100 can output a measurement charge signal Qin based on the voltage to be measured Vin, so that the metering module 300 can integrate the measurement charge signal Qin. In some embodiments of the present application, the input module 100 may include a switched capacitor circuit. For example, referring to FIG3 , the input module 100 may include a capacitor Ci, a switch Si1, a switch Si2, a switch Si3, and a switch Si4. When switches Si1 and Si4 are closed and switches Si2 and Si3 are open, the voltage to be measured Vin charges the capacitor Ci, and the amount of charge charged is: Vin*C; when switches Si1 and Si4 are open and switches Si2 and Si3 are closed, the capacitor C outputs a measurement charge signal Qin with a charge amount of: -Vin*Ci.
[0089] In some embodiments of the present application, the input module 100 may include a switch resistance circuit. For example, referring to Figure 4, the input module 100 may include a resistor Ri and a switch Si5. The measurement charge signal Qin can be output by controlling the closing time of the switch Si5. For example, each time the input module 100 outputs the measurement charge signal Qin, the closing time of the switch Si5 is ti, and the charge amount of the output measurement charge signal Qin is: Vin / Ri*ti.
[0090] In some embodiments of the present application, the input module 100 outputs the same amount of charge of the measurement charge signal Qin each time. In some embodiments of the present application, the input module 100 outputs the same polarity of the measurement charge signal Qin each time. For example, the input module 100 outputs a positively charged measurement charge signal Qin each time. For another example, the input module 100 outputs a negatively charged measurement charge signal Qin each time. It is understandable that the input module 100 can also output a positively charged measurement charge signal Qin for a period of time and a negatively charged measurement charge signal Qin for another period of time. After the positive and negative charges are offset, only the charge of the remaining measurement charge signal Qin of the same polarity (for example, positive or negative) is used for voltage measurement calculation.
[0091] The charge feedback module 200 can output a feedback charge signal QR, which includes at least one of a first feedback charge signal Q1, a second feedback charge signal Q2, and a third feedback charge signal Q3. That is, each time the charge feedback module 200 outputs a feedback charge signal, the output feedback charge signal can be any one of the first feedback charge signal Q1, the second feedback charge signal Q2, and the third feedback charge signal Q3, or any combination thereof.
[0092] In an embodiment of the present application, the temperature coefficient of the first feedback charge signal Q1 is zero, and the charge amount of the first feedback charge signal Q1 does not change with temperature, thereby avoiding the phenomenon of voltage measurement errors caused by the charge amount of the first feedback charge signal Q1 changing with temperature when measuring voltage. The second feedback charge signal Q2 has a first temperature coefficient, and the third feedback charge signal Q3 has a second temperature coefficient, so that the measurement circuit can measure the second feedback charge signal Q2 or the third feedback charge signal Q3 to calculate the ambient temperature. Specifically, one of the first temperature coefficient and the second temperature coefficient is a positive temperature coefficient, and the other is a negative temperature coefficient. For example, the second feedback charge signal Q2 can have a positive temperature coefficient, while the third feedback charge signal Q3 can have a negative temperature coefficient. For another example, the second feedback charge signal Q2 can have a negative temperature coefficient, while the third feedback charge signal Q3 can have a positive temperature coefficient.
[0093] In some embodiments of the present application, the charge feedback module 200 can output a first feedback charge signal Q1, a second feedback charge signal Q2, and a third feedback charge signal Q3 based on a zero temperature coefficient voltage, a voltage with a positive temperature coefficient, and a voltage with a negative temperature coefficient. For example, referring to FIG5 , the charge feedback module 200 includes a capacitor Cr1, a switch Sr1, a switch Sr2, a switch Sr3, a switch Sr4, and a switch Sr5, wherein one end of the switch Sr1 is connected to the zero temperature coefficient voltage Vr1 and the other end is connected to the first end of the capacitor Cr1; one end of the switch Sr2 is connected to the positive temperature coefficient voltage Vr2 and the other end is connected to the first end of the capacitor Cr1; one end of the switch Sr3 is connected to the negative temperature coefficient voltage Vr3 and the other end is connected to the first end of the capacitor Cr1; one end of the switch Sr4 is grounded and the other end is connected to the first end of the capacitor Cr1; one end of the switch Sr5 is grounded and the other end is connected to the second end of the capacitor Cr1.
[0094] Specifically, when switches Sr1 and Sr5 are closed and switches Sr2, Sr3, and Sr4 are opened, the zero temperature coefficient voltage Vr1 charges capacitor Cr1 with a charge having a zero temperature coefficient; and when switches Sr1 and Sr5 are opened and switch Sr4 is closed, capacitor Cr1 releases the charge and outputs a first feedback charge signal Q1 having a zero temperature coefficient.
[0095] When switches Sr2 and Sr5 are closed and switches Sr1, Sr3, and Sr4 are open, the positive temperature coefficient voltage Vr2 charges capacitor Cr1 with a charge having a positive temperature coefficient. When switches Sr2 and Sr5 are open and switch Sr4 is closed, capacitor Cr1 releases the charge and outputs a second feedback charge signal Q2 having a positive temperature coefficient.
[0096] When switches Sr3 and Sr5 are closed and switches Sr1, Sr2, and Sr4 are open, the negative temperature coefficient voltage Vr3 charges capacitor Cr1 with a charge having a negative temperature coefficient. When switches Sr3 and Sr5 are open and switch Sr4 is closed, capacitor Cr1 releases the charge and outputs a second feedback charge signal Q3 having a negative temperature coefficient.
[0097] In some other embodiments of the present application, the charge feedback module 200 can output a first feedback charge signal Q1, a second feedback charge signal Q2, and a third feedback charge signal Q3 based on a zero temperature coefficient voltage and an electronic component having a temperature coefficient. For example, referring to FIG6 , the charge feedback module 200 includes a positive temperature coefficient resistor Rr1, a negative temperature coefficient resistor Rr2, a switch Sr6, and a switch Sr7. The positive temperature coefficient resistor Rr1 is connected in parallel with the negative temperature coefficient resistor Rr2. One end of the switch Sr6 is connected to the positive temperature coefficient resistor Rr1, and the other end is connected to the zero temperature coefficient voltage Vr0. One end of the switch Sr7 is connected to the negative temperature coefficient resistor Rr2, and the other end is connected to the zero temperature coefficient voltage Vr0.
[0098] Specifically, when switch Sr6 is closed for time tr1, because resistor Rr1 has a positive temperature coefficient, the charge feedback module 200 can output a second feedback charge signal Q2 with a negative temperature coefficient. The charge amount of the second feedback charge signal Q2 is: Vr0 / Rr1*tr1. When switch Sr7 is closed for time tr2, because resistor Rr2 has a negative temperature coefficient, the charge feedback module 200 can output a third feedback charge signal Q3 with a positive temperature coefficient. The charge amount of the third feedback charge signal Q3 is: Vr0 / Rr2*tr2. When switches Sr7 and Sr6 are closed for time tr3, because resistors Rr1 and Rr2 have opposite temperature coefficients, the charge feedback module 200 can output a first feedback charge signal Q1 with a zero temperature coefficient. The charge amount of the first feedback charge signal Q1 is: Vr0 / Rr1*tr1+Vr0 / Rr2*tr2.
[0099] The metering module 300 has a voltage measurement mode and a temperature measurement mode. The metering module 300 can integrate the measured charge signal Qin and / or the feedback charge signal QR to determine the voltage value of the measured voltage Vin and the ambient temperature. Referring to FIG. 7 , when the metering module 300 is in the voltage measurement mode, it can integrate the measured charge signal Qin of a first polarity for a first factor and integrate the first feedback charge signal Q1 of a second polarity for a second factor.
[0100] Specifically, taking the example where the input module 100 inputs the measured charge signal Qin of the same polarity during the integration process, and the charge feedback module 200 inputs the first feedback charge signal Q1 of the opposite polarity during the integration process, after the metering module 300 integrates multiple times, the measured charge signal Qin, the first feedback charge signal Q1, and the integration result satisfy the following relationship: Vxy = Q1*(X1-X2)-Qin*(X1+X2)
[0101] Among them, Vxy is the integration result, X1 is the integration number of the measurement charge signal Qin of the first polarity, X1 is the integration number of the measurement charge signal Qin of the second polarity, X1-X2 is the first integration number, and X1+X2 is the second integration number.
[0102] Since the charge integration result of the metering module 300 is less than the preset voltage, the integration result is much smaller than the charge amount corresponding to the first integration of the first polarity measurement charge signal Qin (the charge amount corresponding to the second integration of the first feedback charge signal Q1 of the second polarity) and can be ignored. Therefore, the above formula can be simplified to: Qin*(X1+X2)-Q1*(X1-X2)=0
[0103] Therefore, the measured charge signal Qin can be calculated as follows: Qin = Q1*(X1-X2) / (X1+X2)
[0104] Since the first feedback charge signal Q1 is a known zero temperature coefficient charge signal, the measured charge signal Qin can be calculated according to the above formula, and finally the voltage value of the voltage to be measured Vin can be obtained according to the measured charge signal Qin, thereby realizing the analog-to-digital conversion function.
[0105] 8 , when the metering module 300 is in the temperature measurement mode, the metering module 300 may integrate the second feedback charge signal Q2 of the third polarity a third number of times and integrate the third feedback charge signal Q3 of the fourth polarity a fourth number of times.
[0106] It should be noted that since the charge integration result of the metering module 300 is less than the preset voltage, and the zero temperature coefficient feedback charge signal, the second feedback charge signal Q2, and the third feedback charge signal Q3 satisfy a preset relationship, for the first feedback charge signal Q1 and the second feedback charge signal Q2, two equations can be solved simultaneously to obtain the first feedback charge signal Q1 and the second feedback charge signal Q2, thereby achieving measurement of the first feedback charge signal Q1 and the second feedback charge signal Q2 with temperature coefficients.
[0107] Specifically, taking the third polarity as negative charge and the fourth polarity as positive charge as an example, since the charge integration result of the metering module 300 is less than the preset voltage, the integration result is much smaller than the charge amount corresponding to the third integration number of the second feedback charge signal Q2 of the third polarity (the charge amount corresponding to the fourth integration number of the third feedback charge signal Q3 of the fourth polarity) and can be ignored. Therefore, the third integration number, the fourth integration number, the second feedback charge signal Q2, and the third feedback charge signal Q3 satisfy the following relationship: -Q2*Y1+Q3*Y2=0
[0108] Wherein, Q2 is the charge amount of the second feedback charge signal, Q3 is the charge amount of the third feedback charge signal, Y1 is the third number, and Y2 is the fourth number.
[0109] At the same time, taking the zero temperature coefficient feedback charge signal as the first feedback charge signal Q1 as an example, if the first feedback charge signal Q1, the second feedback charge signal Q2 and the third feedback charge signal Q3 satisfy the following predetermined relationship: Q2+Q3=Q1
[0110] Combining the above relationship, we can know that: Q2*Y1+Q2*Y2=Q3*Y2+Q2*Y2 Q2*(Y1+Y2)=Y2*Q1 Q3*Y2+Q3*Y1=Q2*Y1+Q3*Y1 Q3*(Y1+Y2)=Y1*Q1
[0111] Therefore, for the second feedback charge signal Q2 and the third feedback charge signal Q3, the second feedback charge signal Q2 and the third feedback charge signal Q3 can be calculated according to the following relationship:
[0112] It can be seen that the metering module 300 can calculate the second feedback charge signal Q2 or the third feedback charge signal Q3 based on the third number, the fourth number, and the zero temperature coefficient feedback charge signal. Since the second feedback charge signal Q2 has a first temperature coefficient and the third feedback charge signal Q3 has a second temperature coefficient, the ambient temperature can be obtained based on the second feedback charge signal Q2 or the third feedback charge signal Q3, thereby ultimately realizing the temperature measurement function.
[0113] Therefore, the measurement circuit of the present application can simultaneously realize the analog-to-digital conversion function and the temperature measurement function, which is beneficial to reducing the circuit area and lowering the manufacturing cost of the electronic device.
[0114] It can be understood that the preset relationship satisfied by the zero temperature coefficient feedback charge signal, the second feedback charge signal Q2, and the third feedback charge signal Q3 is not limited to the above embodiment. For example, the zero temperature coefficient feedback charge signal, the second feedback charge signal Q2, and the third feedback charge signal Q3 satisfy the relationship: Q2+Q3=2*Q1, that is, the sum of the charge amounts of the first feedback charge signal Q1 and the second feedback charge signal Q2 is twice that of the first feedback charge signal Q1, and the temperature coefficient of the zero temperature coefficient feedback charge signal is zero and the charge amount is twice that of the first feedback charge signal Q1.
[0115] In some embodiments of the present application, the sum of the charge amounts of the second feedback charge signal Q2 and the third feedback charge signal Q3 does not change with temperature. Combined with the above-mentioned calculation relationship of the second feedback charge signal Q2 and the third feedback charge signal Q3, the charge amount of the first feedback charge signal Q1 in the calculation relationship can be made to remain unchanged with temperature, thereby ensuring the measurement accuracy of the second feedback charge signal Q2 and the third feedback charge signal Q3, which is conducive to improving the accuracy of temperature measurement.
[0116] In some embodiments of the present application, for example, the charge feedback module 200 can output a first feedback charge signal Q1, a second feedback charge signal Q2, and a third feedback charge signal Q3 according to a voltage having a temperature coefficient. Referring to FIG9 , the charge feedback module 200 includes a voltage output module 10 and a feedback module 20. The voltage output module 10 is configured to output a first voltage signal Vbep and a second voltage signal Vben, with a first voltage difference VBE between the first voltage signal Vbep and the second voltage signal Vben. The feedback module 20 is configured to output a feedback charge signal QR according to the first voltage signal Vbep and / or the first voltage difference VBE. The first voltage signal Vbep has a third temperature coefficient, the first voltage difference VBE has a fourth temperature coefficient, the third temperature coefficient has the same polarity as the first temperature coefficient, and the fourth temperature coefficient has the same polarity as the second temperature coefficient.
[0117] That is, one of the first voltage signal Vbep and the first voltage difference VBE is a positive temperature coefficient voltage, and the other is a negative temperature coefficient voltage. Therefore, the feedback module 20 can output a first feedback charge signal Q1 with a zero temperature coefficient based on the first voltage signal Vbep and the first voltage difference VBE, and the feedback module 20 can output a second feedback charge signal Q2 with a first temperature coefficient based on the first voltage signal Vbep. At the same time, the feedback module 20 can output a third feedback charge signal Q3 with a second temperature coefficient based on the first voltage difference VBE.
[0118] In some embodiments of the present application, the voltage output module 10 can use transistors to generate a first voltage signal Vbep and a second voltage signal Vben. For example, refer to Figure 10, where the voltage output module 10 includes a current source I1, a current source I2, a switch s1, a switch s2, a transistor BJT1 and a transistor BJT2. When the switch s1 and the switch s2 are closed, the current source I1 provides current to the transistor BJT1, and the current source I2 provides current to the transistor BJT2, thereby generating a first voltage signal Vbep at one end of the transistor BJT1 and generating a second voltage signal Vben at one end of the transistor BJT2. Finally, the voltage output module 10 can output the first voltage signal Vbep and the second voltage signal Vbe, and the first voltage signal Vbep and the second voltage signal Vben are negative temperature coefficient voltages, and the first voltage difference VBE is a positive temperature coefficient voltage.
[0119] In some embodiments of the present application, the feedback module 20 may include a switched capacitor circuit to output the feedback charge signal QR via the switched capacitor circuit. As an example, referring to FIG11 , the feedback module 20 includes a first sub-switch S01, a second sub-switch S02, a third sub-switch S03, and a first capacitor Cf. The first end of the first sub-switch S01 is configured to receive the first voltage signal Vbep, and the second end of the first sub-switch S01 is connected to the first end of the first capacitor Cf. The first end of the second sub-switch S02 is configured to receive the second voltage signal Vben, and the second end of the second sub-switch S02 is connected to the first end of the first capacitor Cf. The first end of the third sub-switch S03 is configured to be connected to ground, and the second end of the third sub-switch S03 is connected to the first end of the first capacitor Cf.
[0120] For example, taking the feedback module 20 outputting the second feedback charge signal Q2 based on the first voltage signal Vbep as an example, when the first sub-switch S01 is closed, the second sub-switch S02 is opened, and the third sub-switch S03 is opened, the first capacitor Cf is connected to the first voltage signal Vbep for charging. After the first capacitor Cf is completely charged, the first sub-switch S01 and the second sub-switch S02 are opened, and the third sub-switch S03 is closed. Then, the charge amount of the feedback charge signal QR outputted by the first capacitor Cf satisfies the relationship: QR=-Vbep*Cf, thereby causing the feedback module 20 to output the second feedback charge signal Q2 corresponding to the charge amount based on the first voltage signal Vbep.
[0121] For another example, taking the feedback module 20 outputting the third feedback charge signal Q3 based on the first voltage difference VBE as an example, when the first sub-switch S01 is closed, the second sub-switch S02 is opened, and the third sub-switch S03 is opened, the first capacitor Cf is connected to the first voltage signal Vbep for charging; when the first capacitor Cf is completely charged, the first sub-switch S01 and the third sub-switch S03 are opened, and the second sub-switch S02 is closed, the charge amount of the feedback charge signal QR output by the first capacitor Cf satisfies the relationship: QR = (Vbep - Vben) * Cf = VBE * Cf, so that the feedback module 20 outputs the third feedback charge signal Q3 corresponding to the charge amount based on the first voltage difference VBE.
[0122] When the feedback module 20 needs to output the first feedback charge signal Q1 based on the first voltage difference VBE and the first voltage signal Vbep, the above circuit structure can be replicated so that one switched capacitor circuit outputs the third feedback charge signal Q3 based on the first voltage difference VBE, and at the same time the other switched capacitor circuit outputs the second feedback charge signal Q2 based on the first voltage signal Vbep. In other words, the second feedback charge signal Q2 and the third feedback charge signal Q3 are output simultaneously, i.e., the feedback module 20 outputs the first feedback charge signal Q1.
[0123] In some embodiments of the present application, referring to FIG. 12 , the feedback module 20 has multiple charge feedback modes, and the mismatch capacitance of the feedback module 20 in at least two charge feedback modes is unequal. Mismatch capacitance refers to the deviation of a capacitor in the feedback module 20 from a set capacitance value due to mismatch. For example, if the capacitance value of a capacitor in the feedback module 20 is set to 100 pF, but the actual value of the capacitor may be 95 pF to 105 pF, the deviation of ±5 pF is the mismatch capacitance of the feedback module 20.
[0124] In some embodiments of the present application, referring to FIG. 13 , the feedback module 20 includes a plurality of charge feedback submodules 21 ; each charge feedback submodule 21 is configured to output a feedback charge signal QR, and the mismatch capacitance of each charge feedback submodule 21 is not equal; the feedback module 20 outputs the feedback charge signal QR according to the first voltage signal Vbep and / or the first voltage difference VBE in different charge feedback modes.
[0125] It should be noted that one or more of the multiple charge feedback sub-modules 21 output the feedback charge signal QR, that is, the feedback module 20 is in a charge feedback mode. For example, referring to Figure 13, when the feedback module 20 is in the charge feedback mode QM1, the feedback module 20 outputs the feedback charge signal QR through the charge feedback sub-module 1; when the feedback module 20 is in the charge feedback mode QM2, the feedback module 20 outputs the feedback charge signal QR through the charge feedback sub-module 2; for another example, continuing to refer to Figure 13, when the feedback module 20 is in the charge feedback mode QM1, the feedback module 20 outputs the feedback charge signal QR through the charge feedback sub-module 1 and the charge feedback sub-module 2; when the feedback module 20 is in the charge feedback mode QM2, the feedback module 20 outputs the feedback charge signal QR through the charge feedback sub-module 2 and the charge feedback sub-module 3.
[0126] In some embodiments of the present application, for example, in an embodiment where the feedback module 20 includes multiple charge feedback submodules 21, refer to FIG14 , where each charge feedback submodule 21 includes a first sub-switch S01, a second sub-switch S02, a third sub-switch S03, and a first capacitor Cf. Specifically, taking the feedback module 20 outputting a first feedback charge signal Q1 with a zero temperature coefficient as an example, assuming that the first voltage signal Vbep is a negative temperature coefficient voltage, the first voltage difference VBE is a positive temperature coefficient voltage, and that the zero temperature coefficient reference voltage Vdac satisfies the following relationship with the first voltage signal Vbep and the first voltage difference VBE: Vdac = Vbep + 2*VBE
[0127] In this case, it is necessary to select three of the n charge feedback submodules 21 to operate in order to output a first feedback charge signal Q1 corresponding to the zero temperature coefficient reference voltage. For example, referring to FIG15 , the charge feedback submodule 21a outputs a charge amount QR = Vbep * Cf based on the first voltage signal Vbep, the charge feedback submodule 21b outputs a charge amount QR = VBE * Cf based on the first voltage difference VBE, and the charge feedback submodule 21c outputs a charge amount QR = VBE * Cf based on the first voltage difference VBE. After superimposing the feedback charge signals QR output by the charge feedback submodules 21a, 21b, and 21c, it can be seen that: QR = (Vbep + 2 * VBE) * Cf = Vdac * Cf
[0128] It can be seen that when the feedback module 20 outputs the first feedback charge signal Q1 according to the first voltage signal Vbep and the first voltage difference VBE, by controlling the working number of the charge feedback sub-module 21 and the switch of the corresponding charge feedback sub-module 21, the first feedback charge signal Q1 corresponding to the zero temperature coefficient reference voltage can be output.
[0129] Taking the feedback module 20 outputting a second feedback charge signal Q2 having a first temperature coefficient as an example, referring to FIG16 , the charge feedback submodule 21a outputs a charge QR = Vbep * Cf based on the first voltage signal Vbep, thereby enabling the feedback module 20 to output a second feedback charge signal. Similarly, taking the feedback module 20 outputting a third feedback charge signal Q3 having a second temperature coefficient as an example, referring to FIG17 , the charge feedback submodule 21b outputs a charge QR = VBE * Cf based on the first voltage difference VBE, and the charge feedback submodule 21c outputs a charge QR = VBE * Cf based on the first voltage difference VBE. Consequently, the charge ultimately output by the entire feedback module 20 is 2VBE * Cf, enabling the feedback module 20 to output the third feedback charge signal Q3. Furthermore, the sum of the charges of the second feedback charge signal Q2 and the third feedback charge signal Q3 equals the charge of the first feedback charge signal Q1.
[0130] At the same time, since the capacitors of each charge feedback submodule 21 have different mismatched capacitances, when the feedback module 20 switches different charge feedback submodules 21 to work, the feedback module 20 can be placed in different charge feedback modes. For example, for the embodiment of selecting 3 charge feedback submodules 21 from n charge feedback submodules 21 to work and output the first feedback charge signal Q1 for voltage measurement, if the number of charge feedback submodules 21 in the feedback module 20 is 5, then 3 charge feedback submodules 21 with different charge feedback modes are selected from the 5 charge feedback submodules 21. In combination, the feedback module 20 has 10 charge feedback modes.
[0131] It can be understood that the more charge feedback sub-modules 21 the feedback module 20 has, the more charge feedback modes the feedback module 20 corresponds to, but this will also lead to a larger circuit area. Therefore, those skilled in the art can set the number of charge feedback sub-modules 21 according to actual needs to ensure a sufficient number of charge feedback modes while avoiding the phenomenon of excessive circuit area.
[0132] Meanwhile, it should be noted that, taking the example that the feedback module 20 outputs the first feedback charge signal Q1 each time according to the first voltage difference VBE and the first voltage signal Vbep, the charge amount of the first feedback charge signal Q1 output by the charge feedback module 200 each time can be calculated according to the following formula:
[0133] in, is the capacitance value of the capacitor corresponding to the first voltage difference VBE, The first voltage signal Vbep corresponds to the capacitance value of the capacitor.
[0134] Then, the charge mismatch dQ of the feedback charge signal can be calculated as follows:
[0135] In the above formula, the first voltage difference VBE and the first voltage signal Vbep can be calculated according to the following formula: I x =xI u I y =yI s
[0136] Among them, V T is the temperature coefficient of the thermovoltage, I x is the input current of the transistor BJT, I s is the saturation current of the transistor BJT, I u is the input current of the transistor BJT, I y is the saturation current of the transistor BJT.
[0137] As for the capacitance mismatch dC and current mismatch It can be calculated as follows:
[0138] Among them, σ u is the standard deviation of capacitance, is the standard deviation of the current, n2 is the number of capacitors, x is the input current I u The number of
[0139] Therefore, the charge mismatch dQ of the feedback charge signal can be calculated as follows:
[0140] It can be seen that for the first input voltage Vbep, the charge mismatch dQ of the feedback charge signal is mainly affected by the capacitance mismatch. As for the first voltage difference VBE, the charge mismatch dQ of the feedback charge signal is mainly affected by the current and the transistor mismatch. That is, the first mismatch voltage generated by the first input voltage Vbep (the second mismatch voltage generated by the second input voltage Vben).
[0141] Therefore, in the embodiment of the present application, since the feedback module 20 switches the current charge feedback mode to another charge feedback mode each time the feedback module 20 outputs the first feedback charge signal Q1 or the second feedback charge signal Q2 (that is, each time the feedback module 20 outputs the feedback charge signal QR based on at least the first voltage signal Vbep), the feedback module 20 can output the feedback charge signal QR based on the mismatch capacitance generated by different charge feedback modes. Thus, in the process of outputting the feedback charge signal QR N times, the mismatch amount of the feedback charge signal QR output by the first voltage signal Vbep generated by different charge feedback modes can be accumulated. Finally, the mismatch amount of the feedback charge signal QR in the process of outputting the feedback charge signal QR N times can be quantified by the mismatch capacitance of multiple charge feedback modes. After calibrating the measurement circuit, the influence of the mismatch voltage on the measurement circuit can be reduced, and ultimately it is beneficial to improve the voltage and temperature measurement accuracy of the measurement circuit.
[0142] In some embodiments of the present application, each time the feedback module 20 outputs the third feedback charge signal Q3 only once based on the first voltage difference VBE, the charge feedback mode of the feedback module 20 remains unchanged. For example, referring to FIG. 18 , the current charge feedback mode of the feedback module 20 is the QM3 mode. After the feedback module 20 outputs the third feedback charge signal Q3 once based on the first voltage difference VBE in the charge feedback mode QM3, the feedback module 20 remains in the QM3 mode. That is, the next time the feedback module 20 outputs the feedback charge signal QR, the charge feedback mode of the feedback module 20 remains in the QM3 mode.
[0143] It should be noted that, whenever the feedback module 20 outputs a feedback charge signal QR (for example, the first feedback charge signal Q1 or the second feedback charge signal Q2) according to the first voltage signal Vbep, the feedback module 20 switches the current charge feedback mode to another charge feedback mode, which is conducive to ensuring that the voltage output module 10 switches to each charge feedback mode at least once; and whenever the feedback module 20 outputs the third feedback charge signal Q3 according to the first voltage difference VBE, the charge feedback mode of the feedback module 20 remains unchanged, which can ensure that when the feedback module 20 outputs the next feedback charge signal QR (for example, the first feedback charge signal Q1 or the second feedback charge signal Q2) according to the first voltage signal Vbep, the mismatch amount corresponding to the charge feedback mode is collected, which is conducive to ensuring that the feedback module 20 outputs at least one feedback charge signal QR according to the first voltage signal Vbep in each charge feedback mode.
[0144] In some embodiments of the present application, after the feedback module 20 outputs the first feedback charge signal Q1 or the second feedback charge signal Q2 once, the feedback module 20 switches the current charge feedback mode to another charge feedback mode. For example, referring to FIG. 19 , the current charge feedback mode of the feedback module 20 is QM3. After the feedback module 20 outputs the second feedback charge signal Q2 once based on the first voltage signal Vbep while in the charge feedback mode QM3, the charge feedback mode of the feedback module 20 switches to QM4.
[0145] In some embodiments of the present application, the feedback module 20 may switch the current charge feedback mode to another charge feedback mode before the feedback module 20 outputs the first feedback charge signal Q1 or the second feedback charge signal Q2. For example, referring to FIG20 , before the feedback module 20 outputs the second feedback charge signal Q2 based on the first voltage signal Vbep, the feedback module 20 has already switched the charge feedback mode from the QM3 mode to the QM4 mode. This allows the feedback module 20 to output the second feedback charge signal Q2 based on the first voltage signal Vbep in the QM3 mode during the current output of the feedback charge signal QR.
[0146] It should be noted that the feedback module 20 can switch the charge feedback mode each time it outputs the second feedback charge signal Q2, for example, refer to Figure 19 or Figure 20; at the same time, the feedback module 20 can switch the charge feedback mode each time it outputs the first feedback charge signal Q1, for example, refer to Figure 21, wherein, after the feedback module 20 outputs the first feedback charge signal Q1 once according to the first voltage signal Vbep and the first voltage difference VBE, the charge feedback mode of the feedback module 20 is switched from QM3 mode to QM4 mode.
[0147] In some embodiments of the present application, for example, for an embodiment in which the feedback charge signal QR can be a positive charge signal or a negative charge signal, after the feedback module 20 outputs the first feedback charge signal Q1 or the second feedback charge signal Q2 of the first polarity once, the feedback module 20 switches the current charge feedback mode to the next charge feedback mode; before the feedback module 20 outputs the first feedback charge signal Q1 or the second feedback charge signal Q2 of the second polarity once, the feedback module 20 switches the current charge feedback mode to the previous charge feedback mode; wherein the first polarity is opposite to the second polarity, the next charge feedback mode is the charge feedback mode in which the feedback module 20 is when the feedback module 20 outputs the feedback charge signal QR next time, and the previous charge feedback mode is the charge feedback mode in which the feedback module 20 is when the feedback module 20 outputs the first feedback charge signal Q1 or the second feedback charge signal Q2 of the first polarity according to the first voltage signal Vbep last time.
[0148] As an example, referring to FIG. 22 , when outputting the Mth feedback charge signal QR, the feedback module 20 is in the charge feedback mode QM3. In the charge feedback mode QM3, the feedback module 20 outputs a positive second feedback charge signal Q2 once according to the first voltage signal Vbep. After outputting the positive second feedback charge signal Q2 once, the feedback module 20 switches the charge feedback mode QM3 to the charge feedback mode QM4. When outputting the M+1th feedback charge signal QR, since the negative second feedback charge signal Q2 is output according to the first voltage signal Vbep this time, the negative second feedback charge signal Q2 is output. Before outputting the M+2th feedback charge signal QR, the feedback module 20 switches from the charge feedback mode QM4 to the charge feedback mode QM3. In the charge feedback mode QM3, the feedback module 20 outputs the negative second feedback charge signal Q2 according to the first voltage signal Vbep. When outputting the M+2th feedback charge signal QR, the feedback module 20 continues to output the positive second feedback charge signal Q2 once in the charge feedback mode QM3 according to the first voltage signal Vbep. After outputting the positive second feedback charge signal Q2 once, the feedback module 20 switches the charge feedback mode QM3 to the charge feedback mode QM4.
[0149] As another example, referring to Figure 23, when outputting the Mth feedback charge signal QR, the feedback module 20 is in the charge feedback mode QM3, and the feedback module 20 outputs a positive second feedback charge signal Q2 in the charge feedback mode QM3 according to the first voltage signal Vbep; when outputting the M+1th feedback charge signal QR, the feedback module 20 outputs a third feedback charge signal Q3 in the charge feedback mode QM4 according to the first voltage difference VBE; when outputting the M+2th feedback charge signal QR, the feedback module 20 outputs a negative second feedback charge signal Q2 in the charge feedback mode QM3 according to the first voltage signal Vbep; and when outputting the M+3th feedback charge signal, the feedback module 20 continues to output a positive second feedback charge signal Q2 in the charge feedback mode QM3 according to the first voltage signal Vbep.
[0150] 22 and 23 , it can be seen that, in the process of outputting the Mth feedback charge signal QR and the M+1th (M+2th) feedback charge signal QR, the feedback module 20 outputs the second feedback charge signal Q2 of the first polarity and the second polarity respectively in the same charge feedback mode (QM3) according to the first voltage signal Vbep, thereby offsetting the mismatch of the second feedback charge signal Q2 in the same charge feedback mode through the positive and negative charges. In the process of outputting the M+2th (M+3th) feedback charge signal QR, the feedback module 20 continues to output the second feedback charge signal Q2 of the first polarity in the charge feedback mode QM3 according to the first voltage signal Vbep, thereby facilitating accumulation of the charge mismatch of the first polarity (or second polarity) corresponding to the first voltage signal Vbep in all charge feedback modes, thereby avoiding the phenomenon that the mismatch of some charge feedback modes is not accumulated due to the offset of positive and negative charges, thereby making it impossible to perform gain calibration on the measurement circuit.
[0151] In some embodiments of the present application, the feedback module 20 switches the current charge feedback mode to the next charge feedback mode according to a fifth preset order based on multiple charge feedback modes; the feedback module 20 switches the current charge feedback mode to the previous charge feedback mode according to a sixth preset order based on multiple charge feedback modes; wherein the fifth preset order is opposite to the sixth preset order.
[0152] For example, referring to FIG. 22 or FIG. 23 , when the feedback module 20 needs to switch to the next charge feedback mode, the charge feedback mode switches from the current charge feedback mode to the next charge feedback mode in the order of QM1-QM8; conversely, when the feedback module 20 needs to switch to the previous charge feedback mode, the feedback module 20 switches from the current charge feedback mode to the next charge feedback mode in the order of QM8-QM1.
[0153] For another example, referring to FIG24 , when the feedback module 20 needs to switch to the next charge feedback mode, the voltage output module 10 switches the current charge feedback mode QM1 to the next charge feedback mode QM2 in the clockwise order of QM1-QM12; referring to FIG25 , when the feedback module 20 needs to switch to the previous charge feedback mode, the feedback block switches the current charge feedback mode QM2 to the previous charge feedback mode QM1 in the counterclockwise order of QM12-QM1.
[0154] In some embodiments of the present application, referring to FIG. 26 , the charge feedback mode of the feedback module 20 includes a first polarity charge feedback mode and a second polarity charge feedback mode. The first polarity charge feedback mode is a charge feedback mode corresponding to the first feedback charge signal Q1 or the second feedback charge signal Q2 outputted by the feedback module 20 with a first polarity, and the second polarity charge feedback mode is a charge feedback mode corresponding to the first feedback charge signal Q1 or the second feedback charge signal Q2 outputted by the feedback module 20 with a second polarity.
[0155] Specifically, after the feedback module 20 outputs the first feedback charge signal Q1 or the second feedback charge signal Q2 of the first polarity once, the feedback module 20 switches the current charge feedback mode to the next first polarity charge feedback mode. The next first polarity charge feedback mode is the charge feedback mode in which the feedback module 20 is when the first feedback charge signal Q1 or the second feedback charge signal Q2 of the first polarity is output next time.
[0156] For example, referring to FIG. 27 , when outputting the Mth feedback charge signal QR, the feedback module 20 is in the first polarity charge feedback mode QM1. In the charge feedback mode QM1, the feedback module 20 outputs the second feedback charge signal Q2 of the first polarity according to the first voltage signal Vbep. When outputting the M+ath (a≥1) feedback charge signal QR, the feedback module 20 is in the first polarity charge feedback mode QM2. Therefore, in the charge feedback mode QM2, the feedback module 20 outputs the second feedback charge signal Q2 of the first polarity according to the first voltage signal Vbep.
[0157] Conversely, after the feedback module 20 outputs the first feedback charge signal Q1 or the second feedback charge signal Q2 of the second polarity once, the feedback module 20 switches the current charge feedback mode to the next second polarity charge feedback mode. The next second polarity charge feedback mode is the charge feedback mode in which the feedback module 20 is when the feedback module 20 outputs the first feedback charge signal Q1 or the second feedback charge signal Q2 of the second polarity next time.
[0158] For example, referring to FIG. 28 , when outputting the Mth feedback charge signal QR, the feedback module 20 is in the second polarity charge feedback mode QM2. In the charge feedback mode QM2, the feedback module 20 outputs the second feedback charge signal Q2 of the second polarity according to the first voltage signal Vbep. When outputting the M+bth (b≥1) feedback charge signal QR, the feedback module 20 is in the second polarity charge feedback mode QM3. In the charge feedback mode QM3, the feedback module 20 outputs the second feedback charge signal Q2 of the second polarity according to the first voltage signal Vbep.
[0159] That is, when the feedback module 20 outputs the first feedback charge signal Q1 or the second feedback charge signal Q2 of the first polarity, the feedback module 20 switches according to the first polarity charge feedback mode, so that the feedback module 20 can output the first feedback charge signal Q1 or the second feedback charge signal Q2 of the first polarity in all charge feedback modes, thereby accumulating the charge mismatch of the first polarity. When the feedback module 20 outputs the first feedback charge signal Q1 or the second feedback charge signal Q2 of the second polarity, the output mode of the feedback module 20 switches according to the second polarity charge feedback mode, so that the feedback module 20 outputs the first feedback charge signal Q1 or the second feedback charge signal Q2 of the second polarity in all charge feedback modes, thereby accumulating the charge mismatch of the second polarity, so as to calculate the total charge mismatch and the corresponding capacitance mismatch after subtracting the charge mismatch of the first polarity from the charge mismatch of the second polarity.
[0160] It is understandable that before the feedback module 20 outputs the feedback charge signal QR of the first polarity based on the first voltage signal Vbep, the feedback module 20 may switch the current charge feedback mode to the next first polarity charge feedback mode; alternatively, before the feedback module 20 outputs the feedback charge signal QR of the second polarity based on the first voltage signal Vbep, the voltage output module 10 may switch the current charge feedback mode to the previous first polarity charge feedback mode.
[0161] As an exemplary description of the working process of the feedback module 20 of the present application, referring to FIG29 , when outputting the M-th feedback charge signal QR, the feedback module 20 is in the first polarity charge feedback mode QM1, and the feedback module 20 outputs the second feedback charge signal Q2 of the first polarity according to the first voltage signal Vbep in the charge feedback mode QM1; and when outputting the M+1-th feedback charge signal QR, the first polarity charge feedback mode is changed from the QM1 charge feedback mode to the QM2 charge feedback mode. Since the second feedback charge signal Q2 of the second polarity is output this time, the feedback module 20 is in the second polarity charge feedback mode QM1. In the second polarity charge feedback mode QM2, the feedback module 20 outputs the second feedback charge signal Q2 of the second polarity according to the first voltage signal Vbep in the second polarity charge feedback mode QM2; and when outputting the M+2th feedback charge signal QR, the second polarity charge feedback mode is changed from the QM2 charge feedback mode to the QM3 charge feedback mode. Since the second feedback charge signal Q2 of the first polarity is output this time, the feedback module 20 is in the first polarity charge feedback mode QM2, and the feedback module 20 outputs the second feedback charge signal Q2 of the first polarity according to the first voltage signal Vbep in the first polarity charge feedback mode QM2.
[0162] As another exemplary illustration of the working process of the feedback module 20 of the present application, referring to Figure 30, when outputting the Mth feedback charge signal QR, the feedback module 20 outputs the second feedback charge signal Q2 of the second polarity according to the first voltage signal Vbep in the charge feedback mode QM2; and when outputting the M+1th feedback charge signal QR, the feedback module 20 outputs the second feedback charge signal Q2 of the first polarity according to the first voltage signal Vbep in the first polarity charge feedback mode QM1; and when outputting the M+2th feedback charge signal QR, the feedback module 20 outputs the second feedback charge signal Q2 of the second polarity according to the first voltage signal Vbep in the second polarity charge feedback mode QM3.
[0163] In some embodiments of the present application, the feedback module 20 switches the current charge feedback mode to the next first polarity charge feedback mode according to a seventh preset order based on multiple charge feedback modes; the feedback module 20 switches the current charge feedback mode to the next first polarity charge feedback mode according to an eighth preset order based on multiple charge feedback modes; wherein the seventh preset order is the same as or opposite to the eighth preset order.
[0164] For example, referring to Figure 29 or Figure 30, when the feedback module 20 needs to switch to the next first polarity charge feedback mode, the feedback module 20 switches the current charge feedback mode to the next charge feedback mode in the order of QM1-QM8; conversely, when the feedback module 20 needs to switch to the next second polarity charge feedback mode, the feedback module 20 can switch the current charge feedback mode to the next charge feedback mode in the order of QM8-QM1.
[0165] It should be noted that the above content is related to solving the capacitance mismatch problem. In fact, according to the charge calculation formula: Q = U * C, when the charge feedback module 200 feeds back the charge signal QR, there is not only a mismatch caused by capacitance mismatch, but also a mismatch caused by voltage mismatch. To solve the voltage mismatch problem, please refer to the following content:
[0166] In some embodiments of the present application, the first voltage signal Vbep has a first mismatch voltage, the voltage output module 10 has multiple voltage output modes, and the first mismatch voltages of the first voltage signal Vbep output by the voltage output module 10 in at least two voltage output modes are not equal. The first mismatch voltage may be a mismatch voltage caused by the mismatch of electronic components (such as transistors) in the internal circuit of the voltage output module 10, or it may be a mismatch voltage caused by the mismatch of an introduced external signal (such as a bias current signal).
[0167] In some embodiments of the present application, referring to Figure 31, the voltage output module 10 includes multiple voltage generating sub-modules 11, each voltage generating sub-module 11 can output a first voltage signal Vbep and a second voltage signal Vben, and the first mismatch voltage of the first voltage signal Vbep output by each voltage generating sub-module 11 is not equal. The voltage output module 10 switches the voltage output mode by switching the voltage generating sub-module 11 that outputs the first voltage signal Vbep and the second voltage signal Vben, and makes the first mismatch voltage of the first voltage signal Vbep output by the voltage output module 10 in at least two voltage output modes not equal.
[0168] As an example, referring to Figure 32, each voltage generating sub-module 11 includes a current source I1, a current source I2, a switch s1, a switch s2, a transistor BJT1 and a transistor BJT2. When the switches s1 and s2 of one of the voltage generating sub-modules 11 are closed, the current source I1 provides current to the transistor BJT1, and the current source I2 provides current to the transistor BJT2, thereby generating a first voltage signal Vbep at one end of the transistor BJT1 and generating a second voltage signal Vben at one end of the transistor BJT2, so that each voltage generating sub-module 11 can ultimately output the first voltage signal Vbep and the second voltage signal Vben.
[0169] Due to the mismatch between the transistors BJT1 and BJT2, the current signals input by the current source IuI1, and the current signals input by the current source IuI2, the first voltage signal Vbep has a first mismatch voltage, and the second voltage signal Vben has a second mismatch voltage. In the case where the current signals input by the transistors BJT1 and BJT2, the current sources I1, and the current signals input by the current source I2 in each voltage generating sub-module 11 are mismatched and inconsistent, the first mismatch voltages of the first voltage signal Vbep output by the voltage output module 10 in each voltage output mode are ultimately not equal.
[0170] It is understandable that the transistors BJT1 and BJT2 in the above circuit are replaced by other types of electronic components, such as a MOS tube with a source and a gate short-circuited, or a resistor.
[0171] As another example, referring to FIG33 , the voltage output module 10 includes M1 bias current sources Iu, M1 first switches S1, M1 second switches S2, N1 third switches S3, N1 fourth switches S4, and N1 transistors BJT; the first switches S1 correspond to the bias current sources Iu one by one, the first end of each first switch S1 is connected to the corresponding bias current source Iu, and the second end of each first switch S1 is connected to the first end of N1 third switches S3; the third switches S1 correspond to the bias current sources Iu one by one, the first end of each first switch S1 is connected to the corresponding bias current source Iu, and the second end of each first switch S1 is connected to the first end of N1 third switches S3; S3 corresponds one-to-one to the transistor BJT, and the second end of each third switch S3 is connected to the corresponding transistor BJT; the second switch S2 corresponds one-to-one to the bias current source Iu, the first end of each second switch S2 is connected to the corresponding bias current source Iu, and the second end of each second switch S2 is connected to N1 fourth switches S4; the fourth switch S4 corresponds one-to-one to the transistor BJT, and the second end of each fourth switch S4 is connected to the corresponding transistor BJT; wherein M1 and N1 are integers greater than 1.
[0172] Specifically, when the voltage output module 10 is in a certain voltage output mode, any M2 of the M1 first switches S1 are closed, and any N2 of the N1 third switches S3 are closed. At this time, the M2 bias current sources Iu provide current to the N2 parallel transistors BJT, thereby generating a first voltage signal Vbep between the first switch S1 and the third switch S3. Simultaneously, when the voltage output module 10 is in a certain voltage output mode, any M1-M2 of the M1 second switches S2 are closed, and any N1-N2 of the N1 third switches S3 are closed, thereby generating a second voltage signal Vben between the second switch S2 and the fourth switch S4.
[0173] It can be seen that due to the mismatch between the current signals input by the transistor BJT and the current source Iu, when the voltage output module 10 switches the voltage output mode and changes the closed switch to introduce different current signals of the transistor BJT and the current source Iu, the first mismatch voltage of the first voltage signal Vbep is not equal in different voltage output modes, and the second mismatch voltage of the second voltage signal Vben is also not equal in different voltage output modes.
[0174] In some embodiments of the present application, M1, M2, N1, and N2 satisfy the following relationship: M1-M2=1 N2=1
[0175] For the first voltage signal Vbep, the current source Iu is selected as follows: species (i.e. M1) combination, and the choice of transistor BJT is species (i.e. N1 kinds) combination, so the first voltage signal Vbep can correspond to M1*N1 kinds of voltage output modes according to the above combination; similarly, for the second voltage signal Vben, the selection of the current source Iu is species (i.e. M1) combination, and the choice of transistor BJT is species (i.e. Therefore, the second voltage signal Vben can also correspond to M1*N1 voltage output modes according to the above combination, and ultimately the voltage output module 10 has M1*N1 voltage output modes. Compared with the embodiment in which the voltage output module 10 includes multiple voltage generating sub-modules 11, the voltage output module 10 of the above embodiment shares the transistor BJT and the current source Iu, which can simplify the circuit structure while providing a larger number of voltage output modes.
[0176] As mentioned above, for the first voltage difference VBE, the charge mismatch dQ of the feedback charge signal is mainly affected by the current and the transistor mismatch. That is, the first mismatch voltage generated by the first input voltage Vbep (the second mismatch voltage generated by the second input voltage Vben). Therefore, in the embodiment of the present application, since the voltage output module 10 switches the current voltage output mode to another voltage output mode each time the feedback module 20 outputs the first feedback charge signal Q1 or the third feedback charge signal Q3, the feedback module 20 can output the feedback charge signal QR (the first feedback charge signal Q1 or the third feedback charge signal Q3) according to the first voltage difference VBE generated by the different voltage output modes. Thus, in the process of outputting the feedback charge signal QR N times, the charge mismatch amount of the feedback charge signal QR output by the first voltage difference VBE generated by the different voltage output modes can be accumulated. Ultimately, the mismatch amount of the feedback charge signal QR in the process of outputting the feedback charge signal QR N times can be quantified by the mismatch voltages of multiple voltage output modes. After calibrating the measurement circuit, the influence of the mismatch voltage on the measurement circuit can be reduced, and ultimately, the voltage and temperature measurement accuracy of the measurement circuit can be improved.
[0177] In some embodiments of the present application, whenever the feedback module 20 outputs the second feedback charge signal Q2 only once based on the first voltage signal Vbep, the voltage output mode of the voltage output module 10 remains unchanged. For example, referring to FIG. 34 , the current voltage output mode of the voltage output module 10 is VM2 mode. After the feedback module 20 outputs the second feedback charge signal Q2 once based on the first voltage signal Vbep corresponding to the voltage output mode VM2, the voltage output mode of the voltage output module 10 remains in VM2 mode, and the feedback module 20 changes from the charge feedback mode QM3 to the charge feedback mode QM4. That is, the next time the feedback module 20 outputs the feedback charge signal QR, the voltage output mode of the voltage output module 10 remains in VM2 mode.
[0178] It should be noted that, since the charge mismatch dQ of the feedback charge signal is mainly affected by the voltage mismatch for the first voltage difference VBE, whenever the feedback module 20 outputs a feedback charge signal QR (the first feedback charge signal Q1 or the third feedback charge signal Q3) based on the first voltage difference VBE, the voltage output module 10 switches the current voltage output mode to another voltage output mode, which is conducive to ensuring that the voltage output module 10 switches to the other voltage output mode and accumulates the mismatch of the feedback charge signal QR corresponding to the first voltage difference VBE; and whenever the feedback module 20 outputs the second feedback charge signal Q2 based on the first voltage signal Vbep, the voltage output mode of the voltage output module 10 remains unchanged, which can ensure that when the feedback module 20 outputs the next feedback charge signal QR based on the first voltage difference VBE, the mismatch corresponding to the voltage output mode is collected, which is conducive to ensuring that the feedback module 20 outputs the first feedback charge signal Q1 or the third feedback charge signal Q3 based on the first voltage difference VBE corresponding to all or part of the voltage output modes.
[0179] That is to say, in the embodiment of the present application, when the feedback module 20 outputs the second feedback charge signal Q2 only once according to the first voltage signal Vbep, the feedback module 20 does not switch the voltage output mode. Only when the feedback module 20 outputs the first feedback charge signal Q1 or the third feedback charge signal Q3 once according to the first voltage difference VBE (or according to the first voltage difference VBE and the first voltage signal Vbep), the feedback module 20 switches the voltage output mode. This is not only conducive to the voltage output module 10 switching to other voltage output modes, but also ensures that the feedback module 20 outputs the feedback charge signal QR according to the first voltage difference VBE corresponding to all or part of the voltage output modes.
[0180] In some embodiments of the present application, the voltage output module 10 may switch its current voltage output mode to another voltage output mode after the feedback module 20 outputs the first feedback charge signal Q1 or the third feedback charge signal Q3 once. For example, referring to FIG35 , the current voltage output mode of the voltage output module 10 is VM2 mode. After the feedback module 20 outputs the third feedback charge signal Q3 once based on the first voltage difference VBE corresponding to the voltage output mode VM2, the voltage output mode of the voltage output module 10 switches to VM3 mode. In other words, after outputting the first feedback charge signal Q1 or the third feedback charge signal Q3 once, the voltage output module 10 may switch its current voltage output mode to another voltage output mode.
[0181] In some embodiments of the present application, the voltage output module 10 may switch its current voltage output mode to another voltage output mode before the feedback module 20 outputs the first feedback charge signal Q1 or the third feedback charge signal Q3. For example, referring to FIG36 , before the feedback module 20 outputs the third feedback charge signal Q3 based on the first voltage difference VBE, the voltage output module 10 has already switched its voltage output mode from VM2 mode to VM3 mode. This allows the feedback module 20 to output the third feedback charge signal Q3 based on the first voltage difference VBE corresponding to the VM3 mode during the current output of the third feedback charge signal Q3. In other words, the voltage output module 10 may have already switched its current voltage output mode to another voltage output mode before outputting the first feedback charge signal Q1 or the third feedback charge signal Q3.
[0182] It can be understood that when the feedback module 20 outputs the first feedback charge signal Q1 once according to the first voltage difference VBE and the first voltage signal Vbep, the charge feedback mode of the feedback module 20 and the voltage output mode of the voltage output module 10 will both be switched. For example, refer to Figure 37, wherein, after the feedback module 20 outputs the first feedback charge signal Q1 once according to the first voltage signal Vbep and the first voltage difference VBE, the voltage output mode of the voltage output module 10 is switched from VM2 mode to VM3 mode, and at the same time, the charge feedback mode of the feedback module 20 is switched from QM3 mode to QM4 mode.
[0183] In some embodiments of the present application, for example, for an embodiment in which the feedback charge signal QR can be a positive charge signal or a negative charge signal, after the feedback module 20 outputs the first feedback charge signal Q1 or the third feedback charge signal Q3 of the first polarity once, the voltage output module 10 switches the current voltage output mode to the next voltage output mode; before the feedback module 20 outputs the first feedback charge signal Q1 or the third feedback charge signal Q3 of the second polarity once, the voltage output module 10 switches the current voltage output mode to the previous voltage output mode; wherein the first polarity is opposite to the second polarity, the next voltage output mode is the voltage output mode in which the voltage output module 10 is when the feedback module 20 outputs the feedback charge signal QR next time, and the previous voltage output mode is the voltage output mode in which the voltage output module 10 is when the feedback module 20 outputs the first feedback charge signal Q1 or the third feedback charge signal Q3 of the first polarity last time.
[0184] As an example, referring to FIG38 , when outputting the Mth feedback charge signal QR, the voltage output module 10 is in the voltage output mode VM2, and the feedback module 20 outputs a positive third feedback charge signal Q3 according to the first voltage difference VBE corresponding to the voltage output mode VM2. After outputting the positive third feedback charge signal Q3, the voltage output module 10 switches the voltage output mode VM2 to the voltage output mode VM3. When outputting the M+1th feedback charge signal QR, since the negative third feedback charge signal Q3 is output according to the first voltage difference VBE, the negative third feedback charge signal Q3 is output. Before outputting the M+2th feedback charge signal QR, the voltage output module 10 switches the voltage output mode VM3 to the voltage output mode VM2, and the feedback module 20 outputs a negative third feedback charge signal Q3 according to the first voltage difference VBE corresponding to the voltage output mode VM2; when outputting the M+2th feedback charge signal QR, the feedback module 20 continues to output a positive third feedback charge signal Q3 according to the first voltage difference VBE corresponding to the voltage output mode VM2, and after outputting the positive third feedback charge signal Q3, the voltage output module 10 switches the voltage output mode VM2 to the voltage output mode VM3.
[0185] As another example, referring to FIG. 39 , when outputting the Mth feedback charge signal QR, the feedback module 20 outputs a positive third feedback charge signal Q3 once according to the first voltage difference VBE corresponding to the voltage output mode VM2; when outputting the M+1th feedback charge signal QR, the feedback module 20 outputs a second feedback charge signal Q2 once according to the first voltage signal Vbep corresponding to the voltage output mode VM3, and the feedback module 20 maintains the voltage output mode VM3; and when outputting the M+2th feedback charge signal QR, the feedback module 20 outputs a negative third feedback charge signal Q3 once according to the first voltage difference VBE corresponding to the voltage output mode VM2; and when outputting the M+3th feedback charge signal QR, the feedback module 20 continues to output a positive third feedback charge signal Q3 once according to the first voltage difference VBE corresponding to the voltage output mode VM2.
[0186] It can be seen that in the process of outputting the Mth feedback charge signal QR and the M+1th (M+2th) feedback charge signal QR, the feedback module 20 outputs the third feedback charge signal Q3 of the first polarity and the second polarity respectively in the same voltage output mode (VM2) according to the first voltage difference VBE, thereby offsetting the mismatch of the third feedback charge signal Q3 in the voltage output mode (VM2) through positive and negative charges; and in the process of outputting the M+2th (M+3th) feedback charge signal QR, the feedback module 20 continues to output the third feedback charge signal Q3 with positive charge according to the first voltage difference VBE corresponding to the voltage output mode VM2, thereby facilitating the accumulation of the charge mismatch of the first polarity (or second polarity) corresponding to the first voltage difference VBE of all voltage output modes, thereby avoiding the phenomenon that the mismatch of some voltage output modes is not accumulated due to the offset of positive and negative charges, thereby making it impossible to perform gain calibration on the measurement circuit.
[0187] In some embodiments of the present application, the voltage output module 10 switches the current voltage output mode to the next voltage output mode in a first preset order based on multiple voltage output modes; the voltage output module 10 switches the current voltage output mode to the previous voltage output mode in a second preset order based on multiple voltage output modes; wherein the first preset order is opposite to the second preset order.
[0188] For example, referring to Figure 38 or Figure 39, when the voltage output module 10 needs to switch to the next voltage output mode, the voltage output module 10 switches the current voltage output mode to the next voltage output mode in the order of VM1-VM8; conversely, when the voltage output module 10 needs to switch to the previous voltage output mode, the voltage output module 10 switches the current voltage output mode to the next voltage output mode in the order of VM8-VM1.
[0189] For another example, referring to FIG40 , when the voltage output module 10 needs to switch to the next voltage output mode, the voltage output module 10 switches the current voltage output mode VM1 to the next voltage output mode VM2 in the clockwise order of VM1-VM12; referring to FIG41 , when the voltage output module 10 needs to switch to the previous voltage output mode, the voltage output module 10 switches the current voltage output mode VM2 to the previous voltage output mode VM1 in the counterclockwise order of VM12-VM1.
[0190] It should be noted that when the charge feedback module 200 continuously outputs the first feedback charge signal Q1 or the third feedback charge signal Q3 of the second polarity according to the first voltage difference VBE from the beginning, the voltage output mode of the voltage output module 10 can be switched to the previous voltage output mode according to the second preset order in the initial voltage output mode. For example, referring to Figure 40, if the initial voltage output mode of the voltage output module 10 is VM1, when the charge feedback module 200 outputs the feedback charge signal QR for the first time, since the third feedback charge signal Q3 with the second polarity is output according to the first voltage difference VBE this time, before outputting the third feedback charge signal Q3 with the second polarity, the voltage output module 10 switches the voltage output mode VM1 to the voltage output mode VM12, and the feedback module 20 outputs the third feedback charge signal Q3 of the second polarity once according to the first voltage difference VBE corresponding to the voltage output mode VM12.
[0191] In some embodiments of the present application, refer to Figure 42, wherein the voltage output mode of the voltage output module 10 includes a first polarity voltage output mode and a second polarity voltage output mode, the first polarity voltage output mode is a voltage output mode corresponding to the first feedback charge signal Q1 of the first polarity or the third feedback charge signal Q3 output by the feedback module 20, and the second polarity voltage output mode is a voltage output mode corresponding to the first feedback charge signal Q1 of the second polarity or the third feedback charge signal Q3 output by the feedback module 20.
[0192] Specifically, after the feedback module 20 outputs the first feedback charge signal Q1 of the first polarity or the third feedback charge signal Q3 once, the voltage output module 10 switches the current voltage output mode to the next first polarity voltage output mode. The next first polarity voltage output mode is the voltage output mode in which the voltage output module 10 is when the first feedback charge signal Q1 or the third feedback charge signal Q3 of the first polarity is output next time.
[0193] For example, referring to Figure 43, when outputting the Mth feedback charge signal QR, the voltage output module 10 is in the first polarity voltage output mode VM2, and the feedback module 20 outputs the third feedback charge signal Q3 of the first polarity according to the first voltage difference VBE corresponding to the voltage output mode VM2; and when outputting the M+ath (a≥1) feedback charge signal QR, the voltage output module 10 is in the first polarity voltage output mode VM3, so the feedback module 20 outputs the third feedback charge signal Q3 of the first polarity according to the first voltage difference VBE corresponding to the voltage output mode VM3, so as to accumulate the charge mismatch of the first polarity corresponding to the first voltage difference VBE of all voltage output modes.
[0194] On the contrary, after the feedback module 20 outputs the first feedback charge signal Q1 of the second polarity or the third feedback charge signal Q3 once, the voltage output module 10 switches the current voltage output mode to the next second polarity voltage output mode. The next second polarity voltage output mode is the voltage output mode in which the voltage output module 10 is when the feedback module 20 outputs the first feedback charge signal Q1 of the second polarity or the third feedback charge signal Q3 next time.
[0195] For example, referring to Figure 44, when outputting the Mth feedback charge signal QR, the voltage output module 10 is in the second polarity voltage output mode VM1, and the feedback module 20 outputs the third feedback charge signal Q3 of the second polarity according to the first voltage difference VBE corresponding to the voltage output mode VM1; and when outputting the M+bth (b≥1) feedback charge signal QR, the voltage output module 10 is in the second polarity voltage output mode VM2, so the feedback module 20 outputs the third feedback charge signal Q3 of the second polarity according to the first voltage difference VBE corresponding to the voltage output mode VM2, so as to accumulate the second polarity charge mismatch amount corresponding to the first voltage difference VBE of all voltage output modes.
[0196] That is, when the feedback module 20 outputs the first feedback charge signal Q1 or the third feedback charge signal Q3 of the first polarity, the output mode of the voltage output module 10 is switched according to the first polarity voltage output mode, so that the feedback module 20 can output the first feedback charge signal Q1 or the third feedback charge signal Q3 of the first polarity based on the first voltage difference VBE corresponding to all voltage modes, thereby accumulating the charge mismatch of the first polarity. When the feedback module 20 outputs the first feedback charge signal Q1 or the third feedback charge signal Q3 of the second polarity, the output mode of the voltage output module 10 is switched according to the second polarity voltage output mode, so that the feedback module 20 can output the first feedback charge signal Q1 or the third feedback charge signal Q3 of the second polarity based on the first voltage difference VBE corresponding to all voltage modes, thereby accumulating the charge mismatch of the second polarity. After obtaining the charge mismatch of the first polarity and the charge mismatch of the second polarity, the charge mismatch of the first polarity can be subtracted from the charge mismatch of the second polarity to obtain the total charge mismatch and quantify the mismatch voltage.
[0197] It is understandable that before the feedback module 20 outputs the first feedback charge signal Q1 of the first polarity or the third feedback charge signal Q3, the voltage output module 10 switches the current voltage output mode to the next first polarity voltage output mode; or, before the feedback module 20 outputs the first feedback charge signal Q1 of the second polarity or the third feedback charge signal Q3, the voltage output module 10 switches the current voltage output mode to the previous first polarity voltage output mode.
[0198] As an exemplary description of the working process of the charge feedback module 200 of the present application, referring to FIG45, when outputting the M-th feedback charge signal QR, the voltage output module 10 is in the second polarity voltage output mode VM1, and the feedback module 20 outputs the third feedback charge signal Q3 of the second polarity according to the first voltage difference VBE corresponding to the voltage output mode VM1; and when outputting the M+1-th feedback charge signal QR, the second polarity voltage output mode is changed from the VM1 voltage output mode to the VM2 voltage output mode. Since the third feedback charge signal Q3 of the first polarity is output this time, the voltage output module 10 is in the first polarity. In the voltage output mode VM2, the feedback module 20 outputs the third feedback charge signal Q3 of the first polarity according to the first voltage difference VBE corresponding to the first polarity voltage output mode VM2. When outputting the M+2th feedback charge signal QR, the first polarity voltage output mode is changed from the VM2 voltage output mode to the VM3 voltage output mode. Since the third feedback charge signal Q3 of the second polarity is output this time, the voltage output module 10 is in the second polarity voltage output mode VM2. The feedback module 20 outputs the third feedback charge signal Q3 of the second polarity according to the first voltage difference VBE corresponding to the second polarity voltage output mode VM2.
[0199] As another exemplary illustration of the working process of the charge feedback module 200 of the present application, referring to Figure 46, when outputting the Mth feedback charge signal QR, the voltage output module 10 is in the first polarity voltage output mode VM2, and the feedback module 20 outputs the third feedback charge signal Q3 of the first polarity according to the first voltage difference VBE corresponding to the voltage output mode VM2; and when outputting the M+1th feedback charge signal QR, the feedback module 20 outputs the third feedback charge signal Q3 of the second polarity according to the first voltage difference VBE corresponding to the second polarity voltage output mode VM1; and when outputting the M+2th feedback charge signal QR, the feedback module 20 outputs the third feedback charge signal Q3 of the first polarity according to the first voltage difference VBE corresponding to the first polarity voltage output mode VM3.
[0200] In some embodiments of the present application, the voltage output module 10 switches the current voltage output mode to the next first polarity voltage output mode according to a third preset order based on multiple voltage output modes; the voltage output module 10 switches the current voltage output mode to the next second polarity voltage output mode according to a fourth preset order based on multiple voltage output modes; wherein the third preset order is the same as or opposite to the fourth preset order.
[0201] For example, referring to Figure 45 or Figure 46, when the voltage output module 10 needs to switch to the next first polarity voltage output mode, the voltage output module 10 switches the current voltage output mode to the next voltage output mode in the order of VM1-VM8; conversely, when the voltage output module 10 needs to switch to the next second polarity voltage output mode, the voltage output module 10 can switch the current voltage output mode to the next voltage output mode in the order of VM8-VM1, so that in the process of the feedback module 20 outputting the feedback charge signal QR N times, the voltage output module 10 switches to each voltage output mode at least once.
[0202] In some embodiments of the present application, referring to FIG. 47 , the input module 100 includes an input control module 30 and a signal conversion module 40 . The input terminal of the input control module 30 is used to receive the voltage to be measured Vin, the output terminal of the input control module 30 is connected to the input terminal of the signal conversion module 40, and the output terminal of the signal conversion module 40 is connected to the input terminal of the metering module 300 . The input control module 30 is used to control whether to input the voltage to be measured Vin to the signal conversion module 40 , and the signal conversion module 40 is used to convert the voltage to be measured Vin into a measurement charge signal Qin . Specifically, when the metering module 300 is in voltage measurement mode, the input control module 30 inputs the voltage to be measured Vin to the signal conversion module 40 . When the metering module 300 is in temperature measurement mode, the input control module 30 stops inputting the voltage to be measured Vin to the signal conversion module 40 to prevent the voltage to be measured Vin from affecting the temperature measurement function of the measurement circuit.
[0203] Taking full differential input as an example, refer to FIG48 , where the input control module 30 includes switches S7 and S8, and the signal conversion module 40 includes switches S1 , switch S2 , switch S3 , switch S4 , switch S5 , switch S6 、Capacitor Cs1 and capacitor Cs2 When the metering module 300 is in the voltage measurement mode, the switches S7 and S8 are closed, and the switch S1 is closed at the same time. , switch S4 , open switch S2 , switch S2 , switch S5 and switch S6 At this time, the voltage to be measured Vin+, Vin- on the capacitor Cs1 and capacitor Cs2 Charge; on capacitor Cs1 and capacitor Cs2 After charging is completed, turn off switch S1 , switch S4 , and close switch S2 , switch S2 , capacitor Cs1 and capacitor Cs2 A fully differential measurement charge signal Qin can be provided to the metering module 300 ; conversely, when the metering module 300 is in the temperature measurement mode, the switch S7 and the switch S8 remain in the open state, thereby stopping providing the voltage to be measured Vin to the signal conversion module 40 when performing temperature measurement.
[0204] It is understandable that the switch S1 can also be , switch S2 Used as an input control module 30 to control whether to provide the measurement charge signal Qin to the metering module 300.
[0205] In some embodiments of the present application, referring to FIG. 49 , the metering module 300 includes an integration module 310 , a comparison module 320 , and a counting module 330 .
[0206] Specifically, the integration module 310 is configured to integrate the feedback charge signal QR and the charge signal to be measured Qin and output an integrated voltage signal VI. For example, the integration module 310 may include a capacitor that utilizes the charge accumulation property of the capacitor to integrate the feedback charge signal QR and the charge signal to be measured Qin; alternatively, the integration module 310 may include an integrator that utilizes the integrator to integrate the feedback charge signal QR and the charge signal to be measured Qin.
[0207] The comparison module 320 is configured to compare the integrated voltage signal VI with a preset voltage Vref and output a control signal VC after the integration module 310 integrates at least one measured charge signal Qin and / or at least one feedback charge signal QR. The control signal VC is configured to control the feedback module 20 to output a feedback charge signal QR of a first polarity or a feedback charge signal QR of a second polarity, such that the integration result of the integration module 310 integrating the N feedback charge signals QR and the N to-be-measured charge signals Qin is less than the preset voltage Vref and close to or equal to zero, thereby facilitating voltage or temperature measurement. Exemplarily, the comparison module 320 may include a 1-bit comparator, a 1.5-bit comparator, or the like.
[0208] The counting module 330 is configured to record the number of times the feedback module 20 outputs feedback charge signals of different polarities and types based on the control signal VC. For example, when performing voltage measurement, the counting module 300 may record a first number of integrations of the first polarity measurement charge signal Qin and a second number of integrations of the second polarity first feedback charge signal Q1, so as to calculate the voltage value of the measured voltage Vin based on the first number, the second number, and the first feedback charge signal Q1. For another example, when performing temperature measurement, the counting module 300 may record a third number of integrations of the third polarity second feedback charge signal Q2 and a fourth number of integrations of the fourth polarity third feedback charge signal Q3.
[0209] As an example, refer to FIG. 50 , which shows a circuit structure diagram of a measurement circuit in an embodiment of the present application. In this diagram, only a portion of the circuit structure of the feedback module 20 is shown for the charge feedback module 200, and the counting module 330 of the metering module 300 is omitted. This diagram is used as an example to illustrate the process of measuring voltage in the present application.
[0210] At the beginning of the measurement, switches S7 and S8 are closed, and switch S1 、S4 Close, switch S5 、S6 Disconnect, switches S13 and S15 are disconnected, switches S14 and S16 are closed, switches S01 and S02 are disconnected, switch S03 is closed, and the voltage Vin signal to be measured is applied to the capacitor cs1. 、cs2 Charging; waiting capacitor cs1 、cs2 After charging is completed, switch S1 、S2 Disconnect, switch S5 、S6 Close, switches S13 and S15 are closed, switches S14 and S16 are open, and capacitor cs1 、cs2 Due to the change in voltage at both ends, the charge signal Qin to be measured is released, and its size is (V0-Vcm)*cs, where cs is cs1 、cs2 The capacitor of the integration module 310 receives the negatively charged measurement charge signal Qin, and causes the output signal voltage of the integration module 310 to increase. When the output signal voltage of the integration module 310 is higher than the preset reference voltage, the comparator outputs a high-level control signal VC, and a cycle is completed.
[0211] At the beginning of the next cycle, the input module 100 repeats the above-mentioned input process of the negatively charged measured charge signal Qin, and the charge feedback module 200 receives the high-level control signal VC output by the comparator in the previous cycle, and controls switches S01, S02 and switch S03, so that the charge feedback module 200 outputs a positively charged first feedback charge signal, thereby reducing the output signal voltage of the integrator. When the output signal voltage of the integration module 310 is lower than the preset reference voltage, the comparator outputs a low-level control signal VC, and a cycle is completed.
[0212] At the beginning of the next cycle, the input module 100 repeats the above-mentioned input process of the negatively charged charge signal to be measured Qin, and the charge feedback module 200 receives the low-level control signal VC output by the comparator in the previous cycle, and controls switches S01, S02 and switch S03, so that the charge feedback module 200 outputs a negatively charged first feedback charge signal, thereby reducing the output signal voltage of the integrator. When the output signal voltage of the integration module 310 is still lower than the preset reference voltage, the comparator outputs a high-level control signal VC, and a cycle is completed.
[0213] After the above process is repeated multiple times, the measurement charge signal Qin and the voltage to be measured Vin can be calculated based on the number of integrations of the positive and negative first feedback charge signals and the number of integrations of the positive measurement charge signal Qin.
[0214] Similarly, the temperature measurement process of the present application is exemplarily described using FIG. 50 as an example:
[0215] At the start of temperature measurement, switch S1 、S4 The switches S13 and S15 remain in the off state, and the switches S14 and S16 are closed. By controlling the switches S01, S02, and S03, the charge feedback module 200 outputs a second feedback charge signal Q2 with a negative charge, thereby increasing the output signal voltage of the integrator. When the output signal voltage of the integration module 310 is higher than the preset reference voltage Vref, the comparator outputs a high-level control signal VC, and a cycle is completed.
[0216] At the beginning of the next cycle, the charge feedback module 200 receives the high-level control signal VC output by the comparator in the previous cycle and controls switches S01, S02, and S03, causing the charge feedback module 200 to output a third feedback charge signal Q3 with a positive charge. As a result, the output signal voltage of the integrator decreases. When the output signal voltage of the integration module 310 is higher than the preset reference voltage, the comparator outputs a high-level control signal VC, completing a cycle.
[0217] After the above process is repeated multiple times, the second feedback charge signal or the third feedback charge signal can be calculated based on the number of feedbacks of the negatively charged second feedback charge signal and the positively charged third feedback charge signal, thereby obtaining the voltage value of the first voltage signal Vbep or the first voltage difference VBE, and thus obtaining the corresponding temperature value.
[0218] The present application also provides a chip including the voltage detection circuit or temperature detection circuit described above. An integrated circuit (IC) is also referred to as a chip, and the chip may be, but is not limited to, a SOC (System on Chip) chip or a SIP (System in Package) chip.
[0219] The embodiment of the present application 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 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 panel, 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, smartphones, laptops, tablet computers, and POS (point of sales terminal) machines. Smart home devices include, but are not limited to, smart sockets, smart rice cookers, smart sweepers, and smart lights.
[0220] The above is only a preferred embodiment of the present application and does not constitute any form of limitation to the present application. Although the present application has been disclosed as above with preferred embodiments, it is not intended to limit the present application. Any person skilled in the art can make some changes or modifications to equivalent embodiments using the technical contents disclosed above 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 measuring circuit, characterized in that, include: An input module, the input module is used to output a measurement charge signal according to a voltage to be measured; a charge feedback module, the charge feedback module being used to output a feedback charge signal, the feedback charge signal comprising at least one of a first feedback charge signal, a second feedback charge signal and a third feedback charge signal, the first feedback charge signal having a temperature coefficient of zero, the second feedback charge signal having a first temperature coefficient, the third feedback charge signal having a second temperature coefficient, one of the first temperature coefficient and the second temperature coefficient being a positive temperature coefficient, and the other being a negative temperature coefficient; a metering module, wherein the metering module has a voltage measurement mode and a temperature measurement mode. When the metering module is in the voltage measurement mode, the metering module is used to integrate the measured charge signal of the first polarity by a first number, and integrate the first feedback charge signal of the second polarity by a second number, and calculate the measured charge signal according to the first number, the second number, and the first feedback charge signal; When the metering module is in the temperature measurement mode, the metering module is used to integrate the second feedback charge signal of the third polarity for a third number of times, and integrate the third feedback charge signal of the fourth polarity for a fourth number of times, and calculate the second feedback charge signal or the third feedback charge signal according to the third number of times, the fourth number of times and the zero temperature coefficient feedback charge signal; Among them, the first polarity is opposite to the second polarity, the third polarity is opposite to the fourth polarity, the charge integration result of the metering module is less than a preset voltage, and the zero temperature coefficient feedback charge signal, the second feedback charge signal and the third feedback charge signal satisfy a preset relationship.
2. The measurement circuit according to claim 1, characterized in that, The sum of the charge amounts of the second feedback charge signal and the third feedback charge signal is equal to the charge amount of the zero temperature coefficient feedback charge signal; Furthermore, the sum of the charge amounts of the second feedback charge signal and the third feedback charge signal does not change with temperature.
3. The measurement circuit according to claim 1, characterized in that, The charge feedback module includes a voltage output module and a feedback module; The voltage output module is used to output a first voltage signal and a second voltage signal, and there is a first voltage difference between the first voltage signal and the second voltage signal; The feedback module is used for outputting the feedback charge signal according to the first voltage signal and / or the first voltage difference; The first voltage signal has a third temperature coefficient, the first voltage difference has a fourth temperature coefficient, the third temperature coefficient has the same polarity as the first temperature coefficient, and the fourth temperature coefficient has the same polarity as the second temperature coefficient.
4. The measuring circuit according to claim 3, characterized in that, The feedback module is configured to output the first feedback charge signal according to the first voltage signal and the first voltage difference; or The feedback module is used to output the second feedback charge signal according to the first voltage signal; or The feedback module is used for outputting the third feedback charge signal according to the first voltage difference.
5. The measuring circuit according to claim 4, characterized in that The feedback module has multiple charge feedback modes, and the mismatch capacitance of the feedback module in at least two of the charge feedback modes is unequal; Whenever the feedback module outputs the first feedback charge signal or the second feedback charge signal once, the feedback module switches the current charge feedback mode to another charge feedback mode, so that the feedback module outputs the feedback charge signal under different charge feedback modes; Whenever the feedback module outputs the third feedback charge signal once, the charge feedback mode of the feedback module remains unchanged.
6. The measurement circuit according to claim 5, characterized in that The feedback module includes a plurality of charge feedback sub-modules, and each charge feedback sub-module includes a first sub-switch, a second sub-switch, a third sub-switch and a first capacitor, and the mismatch capacitors of each charge feedback sub-module are not equal; The first end of the first sub-switch is used to access the first voltage signal, and the second end of the first sub-switch is connected to the first end of the first capacitor; The first end of the second sub-switch is used to access the second voltage signal, and the second end of the second sub-switch is connected to the first end of the first capacitor; The first end of the third sub-switch is used to connect to the ground terminal, and the second end of the third sub-switch is connected to the first end of the first capacitor.
7. The measurement circuit according to claim 4, characterized in that The first voltage signal has a first mismatch voltage, the voltage output module has multiple voltage output modes, and the first mismatch voltages of the first voltage signals output by the voltage output module in at least two of the voltage output modes are not equal; Whenever the feedback module outputs the first feedback charge signal or the third feedback charge signal once, the voltage output module switches the current voltage output mode to another voltage output mode, so that the feedback module outputs the feedback charge signal according to the first voltage difference generated by different voltage output modes; Whenever the feedback module outputs the second feedback charge signal once, the voltage output mode of the voltage output module remains unchanged.
8. The measurement circuit according to claim 7, characterized in that The voltage output module includes M1 bias current sources, M1 first switches, M1 second switches, N1 third switches, N1 fourth switches and N1 triodes; The first switches and the bias current sources are in one-to-one correspondence, the first end of each first switch is connected to the corresponding bias current source, and the second end of each first switch is connected to the first ends of N1 third switches; The third switches and the triodes are in one-to-one correspondence, and the second end of each third switch is connected to the corresponding triode; The second switches and the bias current sources are in one-to-one correspondence, the first end of each second switch is connected to the corresponding bias current source, and the second end of each second switch is connected to N1 fourth switches; The fourth switches and the triodes are in one-to-one correspondence, and the second end of each fourth switch is connected to the corresponding triode; Wherein, when the voltage output module is in a certain voltage output mode, any M2 of the M1 first switches are closed, and any N2 of the N1 third switches are closed to generate the first voltage signal at the first node between the first switch and the third switch; And any M1 - M2 of the M1 second switches are closed, and any N1 - N2 of the N1 third switches are closed to generate the second voltage signal at a second node between the second switch and the fourth switch.
9. The measuring circuit according to claim 1, characterized in that, The input module includes an input control module and a signal conversion module; The input end of the input control module is used to access the voltage to be measured. The output end of the input control module is connected to the input end of the signal conversion module, and the output end of the signal conversion module is connected to the input end of the measurement module; Wherein, when the measurement module is in the voltage measurement mode, the input control module inputs the voltage to be measured to the signal conversion module; when the measurement module is in the temperature measurement mode, the input control module stops inputting the voltage to be measured to the signal conversion module.
10. The measurement circuit according to claim 1, characterized in that, The measurement module includes an integration module, a comparison module and a counting module; The integration module is used to integrate the feedback charge signal and the measurement charge signal and output an integrated voltage signal; The comparison module is used to compare the integrated voltage signal with the preset voltage and output a control signal after the integration module integrates at least once the measurement charge signal and / or at least once the feedback charge signal. The control signal is used to control the polarity and category of the feedback charge signal output by the feedback module next time; The counting module is used to record the number of times the feedback module outputs the feedback charge signals of different polarities and different categories according to the control signal.
11. A chip, characterized in that, It includes the measurement circuit according to any one of claims 1 to 10.
12. An electronic device, characterized in that, It includes a device main body and the chip according to claim 11 as described above provided on the device main body.
Citation Information
Patent Citations
Temperature sensor and temperature measuring method
CN115356004A
Monitoring device, electronic equipment and monitoring method
CN115420334A
Measuring circuit, chip and electronic equipment
CN117879613A
Temperature sensor circuit
US20230119770A1
Digitizing temperature measurement system
US6869216B1