A new type of absolute value circuit without diode

By using buffer drive circuit, comparator and inverting proportional inversion circuit module in absolute value circuit, the nonlinear distortion and high power consumption problems caused by diodes in absolute value circuit are solved, and a high-precision and low-power circuit is realized Designed for integrated circuit applications.

CN113822086BActive Publication Date: 2024-11-05JIANGNAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111065567.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-10
Publication Date
2024-11-05
Estimated Expiration
2041-09-10

AI Technical Summary

Technical Problem

The existing absolute value circuits have problems such as nonlinear distortion, low accuracy and high power consumption in signal rectification, especially because the diodes have large volume, large area occupancy and high power consumption, which affects the overall performance of the circuit.

Method used

A diode-free absolute value circuit is designed, using buffer drive circuit module, comparator module, inverting proportional inverting circuit module and switch module, control switch opening and closing through comparator, and use operational amplifier and resistor to achieve absolute voltage value. The conversion avoids nonlinear distortion of the diode and reduces the power consumption of the circuit.

Benefits of technology

It realizes an absolute value circuit with high precision and low power consumption, overcomes the problems of low accuracy caused by nonlinear distortion of traditional circuits and current mirror copying. It has a small circuit area and low power consumption, making it suitable for integrated circuit applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113822086B_ABST
    Figure CN113822086B_ABST
Patent Text Reader

Abstract

The present invention provides a novel diode-free absolute value circuit, which belongs to the technical field of integrated circuits. The circuit includes: a buffer driving circuit module, a comparator module, an inverting proportional inversion circuit module, an inverter module and a switch module; the buffer driving circuit module outputs the input voltage signal stably; the comparator module judges the positive and negative output voltage of the buffer driving circuit module, and the judgment result is input into the inverter module and the switch module to control the opening and closing of the switch; the inverting proportional inversion circuit module converts the input negative voltage into a positive voltage, and the final absolute value voltage is output through the switch module. The absolute value circuit of the present application does not include a diode, and the circuit components used will not affect the accuracy of the absolute value circuit. Therefore, the present invention reduces the circuit area and reduces the circuit power consumption while ensuring the circuit accuracy, which is conducive to integration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a novel absolute value circuit without diode, belonging to the technical field of integrated circuits. Background Art

[0002] The absolute value circuit is an operational circuit that can convert positive and negative levels into completely proportional positive values. It can be applied to the input voltage conversion of successive approximation analog-to-digital converters (SAR ADCs), readout circuits of large-scale arrays, average value meters, and automatic control research.

[0003] The absolute value circuit is a high-precision rectifier. Compared with the general rectifier circuit, it uses the high gain characteristics of the operational amplifier to improve the rectification accuracy. The rectifier diode is connected to the feedback loop of the operational amplifier. As long as the signal changes slightly, the diode can be driven to turn on or off. In this way, the signal loss in the dead zone voltage drop of the rectifier diode is much smaller than that of the general rectifier circuit. Therefore, the whole circuit can easily rectify the millivolt signal, and its conversion accuracy is high, with an error of only about 0.1%.

[0004] In the signal rectification of a single power supply circuit, AC rectification of small signals is a problem often encountered in daily work. The existing absolute value circuit is mainly composed of two operational amplifiers and two diodes, which act as a full-wave rectifier. When a positive voltage is input, the first amplifier acts as an inverter with unity gain, and the second amplifier inverts the output again to produce a positive output voltage. When a negative voltage is input, the positive input of the second amplifier moves in the positive direction to a voltage of 2 / 3 of the input, and the second amplifier amplifies this voltage with a gain of 3 / 2 and also produces a positive output voltage equal to the input voltage.

[0005] The above absolute value circuit uses a diode plus an operational amplifier's half-wave and full-wave rectification to output an absolute value voltage, which has a large nonlinear distortion and affects the accuracy. In the actual circuit, the diode is large in size and the circuit area is large, which is not conducive to integration. In addition, the diode has a high power consumption, which causes the absolute value circuit to have a high power consumption.

[0006] Patent CN109002739B proposes a diode-free absolute value circuit, which uses an operational amplifier and a current mirror copy. During operation, a resistor is first used to convert the input voltage into an input current, and then the current mirror copy is used to copy the input current to the output end to form an output current. Finally, a resistor is used again to convert the output current into an output voltage value. Without considering the offset of the operational amplifier and the channel length modulation effect of the P-type MOS tube and the N-type MOS tube, the current mirror copy will have an error of tens of nA of current even if the width-to-length ratio of the MOS tube is large under different loads, which will greatly reduce the voltage value accuracy of the final absolute value circuit. Summary of the invention

