Silicon ChipThe ESR Meter Mk.2; Pt.2 - April 2004 SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: Technical people should be held in high regard
  4. Feature: Looking Into LEDs by Ross Tester
  5. Feature: Hands-On PC Board Design For Beginners; Pt.3 by Peter Smith
  6. Project: Loudspeaker Level Meter For Home Theatre Systems by John Clarke
  7. Project: Shut That Mutt by Branko Justic
  8. Feature: Worldspace Radio Via Satellite In Australia by Garry Cratt
  9. Project: A Smart Mixture Display For Your Car by Julian Edgar & John Clarke
  10. Project: The ESR Meter Mk.2; Pt.2 by Bob Parker
  11. Project: PC/PICAXE Interface For UHF Remote Control by John Holliday
  12. Review: Redback 8-Channel Pro Mixer by Ross Tester
  13. Vintage Radio: The art of cannibalism & making do by Rodney Champness
  14. Back Issues
  15. Advertising Index
  16. Book Store
  17. Outer Back Cover

This is only a preview of the April 2004 issue of Silicon Chip.

You can view 18 of the 96 pages in the full issue, including the advertisments.

For full access, purchase the issue for $10.00 or subscribe for access to the latest issues.

Articles in this series:
  • Hands-On PC Board Design For Beginners; Pt.1 (February 2004)
  • Hands-On PC Board Design For Beginners; Pt.1 (February 2004)
  • Hands-On PC Board Design For Beginners; Pt.2 (March 2004)
  • Hands-On PC Board Design For Beginners; Pt.2 (March 2004)
  • Hands-On PC Board Design For Beginners; Pt.3 (April 2004)
  • Hands-On PC Board Design For Beginners; Pt.3 (April 2004)
Items relevant to "Loudspeaker Level Meter For Home Theatre Systems":
  • Loudspeaker Level Meter PCB pattern (PDF download) [01104041] (Free)
  • Loudspeaker Level Meter front panel artwork (PDF download) (Free)
Items relevant to "A Smart Mixture Display For Your Car":
  • Smart Fuel Mixture Display PCB pattern (PDF download) [05104041] (Free)
Articles in this series:
  • The ESR Meter Mk.2 (March 2004)
  • The ESR Meter Mk.2 (March 2004)
  • The ESR Meter Mk.2; Pt.2 (April 2004)
  • The ESR Meter Mk.2; Pt.2 (April 2004)

Purchase a printed copy of this issue for $10.00.

