Download CN-0161

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Control system wikipedia , lookup

Ohm's law wikipedia , lookup

Ground loop (electricity) wikipedia , lookup

Flip-flop (electronics) wikipedia , lookup

Voltage optimisation wikipedia , lookup

Negative feedback wikipedia , lookup

Current source wikipedia , lookup

Tube sound wikipedia , lookup

Islanding wikipedia , lookup

Fault tolerance wikipedia , lookup

Alternating current wikipedia , lookup

Electronic engineering wikipedia , lookup

Mains electricity wikipedia , lookup

Rectifier wikipedia , lookup

Pulse-width modulation wikipedia , lookup

Dynamic range compression wikipedia , lookup

Bode plot wikipedia , lookup

Switched-mode power supply wikipedia , lookup

Signal-flow graph wikipedia , lookup

Buck converter wikipedia , lookup

Power electronics wikipedia , lookup

Surge protector wikipedia , lookup

Flexible electronics wikipedia , lookup

Oscilloscope types wikipedia , lookup

Schmitt trigger wikipedia , lookup

Amplifier wikipedia , lookup

Metadyne wikipedia , lookup

Two-port network wikipedia , lookup

Oscilloscope history wikipedia , lookup

Immunity-aware programming wikipedia , lookup

Multimeter wikipedia , lookup

Analog-to-digital converter wikipedia , lookup

Integrated circuit wikipedia , lookup

Resistive opto-isolator wikipedia , lookup

Regenerative circuit wikipedia , lookup

Wien bridge oscillator wikipedia , lookup

Opto-isolator wikipedia , lookup

