|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Equipment & Tools From test equipment to hand tools |
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
|
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: Jul 2008
|
I would like to monitor a frequency and if not in the right range then light up an LED or something similar. The frequency will be a sinusoidal at 100 KHz, 150KHz and 200 KHz (one of these three).
I have so far tried to convert the sinusoidal to a square wave (eg using a comparator, or a simple transistor) and that seems to work but that's as far as I have been. Would anyone know how best to approach this ? Thanks! |
|
|
|
#2 |
|
diyAudio Member
Join Date: May 2007
|
Pulse count discriminator plus a comparator will do it.
|
|
|
|
#3 |
|
diyAudio Member
Join Date: Jan 2012
Location: Staines, UK
|
Another way is to use a frequency to voltage converter like a Texas Instruments LM2907 or an Analog Devices AD650.
|
|
|
|
#4 |
|
diyAudio Member
Join Date: Sep 2006
|
What is for you a "right range". When out of range, do you want to know if the frequency is above or below the target?
__________________
|
|
|
|
#5 | |
|
diyAudio Member
Join Date: Jul 2008
|
Quote:
( I think audibly is the best as it needs to alert the user ) Why would the frequency NOT be 200 KHz? Well this will certainly be an error condition, maybe some internal fault in the device, maybe the oscillator has stopped functioning properly. |
|
|
|
|
#6 |
|
diyAudio Member
Join Date: Feb 2003
Location: ..
|
there's also "the really big hammer" approach: today uC with timer/counter, even some with fast ADC can do this for $20 inc dev tools (TI's eZ430)
|
|
|
|
#7 | |
|
diyAudio Member
Join Date: Sep 2006
|
Quote:
CD4046 + LM393 is ~£1 components, you just have to add the frequency selector and the warning device of your choice.
__________________
|
|
|
|
|
#8 |
|
diyAudio Member
Join Date: May 2004
Location: Vancouver Island
|
You could probably do that with a $5 microcontroller like the ATtiny13. Atmel AVRs can often be programmed with minimal hardware (a few resistors and a parallel printer port).
And just brainstorming here: Is it possible to make it work for multiples of 50 kHz so all three frequencies can be handled at once? |
|
|
|
#9 |
|
diyAudio Member
|
Hi ,
If you need a good frequency detection with narrow bandwidth, probably the easiest way is o use three tonality decoder, like LM567. It's an analog IC available in 8 pins DIP or SMD SOIC case. Very low cost and easy to find. Just few parts need to get an digital signal saying if your are or not in the defined frequency windows you have choose. Regards. Frex
__________________
DIY CS5381 ADC / DIY 10kHz Super Oscillator / DIY DC-1MHz RMS-DC converter & 60dB LNA . |
|
|
|
#10 |
|
diyAudio Member
Join Date: Jul 2003
Location: Dona paula, Goa
|
When u change the frequency of interest, change the reference point of the error detection. For example, if u use F/V, then just change the Vref.
Gajanan Phadte |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Comparator for oscillator | borges | Digital Source | 2 | 17th April 2011 02:53 PM |
| Comparator problem | Arsimantur | Instruments and Amps | 4 | 6th March 2011 11:11 PM |
| Hysteresis for comparator. | W@ldur | Analog Line Level | 5 | 14th January 2006 11:41 PM |
| comparator | audio-kraut | Solid State | 8 | 15th November 2004 05:44 AM |
| Transistor Comparator ? | thylantyr | Solid State | 9 | 9th April 2003 03:29 AM |
| New To Site? | Need Help? |