Number of waves from an oscillating source in one period

AI Thread Summary
The discussion revolves around calculating the total number of sound waves detected by an observer from a mass-spring system oscillating with a maximum velocity. The Doppler effect is applied to determine the frequency perceived by the observer, leading to a complex integral for the number of waves detected. Participants debate the validity of the integral used, emphasizing that the observer counts waves differently due to the varying frequency caused by the source's motion. The consensus is that while the number of waves emitted remains constant, the perceived frequency changes, affecting how waves are counted over time. Ultimately, the discussion highlights the importance of correctly accounting for time intervals in the calculations to avoid discrepancies in wave counts.
  • #51
rude man said:
The only way to get an actual change in pulses per unit time would be to continuously maintain the mass's velocity in the same direction for that unit of time.
yes.
 
Physics news on Phys.org
  • #52
Two things @rude man
1) Can you provide some intuitive /qualitative insight why (1) (and its integral generalization for time varying u) holds? Just to check if I understand it correctly..
2) I didn't understand why the formula for f' doesn't hold if u is time varying.
 
  • #53
Delta² said:
Two things @rude man
1) Can you provide some intuitive /qualitative insight why (1) (and its integral generalization for time varying u) holds? Just to check if I understand it correctly..
2) I didn't understand why the formula for f' doesn't hold if u is time varying.
(1) is the basis of the Doppler shift when the source is moving and the observer is at rest in the medium. It says the wavelength λ' is a linear function of u. This is the fundamental basis of the Doppler shift. It's not hard to derive: in time T the source moves uT towards the observer so the next wavelength is curtailed by uT, and there you have it: λ' = λ - uT. The frequency formula derives from this assuming u and f are constant so it's not general.

Look at @haruspex 's post 43. If you count the received + and - pulses then at the end you should receive the same number of pulses as the number sent out by the source in the time the fly goes +u, then -u, then stops. Why? Because your net u = 0 so your total count had better be the same as the source's as if it had never moved. But, using the frequency formula it's not, as post 43 showed. It's really a matter of understanding the physics before forging ahead with a formula that's inappropriate to the situation. As I unfortunately did.
 
Last edited:
  • Like
Likes Delta2
  • #54
@rude man , what's the formula for ##f##' if ##u(t)## is time varying? I suppose we could argue that frequency is not well defined in such a case because the waveform as seen by the observer might not be periodic.

Which makes me wonder, if ##w(t)## is the waveform of the source, what is the waveform seen by the observer if the source is moving with speed ##u(t)##. If ##u(t)=u## is constant I think the stationary observer sees the waveform as ##w(\frac{c}{c-u}t)## (with the extra assumption that the waveform doesn't diminish due to distance from the source).
 
Last edited:
  • #55
Delta² said:
what's the formula for f' if u(t) is time varying?
Can generalise the equation in post #47.
If the source is at offset x(t) at time t then the wavefronts it emits at that time will reach the observer at time t+(r-x)/c and be heard as having frequency ##\frac c{c-\dot x}f##.
If the heard frequency is F(t) then ##F(t+\frac{r-x}c)=\frac c{c-\dot x}f(t)##.
Delta² said:
we could argue that frequency is not well defined in such a case because the waveform as seen by the observer might not be periodic.
It would be a FM signal. As long as f has a significantly higher frequency than the motion of the mass it is still reasonable to speak of the received frequency as a function of time.
 
  • #56
haruspex said:
It would be a FM signal. As long as f has a significantly higher frequency than the motion of the mass it is still reasonable to speak of the received frequency as a function of time.
An FM signal has theoretically infinite spectrum of frequencies. Which does the observer hear and you denote as ##F(t)##??

In order for me to fully understand this we first must find the waveform ##W(t')## that the observer sees and then do Fourier transform of ##W(t')##. And the interesting question for me is :

If the source emits waveform ##w(t)##, and is moving with speed ##u(t)##, what is the waveform ##W(t')## that the observer sees?

Is it ##W(t')=w(\frac{c}{c-u(t')}t')##? If u(t)=u constant then I think this is correct but if u(t) is time varying what is the equation that relates w(t),u(t) and W(t') I am not sure at all...

