Engineering:Blackmer gain cell

From HandWiki
Revision as of 20:56, 4 February 2024 by CodeMe (talk | contribs) (fixing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Blackmer gain cell is an audio frequency voltage-controlled amplifier (VCA) circuit with an exponential control law. It was invented and patented by David E. Blackmer between 1970 and 1973. The four-transistor core of the original Blackmer cell contains two complementary bipolar current mirrors that perform log-antilog operations on input voltages in a push-pull, alternating fashion. Earlier log-antilog modulators using the fundamental exponential characteristic of a p–n junction were unipolar; Blackmer's application of push-pull signal processing allowed modulation of bipolar voltages and bidirectional currents. The Blackmer cell, which has been manufactured since 1973, is the first precision VCA circuit that was suitable for professional audio. As early as the 1970s, production Blackmer cells achieved 110 dB control range with total harmonic distortion of no more than 0.01% and very high compliance with ideal exponential control law. The circuit was used in remote-controlled mixing consoles, signal compressors, microphone amplifiers, and dbx noise reduction systems. In the 21st century, the Blackmer cell, along with Douglas Frey's Operational Voltage Controlled Element (OVCE), remains one of two integrated VCA topologies that are still widely used in studio and stage equipment.[1]

Development and applications

Professional audio signal processors by dbx, Inc., based on the Blackmer gain cell. Dbx, founded and owned by Blackmer, was the first company to commercialize his inventions

In the 1960s, American recording studios adopted multitrack recording. Narrow tracks of multitrack recorders were noisier than wide tracks of their predecessors; mixing down many narrow tracks further degraded the signal-to-noise ratio of master tapes.[2] Mixing became a complex process requiring the precisely timed operation of numerous controls and faders, which were too numerous to operate manually.[2] These problems of early multitrack studios created a demand for professional-grade noise reduction and console automation.[2] At the core of both of these functions was the voltage-controlled amplifier (VCA).[2]

The earliest solid-state VCA topology was an attenuator rather than an amplifier; it employed a junction field-effect transistor in voltage-controlled resistance mode.[3] These attenuators, which were state of the art in the early 1970s, were successfully used in professional Dolby A and consumer Dolby B noise reduction systems but did not meet all of the demands of mixing engineers.[3] In 1968, Barrie Gilbert invented the Gilbert cell that was quickly adopted by radio and analog computer designers but lacked the precision required for studio equipment.[2] Between 1970 and 1973, David E. Blackmer invented and patented the four-transistor multiplying log-antilog cell, targeting professional audio.[2]1989b

The Blackmer cell was more precise and had a greater dynamic range that prior VCA topologies but it required well-matched complementary transistors of both polarity types that could not yet be implemented in a silicon integrated circuit (IC).[2] Contemporary junction isolation technology offered poorly performing p-n-p transistors so integrated circuit designers had to use n-p-n transistors alone.[4] The Gilbert and Dolby circuits were easily integrated in silicon[5][1] but the Blackmer cell had to be assembled from tediously selected, precision-matched, discrete transistors.[2][4] To ensure isothermal operation, these metal-can transistors were firmly held together with a thermally conductive ceramic block and insulated from the environment with a steel can. The first hybrid integrated circuits of this type, the "black can" dbx202, were manufactured by Blackmer's company in 1973. Five years later, Blackmer released the improved dbx202C "gold can" hybrid IC; total harmonic distortion decreased from 0.03% to 0.01% and gain control range increased from 110 dB to 116 dB.[6] In 1980, Blackmer released a version designed by Bob Adams, the dbx2001.[7] Unlike earlier Blackmer cells that operated in lean class AB, the dbx2001 operated in class A. Distortion dropped to less than 0.001% but the noise and dynamic range of the dbx2001 were inferior to those of class AB circuits.[6] This first generation of Blackmer VCAs had a very long service life; as of 2002, analogue consoles built around the original dbx202 "cans" were still being used in professional recording studios.[8]

By 1980, complementary bipolar ICs became possible and Allison Research released the first monolithic Blackmer gain cell IC. The ECG-101, which was designed by Paul Buff, contained only the core of a modified Blackmer cell – a set of eight matched transistors – and was intended for pure class A operation.[9][7] It had a unique sonic signature that had almost no undesirable, odd-order harmonics and was easier to stabilize than the original Blackmer cell.[9] In 1981 dbx, Inc. released their own monolithic IC, the dbx2150/2151/2155, which was designed by Dave Welland, the future co-founder of Silicon Labs.[6][7] The three numeric designations denoted three grades of the same chip; 2151 being the best, 2155 the worst; the middle-of-the-line 2150 was the most widely used version.[6] The eight-pin single-in-line package (SIP8) assured good isolation between inputs and outputs, and became the industry standard that was used in the later dbx2100, THAT2150 and THAT2181 ICs. These circuits, like the original hybrid dbx ICs, were a small-volume niche product that was used exclusively in professional analogue audio.[8] Typical applications include mixing consoles, compressors, noise gates, duckers, de-essers and state variable filters.[10] The dbx noise reduction system, which used the Blackmer cell, had limited success in semi-professional market and failed in consumer markets, losing to Dolby C.[11] The only mass market where dbx achieved substantial use was the North American Multichannel Television Sound, which was introduced in 1984 and operating until the end of analogue television broadcasting in 2009.[12]

In the 21st century, professional Blackmer ICs are manufactured by THAT Corporation – a direct descendant of Blackmers' dbx, Inc. – using dielectric isolation technology.[4] As of April 2020, the company offered one dual-channel and two single-channel Blackmer ICs, and four "analog engine" ICs containing Blackmer cells that are controlled by Blackmer RMS detectors.[13]

Operation

Basic, single-quadrant log-antilog converter

Log-antilog principle

The Blackmer cell is a direct descendant of a two-transistor log-antilog circuit, itself a derivative of the simple current mirror. Normally, the bases of two transistors of a mirror are tied together to ensure the collector current I2 of the output transistor T2 exactly mirrors the collector current I1 of the input transistor T1. Additional positive or negative bias voltage VY applied between the bases of T1 and T2 converts the mirror into a current amplifier or attenuator[14]. Scale factor or current gain follows the exponential Shockley formula:[15]

[math]\displaystyle{ I_2 = I_1 e^{ \frac { V_Y } {\phi_t} }, }[/math][16][5]

where [math]\displaystyle{ \phi_t }[/math] it the thermal voltage, proportional to absolute temperature, and equal to 25.852 mV at 300 K.[17]

The control voltage VY is usually referenced to ground, either with one terminal grounded or with both terminals driven differentially with zero volts common-mode voltage. This requires lowering emitter potential below ground, usually with an operational amplifier A1 that also converts input voltage VX into input current I1 (so-called transdiode configuration). A second operational amplifier A2 converts output current I2 into output voltage VXY.[18][14]

In mathematics, logarithm function is defined for positive argument only. A log-antilog circuit built with NPN transistors will only accept positive input voltage VX or only negative VX in the case of PNP transistors.[19][14] This is unacceptable in audio applications, which have to handle alternating current (AC) signals.[5] Adding direct current (DC) offset to audio signals, as was proposed by Embley in 1970,[6] will work at a fixed gain setting but any changes in gain will modulate the output DC offset.[5]

Four-transistor Blackmer core

The complete Blackmer gain cell, regulated with a VBE multiplier

The Blackmer circuit consists of two complementary log-antilog VCAs.[20] Its four-transistor core – the Blackmer cell proper – combines two complementary current mirrors that are wired back-to-back and operate in a push-pull fashion.[21] The lower NPN-type mirror (T1, T2) sinks input current I1; the upper PNP-type mirror (T3, T4) is sourcing input current I1 in the opposite direction.[4] A VBE multiplier thermally coupled to the core maintains around 1.5 V (2 VBE) across its power supply terminals and regulates its idle current (2 mA or less in production monolithic ICs[13]). Signal voltage is applied to terminals VX and control voltage to terminals VY. Operational amplifiers A1 and A2 perform same voltage-to-current and current-to-voltage converter functions as their counterparts in a unipolar log-antilog circuit,[20] and maintain virtual ground potential at the core's input and output nodes. Values of feedback resistors are usually set at 10 kOhm (100 kOhm in early hybrid ICs);[22] they must be equal to ensure unity gain at zero control voltage.[23] Potentials of all of the core's nodes other than Vy are almost independent of input signals, which is common to all current-mode circuits, which process signal currents rather than voltages.

When the control voltage VY=0 the core operates as a bidirectional current follower, replicating the input current I1 to output current I2. In cores biased to pure class A, both mirrors contribute their shares of I2 simultaneously; in cores biased to class AB, this is only true for very small values of VX and I1. At higher VX one of the mirrors of a class AB core shuts down and all output current I2 is sunk or sourced with the other mirror, which is active. With positive (negative) VY current through the active mirror or both mirrors in class A increases (decreases) exponentially, exactly as it does in a single-quadrant log-antilog circuit:

[math]\displaystyle{ I_2 = I_1 e^{ \frac { V_Y } {\phi_t} } = { \frac { V_X } { R} } e^{ \frac { V_Y } {\phi_t} }, }[/math]
[math]\displaystyle{ V_{XY} = V_X e^{ \frac { V_Y } {\phi_t} }, }[/math] assuming equal values of R in A1 and A2[16]

At 300 K, the slope of the exponential control law equals 0.33 dB/mV (or 3.0 mV/dB) for either negative or positive values of VX. In practice, the slope is inconveniently steep and the core is usually decoupled from real-world control voltages with an active attenuator. This attenuator, or any other source of VY, must have very low noise and very low output impedance, which is only attainable in op-amp-based circuits. A single-ended VY drive is almost as good as a symmetric balanced drive; having two VY terminals allows control of the cell by two independent single-ended voltages.[4]

The gain of the Blackmer cell has an inverse relationship with temperature; the hotter the IC, the lower the slope of exponential control law. For example, VY=+70 mV at 300 K translates to a gain of 10 times or +20 dB. As the die temperature rises to 310 K, gain at VY=+70 mV decreases by 0.66 dB to +19.3 dB; at maximum operating temperature of 343 K (70 °C) it drops to +17.2 dB. In practice this shortcoming is easily overcome by using a control scale that is proportional to absolute temperature (PTAT). In dbx noise reduction systems and THAT Corp's analog engine, this is ensured by the physics of the Blackmer RMS detector, which is PTAT by design. In old mixing consoles, the same effect was achieved using positive temperature coefficient (PTC) thermistors.[24]

Eight-transistor core

Basic four-transistor Blackmer core, Paul Buff eight-transistor core, and the eight-transistor core with logarithming error correction

Mismatches of PNP and NPN transistors of a basic Blackmer cell are usually balanced with trimming. Alternatively, transistors can be balanced by design via inclusion of opposite-type, diode-wired transistors into each leg of the core. Each of the four legs of the modified core contains one NPN and one PNP type transistor; although they are still functionally asymmetrical, the degree of asymmetry is greatly reduced. The slope of exponential control law is exactly half of that of the four-transistor cell. This improvement was invented by recording engineer Paul Conrad Buff and manufactured since 1980 as the monolithic ECG-101 IC by Allison Research and the identical TA-101 by Valley People.[25][26]

Eight-transistor core with log error correction

Parasitic base and emitter resistances distort current-voltage characteristics of real-world transistors, introducing logarithming error and distorting the output signal. To improve precision beyond what was attainable through the use of oversized core transistors, Blackmer suggested using his eight-transistor core with interleaved local feedback loops. The circuit, which was first produced as hybrid dbx202C in 1978 and as monolithic 2150/2151/2155 ICs in 1981, minimizes log-error distortion when the value of each feedback resistor equals the sum of equivalent emitter resistances on NPN and PNP transistors. A simple model predicts this approach neutralizes all sources of logarthming error but in reality, feedback cannot compensate for current crowding effects, which can only be reduced by increasing transistor sizes. Cores of monolithic Blackmer ICs are so large effective feedback resistor values are less than one ohm.[27][25]

Parallel wiring of cores

Blackmer cores, being current-in, current-out devices, can easily be connected in parallel.[28] Wiring identical cores in parallel increases input and output currents proportionally to the number of cores, however, noise current rises only as the square root of same number. Paralleling four cores, for example, increases signal current four times and increases noise current two times, improving signal-to-noise ratio by 6 dB. The first production circuit of this type, the hybrid dbx202x, contained eight parallel cores made up of discrete transistors; the hybrid THAT2002 contained four monolithic THAT2181 dies.[29][30]

Performance

The design of a Blackmer cell IC is a compromise favoring a specific combination of distortion, noise and dynamic range of gain settings. These properties are critical for professional audio application and are interrelated and cannot be perfected simultaneously. The choice of circuit simplicity (built-in, wafer-level trimming) or lowest distortion (external in-circuit trimming) is also fixed at die level.[16][6]

Distortion

Distortion of a class AB Blackmer core has three main sources:

  • Logarithming error due to finite parasitic resistances;
  • Asymmetry of top (PNP) and bottom (NPN) transistors;
  • Nonlinearity of input voltage-to-current converter (A1).[20]

The first two sources are contained within the core and define distortion patterns at low frequencies. Both are suppressed by increasing transistor sizes, although effective neutralization of logarithming error is only possible in improved eight-transistor cores.[31] Large transistors have lesser parasitic resistances and are less sensitive to inevitable random area mismatches.[31] Temporal mismatches caused by thermal gradients are avoided by careful placement of core transistors and surrounding components on the IC.[32] The residual mismatch of PNP and NPN mirrors is compensated for with trimming, usually by injecting a very small current into one of the core's two output transistors.[33] This creates a small, asymmetric biasing voltage of a few millivolts or less, which should ideally be proportional to absolute temperature.[33] In monolithic ICs, this is ensured by using a thermally-coupled PTAT source of bias current.[33] Wafer-level trimming suffers from random shifts during subsequent die packaging; wafer-trimmed ICs have maximum rated THD from 0.01% (best grade) to 0.05% (worst grade) at 1V RMS input.[34] Further reductions to 0.001% THD require in-circuit fine trimming,[35] which is normally performed once using a precision THD analyzer and needs no further adjustments.[30]

The output amplifier A2 operates at fixed closed-loop gain, drives a benign constant-impedance load and does not degrade distortion.[35] The input amplifier A1 drives a nonlinear feedback loop wrapped around the core and must remain stable at any possible combination of VX and VY.[35] To avoid crossover distortion, A1 must have very high bandwidth and a fast slew rate[9] but at treble audio frequencies, its nonlinearity becomes the dominant factor of distortion as the open-loop gain of A1 decreases.[35] This type of distortion is common to operational amplifiers with voltage output; in production ICs, it is effectively nulled by replacing the voltage-output amplifier with a current-output transconductance amplifier.[35][4]

Noise

Estimation and measurement of signal-to-noise ratio is difficult and ambiguous because of the complex, non-linear relationship between currents, voltages and noise. At zero or very small input signals, the core has a very low noise floor. At high input signals, this residual noise is swamped by far larger modulation noise containing products of shot noise, thermal noise from the core's transistors, and external noises that are injected into VY terminals.[36] Higher input signals cause greater modulation: "noise follows the signal", in a nonlinear fashion.[9]

At moderate gain or attenuation settings, noise of the core – assuming noise-free surrounding circuitry – is determined by collector current shot noise, which is proportional to the square root of emitter current.[37] Thus lowest noise is attained in class AB cores with very small idle currents. Designs for lowest distortion require pure class A operation at the cost of higher noise. For example, in THAT Corp's ICs, increase of idle current from 20 μA (class AB) to 750 μA (class A) causes a rise in no-signal noise floor by 17 dB;[38] in dbx, Inc. hybrid "cans" the difference was either 10 or 16 dB.[6] In practice, there is no perfect compromise; the choice of low-noise class AB or low-distortion class A depends on application.[39]

Noise of operational amplifiers A1 and A2 is only material at very low or very high gain settings. In class AB ICs by THAT Corporation, noise of A2 becomes dominant at gain of −30 dB or less, the noise of A2 becomes dominant at gains of +20 dB or more. At high output levels, the noise signature is dominated by noises injected via control terminals, even when proper care has been taken to suppress their sources.[36]

Injection of noise and distortion via control terminals

Blackmer cells are particularly sensitive to interference at control terminals. Any signal arriving at VY port, either a useful control voltage or unwanted noise, directly modulates the output signal at a rate of 0.33 dB/mV for a four-transistor cell or 0.17 dB/mV for an eight-transistor cell. 1 mV of random noise or hum results in either 4% or 2% modulation, degrading signal-to-noise ratio to absolutely unacceptable values.[40] Contamination of VY with input signal VX causes not noise, but unacceptably high harmonic distortion.[30]

Circuits driving VY terminals must be designed as thoroughly as professional-grade audio paths are. In practice, VY terminals are usually interfaced to external control signals with low-noise operational amplifiers directly, ensuring the lowest possible output impedance;[30] low-cost amplifiers like the NE5532 are an inferior but acceptable alternative to quieter but more expensive models.[41] Amplifiers of this class are characterized by audio frequency noise density of a few nV/[math]\displaystyle{ \sqrt{} }[/math]Hz which, although low, will swamp other noise sources at high signal levels.[42]

Control range

In class AB cores, off-state suppression of input signal, which marks the lowest end of control scale, reaches 110 dB at 1 kHz but deteriorates at higher audio frequencies due to parasitic capacitances. Single-in-line IC packages, otherwise obsolete, perform well in this respect due to the relatively long distance between input and output pins. Care should be taken to prevent capacitive coupling from VX input to A1 non-inverting input.[30] In class A cores, the control scale is inevitably narrower due to higher residual noise level.[43]

Control voltage feedthrough

In class AB cores, at low frequencies, feedthrough of control voltage VY into the output signal has two principal sources: mismatches in core transistors that are reduced by increasing transistor sizes, and feedthrough of input bias current. Any DC component of VX, and input offset voltage of amplifier A1 inject DC components into input current I1, which are replicated at the output and modulated by the core along with the AC input signal. These sources of feedthrough can be neutralized with capacitive coupling, leaving one undesirable DC component, input bias current of A1. This current can be reduced to a few nanoamperes with bias-canceling input stages. At high frequencies, VY is coupled to the output node directly via collector-base capacitances of the core transistors. Differential VY drive does not eliminate the problem because of the different capacitances of PNP and NPN transistors.[40] The residual VY feedthrough can be nulled by feedforward injection of inverted VY into the output node via a small-value capacitor, restoring capacitive symmetry of the core.[40]

Class A cores, in general, are more prone to control voltage feedthrough owing to thermal gradients in the core (in class AB same gradients manifest themselves as distortion). Early class A ICs used as muting gates produced audible, low-frequency "thumps" but subsequent improvements in production ICs significantly reduced the undesirable feedthrough.[43]

References

  1. 1.0 1.1 Tyler & Kirkwood 2008, p. 342.
  2. 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 Tyler & Kirkwood 2008, p. 341.
  3. 3.0 3.1 Adams 2006, p. xi.
  4. 4.0 4.1 4.2 4.3 4.4 4.5 Tyler & Kirkwood 2008, p. 344.
  5. 5.0 5.1 5.2 5.3 Hebert 1995, p. 2.
  6. 6.0 6.1 6.2 6.3 6.4 6.5 6.6 Duncan 1989b, p. 58.
  7. 7.0 7.1 7.2 "A Brief History of VCAs". THAT Corporation. 2019. http://www.thatcorp.com/History_of_VCAs.shtml. 
  8. 8.0 8.1 Israelsohn 2002, p. 41.
  9. 9.0 9.1 9.2 9.3 Duncan 1989b, p. 59.
  10. Tyler & Kirkwood 2008, pp. 344–345.
  11. Сухов, Н. (1998). "Dolby B, Dolby C, Dolby S ... dbx?". Радиохобби (4): 45–48. 
  12. Jones, Graham (2013). National Association of Broadcasters Engineering Handbook: NAB Engineering Handbook. Taylor & Francis. pp. 1520–1523. ISBN 9781136034107. 
  13. 13.0 13.1 "THAT IC Selection Guide". THAT Corporation. 2019. http://www.thatcorp.com/THAT_IC_Selection_Guide.shtml. 
  14. 14.0 14.1 14.2 Duncan 1989a, p. 88.
  15. It is implied but not announced directly that the two transistors are identical.
  16. 16.0 16.1 16.2 Israelsohn 2002, p. 40.
  17. Sabah, Nassir (2017). Electronics: Basic, Analog, and Digital with PSpice. CRC Press. pp. 703. ISBN 9781420087086. https://books.google.com/books?id=K2TMBQAAQBAJ&pg=PA703. 
  18. Hebert 1995, p. 2, Figure 1.
  19. Tyler & Kirkwood 2008, p. 343.
  20. 20.0 20.1 20.2 Hebert 1995, p. 3.
  21. Tyler & Kirkwood 2008, pp. 343–344.
  22. THAT Corporation 2002, p. 2.
  23. THAT Corporation 2002, p. 4.
  24. THAT Corporation 2002, p. 7.
  25. 25.0 25.1 Duncan 1989b, pp. 58, 59.
  26. Tyler & Kirkwood 2008, p. 341, 344.
  27. Hebert 1995, p. 5.
  28. THAT Corporation 2002, p. 3.
  29. THAT Corporation 2002, pp. 3, 5.
  30. 30.0 30.1 30.2 30.3 30.4 Self 2010, p. 499.
  31. 31.0 31.1 Hebert 1995, pp. 6–7.
  32. Hebert 1995, p. 6.
  33. 33.0 33.1 33.2 Hebert 1995, p. 7.
  34. Hebert 1995, pp. 7–8.
  35. 35.0 35.1 35.2 35.3 35.4 Hebert 1995, p. 8.
  36. 36.0 36.1 Hebert 1995, p. 14.
  37. Hebert 1995, p. 9.
  38. Hebert 1995, pp. 10–11.
  39. Hebert 1995, p. 11.
  40. 40.0 40.1 40.2 Hebert 1995, p. 12.
  41. THAT Corporation (2010). "Improving VCA Performance II & III". THAT Corporation Design Note 110: 2. http://www.thatcorp.com/datashts/dn127.pdf. 
  42. Hebert 1995, pp. 12, 14.
  43. 43.0 43.1 Duncan 1989b, p. 60.

Bibliography