The easy way to identify faulty electros ESR Meter Mk.2 Pt.2: By BOB PARKER Last month, we described the circuit operation of the ESR Meter Mk.2. This month, we describe how to build, calibrate and use this very handy test instrument. There’s also a complete section on troubleshooting, in the unlikely event that you strike trouble. E VEN IF THE ESR Meter’s operation seems complicated, at least it’s easy to build. As you can see in the photos, all the components except for the battery holder, test sockets and the pushbutton switch are mounted on a single PC board. This in turn is attached to the front panel using spacers and machine screws. The very first thing to do is glue the display window to the inside of the front panel, using a few drops of an adhesive such as contact cement around its edges. This can then be put aside to dry while you assemble the PC board. 68  Silicon Chip Although a high-quality, soldermasked PC board is supplied, it’s still wise to check it for defects. To do this, illuminate the component side with a bright light and examine the copper side very carefully – preferably with a magnifier – for any hairline fractures in the tracks. Check also for any solder “whiskers” or bridges and pay particular attention to any tracks which pass between IC socket pads, where such defects tend to congregate and hide. Because of the need to make it fit into a compact plastic case, the PC board is tightly packed and the solder pads are quite small. The last thing this circuit needs is solder bridges and bad joints, so be very careful with your soldering. Always lift the iron vertically from a just-soldered joint and never wipe it sideways as so many constructors seem to do! Construction is easiest if you begin by installing the resistors and diodes first. Note that the kit for the Mk.2 version contains all 1% resistors. It’s notoriously difficult to correctly identify the colour bands on these, so check each one’s value with an ohmmeter before soldering it to the board. Table 1 will help you select the resistor values prior to checking. The larger components can now all be installed. These parts include crystal XTAL1, the electrolytic capacitors, trimpots VR1 & VR2, the transistors, and the sockets for the LED displays and IC2 & IC3. Note particularly that the 7-segment LED displays and LEDs are mounted www.siliconchip.com.au Fig.6: install the parts on the PC board as shown here but don’t install IC2 or IC3 until after the initial checks described in the text have been made. on a 28-pin IC socket. Make sure that this socket is flat on the PC board before soldering its pins, otherwise the displays will foul the Perspex window when you later attempt to fit the front panel. As usual, take care with the orientation of the polarised components; ie, the electrolytic capacitors, diodes and transistors. You should also make sure that the different transistor types all go in their correct places. Don’t install the socketed parts just yet, though. Once everything’s on the PC board, hold the component side up to a bright light and carefully check for any solder bridges or other problems. In particular, check for light shining through the holes of unsoldered joints (this has been another common cause of problems with this kit). LED displays Now for the LEDs and the 7-segment LED displays. First, cut the leads of the two decimal point LEDs down to about 8mm-long, then gently push them into www.siliconchip.com.au their places in the 28-pin socket. Make sure that they are correctly oriented; ie, the flat side of each LED must go to the right – see Fig.6. Next, insert the two 7-segment displays, ensuring that their decimal points are at the bottom and that they are properly seated. It might be necessary to snip a bit off their leads to get them to sit flat on the socket. External wiring When all the components are on the board, solder two 150mm lengths of hookup wire to the battery pads on the PC board - red to “+” and black to “-”. The pushbutton switch terminals and test lead sockets are quite close to the PC board once everything has been mounted on the front panel. As a result, you can connect them to the PC board using resistor lead offcuts. Alternatively, you can use short lengths of the supplied hookup wire. Solder these leads to the PC board now but don’t connect them to the switch or test sockets for the time being. Initial checks With IC2 and IC3 still out of their sockets, connect the supply leads to the batteries (or a 9V DC power supply), with a milliammeter in series with one of the supply leads. Initially, you shouldn’t see any current being drawn. Now short the pushbutton switch wires (the righthand ones when looking at the front) and check that the current drawn is now about 6mA. If it’s significantly higher or lower, start looking for assembly errors (component placement errors, missed solder joints and solder splashes). Assuming the current checks OK, connect the negative lead of a voltmeter to the negative battery lead, then check that there’s +5V on pin 5 of IC2’s socket and on pin 16 of IC3’s socket. If everything’s OK to here, disconnect the 9V supply and the milliammeter. That done, discharge any static April 2004  69 Fig.7: the PC board is attached to the underside of the front panel using 15mm-long tapped spacers, flat washers and M3 x 6mm machine screws. electricity you may have accumulated by touching something earthed, then install IC2 (Z86E0412PSC) and IC3 (4094) in their sockets. Double-check to ensure that these are both oriented correctly – their indented pin 1 ends are to the left. Next, set both VR1 and VR2 to their mid-range positions, then separate the pushbutton switch leads and reconnect the 9V supply. Now short the pushbutton leads again and keep them shorted. At this point, you should see something on the 7-segment LED displays, preferably “-” on the lefthand one. After five seconds, the displays should blank for a moment as the microcontroller does a basic check of the circuitry. If the next thing you see is “.8.8” for two seconds, it means that the board has passed the tests and is probably OK. However, if you see an “F” on the lefthand display and a digit or “A” on Fig.8: you will need to make up this simple circuit to set the battery warning trip point (7V). Alternatively, you can use an existing variable power supply. the righthand one, the microcontroller has detected a problem. In that case, go to the “Fault Codes” panel to find out what to check for. At this point, you can mount the test lead sockets onto the front panel – see Fig.7. Note that plastic insulating rings are supplied with these sockets. As shown in Fig.7, these must be installed between the lugs and the front panel, not under the tops of the sockets. Many constructors of the Mk.1 version overlooked this and placed the lugs directly on the metal panel, thereby short-circuiting them! Next, mount the pushbutton switch, using small pliers to gently tighten the nut and being careful not to slip and scratch the panel. That done, fasten the standoffs to the board using 3mm screws, then mount the whole assembly on the front panel using the black countersunk 3mm screws supplied. If the LED displays foul the Perspex window, use the supplied washers to further space the board from the front panel. Finally, complete the assembly by connecting the wires to the pushbutton switch and test lead sockets, and by soldering the supply leads to the battery holder. Calibration This is what the underside of the front panel looks like, prior to fitting the PC board. The Perspex window can be secured using contact cement. 70  Silicon Chip Now for the calibration. The stepby-step procedure is as follows: (1). Plug in the test leads, then push the button. You should see “-” on the lefthand display, indicating that the www.siliconchip.com.au Check These Fault Codes If It Doesn’t Work W HAT IF IT doesn’t work? In that case, the Mk.2 ESR Meter’s firmware allows the microcontroller to do some basic testing of the electronics, to help you narrow down a problem to one area of the board. Before doing the self-test, it’s very important to first set VR1 to the centre of its adjustment range and make sure that the meter’s supply voltage is in the range of 8.5-9.5V. Now switch the meter on by pressing and continuing to hold the button down, regardless of what the displays are showing. After five seconds, they’ll go blank for a moment, then show a test result for two seconds. The meter will then switch off by itself after you release the button. If everything is more or less OK, you’ll see “.8.8” on the displays (this shows that all the display segments and decimal point LEDs are working). However, if the microcontroller has detected a major problem, it will flash a fault code consisting of an “F” on the lefthand display and a character from 0-9 or an “A” on the righthand one. Experience has shown that by far the most common cause of ESR meter kits not working properly is defective soldering. When a fault code directs you to a particular part of the circuit, carefully check (using a bright light and magnifier) for solder whiskers, non-soldered joints and track damage such as lifted solder pads. If you can’t see anything abnormal, start checking for incorrect components and component placement errors such as transistors of the wrong type or with their leads in the wrong holes. If that doesn’t show up anything, you might have received a defective component in the kit, though this is very rare. OK, here’s a list of what the fault codes indicate: F0: Q11 is not discharging C10. Check around Q11 (BC338), R21 (10kΩ), R22 (470kΩ) and pin 4 of IC2 (Z86E0412). F1: C10 is charging too quickly. Check that R22 really is 470kΩ and that R19 & R20 are 10kΩ. Make sure C10 is 470nF (0.47µF, code “474”). Check also for soldering and com­ ponent placement problems around www.siliconchip.com.au transistors Q9 & Q10 (BC558). F2: C10 is charging too slowly (or not at all). Check around Q9, Q10 (BC558), R22 (470kΩ), R19 & R20 (10kΩ) and C10 (470nF). F3: Pulse amplifier output bias <440mV (ie, at collector of Q8). Check R13 (100kΩ) & R14 (220kΩ) for correct values and check that D6 isn’t reversed. Check around Q7 (BC548), Q8 (BC558) and around pin 8 of IC2 plus associated components. F4: Pulse amplifier output bias >1V. Carry out the same checks as for “F3” code. Check also that D5 isn’t reversed. F5: A test current source is permanently on. Check area around Q3, Q4 & Q5 (all BC328); R5, R7 & R9 (2.2kΩ); and pins 15, 16 & 17 of IC2. F6: No output from pulse amplifier. This fault is usually due to the banana sockets being installed with their plastic spacers in the wrong place and the solder lugs touching the front panel, thereby short-circuiting them (see Fig.7). If that’s not the problem, check around C7 (33nF), R12 (1kΩ), D3 & D4 (1N4002), C5 (100nF) and C6 (47µF bipolar). F7: Q3 not sourcing current. Check around Q3 (BC328), R5* (2.2kΩ), R6 (10kΩ) and pin 15 of IC2. F8: Q4 not sourcing current. Check around Q4 (BC328), R7* (2.2kΩ), R8 (1kΩ) and pin 16 of IC2. F9: Q5 not sourcing current. Check around Q5 (BC328), R9* (2.2kΩ), R10 (100Ω), IC2 pin 17. FA: Q6 not switching on. Check around Q6 (BC338), R24 (10kΩ) and pin 1 of IC2. Obviously, the microcontroller can’t perform detailed tests on every component, so it’s possible that your meter is malfunctioning even though the self-testing hasn’t shown up a problem. For example, if the meter is behaving strangely, “freezing” up or giving absurd readings on some values of test resistors, the most likely cause is a mix-up in the values of R6 (10kΩ), R8 (1kΩ) and R10 (100Ω). On the other hand, if the meter produces readings but there’s something wrong with the displayed characters, this is almost certainly due to one or more solder bridges between the pins of the large socket holding the displays, or around IC3. If the meter doesn’t stay switched on when you push the button, check around Q2 (BC338), R3 (15kΩ), R29 (2.7kΩ) and pin 2 of IC2. If it switches off when you short the test leads, R2 (4.7kΩ) may be the incorrect value or Q1 (BC328) may have a low current gain. Finally, if you can’t get the meter into the test mode, zero it or switch it off, check for solder “whiskers” and open circuits around pin 3 of IC2, R4 (47kΩ) and D2. If none of the above has helped you to identify the problem, there’s a page of fault-finding information on my website: http://members.ozemail.com. au/~bobpar/esrprob.htm. Do a Google search for “ESR meter faultfinding” if you can’t find it. Also Ben Cook in Perth will get your meter working for a reasonable fee plus postage and handling. You can contact him at: benok<at>iprimus. com.au. * The R5/7/9 area of the board seems to be a “magnet” for solder bridges and whiskers. April 2004  71 Driving The ESR Meter Mk.2 T HE ESR METER is extremely simple to operate but there are a few precautions to follow. First, here’s its basic step-by-step operation: (1). Insert the plugs of the test leads into their sockets. (2). Press the button so the “-” symbol appears on the display. (3). Hold the test probes tightly together – the test lead resistance is displayed. (4). With the probes still together, press the button again to give a zeroed reading of “.00”.You can repeat this at any time. (5). Measure the capacitor’s ESR (it should be discharged first). A reading of “-” indicates a reading greater than 99Ω. (6). When you’ve finished measuring, press the button with the probes separated. The meter switches off when you release the button. (7). When the battery is getting low, “b” flashes once per second and the display dims to conserve the remaining battery capacity. Precautions (1). Beware charged capacitors: the very first thing to do is to make certain that the equipment you’ll be using the ESR Meter on is disconnected from all power. Most electrolytic capacitors will be discharged by the circuitry around them within a few seconds of the power being switched off. However, be warned that filter capacitors in power supplies can remain dangerously charged, especially if there’s a fault. Before using the meter, make sure that all power supply capacitors are fully discharged. You can do this using well-insulated probes that include a series 100Ω 5W or similar power resistor. Don’t just short the capacitor’s terminals together; it can not only damage the capacitor but can also be dangerous. Always allow several seconds to ensure a complete discharge. Apart from the risk of surprise and injury to you, large charged capacitors can seriously damage the meter. If you think your ESR meter might be accidentally connected to electrolytics that are charged to high voltages, consider the extra protection idea described in the “Optional Modifications” panel. (2). Watch out for interference: the meter can produce unsteady indications if its test leads pick up strong horizontal deflection signal voltages. To avoid this, be sure to keep it away from operating (CRT) TVs and monitors when making measurements. (3). Use straight test leads: don’t use self-retracting “curly” test leads with your meter. Their inductance can Identifying Defective Electrolytics I F YOU’RE getting the idea that it’s tricky to identify defective electrolytics, relax! Experience has shown that in almost every case, a capacitor’s ESR needs to rise to at least 10 times its normal value to cause a circuit malfunction. Often, you’ll find that it’s risen to >30 times its normal value, or is so high that the meter just displays “-” (ie, >99Ω). So, with few exceptions, the electrolytic capacitor(s) causing a fault will be very obvious. It’s for this reason that the front panel figures don’t need to be extremely accurate or complete. When you encounter an electrolytic whose 72  Silicon Chip value or voltage isn’t on the chart, it’s sufficient to assume that its ESR should be similar to that of a capacitor adjacent to it on the chart. If you have any doubts, it’s best to compare the meter’s reading on a suspect capacitor with that of a new capacitor of the same value and voltage rating. Note that the electrolytics which fail are often the ones that are close to heat-generating components such as power semiconductors and resistors, so check these first. It will save time if you mark each good capacitor with a felt-tipped pen as you go, so cause measurement errors. Also, be very careful not to confuse the ESR Meter’s test leads with those from your multimeter! Keep them well separated. What else can it do? Since publication of the Mk.1 design in 1996, I’ve received a lot of feedback from imaginative ESR Meter users regarding other uses for it. The full list is on my website at http://members. ozemail.com.au/~bobpar/esrhints. htm but here are some of the best ones: (1). Resistance Measurement: as stated previously, this meter is really an AC ohmmeter with an equivalent test frequency of about 100kHz and capable of measuring non-inductive resistances from 0.01Ω to 99Ω. As such, it can be useful for locating short circuits on PC boards by showing the resistance of a copper track decreasing or increasing as you approach or move away from the short. For example, this is useful when trying to identify which one in a paralleled set of power transistors is shorted (thanks Mike Diack). You can also make your own very low-value resistors by measuring out a length of nichrome or similar resistance wire to give the required resistance. In addition, the ESR Meter can be used to check the contact resistance of switches, connectors and relays. you know which ones still need to be checked. Traps to avoid All test equipment can produce misleading indications under some conditions and the ESR Meter is no different. Because it is basically a high-frequency AC ohmmeter, it can’t discriminate between a capacitor with a very low ESR and one which is short-circuit or very leaky. In general, electrolytics with high ESR will cause faults such as switching power supplies losing regulation or failing to start, high-frequency noise in signal circuits, and distorted scanning waveforms in monitors and TV sets. In vintage equipment, they can cause www.siliconchip.com.au Just remember that any significant amount of inductance will cause measurement errors.You can’t measure the DC resistance of a choke, transformer winding, video head or a roll of electrical cable, for example. (2). Basic Signal Generator: the meter’s test signal is a 500mV P-P (open circuit) burst of 8µs pulses at a 2kHz rate, repeated several times per second. As a result, it can be used as a signal source for basic checks on amplifiers, loudspeakers and other audio components (thanks Joe Lussy). Maintenance The meter’s readings might become unsteady after a lot of use, due to oxidation or loosening of the test lead sockets. Heavily spray the test lead plugs with contact cleaner of the kind which evaporates completely (eg, CRC “CO” Contact Cleaner), then repeatedly insert and withdraw them from their sockets before it dries. If the test lead sockets have become loose, gently retighten them with long needlenose pliers. If the test probes have developed a resistive layer of oxidation, give them a wipe with a tissue soaked in tuner cleaner like CRC 2.26 or similar (thanks Joe Sopko). hum and low frequency instability (“motorboating”), etc. Conversely, leaky or shorted capacitors are likely to disturb the DC conditions of the circuit they are in, producing quite different kinds of faults. Tests with a multimeter should locate these. That said, in several decades of working on electronic gear, I’ve encountered less than a dozen shorted electrolytics but hundreds with high ESR)! If you find an electrolytic giving an ESR reading which seems too good (low) to be true, disconnect it from the circuit and measure its resistance with an ohmmeter – it might be short-circuit. In fact John Robertson from “John’s Jukes” in Canada found www.siliconchip.com.au The 6 x AAA-cell battery holder is secured to the bottom of the case using double-sided foam tape. meter is seeing an ESR/resistance that’s greater than its maximum reading of 99Ω. (2) Short the test leads together. The meter will display their resistance, typically 0.2-0.5Ω. Pushing the button again with the leads shorted should change the display to “.00” as the meter zeros out their resistance. However, that a cheap digital multimeter on a low ohms range can be connected in parallel with the ESR Meter without them disturbing each other. Doing this allows the multimeter to show up those rare shorted electrolytics while you simultaneously check the ESR. In some circuits such as in computer motherboards, switching power supplies and TV/monitor deflection stages, electrolytic capacitors are connected directly in parallel. In that case, a good capacitor can make the ESR of a (parallel) bad one appear to be much lower than it really is. You need to be aware of the circuit your suspect capacitor is in and disconnect it from circuit before making a measurement if necessary. it’s normal for this reading to change a bit, due to variations in contact resistance between the probes (remember that we’re measuring hundredths of one ohm!). (3) Connect the supplied 68Ω 1% calibration resistor to the probes and carefully adjust VR2 until the meter reads “68”. That done, check that it Beware Of Good ESR With Reduced Capacitance! There’s one more failure mode that you need to be aware of: when the ESR remains perfectly OK but the capacitance has dropped by a large amount. This is apparently quite rare but when it does happen, it can cause a lot of confusion If your ESR Meter shows that all the electrolytics seem OK but some strange fault is still present, try disconnecting and checking each capacitor in turn with a capacitance meter. Alternatively, you could try temporarily connecting new capacitors in parallel with any suspect units (after turning the power off and discharging them). April 2004  73 reads the supplied 5.6Ω calibration resistor reasonably accurately. Optional Modifications Battery warning setup Heavy-duty protection Skip this bit if you disabled the automatic switch-off function by leaving one lead of R25 disconnected (see the “Optional Modifications” section). This adjustment is easiest if you have access to a variable DC power supply. If not, you’ll need to temporarily build the little circuit shown in Fig.8. The adjustment procedure is as follows: (1). With the meter off, unplug the test leads and turn VR1 fully anticlockwise (as viewed from the copper side of the PC board). (2) Adjust the supply voltage to 7.0V, then switch the meter on. (3). Slowly turn VR1 clockwise until the display brightness suddenly drops slightly and the “b” battery warning indication begins flashing on the righthand display. (4). Turn the meter off, wind the power supply back up to 9V, then switch the meter back on and check that the battery warning triggers when you drop the supply back to 7.0V. And that’s it! If everything went as planned, you can fully assemble your new ESR meter and start finding defective electrolytic capacitors. But first, read the panel entitled “Driving The ESR Meter Mk.2” – it not only contains useful hints but list the precautions SC that must be followed as well. To provide greater protection against connection to charged electrolytics, some kit builders have connected an inverse-parallel pair of 1N5404 (or similar) high-power diodes between the test lead sockets. So if you’re the kind who’s likely to connect the meter to the 120µF input filter capacitor of a 240V-powered switching power supply without checking that it’s been properly discharged, this modification is for you. Reportedly, this protects the meter quite well, although it can result in the probe tips being blown off by large charged capacitors. The resulting surge current can also damage the charged capacitor and the power diodes themselves. However, without the diodes, the resulting >600A current spike destroys the microcontroller (IC2) and damages C6. Improving battery life If you’d like to get even more battery life out of the meter (and are feeling a bit adventurous), you can replace IC1 (78L05) with an LP2950CZ-5.0 and replace R26 (10kΩ) with a 27kΩ resistor. That done, adjust trimpot VR1 so that the low battery warning triggers at 5.6V instead of the original 7.0V. (Thanks to G. Freeman, South Australia for this idea which was published in the August 1998 issue of “Electronics Australia” magazine). Disabling automatic switch-off If you’d like to power the meter from an external 9V DC supply and have it operating continuously, just disconnect one end of R25 (47kΩ). This disables the automatic switch-off function but note that the low battery warning will no longer work if you do this. Of course, you can easily reconnect R25 if you change your mind in the future. For more modifications, including a buzzer to help you discriminate between good and bad electrolytics without having to look at the meter, go to my ESR Meter Hints web page at http://members.ozemail.com.au/~bobpar/ esrhints.htm Table 1: Resistor Colour Codes                   No.   1   1   1   2   2   7   1   3   1   4   2   1   1   1   1   1   1 74  Silicon Chip Value 470kΩ 220kΩ 100kΩ 47kΩ 15kΩ 10kΩ 6.8kΩ 4.7kΩ 2.7kΩ 2.2kΩ 1kΩ 680Ω 220Ω 180Ω 100Ω 68Ω 5.6Ω 4-Band Code (1%) yellow violet yellow brown red red yellow brown brown black yellow brown yellow violet orange brown brown green orange brown brown black orange brown blue grey red brown yellow violet red brown red violet red brown red red red brown brown black red brown blue grey brown brown red red brown brown brown grey brown brown brown black brown brown blue grey black brown green blue gold brown 5-Band Code (1%) yellow violet black orange brown red red black orange brown brown black black orange brown yellow violet black red brown brown green black red brown brown black black red brown blue grey black brown brown yellow violet black brown brown red violet black brown brown red red black brown brown brown black black brown brown blue grey black black brown red red black black brown brown grey black black brown brown black black black brown blue grey black gold brown green blue black silver brown www.siliconchip.com.au