Counter Timer / Interval Timer

- summary or tutorial of the counter timer or interval timer used to measure the time intervals of electronic signals.

Often it is necessary to be able to measure the time interval of electronic signals.

A counter-timer can be used to make these time interval measurements. Using similar technology to a frequency counter, timer counters are often incorporated within the same item of test equipment.

As a result of their combined functionality they are often referred to as frequency counter timers, or also as interval timers.

Whether they are called frequency counter timers, timer counters, or interval timers, their function is the same, and the utilise the same basic technology.

Frequency counter timer basics

The timer interval measurement capabilities of timer counters can be used in a variety of ways.

  • Time interval of waveform:   The frequency timer counter can be used to simply measure the time interval of the incoming waveform. This is simply the reciprocal of the frequency. It typically measures the positive going edge of the waveform to the next positive going edge.

    Measurement of waveform time interval or period showing how the measurement is taken from edge to edge.
    Measurement of waveform time interval or period
  • Time interval of pulse:   Rather than simply measuring one positive going edge to the next, it is also possible to measure a positive going edge to the next negative going one. Or alternatively it could measure a negative going edge to a positive one. In this way it is possible to use the frequency timer counter to measure the time interval of a pulse.

    Measurement of waveform time interval or period

    It can be seen that the two options are represented by the two times T1 and T2: T1 being for the timer interval + to - and T2 for - to + going edges of the waveform.

    In this way the functionality of the instrument has been greatly enhanced by the simple addition of the selection of the waveform edge transition. This can be provided without much additional circuitry, and with the use of integrated circuits comes at virtually no additional cost.
  • Time interval A to B:   Many counter timers have two inputs. In this way it is possible to measure an edge on one signal to an edge on another. Normally it is possible to select either positive or negative going edges on each signal.

    Time interval measurement for two waveforms (Time Interval A - B)

    For this measurement there are four combinations that can be selected by using the different edges of the two waveforms. These are represented by T1 (A+ to B+), T2 (A+ to B-), T3 (A- to B+) and T4 (A- to B-), where A- is the negative going edge of waveform A, etc.

The time interval capability of a frequency counter timer, may not be used as often as the straight frequency counter measurement, but it is a key application in some areas. The time interval measurement capability is normally provided in the lower frequency counter timers aimed more for general purpose use. It is not normally included in RF or microwave frequency counters that are aimed specifically at the specific RF applications.

Frequency counter timer operation

Time interval is the reciprocal of frequency. As a result it is possible to make interval timer measurements using a frequency counter timer by simply reconfiguring some of the circuitry from those used for frequency measurements.

Time interval counter block diagram

Like the frequency counter, the timer counter or interval timer has a number of blocks that make up the test instrument. They are very similar to those used in the counter, and just require reconfiguration to give the interval timing function. The operation of the various stages is summarised below:

  • Signal input stages:   In operation the interval timer counter take in the waveforms that require timing. Often timers have both A and B inputs. The input stages condition the input signals and convert them to the logic levels required within the interval timer counter.
  • Gate Flip-Flop:   The Gate Flip Flop then generates a pulse equal to the length of the timer interval required. This can easily be achieved using simple logic, although this functionality is normally contained within a special frequency counter timer integrated circuit. Selection of the positive and negative going edges is also selected here.
  • Clock oscillator:   The clock oscillator for the frequency counter timer or timer interval counter will typically be a crystal oscillator. In many cases this will be oven controlled, and many test instruments will also have an output to use this oscillator as the clock or reference source for other instruments. They may also be an input so that external clock oscillators can be used. This can enable some test systems to run off a single source thereby giving the advantages of synchronisation across the test system.
  • Gate:   The function of the gate within the interval timer is exactly the same as in the frequency counter, except that for the interval timer the inputs are effectively reversed. The circuit will be the same.

    The edges to be timed produce a signal that enables the gate for the duration of the timing. During this time, the clock signal passes through. For example, if the signal to be timed is a second long, and the clock entering the gate is 1 MHz, then 1 000 000 pulses will appear at the output of the gate.
  • Counter/ latch:   The counter takes the incoming pulses from the gate. It has a set of divide-by-10 stages as a decimal based display is required. The number of stages within the overall counter is equal to the number of display digits minus 1. As the counters are chained the first stage is the input divided by ten, the next is the input divided by 10 x 10 (100) as it has been divided by two stages, and so forth. These counter outputs are then used to drive the display.

    In order to hold the output in place while the figures are being transferred and displayed, the output is latched. Typically the latch will hold the last result while the counter is counting a new reading. In this way the display will remain static until a new result can be displayed at which point the latch will be updated and the new reading presented to the display. Often the latch may be incorporated into the display circuitry.
  • Display:   The display takes the output from the latch and displays it in a normal readable format. LEDs are still widely used although LCDs are more common because of the lower power consumption and the greater flexibility provided for additional characters and indictors. There is a digit for each decade the counter can display. Obviously other relevant information may be displayed on the display as well. The display will be programmed to place the decimal point in the correct position. For example for the 1 second time interval with a 1 MHz clock, 1 000 000 pulses are counted and the decimal point will need to be placed after the figure 1 to indicate 1.000 000 seconds.

The operation of the interval counter, timer is relatively straightforward. These test instruments are widely available, and in view of the level of integration possible, they are not expensive. In many areas one of the most costly items is the accurate clock oscillator. If this is oven controlled to give high levels of accuracy, this is possibly the most expensive single item.

By Ian Poole

<< Previous   |   Next >>

Share this page

Want more like this? Register for our newsletter

Clarifying Machine Vision with High Quality Sensors Mark Patrick | Mouser Electronics
Clarifying Machine Vision with High Quality Sensors
Automated imaging technology is everywhere we look. As cameras and their processing units get ever smaller, they are moving into ever more industries - from speed cameras and factory production lines to diagnostic medicine. For many of these applications, image quality is critical - but what does image quality really mean? Different applications will require quite distinct performance characteristics. Understanding camera specifications, differences between CCD and CMOS sensors, and features such as real-time processing or near-infrared (NIR) can help guide the camera selection process to produce better imaging results. is operated and owned by Adrio Communications Ltd and edited by Ian Poole. All information is © Adrio Communications Ltd and may not be copied except for individual personal use. This includes copying material in whatever form into website pages. While every effort is made to ensure the accuracy of the information on, no liability is accepted for any consequences of using it. This site uses cookies. By using this site, these terms including the use of cookies are accepted. More explanation can be found in our Privacy Policy