# How to plot phase response graph in Proteus

In signal processing, a filter is an important tool for modifying and processing signals. A filter can be used to enhance certain aspects of a signal or to remove unwanted components. One important aspect of a filter is its phase response, which describes how the filter changes the timing relationships between different frequency components of a signal. In this blog post, we will explore the concept of phase response and how it affects the behavior of a filter.

Before we dive into the concept of phase response, let's briefly review what we mean by the term "phase". Phase refers to the relative timing of different parts of a signal. A signal can be represented as a combination of sine waves of different frequencies, each with its own amplitude and phase. The phase of a sine wave indicates where it is in its cycle, with a phase of 0 representing the start of a cycle.

Now, let's consider a cascaded band pass filter as shown below.

The filter was designed with the online band pass filter calculator with center frequency of 10KHz, bandwidth of 10KHz and has gain of unity.

A filter is a device that modifies the amplitude and phase of different frequency components of a signal. When we apply a filter to a signal, the output signal will have a different phase relationship between its frequency components than the input signal. This phase relationship is described by the filter's phase response. There are also filters called phase shifter circuit that only changes the phase of the input signal.

To see the phase response of a filter in Proteus like the band pass filter design above, we place a sine wave generator from the generator mode panel at the input of the filter. Then we place a voltage probe at the output of the filter. Next we place a frequency response graph from the graph mode panel onto the schematic. We then drag the output voltage probe onto the right side of the graph as illustrated in the following picture. Then we need to right click on the graph and change the reference to Root_Vin which is the sine wave input Vin into the filter.

Then we again right click on the graph and click on Simulate Graph to plot the phase response of the filter. The phase response of a filter shows the amount of phase shift that the filter introduces for each frequency component of a signal. A filter can introduce both linear phase shift (where the phase shift is proportional to frequency) and nonlinear phase shift (where the phase shift is not proportional to frequency). In general, linear phase shift is desirable because it preserves the timing relationships between different frequency components of the signal.

There are several ways to represent the phase response of a filter. One common way and the one shown above is the plot the phase shift as a function of frequency, which is known as the phase frequency response. The phase frequency response is typically plotted on a logarithmic frequency scale, which allows us to see the phase shift across a wide range of frequencies. In the above example case of band pass filter, at 10KHz mid-band frequency the phase shift is about 20 degree.

Another way to represent the phase response of a filter is to use a group delay plot. The group delay is a measure of how much a filter delays each frequency component of a signal. The group delay plot shows the group delay as a function of frequency, and it can be used to determine the amount of distortion introduced by the filter.

The phase response of a filter can have important implications for signal processing applications. For example, in audio processing, linear phase filters are often used to avoid introducing phase distortion, which can cause undesirable changes to the timbre of the sound. In digital signal processing, phase response can also be important for the design of digital filters, which are used to process signals in many different applications.

See the following full video demonstration that shows how to plot the phase response graph in Proteus.

In conclusion, the phase response of a filter describes how the filter modifies the timing relationships between different frequency components of a signal. The phase response can be represented by the phase frequency response or the group delay plot, and it can have important implications for signal processing applications. Understanding the phase response of a filter is essential for designing filters that preserve the integrity of the signal while achieving the desired processing objectives. Here we have shown how to plot phase response graph of a cascaded band pass filter in Proteus.