Can the Speed of Sound Be Measured Using Frequency and Time Delay Data?

In summary: Uploading...In summary, this conversation is about whether changing the frequency of the ultrasonic waves changes the phase difference between the waves. The answer is that it doesn't, but it does change the distance between the waves.
  • #1
SplinterCell
18
0
Suppose we have an ultrasonic transmitter and an ultrasonic receiver, separated by some fixed distance ##d##. Both devices are attached to an oscilloscope. The transmitter generates ultrasonic waves at some frequency ##f## that we can change. The receiver is some piezoelectric that translates pressure exerted on him (that obviously changes with time) to an electric signal. The oscilloscope then shows two sinusoidal graphs (amplitude as function of time) with the same frequency but with a phase shift (because the speed of sound is finite and it takes time for the wave to reach the receiver), i.e. time delay (##\Delta t##). Now, I wonder whether the time delay between these two waves (which is essentially the same wave, but with different phase) changes with frequency (I believe it does, because, if I'm not mistaken, ##\Delta \varphi = \frac{2\pi}{\lambda} \cdot d \propto f## and there's a linear relationship between the phase shift ##\Delta \varphi## and the time delay ##\Delta t##). But is it even possible to obtain the speed of sound (velocity of the wave) from ##f(\Delta t)## graph (i.e. knowing time delay for different values of frequency)?
 
Physics news on Phys.org
  • #2
The issue with this is that the same sound is being emitted and received thus this proportionality will be balanced. a good way to see it is by playing with the equations,https://www.desmos.com/calculator/lmf8d4shcz
Go to this grapher and play with s (proportional to frequency) and c (phase shift).
Hope this helps!
 
  • #3
jamalkoiyess said:
The issue with this is that the same sound is being emitted and received thus this proportionality will be balanced. a good way to see it is by playing with the equations,https://www.desmos.com/calculator/lmf8d4shcz
Go to this grapher and play with s (proportional to frequency) and c (phase shift).
Hope this helps!
Thank you. So what you're saying is that changing the frequency does not change the phase difference? But isn't increasing frequency (i.e. decreasing the wavelength) equivalent to increasing the distance from the emitter to the receiver (which does change the phase shift)? In both cases you have an increase in the amount of peaks/troughs that fit between the emitter and the receiver.
 
  • #4
SplinterCell said:
But isn't increasing frequency (i.e. decreasing the wavelength) equivalent to increasing the distance from the emitter to the receiver (which does change the phase shift)?
It changes the distance between every peak and the other. Forget about the formulas for a bit and look at the graph if you can. Changing 's' which is the frequency is totally independent of 'c' the phase shift, which stays the same. In other words, the distance between peaks changes, but it changes in the same way for both and so the change between phases stays the same.
SplinterCell said:
n both cases you have an increase in the amount of peaks/troughs that fit between the emitter and the receiver.
Of course! but that has nothing to do with the speed of sound. A higher frequency holds more energy, and so for the same distance, it can host more peaks, which is an indirect proof that the speed is constant since everything is stable and the additional energy put into the wave by increasing the frequency goes into the number of peaks and not into the velocity.
 
  • #5
In some media, sound undergoes dispersion and different frequencies have different speeds. That's not generally true in air, though.
 
  • Like
Likes Nik_2213
  • #6
@boneh3ad would you then say that my assessment is wrong? Just to be sure if what I said was right.
 
  • #7
jamalkoiyess said:
It changes the distance between every peak and the other. Forget about the formulas for a bit and look at the graph if you can. Changing 's' which is the frequency is totally independent of 'c' the phase shift, which stays the same. In other words, the distance between peaks changes, but it changes in the same way for both and so the change between phases stays the same.
Yes, but that's only true if we ignore the space component of the wave. The general equation is ##y(x,t) = A \cos (kx-\omega t+\varphi)##. In other words ##c = kx + \varphi##, but ##k## certainly does depend on the frequency. Also, I ask my question because I actually did such an experiment and the phase shift did in fact change with frequency. The only thing I fail to understand is how the speed of sound can be calculated knowing ##\Delta t## for different values of ##f##.
 
  • #8
