LM1971 LM1971 Overture Audio Attenuator Series Digitally Controlled 62 dB Audio Attenuator with/Mute Literature Number: SNAS104A LM1971OvertureTM Audio Attenuator Series Digitally Controlled 62 dB Audio Attenuator with/Mute General Description The LM1971 is a digitally controlled single channel audio attenuator fabricated on a CMOS process. Attenuation is variable in 1 dB steps from 0 dB to -62 dB. A mute function disconnects the input from the output, providing over 100 dB of attenuation. The performance of the device is exhibited by its ability to change attenuation levels without audible clicks or pops. In addition, the LM1971 features a low Total Harmonic Distortion (THD) of 0.0008%, and a Dynamic Range of 115 dB, making it suitable for digital audio needs. The LM1971 is available in both 8-pin plastic DIP or SO packages. The LM1971 is controlled by a TTL/CMOS compatible 3-wire serial digital interface. The active low LOAD line enables the data input registers while the CLOCK line provides system timing. Its DATA pin receives serial data on the rising edge of each CLOCK pulse, allowing the desired attenuation setting to be selected. n Attenuation range (excluding mute) n Dynamic range n Mute attenuation 62 dB (typ) 115 dB (typ) 102 dB (typ) Features n n n n 3-wire serial interface Mute function Click and pop free attenuation changes 8-pin plastic DIP and SO packages available Applications n n n n n n Communication systems Cellular Phones and Pagers Personal computer audio control Electronic music (MIDI) Sound reinforcement systems Audio mixing automation Key Specifications n Total harmonic distortion n Frequency response 0.0008% (typ) > 200 kHz (-3 dB) (typ) Typical Application 01235301 FIGURE 1. Typical Audio Attenuator Application Circuit OvertureTM is a trademark of National Semiconductor Corporation. (c) 2002 National Semiconductor Corporation DS012353 www.national.com LM1971 Overture Audio Attenuator Series Digitally Controlled 62 dB Audio Attenuator with Mute September 2002 LM1971 Connection Diagram Dual-In-Line Plastic or Surface Mount Package 01235302 Top View Order Number LM1971M or LM1971N See NS Package Number M08A or N08E www.national.com 2 (Notes 1, Power Dissipation (Note 3) 150 mW 2) Junction Temperature 150C If Military/Aerospace specified devices are required, please contact the National Semiconductor Sales Office/ Distributors for availability and specifications. Storage Temperature -65C to +150C Voltage at any pin Operating Ratings (Notes 1, 2) 15V Supply Voltage, VDD Temperature Range (GND -0.2V) to (VDD +0.2V) ESD Susceptibility (Note 4) Soldering Information N Package (10s) M Package Vapor Phase (60s) Infrared (15s) TMIN TA TMAX 3000V -40C TA +85C Thermal Resistance M08A Package, JA 260C 167C/W N08E Package, JA 102C/W Supply Voltage 215C 220C 4.5V to 12V Electrical Characteristics (Notes 1, 2) The following specifications apply for VDD = +12V (VREFIN = +6V), VIN = 5.5 Vpk, and f = 1 kHz, unless otherwse specified. Limits apply for TA = 25C. Digital inputs are TTL and CMOS compatible. LM1971 Symbol Parameter Conditions IS Supply Current Digital Inputs Tied to 6V THD Total Harmonic Distortion VIN = 0.5Vpk@ 0 dB Attenuation eIN Noise Input is AC Grounded @ -12 dB Attenuation A-Weighted (Note 7) DR Dynamic Range Referenced to Full Scale = +6 Vpk AM Mute Attenuation Attenuation Step Size Error 0 dB to -62 dB Absolute Attenuation Attenuation Attenuation Attenuation Attenuation Attenuation @ 0 dB @ -20 dB @ -40 dB @ -60 dB @ -62 dB Typical (Note 5) Limit (Note 6) Units (Limits) 1.8 3 mA (max) 0.0008 0.003 % (max) 4.0 V 115 dB 102 96 dB (min) 0.009 0.2 dB (max) 0.1 -20.3 -40.5 -60.6 -62.6 0.5 -19.0 -38.0 -57.0 -59.0 5.8 100 nA (max) 40 20 60 k (min) k (max) 1.0 100 nA (max) 3 2 MHz (max) dB dB dB dB dB (min) (min) (min) (min) (min) Analog Input Leakage Current Input is AC Grounded Frequency Response 20 Hz-100 kHz RIN AC Input Impedance Pin 8, VIN = 1.0 Vpk, f = 1 kHz IIN Input Current @ Pins 4, 5, 6 @ 0V fCLK Clock Frequency VIH High-Level Input Voltage @ Pins 4, 5, 6 2.0 V (min) VIL Low-Level Input Voltage @ Pins 4, 5, 6 0.8 V (max) ILEAK 0.1 < VIN < 5V dB Note 1: Absolute Maximum Ratings indicate limits beyond which damage to the device may occur. Operating Ratings indicate conditions for which the device is functional, but do not guarantee specific performance limits. Electrical Characteristics state DC and AC electrical specifications under particular test conditions which guarantee specific performance limits. This assumes that the device is within the Operating Ratings. Specifications are not guaranteed for parameters where no limit is given, however, the typical value is a good indication of device performance. Note 2: All voltages are measured with respect to the GND pin (pin 3), unless otherwise specified. Note 3: The maximum power dissipation must be derated at elevated temperatures and is dictated by TJMAX, JA, and the ambient temperature TA. The maximum allowable power dissipation is PD = (TJMAX - TA)/JA or the number given in the Absolute Maximum Ratings, whichever is lower. For the LM1971N and LM1971M, TJMAX = +150C, and the typical junction-to-ambient thermal resistance, JA, when board mounted is 102 C/W and 167 C/W, respectively. Note 4: Human body model, 100 pF discharged through a 1.5 k resistor. Note 5: Typicals are measured at 25C and represent the parametric norm. Note 6: Limits are guarantees that all parts are tested in production to meet the stated values. Note 7: Due to production test limitations, there is no limit for the Noise test. Please refer to the noise measurements in the Typical Performance Characteristics section. 3 www.national.com LM1971 Absolute Maximum Ratings LM1971 LOAD (4): The LOAD input accepts a TTL or CMOS level signal. This is the enable pin of the device, allowing data to be clocked in while this input is low (0V). The GND pin is the reference for this signal. DATA (5): The DATA input accepts a TTL or CMOS level signal. This pin is used to accept serial data from a microcontroller that will be latched and decoded to change the channel's attenuation level. The GND pin is the reference for this signal. Pin Descriptions VREFIN (1): The VREFIN pin provides the reference for the analog input signal. This pin should be biased at half of the supply voltage, VDD, as shown in Figure 1 and Figure 6. OUT (2): The attenuated analog output signal comes from this pin. GND (3): The GND pin references the digital input signals and is the lower voltage reference for the IC. Typically this pin would be labeled "VSS" but the ground reference for the digital logic input control is tied to this same point. With a higher pin-count there would generally be separate pins for these functions; VSS and Logic Ground. It is intended that the LM1971 always be operated using a single voltage supply configuration, for which pin 3 (GND) should always be at system ground. If a bipolar or split-supply configuration are desired, level shifting circuitry is needed for the digital logic control pins as they would be referenced through pin 3 which would be at the negative supply. It is highly recommended, however, that the LM1971 be used in a unipolar or single-supply configuration. CLOCK (6): The CLOCK input accepts a TTL or CMOS level signal. The clock input is used to load data into the internal shift register on the rising edge of the input clock waveform. The GND pin is the reference for this signal. VDD (7): The positive voltage supply should be placed to this pin. IN (8): The analog input signal should be placed to this pin. Typical Performance Characteristics Supply Current vs Supply Voltage Supply Current vs Temperature 01235310 01235311 Noise Floor Analog Measurement THD + N vs Freq and Amp 01235312 www.national.com 01235313 4 LM1971 Typical Performance Characteristics (Continued) THD + N vs Freq and Amp Noise Floor Spectrum by FFT 01235315 01235314 THD + N vs Amplitude THD + N vs Amplitude 01235316 01235317 Mute Attenuation vs Frequency THD vs Freq by FFT 01235319 01235318 5 www.national.com LM1971 Typical Performance Characteristics (Continued) Output Impedance vs Attenuation Level THD vs Freq by FFT 01235321 01235320 Application Information TABLE 1. Attenuator Register Set Description Address Register (Byte 0) SERIAL DATA FORMAT The LM1971 uses a 3-wire serial communication format that is easily controlled by a microcontroller. The timing for the 3-wire set, comprised of DATA, CLOCK, and LOAD is shown in Figure 2. As depicted in Figure 2, the LOAD line is to go low at least 150 ns before the rising edge of the first clock pulse and is to remain low throughout the transmission of the 16 data bits. The serial data is composed of an 8-bit address, which must always be set to 0000 0000 to select the single audio channel, and 8 bits for attenuation setting. For both address data and attenuation setting data, the MSB is sent first with the address data preceding the attenuation data. Please refer to Figure 3 to confirm the serial data format transfer process. Table 1 shows the various Address and Data byte values for different attenuation settings. Note that Address bytes other than 0000 0000 are ignored. MSB LSB A7-A0 Channel 1 0000 0001 Ignored 0000 0010 Ignored Data Register (Byte 1) Contents Attenuation (dB) MSB LSB D7-D0 POT SYSTEM ARCHITECTURE The Pot's digital interface is essentially a shift register where serial data is shifted in, latched, and then decoded. Once new data is shifted in, the LOAD line goes high, latching in the new data. The data is then decoded and the appropriate switch is activated to set the desired attenuation level. This process is continued each and every time an attenuation change is made. When the Pot is powered up, it is placed into the Mute mode. POT DIGITAL COMPATIBILITY The Pot's digital interface section is compatible with TTL or CMOS logic. The shift register inputs act upon a threshold of two diode drops above the ground level (Pin 3) or approximately 1.4V. www.national.com 0000 0000 6 0000 0000 0.0 0000 0001 1.0 0000 0010 2.0 0000 0011 3.0 ::::: :: 0001 0000 16.0 0001 0001 17.0 0001 0010 18.0 0001 0011 19.0 ::::: :: 0011 1101 61.0 0011 1110 62.0 0011 1111 96 (Mute) 0100 0000 96 (Mute) ::::: :: 1111 1110 96 (Mute) 1111 1111 96 (Mute) LM1971 Application Information (Continued) 01235303 *Note: Load and clock falling edges can be coincident, however, the clock falling edge cannot be delayed more than 20 ns from the falling edge of load. It is preferrable that the falling edge of clock occurs before the falling edge of load. FIGURE 2. Timing Diagram 01235304 FIGURE 3. Serial Data Format Transfer Process POT LADDER ARCHITECTURE The Pot contains a chain of R1/R2 resistor dividers in a ladder form, as shown in Figure 4. Each R1 is actually a series of 8 resistors, with a CMOS switch that taps into the resistor chain according to the attenuation level chosen. For any given attenuation setting, there is only one CMOS switch closed (no paralleling of ladders). The input impedance therefore remains constant, while the output impedance changes as the attenuation level changes. It is important to note that the architecture is a series of resistor dividers, and not a straight, tapped resistor, so the Pot is not a variable resistor; it is a variable voltage divider. 01235305 FIGURE 4. Resistor Ladder Architecture 7 www.national.com LM1971 Application Information second is to prevent loading and subsequent linearity errors. The output stage of a Pot needs to be buffered with a low input bias current op amp to keep DC shifts inaudible. Additionally, the output of Pot needs to see a high impedance to keep linearity errors low. (Continued) ATTENUATION STEP SCHEME The fundamental attenuation step scheme for the LM1971 is shown in Figure 5. It is also possible to obtain any integer value attenuation step through programming, in addition to the 2 dB and 4 dB steps shown in Figure 5. All higher attenuation step schemes can have clickless and popless performance. Although it is possible to "skip" attenuation points by not sending all of the data, clickless and popless performance will suffer. It is highly recommended that all of the data points should be sent for each attenuation level. This ensures flawless operation and performance when making steps larger than 1 dB. Attenuation level changes cause changes in the output impedance of a Pot. Output impedance changes in the presence of a large input bias current for a buffer/amplifier will cause a DC shift to occur. Neglecting amplifier gains and speaker sensitivities, the audibility of a DC shift is dependent upon the output impedance change times the required input bias current. As an example, a 5 k impedance change times a 1 A bias current results in a 5 mV DC shift; a level that is barely audible without any music material in the system. An op amp with a bias current of 200 pA for the same 5 k change results in an inaudible 1 V DC shift. Since the worst case output impedance changes are on the order of several k, a bias current much less than 1 A is required for highest performance. In order to further quantify DC shifts, please refer to the Output Impedance vs Attenuation graph in the Typical Performance Characteristics section and relate worst case impedance changes to the selected buffer/amplifier input bias current. Without the use of a high input impedance ( > 1 M) op amp for the buffer/amplifier, loading will occur that causes linearity errors in the signal. To ensure the highest level of performance, a JFET or CMOS input high input impedance op amp is required. One common application that requires gain at the output of a Pot is input signal volume control. Depending upon the input source material, the LM1971 provides a means of controlling the input signal level. With a supply voltage range of 4.5V to 12V, the LM1971 has the ability of controlling fairly inconsistent input source signal levels. Using an op amp with gain at the Pot's output, as shown in Figure 7, will also allow the system dynamic range to be increased. JFET op amps like the LF351 and the LF411 are well suited for this application. If active half-supply buffering is also desired, dual op amps like the LF353 and the LF412 could be used. For low voltage supply applications, op amps like the CMOS LMC6041 are preferred. This part has a supply operating range from 4.5V-15.5V and also comes in a surface mount package. LM 1971 Channel Attenuation vs Digital Step Value (1 dB, 2 dB, and 4 dB Steps) 01235306 FIGURE 5. LM1971 Attenuation Step Scheme INPUT IMPEDANCE The input impedance of a Pot is constant at a nominal 40 k. Since the LM1971 is a single-supply operating device, it is necessary to have both input and output coupling caps as shown in Figure 1. To ensure full low-frequency response, a 1 F coupling cap should be used. POT HALF-SUPPLY REFERENCING The LM1971 operates off of a single supply, with half-supply biasing supplied at the VREFIN terminal (Pin 1). The easiest and most cost effective method of providing this half-supply is a simple resistor divider and bypass capacitor network shown in Figure 1. The capacitor not only stabilizes the half-supply node by "holding" the voltage nearly constant, but also decouples high frequency signals on the supply to ground. Signal feedthrough, power supply ripple and fluctuations that are not properly filtered could cause the performance of the LM1971 to be degraded. A more stable half-supply node can be obtained by actively buffering the resistor divider network with a voltage follower as shown in Figure 6. Supply fluctuations are then isolated by the high input impedance/low output impedance mismatch associated with effective filtering. Since the LM1971 is a single channel device, using a dual JFET input op amp is optimum for both output buffering and half-supply biasing. A 10 F capacitor or larger is recommended for better half-supply stabilization. For added rejection of higher fre- OUTPUT IMPEDANCE The output impedance of a Pot varies typically between 25 k and 35 k and changes nonlinearly with step changes. Since a Pot is made up of a resistor ladder network with logarithmic attenuation, the output impedance is nonlinear. Due to this configuration, a Pot cannot be considered as a linear potentiometer; it is a logarithmic attenuator. The linearity of a Pot cannot be measured directly without a buffer because the input impedance of most measurement systems is not high enough to provide the required accuracy. The lower impedance of the measurement system would load down the output and an incorrect reading would result. To prevent loading, a JFET input op amp should be used as the buffer/amplifier. OUTPUT BUFFERING There are two performance issues to be aware of that are related to a Pot's output stage. The first concern is to prevent audible clicks with attenuation changes, while the www.national.com 8 this mode, the amplifier will behave as a comparator. Care should be taken with the programming and design of this type of circuit. To provide the best overall performance, a high input impedance, low input bias current op amp should be used. (Continued) quency power supply fluctuations, a smaller capacitor (0.01 F-0.1 F) could be added in parallel to the 10 F capacitor. 01235307 FIGURE 6. Higher Performance Active Half-Supply Buffering 01235309 FIGURE 8. Logarithmic Gain Amplifier Circuit MUTE FUNCTION A major feature of the LM1971 is its ability to mute the input signal to an attenuation level of 102 dB. This is accomplished internally by physically disconnecting the output from the input while also grounding the output pin through approximately 2 k. The mute function is obtained during power-up of the device or by sending any binary data of 0011 1111 and above serially to the device. The device may be placed into mute at any time during operation, allowing the designer to make the mute command accessible to the end-user. 01235308 FIGURE 7. Active Reference with Active Gain Buffering DC INPUTS Although the Pot was designed to be used as an attenuator for signals within the audio spectrum, it is also capable of tracking and attenuating an input DC voltage. The device will track voltages to either supply rail. One point to remember about DC tracking is that with a buffer at the output of the Pot, the resolution of DC tracking will depend upon the gain configuration of that output buffer and its supply voltage. Also, the output buffer's supply voltage does not have to be the same as the Pot's supply voltage. Giving the buffer some gain can provide more resolution when tracking small DC voltages. LOGARITHMIC GAIN AMPLIFIER The Pot is capable of being used in the feedback loop of an op amp to create a gain controlled amplifier as shown in Figure 8. In this configuration the attenuation levels from Table 1 become gain levels with the largest possible gain value being 62 dB. For most applications, 62 dB of gain will cause signal clipping to occur. However, this can be controlled through programming. It is important to note that when in mute mode the input is disconnected from the output, thus placing the amplifier in open-loop gain state. In 9 www.national.com LM1971 Application Information LM1971 Physical Dimensions inches (millimeters) unless otherwise noted Order Number LM1971M 8-Lead (0.150" Wide) Molded Small Outline Package, JEDEC NS Package Number M08A www.national.com 10 inches (millimeters) unless otherwise noted (Continued) Order Number LM1971N 8-Lead (0.300" Wide) Molded Dual-In-Line Package NS Package Number N08E LIFE SUPPORT POLICY NATIONAL'S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein: 1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and whose failure to perform when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in a significant injury to the user. National Semiconductor Corporation Americas Email: support@nsc.com www.national.com National Semiconductor Europe Fax: +49 (0) 180-530 85 86 Email: europe.support@nsc.com Deutsch Tel: +49 (0) 69 9508 6208 English Tel: +44 (0) 870 24 0 2171 Francais Tel: +33 (0) 1 41 91 8790 2. A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness. National Semiconductor Asia Pacific Customer Response Group Tel: 65-2544466 Fax: 65-2504466 Email: ap.support@nsc.com National Semiconductor Japan Ltd. Tel: 81-3-5639-7560 Fax: 81-3-5639-7507 National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications. LM1971 Overture Audio Attenuator Series Digitally Controlled 62 dB Audio Attenuator with Mute Physical Dimensions IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI's terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI's standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications. TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated products in automotive applications, TI will not be responsible for any failure to meet such requirements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products Applications Audio www.ti.com/audio Communications and Telecom www.ti.com/communications Amplifiers amplifier.ti.com Computers and Peripherals www.ti.com/computers Data Converters dataconverter.ti.com Consumer Electronics www.ti.com/consumer-apps DLP(R) Products www.dlp.com Energy and Lighting www.ti.com/energy DSP dsp.ti.com Industrial www.ti.com/industrial Clocks and Timers www.ti.com/clocks Medical www.ti.com/medical Interface interface.ti.com Security www.ti.com/security Logic logic.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense Power Mgmt power.ti.com Transportation and Automotive www.ti.com/automotive Microcontrollers microcontroller.ti.com Video and Imaging RFID www.ti-rfid.com OMAP Mobile Processors www.ti.com/omap Wireless Connectivity www.ti.com/wirelessconnectivity TI E2E Community Home Page www.ti.com/video e2e.ti.com Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright (c) 2011, Texas Instruments Incorporated