All About Circuits Forum  

Go Back   All About Circuits Forum > Electronics Forums > General Electronics Chat

Notices

General Electronics Chat Discussion forum for general chat about anything electronics related, including asking questions about material in the All About Circuits E-book, Worksheets, and Videos.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 05-10-2012, 12:38 AM
pkreth pkreth is offline
New Member
 
Join Date: May 2012
Posts: 4
Question Building a Frequency to Voltage Converter

Hello All,

I wanted to start a new post on this topic even though I have seen a number of threads about this. I'd like to see if I could get some specifics on what I would need to do for a little project I have.

The research topic that I'm currently working on in mechanical engineering (that's why I don't know much about electronics) is requiring me to have a piece of circuitry that will give me a DC voltage output that is proportional to the primary oscillation frequency of an incoming signal. Here are the specifics I mentioned earlier. I am working with a high frequency actuator that pulses between 4 and 6 kHz. I would also like to have a frequency resolution of about 5 Hz or so. I have a sensor inside of the actuator that is monitoring the unsteady pressure fluctuations (the actuator is fluidic-based). I need to send this signal in to the circuitry and have a DC voltage come out. I'm using a narrow band pass filter the clean up the signal from my transducer, and I can calculate the frequency easily using my oscilloscope or data acquisition hardware. My issue is that I'm trying to record my actuator's frequency on-the-fly, if you will (or at least as close to instantaneously as I can get).

I know that there are a number of circuit diagrams that use the 555 timer to output a pulse width modulated signal and that you have to use an integrator circuit to have that converted to a DC voltage. I am not really sure what all components I need for this as well as the specifics - does the frequency range I can measure depend on the resistors, capacitors, etc? I have wired up a couple of basic circuits in my day, and I do know how to solder. Being an engineer, I ought to be able to figure out how to wire these up from some circuit diagrams. My problem is that I just don't know all of the components I need and where I can get them (if my local Radio Shack doesn't have any).

Can someone help me out here?

Thanks,
Phil
Reply With Quote
  #2  
Old 05-10-2012, 06:32 AM
crutschow's Avatar
crutschow crutschow is online now
Senior Member
 
Join Date: Mar 2008
Location: L.A. USA
Posts: 6,303
Blog Entries: 1
Default

There are a number of devices that directly convert frequency to voltage, such as the LM2907 or LM2917. I suggest you use one of those. Google "frequency to voltage converter" for a number of references.
__________________
Zapper
Curmudgeon Elektroniker
Reply With Quote
  #3  
Old 05-11-2012, 01:44 AM
tpny tpny is offline
Senior Member
 
Join Date: May 2012
Location: taipei and new york
Posts: 203
Default

What about LM331? Any experience with it in comparison with LM2907? When used for converting < 100Hz to voltage. Thanks!
Reply With Quote
  #4  
Old 05-11-2012, 02:06 AM
t_n_k t_n_k is offline
Senior Member
 
Join Date: Mar 2009
Posts: 4,924
Default

Quote:
Originally Posted by pkreth View Post
I am working with a high frequency actuator that pulses between 4 and 6 kHz. I would also like to have a frequency resolution of about 5 Hz or so.
If you are looking to resolve to ±5Hz in a 2kHz frequency spread that wont be a trivial task. I doubt you could devise a relatively simple 555 timer pwm + integrator based solution that would achieve your stated measurement goal.
Reply With Quote
  #5  
Old 05-12-2012, 09:25 PM
bountyhunter bountyhunter is offline
Senior Member
 
Join Date: Sep 2009
Posts: 2,498
Default

I used the XR-4151 in my lab frequency generator to create an analog voltage for the digital display. It is very accurate if you use best quality resitors and caps.

http://www.datasheetcatalog.com/data.../XR-4151.shtml
Reply With Quote
  #6  
Old 05-14-2012, 07:52 AM
atferrari's Avatar
atferrari atferrari is offline
Senior Member
 
Join Date: Jan 2004
Location: Buenos Aires - Argentina
Posts: 1,511
Default Obsolete?

Quote:
Originally Posted by bountyhunter View Post
I used the XR-4151 in my lab frequency generator to create an analog voltage for the digital display. It is very accurate if you use best quality resitors and caps.

http://www.datasheetcatalog.com/data.../XR-4151.shtml
Why is that every time I see an XR part I immediately think it is an obsolete one?

They had incredibly good and imaginative ICs in their catalog.
__________________
Agustín Tomás

In theory, there is no difference between theory and practice. In practice, however, there is
Reply With Quote
  #7  
