Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Fm modulation and demodulation matlab code

23/10/2021 Client: muhammad11 Deadline: 2 Day

Matlab

Content:

Amplitude Modulation and Demodulation

Frequency Modulation and Demodulation

Sampling and Reconstruction of Lowpass Signals

Generation PCM Signals

Delta Modulation

Amplitude Modulation and Demodulation :

In our MATLAB program we generate the AM signal with the modulation index of μ=1, By using the message signal m1(t)

MATLAB code ExampleAMdemfilt.m generates the message signal, the corresponding AM signal, the rectified signal in noncoherent demodulation, and the rectified signal after passing through a low-pass filter

The lowpass filter at the demodulator has bandwidth of 150 Hz.

Amplitude Modulation and Demodulation : (Cont.)

Notice the large impulse in the frequency domain of the AM signal

No ideal impulse is possible because the window of time is limited, and only very large spikes cantered at the carrier frequency of ±300 Hz are visible.

In addition, the message signal bandwidth is not strictly band-limited.

The relatively low carrier frequency of 300 Hz forces the LPF at the demodulator to truncate some message components in the demodulator

Amplitude Modulation and Demodulation : (Cont.)

Distortion near the sharp comers of the recovered signal is visible.

Note: triangl is the function (triangl.m file) used in the MATLAB code, Please make sure that the function is save in the relevant path for access(where you save your MATLAB code)

FM modulation and demodulation:

In telecommunications and signal processing, frequency modulation (FM) is the encoding of information in a carrier wave by varying the instantaneous frequency of the wave.

This contrasts with amplitude modulation, in which the amplitude of the carrier wave varies, while the frequency remains constant.

The FM coefficient is kf = 80 and the PM coefficient is kp = π. The carrier frequency remains 300 Hz.

FM modulation and demodulation: (Cont.)

The frequency domain responses will have higher bandwidths of the FM and PM signals when compared with amplitude modulations.

Note: triangl is the function(triangl.m file) used in the MATLAB code, Please make sure that the function is save in the relevant path for access(where you save your MATLAB code)

FM modulation and demodulation: (Cont.)

Upon applying the rectifier for envelop detection, we see that the message signal follow closely to the envelope variation of the rectifier output.

Finally, the rectifier output signal is passed through a low—pass filter with bandwidth 100 Hz. We used the finite impulse response low—pass filter of order 80 this time because of the tighter filter constraint in this example.

The FM detector output is then compared with the original message signal.

FM modulation and demodulation: (Cont.)

The FM demodulation results clearly show some noticeable distortions.

First, the higher order low-pass filter has a much longer response time and delay.

Second, the distortion during the negative half of the message is more severe because the rectifier generates very few cycles of the half—sinusoid.

FM modulation and demodulation: (Cont.)

This happens because when the message signal is negative, the instantaneous frequency of the FM signal is low.

Because we used a carrier frequency of only 300 Hz, the effect of low instantaneous frequency is much more pronounced.

If a practical carrier frequency of 100 MHz were applied, this kind of distortion would be completely negligible.

FM modulation and demodulation: (Cont.)

Practical frequency Demodulator:

The differentiator is only way to convert frequency variation of FM signals into amplitude variation that subsequently can be detected by means of envelope detectors.

Zero- crossing detectors are also used because of advance in digital integrated circuits.

First step is to use the amplitude limiter to generate the rectangular pulse output

The resulting rectangular pulse train of varying width can then be applied to trigger a digital counter.

These are the frequency counter designed to measure the instantaneous frequency from the number of zero crossing

The rate of zero crossing is equal to the instantaneous frequency of the input signal.

Sampling and Reconstruction of Lowpass Signals:

In the sampling example, we first construct a signal g(t) with two sinusoidal components of 1 second duration; their frequencies are 1 and 3 Hz.

Note, however, that when the signal duration is infinite, the bandwidth of g(t) would be 3 Hz.

However, the finite duration of the signal implies that the actual signal is not bandwidth-limited, although most of the signal content stays within a bandwidth of 5 Hz. For this reason, we select a sampling frequency of 50 Hz, much higher than the minimum Nyquist frequency of 6 Hz.

Sampling and Reconstruction of Lowpass Signals:

The MATLAB program, Example .m, implements sampling and signal reconstruction.