Transcript
VDD
CIRCUIT FUNCTION AND BENEFITS
The circuit offers 1024 different gains, controllable through
an SPI (AD5270) or I2C-compatible (AD5272) serial digital
interface. The ±1% resistor tolerance performance of the
AD5270/AD5272 provides low gain error over the full resistor
range, as shown in Figure 2.
The circuit supports rail-to-rail inputs and outputs for both
single-supply operation at +5 V and dual-supply operation at
±2.5 V and is capable of delivering up to ±150 mA output
current.
In addition, the AD5270/AD5272 has an internal 50-times
programmable memory that allows a customized gain setting at
power-up.
The circuit provides accuracy, low noise, and low THD and is
well suited for signal instrumentation conditioning.
CIRCUIT DESCRIPTION
The circuit employs the AD5270/AD5272 digital rheostat in
conjunction with the AD8615 CMOS operational amplifier,
providing a low cost, compact, variable gain noninverting
amplifier.
The input signal, VIN, is amplified by the AD8615. The op amp
offers low noise, high slew rate, and rail-to-rail inputs and outputs.
The maximum circuit gain is defined in Equation 1.
G = 1+
RAW
R
→ R2 = AW
R2
G–1
(1)
VIN
+2.5V/+5V
R1
3.32kΩ ±1%
V+
VOUT
AD8615
AD8615
V–
R2
4.99kQ ±1%
–2.5V/GND
C1
VSS
10pF
+2.5V/+5V
VDD
VSS
–2.5V/GND
RAW
20kΩ
AD5270/AD5272
SERIAL
INTERFACE
09051-001
This circuit shown in Figure 1 provides a compact, low cost, low
voltage, variable gain noninverting amplifier using the AD5270/
AD5272 digital rheostat in conjunction with the AD8615
operational amplifier. The small package sizes of the AD5270/
AD5272 (10-lead 3 mm × 3 mm × 0.8 mm LFCSP) and the
AD8615 (5-lead TSOT-23), as well as their low cost, present an
industry leading solution to a common analog signal processing
circuit.
Figure 1. Variable Gain Noninverting Amplifier (Simplified Schematic:
Decoupling and All Connections Not Shown)
The maximum allowable current through the AD5270/AD5272
(RAW = 20 kΩ version) is ±3 mA, which limits the maximum
input voltage, VIN, based on the circuit gain as described in
Equation 2.
V IN ≤ 0.003 × R 2
(2)
When the input signal, VIN, is higher than the theoretical
maximum value from Equation 2, R2 should be increased, and
the new gain can be recalculated using Equation 1.
On the other hand, the minimum gain should be calculated to
reduce the error due to the leakage current in the AD5270/
AD5272. To assume a negligible leakage current error, the
current through R2 should be at least 100 times the worst-case
leakage specification of 50 nA . Therefore, the minimum
current through R2 should be 5 µA, which defines the minimum
value for R2, as in Equation 3.
VIN ≥ 5 × 10−6 × R2
www.BDTIC.com/ADI
(3)
90
15
10
1k
GAIN (dBV)
10k
RESISTANCE (Ω)
PHASE, RAW = 100Ω
5
R2 MAX
100
0
PHASE, RAW = 20kΩ
0
PHASE, RAW = 10kΩ
–5
GAIN, RAW = 20kΩ
–10
GAIN, RAW = 10kΩ
–90
–15
10
–180
GAIN, RAW = 100Ω
–20
1
R2 MIN
–25
0.1
PHASE (Degrees)
100k
600
1k
10k
100k
–270
200k
FREQUENCY (Hz)
1
10
100
Figure 4. Gain and Phase vs. Frequency for the AC Input Signal (Vertical Scale
Compressed to Show All Gain Curves)
09051-002
0.01
0.1
1k
INPUT VOLTAGE (mV)
09051-004
Figure 2 shows the possible R2 value range based on the input
voltage to the op amp, assuming these conditions.
Figure 2. R2 Value Range vs. Minimum Input Signal
The AD5270/AD5272 have a 50-times programmable memory,
which allows presetting the output voltage in a specific value at
power-up.
The ±1% internal resistor tolerance of the AD5270/AD5272
ensures a low gain error, as shown in Figure 3.
The circuit gain equation is
G = 1+
(1024 – D ) × RAW 1024
(4)
R2
where D is the code loaded in the digital potentiometer.
GAIN
6
COMMON VARIATIONS
0.7
GAIN
ERROR (%)
The AD5271/AD5274 (8-bits with 50-times programmable
power-up memory) are both ±1% tolerance digital rheostats
that are suitable for this application if 10-bit resolution is not
required.
0.6
5
0.5
4
0.4
3
0.3
ERROR (%)
7
The same basic circuit shown in Figure 1 can be adapted to
operate on a 30 V supply using higher voltage devices as
described in the CN-0112 Circuit Note.
GAIN
0.2
1
0.1
0
0
200
400
600
800
CODE (Decimal)
0
1023
LEARN MORE
09051-003
2
Excellent layout, grounding, and decoupling techniques must
be used to achieve the desired performance from the circuits
discussed in this note (see Tutorial MT-031, Grounding Data
Converters and Solving the Mystery of “AGND” and “DGND”
and Tutorial MT-101, Decoupling Techniques). As a minimum,
a 4-layer PCB should be used with one ground plane layer, one
power plane layer, and two signal layers.
Figure 3. Gain and Gain Error vs. Decimal Code
When the circuit input is an ac signal, the parasitic capacitances
of the digital potentiometer can cause undesirable oscillation in
the output. This can be avoided, however, by connecting a small
capacitor, C1, between the inverter input and its output. A value
of 10 pF was used for the gain and phase plots shown in Figure 4.
MT-031 Tutorial, Grounding Data Converters and Solving the
Mystery of "AGND" and "DGND," Analog Devices.
MT-032 Tutorial, Ideal Voltage Feedback (VFB) Op Amp,
Analog Devices.
MT-087 Tutorial, Voltage References, Analog Devices.
MT-091 Tutorial, Digital Potentiometers, Analog Devices.
MT-101 Tutorial, Decoupling Techniques, Analog Devices.
www.BDTIC.com/ADI
Data Sheets and Evaluation Boards
AD5270 Data Sheet
AD5272 Data Sheet
AD5270 Evaluation Board
AD5272 Evaluation Board
AD5271 Data Sheet
AD5274 Data Sheet
AD8615 Data Sheet
REVISION HISTORY
7/10—Revision 0: Initial Version
(Continued from first page) Circuits from the Lab circuits are intended only for use with Analog Devices products and are the intellectual property of Analog Devices or its licensors. While you
may use the Circuits from the Lab circuits in the design of your product, no other license is granted by implication or otherwise under any patents or other intellectual property by
application or use of the Circuits from the Lab circuits. Information furnished by Analog Devices is believed to be accurate and reliable. However, "Circuits from the Lab" are supplied "as is"
and without warranties of any kind, express, implied, or statutory including, but not limited to, any implied warranty of merchantability, noninfringement or fitness for a particular
purpose and no responsibility is assumed by Analog Devices for their use, nor for any infringements of patents or other rights of third parties that may result from their use. Analog Devices
reserves the right to change any Circuits from the Lab circuits at any time without notice but is under no obligation to do so.
©2010 Analog Devices, Inc. All rights reserved. Trademarks and
registered trademarks are the property of their respective owners.
CN09051-0-7/10(0)
www.BDTIC.com/ADI