Pages: [1]   Go Down
Author Topic: Filtering circuit for 40Khz with Analog Infrared Sensor  (Read 2718 times)
0 Members and 1 Guest are viewing this topic.
Brasil
Offline Offline
Full Member
***
Karma: 4
Posts: 125
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I'm building a Soccer Robot for the RobocupJunior Competition. The game consists of two robots in each team, and one ball that emits infrared at 40Khz of frequency. For Long distances, whe will use the "digital" infrared sensors, but for closer distances, we need to know at least "proportionaly" to the distance to the ball.
That's why we want to put some analog infrared sensors around the robot also. But, analog sensors are really noisy, and we need a "filtering" circuit for 40Khz.

I have read a lot about filtering circuits, but when i get into the practice, i don't know what to do...

So, does any one of you, know how to filter one specific frequency with an analog sensor?

Thanks
Logged


Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 46
Posts: 2883
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

About 70% of what you want to do could be approached with a high pass filter, more I am hesitant to offer because you didn't indicate if and what kind of modulation is used. Filters take on a whole different aspect when modulated with any information. The more information, that is, or the faster the information is sent the more of an effect filtering will have on the modulating data.

Bob
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Brasil
Offline Offline
Full Member
***
Karma: 4
Posts: 125
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
This is the specification of the infrared Ball emitter:

"2.1 IR light
The ball emits infra-red (IR) light of wavelengths in the range 920nm - 960nm, pulsed at a square-wave carrier
frequency of 40kHz. The ball should have enough ultra bright, wide angle LEDs to minimize unevenness of the
IR output."

"2.4 Modulation
The 40kHz carrier output of the ball shall be modulated with a trapezoidal (stepped) waveform of frequency
1.2kHz. Each 833-microsecond cycle of the modulation waveform shall comprise 8 carrier pulses at full
intensity, followed (in turn) by 4 carrier pulses at 1/4 of full intensity, four pulses at 1/16 of full intensity and
four pulses at 1/64 of full intensity, followed by a space (i.e. zero intensity) of about 346 microseconds. The peak
current level in the LEDs shall be within the range 45-55mA. The radiant intensity shall be more than 20mW/sr
per LED."
Logged


Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17292
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How about an optical sensor. Just buy some old thrift store remote controls and use the plastic IR lens cover from them?

Lefty
Logged

Brasil
Offline Offline
Full Member
***
Karma: 4
Posts: 125
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The problem is that they ared digital... We need to know precisely two things:
* Ball Heading (the direction)
* Ball distance (when the ball is close to the robot, those analog sensors will have priority)

On the robot, there will be both digital and analog sensors. But analog ones will only be usefull to know the distance to the ball (the longer the distance, the lower is the amplitude).

Here is the first sketch of the robot:


There will be 16 digital, and 16 analog sensors around the robot...
« Last Edit: January 09, 2013, 08:42:57 pm by ivansg » Logged


Brasil
Offline Offline
Full Member
***
Karma: 4
Posts: 125
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Can anyone help me?
I need to filter an 40Khz signal from Infrared emiter with an analog infrared sensor, so that the output signal is a DC, varing proporcionaly to the distance (The closer the ball is from the robot, the bigger is the amplitude, the bigger is the DC signal)
Thanks
Logged


Centennial, CO
Offline Offline
Newbie
*
Karma: 0
Posts: 31
It should work...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I think what you are describing is a filter & envelope detector ... http://en.wikipedia.org/wiki/Detector_(radio)

I'm totally speculating here... I'd have to go play with ltspice and breadboard it and stuff... but... build a band pass filter centered at 40khz, buffered with op amp that then feeds the detector.

If 40khz is present the signal pumps up the capacitor to 1/2 the peak voltage.  If 40khz not present a resistor would have to bleed the capacitor off.

You'd have to adjust the capacitor and resistor sizes appropriately.

I'm using something along these lines to detect an RC transmitter signal.
Logged


Brasil
Offline Offline
Full Member
***
Karma: 4
Posts: 125
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I Belive it's exacly what i want, but i don't know where to find it, for example:
I know i want to filter a 40Khz waveform from a infrared signal, and output a voltage proportional to the amplitude. But the "name" of the filter (and i don't even know if there is a name), i don't know...
This Envelope filtering is for AM radio signal, but i believe it would work for me, but how to "filter" the 40Khz waveform first, is the main problem now =]
Logged


Centennial, CO
Offline Offline
Newbie
*
Karma: 0
Posts: 31
It should work...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I gave the name smiley it is a band pass filter. Or a high pass feeding into a low pass. Easily implemented with op amp or even just passives
Logged


Brasil
Offline Offline
Full Member
***
Karma: 4
Posts: 125
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Nice ^^
I will read about it! sorry  smiley
Logged


Centennial, CO
Offline Offline
Newbie
*
Karma: 0
Posts: 31
It should work...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

No problem smiley Let me know how it goes.

I built a circuit to receive 60khz for WWV (uses ASK for a 60khz carrier) a year or two ago... It did work so long as there wasn't any interference from nearby LCD displays.
Logged


Pages: [1]   Go Up
Jump to: