# Chirp

A chirp is a signal in which the frequency increases (up-chirp) or decreases (down-chirp) with time. In some sources, the term chirp is used interchangeably with sweep signal. It is commonly applied to sonar, radar, and laser systems, and to other applications, such as in spread-spectrum communications (see chirp spread spectrum). This signal type is biologically inspired and occurs as a phenomenon due to dispersion (a non-linear dependence between frequency and the propagation speed of the wave components). It is usually compensated for by using a matched filter, which can be part of the propagation channel. Depending on the specific performance measure, however, there are better techniques both for radar and communication. Since it was used in radar and space, it has been adopted also for communication standards. For automotive radar applications, it is usually called linear frequency modulated waveform (LFMW).
In spread-spectrum usage, surface acoustic wave (SAW) devices are often used to generate and demodulate the chirped signals. In optics, ultrashort laser pulses also exhibit chirp, which, in optical transmission systems, interacts with the dispersion properties of the materials, increasing or decreasing total pulse dispersion as the signal propagates. The name is a reference to the chirping sound made by birds; see bird vocalization.

## Definitions

The basic definitions here translate as the common physics quantities location (phase), speed (angular velocity), acceleration (chirpyness). If a waveform is defined as: $x(t)=\sin \left(\phi (t)\right)$
then the instantaneous angular frequency, ω, is defined as the phase rate as given by the first derivative of phase, with the instantaneous ordinary frequency, f, being its normalized version: $\omega (t)={\frac {d\phi (t)}{dt}},\,f(t)={\frac {\omega (t)}{2\pi }}$
Finally, the instantaneous angular chirpyness (symbol γ) is defined to be the second derivative of instantaneous phase or the first derivative of instantaneous angular frequency, $\gamma (t)={\frac {d^{2}\phi (t)}{dt^{2}}}={\frac {d\omega (t)}{dt}}$ Angular chirpyness has units of radians per square second (rad/s$^2$); thus, it is analogous to angular acceleration.
The instantaneous ordinary chirpyness (symbol c) is a normalized version, defined as the rate of change of the instantaneous frequency: $c(t)={\frac {\gamma (t)}{2\pi }}={\frac {df(t)}{dt}}$ Ordinary chirpyness has units of square reciprocal seconds (s$^{−2}$); thus, it is analogous to rotational acceleration.

## Types
### Linear

In a linear-frequency chirp or simply linear chirp, the instantaneous frequency $f(t)$ varies exactly linearly with time: $f(t)=ct+f_{0},$ where $f_{0}$ is the starting frequency (at time $t=0$) and $c$ is the chirp rate, assumed constant: $c={\frac {f_{1}-f_{0}}{T}}={\frac {\Delta f}{\Delta t}}.$
Here, $f_{1}$ is the final frequency and $T$ is the time it takes to sweep from $f_{0}$ to $f_{1}$.
The corresponding time-domain function for the phase of any oscillating signal is the integral of the frequency function, as one expects the phase to grow like $\phi (t+\Delta t)\simeq \phi (t)+2\pi f(t)\,\Delta t$, i.e., that the derivative of the phase is the angular frequency $\phi '(t)=2\pi \,f(t)$.
For the linear chirp, this results in: ${\begin{aligned}\phi (t)&=\phi _{0}+2\pi \int _{0}^{t}f(\tau )\,d\tau \\&=\phi _{0}+2\pi \int _{0}^{t}\left(c\tau +f_{0}\right)\,d\tau \\&=\phi _{0}+2\pi \left({\frac {c}{2}}t^{2}+f_{0}t\right),\end{aligned}}$
where $\phi _{0}$ is the initial phase (at time $t=0$). Thus this is also called a quadratic-phase signal.
The corresponding time-domain function for a sinusoidal linear chirp is the sine of the phase in radians: $x(t)=\sin \left[\phi _{0}+2\pi \left({\frac {c}{2}}t^{2}+f_{0}t\right)\right]$

### Exponential

