GB2116793A - Variable gain amplifier - Google Patents

Variable gain amplifier Download PDF

Info

Publication number
GB2116793A
GB2116793A GB08303666A GB8303666A GB2116793A GB 2116793 A GB2116793 A GB 2116793A GB 08303666 A GB08303666 A GB 08303666A GB 8303666 A GB8303666 A GB 8303666A GB 2116793 A GB2116793 A GB 2116793A
Authority
GB
United Kingdom
Prior art keywords
output
variable gain
gain
gain amplifier
range
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB08303666A
Other versions
GB2116793B (en
GB8303666D0 (en
Inventor
William C Muellner
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Applied Biosystems Inc
Original Assignee
Perkin Elmer Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Perkin Elmer Corp filed Critical Perkin Elmer Corp
Publication of GB8303666D0 publication Critical patent/GB8303666D0/en
Publication of GB2116793A publication Critical patent/GB2116793A/en
Application granted granted Critical
Publication of GB2116793B publication Critical patent/GB2116793B/en
Expired legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G1/00Details of arrangements for controlling amplification
    • H03G1/0005Circuits characterised by the type of controlling devices operated by a controlling current or voltage signal
    • H03G1/0088Circuits characterised by the type of controlling devices operated by a controlling current or voltage signal using discontinuously variable devices, e.g. switch-operated
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers without distortion of the input signal
    • H03G3/20Automatic control
    • H03G3/30Automatic control in amplifiers having semiconductor devices

Abstract

A variable gain amplifier with digital output which is useful for but not limited to input range selection in chart recorders or other measuring instruments comprises an operational amplifier 5 (Fig. 1) having a feedback network 6 and an analog-to-digital converter connected to an output from a potentiometer 27, 29. For gain selection purposes each selected range is approximated by switching effected by switches SW1, SW2, SW4, SW5, all forming part of a common digital gate device, thereby reducing the number of expensive precision resistors used. A software routine then adjusts the gain, after digitizing, to the correct value for the selected range. Both range switching and gain correction are controlled by a general purpose microprocessor 35 which also is available for other duties in the instrument. The microprocessor determines a respective correction factor or "fudge" factor 1/N for each range and applies it to the digital output of the converter. Thus-corrected A/D output = A/D output + 1/N (A/D output). <IMAGE>

Description

SPECIFICATION Variable gain amplifier This invention relates to variable gain amplifiers capable of being used for the input to instruments used for measurement and recording of data expressed as voltage, current and so forth and including such devices as chart recorders, digital voltmeters and the like This class of instruments usually have means for selecting one of a plurality of input ranges, the most common of which is a manually switched series of voltage dividers which may be in combination with an input amplifier, the gain of which is set by the switching. Switching may also be effected automatically by auto-ranging circuits which select a gain which keeps the displayed readout value within display limits, or in the case of a digital display, shift the decimal point appropriately.
To maintain accuracy from range to range, each range requires a divider branch to establish a voltage or gain ratio appropriate to the particular range. Where a number of ranges are provided in a multi-range instrument the values of the ratios involved may be difficult to provide with low cost resistors of standard commercial values and the number of special valued, high cost resistors may be undesirably large.
The number of special resistors required may be reduced by devising economical switched resistor networks wherein commercial valued resistors may be used, each resistor being in circuit for more than one selected range. However, the approximate ratios so obtained for the several switching modes are unlikely to be exactly the desired ratio values, but deviate therefrom by a significant amount.
This situation is aggravated by the wide tolerances of low cost resistors.
According to the present invention, a variable gain amplifier for the purpose just described, comprises an operational amplifier having a feedback network connected thereto, an analog-to-digital converter associated with the feedback network and computing, means for computing a corrected value for the digitized output delivered by the analog-to-digital converter, utilizing a predetermined correction factor. In this way it is possible to provide the improvement of a micro-processor controlled correction to each of the approximate ratios of such an economical switched circuit to obtain the desired exact ratio. Moreover, the same micro-processor may direct the requisite switching for each range entirely through the use of solid state components so as to avoid the problems associated with moving contacts, relays and the like.The same microprocessor may be used for correction and switching that is responsible for other measurement, computation and control functions of the instrument associated with the amplifier.
A gain controlled amplifier in accordance with the invention may be exemplified by considering it as the input amplifier of a multirange chart recorder of which various functions are micro-processor controlled. Certain aspects of such a chart recorder are described in the co-pending patent application no: 8302031. In this context the input amplifier comprises an operational amplifier arranged in a non-inverting feedback mode. A multi-path resistor network in the feedback and output branch of this amplifier may be switched into a plurality of configurations utilizing semiconductor switches controlled by the microprocessor setting bit values in a peripheral interface adaptor (PIA) latch. The output branch of this resistor network is a divider of which the upper component may be shorted out to change the output by a factor of five.
The output goes from this divider to an analog-to-digital converter (ADC) which converts this output to ditigal form and stores it in a register for subsequent software correction.
Because of the limited number of resistors and switches used in this gain control network the desired exact ratios for the ten gain ratios of this exemplification can only be approximated. An important feature of the operation is a routine that acquires for each range a correction or fudge factor (denoted in the software routine as FUDGE) and multiplies the approximate or raw output from the ADC by this correction factor to secure a corrected digital output value for this range. This corrected value is utilized subsequently in the recorder. The central micro-processor that controls other functions of the recorder directs its attention to this routine at predetermined intervals. The output values, after correction, are stored by the micro-processor for use in the recorder servo routine.
An example of a variable gain amplifier in accordance with the invention will now be described with reference to the accompanying drawings, in which: Figure 1 is a simplified schematic diagram; Figure 2 is a code table for range switching; Figure 3 is a simplified flow chart of the software routine; and Figure 4 is a typical object code for the software routine.
In the schematic diagram of the analog amplifier circuit shown in Fig. 1, an analog signal which is to be measured is applied to the input terminals of a simple filter 1 which minimizes noise spikes and such artifacts and contains the usual offset-balancing resistor 2.
One side, the low side, of the input is normally grounded to the instrument chassis; the other is connected to the plus or non-inverting terminal 3 of a conventional operational amplifier 5 (commonly referred to as an "op amp"). The op amp may typically be one known as Type 07 made by Analog Devices, Inc. or other manufacturers, although other similar types will also be satisfactory for use in the invention.
The output 4 of the op amp 5 is connected to the high side conductor 10 of a switchable feedback network 6. Connected between this high side conductor and ground is a first divider comprising resistor 11 and either resistor 1 3 or resistor 1 5 depending on the state of two mutually exclusive switches labelled SW-4 and SW-5 respectively in the figure.
These switches shown here in functional form are part of the semiconductor switch 1 7 which may be half of the digital gate device known as DG 390 manufactured by Siliconix or other manufacturers in the field. Also connected to the high side conductor 10 is a first shunt resistor 1 9 which may be switched to parallel resistor 11 by the operating switch SW1 of the digital gate device 21. Similarly, a second shunt resistor 23 is also connected to the high side conductor 10 and may be switched to parallel resistor 11 by operating switch SW2 of digital gate device 25. These digital gate devices are each one-quarter of digital gate device DG201 made by the same manufacturer.It will be apparent that the ratio of the voltage appearing at mid point 8 of the divider comprising resistors 11, 19, 25, 1 3 and 1 5 to the voltage appearing at output 4 will take one of several values depending on the states of the switched SW1, SW2. SW4 and SW5. The mid point 8 is returned to the inverting input terminal of the op amp 5 in the usual manner through the conventional offset balancing resistor 1 4 and oscillation suppressing capacitor 1 2. The voltage gain of a feedback amplifier circuit of this type is inversely proportional to the ratio of the voltage at mid point 8 compared to the voltage at output 4 and hence is determined by the states of the switches.
An output divider comprising resistor 27 and resistor 29 is also connected between the high side conductor 10 and ground. A digital gate 34 consisting of one-quarter of device DG201 and functioning as switch SW-3 can short out resistor 27 thus changing the divider ratio by a factor of approximately five.
The mid point 1 2 of this divider is connected to the input of an analog-to-digital converter (ADC) which digitizes the output voltage appearing at point 1 2.
The switching functions effected by the digital gates are determined by a microprocessor 35 which addresses a peripheral interface adaptor 33 (PIA) using the output ports of the PIA as latches. to set the digital gate switches in the open or closed position as determined by a bit code set up by the microprocessor according to the range selected. Fig. 2 shows a table of switch positions and the resulting analog gains corresponding thereto for the illustrative embodiment.
Although the analog gain values resulting from switching may approximate the desired corrected gain values, it has been found it possible to improve the gain accuracy by a software correction applied by the microprocessor to the digitized ADC output value ("raw" ADC output. In the simplest aversion of this software correction, a correction code factor, designated as FUDGE in the software routine, is predetermined for each gain range and stored in memory. The microprocessor secures this code from memory and applies it to the digitized ADC output value using this formula: Corrected ADC Output = Raw ADC Output + 1 /N(Raw ADC Output).
The factor 1 /N is derived by the subroutine from FUDGE and applied using the shift and add routine shown in the flowchart of Fig. 3 and the "FUDGER" service routine object code of Fig. 4. Thus, by a combination of this software routine and a switched hardware resistance network, the desired corrected ADC output is secured.
To exemplify the derivation and use of the FUDGE code consider a range where the analog gain set up by the switched network in the 500 mV range computes to be 3.690.
The analog output voltage is then 1 845 mV.
To simplify this example assume the ADC reference voltage is such that the "raw" ADC output is then also 1 845 mV. Assume also that a corrected ADC ouput of 2000 mV is wanted, equivalent to 2000 counts, for full scale on the recorder. Using the formula above: 2000 = 1845+(1845/N) From this, 1845/N = 2000 - 1845 = 155.
Solving, N = 11.903; 1/N = .08401. In bi nary form this is 00010101. It has been found possible to greatly simplify the software correction routine by the novel and non-obvi ous procedure of reversing this 1 /N value and shifting it one digit to the left, thus securing the code for FUDGE used in the software routine. Performing this operation a value for FUDGE is binary form of 101010000 is formed. This may now be put in one byte as 01010000 by omitting the most significant bit, which will produce an approximate cor rected ADC output of 1 989 from the routine.
Or FUDGE may be extended to two bytes for greater accuracy in which case one can com pute 1 /N to 12 to 16 bits, reverse it and shift left giving the FUDGE code of 1101010000 which will produce a corrected ADC output of 1999.95 from the routine. It is also expedient sometimes to arbitrarily modify FUDGE by inspection, as will be apparent to one familiar with binary numbers, to encode it for a closer result while still staying within one byte. An example of such a case is to use 11010000 for FUDGE which produces 2003.6 for the corrected ADC output. This modification of FUDGE to keep it in one byte may be more generally effective if the software gain correction is arbitrarily increased to a higher value in the same ratio on all ranges; a practice which would also eliminate negative 1 /N values.
Keeping FUDGE in one byte may be very helpful or even necessary if memory space is limited; the shortness of this novel software routine is also helpful with short memories.
The higher software correction may often be selected to eliminate necessity of correction on some ranges. Where the higher software correction is utilized a change of the ADC reference voltage will bring the final output back to the desired value for all ranges, e.g., 2000 mV in this embodiment.
This novel combination of software and hardware gain control makes possible further advantages. In the foregoing simple example it is assumed that resistors of such a precision are used that variation of gain from one instrument to another due to resistor tolerance variations is insignificant. However, it is an additional feature of the invention that by selection or numerical adjustment of the FUDGE code for any range the raw gain error due to resistor variation can be closely corrected through the software routine. Determination of the required FUDGE code value may be made by impressing a known voltage on the analog amplifier input and determining the FUDGE code which will produce the desired corresponding digital output value, thus effecting the correct overall gain. This FUDGE code is then stored in a non-volatile memory for use in the FUDGER sub-routine.
A further extension of the scope of the invention comprises an automatic gain correction routine through the micro-processor each time a range is selected. A known voltage is provided to the analog input. This voltage may be delivered by an internal digitally controlled voltage reference device such as the AD584 Pin Programmable Precision Voltage Reference manufactured by Analog Devices Inc. which has an accuracy of 0.1 percent or better. The micro-processor then reads the raw ADC output as described above and determines the FUDGE code necessary to correct this output, storing the FUDGE code thus determined in RAM. This process is repeated for each range selected and being carried out as often as required can compensate for any temporal variation affecting gain.
It should be apparent that notwithstanding the advantages previously stated of using solid state switching means in the feedback network the essence of this invention can also be practiced by the use of mechanical or manual switching or even, in the case of a single gain range, no switching at all.
Although the operation and features of the preferred embodiment have been described in detail, the invention is in no way limited to the particular use and construction exemplified. In particular it is apparent that this amplifier with software gain control can readily be adapted to many applications where an amplifier of accurately known gain is desired.

Claims (7)

1. A variable gain amplifier comprising an operational amplifier having a feedback network connected thereto, an analog-to-digital converter associated with the feedback network and computing means for computing a corrected value for the digitized output delivered by the analog-to-digital converter, utilizing a predetermined correction factor.
2. A variable gain amplifier according to claim 1 wherein the feedback network comprises a plurality of voltage divider paths including switches to select a plurality of predetermined voltage ratios.
3. A variable gain amplifier according to claim 2 wherein the switches comprise solid state digital switch means.
4. A variable gain amplifier according to claim 3 wherein the digital switch means are actuated by bits in PIA latches controlled by a micro-processor.
5. A variable gain amplifier according to any one of claims 1 to 4 wherein the correction factor is determined by applying a known input voltage to the amplifier and determining the value of correction factor as predetermined from the characteristics of the feedback network.
6. A variable gain amplifier according to any one of claims 1 to 4 wherein the correction factor is determined by applying a known input voltage to the amplifier and determining the value of correction factor which gives the correct overall gain, and storing this correction factor in memory.
7. A variable gain amplifier substantially as described and as illustrated with reference to the accompanying drawings.
GB08303666A 1982-03-03 1983-02-10 Variable gain amplifier Expired GB2116793B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US35440882A 1982-03-03 1982-03-03

Publications (3)

Publication Number Publication Date
GB8303666D0 GB8303666D0 (en) 1983-03-16
GB2116793A true GB2116793A (en) 1983-09-28
GB2116793B GB2116793B (en) 1986-01-29

Family

ID=23393219

Family Applications (1)

Application Number Title Priority Date Filing Date
GB08303666A Expired GB2116793B (en) 1982-03-03 1983-02-10 Variable gain amplifier

Country Status (3)

Country Link
JP (1) JPS58194415A (en)
DE (1) DE3307597C2 (en)
GB (1) GB2116793B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2581492A1 (en) * 1985-05-06 1986-11-07 Inovelf Sa LOGARITHMIC CONVERTERS AND THEIR APPLICATION TO LIGHT MEASUREMENT TRANSMITTED
GB2214736A (en) * 1988-01-27 1989-09-06 Plessey Telecomm Gain control circuit
US5638087A (en) * 1993-01-11 1997-06-10 Sanyo Electric Co., Ltd. Dot matrix type liquid crystal display apparatus

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3511593A1 (en) * 1985-03-27 1986-10-02 CREATEC Gesellschaft für Elektrotechnik mbH, 1000 Berlin Signal-processing apparatus having a level-matching circuit which can be switched over
DE3815010A1 (en) * 1988-04-30 1989-11-09 Leybold Ag CIRCUIT ARRANGEMENT FOR THE COMBINED USE OF AN INDUCTIVE AND A CAPACITIVE DEVICE FOR THE DESTRUCTION-FREE MEASUREMENT OF THE RESISTANT THIN LAYERS
DE19705025A1 (en) * 1997-02-10 1998-08-13 Dueren Fisgus Gottfried Control apparatus with universal amplifier
DE19729464C1 (en) * 1997-07-10 1998-10-01 Hartmann & Braun Gmbh & Co Kg Circuit for output stage for analogue electric variables I & V as proportional voltage

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1342383A (en) * 1970-08-03 1974-01-03 Marconi Co Ltd Signal compression and expansion systems
GB2020499A (en) * 1978-05-09 1979-11-14 Bendix Corp System having a fixed excitation and providing a variable ratio output
GB2035732A (en) * 1978-10-19 1980-06-18 Racal Milgo Inc Automatic gain control circuit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3579138A (en) * 1969-08-25 1971-05-18 American Optical Corp Automatic gain presetting circuit
FR2287811A1 (en) * 1974-10-08 1976-05-07 Cit Alcatel DIGITAL TYPE LEVEL REGULATOR
JPS6030446B2 (en) * 1976-11-26 1985-07-16 シャープ株式会社 High-speed writing digital automatic gain control circuit
JPS5732113A (en) * 1980-08-04 1982-02-20 Advantest Corp Logarithmic amplifier

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1342383A (en) * 1970-08-03 1974-01-03 Marconi Co Ltd Signal compression and expansion systems
GB2020499A (en) * 1978-05-09 1979-11-14 Bendix Corp System having a fixed excitation and providing a variable ratio output
GB2035732A (en) * 1978-10-19 1980-06-18 Racal Milgo Inc Automatic gain control circuit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2581492A1 (en) * 1985-05-06 1986-11-07 Inovelf Sa LOGARITHMIC CONVERTERS AND THEIR APPLICATION TO LIGHT MEASUREMENT TRANSMITTED
EP0201415A1 (en) * 1985-05-06 1986-11-12 INOVELF, Société anonyme dite: Logarithmic converters and their use in the measurement of transmitted light
GB2214736A (en) * 1988-01-27 1989-09-06 Plessey Telecomm Gain control circuit
US5638087A (en) * 1993-01-11 1997-06-10 Sanyo Electric Co., Ltd. Dot matrix type liquid crystal display apparatus

Also Published As

Publication number Publication date
JPS58194415A (en) 1983-11-12
GB2116793B (en) 1986-01-29
DE3307597C2 (en) 1995-06-29
GB8303666D0 (en) 1983-03-16
DE3307597A1 (en) 1983-10-20

Similar Documents

Publication Publication Date Title
US4494212A (en) Variable gain amplifier
EP0802420B1 (en) Impedance measuring apparatus
US4315254A (en) Self-compensating A-D converter
JP3130528B2 (en) Digital to analog converter
US5822225A (en) Self-calibrating data processors and methods for calibrating same
GB2116793A (en) Variable gain amplifier
US4433287A (en) Range switching device for electric meter
US5621310A (en) High frequency calibration circuit
US3685048A (en) Self-calibrating analog to digital converter with predetermined transfer characteristics
KR910008523B1 (en) Sequencial comparator typed analog to digital converter
US4350974A (en) Logarithmic analog-to-digital converter
US4079373A (en) Digital-to-analog conversion apparatus using temperature compensated feedback output amplifier
US4321583A (en) Analogue to digital converter channels
US4300203A (en) Method and means for operating logarithmic circuits
US4621229A (en) Instrument for measuring the moisture content of solids
US4541065A (en) Direct volts calibrator
US4660075A (en) Color information detecting device
US4571095A (en) Apparatus for measuring a temperature
JPH04150519A (en) Digital/analog converter
US4180761A (en) Control device, particularly for controlling the emission current of an X-ray tube
US5206649A (en) Dual flash analog-to-digital converter
US4495462A (en) Current source test circuitry
GB2171270A (en) Low noise high thermal stability attenuator of the integratable type
US4535300A (en) Extended range sample and hold circuit
US3443206A (en) Compensation circuits for voltage dividers

Legal Events

Date Code Title Description
732E Amendments to the register in respect of changes of name or changes affecting rights (sect. 32/1977)
PCNP Patent ceased through non-payment of renewal fee

Effective date: 20020210