12 views

Uploaded by Nima Mahmoudpour

122

- Tesina-adriamoya
- Static and Dynamic Analysis by ETABS
- MPD-600-ANP-10034-ENU
- Anundsen, Thorgeir.pdf
- Variance Fluctuations in Nonstationary t
- PMU for SmartPMU for Smart Grid
- Duration
- PSD to Statistically Equivalent Transient
- Comparison of Different Implementations of Mfcc
- Stethoscope Acoustics and Cervical Auscultation of Swallowing
- 2 Some Geometric Properties of Word Frequencies
- ECE 2001 Gate Question Papers
- MTS-LAB-1 (1)
- Allegato_110143
- FULLTEXT01.pdf
- Time Windows.pdf
- An Affective Engineering Study of Vibrational Cues and Affect
- PMA LMSC208 2 Complex Waves
- S02-3
- IJERA 109

You are on page 1of 4

IT (Hons) III

Practical Assignment

Dr. Ing. Victor Buttigieg Department of Communications and Computer Engineering, University of Malta

Objectives: To observe the effects of over-sampling, under-sampling and sample duration. Procedure: 1. Use Simulink to build the system shown in Figure 1. The sine wave generator is the signal under investigation. The pulse generator is used to sample the signal. The output of the pulse generator periodically varies between 0 and 1. When the output of the pulse generator is 1, a sample value is outputted from the product block and displayed on the Scope. 2. Set the frequency of the sine wave block to 1kHz, wit h amplitude 1, 0 phase and 0 sample time. A zero sample time indicates to Simulink that the output is continuous in time. 3. Set the amplitude of the pulse generator to 1; period 10 samples (choose a pulse type Sample-Based); pulse width 1 sample; phase dela y 0; Sample time 10 s. Therefore, the systems sampling frequency is 1/10 s = 100kHz. However, the sine wave is being sampled (by means of the pulse generator) at 100kHz/10 = 10kHz (every 10 system samples). 4. Set the parameters for both Averaging Power Spectral Density blocks to: Length of buffer 200; Number of points for fft 512; Plot after how many points 64; Sample time 10s. 5. Set the Save Format parameter of the To Workspace block to array and the variable

Sine Wave

Product

Scope

Figure 1

name to y. 6. Set the simulation stop time to 10ms (10 periods of the sine wave) and simulate the model. Observe the output on the Scope and the two Averaging Power Spectral Density blocks. 7. In order to determine better the frequency components at the output, this is saved in the Matlab variable y. Go to the Matlab window and type length(y) This gives the number of samples in y. Check to verify that the returned number makes sense. 8. Next, type the following commands in Matlab: stem(y,'b.-') title('Time plot') figure freq=fft(y); plot(abs(freq)) title('Frequency Spectrum') Two figures should be plotted, one a time plot (the sampled sine wave stored in y) and the other the magnitude frequency spectrum for y. The x-axis in the frequency spectrum curve should be interpreted as follows. If N is the number of samples in y, then N sampling frequency = 100kHz. Hence, a spectral line at a value of k on this plot represents the frequency (by simple proportion) k /N100kHz. Record the values of k for the spectral lines obtained in the Frequency Spectrum plot and calculate the corresponding values in Hz. Verify that these values agree with the sampling theorem. 9. Change the frequency of the sine wave in the Simulink model to 8kHz and repeat steps 6-8. Comment on the results obtained. 10. Change the frequency of the sine wave in the Simulink model back to 1kHz. In the Pulse Generator block set the pulse width to 4 samples. Repeat steps 6-8. Comment on the results obtained. 11. Increase the pulse width of the Pulse Generator to 6 samples. Can you note any difference in the frequency spectrum? 12. Using Simulink, build the model shown in Figure 2. 13. Set the frequency of the discrete time sine wave to 1kHz and the sampling frequency to 10kHz. 14. Set the frequency of the continuous time sine wave to 1kHz. Do not forget to set the sample time to zero.

Unsampled

Sine Wave

