210 views

Uploaded by Ganesh_Kailas_8696

Attribution Non-Commercial (BY-NC)

- Fm Transmitter
- Frequency Modulation Simulation Using Matlab
- Frequency Modulation Lecture Notes
- pioneer_vsx-521_821_921-k_sm
- PLL & DLL DESIGN IN SIMULINK MATLAB
- analysis of Frequency Modulation (FM) Transmitter and Receiver
- modsim 2
- Matlab Copy (1)
- FT920 - manual
- Ece Board Exam Awareness
- Assignment 1 - E1400440 PRINT New
- Radio Receiver
- lec8
- Black Friday Deals : BaoFeng *UV-5R Plus* UV 5R+ Dual-Band 136-174/400-480 MHz FM Ham Two-wayRadio, More Stubborn Case, More Rich and Enhanced Features (2013 the LatestVersion) &Cyber Monday
- Loop Vehicle Detection
- Watkins Johnson Receivers
- Gw Instek SFG 2000 Series User Manual
- Base Station Height
- TK-2160 Service Manual (2003) B51-8652-00(S)1214
- FM

You are on page 1of 4

Jenna Rock

figure(2); plot(w,Mmag); axis ([-10000 10000 0 2]); title (Narrow Band FM - B=1'); xlabel ('Frequency (Hz)'); ylabel ('Magnitude')

AbstractThis goal in completing this project is to build an understanding of frequency modulation, demodulation and noise effects.

I. INTRODUCTION

HE purpose of this lab is to use and characterize Frequency Modulation using Matlab and Simulink. In addition to this the effects of noise will be observed.

II. THE FIVE QUESTIONS The following sections will discuss what was done for each part and the code needed to graph the function. Following that, the graph itself will be looked at. A. Frequency Modulation in Matlab For this first part of the lab frequency modulation is what is being demonstrated. Different betas will be chosen in order to show Narrow band FM, Wideband FM, and no carrier. Here is the MATLAB code that fulfilled the requirements. Ac = 10; fc = 5000; Am1 = 5; fm = 1000; fs = 10 * fc; ts = 1/fs; t = 0:ts:1-ts; %Narrow Band FM B = 1.0; m = Am1 * sin(2*pi*fc*t+B*sin(2*pi*fm*t)); c = Ac * sin(2*pi*fc*t); s = m.* c; figure(1); plot (t, m); axis ([0 0.00250 -10 10]); title ('Message Signal Narrow Band FM'); xlabel ('Time (s)'); ylabel ('Magnitude') %% Frequency Spectrum of M(f) and S(f)for Narrow Band FM Figure 2: Narrow Band FM - B=1 N=4096; Mmag = abs(fftshift(fft(m,N)))/N; w = fs * [-N/2+1:N/2]/N; %% Wide Band FM B=5; m = Am1 * sin(2*pi*fc*t+B*sin(2*pi*fm*t)) ; Figure 1: Message Signal - Narrow Band FM

Frequency Modulation/Demodulation figure(3); plot (t, m); axis ([0 0.00250 -10 10]); title ('Message Signal Wide Band FM'); xlabel ('Time (s)'); ylabel ('Magnitude') %% Frequency Spectrum of M(f) for Wide Band FM N=4096; Mmag = abs(fftshift(fft(m,N)))/N; w = fs * [-N/2+1:N/2]/N; figure(4); plot(w,Mmag); axis ([-15000 15000 0 2]); title ('Wide Band FM - B=5'); xlabel ('Frequency (Hz)'); ylabel ('Magnitude')

2 m = Am1 * sin(2*pi*fc*t+B*sin(2*pi*fm*t)) ; figure(5); plot (t, m); axis ([0 0.00250 -10 10]); title ('Message Signal No Carrier'); xlabel ('Time (s)'); ylabel ('Magnitude') N=4096; Mmag = abs(fftshift(fft(m,N)))/N; w = fs * [-N/2+1:N/2]/N; figure(6); plot(w,Mmag); axis ([-6000 6000 0 2]); title ('Figure 6: No Carrier - B=0'); xlabel ('Frequency (Hz)'); ylabel ('Magnitude')

Figure 6: No Carrier - B=0 For this first part the code is provided for the solution. The figures for each section of code have been put after each section. As can be seen there were three sections, the

Frequency Modulation/Demodulation narrow band FM, wide band FM, and the no carrier. All of these sections were the same, except that the beta was change to achieve the various FM types. Also the figures were labeled differently. B. Frequency Modulation and Demodulation in Simulink For the second part of the lab Frequency Modulation will be demonstrated as well as how to demodulate is. Here is the Simulink model that fulfilled the requirements. Figure 10: Output from Scope1

C. Noise This part of the lab will show the effect of noise in frequency modulation. This will be shown in both Matlab and Simulink. Here is the MATLAB code that fulfilled the requirements. % Noise signal fs = 10000; ts = 1/fs; t = 0:ts:1-ts; nt = rand([1,10000]); timePlot = figure; plot (t,nt); title('Noise Signal - Time Domain'); xlabel('Time (s)'); ylabel('Amplitude'); grid % Plot of noise signal in Frequency Domain [Nf,NfRange] = centeredFFT(nt,fs); freqPlot = figure; stem(NfRange,Nf); title('Noise Signal - 2 Sided Spectrum') xlabel('Freq (Hz)'); ylabel('Amplitude'); grid; pause Figure 8: Output from Scope2 % Plot of autocorrelation of n(t) Rxx=xcorr(nt); ACorrPlot = figure; plot(Rxx); title('Autocorrelation Function of n(t)'); xlabel('time shift - lags'); ylabel('Autocorrelation'); grid;

Figure 7: Frequency Modulation and Demodulation The message and the dc offset were added together then were sent through a voltage controlled oscillator (VCO). At the end of the VCO the modulated signal was then put through a slope detector. The graphs produced by this Simulink block can be seen in Figure 8, Figure 9 and Figure 10.

Frequency Modulation/Demodulation

Figure 11: Autocorrelation in Time Domain Here is the block diagram that fulfills the requirements for the Simulink part of noise.

III. CONCLUSION Looking back at the completion of this MATLAB project, it would need to be said that there is a lot more to be learned about Frequency Modulation than one lab can provide. This lab showed that only a very basic understanding of FM has been grasped. The lab was complete but not without great difficulty. If someone really wants to learn about FM much more time needs to be spent. However, this lab did fulfill its purpose in that FM modulation and demodulation was demonstrated. Also the effects of noise were observed. REFERENCES

[1] J. Santiago, Lab 3 Frequency Modulation/Demodulation and Noise handout.

Figure 12: Noise Effects in Simulink The message is added first with a dc offset. Following this the resultant signal has added to it noise. After this the signal plus noise is sent through a VCO and then a low pass filter or slope detector. The graphs produced by this Simulink block can be seen in Figure 13, Figure 14, and Figure 15.

- Fm TransmitterUploaded byMuhammad Mujtaba
- Frequency Modulation Simulation Using MatlabUploaded byvsb004
- Frequency Modulation Lecture NotesUploaded byKaushik Patnaik
- pioneer_vsx-521_821_921-k_smUploaded byBinh Nguyen
- PLL & DLL DESIGN IN SIMULINK MATLABUploaded byKartik Pal
- analysis of Frequency Modulation (FM) Transmitter and ReceiverUploaded bySandeep Pandey
- modsim 2Uploaded byAziz London
- Matlab Copy (1)Uploaded byMohamed Rias
- FT920 - manualUploaded byClaudio A. Guolo
- Ece Board Exam AwarenessUploaded bylacalarvin
- Assignment 1 - E1400440 PRINT NewUploaded byDeva Dwi
- Radio ReceiverUploaded byChris Jomarie Obra
- lec8Uploaded bySharath Munduri
- Black Friday Deals : BaoFeng *UV-5R Plus* UV 5R+ Dual-Band 136-174/400-480 MHz FM Ham Two-wayRadio, More Stubborn Case, More Rich and Enhanced Features (2013 the LatestVersion) &Cyber MondayUploaded byautoint
- Loop Vehicle DetectionUploaded bythien71cdd06
- Watkins Johnson ReceiversUploaded byemulador05
- Gw Instek SFG 2000 Series User ManualUploaded byKevin PF
- Base Station HeightUploaded byMohammed Alhumadi
- TK-2160 Service Manual (2003) B51-8652-00(S)1214Uploaded byesitaru
- FMUploaded bypradeepgv16
- 13986_00_vesda_us_power_supply_120_vac_tds_lores.pdfUploaded byEkoFujisyahMaulwanto
- ECE203_MODULATION-TECHNIQUES_ETH_1.20_AC29.pdfUploaded byRanjith Kumar
- Design, Analysis and Implementation of DLL Clock GeneratorUploaded byIJSTE
- AN5151Uploaded byHernan Ortiz Enamorado
- Lecture 8Uploaded bytdk
- EC05032!Notes-32.pdfUploaded byhimeshemraan
- 4th Semester SyllabusUploaded bysindhu Hot
- DETECTOR DE FALLASUploaded byDamita de Peña
- Automated Innovative WheelchairUploaded byijitcs
- Refer 1 MSc App Electronics Syllabu 2011-13Uploaded byelamaran_vlsi

- aconis2000eUploaded bytranquangluong86
- JitterUploaded byVijay Shankar Pandey
- ALC PDH RADIO Technical Training Siae MiUploaded byJesús Zavala
- 50-proddoc-201097Uploaded byDavis Medeiros
- p071-zhou.pdfUploaded byDhitos Mbombok
- Opent TutorialUploaded bySalman Khan
- Bria 2.4 Windows User Guide R2Uploaded bysafariore
- 193440315-UM-SM-B1-V26Uploaded byNguyễn Công Cường
- raisecom-rc551-ge-user_manual.pdfUploaded byown mine
- Manu Main Project Dish TVUploaded byAditya Salgotra
- 2015-annual-report.pdfUploaded byJordan Neal
- NetecoUploaded byMN Titas Titas
- RF Coverage and CapacityUploaded byMoayed Yagout
- InstructionsUploaded byyo yo
- IP_POWER_9258S_Manual.pdfUploaded bycristicoman
- EIT IDC Routers SwitchesUploaded bylalvith04
- 13 14 MJI_Perencanaan Jaringan SelulerUploaded byHarie Satria
- 443 skinplexUploaded byVinay Reddy
- Example of a GSM RXUploaded byAbu_O
- VPN Concentrator Deployment GuideUploaded byMichael O'Connell
- 901325_chapter 10Uploaded byMiiMo L'égyptien
- Mobile Computing Unit2 P2Uploaded byChandrashekhar M Mankar
- Adc Nano BtsUploaded byuynguyen1973
- TelLink E1 TableUploaded byjvofiana
- RF-MixerUploaded by강성인
- NanoStation_M_Loco_M_multilingual_QSG.pdfUploaded byDarwin Buenaventura
- PT SBA KKTMUploaded byhazwan
- 501 LTE Long Term EvolutionUploaded byHendra Kurniawan
- PASL MANUAL MDP Equipment Description(English 060308)Uploaded byEmy Zaninka
- FMS UpdateUploaded bysampathraja