I agree that W(t') going to look like an FM signal where in the role of the carrier is the frequency of the moving source(if the source emits a pure sinusoid) and in the role of the modulating signal is the velocity u(t) of the moving source.
 
Last edited:
  • #57
I deleted my last post, was questionable derivation. Will continue to work on it.
 
  • #58
Maybe it is ##W(t')=w(\int_0^{t'}\frac{c}{c-u(t)}dt)##. I don't have a proof for it , I just guessed it.

If it is correct and we assume that ##w(t)=\sin{2\pi f_ct}## that is the source emits a sine wave, then ##W(t')=\sin{(2\pi f_c \int_0^{t'}\frac{c}{c-u(t)}dt)}## so the phase for the observer is ##\Phi(t')=2\pi f_c \int_0^{t'}\frac{c}{c-u(t)}dt## and the instantaneous frequency defined as ##\frac{d\Phi}{dt}=2\pi f_c \frac{c}{c-u(t)}## which is very convenient.
 
Last edited:
  • #59
Yes ok thanks @rude man , no need to analyse the terms sin(ab sin(…)) or cos(ab sin(…)) in terms of Bessel functions...

I have my doubts about these two lines

x'(t) = sin(2πct/λ(t)) observed signal after doppler shifting

x'(t) = sin(2πct/(λ0 - ∫tu(t′)dt′))'>∫tu(t′)dt′))∫tu(t′)dt′)) as I showed last post

If we take u(t)=u constant, then the second line gives ##x'(t)=\sin{(2\pi ct\frac{1}{\lambda_0-ut})}## which doesn't seem correct, we know that if u(t) is constant then the observed signal will be ##x'(t)=\sin{(2\pi\frac{c}{c-u}t)}##
 
  • #60
Delta² said:
Yes ok thanks @rude man , no need to analyse the terms sin(ab sin(…)) or cos(ab sin(…)) in terms of Bessel functions...
But if you don't you don't see all the harmonics.
I have my doubts about these two lines
If we take u(t)=u constant, then the second line gives ##x'(t)=\sin{(2\pi ct\frac{1}{\lambda_0-uT})}## which doesn't seem correct, we know that if u(t) is constant then the observed signal will be ##x'(t)=\sin{(2\pi\frac{c}{c-u}t)}##
I've corrected your 1st expression for x'(t). T instead of t. T is the period of one oscillation of the transducer = λ0/c. Also, your 2nd expression for x'(t) is dimensionally incorrect.

I've made numerous math corrections this morning (11 a.m. GMT-7), all of which were parentheses mistakes. But I've deleted recent posts. I'm revising my analysis for x'(t), the microphone diaphragm displacement (I'm modeling the system as a speaker cone with sinusoidal displacement x(t) at frequency f0 = c/T, and a microphone receiver with diaphragm displacement x'(t) ).
 
Last edited:
  • #61
rude man said:
But if you don't you don't see all the harmonics.I've corrected your 1st expression for x'(t). T instead of t. T is the period of one oscillation of the transducer = λ0/c. Also, your 2nd expression for x'(t) is dimensionally incorrect.
Yes you are right at 2nd expression I forgot to put ##f_0=\frac{c}{\lambda_0}## inside the phase. But the first expression if I remember well it was ##\lambda(t)=\lambda_0-\int^tu(t')dt'##, I don't see how you can get something constant like ##uT## from that integral..

I've made numerous math corrections this morning (11 a.m. GMT-7), all of which were parentheses mistakes. But I've deleted recent posts. I'm revising my analysis for x'(t), the microphone diaphragm displacement (I'm modeling the system as a speaker cone with sinusoidal displacement x(t) at frequency f0 = c/T, and a microphone receiver with diaphragm displacement x'(t) ).
I think the post with the analysis with the ##\lambda_i## was correct, you shouldn't have deleted it.
 
  • #62
Delta² said:
Yes you are right at 2nd expression I forgot to put ##f_0=\frac{c}{\lambda_0}## inside the phase. But the first expression if I remember well it was ##\lambda(t)=\lambda_0-\int^tu(t')dt'##, I don't see how you can get something constant like ##uT## from that integral..
Agreed. I did goof big-time by integrating u(t) up to time t.

OK I took another shot at it, to wit:

Scenario: we have a speaker with speaker cone displacement x(t) relative to the speaker body.. The speaker body moves with velocity u(t) relative to the air.. A stationary microphone picks up the moving speaker output which is the speaker output x(t) modulated by the motion u(t). I think this setup has to be clearly defined.

Let x(t) = x0 cos(2πf0t) = x0 cos(2πct/λ0), c = speed of sound. This defines λ0.

