Step 1: The op Amp
It is available in a TSSOP (Thin Shrink Small Outline Package) which means it is small indeed, small enough for me to demonstrate my one-off microprototyping skills.
Step 2: The circuit
The large size of the input capacitors make them too bulky to be included on board, so they shall be outside, between the input jack and volume control, and the board.
The power supply is provided by a nine volt battery, converted to dual +/- 4.5 volts by 4.7K resistors and decoupled by 220 microfarad capacitors.
A high efficiency Light Emitting Diode shall provide indication that the circuit is ON, it is fed with about 0.7 milliamperes by a 10K resistor.
Step 3: The components
The small size of these components make it very difficult for conventional point to point wiring techniques to be used. In fact the only viable means of connecting them up is to use a printed circuit board.
Step 4: The Printed Circuit board - Design
In the design below, black represents copper, white repesents the areas where copper has to be removed, and grey and yellow represent the component body and leads respectively.
The component outlines can be removed, the gaps cleaned up, and the pattern printed to scale using a laser printer, mirror imaged of course, and the pattern ironed on to copper laminated board, and etched in ferric chloride.
Since I was going to make a grand total of ONE board I opted for a different approach. (I could not find the chip resistors for a second board.) And that was to draw the pattern directly onto the laminate using a permanent marker.
More specifically, I coated the laminate (after cleaning) with a coat of etch resist (permanent marker ink) and scratched the pattern on to it with a sharp point.
Step 5: Preparing the board
A small piece of double sided copper clad epoxy board was cut to size and cleaned. Reference marks were punched on it so that when covered with a layer of marker ink these will still be visible. The lines and punch marks do not cut the copper, they just indent the surface just enough to mark it in relief.
Step 6: Coat with resist
Step 7: Scratch pattern
If you have a dremel with a pointed tool, a steady hand, and lots of confidence (or lots of board) you can skip a few steps and carve the board directly. This saves the bother of messing about with chemicals in order to remove the copper.
But doing it this roundabout way has advantages: mistakes can be rectified by dabbing on a spot of marker and scratching again. Designing those lines to be straight was easy in Paint, and while drawing it on to the board, a transparent ruler can be used to guide the awl through those lines.
When all mistakes have been rectified and the board looks like the intended design solder a wire to the copper, drop it in some salt water and make it the anode for five minutes or so.
Step 8: The etched board
Those lines were scored into the copper as a guide, and copper remains over some parts. You can also see that copper remains in some places near the edge of the board, this is intentional, and is designed so that the current has a path to travel to all parts of the board so that electrolysis can proceed.
Some bridges remain across those gaps, and will be cleared by running the edge of a sharp knife through them. After testing (using 12W lamp and battery) and a coating of varnish it is ready for soldering.
Step 9: Resistors soldered
Step 10: Soldering the chip
I use the tip of a length of copper wire wrapped around the bit of the iron in order to successfully heat one joint without disturbing the one next to it.
Jewellers eyeglass screwed into the eye is good, too. Leaves both hands free to grope around the desktop looking for tools you dropped.
Tip: LOOK for the soldering iron, do not try to locate it by feel.
Step 11: The other side of the board
Four links join the top and bottom sides of the board. The other side was prepared for the power supply circuitry by removing the copper to isolate the + and - supply connections to the chip. These cuts were made with the sharp point of a hobby knife.
The picture shows the two 4.7K resistors for the "virtual ground" and two 100n ceramic chip decoupling capacitors. These capacitors are not drawn in on the schematic, but op amp lore has it that it is good to have them. Better drop them in now than later, when there might not be space left on board for them.
Step 12: The other components
A 9V battery has been included as a reference for size. The top off a dead 9V battery is used for the battery connector. A broken stereo jack shall be processed into the input connector. A volume control has to be harvested from somewhere. I am still in the field, looking out for one. A bright green LED that gives out a satisfactory amount of light when fed with 10K from that 9V battery has been selected. The two input capacitors are 150 nf (0.15 microfarads) which is 50% more than specified, and so adequate for the purpose. The two electrolytics have voltage ratings of 16 volts, and so they will be okay in this circuit which has a maximum of nine volts.
I am also in the lookout for a container for these bits and pieces. For a demo, a transparent case should do, though a metal case should be used for the sake of shielding.
The output shall be a female stereo receptacle that attaches to the end of a cable. This shall enable the actual box itself to be very small.
Step 13: Reverse polarity and overvoltage protection
Reverse polarity protection may be implemented by a diode reverse connected across the supply leads of the op amp. Then, if a voltage source is connected in reverse, the diode will conduct and hopefully the ic will not be subjected to more than a volt or so of reverse voltage.
Make that diode a zener, and it will conduct when its rated voltage is reached.
I added a zener of 24 volts, so that two 9 V batteries in series can be accommmodated, and still keep within the 36 volts rating of the RC4560. Besides, this diode was there in my junk box.
There was another one of 2 volts in there, and I put that in series with the LED. My additions to Chu Moy's circuit is highlighted below. Now when the LED goes dim or remains off you know that the voltage of the battery is below four volts or so and it is time to swap it out for one with more juice.
Step 14: Power Supply
The zener for protection is placed on board so that frayed leads etc do not cause the protection to become ineffective.
The two electrolytics forming the virtual earth have been connected with three pieces of wire so that the whole assembly may be packed into a minimum of space.
Step 15: The signal connections
The output from the amplifier board feeds a socket to mate with the headphone jack. I have taken one channel direct from the opamp output, and the other from the isolating resistor. After extensive tests the connection with the better sound (I hope) will be selected for both channels.
The on-off switch has been placed on the battery connector. So this picture shows the entire headphone amplifier, as well as the cheap earphones I am using to test it with.
So how does it work?
Step 16: Troubleshooting
The RC4560 is a bipolar opamp (price $0.41 each according to the TI website) and so it has an input bias current which can go up to 0.5 microamps according to the datasheet. This current (100 nanoamps in my case) across the input resistor of 100K was developing an input offset of 10 millivolts, which, amplified by the gain of 11, resulted in the offset at the output. The amplifier and its circuit was behaving normally, as all op amps do. It was my expectations regarding the circuit that was wrong.
What could be done? I could purchase two OPA627's (price $12.25 each according to the TI website) and place them in place of that RC4560. Well no. There isn't sufficient space.
The difficulty was that the offset at the output of the opamps was causing a current to flow. What if the current was prevented from flowing? The offset, or any steady voltage at the output, for that matter, was not signal. So I added a small capacitor between the virtual ground and the junction of the two 220 microfarad caps, and allowed the ground return of the earphones to sit at whatever voltage they cared to.
With this modification the circuit worked as a headphone amplifier.
How does it work? (again!)
Well, I do not have decent headphones to check it with, so the only thing I can say with confidence now is that it does sound louder.
Step 17: The Amplifier in action
And oh yes - my taste in music is atrocious.
Listening to a couple of disks did not bring up any problems that might need attention, so I looked around for a box to put it in. A metal box is to be preferred, but the wiring is so compact that there isn't much enclosed area or stray capacitance to pick up noise, even without the shielding of a metal box.
Having the input jack and output socket at the end of cables mean that the box can be small indeed, if the volume control is not fitted.
For the present, I have stuffed it into a transparent plastic box.
Step 18: Amp in a box
I shall either line this box with metal foil or try and find a metal box this shape and size. The jack and socket shall be connected with the proper cable. An extension stereo cable, one with a plug at one end, and a socket at the other, can be cut and the amplifier introduced in the middle, for a neat solution.
Step 19: All the bits on one page
This started out as a "Chu Moy" circuit, but now the deviations from that ideal make this a different sort of beast.
The original Chu Moy amp uses FET input opamps. This one uses a far cheaper bipolar one. The virtual ground, at which the headphone common terminal sits, is now floating.
The amplifier was not built on board with oxygen-free copper cladding. Instead of new pedigreed precision resistors those from junked hard disk drives were used.
Be warned. Listening to music that has passed through such plebian devices for an extended period of time can do things to your mind. You will no longer be able to pass a pile of junk without an uncontrollable urge to dive inside it and retrive what you can. And you might even arrange those pieces of junk, call it by some pedigree name, and post the result in some website.