![]() | ![]() | ![]() |
| |||||||
| 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 |
|
Hello, I have a slight problem using an ultrasonic transducer. Specifically, in a circuit with two of those, one being the emmiter and one the receiver, the amount of time it takes between the initial 40khz pulse from the transmitter and some voltage being generated in the receiver is too great. For example, when they're set at 30cm from one another, the delay should be around 800us. Instead, I see a delay of about 1ms, which is significant. And yes, I've compensated for the temperature difference and made a bunch of tests at different distances, the delta t is still too long. Is this normal behaviour on these ultrasonic transducers? I have no datasheet for them and the only thing I can think right now which could be responsible for this behaviour is the inertia of the transducer. If so, I should be able to compensate for it, subtract a constant amount of time from the result each time a measurement is taken. Any thoughts? | |
| |
| | #2 |
|
hi, There are time delays in the reaction of the TX to transmit sound and delays in the RX. These delays are usually constant and can be subtracted from the time as a constant. Look at this data, may help with the project.
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ | |
| |
| | #3 |
|
I cant claim much prior experience, but this sparked my curiosity ans a did a little test using a couple of 40khz transducers which I have had for a few years. With the transducers face to face, there was a delay of 0.2ms between the excitation of the transmitter and seeing a response in the receiver, the rise time of the signal in the receiver was about 0.6ms. With the transducers separated by 30cm, there was a delay of 1.1ms between the excitation of the transmitter and seeing a response in the receiver, as before the rise time of the signal in the receiver was about 0.6ms. So, I guess that my results are similar to yours, as the transducers are quite narrow band (high Q), it is reasonable to expect a propagation delay through them. As Eric said, you just have to know that it is there and subtact it from your real measurements. JimB
__________________ Experience is directly proportional to the value of the equipment ruined. | |
| |
| | #4 |
|
@JimB - your results are nearly identical with mine, that's good I'll just subtract the difference in a known environment and it should be calibrated. The rise time should be no concern because I'll use a great deal of amplification in order to detect the very moment at which the receiver activates.@eric - thanks, that pdf is useful, although they calibrate the sensor by taking a measurement at a known distance then extrapolating that value for all their measurements, not deriving the distance from theory. If all else fails I'll use the same method, seems simple enough. By the way, I'm trying to build an ultrasonic wind speed meter, so the registered time of flight will be very important, a couple of microseconds could mean the difference between a gentle breeze and a hurricane | |
| |
| | #5 | |
| Quote:
Assuming velocity of sound in air is 330m/s and the ultrasound frequency is 40KHz, the wavelength is 8.25mm.!!!,, I make that about 25uSec. I would say the chances of measuring the reflected time to within uSecs will not be feasible. Lets know how it goes.
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ | ||
| |
| | #6 |
|
It is not clear whether you are using a µcontroller ...: There was a similar problem topic someplace in a book .... Quintessential PIC Microcontroller ....author Katzen .... You have to actually go through the program line by line and add up the µSec for each command. .... Last edited by user_88; 3rd July 2009 at 07:25 PM. | |
| |
| | #7 |
|
Yes, I'm using a PIC microcontroller for time measurement, with a 16 bit timer @ 16MHz (fosc/2), that'll give me about 62ns worth of resolution... in theory at least | |
| |
| | #8 |
|
I have a vague memory from distant experience that ultrasonic anemometers use doppler effect rather than time of flight measurements. JimB
__________________ Experience is directly proportional to the value of the equipment ruined. | |
| |
| | #9 |
|
Flow rates can be determined by using either doppler effect or time of flight: Ultrasonic Doppler and Time of Flight Flowmeters | |
| |
| | #10 | |
| Quote:
Assuming the two transceivers have the same TX and RX delays these will cancel out. The measurement is made from the difference in transit time of the two beams.
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 4th July 2009 at 12:44 PM. | ||
| |
| | #11 |
|
The link was just to show you can use time of flight to determine the speed of a fluid. Yes, by switching the roles of the two transceivers you can overcome the delays and environment properties (such as temperature) assuming they remain constant throughout the measurements. I usually stick with something simple that works -- using a triangle configuration in which there's one transmitter and two receivers at 60 degrees from one another, I'm measuring the time of flight separately for each one and then deriving the speed and direction of the wind with some trigonometry. I'm compensating for the temperature changes in software since I already have a fairly accurate temperature sensor installed. | |
| |
| | #12 | |
| Quote:
I am puzzled, if you were aware of the delay problem and that it would be cancelled in a dual system. Also you already have working project. What was the purpose of your original post.
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 4th July 2009 at 02:42 PM. | ||
| |
| | #13 |
|
I was only aware of environment-induced measurement errors (the air temperature) and didn't want to use a dual system since it would complicate things a bit. But the time delays didn't make any sense to me, that's why I posted here, to find out if it was the normal behavior of the sensor or I was doing something wrong... Also the project isn't fully functional, I've only described what it will become ![]() Slightly off-topic: What are 'NL' resistors on a schematic? I'm trying to read the microcontroller dev board schematic and they're pretty common, didn't find anything on Google... | |
| |
| | #14 | |
| Quote:
Understood. ![]() I'll check the context of NL.? EDIT: Here we go. http://www.firstohm.com.tw/Spec/NL.htm
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 4th July 2009 at 03:45 PM. | ||
| |
| | #15 |
|
Hmm... I don't think it's that, it's like a value or something... Could it mean they're not present, like not connected? I see them in circuits that could have a dual purpose, but I don't have the board at hand to check. I'm attaching a couple of pictures from the datasheet.
| |
| |
|
| Tags |
| flight, time, transducer, ultrasonic |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Ultrasonic Transducer | rcd316 | Datasheet/Parts Requests | 8 | 8th November 2009 07:31 PM |
| Looking for Ultrasonic Transducer | pjainmg | General Electronics Chat | 13 | 22nd January 2009 02:05 PM |
| Pic driving ultrasonic transducer | mlt57sooner | Micro Controllers | 1 | 22nd April 2005 09:42 AM |
| RF Time of Flight Measurements using a PIC | jfunkie | Micro Controllers | 4 | 22nd February 2005 06:13 PM |
| IR Time of flight | The Real MicroMan | Electronic Projects Design/Ideas/Reviews | 3 | 25th February 2004 10:19 PM |