# Signals and Systems/Frequency Response

## Frequency ResponseEdit

Systems respond differently to inputs of different frequencies. Some systems may amplify components of certain frequencies, and attenuate components of other frequencies. The way that the system output is related to the system input for different frequencies is called the *frequency response* of the system.

The frequency response is the relationship between the system input and output in the Fourier Domain.

In this system, X(jω) is the system input, Y(jω) is the system output, and H(jω) is the frequency response. We can define the relationship between these functions as:

## The Frequency Response FunctionsEdit

Since the frequency response is a complex function, we can convert it to polar notation in the complex plane. This will give us a magnitude and an angle.
We call the angle the *phase*.

### Amplitude ResponseEdit

For each frequency, the magnitude represents the system's tendency to amplify or attenuate the input signal.

### Phase ResponseEdit

The phase represents the system's tendency to modify the phase of the input sinusoids.

- .

The phase response, or its derivative the group delay, tells us how the system delays the input signal as a function of frequency.

## ExamplesEdit

### Example: Electric CircuitEdit

Consider the following general circuit with phasor input and output voltages:

Where

As before, we can define the system function, *H(jω)* of this circuit as:

Rearranging gives us the following transformations:

### Example: Low-Pass FilterEdit

We will illustrate this method using a simple low-pass filter with general values as an example. This kind of circuit allows low frequencies to pass, but blocks higher ones.

Find the frequency response function, and hence the amplitude and phase response functions, of the following RC circuit (it is already in phasor form):

Firstly, we use the voltage divider rule to get the output phasor in terms on the input phasor:

Now we can easily determine the frequency response:

This simiplifies down to:

From here we can find the amplitude and phase responses:

The frequency response is pictured by the plots of the amplitude and phase responses:

It is often easier to interpret the graphs when they are plotted on suitable logarithmic scales:

This shows that the circuit is indeed a filter that removes higher frequencies. Such a filter is called a *lowpass filter*.

The amplitude and phase responses of an arbitrary circuit can be plotted using an instrument called a **spectrum analyser** or **gain and phase test set**. See Practical Electronics for more details on using these instruments.

## FiltersEdit

An important concept to take away from these examples is that by desiging a proper system called a **filter**, we can selectively attenuate or amplify certain frequency ranges. This means that we can minimize certain unwanted frequency components (such as noise or competing data signals), and maximize our own data signal

We can define a "received signal" *r* as a combination of a data signal *d* and unwanted components *v*:

We can take the energy spectral density of *r* to determine the frequency ranges of our data signal *d*. We can design a filter that will attempt to amplify these frequency ranges, and attenuate the frequency ranges of *v*. We will discuss this problem and filters in general in the next few chapters. More advanced discussions of this topic will be in the book on Signal Processing.