Figure 2 15. The continuous time filter shown in the model of Figure 2 is a Chebyshev low pass filter with the following parameters: Pass band cut-off frequency: Stop-band frequency: Pass band ripple: Attenuation at 5.5kHz: 5kHz 5.5kHz 1.5dB 80dB

The numerator polynomial b(s ) and the denominator polynomial a(s ) can be obtained by the following instructions: % Pass band cut-off frequency Wp = 2*pi*5e3; % Stop band frequency Ws = 2*pi*5.5e3; %Pass band ripple in dB Rp=1.5; %Attenuation at the stop band frequency (in dB) Rs=80; %Determine the order of the Chebyshev filter [n,Wn]=cheb1ord(Wp,Ws,Rp,Rs,'s'); %Determine the transfer function of the Chebyshev filter in a and b. [b,a]=cheby1(n,Rp,Wn,'s'); %Plot the response of the filter freqs(b,a);

Set the numerator and the denominator parameters for the Transfer Fcn block to b and a respectively. 16. Set the simulation stop time to 10ms and the relative tolerance to 10-6 . Both these parameters are set from the Simulation Parameters Dialog box and simulate the model. 17. Comment on the results obtained. 18. Change the frequencies of both sine wave blocks to 8kHz and repeat steps 16 and 17.

- Tesina-adriamoyaUploaded byAdria Moya Ortiz
- Static and Dynamic Analysis by ETABSUploaded byTommy Wan
- MPD-600-ANP-10034-ENUUploaded bybcqbao
- Anundsen, Thorgeir.pdfUploaded byInaya George
- Variance Fluctuations in Nonstationary tUploaded byHeather Dea Jennings
- PMU for SmartPMU for Smart GridUploaded bymajorhasan
- DurationUploaded byGunda Vijay
- PSD to Statistically Equivalent TransientUploaded byDasaka Brahmendra
- Comparison of Different Implementations of MfccUploaded bynyuuster
- Stethoscope Acoustics and Cervical Auscultation of SwallowingUploaded byAnonymous xvlg4m5xLX
- 2 Some Geometric Properties of Word FrequenciesUploaded byKen Matsuda
- ECE 2001 Gate Question PapersUploaded byvipulsapra
- MTS-LAB-1 (1)Uploaded bypredescu_404246525
- Allegato_110143Uploaded byFábio Goedel
- FULLTEXT01.pdfUploaded bym810402d
- Time Windows.pdfUploaded bysebastian nasi
- An Affective Engineering Study of Vibrational Cues and AffectUploaded bykabuking
- PMA LMSC208 2 Complex WavesUploaded byAnonymous nmdNb0Be1
- S02-3Uploaded byresistanceisfutile
- IJERA 109Uploaded byBajrang Gupta
- EC31008 Digital Signal ProcessingUploaded byIndranil
- Comparison for Speech Coding AlgorithmsUploaded byGlobal Research and Development Services
- Detection of Wheezes Using a Wearable Distributed Array of MicrophonesUploaded byHuayun Zhou
- e25m1Uploaded byali_isa_3
- dcUploaded byvnandha1993
- AttachmentUploaded byBrindhaRaghavan
- 50_License Plate Localization Using a Statistical Analysis of Discrete Fourier Transform SignalUploaded byTuyến Đinh
- Performance 2Uploaded bymateo3202
- SigQC BearingUploaded bypavlestepanic9932
- Complete Reference to Informatica_ FILTER TRANSFORMATIONUploaded byHrtithikJainKim

