This tech brief requires an understanding of configuring op amps in typical gain control circuits. Both linear and non-linear digital pot applications are discussed. A basic technical overview of the requirements needed to transition audio and other potentiometer/op amp applications from traditional mechanical potentiometers to solid-state potentiometers is given. Also provided is the background required for the implementation of digital potentiometers as a replacement for mechanical potentiometers in calibration and bias control used in applications such as industrial control, audio, and telecommunications.
|
Introduction
The circuit of Figure 1 provides a means of amplifying a signal either in an inverting or non-inverting mode. When switch S1 is off and S2 is on, the circuit behaves as a regular inverting amplifier. When S1 is on, and S2 is off, the signal is fed to the noninverting input of the op amp, and thus the circuit behaves as a noninverting amplifier. If S1 and S2 are monolithic analog switches, the control of this circuit may be accomplished with a digital signal.Figure 1. When S1 is open and S2 closed, this circuit is an inverting amplifier with a gain of -1. When S1 is closed and S2 opened, the circuit is a noninverting amplifier with a gain of +1.
Digital Pot Simplifies Circuit
Instead of using switches, a potentiometer may be used. When the wiper is at the high end of the pot, the noninverting mode is selected; when it's at the other end, the inverting mode is chosen. Using a linear digital potentiometer like the DS1267, as in Figure 2, gives digital control of not only the polarity but also the gain of the amplifier. Since many digital potentiometers come in dual configurations, this allows an "extra" pot in a circuit to be used to accomplish this signal processing task. The wiper value of the pot is written over the 3-wire interface consisting of /RST, CLK, and DQ. A wiper value of 00000000 will set the wiper to the low end of the pot, making this an inverting (gain = -1) circuit. A wiper value of 11111111 will set the wiper to the high end of the pot, placing the circuit in a noninverting (gain = +1) configuration. Wiper settings in between these values will result in a change in gain sweeping from +1 to -1.Figure 2. Using a digital potentiometer in place of S1 and S2 allows digital control of the gain of this circuit to be swept from -1 to +1. A feature of the DS1267 is that it powers up with the wiper in the center of the pot, resulting in equal levels being present at the inverting and noninverting inputs. This causes no output from the op amp, creating an effective power-on mute function.
Other Features
An added feature of this circuit is that when the DS1267 first powers up, the wiper is automatically set to the midpoint of the pot. This results in equal signals being sent to the op amp inputs, resulting in no signal from the op amp output - in effect, creating a power-on mute function!Logarithmic potentiometers like the DS1802 may be used in this circuit configuration, but due to the logarithmic taper, do not realize a smooth transition from inverting to noninverting gains. Some gain control is possible, but it is not symmetric between the two operating modes. Still, just bouncing between the high and low ends of the pot accomplishes the switching action between gains of -1 and +1, so again an "extra" pot may be used in place of analog switches.
This is an updated version of a circuit which appeared in EDN Magazine's Design Ideas, September 12, 1996, pg. 184.
上一篇:话音和DAC
下一篇:用数字电位器替代机械电位器
- 热门资源推荐
- 热门放大器推荐
- Allegro MicroSystems 在 2024 年德国慕尼黑电子展上推出先进的磁性和电感式位置感测解决方案
- 左手车钥匙,右手活体检测雷达,UWB上车势在必行!
- 狂飙十年,国产CIS挤上牌桌
- 神盾短刀电池+雷神EM-i超级电混,吉利新能源甩出了两张“王炸”
- 浅谈功能安全之故障(fault),错误(error),失效(failure)
- 智能汽车2.0周期,这几大核心产业链迎来重大机会!
- 美日研发新型电池,宁德时代面临挑战?中国新能源电池产业如何应对?
- Rambus推出业界首款HBM 4控制器IP:背后有哪些技术细节?
- 村田推出高精度汽车用6轴惯性传感器
- 福特获得预充电报警专利 有助于节约成本和应对紧急情况