Professional Documents
Culture Documents
Copyright 2011 Audio Precision, Inc. Audio Precision is a registered trademark of Audio Precision, Inc.
Introduction
Based upon the typical classes now being taught in many engineering schools, it would appear that analog circuit design is in danger of becoming a lost art
Interviews of design engineer job applicants reveal a growing weakness in the comprehension of basic analog concepts Too much emphasis seems to be placed on simulation, and not enough on understanding circuit behavior at a more intuitive level
Even among experienced designers there is a tendency to overlook some key factors that limit performance It need not be this wayall it really takes is careful attention to detail and the practical application of some fundamental concepts
Introduction, continued
In this seminar we will examine some selected topics that are important to the analog designer in the 2010s
Time constraints will limit us to cover only a few key topics However, I will endeavor to share some of the accumulated lessons that have been learned throughout my 41-year career in the design of high performance and state-of-the-art measurement equipment
Let us also recognize that professional differences of opinion existmy own are not necessarily definitive, and they lean heavily towards the objective side due to my background (Indeed, I do not have golden ears)
Civil comments and questions are welcome during seminar breaks I kindly ask those with a more self-serving agenda to avoid being disruptivego conduct your own seminar!
What are the Factors that Determine High Performance Analog Design?
Objective (quantitative measurements)
Wide dynamic range (low residual noise floor) Very low levels of non-linearity (e.g. THD+N, IMD) Excellent frequency response and/or time domain response Stability versus time, temperature, and humidity
Op-Amp Selection, circa 2011 Noise in Analog Circuits Circuit Layout Considerations
2HD and 3HD can be estimated with surprising accuracy using only 3 values for dynamic gain at the positive peak (Ap), negative peak (An) and zero (Ao) points of an assumed sine-wave signal:
2HD |Ap An| / (8*Ao) 3HD |Ap + An 2*Ao| / (24*Ao)
Higher orders exist but there is usually little additional insight to be gained in going beyond the third order
Note: Re = kT/qIe
Capacitors also have voltage coefficient effects, but these are much more difficult to analyze due to their inherent frequency dependence
Will not be covered in this seminar
Resistors, capacitors, and inductors come in many different types, having different sizes, voltage ratings, power ratings, temperature coefficients, voltage coefficients, sensitivity to humidity, etc. Understanding some of these differences is a good first step towards achieving higher performance in analog design
Resistors
Copyright 2011 Audio Precision, Inc. Audio Precision is a registered trademark of Audio Precision, Inc.
Composition Resistors
The resistive element is a compacted mixture of carbon and ceramic held together in a resin base
Very popular prior to the 1970s, less popular today Useful in applications requiring high peak power capability or super low series inductance
MELF (Metal Electrode Leadless Face) versions are available for higher peak power dissipation
MELF (Metal Electrode Leadless Face) versions are available for higher peak power dissipation
Quite simply the best and highest performance of all resistor technologies
Tolerances to 0.001% Temperature coefficient as low as 0.2 ppm /C (!!!) Ultra stable particularly when hermetically sealed Extremely low noise and thermal EMF Voltage coefficient typically <0.1ppm /Volt (!!!)
Wire-Wound Resistors
The resistive element is wire having a low temperature coefficient (often nichrome) wound on a substrate
Typically appropriate only for lower resistance values Very high peak and average power ratings are possible
Resistor Networks
Resistor networks are especially useful in applications that benefit from ratio matching
Ratio accuracies can be as good as 0.01% with thin film, and 0.001% with metal foil Extremely low differential temperature coefficients are possible
Avoid large ratios (e.g. 50:1 or higher) which can result in poorer thermal tracking performance
Best performance is achieved if all resistors can be of equal value
The small size of resistor networks (typically SOIC-8 or SOIC-16) offers an advantage in challenging layout situations where large temperature gradients exist
Although the resistor DC parameters were unchanged, the AC behavior was a total disaster!
The stray C between each resistor and the substrate was not only higher, but NON-LINEAR It is believed that PIN diodes were formed between each resistor and the semi-conducting substrate, thus causing the voltage drop in one resistor to generate distortion products in the other resistors The manufacturer quickly added the option of specifying the original ceramic substrate when told they were being disqualified
The 1206 size SMD is still a relative sweet spot in terms of price and availability for precision resistors
For the same value and applied voltage, using a smaller resistor size will likely result in significantly higher distortion Limit the maximum signal voltage to about 3-5 Vrms for best performanceuse series combinations for higher voltages
Capacitors
Copyright 2011 Audio Precision, Inc. Audio Precision is a registered trademark of Audio Precision, Inc.
Mica (rapidly declining in popularity) Glass Polymer Film (another generic term)
Examples include polyester (PE), polyphenylenesulfide (PPS) polypropylene (PP), polystyrene (PS), and polytetrafluoroethylene (PTFE) aka Teflon
Electrolytic
Ceramic Capacitors
Except for power supply decoupling, there is only one ceramic composition that should ever be specified in high performance analog design: NP0 (aka COG)
Now available in values up to 100 nF with standard tolerances of 1-5% and voltage ratings to 1 kV (500V SMD) Consider paralleling multiple caps to get higher values Very low dissipation factor and frequency dependence Ultra-low temperature coefficient, typically 30 ppm /C (!!!) Excellent stability, virtually immune to humidity
Mica Capacitors
30 years ago mica capacitors were highly regarded in the analog design community
Commonly available in values to >3 nF with tolerances to 1% Temperature coefficient typically 90 ppm /C Good stability, but micas brittleness can sometimes result in unexpected and abrupt value shifts with physical stress
Unfortunately mica is a product of nature, and some of its better sources have now been depleted With the ready availability and lower temperature coefficient of NP0 / COG ceramic caps, there is not much reason to specify mica capacitors anymore
Glass Capacitors
Glass is among the most stable and inert of dielectrics
Typical values available up to >2 nF Extremely stable with almost zero aging characteristic Some sensitivity to frequency, perhaps a bit worse than NP0 ceramics and polypropylene (PP) film capacitors Temperature coefficient typically +140 ppm /C, not as good as other types but glass caps can operate up to +200C Extremely low, almost non-existent voltage coefficient Highest immunity to radiationthe best choice for the survivalist with golden-ears preparing for the post-apocalyptic world
If possible, avoid metalized film and use only the Foil Film type if a polymer film capacitor is the best choice
Depending upon the electrical value required, consider using NP0 or COG ceramic capacitors
Electrolytic Capacitors
Polarized electrolytic capacitors are constructed from two conducting metal terminals, one of which has an insulating layer of oxide (the cathode), both being separated from the other by a liquid electrolyte
The two most popular electrode metals are aluminum and tantalum however niobium is beginning to appear The electrolyte can be of many different chemistries including both aqueous and non-aqueous (indeed, some old generation caps used sulfuric acid! ) Non-polarized caps are possible by using two oxidized cathodes
Electrolytic capacitors must be formed during their manufacture by applying a current limited potential across the terminals to stabilize the oxide layer
Electrolytic capacitors can introduce interesting forms of low frequency distortion caused by their sensitivity to both voltage and frequency
Non-linear modeling is almost hopeless due to process differences from manufacturer to manufacturer, and normal batch variations
Minimize the dc potential across capacitors in series with the signal path
The AC coupling caps in phantom powered microphone input circuits should be as small as possible, and matched in value
Inductors
Copyright 2011 Audio Precision, Inc. Audio Precision is a registered trademark of Audio Precision, Inc.
Air core inductors should be mounted away from steel chassis parts or other ferromagnetic materials
The flux pattern surrounding a coil should not flow through such non-linear materials A thin sheet of aluminum can be an effective magnetic shield above about 10 kHz due to skin effect
Copyright 2011 Audio Precision, Inc. Audio Precision is a registered trademark of Audio Precision, Inc.
Op-amps are commonly divided into categories depending upon their intended application
Precision, optimized for low DC offset and bias current General purpose, usually dominant-pole compensated, but many newer designs now insert a pole-zero pair into the open loop response to get a higher GBW (gain-bandwidth product) High speed, higher slew rate, not necessarily stable under unity gain situations Really high speed and slew rate, typically for video signals
A much more useful distinction to the analog circuit designer is input device technology: Bipolar vs. JFET
Both can offer input voltage offset performance to below 200 V However, JFET op-amps have the strong advantage of near-zero input bias current which can be a more significant factor than input offset voltage depending upon circuit impedances An interesting example of a hybrid design (using both bipolar and JFET devices) is the Butler Amplifier in the dual OP275
Bipolar input op-amps also have a slight advantage in terms of lower 1/f noise below 1 kHz
Op-amps needing an external compensation capacitor can usually benefit from either 2-pole compensation or feed-forward compensation
Instead of using the classic 22 pF between pins 5-8 of a NE5534, use a pair of 47 pF connected in series with a 499-1k resistor connected between the two capacitors and the positive supply For inverting NE5534 configurations, try connecting a capacitor having a value of about 6.8-12pF between the input and pin 8
Two-Pole Compensation
Feed-Forward
If an op-amp must be used in a non-inverting topology (for example in a Sallen-Key active low-pass filter), arrange for both of its inputs to feel the same source impedance
This usually means adding a complicated RC network in series with the + input to match the impedance seen looking outward from the input Try it--the distortion reduction can be quite significant with JFET op-amps!
Copyright 2011 Audio Precision, Inc. Audio Precision is a registered trademark of Audio Precision, Inc.
Sources of Noise
Thermal noise of resistors: VN = (4*k*T*R*BW) Shot noise of biasing currents: IN = (2*q*Idc*BW) Op-Amp noise, usually eN and iN in datasheets 1/f and Popcorn noise in op-amps
Mechanisms still not well understood, but under controlusually not a significant factor in most audio designs
The following slide shows an example spreadsheet for a prototype AP analyzer design: noise estimates are shown in blue, actual measurements are in red
24.04 85.3
7.60 26.99
2.40 8.53
0.760 2.699
0.240 0.853
0 0.270
source resistance input dampers input current limiters MBUF en, ie=146 uA MBUF in post MBUF attenuator atten Rout * in preamp en preamp in preamp Rg preamp Rf sum stage en sum stage in sum stage Ri sum stage Rf inv stage en inv stage in inv stage Ri inv stage Rf A/D driver en A/D driver in A/D driver Ri A/D driver Rf A/D 0dBFS A/D noise floor A/D headroom Tambient, C measurement BW
173.524 3.524
173.524 3.524
2.855 3.524 3.897 3.091 0.311 15.253 5.217 4.938 2.188 9.876 17.013 7.182 18.443 18.443 8.507 5.028 7.715 7.715 13.952 7.631 9.221 19.887 76.569
30.912 31.919 152.528 52.172 49.377 21.881 98.755 170.132 71.822 184.425 184.425 85.066 50.275 77.151 77.151 139.520 76.311 92.213 198.871 765.689
30.912 31.919 23.473 3.909 15.615 6.919 31.229 53.800 22.712 58.320 58.320 26.900 15.898 24.397 24.397 44.120 24.132 29.160 62.888 242.132
2.855 3.524 3.897 0.395 3.091 0.311 2.347 0.391 1.561 0.692 3.123 5.380 2.271 5.832 5.832 2.690 1.590 2.440 2.440 4.412 2.413 2.916 6.289 24.213
2.855 3.524 3.897 0.395 3.091 0.311 2.347 0.391 1.561 0.763 2.983 1.844 1.701 0.718 1.844 1.844 0.851 0.503 0.772 0.772 1.395 0.763 0.922 1.989 7.657
2.855 3.524 3.897 0.395 3.091 0.311 2.347 0.391 1.561 0.241 1.750 0.583 0.538 0.227 0.583 0.583 0.269 0.159 0.244 0.244 0.441 0.241 0.292 0.629 2.421
1.10 1.70 1000 402 2.68 1.60 1000 1000 2.68 1.60 1400 1400 1.10 1.70 1000 215 3.961 -121.55 3.33 23.0 20.00
924.214
335.071
90.918
29.109
12.037
8.060
130.0 129.9
47.1 47.1
12.79 12.80
4.10 4.10
1.694 1.697
1.134 1.134
Noise Measurements
Noise measurements should be heavily averaged to reduce random fluctuations and insure repeatability
Noise is noisy, may require averaging over 30-60 seconds Beware that noise measurements may also include the effects of non-noise signals such as AC mains interference
Use only thin-film or metal foil resistors when they must pass significant dc bias currents
Copyright 2011 Audio Precision, Inc. Audio Precision is a registered trademark of Audio Precision, Inc.
Poor circuit layout can also degrade performance due to thermal considerations
Inferior cooling due to poor location of taller components Gradient effects on matched resistors and transistor pairs
Mutual inductance between power supply busses and signal path loops can cause unexpected distortion
The current waveform in most power supplies is typically very non-linear with very high harmonic content When coupling occurs into feedback paths, it can become the dominant distortion mechanism above 5 kHz!
Pay particular attention to loop areas of signal paths to minimize the pickup of stray magnetic fields from unintended sources
Signal path loops can sometimes be difficult to identify in more complicated circuits such as active filters
In Conclusion
Today we have discussed some selected topics that influence the performance of analog circuits Hopefully you have gained a better awareness for some of the imperfections and tradeoffs the analog design engineer faces in the 2010s Many of these issues can be overcome through careful attention to detail and clever circuit design; others will continue to challenge engineers well into the future Analog design engineering can be a very rewarding career--let us never allow it to become a lost art
Copyright 2011 Audio Precision, Inc. Audio Precision is a registered trademark of Audio Precision, Inc.