StudentShare
Contact Us
Sign In / Sign Up for FREE
Search
Go to advanced search...
Free

LIR Filter for Single Sinusoid Generation - Essay Example

Cite this document
Summary
This essay "LIR Filter for Single Sinusoid Generation" focuses on comprehending the design and execution of the IIR filters using MATLAB and the C6713 system. Difference equations are important because of the existence of the IIR filters that possess an extended impulse response…
Download full paper File format: .doc, available for editing
GRAB THE BEST PAPER93.2% of users find it useful
LIR Filter for Single Sinusoid Generation
Read Text Preview

Extract of sample "LIR Filter for Single Sinusoid Generation"

Lab report INTRODUCTION The main aim of the experiment is to aids in comprehending design and execution of the IIR filters using MATLAB and the C6713 system. Difference equations is important because of the existence of the IIR filters that possess an extended impulse response {h(n)} and the use of convolution for filtering the input signal is not recommended. Therefore, the difference equations are used to perform this operation. Also, the pole-zero plots are significant in the analysis of a signal with regards to the position of the poles by indicating whether the signal is stable or unstable PROCEDURE Experiment 1: IIR filter for single sinusoid generation The exercise involved the use of a sinusoidal signal generated in MATLAB for (preliminary Q.5) generated for this experiment using the C6713 system board with f (frequency) = 500 Hz, Fs (sampling frequency) = 8 kHz and A (amplitude) = 1V. IIR filter was applied to this signal with different kind of equations. A construction of a pole-zero plot was applied with the aim of understanding the nature and functions of the signals. Experiment 2: Implementing a Butterworth IIR lowpass filter on C7613 For this experiment, a fourth order Butterworth IIR filter was to be designed on MATLAB and C6713 using the following difference equation: The 3-dB cut-off frequency of the filter 1.5 kHz and the sampling frequency was 8 kHz. To design this 4-th order low-pass filter on MATLAB, the butter function was used: [b,a]= butter(4,wn,low); where wn is the cut-off frequency divided by half the sampling frequency =(  RESULTS Figure 3: Signal generation on C7613 system Figure 4: Poles-Zeroes Diagram for IIR filter Figure 5: Magnitude function |H (w)| (linear and dB plot / Note: Linear plot (top) & dB plot (bottom) Table 1: filter cofficients Filter coefficients [b, a] Table1: Filter coefficients [b, a] b= 0.037973 0.151892 0.227838 0.151892 0.037973 a= 1.000000 -0.978369 0.790086 -0.241882 0.037734 Figure 6: Pole-zero plot for Butterworth filter Figure 6: Pole-zero plots for Butterworth filter Figure 7: Phase response of < H (w) For the implementation of the filter on the C6713, the magnitude function was swept at different frequencies to see the effect on the Vout (output voltage). Figure 8 and 9 show the effect of sweeping frequency for one at 1000 Hz and the other at 2000 Hz. Figure 8: Frequency at 1000 Hz Figure 9: Frequency at 2000 Hz Table 2: Voltage Amplitude for Input/output Table2: The gain for different frequency Frequency (Hz) Vpp (IN) (V) Vpp (OUT) (V) Gain 250 1 1.04 1.04 500 1 1.04 1.04 1000 1 1.04 1.04 1100 1 1.02 1.02 1200 1 1 1 1300 1 0.92 0.92 1400 1 0.86 0.86 1500 1 0.7 0.7 1600 1 0.6 0.6 1700 1 0.52 0.52 1800 1 0.4 0.4 1900 1 0.28 0.28 2000 1 0.24 0.24 2100 1 0.2 0.2 2200 1 0.14 0.14 2300 1 0.12 0.12 2400 1 0.08 0.08 2500 1 0.08 0.08 The gain was determined through using the equation: Vout=output voltage (V), Vin=input voltage (V) and A=amplitude. The magnitude function of the filter created in MATLAB and C6713 system were then plotted on MATLAB for comparison, as shown in Figure 10. Figure 10: Overlaid MATLAB plot of magnitude function(s) Note: red line (designed Butterworth filter MATLAB) and blue line (filter implemented on C6713 system). DISCUSSION Experiment 1 majored on the application of an IIR filter to generate a single sinusoid on C6713 system. As illustrated in the above experiment, the different equations were used in the construction of the sinusoidal signal and a pole-zero plots was used in making observations. The pole-zero plot in figure 4 shows two poles located on the unit circle; this implies that the signal is ‘marginally stable’ meaning that it maintains its stability throughout the experiment (Kuo, Lee & Tian, 2013). This is the trend for the waveform evidenced in Figure 3, where the signal remains constant as it oscillates. This is contrary if the poles were located within the unit circle, the signal would change by beginning to decay as it is considered stable. If the poles were located outside circle, the signal would start increasing, which implies that the signal is unstable. For the case in experiment 2, a 4th order Butterworth filter designed both in MATLAB and on the C6713 system. For the Butterwort filter in MATLAB portion, the magnitude response (linear and dB) was constructed while conditioned on the C6713 system, the voltage inputs and outputs were measured at different frequencies. A construction of a pole-zero plots was made as a feedback to the magnitude response. In doing so, Figure 6 shows the poles are located inside the unit circle which elaborates that the signal is decaying and is evidently illustrated with the magnitude response (linear) of the filter (Kuo, Lee & Tian, 2013). Figure 10, consisting of both plots, show that the gain decreases as begins to decrease while sweeping at higher frequencies. In Table 1, the output voltage is 1.04 V for 250 Hz, but the onset of the decrease begins when the frequency increases hence the amplitude of waveform becomes smaller. The group delay indicates whether there will be phase distortions depending on the phase response of the signal. In this case, the phase response as illustrated in Figure 7 displays a small linear trend though, since it is not exactly linear, there will be some phase distortions in the signal. A linear phase response means no phase distortions are present while a non-linear phase response will cause the signal to have phase distortions. Conclusion The experiments use different equations in the construction of the sinusoidal signal and a pole-zero plots was used in making observations. The pole-zero shows two poles located on the unit circle depicting es that the signal is ‘marginally stable’ meaning that it maintains its stability throughout the experiment. Contrary, if the poles were located within the unit circle, the signal would change by beginning to decay as it is considered stable. If the poles were located outside circle, the signal would start increasing, which implies that the signal is unstable. The application of difference equations is significant due to the fact that IIR filters have an extended impulse response {h(n)} and the use of convolution for filtering the input signal is not recommended. Therefore, the difference equations are used to perform this operation. Also, the pole-zero plots are significant in the analysis of a signal with regards to the position of the poles by indicating whether the signal is stable or unstable Reference Kuo, S. M., Lee, B. H., & Tian, W. (2013). Real-time digital signal processing: Fundamentals, implementations and applications. Read More
Cite this document
  • APA
  • MLA
  • CHICAGO
(“Lab Report Essay Example | Topics and Well Written Essays - 1000 words”, n.d.)
Lab Report Essay Example | Topics and Well Written Essays - 1000 words. Retrieved from https://studentshare.org/engineering-and-construction/1694343-lab-report
(Lab Report Essay Example | Topics and Well Written Essays - 1000 Words)
Lab Report Essay Example | Topics and Well Written Essays - 1000 Words. https://studentshare.org/engineering-and-construction/1694343-lab-report.
“Lab Report Essay Example | Topics and Well Written Essays - 1000 Words”, n.d. https://studentshare.org/engineering-and-construction/1694343-lab-report.
  • Cited: 0 times

CHECK THESE SAMPLES OF LIR Filter for Single Sinusoid Generation

Design of a Bandpass Fir Digital Filter

The paper "Design of a Bandpass Fir Digital filter" discusses that generally, the band pass designed will only receive and process signals that are only within the specified limits.... The filter attenuates those that are not incorporated in the restriction.... This gave birth to the advanced digital filter design of today ( VolKenberg, 1987).... ObjectiveThe objectives of this project are:• To inter-grate low pass and high pass digital filters in a substrate known as a bandpass filter....
38 Pages (9500 words) Dissertation

Study of the Effect of Reverberation and Amplification on Sound Localization

The paper "Study of the Effect of Reverberation and Amplification on Sound Localization" is to investigate the contribution of adding reverberation on a listening environment to the abilities of normal-hearing and hearing-impaired listeners in localizing speech and non-speech signals.... ... ... ...
66 Pages (16500 words) Essay

Fire Protection, Vertical Transportation (Lifts) and Drainage Services

This study covers the health, safety and transportation measures and design aspects of the given commercial car park building.... These measures comply with the Health and Safety at Work act 1974 and the Factories Act 1961.... CIBSE Guide G, E, and D are used as a reference where necessary.... ....
19 Pages (4750 words) Case Study

Validation of Structured Light Plethysmography before and after a Bronchodilator Challenge

The paper "Validation of Structured Light Plethysmography before and after a Bronchodilator Challenge" highlights that volume spirometry cannot be used for children below the age of six years, the lung diffusion capacity does not directly measure the main cause of hypoxemia.... ... ... ... DTW, applied in time series analysis, is an algorithm used in measuring the similarities which exist between two temporal sequences with variations in either time or speed....
38 Pages (9500 words) Research Proposal

Light Background and Interferometry

Monochromatic light is light made of a single wavelength such as laser hence the word mono refers to one.... No light has a definite single frequency.... The author of the "Light Background and Interferometry" paper aims at providing background information concerning light....
26 Pages (6500 words) Coursework

The Difference between the Watt and Volt-Amp Measures for AC Electric Power

This case study "The Difference between the Watt and Volt-Amp Measures for AC Electric Power" presents the difference between the watt and volt-amp (VA) measures for AC electric power, and also concerning power factor.... In this part, there is a description of these terms.... ... ... ... After changing an analog value into a digital one, the outcome of 10-bit A/D conversion will be recorded in these two registers....
24 Pages (6000 words) Case Study

Speech Production

he source-filter model represents the model of speech production which is used frequently during speech processing (Kondoz 67; Neuburg and Bauer 90).... n speech processing, a model of speech production called the source-filter model is frequently employed (Neuburg and Bauer, 1986; Kondoz, 2004)....
59 Pages (14750 words) Literature review

Solar Powered Wanter Pump

In their study, created a boost converter that steps up the photovoltaic array's voltage to a value that can properly run a single-phase induction motor.... The authors utilized the LC-filter to eliminate the harmonics so as to obtain a pure sine wave that can be utilized directly to drive a pump system as well as a single-phase induction motor.... The experimental analysis conducted by [ HYPERLINK \l "KBR13" 1 ] offers a design of a solar water pumping system that is powered by PV panels and coupled with full-bridge SPWM inverter, centrifugal pump, LC filter, induction motor, and DC to DC Boost converter....
14 Pages (3500 words) Literature review
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.
Contact Us