The spectrum of the sampled Signal gT(t) consists of the original signal spectrum periodically repeated every 50 Hz.

NOTE: sampandquant and uniquant are function(sampandquant.m and uniquant.m file) used in the MATLAB code, Please make sure that the function is save in the relevant path for access(where you save your MATLAB code)

Sampling and Reconstruction of Lowpass Signals:

Where:

Source or input signal:

sig_in = incoming signal

L =Quantization level (16 bits encoding)

td= original sampling rate

ts= new sampling rate

s_out= sampled signal

sq_out= up sampling (gives the original sampling info)

sqh_out= results 16 bit encoding by creating matrix

Sampling and Reconstruction of Lowpass Signals:

Nonideal Practical Sampling Analysis:

Thus far, we have mainly focused on ideal uniform sampling that can use an ideal impulse sampling pulse train to precisely extract the signal value g(kTS) at the precise instant of t = kTs.

In practice, no physical device can carry out such a task.

Consequently, we need to consider the more practical implementation of sampling.

This analysis is important to the better understanding of errors that typically occur during practical A/D conversion and their effects on signal reconstruction

Sampling and Reconstruction of Lowpass Signals: (Cont.)

Practical samplers take each signal sample over a short time interval Tp around t = kTs In other words, every Ts seconds, the sampling device takes a short snapshot of duration Tp from the signal g(t) being sampled.

This is just like taking a sequence of still photographs of a sprinter during an 100-meter Olympic race.

Much like a regular camera that generates a still picture by averaging the picture scene over the window Tp.

Generation PCM Signals:

The function sampandquant.m executes both sampling and uniform quantization simultaneously.

The sampling period ts is needed, along with the number L of quantization levels.

To generate the sampled output s_out, the sampled and quantized output sq_out, and the signal after sampling, quantizing, and zero-order-hold sqh_out.

Generation PCM Signals: (Cont.)

In the first example, we maintain the 50 Hz sampling frequency and utilize L = 16 uniform quantization levels.

The results the PCM Signal. This PCM signal can be low-pass-filtered at the receiver and compared against the original message signal .

The recovered signal is seen to be very close to the original signal g(t).

Generation PCM Signals: (Cont.)

To illustrate the effect of quantization, we next apply L = 4 PCM quantization levels.

It is very clear that smaller number of quantization levels (L = 4) leads to much larger approximation error

Delta Modulation:

Sample correlation used in DPCM is further exploited in delta modulation (DM) by oversampling (typically four times the Nyquist rate) the baseband signal.

This increases the correlation between adjacent samples, which results in a small prediction error that can be encoded using only one bit.

In comparison to PCM and DPCM, it is a very simple and inexpensive method of A/D conversion

Delta Modulation: (Cont.)

A 1-bit codeword in DM makes word framing unnecessary at the transmitter and the receiver.

This strategy allows us to use fewer bits per sample for encoding a baseband signal.

To illustrate the effect of DM, the resulting signals from the DM encoder.

This example clearly shows that when the step size is too small (Δ1), there is a severe overloading effect as the original signal varies so fast that the small step size is unable to catch up.

Delta Modulation: (Cont.)

Doubling the DM step size clearly solves the overloading problem in this example.

However, quadrupling the step size (Δ3) would lead to unnecessarily large quantization error.

This example thus confirms our earlier analysis that a careful selection of the DM step size is critical.

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Math Specialist
Phd Writer
Engineering Mentor
Top Quality Assignments
Financial Hub
Coursework Assignment Help
Writer Writer Name Offer Chat
Math Specialist

ONLINE

Math Specialist

I will provide you with the well organized and well research papers from different primary and secondary sources will write the content that will support your points.

$38 Chat With Writer
Phd Writer

ONLINE

Phd Writer

I am an academic and research writer with having an MBA degree in business and finance. I have written many business reports on several topics and am well aware of all academic referencing styles.

$18 Chat With Writer
Engineering Mentor

ONLINE

Engineering Mentor

I have done dissertations, thesis, reports related to these topics, and I cover all the CHAPTERS accordingly and provide proper updates on the project.

$29 Chat With Writer
Top Quality Assignments

ONLINE

Top Quality Assignments

