Pulse detectors

I sometimes want to get some work done at my house in the countryside during the weekends. I don't always go there by car, and a traditional oscilloscope is too heavy and bulky to move often anyway. A battery, multimeter, high impedance earphone and the following rudimentary substitutes for the oscilloscope will allow some of the work to get done.

There are many ways to detect ultrasonic pulses, such as frequency counters, or just a digital frequency divider. Here is another pulse detector circuit: It is powered from the circuit under test, and will be activated by TTL, as well as CMOS, levels. The bandwidth is about 3 MHz. In case you are wondering about the twin diode, it seems to extend the bandwidth by almost 1000 times. What I like about this circuit, is that it will detect pulses even when the mark to space ratio is 1000. On an oscilloscope, I think they will be missed, unless expected.

Pulse detector

If the supply voltage is fixed at 5 Volts, it is easy to extend the bandwidth tenfold by using a monostable, or the following circuit: The flip-flop is reset at the rate of 1KHz, and pulse trains of a lower frequency may not be detected. However, such frequencies are audible when the mark to space ratio is not wildly different from one, and therefore do not require a pulse indicator at all.

Pulse indicator

Now, this next circuit should have been called a phase detector, but this name is already taken up by half a PLL section; for want of a better name, we 'll call it an edge comparator: It will tell you whether the two positive going edges in pulse trains of the same frequency occur within a few nanoseconds of each other; if they don't, which one comes first.

edge comparator

The pulse signals are tested twice, once after interchanging the A and B inputs. If the Led goes on both times, the positive edges are essentially coincident; if it stays off both times, every positive edge laggs the negative in the other signal, or they are essentially coincident. (If the mark to space ratio is one for both signals, they are essentially in antiphase.) The following table shows what happens when the Led only comes on once. By switching in the inverters, you can test negative edges, as well. You can also test pulse trains of different mark to space ratios, as long as the frequency is the same:

A into Data, B into ClockB into Data, A into ClockState
OnOnEssentially coincident
OnOffA leads B
OffOnB leads A
OffOffNegative edge leads positive in other signal

The circuit under test may have to be excited: The oscillator forming part of the chip pulse indicator can be employed in its own right.

I sometimes use the pulse detector even in the presence of an oscilloscope. While a fault in your oscillator prevents it from generating a waveform, there is no point in switching on the 'scope.

For my own code up to this point: Valid XHTML 1.0!

1