Fundamental Doppler equation is λ = λ0 - uT
where T = λ0/c and λ is λ0 reduced by uT after time T. u is assumed constant during time T. u > 0 for speaker body approaching the microphone.

We can remove the requirement on u(t) = constant during T by writing λ = λ0 - ## \int_T u(t) \, dt ##

Thus λ = λ0 - ## \int_T u(t) \, dt ## = λ0 -## \int_t^{t+T} u(t') \, dt' ## with t' a dummy variable.

Assume u(t) = u0 cos(ω0t).

Then ## \int_T u(t) \, dt ## = (u00)[sin(ω0T + ω0t) - sin(ω0t)]

and if we exploit the fact that ω0T << 1 (speaker cone frequency >> speaker body frequency),

## \int_T u(t) \, dt ## = u0T cos(ω0t).

Let the microphone diaphragm displacement be x'(t) with amplitude x0'.
So x'(t) = x0' cos[(2πct/λ0)/(1 - (u0T/λ0) cos(ω0t))]
≅ x0' cos[2πf0t(1 +(u0T/λ0) cos(ω0t))]
since u0T/λ0 << 1.

Letting 2πf0t = a, u0T/λ0 = b, z = ab and θ = ω0t,
x'(t) = x0' [cos(a) cos(z cosθ) + sin(a) sin(z cosθ)]

= x0'[cos(a) {J0(z) + ## 2\sum_{k=1}^\infty (-1)^k J_{2k}(z) cos(2kθ) ##}