In a geometric chirp, also called an exponential chirp, the frequency of the signal varies with a geometric relationship over time. In other words, if two points in the waveform are chosen, $t_{1}$ and $t_{2}$, and the time interval between them $T=t_{2}-t_{1}$ is kept constant, the frequency ratio $f\left(t_{2}\right)/f\left(t_{1}\right)$ will also be constant.
In an exponential chirp, the frequency of the signal varies exponentially as a function of time: $f(t)=f_{0}k^{\frac {t}{T}}$ where $f_{0}$ is the starting frequency (at $t=0$), and $k$ is the rate of exponential change in frequency.
$k={\frac {f_{1}}{f_{0}}}$
Where $f_{1}$ is the ending frequency of the chirp (at $t=T$).
Unlike the linear chirp, which has a constant chirpyness, an exponential chirp has an exponentially increasing frequency rate.
The corresponding time-domain function for the phase of an exponential chirp is the integral of the frequency: ${\begin{aligned}\phi (t)&=\phi _{0}+2\pi \int _{0}^{t}f(\tau )\,d\tau \\&=\phi _{0}+2\pi f_{0}\int _{0}^{t}k^{\frac {\tau }{T}}d\tau \\&=\phi _{0}+2\pi f_{0}\left({\frac {Tk^{\frac {t}{T}}}{\ln(k)}}\right)\end{aligned}}$ where $\phi _{0}$ is the initial phase (at $t=0$).
The corresponding time-domain function for a sinusoidal exponential chirp is the sine of the phase in radians: $x(t)=\sin \left[\phi _{0}+2\pi f_{0}\left({\frac {Tk^{\frac {t}{T}}}{\ln(k)}}\right)\right]$
As was the case for the Linear Chirp, the instantaneous frequency of the Exponential Chirp consists of the fundamental frequency $f(t)=f_{0}k^{\frac {t}{T}}$ accompanied by additional harmonics.

### Hyperbolic

Hyperbolic chirps are used in radar applications, as they show maximum matched filter response after being distorted by the Doppler effect.
In a hyperbolic chirp, the frequency of the signal varies hyperbolically as a function of time: $f(t)={\frac {f_{0}f_{1}T}{(f_{0}-f_{1})t+f_{1}T}}$
The corresponding time-domain function for the phase of an hyperbolic chirp is the integral of the frequency: ${\begin{aligned}\phi (t)&=\phi _{0}+2\pi \int _{0}^{t}f(\tau )\,d\tau \\&=\phi _{0}+2\pi {\frac {-f_{0}f_{1}T}{f_{1}-f_{0}}}\ln \left(1-{\frac {f_{1}-f_{0}}{f_{1}T}}t\right)\end{aligned}}$ where $\phi _{0}$ is the initial phase (at $t=0$).
The corresponding time-domain function for a sinusoidal hyperbolic chirp is the sine of the phase in radians: $x(t)=\sin \left[\phi _{0}+2\pi {\frac {-f_{0}f_{1}T}{f_{1}-f_{0}}}\ln \left(1-{\frac {f_{1}-f_{0}}{f_{1}T}}t\right)\right]$

## Generation

A chirp signal can be generated with analog circuitry via a voltage-controlled oscillator (VCO), and a linearly or exponentially ramping control voltage. It can also be generated digitally by a digital signal processor (DSP) and digital-to-analog converter (DAC), using a direct digital synthesizer (DDS) and by varying the step in the numerically controlled oscillator. It can also be generated by a YIG oscillator.

## Relation to an impulse signal

A chirp signal shares the same spectral content with an impulse signal. However, unlike in the impulse signal, spectral components of the chirp signal have different phases, i.e., their power spectra are alike but the phase spectra are distinct. Dispersion of a signal propagation medium may result in unintentional conversion of impulse signals into chirps (Whistler). On the other hand, many practical applications, such as chirped pulse amplifiers or echolocation systems, use chirp signals instead of impulses because of their inherently lower peak-to-average power ratio (PAPR).

## Uses and occurrences
### Chirp modulation

Chirp modulation, or linear frequency modulation for digital communication, was patented by Sidney Darlington in 1954 with significant later work performed by Winkler in 1962. This type of modulation employs sinusoidal waveforms whose instantaneous frequency increases or decreases linearly over time. These waveforms are commonly referred to as linear chirps or simply chirps.
Hence the rate at which their frequency changes is called the chirp rate. In binary chirp modulation, binary data is transmitted by mapping the bits into chirps of opposite chirp rates. For instance, over one bit period "1" is assigned a chirp with positive rate a and "0" a chirp with negative rate −a. Chirps have been heavily used in radar applications and as a result advanced sources for transmission and matched filters for reception of linear chirps are available.

### Chirplet transform

Another kind of chirp is the projective chirp, of the form: $g=f\left[{\frac {a\cdot x+b}{c\cdot x+1}}\right],$ having the three parameters a (scale), b (translation), and c (chirpiness). The projective chirp is ideally suited to image processing, and forms the basis for the projective chirplet transform.

### Key chirp

A change in frequency of Morse code from the desired frequency, due to poor stability in the RF oscillator, is known as chirp, and in the R-S-T system is given an appended letter 'C'.