- AFCIsComeOfAgeUploaded byNima Mahmoudpour
- RestrictedEarthFault ApplicationGuide en eUploaded byNima Mahmoudpour
- 08 ELC4340 Spring13 Transmission LinesUploaded byNima Mahmoudpour
- power analysisUploaded byNima Mahmoudpour
- dc offsetUploaded byBassem Mostafa
- 02 MSS Final ElectricalUploaded byNima Mahmoudpour
- dlp3man-aUploaded byNima Mahmoudpour
- CHAPTER 9 POWER SUPPLY FOR TRACTION Para No.pdfUploaded byNima Mahmoudpour
- electric traction in railwaysUploaded byAkshay Singh
- CHAPTER 5 POWER SUPPLY FOR TRACTION Para No.pdfUploaded byNima Mahmoudpour
- Traction substation _ Magus.pdfUploaded byNima Mahmoudpour
- EPE_2013102217051879.pdfUploaded byNima Mahmoudpour
- 34 21 80Uploaded byjkhgvdj mnhsnjkhg
- 7ST6_PI_76Uploaded byNima Mahmoudpour
- P841_en_1836bUploaded byNima Mahmoudpour
- Railway Unbalance Eng PolandUploaded bybisas_rishi
- 00_masterUploaded byNima Mahmoudpour
- Copper Cable Troubleshooting.par.56115.FileUploaded byDragota Cristinel
- 132kv Cont.& Rel. Panel SpecsUploaded bylassasa
- Short circuit level reductionUploaded byNima Mahmoudpour
- QUploaded byLauren Norris
- 1MRK505005-BEN a en Breaker-Failure Protection RAICAUploaded bys_banerjee
- NIMAMP A NEW ATP ADD-ON FOR MODELING INTERNAL FAULTS IN POWER TRANSFORMERSUploaded byNima Mahmoudpour
- Hy Drs-la413 Cbf-Description 1 EnUploaded byNima Mahmoudpour
- Zambian Grid CodeUploaded byNima Mahmoudpour
- SymmetricalComponents_2013Uploaded byorengin1
- 1MRK580016-BEN en DLD Dead Line DetectionUploaded byNima Mahmoudpour
- Earthing Distribution SubstationUploaded byJayadevDamodaran

- Week04_Multiple Roots&Nonlinear EquationsUploaded byMXR-3
- Answers to Exercise Chapter 1-4 math 4Uploaded byZulhelmie Zaki
- r05310404 Digital CommunicationsUploaded bySRINIVASA RAO GANTA
- Plast1Uploaded byAli Samani
- Single Layer Perceptron Learning Algorithm and Flowchart of the Program and the Code of the Program in CUploaded bySuchita Gupta
- Matlab Levenberg M.Uploaded byelmayi385
- Enhanced Encryption MethodsUploaded byJournal of Computing
- DSP and Microprocessor 1.pdfUploaded byshyam_krishnan_16
- Unit 5 Cp7004 Question BankUploaded bysenthamil
- GoemansWilliamson-1995-AGeneralApproximationTechniqueForConstrainedForestProblemsUploaded byGregory Schwartzman
- Lecture-34.pdfUploaded byVishal143ds
- Filter Bank Energy Based Malayalam Speech Segmentation and RecognitionUploaded byAI Coordinator - CSC Journals
- Cs 473 2014 Fall SyllabusUploaded byHannaLane
- DSP Final Project digital signal proccessingUploaded byKhalaf Batiha
- The Best of the Machine Learning Algorithms Used in Artificial IntelligenceUploaded byIndrasen Poola
- Bag of Words PptUploaded byjude
- Fit 1Uploaded byArabela NC
- FR200Uploaded byTrupti Nandikolmath
- A5-sineModeloUploaded byjcvoscrib
- Second-Order Statistics Driven LMS Blind Fractionally Spaced Channel EqualizationUploaded byashutosh199625
- a8 SolutionUploaded byMadhu Meghana
- Random ForestUploaded by김원희
- mechani-informatics-6thUploaded byvanopi
- Ch07 Trans AssignmentUploaded bythemoonzone
- CH03_5C_4Uploaded byFaisal Rahman
- ec6501 - notes - rejinpaul.pdfUploaded byraghuram
- A Fast Clustering-Based Feature Subset Selection Algorithm for High Dimensional DataUploaded byAbdul Rehaan
- 10.1.1.107Uploaded byAmol Bengiri
- Computer Graphics (Slides)Uploaded bysuncars
- ADA_ManualUploaded byMadhu Sudhan