Old 05-14-2012, 08:17 AM
kubeek's Avatar
kubeek kubeek is offline
Senior Member
 
Join Date: Sep 2005
Location: Prague, Czech Rep
Posts: 3,445
Default

Quote:
Originally Posted by pkreth View Post
I am working with a high frequency actuator that pulses between 4 and 6 kHz. I would also like to have a frequency resolution of about 5 Hz or so.
The problem I see here is what are you gonna do with the output signal once you have it. If you want to use it in a feedback loop, the delay between change of frequency and change of output might be a problem. Also the resolution you want will be hard to achieve.

Maybe a better solution would be something like a zero-crossing detector and a digital timer which will measure the period and output the voltage via an D/A converter. This way you should get faster response than with analog circuits.
Reply With Quote
  #8  
Old 05-14-2012, 11:40 PM
pkreth pkreth is offline
New Member
 
Join Date: May 2012
Posts: 4
Default

Hi All,

Thanks for the responses. I have read a significant amount of information and I'm learning how these devices are working. I am indeed trying to control the frequency of an actuator inside of a feedback loop. A slow response (1 < t < 3 sec) would not be ideal as I am trying to use this as quick as possible (~0.5 sec or less) in a feedback loop. The resolution of ~5 Hz is needed because I can only change my frequency over a range of about 500-600 Hz for some cases, and only 50-100 Hz for others. Maybe increasing that to about 10 Hz would be reasonable.

I think I may have found a software-based solution to my problem however. I am using MATLAB's Simulink and dSpace for the control of this actuator. I have devised a counter-based method to do this with a compromise between the resolution I need and the response time of the measurement.

If anyone still has any input on this, I would greatly appreciate it. The less that I have in my control loop, the better - an analog piece of hardware would be better than using my software-based solution. Again, here are the characteristics that I need to have with this sort of device:

Measurable frequency range: 4 - 6 kHz (would be nice if tunable to other ranges like 4.8 - 5.4 kHz or 2 - 4 kHz)
Frequency resolution: ~5-10 Hz
Voltage output: 0-10 VDC
Voltage input: +/- 5 VAC


Thanks again for the help,
Phil
Reply With Quote
  #9  
Old 05-15-2012, 09:41 AM
kubeek's Avatar
kubeek kubeek is offline
Senior Member
 
Join Date: Sep 2005
Location: Prague, Czech Rep
Posts: 3,445
Default

The counter method should have almost no delay, something in the range of 1 period should be no problem. If you sampled the signal at say 44khz, then you should be able to get even better precision than 10hz. The only problem will be detecting the zero crossing, can you post a picture of how the raw signal looks like?
Reply With Quote
  #10  
Old 05-17-2012, 06:39 PM
pkreth pkreth is offline
New Member
 
Join Date: May 2012
Posts: 4
Default

Here's a picture of the raw signal. It comes from an unsteady pressure transducer. I sent it through a bandpass filter with a bandwidth of 1 kHz.
Attached Images
File Type: jpg zoomed_out.jpg (22.9 KB, 27 views)
File Type: jpg zoomed_in.jpg (40.0 KB, 27 views)
Reply With Quote
Reply   Post New Thread

Tags
, , , ,


Related Site Pages
Section Title
Worksheet Analog-to-Digital conversion
Worksheet Digital-to-Analog conversion
Worksheet Signal modulation
Worksheet Performance-based assessments for AC circuit competencies
Worksheet Passive integrator and differentiator circuits
Worksheet Mixed-frequency signals
Worksheet Resonance
Textbook Electrical signal types : Digital Communication
Textbook Introduction : Digital Communication
Textbook Practical considerations of ADC circuits : Digital-analog Conversion


Similar Threads
Thread Thread Starter Forum Replies Last Post
Analog Frequency to Voltage Converter, 125 MHz BW, 20 dB SNR G4nd41f General Electronics Chat 0 02-23-2012 10:56 AM
Sound Frequency to Voltage Converter for material discrimination jjotjjotjjot The Projects Forum 1 02-12-2012 03:25 AM
Voltage to Frequency Converter LM331 Problem syee10 General Electronics Chat 17 03-28-2011 04:14 PM
Need Help, building a frequency circuit deathphoenix99 The Projects Forum 19 10-10-2010 10:43 PM
Need help in Voltage to frequency converter... silverscorpion General Electronics Chat 6 07-16-2008 06:48 PM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:37 AM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin
Copyright ©2000 - 2014, vBulletin Solutions, Inc.