The present invention relates to an operational amplifier (op amp) integrator.
It is known to construct integrator circuits from op amps by connecting a resistor to the input of a transistor circuit and using a capacitor as a feedback element. The ideal integrator has infinite gain and only a single pole when the frequency of the applied signal is zero. However, practical integrator circuits based on a transconductance stage have a zero in the right halfplane when the frequency of the applied signal is equal to the feedback capacitance divided by the transconductance of the transistor.
It is an object of the present invention to provide an improved operational amplifier integrator and particularly to compensate for the right halfplane zero.
According to the present invention there is provided an integrator circuit comprising:
- a transistors stage
- a feedback capacitor connected between the input and the output of the transistor stage;
- a resistor connected to the input of the transistor stage;
- characterised by an additional circuit branch comprising:
- a second capacitor and a second resistor connected in series one with the other and connected between the output of the transistor stage and the inverted input to the integrator circuit.
Preferably two additional circuit branches are provided: one may be connected between the positive input and output of the transistor stage and one connected between the negative input and output. This is particularly useful for balanced amplifier topology. The transistor is an invertor and thus positive input voltages provide negative output voltages and vice versa.
The invention finds particular application in the first filter stage (integrator) in a sigma delta analog to digital conversion circuit. This first filter stage is very hard to design.
For a better understanding of the present invention and to show how the same may be carried into effect, reference will now be made to the accompanying drawings, in which:
FIG. 1 is a circuit diagram of a conventional op amp integrator;
FIG. 2 is a circuit diagram of one embodiment of an op amp integrator according to the present invention;
FIG. 3 is a circuit diagram of a second embodiment of an op amp integrator according to the present invention using balanced amplifier topology;
FIG. 4 is a circuit diagram of a third embodiment of an op amp integrator according to the present invention applied to a sigma delta analog to digital convertor circuit;
FIG. 5 is a series of equations which apply to the known circuit of FIG. 1;
FIG. 6 is a series of equations which apply to the circuit of the invention as shown in FIG. 2.
In FIG. 1 a prior art op amp integrator circuit (transconductance stage) is shown comprising, as is well known to a person skilled in the art, a transistor stage 1 having a tranconductance gm and an internal voltage V+. A feedback capacitor 2 of value C is connected between a inverting output terminal 3 of the transistor and its non-inverting input terminal 4. A resistor 5 of value R is also connected to the non-inverting input terminal 4 to buffer the input voltage Vin. The inverting input terminal 6 is connected to ground. The voltage at the non-inverting output 3 of the transistor stage 1 is Vout.
The current to the feedback capacitor 2 is I2 and this is given by the voltage across the capacitor 2 divided by the total impedence presented by the capacitor 2 and the resistor 5, and is given by equation 1 in FIG. 5. The current flowing through the transistor 1 to ground is I1 as indicated and this is given by the voltage V+ through the transistor stage 1 multiplied by its transconductance gm, as shown by equation 2 in FIG. 5. The internal voltage V+ of transistor stage 1 is given by equation 3.
Since the total current must be preserved in the circuit then the sum of the currents I2 and I1 must be zero, as indicated in equation 4. Thus, substituting equations 1 and 2 in equation 4 results in equation 5. The terms are rearranged in equation 6 showing that there is a zero in the right half plane. This is undesirable.
This zero can be compensated by the extra circuit branch which will be evident from a comparison of the known circuit of FIG. 1 with the new circuit of FIG. 2. The extra circuit branch 20 has a current I3 and comprises a second capacitor 22 and a second resistor 25 connected in series between an inverted input voltage −Vin and the non-inverting output node 3 of the transistor stage 1.
The equations 7 to 13 in FIG. 6 illustrate how the extra circuit branch 20 compensates for the zero in the right half plane.
Equation 7 is the same as Equation 1 in FIG. 5 and gives the value of the current I2 in the feedback branch comprising capacitor 2. Equation 8 gives the current I3 in the xtra circuit branch 20, and equation 9 sums these two currents.
In equation 10 the formula for the internal voltage V+ in the transistor stage 1 is set out and this leads to equation 11, giving the current I1 through the transistor stage 1.
Equation 12 assumes that the current in the three branches must cancel out, ie that the three currents add up to zero, and equation 13 then effectively sums the currents I1, I2 and I3 given by equations 11, 7 and 8 respectively.
In equation 14 the terms are simplified to give an equation for the ratio of the output voltage to the input voltage. As can be seen from a comparison of equation 14 giving this ratio for the new circuit of FIG. 2, with the equation 6 giving the ratio for the known circuit of FIG. 1, the new circuit compensates for the zero in the right halfplane, and this compensation is not dependent on the characteristic of the amplifier.
FIG. 3 illustrates an op amp integrator using balanced amplifier topology, which is well known to persons skilled in the art. The bias amplifier is a transconductance so that a positive input voltage leads to a current sink at the output and hence a negative voltage at the output. The circuit is essentially the same as that in FIG. 2 but the circuit elements are repeated on the other side of the transistor stage 31 essentially in mirror image. Thus a first input voltage Vin is connected via a first input resistor 35 a to a first input terminal 34 of transistor stage 31. A first feedback capacitor 32 a is connected between the first input terminal 34 and a first output terminal 33 at which a first output voltage Vout appears.
An negative input voltage −Vin is connected via a second input resistor 35 b to a second input terminal 36 of transistor stage 31. A second feedback capacitor 32 b is connected between the second input terminal 36 and the second output terminal 37 at which a negative output voltage −Vout appears.
Two extra circuit branches, each comprising a capacitor and a resistor in series, are provided. A first extra circuit branch 320 a comprises a capacitor 322 a and a resistor 325 a. This connects the negative input voltage −Vin to the first output terminal 33 at which the positive output voltage Vout appears. A second extra circuit branch 320 b comprises a capacitor 322 b and a resistor 325 b. This connects the positive input voltage Vin to the output terminal 37 at which the negative output voltage −Vout appears.
In FIG. 4 a circuit diagram is presented wherein the invention is applied to the first stage of a sigma delta analog to digital convertor. This circuit comprises the circuit elements shown in FIG. 3 and denoted by the same reference symbols and some additional resistors and output voltage lines. The additional resistors have a different value R2 to the resistors R1 shown in the previous figures. Each is connected between respective resistors R1 and capacitors C and an additional output voltage line. Thus resistor 41 connects resistor 325 a to analog output voltage line 45 on which the positive analog voltage VDAC appears. Resistor 42 connects input terminal 34 of transistor stage 31 to output line 45 (VDAC).
Likewise resistor 43 connects resistor 325 b to analog output voltage line 46 on which a negative analog voltage −VDAC appears. Resistor 44 connects input terminal 36 of transistor stage 31 to the inverting analog output line 46 (−VDAC).