Ok, I must admit that this problem is confusing me. Now you said that you did the experiment and I am assuming that you have been given a lab manual. Can you by some chance upload it and/or the associated formulations and equations for this problem? Since neither the internet nor my memory is helping.
 
  • #9
jamalkoiyess said:
Ok, I must admit that this problem is confusing me. Now you said that you did the experiment and I am assuming that you have been given a lab manual. Can you by some chance upload it and/or the associated formulations and equations for this problem? Since neither the internet nor my memory is helping.
Unfortunately the lab manual is not available. But the point is this: there's some emitter that generates sound waves of certain frequency ##f## (that you can control). And you also have a receiver (at some fixed distance ##d## from the emitter). Both devices are connected to an oscilloscope. You see two sinusoids on the graph (amplitude as function of time) - overall they look the same but they (usually) have some phase shift. The idea is this: let's look at two adjacent "similar" points ("similar" in the sense that they have the same amplitude) on these two graphs - for example, let's look at two adjacent peaks on these two graphs. Since the waves are shifted in time, these two peaks have a time difference (delay) ##\Delta t##. Now, let's start increasing ##f## as we watch these two points. Their "distance in time" (again, time is the horizontal axis here) will change. The question is how can I express ##f## in terms of ##\Delta t##.
I was able to derive the following formula ##\frac{d}{v} - \Delta t = \frac{1}{f}##, but it doesn't seem to give a good result of ##v## (having measured ##\Delta t## for different values of ##f## I tried to do a linear fit for ##1/f## as function of ##\Delta t## and look at the intercept), so I'm not sure about my derivation.
 
Last edited:
  • #10
If I'm not mistaken that formula is only valid if ##d\leq\lambda##, which I suspect it's not.

What's the condition for ##\Delta t=0##?
 
  • #11
In air the ##\Delta t## should definitely be inversely proportional to ##f##. One possible problem might be the ambiguity between different peaks in your wave. It would be less ambiguous to measure a finite-length wavepacket than a continuous wave.
 
  • #12
Ibix said:
If I'm not mistaken that formula is only valid if ##d\leq\lambda##, which I suspect it's not
Indeed, in our experiment ##d \gg \lambda## (##d## is on the order of tens of centimeters whereas ##\lambda## is usually less than ##1 \text{cm}##).
Ibix said:
What's the condition for ##\Delta t=0##?
Well, ##\Delta t## is the time difference between the two peaks (which are initially adjacent) as they go apart (so they are no longer adjacent at some point). Therefore ##\Delta t## is zero only when ##d=0##, i.e. there's no time delay (the emitter and the receiver are at the same point in space). Of course if the waves completely overlap (i.e. there's an integer amount of wavelengths that fit in ##d##) we can choose the two peaks which overlap (and thus ##\Delta t = 0##), so there's some freedom here. But if we prefer to view ##\Delta t## as the delay (the time it takes for the wave to reach the receiver) then ##\Delta t## is always nonzero (except when the distance between the receiver and the emitter is zero). But again - it doesn't matter (in my opinion), as long as we choose any two peaks (imagine coloring them, so they become unique) and watch how they shift relative to each other.
 
Last edited:
  • #13
I see. I had misunderstood what you were meaning by ##\Delta t##, and your formula is valid for all ##d##. However, I'm not sure how you are measuring ##\Delta t##. Let me ask you a question: you set up your experiment and turn it on. By chance, the two sensors give you identical waveforms (zeroes at the same times). How do you determine ##\Delta t##?
 
  • #14
Ibix said:
I see. I had misunderstood what you were meaning by ##\Delta t##, and your formula is valid for all ##d##. However, I'm not sure how you are measuring ##\Delta t##. Let me ask you a question: you set up your experiment and turn it on. By chance, the two sensors give you identical waveforms (zeroes at the same times). How do you determine ##\Delta t##?
That's a good question. We never had such situation, but I'd probably choose two adjacent peaks that are separated by the smallest non-zero distance. But I think the choice does not affect the overall dependence of ##\Delta t## on ##f##, am I wrong?
We measured ##\Delta t## in the following manner: choose one point (peak) on the "source sinusoid" and choose the closest point (peak) on the "received sinusoid". For example: here are the two sinusoids (similar to those that were displayed on the oscilloscope). So one way is choosing the "red" peak at ##t=0## and the "green" peak at ##t=-1.5##. As we change the frequency the horizontal distance between these peaks changes. That horizontal distance is the ##\Delta t##.
 
