Double-integral analog-to-digital conversion circuit and analog-to-digital converter
By introducing a parallel structure and a preset resistor into the dual-slope analog-to-digital converter circuit, the problem of slow response speed of the integrating resistor is solved, and high-precision analog-to-digital conversion is achieved.
Patent Information
- Application Number
- CN202420407097.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-04
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2034-03-04
AI Technical Summary
In existing dual-slope analog-to-digital converter circuits, the voltage response speed of the integrating resistor is slow, which leads to a decrease in conversion accuracy. In particular, when the resistance value of the integrating resistor is large, it is difficult to respond quickly to sudden changes in level.
The integration module introduces a structure in which N integrating resistors are connected in parallel. During the negative integration phase, the integrating resistors are connected in parallel with N preset resistors through N-1 first control switches. The node voltage is quickly raised using a preset reference voltage to ensure that the voltage responds quickly to the target value.
The response speed of the integrating resistor is improved, ensuring the conversion accuracy of the analog-to-digital converter circuit, avoiding errors caused by voltage fluctuations, and achieving high-precision analog-to-digital conversion.
Smart Images

Figure CN221961820U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of circuits, in particular to a dual-integral analog-to-digital conversion circuit and an analog-to-digital converter. Background Art
[0002] With the increasing number of application scenarios of analog-to-digital conversion, there are currently many types of analog-to-digital conversion circuits to realize the analog-to-digital conversion process. In particular, dual-integral analog-to-digital converters with high precision and strong anti-power frequency interference capabilities have been widely used in digital measurement and other fields. The dual-integral analog-to-digital converter includes an integration module and a comparison module. It mainly adopts a dual-slope integration method, and sets two input terminals for the integration module, which are respectively connected to the signal to be measured and a preset voltage. The basic principle is to first connect the input terminal of the integration module to the signal to be measured, perform a positive integration of the signal to be measured for a fixed time, and then connect the input terminal of the integration module to the preset voltage, perform a negative integration of the preset voltage, and stop when the integration reaches the preset comparison level. In this process, the integration time of each integration stage will be proportional to the integration voltage of that stage, so the voltage of the signal to be measured can be calculated. Since the integration process of the two stages uses the same integration module, the influence of parameter changes of various devices in the integration module on the final conversion accuracy will be offset, so the dual-integral analog-to-digital converter has a very high conversion accuracy.
[0003] However, in actual applications, in order to ensure the accuracy of the analog-to-digital conversion process and to ensure the accurate integration process of the small voltage signal to be measured, the integration resistor module in the integration module is usually implemented using an integration resistor with a large resistance value. However, when the resistance value of the integration resistor is large, when the sampling level at the input end of the analog-to-digital conversion circuit suddenly changes, the voltage change on the integration resistor is difficult to respond quickly, thereby affecting the conversion accuracy of the entire analog-to-digital conversion process. Utility Model Content
[0004] The purpose of the utility model is to provide a dual-integration type analog-to-digital conversion circuit and an analog-to-digital converter. The first control switch that is turned on will quickly pull up the node voltage at both ends of each integral resistor, so that when the dual-integration type analog-to-digital conversion circuit enters the negative integration stage, the voltage of the integral resistor can quickly respond to the target value, avoiding the voltage mutation caused by the level of the integral resistor responding from zero to the target value, improving the response speed of the integral resistor, and ensuring the conversion accuracy of the entire analog-to-digital conversion circuit.
[0005] In order to solve the above technical problems, the utility model provides a dual-integral analog-to-digital conversion circuit, comprising:
[0006] An integration module, wherein a first input terminal is connected to a first preset voltage, a second input terminal is connected to a signal to be measured, and a third input terminal is connected to a second preset voltage; an integration resistor module in the integration module includes N integration resistors, and the N integration resistors are connected in series; N is a positive integer greater than 1; the second preset voltage is greater than the first preset voltage; the integration module is used to switch its own input terminal to switch the dual-integration type analog-to-digital conversion circuit into different integration stages, and the integration stage of the dual-integration type analog-to-digital conversion circuit includes a positive integration stage and a negative integration stage;
[0007] A comparison module, wherein the positive input terminal is connected to the output terminal of the integration module, the negative input terminal is connected to a third preset voltage, and the output terminal serves as the output terminal of the dual-integration type analog-to-digital conversion circuit; the second preset voltage is greater than the third preset voltage;
[0008] N preset resistors, the N preset resistors are connected in series, and a first end of the series circuit is connected to a preset reference voltage, and a second end is grounded;
[0009] N-1 first control switches, wherein the first control switches are used to be turned on when the dual-integration analog-to-digital conversion circuit enters a negative integration phase, so that the N integral resistors and the N preset resistors are connected in parallel one by one through the turned-on first control switches.
[0010] Optionally, the integration module includes the integration resistance module, a switching switch, an integrator and an integration capacitor, the first switching end of the switching switch is connected to a first preset voltage, the second switching end is connected to a signal to be measured, the third switching end is connected to a second preset voltage, and the positive input end of the integrator is connected to the third preset voltage; the first end of the integration capacitor is respectively connected to the output end of the integrator and the positive input end of the comparison module; the first end of the circuit of N integration resistors connected in series in the integration resistance module is connected to the fixed end of the switching switch, and the second end is respectively connected to the negative input end of the integrator and the second end of the integration capacitor.
[0011] Optionally, the dual-integral analog-to-digital conversion circuit further includes a preprocessing circuit, the input end of the preprocessing circuit is connected to the signal to be measured, and the output end of the preprocessing circuit is connected to the second switching end of the switching switch;
[0012] The preprocessing circuit is used to reduce the voltage of the signal to be tested.
[0013] Optionally, the preprocessing circuit includes a first resistor and a second resistor, the first end of the first resistor is connected to the signal to be measured, the second end is respectively connected to the first end of the second resistor and the second switching end of the switching switch, and the second end of the second resistor is grounded.
[0014] Optionally, the dual-integration type analog-to-digital conversion circuit further includes a counter, the input end of the counter is connected to the output end of the comparison module, and is used to measure the integration time of the negative integration phase of the dual-integration type analog-to-digital conversion circuit.
[0015] Optionally, the dual-integral analog-to-digital conversion circuit further includes a clock module, an output end of the clock module is connected to an input end of the counter, and is used to provide a preset clock signal for the counter.
[0016] Optionally, a digital-to-analog converter is further included, wherein the input end of the digital-to-analog converter is connected to the output end of the counter, and is used to restore the output signal of the dual-integral analog-to-digital conversion circuit to an analog signal.
[0017] Optionally, the dual-integration type analog-to-digital conversion circuit also includes a second control switch and a voltage divider module, wherein the first end of the second control switch is respectively connected to the second end of the circuit of N integral resistors connected in series, the second end of the integral capacitor and the negative input end of the integrator, and the second end is connected to the first end of the voltage divider module, and the second end of the voltage divider module is respectively connected to the first end of the integral capacitor, the output end of the integrator and the positive input end of the comparison module.
[0018] Optionally, the voltage divider module is a voltage divider resistor.
[0019] In order to solve the above technical problems, the utility model also provides a dual-integral analog-to-digital converter, including a plurality of dual-integral analog-to-digital conversion circuits as described above.
[0020] The utility model provides a dual-integration type analog-to-digital conversion circuit, comprising an integration module, a comparison module, N preset resistors and N-1 first control switches, and the integration resistance module of the integration module comprises N integration resistors. When the dual-integration type analog-to-digital conversion circuit enters a negative integration stage, the first control switch is turned on, and the turned-on first control switch will connect the N integration resistors and the N preset resistors in parallel one by one. The parallel connection structure makes the node voltages at both ends of each integration resistor in the integration module consistent with the node voltages at both ends of the corresponding preset resistors. At the same time, since the first end of the circuit after the N preset resistors are connected in series is connected to a preset reference voltage, the turned-on first control switch will quickly increase the node voltages at both ends of each integration resistor, so that when the dual-integration type analog-to-digital conversion circuit enters a negative integration stage, the voltage of the integration resistor can quickly respond to a target value, avoiding a voltage mutation caused by the voltage level of the integration resistor responding from zero to the target value, improving the response speed of the integration resistor, and ensuring the conversion accuracy of the entire analog-to-digital conversion circuit.
[0021] The utility model also provides a dual-integral analog-to-digital converter, which has the same beneficial effects as the above dual-integral analog-to-digital conversion circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the prior art and the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 A schematic diagram of the structure of a dual-integral analog-to-digital conversion circuit provided by the utility model;
[0024] Figure 2 A schematic diagram of the structure of another dual-integral analog-to-digital conversion circuit provided by the utility model;
[0025] Figure 3 A schematic diagram of signal waveforms during the operation of a dual-integral analog-to-digital conversion circuit provided by the utility model;
[0026] Figure 4 The utility model provides a schematic diagram of the comparison between the restored signal and the signal to be measured of a dual-integral analog-to-digital conversion circuit. DETAILED DESCRIPTION
[0027] The core of the utility model is to provide a dual-integration type analog-to-digital conversion circuit and an analog-to-digital converter. The turned-on first control switch will quickly pull up the node voltage at both ends of each integral resistor, so that when the dual-integration type analog-to-digital conversion circuit enters the negative integration stage, the voltage of the integral resistor can quickly respond to the target value, avoiding the voltage mutation caused by the level of the integral resistor responding from zero to the target value, improving the response speed of the integral resistor, and ensuring the conversion accuracy of the entire analog-to-digital conversion circuit.
[0028] In order to make the purpose, technical solution and advantages of the embodiment of the utility model clearer, the technical solution in the embodiment of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiment of the utility model. Obviously, the described embodiment is a part of the embodiment of the utility model, not all of the embodiments. Based on the embodiment of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0029] Please refer to Figure 1 , Figure 1 This is a schematic diagram of the structure of a dual-integral analog-to-digital conversion circuit provided by the utility model; please refer to Figure 2 , Figure 2A schematic diagram of another dual-integral analog-to-digital conversion circuit provided by the utility model; To solve the above technical problems, the utility model provides a dual-integral analog-to-digital conversion circuit, including:
[0030] Integral module 1, the first input terminal is connected to the first preset voltage, the second input terminal is connected to the signal to be measured, and the third input terminal is connected to the second preset voltage; the integral resistor module in the integral module 1 includes N integral resistors R1, and the N integral resistors R1 are connected in series; N is a positive integer greater than 1; the second preset voltage is greater than the first preset voltage; the integral module 1 is used to switch its own input terminal to switch the dual-integral type analog-to-digital conversion circuit into different integration stages, and the integration stage of the dual-integral type analog-to-digital conversion circuit includes a positive integration stage and a negative integration stage;
[0031] Comparison module 2, the positive input terminal is connected to the output terminal of integration module 1, the negative input terminal is connected to the third preset voltage, and the output terminal serves as the output terminal of the dual-integration analog-to-digital conversion circuit; the second preset voltage is greater than the third preset voltage;
[0032] N preset resistors R2, the N preset resistors R2 are connected in series, and a first end of the series circuit is connected to a preset reference voltage, and a second end is grounded;
[0033] N-1 first control switches S1 are used to be turned on when the dual-integration analog-to-digital conversion circuit enters the negative integration phase, so that the N integral resistors R1 and the N preset resistors R2 are connected in parallel one by one through the turned-on first control switches S1.
[0034] Specifically, the integration stage of the dual-integration type analog-to-digital conversion circuit includes a positive integration stage and a negative integration stage. In the integration process of the integration module 1, all the integration resistors R1 as a whole serve as the integration resistor module corresponding to the integration module 1. The dual-integration type analog-to-digital converter in the prior art and the present application both include the integration module 1, and the integration module 1 is also provided with an integration resistor module. However, in the present application, a plurality of series-connected integration resistors R1 are used to implement the integration resistor module in the integration module. After the measured signal is connected to the second input terminal of the integration module 1, the integration module 1 will connect the second input terminal to the circuit for normal operation. At this time, the integration module 1 will start to integrate the measured signal. After a preset positive integration time, the positive integration stage ends. This process is the integration process of the measured signal. Afterwards, the integration module 1 will disconnect the second input terminal and connect the third input terminal to the circuit. At this time, the integration module 1 will connect the third input terminal to the circuit. The second preset voltage connected is negatively integrated. At the beginning of the negative integration stage, the input signal of the integration module 1 suddenly changes to the second preset voltage connected to the third input terminal. Therefore, the integration resistor R1 at the input terminal of the integration module 1 also needs to quickly respond to the target value corresponding to the second preset voltage so that the integration module 1 can normally enter the negative integration stage. Therefore, at the beginning of the negative integration stage, that is, the moment when the integration module 1 is connected to the third input terminal, it is necessary to synchronously control all the first control switches S1 to be turned on. At this time, the turned-on first control switch S1 will connect each integration resistor R1 with the corresponding preset resistor R2, and the node voltage between each preset resistor R2 will have a certain initial voltage due to the existence of the preset reference voltage. Therefore, at the moment when the first control switch S1 is closed, the node voltage between each integration resistor R1 will quickly remain consistent with the node voltage between the corresponding preset resistor R2, such as Figure 2 As shown, the turned-on first control switch S1 makes the E node voltage between the preset voltage R2 equal to the E' node voltage between the integral resistors R1, the F node voltage between the preset voltage R2 equal to the F' node voltage between the integral resistors R1, and the G node voltage between the preset voltage R2 equal to the G' node voltage between the integral resistors R1, so that the node voltages between the integral resistors R1 also reach a certain initial voltage. At this time, the integral resistor R1 only needs to respond from the initial voltage to the target value corresponding to the second preset voltage, which greatly improves the response speed of the integral resistor R1. The conduction process of the first control switch S1 only needs to last for a period of time, and the conduction time of the first control switch S1 can be set and adjusted according to the actual application situation.
[0035] Furthermore, the integration stage of the dual-integral analog-to-digital conversion circuit also includes a preparation stage. In the preparation stage, the integration module 1 will connect the first input terminal to discharge the integration capacitor in the integration module 1, and then disconnect the first input terminal after the integration capacitor is discharged to adjust the integration initial point of the integration module 1. The specific types and implementation methods of the integration module 1, the comparison module 2, the preset resistor R2 and the first control switch S1 are not particularly limited in this application. The integration module 1 can be implemented by an integrator composed of an operational amplifier and its peripheral circuits; the comparison module 2 can be implemented by a comparison circuit such as a comparator; the preset resistor R2 can be implemented by a fixed resistor or a variable resistor, and the resistance and type of the N preset resistors R2 can be consistent or inconsistent; the first control switch S1 can be implemented by various types of switch devices such as power electronic switch tubes. The dual-integral analog-to-digital conversion circuit can be implemented in the form of an integrated circuit or in the form of a chip. The circuit implementation form of the dual-integral analog-to-digital conversion circuit is not particularly limited in this application.
[0036] It is not difficult to understand that in order to effectively improve the response speed of the integrating resistor R1, when setting the preset reference voltage, it can be determined according to the specific voltage value of the second preset voltage. The preset reference voltage is usually smaller than the second preset voltage, but the voltage value is close to the second preset voltage; at the same time, since the second preset voltage is the integration object of the negative integration process, the second preset voltage needs to be greater than the first preset voltage, the third preset voltage and the preset reference voltage at the same time; at the same time, in the process of setting the third preset voltage, the value of the third preset voltage needs to be greater than the maximum voltage of the signal to be measured to ensure the accurate positive integration process of the integration module 1; the specific values and implementation methods of the first preset voltage, the second preset voltage, the third preset voltage and the preset reference voltage are not particularly limited in this application, and can be directly implemented using a preset voltage source, or can be implemented using various types of reference voltage generating circuits.
[0037] Taking into account that in the prior art, since the resistance of the integrating resistor R1 is usually large, when the level connected to it undergoes a large mutation, the voltage cannot respond and transmit quickly and evenly, which may cause the actual negative integral integral voltage to be lower than the preset value, ultimately affecting the accuracy of the ADC (analog-to-digital conversion). The present application sets a voltage-dividing path consisting of N preset resistors R2 and N-1 first control switches S1, and at the same time sets the integrating resistor R1 to a structure of N resistors connected to the N preset resistors R2 in a one-to-one correspondence. The instantaneous opening of the voltage-dividing path can enable the voltage of the integrating resistor R1 to respond quickly to the target value; in the preparation stage, the role of the first preset voltage connected to the first input terminal is similar. In the preparation stage, the level connected to the integrating resistor R1 is set to the first preset voltage to avoid the level connected to the integrating resistor R1 directly changing from zero to the sampling voltage connected to the signal to be measured at the beginning of the positive integration stage; the access level of the integrating resistor R1 at the beginning of the two integration stages is adjusted, thereby improving the response speed of the integrating resistor R1 and the integrating module 1, and ensuring the high accuracy of the final analog-to-digital conversion circuit.
[0038] As a specific embodiment, Figure 2 As shown, the dual-integral analog-to-digital conversion circuit includes a switch K in the integration module 1, an integration resistor R1, an integration capacitor, an integration amplifier U1 as an integrator U1, a reference comparator U2 as a comparison module 2, a preset voltage-dividing path, a voltage-dropping resistor R3 as a voltage-dividing module, a counter 11 and a clock source, etc. The signal to be measured is connected to the B end of the switch K, and the signal to be measured is used as the sampling signal V of the integration module 1. IN , the first preset level V REF1 and the second preset level V REF2 The other two switching ends of the switch K are connected to the fixed end of the switch K and the first end of the circuit after the integration resistor R1 is connected in series. The tail end of the circuit after the integration resistor R1 is connected in series is connected to the negative input end of the integration amplifier U1. The preset reference voltage V REF0 The first end of the first control switch S1 is connected to the head end of the preset voltage-dividing path, the tail end of the preset voltage-dividing path is grounded, the preset voltage-dividing path is connected in parallel with the integrating resistor R1 through the first control switch S1, the first end of the integrating capacitor is connected to the negative input end of the integrating amplifier U1, the second end of the integrating capacitor is connected to the output end of the integrating amplifier U1, the first end of the second control switch S2 is connected to the negative input end of the integrating amplifier U1, the second end of the second control switch S2 is connected to the first end of the voltage-dropping resistor, the second end of the voltage-dropping resistor is connected to the output end of the integrating amplifier U1, and the positive input end of the integrating amplifier U1 is connected to the third preset level V REF3 The output of the integrating amplifier U1 is connected to the positive input of the reference comparator U2, and the negative input of the reference comparator U2 is connected to the third preset level V REF3The working stages of the analog-to-digital conversion circuit include the preparation stage, the positive integration stage and the negative integration stage; the specific working processes of the three working stages are described as follows.
[0039] Preparation stage: In this stage, the switch K is first closed to point A, that is, the first switching end of the switch K, and the first preset level V REF1 It is connected to the integral resistor R1 and the second control switch S2 is controlled to be closed, so that the integral capacitor is discharged through the voltage drop resistor. After the discharge is completed, the second control switch S2 is opened.
[0040] Positive integration stage: First, close the switch K to point B, that is, the second switching end of the switch K, so that the sampling signal V IN Connected to the integrating resistor R1, the integrating amplifier U1 starts to sample the signal V IN , that is, the signal to be measured begins to integrate. When the output V OUT ≥V REF3 When the reference comparator U2 output is positive, the counter 11 starts timing. When the timing of the counter 11 passes the preset constant positive integration time T1, the positive integration stage stops. According to the principle of the integrator U1, the integral formula of the positive integration stage can be obtained as follows: Where τ=R1C. R1 is the resistance value of all the integral resistors R1, C is the capacitance value of the integral capacitor, and the value of the third preset voltage needs to be set to be greater than the maximum voltage value of the signal to be measured, that is, V IN <V REF3 , making the integral curve of the positive integral phase positive, and the integral output voltage V after the positive integral phase ends OUT for:
[0041] Negative integration stage: the switch K is closed to point C, that is, the third switching end of the switch K, so as to increase the second preset level V REF2 Connected to the integrating resistor R1, the integrating amplifier U1 starts to adjust the second preset level V REF2 The output voltage of the integration module at the end of the positive integration phase, i.e. The integration starts, and counter 11 starts timing. Since the integration level of the negative integral is always fixed at V REF2 , so the slope of the integral curve is fixed, and the integral formula in the negative integral stage is At this time, due to V REF2 >V REF3 , the integral curve of the integral module is negative. When the output voltage V OUT ≤V REF3 The output of the reference comparator U2 is negative when V OUT =V REF3When the counter 11 stops timing, the negative integral time T2 can be obtained. The calculation formula of the negative integral time T2 is: The sampling signal can be finally calculated based on the positive integration time and the negative integration time. After the negative integration phase is over, the switch K is controlled to close to point A again, and the second control switch S2 is controlled to close, and the preparation phase for the next sampling signal integration is entered. The voltage of the signal to be measured is calculated through the two-stage integration process.
[0042] For details, please refer to Figure 3 , Figure 3 This is a schematic diagram of the signal waveform during the operation of a dual-integral analog-to-digital conversion circuit provided by the utility model; please refer to Figure 4 , Figure 4 This is a schematic diagram of the comparison between the restored signal and the measured signal of a dual-integral analog-to-digital conversion circuit provided by the utility model. Taking a 9-bit dual-integral A / D conversion integrated circuit with a full scale of 2.5V as an example, its resolution Set the first preset level V REF1 =1.2V, the second preset level V REF2 =2.1V, the third preset level V REF3 =1.1V, preset positive integration time T1 = 40.96us, the signal to be measured, i.e. the sampling signal V IN is an ideal sinusoidal input curve with a period of 2 seconds and an amplitude of 2.5V. The waveform diagram of each signal in the integration process of the analog-to-digital conversion circuit is as follows Figure 3 As shown, curve AD_ON is the enable signal for controlling the analog-to-digital conversion process. When this signal is a high-level signal, the analog-to-digital conversion circuit works normally; curve INTEGRETE_ON is the enable signal of the integrator U1. When this signal is a low-level signal, the integrator U1 starts to integrate; curve COMP_OUT is the output curve of the reference comparator U2. The output voltage V OUT ≥V REF3 When it is a high level signal, it is a low level signal in other cases; the curve VREF_ON is the enable signal of the preset voltage-dividing path, that is, the enable signal of the first control switch S1. When this signal is a high level signal, the first control switch S1 is turned on and the preset voltage-dividing path is turned on; the curve V REF1 The voltage curve of the first preset level is shown in FIG. REF2 The voltage curve of the second preset level is shown in FIG. REF3 The voltage curve of the third preset level is shown in FIG. IN is the level change curve of the signal to be measured connected to the integration resistor R1; curve T2 is the change curve of the duration of the negative integration stage, when it is high, it means that the analog-to-digital conversion circuit is in the negative integration stage; curve V OUTis the output voltage curve of integrator U1.
[0043] When t=t1, the analog-to-digital conversion circuit begins to enter the preparation stage, controlling the switch K to close to point A, and the 1.2V V REF1 Connected to the integrating resistor R1, the second control switch S2 is controlled to close, the integrating capacitor is discharged, and the output curve of the integrator U1 is as shown in the curve V OUT As shown in paragraph ①.
[0044] When t=t2, the analog-to-digital conversion circuit enters the positive integration stage, controls the switch K to close to point B, and converts the sampling signal V IN Connected to the integrating resistor R1, the integrating amplifier U1 starts to sample the signal V IN Integrate. Since there is a voltage drop ΔV in the voltage drop resistor, the starting point of integration module 1 is not V REF3 , but V REF3 -ΔV, so the actual starting point of integration is 1.067V. Since this starting point of integration is lower than V REF3 , which ensures that at the beginning of the positive integration, the reference comparator U2 will not be affected by V REF3 The jitter offset causes the positive and negative output abnormalities of the comparison results. Only after the positive integration process has been carried out for a period of time, when the output V OUT ≥V REF3 When the reference comparator U2 outputs a high level signal, the counter 11 starts timing. When the counter 11 counts the full T1 time, the positive integration stops. The output curve of the integrator U1 is shown as curve V OUT As shown in paragraph ②.
[0045] When t=t3, the control switch K is closed to point C, and V REF2 Connect to the integrating resistor R1 to start the V REF2 Negative integration is performed, and the counter 11 starts timing. At this time, the first control switch S1 is closed at the same time, and the preset resistor R2 in the preset voltage-dividing path is connected in parallel with the integrating resistor R1 in a one-to-one correspondence, so that the preset voltage of each node of the preset resistor R2 is close to the voltage of each node of the integrating resistor R1. The opening time of the first control switch S1 is set to 20ns. The first control switch S1 is turned on for 20ns and then turned off. The instantaneous opening of the voltage-dividing path can enable the voltage of the integrating resistor R1 to quickly respond to the target value; when t=t4, the output V OUT ≤V REF3 When the reference comparator U2 outputs a low level signal, the counter 11 stops timing, and the negative integral time can be measured as T2. The output curve of the integrator U1 in the negative integral stage is shown in the curve V OUT As shown in section ③, the sampling signal V INThe double-integral analog-to-digital conversion process is completed. At this time, the switch K can be controlled to close to point A again, and the second control switch S2 can be controlled to close, and the integral capacitor is discharged to prepare for the conversion process of the next sampling signal. The conversion process of other sampling signals is the same as that of the sampling signal V IN Consistent, such as Figure 3 As shown, V IN1 、V IN2 、V IN3 They represent three different sampling signals respectively. The whole sampling conversion process lasts for 460us. The analog-to-digital conversion circuit performs sampling and integration conversion every 10ms, and the conversion rate is 100sps.
[0046] It should be noted that Figure 4 This is a comparison diagram between the output result of the dual-integral analog-to-digital conversion circuit and the signal to be measured. The curve with a small step is V OUT , V OUT The restored signal is the output result of the double-integral analog-to-digital conversion circuit after the digital-to-analog conversion circuit is set. Since the time interval of each double-integral conversion is 10ms, the final restored output curve is in the shape of small steps. The smooth curve is the signal to be measured, that is, V IN , V IN is an ideal sinusoidal input curve with a period of 2 seconds and an amplitude of 2.5V, that is, the signal to be measured input to the dual-integral analog-to-digital conversion circuit. It is not difficult to find that the output result of the dual-integral analog-to-digital conversion circuit is basically consistent with the signal waveform of the signal to be measured. Therefore, the dual-integral analog-to-digital conversion circuit proposed in this application has a small error and can accurately calculate the voltage of the signal to be measured.
[0047] The utility model provides a dual-integration type analog-to-digital conversion circuit, comprising an integration module 1, a comparison module 2, N preset resistors R2 and N-1 first control switches S1, and the integration resistance module of the integration module 1 comprises N integration resistors R1, when the dual-integration type analog-to-digital conversion circuit enters a negative integration stage, the first control switch S1 is turned on, and the turned-on first control switch S1 will connect the N integration resistors R1 and the N preset resistors R2 in parallel one by one, and the parallel connection structure makes the node voltages at both ends of each integration resistor R1 in the integration module 1 consistent with the node voltages at both ends of the corresponding preset resistor R2, and at the same time, because the first end of the circuit after the series connection of the N preset resistors R2 is connected to the preset reference voltage, the turned-on first control switch S1 will quickly pull up the node voltages at both ends of each integration resistor R1, so that when the dual-integration type analog-to-digital conversion circuit enters a negative integration stage, the voltage of the integration resistor R1 can quickly respond to a target value, avoid the voltage mutation caused by the voltage level of the integration resistor R1 responding from zero to the target value, improve the response speed of the integration resistor R1, and ensure the conversion accuracy of the entire analog-to-digital conversion circuit.
[0048] Based on the above embodiments:
[0049] As an optional embodiment, the integration module 1 includes an integration resistance module, a switching switch K, an integrator U1 and an integration capacitor, the first switching end of the switching switch K is connected to a first preset voltage, the second switching end is connected to a signal to be measured, the third switching end is connected to a second preset voltage, and the positive input end of the integrator U1 is connected to the third preset voltage; the first end of the integration capacitor is respectively connected to the output end of the integrator U1 and the positive input end of the comparison module 2; the first end of the circuit in which N integration resistors R1 in the integration resistance module are connected in series is connected to the fixed end of the switching switch K, and the second end is respectively connected to the negative input end of the integrator U1 and the second end of the integration capacitor.
[0050] It is not difficult to understand that the integration module 1 usually includes an integrator U1, an integration resistor module and an integration capacitor. The integrator U1 realizes the integration process of the measured signal by cooperating with the integration resistor module and the integration capacitor and utilizing the characteristic of gradually accumulating voltage during the charging process of the integration capacitor; at the same time, in order to facilitate the integration module 1 to switch different input terminals, a switching switch K can also be set in the integration module 1 to realize the switching operation of the integration module 1 in different working stages; the specific types and implementation methods of the switching switch K, the integrator U1 and the integration capacitor are not particularly limited in this application, and the integrator U1 can be implemented using an integrating operational amplifier U1 composed of an operational amplifier.
[0051] Specifically, a switching switch K can be set to realize the switching process of multiple input terminals of the integration module 1, further improving the specific implementation method of the switching operation of the integration module 1. At the same time, an integrator U1 and an integration capacitor need to be set in the integration module 1 to effectively realize the integration process of the sampling signal to complete the normal working process of the dual-integration type analog-to-digital conversion circuit. The entire circuit structure is simple and easy to implement, which is conducive to the simple implementation of the entire analog-to-digital conversion circuit.
[0052] As an optional embodiment, the dual-integral analog-to-digital conversion circuit further includes a preprocessing circuit, the input end of the preprocessing circuit is connected to the signal to be measured, and the output end of the preprocessing circuit is connected to the second switching end of the switching switch K;
[0053] The preprocessing circuit is used to reduce the voltage of the signal to be tested.
[0054] Considering that when multiple channels are set to receive different signals to be tested, the signal sizes may be different, and sometimes the signal size ranges vary greatly, even exceeding the range of the preset comparison reference level of the comparator U2, resulting in a large integration error or failure to integrate. The dual slope integrating analog-to-digital converter in the prior art can usually only collect and convert single channels, and is subject to many limitations in practical applications. The present application further adds a preprocessing circuit on the input side of the integration module 1. The preprocessing circuit, as a scaling circuit, will first step down the voltage of the signal to be tested, so that the voltage of the signal to be tested becomes smaller than the third preset voltage V REF3 range, so that the dual-integral analog-to-digital conversion circuit provided by the present application can be applied to multi-channel acquisition signals of different sizes, and the integral conversion process of multiple signals can be further realized in the integral stage by controlling the timing and the like. The present application does not make any special restrictions on the specific implementation of the preprocessing circuit.
[0055] Specifically, by adding a preprocessing circuit to perform voltage reduction processing on the signal to be tested, it is ensured that the voltage of the sampling signal input to the integration module 1 is always maintained in a range less than the third preset voltage, so as to ensure the accurate implementation of the integration process of the dual-integration type analog-to-digital conversion circuit, and further improve the conversion accuracy of the entire dual-integration type analog-to-digital conversion circuit.
[0056] As an optional embodiment, the preprocessing circuit includes a first resistor and a second resistor, the first end of the first resistor is connected to the signal to be measured, the second end is respectively connected to the first end of the second resistor and the second switching end of the switching switch K, and the second end of the second resistor is grounded.
[0057] It is not difficult to understand that the preprocessing circuit for voltage reduction processing can be implemented by a voltage divider circuit composed of a first resistor and a second resistor, and the first resistor and the second resistor connected in series can form a simple voltage reduction circuit; the voltage result of the sampling signal finally calculated by the dual-integral analog-to-digital conversion circuit can be restored and calculated to the initial voltage result of the signal to be measured according to the resistance setting of the first resistor and the second resistor; the specific type and implementation method of the first resistor and the second resistor are not particularly limited in this application.
[0058] Specifically, the first resistor and the second resistor connected in series can form a simple step-down circuit, which effectively realizes the step-down processing process of the preprocessing circuit for the signal to be measured. The entire circuit structure is simple and easy to implement. The components used are low-cost and small in size, which is conducive to the simple implementation of the entire analog-to-digital conversion circuit.
[0059] As an optional embodiment, the dual-integration analog-to-digital conversion circuit further includes a counter 11, the input end of the counter 11 is connected to the output end of the comparison module 2, and is used to measure the integration time of the negative integration phase of the dual-integration analog-to-digital conversion circuit.
[0060] It is not difficult to understand that in the process of calculating the voltage size of the signal to be measured by the dual-integration analog-to-digital conversion circuit through the two-stage integration process, it is necessary to use the positive integration time and the negative integration time for calculation, and the positive integration time needs to be consistent with the preset duration of the positive integration stage. Therefore, in the process of integration, it is necessary to set a metering device such as a counter 11 to accurately control the time of the positive integration process and accurately measure the negative integration time, so as to facilitate the final calculation process of the voltage size of the sampling signal and the signal to be measured; the specific type and implementation method of the counter 11 are not particularly limited in this application.
[0061] Specifically, it is necessary to further add a counter 11 to the dual-integration analog-to-digital conversion circuit to achieve accurate control of the duration of the positive integration process and accurate measurement of the negative integration time of the negative integration stage, so as to effectively realize the subsequent calculation process of the voltage size of the signal to be measured, and further improve the working process of the entire dual-integration analog-to-digital conversion circuit.
[0062] As an optional embodiment, the dual-integral analog-to-digital conversion circuit further includes a clock module 12 , the output end of the clock module 12 is connected to the input end of the counter 11 , and is used to provide a preset clock signal for the counter 11 .
[0063] It is not difficult to understand that the counter 11 usually needs to be further coordinated with the clock module 12 as a clock source to achieve accurate measurement of time, and when the first control switch S1, the switching switch K and the second control switch S2 in the dual-integration type analog-to-digital conversion circuit also need the clock module 12 to provide a clock signal, the clock signal provided by the clock module 12 can ensure that the dual-integration type analog-to-digital conversion circuit accurately completes different working stages; the specific type and implementation method of the clock module 12 are not particularly limited in this application.
[0064] Specifically, it is usually necessary to further set up a clock module 12 to cooperate with the counter 11 to achieve accurate control of the duration of the positive integration process and accurate measurement of the negative integration time of the negative integration stage. The clock module 12 can further ensure that the dual-integration type analog-to-digital conversion circuit proceeds through different working stages in an orderly manner, thereby improving the accuracy and reliability of the entire dual-integration type analog-to-digital conversion circuit working process.
[0065] As an optional embodiment, a digital-to-analog converter is further included, and the input end of the digital-to-analog converter is connected to the output end of the counter 11, so as to restore the output signal of the dual-integral analog-to-digital conversion circuit to an analog signal.
[0066] It is not difficult to understand that after the analog-to-digital conversion of the measured signal, an ideal DAC (digital-to-analog converter) can be further added at the next stage of the output of the counter 11 to restore the digital signal after the analog-to-digital conversion to an analog signal. The restored analog signal is also the initial sampling signal V IN , the accuracy of the dual-integral analog-to-digital conversion circuit can be verified by using the restoration process of the digital-to-analog converter, such as Figure 4 As shown, the restored output V OUT With the initial sampling signal V IN The curves are highly consistent, with a maximum error of only 2.5 mV, less than 1 LSB of resolution, indicating that the dual-integral analog-to-digital conversion circuit provided by the present application has excellent measurement accuracy. The present application does not make any special restrictions on the specific type and implementation of the digital-to-analog converter.
[0067] Specifically, in order to verify the measurement accuracy and working accuracy of the dual-integration analog-to-digital conversion circuit provided in the present application, a digital-to-analog converter can be further provided at the output end of the dual-integration analog-to-digital conversion circuit to restore the final output digital signal to an analog signal, so as to compare the analog signal with the initial signal to be measured, thereby verifying the measurement accuracy and working accuracy of the dual-integration analog-to-digital conversion circuit provided in the present application.
[0068] As an optional embodiment, the dual-integration analog-to-digital conversion circuit also includes a second control switch S2 and a voltage divider module R3, the first end of the second control switch S2 is respectively connected to the second end of the circuit of N integral resistors R1 connected in series, the second end of the integral capacitor and the negative input end of the integrator U1, the second end is connected to the first end of the voltage divider module R3, and the second end of the voltage divider module R3 is respectively connected to the first end of the integral capacitor, the output end of the integrator U1 and the positive input end of the comparison module 2.
[0069] Considering that in actual applications, the initial point of integration of the integration module 1 is not zero, but the comparison level preset by the subsequent comparator U2, when the comparison level of the comparator U2 is jittered or slightly offset, it will cause the negative integration time of the integration module 1 to increase or decrease, and ultimately make it difficult for the conversion accuracy of the analog-to-digital conversion circuit to meet the expected requirements. In this application, a second control switch S2 and a voltage divider module R3 are added. At the moment when the dual-integration analog-to-digital conversion circuit starts working, that is, at the beginning of the preparation stage, the second control switch S2 is closed to connect the voltage divider module R3 to the circuit. When the positive integration stage begins, due to the voltage drop ΔV of the voltage divider module R3, the integration starting point of the integration module 1 is not the comparison level V of the comparison module 2. REF3 , but V REF3 -ΔV, so the starting point of integration is lower than V REF3 , the comparator U2 module receives the V OUT <VREF3 , when the positive integral is carried out for a period of time, V OUT =V REF3 , then it will reach V REF3 This is the initial point of integration, so only positive integration is carried out for a period of time, when the output V of the integration module 1 OUT ≥V REF3 The comparison module 2 will output a high level signal when the counter 11 starts timing, and the integration module 1 starts the accurate positive integration process, which can ensure that the reference comparator U2 will not be affected by V REF3 The jitter offset causes the positive and negative output of the comparison result to be abnormal. When the counter 11 counts the full T1 time, the positive integration stops. Therefore, the positive integration stage is an accurate integration process of the T1 duration, and V OUT From V REF3 starts to grow, so after the positive integration phase ends, V OUT There will be no voltage over-high or voltage over-low due to the jitter offset of the comparison level, thereby avoiding the counting error of the subsequent negative integration time caused by the positive integration result being too large or too small due to the jitter offset of the comparison level of the comparator U2. The second control switch S2 can be turned off after the counter 11 starts counting in the positive integration stage. The application does not make any special restrictions on the exact turning-off time of the second control switch S2; the application does not make any special restrictions on the specific type and implementation of the second control switch S2 and the voltage divider module R3.
[0070] Specifically, by adding the second control switch S2 and the voltage divider module R3, the initial integration point of the integration module 1 can be prevented from being affected by the jitter or slight offset of the comparison level of the comparator U2, thereby further improving the accuracy of the entire integration process and ensuring the accuracy of the negative integration time finally measured, thereby improving the accuracy and reliability of the calculation results of the voltage size of the measured signal, and improving the accuracy and reliability of the working process of the entire dual-integration analog-to-digital conversion circuit.
[0071] As an optional embodiment, the voltage dividing module R3 is a voltage dividing resistor.
[0072] It is not difficult to understand that the voltage divider module R3 can be implemented in the form of a simple resistor, and the present application does not make any special restrictions on the specific type and implementation method of the voltage divider resistor.
[0073] Specifically, the function of the voltage divider module R3 can be effectively realized by using the voltage divider resistor, and the structure is simple, easy to realize, low cost, small size, and is conducive to the simple realization of the entire analog-to-digital conversion circuit.
[0074] In order to solve the above technical problems, the utility model also provides a dual-integral analog-to-digital converter, including a plurality of dual-integral analog-to-digital conversion circuits as described above.
[0075] Considering that the analog-to-digital conversion circuit in practical applications may significantly reduce the precision and anti-interference ability of the integral conversion due to the jitter offset of the comparison level of the comparator U2 and the sudden change of the sampling level added to the integral resistor R1, the present application provides a high-precision dual-integral analog-to-digital conversion circuit that can support multiple channels. By increasing the first preset voltage, increasing the voltage divider path and the voltage divider module R3, the precision and anti-interference ability of the dual-integral analog-to-digital conversion circuit can be significantly improved. In addition, it has the characteristics of multi-channel acquisition, high measurement rate, easy integration, and no peripheral components. When multiple dual-integral analog-to-digital conversion circuits are set in the dual-integral analog-to-digital converter, the second input terminal of the integral module 1 in each dual-integral analog-to-digital conversion circuit is connected to different signals to be measured to realize the detection process of multiple signals to be measured, so as to realize a multi-channel dual-integral analog-to-digital converter.
[0076] For an introduction to a dual-integral analog-to-digital converter provided by the present invention, please refer to the above-mentioned embodiment of the dual-integral analog-to-digital conversion circuit, and the present invention will not be described in detail here.
[0077] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0078] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0079] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A dual-integral analog-to-digital conversion circuit, characterized in that: include: An integration module, wherein a first input terminal is connected to a first preset voltage, a second input terminal is connected to a signal to be measured, and a third input terminal is connected to a second preset voltage; The integration resistor module in the integration module includes N integration resistors, and the N integration resistors are connected in series; N is a positive integer greater than 1; the second preset voltage is greater than the first preset voltage; the integration module is used to switch its own input end to switch the dual-integration type analog-to-digital conversion circuit into different integration stages, and the integration stage of the dual-integration type analog-to-digital conversion circuit includes a positive integration stage and a negative integration stage; A comparison module, wherein the positive input terminal is connected to the output terminal of the integration module, the negative input terminal is connected to a third preset voltage, and the output terminal serves as the output terminal of the dual-integration analog-to-digital conversion circuit; The second preset voltage is greater than the third preset voltage; N preset resistors, the N preset resistors are connected in series, and a first end of the series circuit is connected to a preset reference voltage, and a second end is grounded; N-1 first control switches, wherein the first control switches are used to be turned on when the dual-integration analog-to-digital conversion circuit enters a negative integration phase, so that the N integral resistors and the N preset resistors are connected in parallel one by one through the turned-on first control switches.
2. The dual-integral analog-to-digital conversion circuit according to claim 1, characterized in that: The integration module includes the integration resistance module, a switching switch, an integrator and an integration capacitor. The first switching end of the switching switch is connected to a first preset voltage, the second switching end is connected to a signal to be measured, the third switching end is connected to a second preset voltage, and the positive input end of the integrator is connected to the third preset voltage; the first end of the integration capacitor is respectively connected to the output end of the integrator and the positive input end of the comparison module; the first end of the circuit formed by connecting N integration resistors in series in the integration resistance module is connected to the fixed end of the switching switch, and the second end is respectively connected to the negative input end of the integrator and the second end of the integration capacitor.
3. The dual-integral analog-to-digital conversion circuit according to claim 2, characterized in that: The dual-integral analog-to-digital conversion circuit further includes a preprocessing circuit, wherein an input end of the preprocessing circuit is connected to the signal to be measured, and an output end of the preprocessing circuit is connected to the second switching end of the switching switch; The preprocessing circuit is used to reduce the voltage of the signal to be tested.
4. The dual-integral analog-to-digital conversion circuit according to claim 3, characterized in that: The preprocessing circuit includes a first resistor and a second resistor, wherein the first end of the first resistor is connected to the signal to be measured, the second end of the first resistor is respectively connected to the first end of the second resistor and the second switching end of the switching switch, and the second end of the second resistor is grounded.
5. The dual-integral analog-to-digital conversion circuit according to claim 1, characterized in that: The dual-integration analog-to-digital conversion circuit also includes a counter, the input end of which is connected to the output end of the comparison module and is used to measure the integration time of the negative integration phase of the dual-integration analog-to-digital conversion circuit.
6. The dual-integral analog-to-digital conversion circuit according to claim 5, characterized in that: The dual-integral analog-to-digital conversion circuit also includes a clock module, the output end of the clock module is connected to the input end of the counter, and is used to provide a preset clock signal for the counter.
7. The dual-integral analog-to-digital conversion circuit according to claim 5, characterized in that: It also includes a digital-to-analog converter, the input end of which is connected to the output end of the counter, and is used to restore the output signal of the dual-integral analog-to-digital conversion circuit to an analog signal.
8. The dual-integral analog-to-digital conversion circuit according to any one of claims 2 to 4, characterized in that: The dual-integration analog-to-digital conversion circuit also includes a second control switch and a voltage divider module, wherein the first end of the second control switch is respectively connected to the second end of the circuit formed by connecting N integral resistors in series, the second end of the integral capacitor and the negative input end of the integrator, and the second end is connected to the first end of the voltage divider module, and the second end of the voltage divider module is respectively connected to the first end of the integral capacitor, the output end of the integrator and the positive input end of the comparison module.
9. The dual-integral analog-to-digital conversion circuit according to claim 8, characterized in that: The voltage dividing module is a voltage dividing resistor.
10. A dual-integral analog-to-digital converter, characterized in that: It comprises a plurality of dual-integral analog-to-digital conversion circuits as described in any one of claims 1 to 9.
