source resistors, so its own ESR is effectively “swamped” by the relatively high
resistor values. C5 is included to preserve the high-frequency response of the
pulse waveform and to further reduce the
effect of C6’s ESR.
Between the 8µs pulses, IC2 drives its
pin 1 port to +5V. This turns Q6 on and
discharges the series combination of
C5/C6 and the capacitor under test.
Pulse amplifier
The current pulses developed across
the test capacitor are fed via C7 and R12
to a fast non-inverting pulse amplifier
based on transistors Q7 and Q8.
These two transistors are wired
as common-emitter stages, with
feedback applied via R17 to give
an overall gain of about 20,
depending on the setting of
VR2. The amplified signal out-
put from this stage is then fed
to the non-inverting input of
one of IC2’s comparators via
pin 8, so that it can be com-
pared with the reference
voltage.
Reference voltage
generator
Transistors Q9 and
Q10 form a current mir-
ror circuit which works
with capacitor C10 to
provide the reference
voltage (see Fig.3). It
works like this: when
Q9 is on (ie, when
pin 4 of IC2 is low),
approximately
9.4µA flows through
this transistor and R22. This cur-
rent is “mirrored” by Q10, so
the same amount of current
also charges C10 (470nF)
at a linear rate towards
the +5V supply for as long
as pin 4 of IC2 is held low.
The ramp voltage developed across
C10 is applied to pin 10 of IC2. This pin
is the common inverting input of the two
voltage comparators inside the Z86. Q11
discharges C10 when IC2 switches its
pin 4 port to +5V at the end of each
measurement cycle.
Range changing
While ever the power is switched on,
the Z86 goes through a regular measurement routine in which it starts C10’s
voltage ramping up and then drives
either Q3, Q4 or Q5 with 8ms pulses that
are 500ms apart. This produces measure-
ment ranges of 0.00-0.99Ω, 1.0-9.9Ω and
10-99Ω.
If a reading is offscale, the unit automatically drops to the next lowest test
pulse current and checks again.
However, if it’s already on the 10-99Ω
range and the reading is offscale, it will
display “-” to indicate a reading above
99Ω.
Conversely, if it gets a very low reading, it will keep going to the next highest
test current, until it’s found the highest
on-scale reading. The reading is then
shown on the 7-segment LED displays.
Driving the displays
To display the reading, the Z86 microcontroller sends out eight bits of data (in
sequence) every 5ms to IC3, a 4094 serial-to-parallel shift register. These data
bits correspond to the LED display segments and to the decimal points which
are formed using LEDs 1 & 2.
In operation, the LED displays
(DISP1, DISP2 and LEDs 1 & 2) are
switched at a 100Hz rate by transistors
Q12 and Q13. Q12 is driven (via R28)
from the P23 output (pin 18) of IC2,
while Q13 is biased on via R27, which
connects directly to the +5V rail. Q13
toggles off when Q12 turns on and turns
back on again when Q12 turns off.
Due to the slow response of the human
eye, the displays all appear to be constantly illuminated. This technique is
called “multiplexing” and it allows the
two displays to share a common drive
circuit.
Test lead resistance zeroing
The resistance of the test leads can be
compensated for by again pressing
switch S1 (ie, after the unit has been
powered up) while the test lead probes
are held tightly together (to minimise
contact resistance). When this is done,
pin 3 of IC2 is pulled low via D2 and S1
and the microcontroller goes into its test
lead zeroing routine.
If the reading is less than 1
Ω (as all test
leads are), it saves this value for as long
as the meter is switched on. It then subtracts it from all subsequent readings, so
that only the ESR of the capacitor being
tested is displayed (ie, so that the reading
is unaffected by the test lead resistance).
Switching off
Pressing S1 while the test leads are
separated (or connected to a resistance of
1
Ω or higher) initiates the “switch-off”
routine (assuming, of course, that the
unit is already on).
What happens is that the Z86 stops
Text and illustrations courtesy of Silicon Chip
Page 5
Here’s a preview of the assembled PC board.
• Front panel chart figures updated to reflect current-generation electrolytic capacitors.
• PC board now has silk-screened component overlay, solder masking and holes
under the trimpots for adjustment after final assembly.
• Improved appearance, with countersunk screws, etc.
• Automatic switch-off time increased from two minutes to three minutes.
• Holder for 6 AAA cells instead of a 9V alkaline battery for longer times between
battery replacements (and to finally end constructor confusion about how to keep
the battery in place).
• Smaller more reliable pushbutton switch which is harder to accidentally bump in a
toolbox.
• Automatic self-testing of the meter ’s circuitry added to the microcontroller firmware,
to simplify fault-finding if a newly-built meter doesn’t work properly.
What’s Changed In The Mk.2 Version