My understanding of the FMCW was limited to one chirp and was mostly focused on frequency analysis. (Mostly built upon this answer)
I wanted to expand my understanding to multiple chirps and was introduced to the equation below
$$\phi_0-2\pi\frac{2v}{c}f_cnT_c-2\pi\left[\frac{2v}{c}(f_c+nB)+\frac{B}{T_c}t_d\right]t$$
Where,
$v$: Velocity of target
$n$: Chirp number
$T_c$: Chirp duration
$B$: Bandwidth of signal
$t_d$: round-trip time delay
The equation represents the phase of the received beat signal for the nth chirp. For stationary targets, the Rx signal will just be a time-delayed version of the Tx signal. So the IF signal can be represented as
$$A\cos(\phi_T(t-t_d)-\phi_T(t))$$
For a sawtooth LFM chirp $\cos(2\pi f_ct+\frac{B}{T_c}t^2)$, the phase of the IF signal is
$$\begin{align}
\phi_{IF}&=2\pi f_c(t-t_d)+\pi\frac{B}{T_c}(t-t_d)^2-2\pi f_ct-\pi\frac{B}{T_c}t^2 \\
&=\underbrace{-2\pi f_ct_d-\pi\frac{B}{T_c}t_d^2}_{\phi_0}+2\pi\left(\frac{B}{T_c}t_d\right)t
\end{align}$$
So, I understand what $\phi_0$ represents and where the rightmost term came from. However, I can't figure out how to get the two terms that is related to velocity. Some help on deriving this will be very helpful.
Also, in this equation and every document I come across does not deal with time-varying velocity. Why is this? How does commercial radars deal with varying velocity?