[0007] In order to further improve the accuracy of the absolute value circuit, reduce the circuit area and reduce power consumption, the present invention provides a novel diode-free absolute value circuit, characterized in that the diode-free absolute value circuit comprises: a buffer driving circuit module, a comparator module, an inverting proportional inversion circuit module, an inverter module and a switch module;

[0008] The buffer driving circuit module is respectively connected to the comparator module, the inverting proportional inversion circuit module and the switch module; the comparator module is respectively connected to the buffer driving circuit module, the inverter module and the switch module; the inverting proportional inversion circuit module is respectively connected to the buffer driving circuit module and the switch module;

[0009] The buffer driving circuit module is used to output the input voltage signal stably; the comparator module is used to judge the positive or negative of the output voltage of the buffer driving circuit module, and input the judgment result into the inverter module and the switch module to control the opening and closing of the switch; the inverting proportional inversion circuit module converts the input negative voltage into a positive voltage and inputs it into the switch module; the switch module outputs the final voltage.

[0010] Optionally, the buffer driving circuit module includes: an operational amplifier B1; a positive input terminal of the operational amplifier B1 is connected to an external input, and a negative input terminal is connected to an output terminal.

[0011] Optionally, the inverting proportional inversion circuit module includes: a resistor R2, a resistor R3, a resistor R4 and an operational amplifier B2;

[0012] One end of the resistor R2 is connected to the negative input end of the operational amplifier B2; one end of the resistor R3 is connected to the negative input end of the operational amplifier B2 and the resistor R2, and the other end is connected to the output of the operational amplifier B2; one end of the resistor R4 is connected to the positive input end of the operational amplifier B2, and the other end is grounded.

[0013] Optionally, the switch module includes: a switch S1 and a switch S2;

[0014] Optionally, the comparator module includes: a comparator.

[0015] Optionally, the inverter module includes: an inverter.

[0016] Optional,

[0017] The positive input terminal of the operational amplifier B1 is connected to the external input, and the output terminal is respectively connected to the negative input terminal of the operational amplifier B1, the positive input terminal of the comparator, the switch S1, and the resistor R2; the positive input terminal of the comparator is connected to the output terminal of the operational amplifier B2, the negative input terminal is grounded, and the output terminal is respectively connected to the switch S1 and the input terminal of the inverter; the input terminal of the inverter is connected to the output terminal of the comparator, and the output terminal is connected to the switch S2; one end of the resistor R2 is connected to the output terminal of the operational amplifier B2, and the other end is connected to the negative input terminal of the operational amplifier B2 and the resistor R3; one end of the resistor R3 is connected to the resistor R2 and the negative input terminal of the operational amplifier B2, and the other end is connected to the output terminal of the operational amplifier B2 and the switch S2; one end of the resistor R4 is connected to the positive input terminal of the operational amplifier B2, and the other end is grounded.

[0018] Optionally, the comparator is used to compare the input voltage signal, and control the opening and closing of the switch S1 and the switch S2 according to the comparison result;

[0019] Input voltage Vin>0: the output of the comparator is 1, switch S1 is turned on, and switch S2 is turned off;

[0020] Input voltage Vin<0: The output result of the comparator is 0, switch S1 is closed, and switch S2 is opened.

[0021] Optionally, when the input voltage is negative, the negative input value is converted into a positive value in proportion through the inverting proportional inversion circuit module, and the conversion formula is:

[0022]

[0023] Among them, V in is the input voltage, U0 is the converted voltage, and R2 and R3 are the resistance values ​​of the resistors.

[0024] Optionally, the circuit is implemented based on CMOS technology.

[0025] The beneficial effects of the present invention are:

[0026] A novel diode-free absolute value circuit is provided, and a comparator module is used to control the on and off of a switch to control the output of a voltage. The switch of the invention adopts a CMOS dynamic switch, and an inverting proportional inversion circuit module is implemented by an operational amplifier and a resistor, and the final output value is obtained according to the resistor ratio, and these devices will not affect the accuracy of the circuit. Therefore, the invention not only overcomes the problem of nonlinear distortion and low accuracy caused by the traditional absolute value circuit using a diode plus an operational amplifier's half-wave and full-wave rectification to output an absolute value voltage value, but also overcomes the problem of low accuracy caused by the use of a current mirror copy in the existing diode-free absolute value circuit.

[0027] In addition, the present invention only needs to provide current bias to the buffer driving circuit module and the inverting proportional inversion circuit module. These two modules only need to consume about 90uW of power consumption when meeting the absolute value circuit function, which can meet the low power consumption requirements.

