Electronic Design

  
Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


[Ideas For Design]
Handy Circuit Simplifies Frequency-Ratio Measurement

M.S. Nagaraj  |   ED Online ID #6939  |   December 18, 2003


In many instrumentation systems, the ratio of two frequencies has more significance than the two individual frequencies. One such application is the ratiometric capacitive sensor. In this case, two frequencies, F1 and F2, are generated inversely proportional to the capacitors C1 and C2.

However, you don't need an expensive computing device to determine the frequency ratio. The simple circuit of Figure 1 can do the job very accurately. Moreover, it provides an output voltage that can be directly read by a digital panel meter or a digital voltmeter.

Here's how the circuit operates. The counter (IC1, a CD4017BE) divides the frequency F1 (F1 < F2) by a factor of five to generate a frequency Fd (F1 = 5Fd). The D-flip-flops FFa and FFb (IC2, a CD4013BE) are clocked by Fd and F2, respectively.

Every positive transition of the Fd clock sets FFa (Fig. 2). The next positive transition of the F2 clock transfers the logic 1 level of Qa's output to Qb's output. Now, FFa is reset. Qb's output remains high until the next positive transition of the F2 clock transfers the logic 0 level of Qa's output to Qb's output. Thus, at the Qb output, pulses (Qb pulses) are generated with widths equal to the period of one F2 clock pulse.

Because Fd and F2 aren't synchronized to each other, the position of Qb pulses keeps varying with respect to the Fd clock edges. But keeping Fd < 0.5F2 will ensure that Qb pulses don't spill over from one Fd clock period to the next. Consequently, each Fd clock generates one Qb pulse. The duty cycle (η) of Qb pulses is given by:

η = pulse width/period
   = period of one F2 clock pulse/period of one Fd clock pulse
   = Fd/F2.

Since the flip-flop IC is a CMOS device, the pulses switch between ground and VDD. The integrator (R1C1) averages the Qb pulses to supply an output, VO = VDD × η. Note that capacitor C1 must be a low-leakage type. By keeping VDD = 5.000 V:

VO = 5(Fd/F2) = 5F1/5F2 = F1/F2

The circuit works for a wide frequency-ratio range of 0.005 ≤ F1/F2 ≤ 2.5 and a wide frequency range of 100 Hz ≤ (F1, F2) ≤ 1 MHz, with an accuracy of about 0.2 % (see the table). For higher-frequency inputs, use counter ICs to bring down the frequencies to less than 1 MHz.


Reprints   Printer-Friendly  Email this Article  RSS    Font Size   What's This?


  • In EDA, A Year Of Mergers, Failed And Otherwise
  • 2008 BEST Electronic Design Winners
  • Engineers Rely On Internet For Product Info
  • Rochester Electronics Establishes New Design and Technology Group
  • November 17, 2008
  • Custom Sources Light Way To 22-nm IC Lithography
  • Software Turns Scopes Into Vector RF Signal Analyzers
  • Couple’s $15 Million Gift Advances Rice Engineering Education
    1) Switch-Mode ICs Promote Efficient Power Management, Part 1: Switch-Mode Fundamentals
    (1144 views today)
    2) Ubuntu Goes Embedded
    (269 views today)
    3) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (264 views today)
    4) Parts Add Up To Home Theater PC
    (236 views today)
    5) Ten Top Design Skills For Tough Times
    (180 views today)
    ALL TOP 20



    Reader Comments

    hi, i'm doing a project which should measure low frequencies(0.1Hz to 10MHz) with a picmicrocontroller(PIC16f877a) and user interfaces(keypad and LCD) i have difficulty in building a counter circuit which should be connected to the picmicrocontroller.if u could give some tips it would be helpful to me. thanks in advance.

    Palanivel -January 13, 2006

    POST YOUR COMMENTS HERE
    Name:

    Email:
    Your Comments:

    Enter the text from the image below


    Please refresh the page if you have trouble reading this text.

    Search Electronic Design
         
      
     
    Email Newsletter
    Sponsored By:
    Electronic Design UPDATE provides readers with late-breaking news, opinions from industry experts, and timely technology stories. It's a unique opportunity to get your product message in front of engineers, engineering managers, and corporate managers while they're reading about critical information online.

    Enter Email to Subscribe
      

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources