top of page

Instrument Amplifier

Basic Tuts: CV

Beginning

  • Summary: In this tutorial, we will create a simple solid state headphone amplifier which can be used for amplification of passive instruments, and coupling them to low impedance loads (headsets, headphones). This circuit will only use one Op-Amp and one class AB integrated power amplifier.

  • Prerequisites: To successfully build the amplifier and to understand the underlying design principles the user should have some basic analogue electronics and signal processing knowledge. The simulations were carried out in ISIS Proteus Design Suite 8.6, but any Spice program should suffice (some examples: LTSpice - from Linear Technology can be downloaded from here, Java based simulator applet online, National Instruments Multisim Live here). The circuit was designed using Autodesk Eagle (can be downloaded from here) but other PCB designer software can be utilized such as KiCad, Altium, etc.

  • Why should we build a small amplifier, when a large one can be so much more satisfying? Only a few reasons: Weight - amps are quite heavy (My Warwick BlueCab 30 weighted 15kg). Noise - amplifiers are loud (you don't say),  and maybe there are some periods when one would practice the instruments, but one doesn't want to disturb neighbours or family. Fun - it's always fun to build something new.

Preamplifier Circuit:

The role of the preamplifier (or preamp) is to convert a weak signal into a stronger, noise tolerant signal, which can be further processed by the power amplifier. The preamp provides the voltage gain of the circuit, and the impedance matching - the input is a high impedance low current source, low output impedance for the power amp. This circuit could be built with one or several transistors, but the quiescent point must be set with multiple bias resistors. The voltage gain of OpAmps is larger, which means fewer stages can have the same effect. For this circuit, I've used MC34071 precision OpAmps because I had them in my drawer, but cheaper MCP6001 or MCP601 alternatives can be utilized.

The preamp circuit can be seen on the right. We want to have a portable amplifier so that the power supply will be a small 9V battery. The Op Amp will be used in inverting amplifier configuration (the phase response of the signal is of no importance in our case). DC voltage must be removed from the input signal, so our Op Amp only has to amplify the AC (no accidental clipping) - this is done with the C4. Since C4 and the volume potentiometer ( represented by R3 and R10) form a high-pass filter, the cut-off frequency can be calculated by the formula (1).  The battery will be used as a unipolar supply, so the Op Amps' positive input must be biased to half the supply voltage with a voltage divider. Another DC filter capacitor is used at the output of the Op Amp (C12) to remove the bias DC voltage. 

​

A good practice in electronics is to include bulk and decoupling capacitors on the supplies. One electrolytic capacitor for the 9V supply, one for the bias voltage (they can have the same values), and a 100nF ceramic capacitor as close to the Op Amps power pins as possible.

On the right image below I showed the AC sweep of the Preamplifier circuit. The input was a pure sine wave function with 1mV p2p voltage, and 1.25mV DC offset. The modified component was the potentiometer (by assigning values from 0 to 200k to the x in R3 and R10). The frequency response of the circuit was plotted from 10Hz to 20kHz. The image on the left side shows the prototype setup. It's a messy board, with multiple wires collecting mains 50Hz noise and high-frequency static noises, but the sound can be heard, so we don't have to debug the circuit with an oscilloscope, and we can start to build the Power amplifier.

Power amplifier Circuit:

The role of the power amplifier, as its name suggests, is to increase the power of the input signal, which is done by increasing the current. Power amplifiers can be designed in different classes (A, AB, B, or D for audio amplifiers, G, DG, H for other applications). As in the previous stage, we could build an amplifier from discrete components (and maybe we will in the future), but specified ICs exist to ease the design procedure.

I've chosen the old LM386 AB class linear amplifier for our circuit. It's old technology, some may argue too old, but for cheap headphone applications, it will suffice. Other option could be to use a second Op Amp stage, or  TDA2822.

We can see the complete amplifier on the picture beside. Now we will focus only on the output part. The LM386 datasheet provides useful information to build the circuit. The positive input will be connected to the C12 output capacitor, thE negative input to ground. Same as before the power pins must be decoupled with a 100nF ceramic capacitor. The offset capacitor on pin 7 can be left unpopulated since we have C12 as DC filter. The output electrolytic capacitor is also a DC filter, and its purpose is to protect the speakers.

R16 and C15 series RC circuit is used in parallel with the internal negative feedback to compensate for the headphones frequency response.

The gain is set to 20 by default, but it can be increased to 200 by placing a 10uF capacitor between pins 1 and 8. Alternatively, the capacitor can be connected in series with a potentiometer for variable gain. For my ears even a gain of 20 was too much, so I've added the R15 resistor after C12 which forms an attenuator with the internal 50k resistance (2). Below I've posted a picture of the complete circuit on the proto board, and on the final PCB.

On a final note, the noises are barely hearable with the short signal path on the PCB. Still, as a final improvement, a metal case or a plastic one with metal film shielding is required. The four small vias visible on picture 2 and 4 are ground connections to this metal cover, which will act as a noise shield. (The design procedure of such a cover will be posted here when I will have the time and resolve to cut and glue poly-carbonate).

(1) The cut-off frequency (-3dB gain) of an RC circuit can be calculated with a formula:

(2)The output voltage of a voltage divider resistor network (R1 and R2 with output at R2) in function of the input voltage can be calculated with the formula:

bottom of page