Last edited:
  • #15
The question about what you'd do with two identical waveforms with no separation is the same problem as the one I was describing previously. You may want to familiarize yourself with cross-correlation to calculate time separation is a more mathematically rigorous and repeatable way.

You could also get an answer to the original problem all at once (rather than one frequency at a time) if you're clever. For example, by playing white noise through your speaker and calculating the cross-spectrual density between the two microphones.
 
  • #16
boneh3ad said:
The question about what you'd do with two identical waveforms with no separation is the same problem as the one I was describing previously. You may want to familiarize yourself with cross-correlation to calculate time separation is a more mathematically rigorous and repeatable way.

You could also get an answer to the original problem all at once (rather than one frequency at a time) if you're clever. For example, by playing white noise through your speaker and calculating the cross-spectrual density between the two microphones.
Unfortunately I'm not familiar with these concepts (and currently don't have too much time to learn them). I'm pretty sure there's an easier way to solve the problem.
 
  • #17
The problem you have is that what you are measuring is not ##\Delta t##. Imagine turning your apparatus on. The source starts emitting a signal and a millisecond or so later the receiver picks it up. ##\Delta t## is that millisecond - right? To do that by your method, you do need to be able to identify which peak of the received sinusoid corresponds to which peak of the transmitted one, because you are trying to measure the time difference between when a given amplitude peak leaves and arrives. The time difference between some amplitude peak leaving and some other peak arriving is irrelevant - it's like trying to work out how long it takes you to get home by recording the time you leave work and the time your flatmate arrives home and taking the difference.

That's what I was trying to get at with the zero difference case. I was trying to get you to realize that your experimental protocol tells you that you should record ##\Delta t=0## in that case, but since ##d\neq 0##, ##\Delta t\neq 0## and there's something wrong since ##\Delta t## can't be both zero and not. But instead you decided to choose to do something different in that case. As a general rule, experiments that include "I make a decision" aren't measuring pure physics.

Think about it this way: if you adjust the frequency so that the received and transmitted signals are in phase, what is the relationship between ##d## and ##\lambda##?
 
  • Like
Likes nasu
  • #18
Ibix said:
The problem you have is that what you are measuring is not ##\Delta t##. Imagine turning your apparatus on. The source starts emitting a signal and a millisecond or so later the receiver picks it up. ##\Delta t## is that millisecond - right?
Right, but what I'm saying this is that we only need to care about the time shift between any two (initially) adjacent peaks. Here's how I see it: we can represent the "source wave" with the function ##g(t)=A\cos(-\omega t + \varphi_0)##, and the "receiver wave" with ##h(t)=A\cos (kd-\omega t + \varphi_0)##. Now, let's impose the "same amplitude" condition ##g(t_1)=h(t_2)##, which implies ##kx - \omega \Delta t = 2\pi n## where ##n## is some integer. Letting ##n=1## and dividing by ##\omega## we obtain ##d/v - \Delta t = 1/f##.
Ibix said:
Think about it this way: if you adjust the frequency so that the received and transmitted signals are in phase, what is the relationship between ##d## and ##\lambda##?
It must be some integer number of wavelengths. I understand that (and also mentioned it in one of my previous comments).
 
  • #19
SplinterCell said:
Letting ##n=1##
But the point is that you have no way to determine n in your experiment. You don't know that it's 1, and in fact it isn't, which is why you're getting silly answers for the velocity. It's generally going to be of order ##d/\lambda##, I think.
SplinterCell said:
It must be some integer number of wavelengths. I understand that (and also mentioned that in one the previous comments).
Right. Call the frequency ##f_0## and tune upwards until the next time the signals are in phase. Call this ##f_1##. How many wavelengths are there this time?
 
  • #20
