ENGLISH 简体中文 日本語 한국어  



   
 
请输入关键词或器件型号    




应用笔记558

Tech Brief 2: Dual-Polarity Amplifier is Controlled Digitally

Abstract: This application note discusses using digital potentiometers for gain control in traditional operational amplifier (op amp) circuits. Examples are given for typical op amp configurations (inverting, non-inverting) where the digital pot is used as a replacement for standard mechanical potentiometers.

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.

注册参加Maxim在TechOnline举办的在线研讨会</a> (English only)

注册参加Maxim在TechOnline举办的在线研讨会
(English only)

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.
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.
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.


相关型号  APP 558: Sep 12, 1996
DS1267 ±5V、双路、数字电位器芯片 完整的数据资料
(PDF, 328kB)
免费样品

自动更新
需要自动接收最新发布的应用笔记吗?请订阅EE-Mail™ (English only)。




我们期待您的反馈!
喜欢?不喜欢?有待改善?或为我们提供建议?请与我们联系 — 我们将根据您的意见或建议改善我们的工作。 网页评价或提供建议

 

下载,PDF格式下载,PDF格式 (37kB)
 AN558, AN 558, APP558, Appnote558, Appnote 558

        •         •         •     隐私权政策     •     法律声明

    © 2009 Maxim Integrated Products版权所有