+ sin(a) { ## 2\sum_{k=0}^\infty (-1)^k J_{2k+1}(z) cos(2k+1)θ ##}]

with J(z) the Bessel function of the 1st kind,
showing that all even and odd harmonics of ω0 are present.

I'm hoping I got it this time.
 
Last edited:
  • #63
I think the post with the analysis with the ##\lambda_i## was correct, you shouldn't have deleted it.
Miraculous recovery! (I usually make a .doc file for each post, for just such an eventuality!) :smile:

Kind of late now as the OP seems to have lost interest, but, following my disastrous posts, most of which I have deleted, I decided to finally investigate the Doppler effect more seriously.

It turns out that, for any movement of the source, if the source returns to where it started from, then the number of pulses in that cycle seen by the observer = the number sent by the transducer. Of course, if the observer is distant from the source, there will be a time delay, but that delay does not alter this statement.

Proof:

The basicDoppler relation is λi = λ0 - uiT .... (1)
where λi = i'th spatial distance between two adjacent pulses as seen by observer,
λ0 = same distance when u = 0,
Δλi = λi - λ0
T = one period of the transducer output
ui = velocity during time interval i of duration T; u can be > or ≤ 0.
f0 = transducer output frequency = 1/T.

(1) assumes that ui is constant for the time interval T; but more generally we can let u vary in time, then
λi = λ0 - ## \int_T u(t) \, dt ## with u = average u between i and i+1.

Let NT = the period of kinetic oscillation of the mass (the source) and
x(t) = instantaneous position of the source, with x(0) = 0.
So x(t) = ## \int_0^t u(t') \, dt' ## and
## \sum_{i=0}^N ## Δλi = ## \int_0^T u(t) \, dt + \int_T^{2T} u(t) \, dt + ... \int_{(N-1)T}^{NT} u(t) \, dt = \int_0^{NT} u(t) \, dt ## = x(NT) - x(0)
= net distance x traveled by source in time NT.

This proves that if net x = 0 i.e x returns to its starting place so that x(NT) = x(0) , then irrespective of any interim variation of positive or negative x or u,
## \sum_{i=0}^N ## Δλi = 0 over that time span NT, which implies
Σ λi = Σ λ0 and the number of transducer pulses = no. of observed pulses in time NT.

So, warning: your textbook formula f' = f⋅(c/(c-u)) is valid only for u constant. It's λ that varies linearly with u, not f. Wish I had understood sooner.
 
  • Like
Likes Delta2
  • #64
rude man said:
Let the microphone diaphragm displacement be x'(t) with amplitude x0'.
So x'(t) = x0' cos(2πct/λ0)/(1 - (u0T/λ0) cos(ω0t))
≅ x0' cos[2πf0t(1 + (u0T/λ0)) cos(ω0t)]
since u0T/λ0 << 1.
Can you perhaps rewrite what you doing here, I think there are some errors with the parentheses involved. If we take ##\lambda (t)=\lambda_0-u_0T\cos(\omega_0t)## then you say that ##x'(t)=x_0'\cos{\frac{2\pi ct}{\lambda(t)}}##?

My thoughts for this problem took me to a completely different route. According to my reasoning (which I ll post in a later post ), if we define as ##g(t)## the retarded time that the wavefront reach the observer, that is
##g(t)=t+\frac{R-\int_0^t u(t')dt'}{c}## then the waveform that the observer sees is :

##x(g^{-1}(t))##

where ##x(t)## is the waveform that the source emits and ##g^{-1}(t)## is the inverse of ##g(t)## such that ##g^{-1}(g(t))=t##.
 
Last edited:
  • #65
Delta² said:
Can you perhaps rewrite what you doing here, I think there are some errors with the parentheses involved.
Yes, what a mess - seems like I never get it right. Thanks a lot for helping me out here.
I edited post 62. Thanks again. I really should use LaTex more. BTW sexy new avatar! :smile:
Delta² said:
If we take ##\lambda (t)=\lambda_0-u_0T\cos(\omega_0t)## then you say that ##x'(t)=x_0'\cos{\frac{2\pi ct}{\lambda(t)}}##?
Actually, I think that part was OK. Wasn't it?
 
  • #66
rude man said:
Actually, I think that part was OK. Wasn't it?
Nope I don't agree (I am not sure though), see my post #64 I edited it .

You essentially say that if the waveform of the source is ##x(t)## then the observer sees the waveform ##x(\frac{ct}{\lambda (t)})##, I say its ##x(g^{-1}(t))##

Suppose ##x(t)## and ##x'(t)## are as you defined in post 62 (with the difference that we assume that the amplitude ##x_0## doesn't diminish with distance from source, so it is ##x_0=x_0'##), and ##g(t)## as defined in post 64. Then, as I see it, the microphone diaphragm displacement will be ##x(t)## at time ##t'=g(t)## , so it will be ##x'(t')=x(t)## that is

##x'(g(t))=x(t)## . we can see that

##x(g^{-1}(t))=x'(g(g^{-1}(t))=x'(t)##.
 
Last edited:
  • #67
OK. I see that you considered the retardation time (time for sound to go from speaker to microphone. Which is what I think @haruspex did. But I never considered that time. I saw nothing wrong with setting the microphone a few wavelengths (or less) in front of the speaker, making the delay time 0.

So if we assume no attenuation as you did, which is fine, then if x = x0cos(2πct/λ0) we get x' = x0cos(2πct/λ). The only difference between x and x' is that x' is x wavelength-modulated by u, with essentially no time delay.
 
Last edited:
  • #68
Delta² said:
Can you perhaps rewrite what you doing here, I think there are some errors with the parentheses involved. If we take ##\lambda (t)=\lambda_0-u_0T\cos(\omega_0t)## then you say that ##x'(t)=x_0'\cos{\frac{2\pi ct}{\lambda(t)}}##?

My thoughts for this problem took me to a completely different route. According to my reasoning (which I ll post in a later post ), if we define as ##g(t)## the retarded time that the wavefront reach the observer, that is
##g(t)=t+\frac{R-\int_0^t u(t')dt'}{c}## then the waveform that the observer sees is :

##x(g^{-1}(t))##

where ##x(t)## is the waveform that the source emits and ##g^{-1}(t)## is the inverse of ##g(t)## such that ##g^{-1}(g(t))=t##.
What is R? I have a tough time with this one.

I understand x(t). But why is x' all of a sudden a function of (time)-1? Why not retardation time? So if u=0 we get x'(t) = x(t-τ), τ = delay time?

Anyway, as I said, I saw no reason to invoke any retardation time. The expression λ = λ0 - uT does not imply any time shifting.
 
  • #69
rude man said:
But why is x' all of a sudden a function of (time)-1?
@Delta² is using g-1 to mean the inverse function of g, not 1/g. If g(t)=t+τ Then g-1(t)=t-τ.
 
  • Like
Likes Delta2
  • #70
rude man said:
Anyway, as I said, I saw no reason to invoke any retardation time. The expression λ = λ0 - uT does not imply any time shifting.
Actually, it does. It's hidden in the last term.

Let's assume the position of the mass is given by ##x(t)##, the source emits a signal ##y(t) = Y \cos(2\pi f t)##, and the observer is located at ##x=R##.

At time ##t=0##, crest 0 is emitted at ##x=0##, and it subsequently propagates toward the observer with speed ##c##. We can describe its position at ##x_0(t) = ct## for ##t\ge 0##.

At time ##t=T=1/f##, crest 1 is emitted from the position ##x(T)##. Its position is subsequently given by ##x_1(t) = x(T) + c(t-T)## for ##t\ge T##.

At time ##t=2T##, crest 2 is emitted, and its position is subsequently given by ##x_2(t) = x(2T) + c(t-2T)## for ##t \ge 2T##.

In general, for ##t \ge nT##, the position of the crest ##n## is given by ##x_n(t) = x(nT) + c(t-nT)##.

The distance ##\lambda_k## between crest ##k-1## and crest ##k## is
$$\lambda_k = x_{k-1}(t) - x_{k}(t) = cT - [x(kT) - x((k-1)T)] = \lambda - \int_{(k-1)T}^{kT} v(t')\,dt',$$ where ##\lambda=cT## is the un-Doppler-shifted wavelength and ##v(t)## is the velocity of the mass. This is essentially the same expression you derived in an earlier post.

So when does crest ##n## arrive at the observer? Just set ##x_n(t_n) = R## and solve for ##t_n##. When we do this, we get
$$t_n = nT + \frac Rc - \frac{x(nT)}{c}.$$ Since ##t=nT## is the time the crest was emitted, this is @Delta²'s expression for the retarded time.

One way of looking at the problem is that the movement of the source distorts the wave. The changing position of the source as crests are emitted causes them to be squeezed together or stretched apart. This modulated wave then propagates to the observer. The other way is to see the changes in the wave as a result of different propagation times. Compared to the time a crest emitted at ##x=0## would take to reach the observer, a crest is emitted from ##x>0## arrives a little early, and one from ##x<0## arrives a little late.
 
  • #71
vela said:
Actually, it does. It's hidden in the last term.

Let's assume the position of the mass is given by ##x(t)##, the source emits a signal ##y(t) = Y \cos(2\pi f t)##, and the observer is located at ##x=R##.

At time ##t=0##, crest 0 is emitted at ##x=0##, and it subsequently propagates toward the observer with speed ##c##. We can describe its position at ##x_0(t) = ct## for ##t\ge 0##.

At time ##t=T=1/f##, crest 1 is emitted from the position ##x(T)##. Its position is subsequently given by ##x_1(t) = x(T) + c(t-T)## for ##t\ge T##.

At time ##t=2T##, crest 2 is emitted, and its position is subsequently given by ##x_2(t) = x(2T) + c(t-2T)## for ##t \ge 2T##.

In general, for ##t \ge nT##, the position of the crest ##n## is given by ##x_n(t) = x(nT) + c(t-nT)##.

The distance ##\lambda_k## between crest ##k-1## and crest ##k## is
$$\lambda_k = x_{k-1}(t) - x_{k}(t) = cT - [x(kT) - x((k-1)T)] = \lambda - \int_{(k-1)T}^{kT} v(t')\,dt',$$ where ##\lambda=cT## is the un-Doppler-shifted wavelength and ##v(t)## is the velocity of the mass. This is essentially the same expression you derived in an earlier post.

So when does crest ##n## arrive at the observer? Just set ##x_n(t_n) = R## and solve for ##t_n##. When we do this, we get
$$t_n = nT + \frac Rc - \frac{x(nT)}{c}.$$ Since ##t=nT## is the time the crest was emitted, this is @Delta²'s expression for the retarded time.

One way of looking at the problem is that the movement of the source distorts the wave. The changing position of the source as crests are emitted causes them to be squeezed together or stretched apart. This modulated wave then propagates to the observer. The other way is to see the changes in the wave as a result of different propagation times. Compared to the time a crest emitted at ##x=0## would take to reach the observer, a crest is emitted from ##x>0## arrives a little early, and one from ##x<0## arrives a little late.
So do you agree with my post 62 or not? Assuming R=0?

EDIT: sorry if I sounded importunate. Didn't mean to. Happens occasionally I'm afraid

But I really did want to know if you agreed or not. And I still find it difficult to see how R enters into the situation. If u is constant the formula f' = f c/(c-u) surely applies, and it doesn't contain any R.
 
Last edited:
Back
Top