The present invention relates to a feedback circuit for an operational amplifier, and such a circuit finds application in current to voltage converters as may be found, for example, in digital to analog converters.
It is often necessary to fabricate high accuracy analog integrated circuits. Generally it is desirable to be able to control the gain of such a circuit or its transfer characteristic when performing current to voltage conversion or voltage to current conversion.
It is known to use thin film resistors in such high accuracy analog integrated circuits because of their accuracy and stability over temperature and with respect to time. However variations and imperfections in the fabrication process mean that adjustments may be needed to the resistance provided by these resistors. Often these resistors are laser trimmed to improve their accuracy. However laser trimming has several disadvantages. Firstly, the on-chip resistor which is to be laser trimmed must be relatively large in order to give the laser an easy target to aim at. Secondly laser trimming must be done before the device is encapsulated in its package. Once the component (integrated circuit) has been laser trimmed, its accuracy may still not be fully guaranteed. This is because placing the component in the package, which is usually plastic, can cause further changes in the resistor accuracy and these cannot be trimmed out by the laser. During packaging the chip is normally immersed in the molten plastic that will form its package. The plastic exhibits thermal contraction as it cools and this places stress upon the semiconductor substrate forming the component. It is this stress which causes variations in the component values.
According to a first aspect of the present invention there is provided a feedback circuit for an operational amplifier, the feedback circuit comprising a first impedance element in a current flow path between an output of the operational amplifier and a first node, and
a plurality of impedance elements which are, in response to a control signal, selectively connectable either between the first node and a first input of the operational amplifier, or between the first node and a further node, and the further node and the first input of the operational amplifier are at the same potential such that a voltage at the first node is independent of the control signal.
It is thus possible to provide a feedback circuit in which, assuming that the output voltage of the operational amplifier is held steady, changes to a switchable network of a plurality of impedance elements does not give rise to changes in voltage at an input node to the switchable network because, when viewed from the first node, the impedance of the switchable network from the first node to a reference voltage, usually ground, is unaffected by the configuration of the switchable network. This has the advantage that adjustments to the switchable network result in a linear and predictable change in the transfer characteristic of an amplifier associated with the feedback network.
Preferably the plurality of impedance elements within the switchable network are resistors. The resistors may be arranged to form a digital to analog converter core and, in this regard, an R-2R configuration is advantageous. The R-2R configuration has having a single input and each “2R” resistor extends from adjacent nodes of a series chain of “R” resistors to form an output node, and each output node is selectively connectable to either a first output or a second output of the switchable network. This ensures that, for a given voltage at an input node of the R-2R network, the current passing through the network does not depend on the digital code controlling the network provided that both the first and second outputs are held at a common voltage. The first and second outputs can be held at a shared voltage if they are connected to an operational amplifier as the action of the operational amplifier within a properly formed feedback loop is to hold the potential at its inverting and non-inverting inputs the same. Advantageously the operational amplifier is configured to operate in a “virtual earth” mode.
Advantageously an input, for example the inverting input, of the amplifier is arranged to receive a current from a circuit up-stream of the amplifier, and the feedback network around the amplifier causes the output of the amplifier to assume a voltage such that the entirety of the current can pass through the feedback network to the amplifier output. Thus the amplifier acts as a current to voltage converter.
Advantageously the current to voltage converter may be formed as an output stage within a digital to analog converter.
According to a second aspect of the present invention there is provided a current to voltage converter having an adjustable transfer characteristic, the converter comprising:
According to a third aspect of the present invention there is provided a digital to analog converter including a feedback network according to the first aspect of the present invention.
The present invention will further be described by way of example with reference to the accompanying drawings, in which:
The operational amplifier 4 has a non-inverting input 10 and an inverting input 12. The non-inverting input 10 is generally held at a constant voltage, in this example ground voltage. In use, we can also assume that the voltage an the inverting input 12 of the operational amplifier will also be zero volts. The inverting input 12 is connected to an output terminal of the digital to analog converter 6.
In use, the circuit 6 sinks a current I which is to be converted into a voltage at the output 8 of the operational amplifier, given that no current (theoretically) flows into the non-inverting input 12 of the operational amplifier 4, we can assume that all of the current I must flow through the feedback network 2, and that the output voltage at the output 8 of the operational amplifier will assume whatever voltage is necessary in order to match the current flow through the feedback network 2 to be equal to the current flow to the device 6.
A conventional current to voltage converter would merely comprise a feedback resistor 20 connected between the output 8 of the operational amplifier 4 and its inverting input 12. The performance of the current to voltage converter would then be determined solely by the resistance of the feedback resistor 20. However, as explained above, in monolithically integrated circuits the act of packaging the circuit can create stresses upon the circuit which in turn can effect the value of components therein and can change the value of the feedback resistor 20 from its nominal value. The present invention overcomes this by providing a digitally controllable trimming network as part of the feedback network 2. This is implemented as a gain trimming network, generally designated 22, which is formed in parallel with the feedback resistor 20. The mere act of placing this trimming network 22 in parallel with the resistor 20 immediately reduces the impendence between the output 8 and the inverting input 12, and consequently a correction resistor 24 is added in series with the feedback resistor 20 so as to return the impedance to its nominal value. The trimming network 22 comprises a first impedance 26 in series with a current steering network 28. In this example the first impedance 26 is connected between an input terminal of the current steering network 28 and the output 8 of the operational amplifier. The current steering network, as will be explained in more detail later, effectively has an input terminal 32 connected to a node 30 formed between the network 32 and the first impedance 36 and has first and second output terminals, the first of which, designated 34, is connected to the inverting input 12 of the amplifier 4. The second output terminal, designated 36 and shown in
The feature of the current steering network 28 is that, although the proportion of the current passing from the input 32 to the first output 34 varies in accordance with a control word applied to the current steering network, the impedance of the network, when viewed from its input terminal 32, is invariant with respect to the control word that it receives. As a consequence, if the output voltage of the operational amplifier was held constant, then the voltage occurring at node 30 would also be constant irrespective of the control word supplied to the current steering network. The fact that the current steering network presents a constant impedance when viewed from node 30 means that the gain trim network 22 can trim the gain of the current to voltage converter in a consistent and predictable manner, and more importantly, that the step size of the gain adjustment is linear.
Advantageously a further resistor, in the form of a shunting resistor 36 extends between the first node 30 and the ground connection. It can be seen that the resistors 26 and the parallel combination of the resistor 36 and the current steering network 28 effectively forms a resistive potential divider and hence the value of the shunting resistor 36 can be used to set the step size of the gain correction applied by the current steering network 28.
The R-2R ladder configuration shown in
In use, the control signals for the transistors within the R-2R ladder forming part of the current steering trim array are provided from a trim memory 100. After fabrication and encapsulation the performance of the current voltage converter/or gain of the feedback network is characterised and gain adjustment is effected by changing the trim code supplied to the various transistors within the current steering network. Once the performance of the feedback network, and hence the gain of the amplifier has been adjusted to an acceptable level of performance, the trim code is written into the trim memory. The trim memory may be a rewritable memory, and preferably a non-volatile rewritable memory, such as EEPROM, or it may be a write once non-volatile memory, for example formed by fuses which are blown in order to set the trim code permanently into the trim memory 100.
The current to voltage converter shown in
Where the feedback network is, as shown in
It is thus possible to provide a trimming feedback circuit suitable for use in a current to voltage converter wherein the current drawn by the trimming arrangement does not vary with a digital trim code, and consequently, as shown in