[0028] Therefore, the diode-free absolute value circuit of the present invention has high precision, small area, low power consumption and is easy to integrate. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0030] Figure 1 It is a schematic diagram of the structure of the absolute value circuit of the present invention.

[0031] Figure 2 The step signal diagram is input to the absolute value circuit of the present invention.

[0032] Figure 3 This is a waveform diagram of the output voltage of the absolute value circuit of the present invention. DETAILED DESCRIPTION

[0033] In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0034] Embodiment 1:

[0035] This embodiment provides a novel diode-free absolute value circuit, which can convert a provided voltage value with high precision.

[0036] like Figure 1As shown, the novel diode-free absolute value circuit comprises: a buffer driving circuit module, a comparator module, an inverting proportional inversion circuit module, an inverter module and a switch module;

[0037] The buffer driving circuit module includes: an operational amplifier B1;

[0038] The inverting proportional inversion circuit module includes: a resistor R2, a resistor R3, a resistor R4 and an operational amplifier B2;

[0039] The switch module includes: a switch S1 and a switch S2;

[0040] The comparator module includes: a comparator;

[0041] The inverter module includes: an inverter.

[0042] The positive input terminal of the operational amplifier B1 is connected to the external input, and the output terminal is respectively connected to the negative input terminal of the operational amplifier B1, the positive input terminal of the comparator, the switch S1, and the resistor R2; the positive input terminal of the comparator is connected to the output terminal of the operational amplifier B2, the negative input terminal is grounded, and the output terminal is respectively connected to the switch S1 and the input terminal of the inverter; the input terminal of the inverter is connected to the output terminal of the comparator, and the output terminal is connected to the switch S2; one end of the resistor R2 is connected to the output terminal of the operational amplifier B2, and the other end is connected to the negative input terminal of the operational amplifier B2 and the resistor R3; one end of the resistor R3 is connected to the resistor R2 and the negative input terminal of the operational amplifier B2, and the other end is connected to the output terminal of the operational amplifier B2 and the switch S2; one end of the resistor R4 is connected to the positive input terminal of the operational amplifier B2, and the other end is grounded.

[0043] The working principle of the present invention is as follows: the buffer driving circuit module outputs the input voltage signal stably, the comparator determines whether the input voltage is positive or negative, and outputs the digital signal 0, 1 result to control the opening and closing of the switch in the switch module; the positive voltage output by the buffer driving circuit module is directly output through the switch module, and the negative voltage output is first converted into a positive voltage through an inverting proportional inversion circuit, and then output through the switch module.

[0044] The diode-free absolute value circuit provided by the present invention has the following specific working process:

[0045] (I) Buffer drive stage: the external circuit inputs a voltage value V in , passing through the buffer driving circuit module, this module makes the output voltage value more stable.

[0046] (ii) Signal comparison stage: The result output by the buffer drive circuit module, voltage V inThe input is given to the positive input of the comparator, the negative input is grounded, and the output of the comparator is connected to two switches, where the input of switch S2 is connected to an inverter module, so that the two switches can input opposite signals to determine whether the switch is open for the input voltage output. According to the comparator output result, it can be divided into two cases:

[0047] ①V in >0: The comparator output is 1, switch S1 is turned on, and switch S2 is turned off;

[0048] ②V in <0: The comparator output is 0, switch S1 is closed, and switch S2 is open.

[0049] (III) Inverting ratio inversion stage: When the input voltage is negative, V in After the inverting proportional inversion circuit module, the negative input value is converted into a positive value in proportion. The conversion formula is:

[0050]

[0051] Among them, V in is the input voltage, U0 is the converted voltage, and R2 and R3 are the resistance values ​​of the resistors.

[0052] (IV) Output detection stage: According to the output result of the comparator, the two switches are controlled to be turned off. When the voltage input to the comparator is positive, switch S1 is turned on and the positive input voltage is directly output; when the voltage input to the comparator is negative, switch S2 is turned on, and the negative value is converted to a positive value through the inverting proportional inversion circuit and output through switch S2, thus completing the absolute value circuit output process.

[0053] During the simulation stage, a step sampling signal is used to simulate the circuit. The step signal is as shown in the attached figure. Figure 2 As shown in the figure; since the comparator has reset time, some negative input voltages will remain unchanged. The simulation results are shown in the attached figure. Figure 3 shown.

[0054] When simulating the overall circuit, use the following Figure 2 The step voltage signal shown in the figure changes from -80mV to 80mV every 200ns (changes 2mV). During the simulation, the clock control of the comparator is 400ns per cycle (the comparator has a comparison time of 200ns and a reset time of 200ns within one cycle. During the reset time, the comparator does not compare, and the final output result will be consistent with the input value).