As per my knowledge I can assist you in writing a perfect Planning, Marketing Research, Business Pitches, Business Proposals, Business Feasibility Reports and Content within your given deadline and budget.

$18 Chat With Writer
Financial Hub

ONLINE

Financial Hub

I am an experienced researcher here with master education. After reading your posting, I feel, you need an expert research writer to complete your project.Thank You

$28 Chat With Writer
Coursework Assignment Help

ONLINE

Coursework Assignment Help

I am a professional and experienced writer and I have written research reports, proposals, essays, thesis and dissertations on a variety of topics.

$47 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Girl scout cookie club - THE STATE JUDICIAL SELECTION AND REMOVAL PROCESS - Apa homework format - Word - Chapter 4 - Using Tables, Columns, and Graphics - 17.2 sales and property taxes homework answers - Carrick neill golf club members insurance - Spelling connections grade 7 answer key - Wordsworth graphic organizer b - Which is taller space needle or eiffel tower - Golf ball survey - 8.2 4.5 lab answers - Carnegie mellon summer internship - Scholarly Research Article Review - Boeing 787 supply chain - LITERATURE - Regent sports and social club - Amanda todd summary - Psychoanalysis was a therapy technique designed by - Statement of Purpose (Masters in Computer Sciences) - Transition to Graduate Study - Caltex automotive diesel fuel sds - Describe and evaluate what pfizer is doing - Le petit chaperon rouge charles perrault pdf - Osim urelax price singapore - Capstone simulation tips - Construction training institute helensvale - Case Study - My “Why” - St john dress 14 - We shall fight on the beaches techniques - The famous leaning tower of pisa was originally - Why was ruth upset when walter gave travis the money - Advantages of aseptic packaging - They shall beat their swords into plowshares united nations - Amadeus net flight timetables - Nursing - Bbc schools touch typing level 1 - Data warehouse solutions comparison - Environmental science journal the consequences of unsustainability in the lorax - The sociopath next door free - Presented here are the components in casilla company's income statement - Health Care Field Research Draft - Marinco plug wiring instructions - Ambeys big apple ed square - Human Resource Management - INDIA +91 9924492424 love problem solution baba ji in Delhi - Implementing the nist cybersecurity framework using cobit 2019 pdf - A formalized report that summarizes your current financial situation - Compensable factors and defined degrees - Capella university marriage and family therapy - How to find north pole of ring magnet - Meridian 1 option 11c - 1/9 molong avenue highett - Http mondeca com index php en any place en - What is swot analysis when applied to healthcare organizations - Hobbes and Locke as liberal thinkers - Patient Preferences and Decision Making - Assignment - Gen 201 week 2 homework answer key - Chemical reaction that produces gas - Business Strategy And Project Viability Of Bubble Tea Start Up In Birmingham, UK - Sir gawain and the green knight marie borroff pdf - Bathroom floor slope to drain in australia - Name three meals of the day - Bioline aust pty ltd - Menelik ii of ethiopia on imperialism worksheet answers - What makes 100 points of id nsw - Charter hall direct office fund unit price - 2016 hsc business studies - The saunders investment bank has the following financing outstanding - 10 axioms of vector space - Spss decision tree interpretation - Before and after process improvement ppt - Leccion 8 contextos activities answers - Examples of centripetal and centrifugal forces - Imagery in macbeth act 4 - Against the clock spelling game - ?same-day +27833173182 maseru ABORTION CLINIC // PILLS,,,, - Writing Exercise - Wgu c229 social marketing interventions - Uber analysis pdf - Essay - Goring and woodcote medical practice - Assignment 1 network infrastructure design diagramming - +971561686603 Abortion pills in Dubai/Abu Dhabi-mifepristone & misoprostol in DUBAI - S epidermidis kirby bauer test results - All or none law - How to draw a pond ecosystem - Propose a nursing informatics project for your organization - How to square decimals - Entity relationship diagram multivalued attribute - Bupa preferred provider application - Farewell to manzanar important quotes - Shadow health focused exam cough objective - Cathedral ranges wells cave - How many ml are in 64 oz - Topographic map reading practice worksheet answer key - The median cubital vein is located in the ________ space - The following balances were taken from the books of alonzo corp. on december 31, 2017. - Amoeba sisters microscopes worksheet