This file type includes high-resolution graphics and schematics when applicable.
Measuring the low frequencies that are common in many real-world situations, such as biomedical or speedometer applications, is a challenge due to the long periods of the cycles. A medium-scale-integration (MSI) CMOS circuit (Fig. 1) can measure frequencies in the range of 0.33 to 3.00 Hz (equal to 20 to 180 RPM).
The algorithm was designed to solve the equation RPM = 60/T, where T is the input-signal period and the "60" represents one minute. The circuit first measures the period with a 100-Hz time-base frequency, which holds the binary reading in a 74HC4040 counter, and then loops are made to determine how many times that period fits into the constant 6000.
The comparison technique is performed by a CD40103 8-bit synchronous countdown counter, which generates the first output pulse when the first clock arrives from NAND Gate A. This triggers the monostable IC6 (HEF4538) that loads the down counter with the period T.
The 18-kHz frequency continues, and each time the counter reaches zero, the output pulses trigger monostable IC6 at the falling edge of that signal (Figs. 2 and 3). This signal is a feedback pulse that asynchronously presets IC2 (CD40103) for a new counting cycle. This process is repeated with a pulse train of 6000 pulses.
3. The zero-detect pulse indication is provided by the down counter.
The pulse train is controlled by an 18-kHz logic oscillator and a frequency divider with a modulo equal to 6000. The frequency division is achieved with a MC14553 (IC4), CD4518 (IC5), and AND gate IC8 (CD4081).
A master chip, the Johnson counter CD4017 (IC1), controls the entire process. In this counter, Q0 is the starting point. In Figure 4, when the first pulse arrives, Q1 goes to a logic-1 level to enable the 100-Hz logic oscillator. The input signal's period is then registered in IC2 (74HC4040).
When the second pulse arrives, Q1 goes to a logic low and Q2 goes to a logic 1 (Fig. 5) to start the comparison process. An 18-kHz logic oscillator is used in this process. Once finished, the total number of pulses accumulated in BCD counters IC8 and IC9 (both CD4518s) will represent the period in pulses per minute (RPM).
5. Q2 going to logic 1 starts the 18-kHz signal generated by the second logic oscillator.
In addition, when the comparison process is done, a pulse is sent by AND gate IC8 in the frequency divider. This resets both IC2, clearing the binary period reading, and IC1, making its output Q0 equal to 1. When Q0's output goes from low to high logic level, it drives two monostable circuits based on the HEF4538 (IC7) to control the Latch and Reset functions of the BCD counters, as well as decoders that drive the LCD display (Fig. 6). The LCD phase signal is controlled by another 100-Hz logic oscillator, NAND gate D, made of one Schmitt-trigger NAND gate (CD4093).
If you need a higher range, augment the number of bits in the period counter CD4040, and add a second counter CD40103 in cascade. Due to the fact that the oscillator in NAND gate B has a startup time delay, adjust it to 120 Hz to compensate this delay and get true readings. A power-up reset-RC network (R7 and C7) assures that IC1 starts with Q0 = 1, and IC2 starts with a binary reading equal to zero.
The frequency equation for all of the logic oscillators used is:
and the startup time delay for each oscillator is given by:
where VP is the positive threshold voltage, VN is the negative threshold voltage, and VDD is the 5-V power supply.
The equation for all the monostables using the HEF4538 is:
The power-up reset pulse is equal to:
All of the NAND gates used in this project are Schmitt triggers (CD4093BE) from Texas Instruments.
Ricardo Jimenez is an adjunct faculty professor at Imperial Valley College, Imperial, Calif. He is the author of the book Designing with Speech Processing Chips, published by Elsevier Science Direct. Fernando D. Pacheco, and Blanca L. Rodriguez are in their fourth college year at ITM, pursuing their degree in Electronics Engineering.
References:
Karen Hunsberger, "Rate Multiplier Eases Measurement of Ultra-Low Frequencies," Electronic Design, June 4, 2015.
David Conrad, "Frequency Quadrupler Enables Low-Frequency Measurements, Spans Up To Four Decades," Electronic Design, March 6, 2014.