Docsity

fir filter and low pass filter, Assignments of Digital Signal Processing

Toggle sidebar
bg1
CASE STUDY 1
INTRODUCTION:
A RC CIRCUIT:
Figure 1: An example of RC Circuit
An RC circuit is one that has both a resistor (R) and a capacitor (C) (C). RC circuits are a common
component in electrical gadgets. They are also involved in the transmission of electrical impulses
in nerve cells.
A capacitor can store energy and a resistor connected in series with it can govern how quickly it
charges or discharges. This results in a distinctive temporal dependency that turns out to be
exponential. The "time constant" R C is the critical parameter that specifies the time dependency.
There are some facts about the RC Circuit:
●The charge on a capacitor cannot change instantaneously. The current is given by I = DQ /
Dt. Hence the change in charge DQ = I Dtgoes to zero as the time interval Dt goes to zero.
●The current flowing into a capacitor in the steady state that is reached after a long time
interval is zero. Since charge builds up on a capacitor rather than flowing through it,
charge can build up until the point that the voltage V=Q/C balances out the external
voltage pushing charge onto the capacitor.
They are used to handle the speed of a car's windshield wipers and the timing of traffic lights, as
well as in camera flashes, heart pacemakers, and a variety of other electronic equipment.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download fir filter and low pass filter and more Assignments Digital Signal Processing in PDF only on Docsity!

CASE STUDY 1

INTRODUCTION:

A RC CIRCUIT:

Figure 1: An example of RC Circuit An RC circuit is one that has both a resistor (R) and a capacitor (C) (C). RC circuits are a common component in electrical gadgets. They are also involved in the transmission of electrical impulses in nerve cells. A capacitor can store energy and a resistor connected in series with it can govern how quickly it charges or discharges. This results in a distinctive temporal dependency that turns out to be exponential. The "time constant" R C is the critical parameter that specifies the time dependency. There are some facts about the RC Circuit: ● The charge on a capacitor cannot change instantaneously. The current is given by I = DQ / D t. Hence the change in charge DQ = I D t goes to zero as the time interval Dt goes to zero. ● The current flowing into a capacitor in the steady state that is reached after a long time interval is zero. Since charge builds up on a capacitor rather than flowing through it, charge can build up until the point that the voltage V=Q/C balances out the external voltage pushing charge onto the capacitor. They are used to handle the speed of a car's windshield wipers and the timing of traffic lights, as well as in camera flashes, heart pacemakers, and a variety of other electronic equipment.

A RL CIRCUIT:

Figure 2: An example of RL Circuit An RL circuit is an electrical circuit that consists of passive elements such as a resistor (R) and an inductor (L) linked in parallel or series with a driven current source or voltage source. The presence of a resistor in the ideal version of this circuit consumes energy and is equivalent to the RC and RLC circuits. It is also known as the first order RL filter or the RL network. Used as a high pass or low pass filter. Used in tube light chokes. Used for low-power signal filtering and storing energy in the form of potential magnetic energy.

OBJECTIVE:

  1. To find a voltage across capacitor and inductor.
  2. The differences between a RC Circuit and RL Circuit.

The current is the same throughout the loop, which means: iR1 = iC1 (3.1) Substitute Eq (2),(3) and (3.1) in eq (1) to give the governing differential equation of the RC circuit: R 1 C 1 (duC1/dt) + uC1 = uIN To solving this differential equation of the RC circuit is by using Scilab ODE function: Figure 5: the simulation and output for 7u(t) Figure 5.1: The simulation and output for 4/7e(-t)u(t)

In an RC circuit connected to a DC voltage source, voltage on the capacitor is initially zero and rises rapidly at first since the initial current is a maximum.

To solving this differential equation of the RL circuit is by using Scilab ODE function: Figure 6: The simulation and output for7u(t)and 4/7e(-t)u(t) Since the voltage drop across the resistor, uR1 is equal to R 1 iR1 (Ohms Law), it will have the same exponential growth and shape as the current. However, the voltage drop across the inductor, uL will have a value equal to: uL1 = uIN × e(-Rt/L). Then the voltage across the inductor, uL1 will have an initial value (7V & 0.57V) equal to the battery voltage at time t = 0 or when the switch is first closed and then decays exponentially to zero as represented in the above curves.

COMPARISON:

Between all this circuit,we have use constant resistance value which is 3Ω while using 7V and 0.57V for input voltage with 0.05F of capacitance in RC Circuit and 0.115H of inductance in RL Circuit. Based on our simulation results and our calculation, we see that the output voltage of RC circuit is rising up as shown as the graph of RC circuit which we did the simulation in Scilab while the RL circuit the graph is tuning down to zero as across the inductor. CONCLUSION: In other to obtain the graph of RC and RL circuit, we have use differential equation and Scilab Function to translate our calculation into the graph based on the voltage given(7V and 0.57V) and constant resistance (3Ω). The results of the graph are correct because the characteristics of capacitance and inductance.

Figure 1: Comparison between the original sound with the clean sound. The filter which is Finite impulse response (FIR) filters was applied to the original audio to get the desired clean audio. We can see the differences between original sound and filtered sound which is clean audio based on the figure 1.

OBJECTIVE:

● To design a filter to eliminate noise in signal ● To apply z-transform in filtering signal ● To get the clean audio signal without noise

PROBLEM STATEMENT:

As we know, the information signal is the analog signal continuous in time. To minimize the signal loss the uniform sampling must be taken. We must make sure that quantization error will be minimal. This digital signal is now sent through the channel. When the signal is received at the receiver it contains some portion of AWGN (additive white noise Gaussian noise) which is combined with the original signal. To extract the original information from this signal is difficult. The paper proposed the three different types of process and filters which are convolution , FIR filter,windowing method and hamming method to reduce the noise from the signal and extract the exact information from the original sound. Convolution process is the process of filtering signals with a designed filter. The output from this process is impulse response for a clean signal. The FIR (finite Impulse Response) filter which removes higher frequency components from the signal and gives the output as the low frequency components which is the required original signal. All of the FIR coefficients were convolved with the original audio and fourier transform was applied to observe all of the output in time domain and frequency.Windowing method is used to compute the desired filtered into response ,h[n]. For this signal,the sampling frequency is 48x103Hz with the low cut off frequency, 850 hz and high cut off frequency,4.8x10^3 Hz.

CONCLUSION:

The clean audio signal without noise successfully extracted using the FIR filters and convolution based on the windowing method and hamming window.Filters are used to eliminate noise from signals because they are a form of technology that removes noise from a signal and outputs the actual data.