[0055] The simulation results are shown in the attached Figure 3As shown, because it is a discrete voltage signal, in the case of macroscopic multivariable simulation, it can be seen that within the comparison time of the comparator, the final output result can accurately achieve the effect of the absolute value circuit within 1mV voltage.

[0056] The absolute value circuit constructed in this embodiment is implemented based on CMOS technology. However, the process simulation of the circuit is not limited to CMOS technology, but is also applicable to other process environments. The power consumption of the circuit is 100μW. The circuit can be applied to research aspects such as input voltage conversion, average value measurement instrumentation, and automatic control of SAR ADC. In addition, the present invention can work normally under a low power supply voltage of 1.2V, meeting the requirements of low-voltage implementation.

[0057] Some steps in the embodiments of the present invention may be implemented using software, and the corresponding software program may be stored in a readable storage medium, such as a CD or a hard disk.

[0058] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A diode-free absolute value circuit, characterized in that: The absolute value circuit comprises: a buffer driving circuit module, a comparator module, an inverting proportional inversion circuit module, an inverter module and a switch module; The buffer driving circuit module is respectively connected to the comparator module, the inverting proportional inversion circuit module and the switch module; the comparator module is respectively connected to the buffer driving circuit module, the inverter module and the switch module; the inverting proportional inversion circuit module is respectively connected to the buffer driving circuit module and the switch module; The buffer driving circuit module is used to stably output the input voltage signal; the comparator module is used to judge the positive or negative of the output voltage of the buffer driving circuit module, and input the judgment result into the inverter module and the switch module to control the opening and closing of the switch; the inverting proportional inversion circuit module converts the input negative voltage into a positive voltage and inputs it into the switch module; the switch module outputs the final voltage; The comparator module comprises: a comparator; The switch module includes: a switch S1 and a switch S2; The comparator module is used to compare the input voltage signal and control the opening and closing of the switch S1 and the switch S2 according to the comparison result; Input voltage Vin>0: the output of the comparator is 1, switch S1 is turned on, and switch S2 is turned off; Input voltage Vin<0: The output result of the comparator is 0, switch S1 is closed, and switch S2 is opened.

2. The diode-free absolute value circuit according to claim 1, characterized in that: The buffer driving circuit module comprises: an operational amplifier B1; a positive input terminal of the operational amplifier B1 is connected to an external input, and a negative input terminal is connected to an output terminal.

3. The diode-free absolute value circuit according to claim 2, characterized in that: The inverting proportional inversion circuit module includes: a resistor R2, a resistor R3, a resistor R4 and an operational amplifier B2; One end of the resistor R2 is connected to the negative input end of the operational amplifier B2; one end of the resistor R3 is connected to the negative input end of the operational amplifier B2 and the resistor R2, and the other end is connected to the output of the operational amplifier B2; one end of the resistor R4 is connected to the positive input end of the operational amplifier B2, and the other end is grounded.

4. The diode-free absolute value circuit according to claim 3, characterized in that: The inverter module includes: an inverter.

5. The diode-free absolute value circuit according to claim 4, characterized in that: The positive input terminal of the operational amplifier B1 is connected to the external input, and the output terminal is respectively connected to the negative input terminal of the operational amplifier B1, the positive input terminal of the comparator, the switch S1, and the resistor R2; the positive input terminal of the comparator is connected to the output terminal of the operational amplifier B2, the negative input terminal is grounded, and the output terminal is respectively connected to the switch S1 and the input terminal of the inverter; the input terminal of the inverter is connected to the output terminal of the comparator, and the output terminal is connected to the switch S2; one end of the resistor R2 is connected to the output terminal of the operational amplifier B2, and the other end is connected to the negative input terminal of the operational amplifier B2 and the resistor R3; one end of the resistor R3 is connected to the resistor R2 and the negative input terminal of the operational amplifier B2, and the other end is connected to the output terminal of the operational amplifier B2 and the switch S2; one end of the resistor R4 is connected to the positive input terminal of the operational amplifier B2, and the other end is grounded.

6. The diode-free absolute value circuit according to claim 1, characterized in that: When the input voltage is negative, the negative value is converted into a positive value in proportion through the inverting proportional inversion circuit module. The conversion formula is: Among them, V in is the input voltage, U0 is the converted voltage, and R2 and R3 are the resistance values ​​of the resistors.

7. The diode-free absolute value circuit according to claim 6, characterized in that: The circuit is implemented based on CMOS technology.