Ibix said:
But the point is that you have no way to determine n in your experiment. You don't know that it's 1, and in fact it isn't, which is why you're getting silly answers for the velocity. It's generally going to be of order ##d/\lambda##, I think.
I see my mistake now. The only way to know the correct value of ##n## would be to calculate ##d f / v##, but that would require knowing the velocity (which is what we're trying to find in the first place).
Ibix said:
Right. Call the frequency ##f_0## and tune upwards until the next time the signals are in phase. Call this ##f_1##. How many wavelengths are there this time?
##(n+1)\lambda##?
 
  • #21
IIRC, the speed of sound varies significantly with pressure, temperature and humidity. Hence an aircraft's Mach Number varies with conditions.

Slightly off topic: I remember walking beside a corrugated concrete embankment and noticing my shoe-steps and then my finger clicks were diffracted unto brief 'tweets', like lightning 'whistlers' but quicker. I've tried since, but found too much background noise to repeat the effect...
 
  • #22
SplinterCell said:
##(n+1)\lambda##?
More precisely, ##(n+1)\lambda_1##. And if you tune up to the next time they're in phase, it'll be ##(n+2)\lambda_2##. And what distance is each of these equal to?
 
  • #23
Ibix said:
More precisely, ##(n+1)\lambda_1##. And if you tune up to the next time they're in phase, it'll be ##(n+2)\lambda_2##. And what distance is each of these equal to?
The same distance ##d##. Hence (substituting ##v=\lambda_i f_i##) we obtain ##v = d (f_2 - f_1) = d \Delta f##. Correct? So in general, if we manage to obtain a sequence of frequencies such that the phase shift for each one of them is zero (the waves overlap), we can calculate the velocity from the slope of ##f=\frac{v}{d} n## where ##n## is the index of the frequency in the sequence (of course we assume that we don't miss any overlaps in between). Thank you.
 
  • #24
Solving this problem is precisely why I suggested using a wave pulse or wavepacket instead of just playing a tone. If you use a finite-length pulse you can match specific peaks very easily.

This is even easier if you learn the relatively easy concept of cross-correlation. If you have the right Matlab package there's even a built-in function (and it is standard in the academic version).
 

1. How is the speed of sound measured?

The speed of sound is typically measured using a device called a sonometer, which consists of a hollow tube with a movable piston and a tuning fork. The tuning fork creates a sound wave that travels through the tube, and the piston can be adjusted until the sound wave is at its loudest. The distance between the tuning fork and the piston is then measured, and the speed of sound can be calculated using the equation speed = distance/time.

2. What factors can affect the speed of sound?

The speed of sound can be affected by several factors, including the medium through which it is traveling, temperature, humidity, and altitude. Sound travels faster through denser mediums, such as solids, and slower through less dense mediums, such as gases. It also travels faster in warmer temperatures and higher humidity, and slower in colder temperatures and lower humidity. Additionally, sound travels faster at higher altitudes due to the decrease in air pressure.

3. What is the speed of sound in different mediums?

The speed of sound varies depending on the medium it is traveling through. In dry air at sea level, the speed of sound is approximately 343 meters per second. In water, it is around 1,500 meters per second, and in steel, it can reach up to 5,000 meters per second.

4. How has the speed of sound been measured historically?

Before the invention of modern technology, the speed of sound was measured using methods such as the "echo method" and the "flash-to-bang" method. The echo method involved measuring the time it took for a sound to travel to a distant surface and back, while the flash-to-bang method involved measuring the time between seeing a lightning strike and hearing the thunder. These methods were not very accurate and were later replaced by more precise techniques.

5. Can the speed of sound be faster than the speed of light?

No, the speed of sound cannot be faster than the speed of light. The speed of light is the fastest possible speed in the universe, and sound waves are unable to travel through a vacuum, which is necessary for reaching the speed of light. Additionally, the speed of sound is limited by the properties of the medium it is traveling through, while the speed of light is a fundamental constant that cannot be exceeded.

Similar threads

Replies
31
Views
708
Replies
3
Views
2K
Replies
14
Views
2K
Replies
4
Views
2K
Replies
1
Views
2K
  • Classical Physics
7
Replies
236
Views
8K
  • Introductory Physics Homework Help
Replies
20
Views
2K
  • Introductory Physics Homework Help
Replies
3
Views
3K
Replies
8
Views
1K
  • Special and General Relativity
2
Replies
48
Views
3K
Back
Top