![]() | ![]() | ![]() |
| |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
![]() |
| | Tools |
| | #1 |
|
Hi, currently I am planning to build a IR distance sensor using normal IR emitter and receiver. However, the the range for normal sensor is too short which is below 5cm. Is there any method to increase the range of it?And is there any method to increase the reliability of these sensor as I don't wish to go for those expensive distance sensor. | |
| |
| | #2 |
|
How are you going to measure distance with IR? 1) The reflection is weak, so it must be far away, or it doesn't reflect very well, or it reflects at the wrong angle. 2) It doesn't work in sunlight or if there is any other bright light. 3) The delay caused by distance is too short (the speed of light is very fast) to be measured with electronics. The distance sensors I have seen use ultra-sonic transducers (higher than audio frequencies). The circuit accurately measures the time delay caused by the distance since the speed of sound is fairly slow.
__________________ Uncle $crooge | |
| |
| | #3 |
|
How are you determining distance? The round trip time for 10cm is 333nS, if you can measure that, then 1 meter should be a snap.
__________________ see my website: www.geocities.com/russlk | |
| |
| | #4 |
|
I think a delay caused by the speed of light cannot be measured with an electronic circuit unless the distance is very far:
__________________ Uncle $crooge | |
| |
| | #5 |
|
hello, first, to reach long ranges, you need to PWM the sensder led, so that you increase the instatenous current flowing in the emitter led, you can go up to 1 A, if the led is on for only 1/100 of the time. then, to measure the range, you need to do something like successive aproximations, where you start by sending a weak IR signal, and increase progressively this signal, until you reach a point where the signal is powerful enough to be detected by the sensor. you can figure out by this method the range of the obtacle... this is one of the easiest way to do it with IR.. but still, it wont be precise .. because the range will be different depending on the surface.. good luck | |
| |
| | #6 |
|
Hi, thanks for the reply in advance... My initial idea for this project is determine the distance by using the ratio of distance vs voltage across the receiver part of the sensor. As the intensity of the IR received changed, the voltage across the receiver part changed too... please correct me if there is any mistake.
| |
| |
| | #7 | |
| Quote:
but the technique i told you about is not that far from your idea, and i did use in a projects before. my advice.. don't try to do that the way you said! Last edited by ikalogic; 3rd January 2007 at 04:10 AM. | ||
| |
| | #8 |
|
As you have discovered, the received signal diminishes rapidly with distance. It is non-linear, so calibration will be a problem and the signal will be in the noise level unless you use a powerful transmitter. A focused beam can improve the range.
__________________ see my website: www.geocities.com/russlk | |
| |
| | #9 |
|
The intensity of the received signal also depends on how well the distant object reflects. How can you calibrate it?
__________________ Uncle $crooge | |
| |
| | #10 |
|
Actually I am using this IR distance sensor as the sensing mechanism of my micromouse. But those available distance sensor is quite bulky and expensive. Any suggestion for this? I had seen people build a distance sensor using the TSL261 and OPE5594 before... so does that mean we can never have a distance sensor by using normal IR emitter and receiver pair?
| |
| |
| | #11 | |
| Quote:
i did this before, with normal IR sender and receiver. how? read my previous post. | ||
| |
| | #12 | |
| Quote:
| ||
| |
| | #13 | |
| Quote:
ok, i'll explain it. You need to be able to control the flow of current into the led, because the intensity of emitted light, is proportional to the current. so, to control the range, we need to control the current. Next step: how to control current? answer: PWM, or Pulse width modulation, where you send pulses to the LED, of FIXED FREQUENCY and fixed duty cycle (duty cycle is the ON time w.r.t the OFF time of each pulse) if the ON time is 1 ms and the off time is 10 ms, then the duty cycle is 10%. Now, inject the maximum current in the led, which is equal to the maximum forward current of the LED divided by the duty cycle of the PWM. (if you'r clever with math and waves, you will notice that we are playing around with with the average current through the led). after you've figured out the max current (which can go as high as 2 A... as long as the average current does not exceed the maximum DC current specified in the datasheet) you then need to chose a switable resistor value for this current. then to play with the range, you'll have to change the voltage that you send to the emitter block (LED + in series resistor). you can easily do that with an r/2r ladder network and an op-amp.. I know this might seem complicated, but that's as simple as it can get to acheive a project like yours. | ||
| |
| | #14 |
|
Hi, The method I use in my laser range finder, is to stretch time. At the instant the laser is pulsed a logic gate switches a long tailed transistor pair. The long tailed pair constant current charge a poly capacitor in a negative direction, to a voltage of -5v at a maximum range of 5000 mtrs. As the reflected laser pulse is amplified and detected the long tail pair is toggled and the poly cap is discharged via a constant current circuit giving a linear discharge ramp. A high impedance amp senses the poly cap voltage and its output is fed into zero crossing detector. A 15 MHz xtal counter is gated from the time the echo is received until the up ramp crosses zero, at zero crossing the counter has a count directly proportional to the range in metres [ rem: double path length ], as the nominal speed of light is 300,000,000 m/sec. The charge and discharge constant currents are a ratio of 100:1 , so that path transit time has been stretched by a factor of 100. As a result of the fall off in reflected signal strength as the range increases, the switching times are slower, therefore, the range appears longer. To overcome this, the peak strength of the echo is amplified/rectified and input to a fast 8 bit adc. During calibration of the laser a 256 bit lookup table is created. The 8bit signal level is used as an address to the table and it subtracts it from the apparent range. I appreciate that this is an over kill for the original enquiry, but the same linear ramping principles can be applied to IR emitter/receivers. Let me have your views. Regards EricG | |
| |
| | #15 |
|
He has a micro-mouse. A tiny robot? He needs to sense an obstacle that is maybe only 15cm away. The delay of the light beam due to 30cm round trip is only 1ns. How are you going to time only 1ns? If the IR receiver picks up a reflection then the micro-mouse should turn to avoid hitting the obstacle. It doesn't need to know how far away is the obstacle.
__________________ Uncle $crooge | |
| |
|
| Tags |
| distance, sensor |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Using Oscilloscopes | mechie | Electronic Theory | 9 | 29th November 2007 10:49 PM |
| Help with PIR Sensor | garyi | Electronic Projects Design/Ideas/Reviews | 7 | 1st February 2007 09:44 PM |
| Sharp Distance sensor | Electronics4you | General Electronics Chat | 9 | 5th September 2005 02:23 PM |
| How to build a Distance Sensor ?? | UK-Spider | Electronic Projects Design/Ideas/Reviews | 2 | 17th March 2004 02:12 AM |
| Distance Sensor | THE_E_MAN | Electronic Projects Design/Ideas/Reviews | 11 | 17th October 2002 12:30 PM |