# 5.1 Lab 5: ctft and its applications  (Page 4/4)

 Page 4 / 4

## Amplitude modulation

In this section, we examine amplitude modulation and demodulation applications. For transmission purposes, signals are often modulated with a high-frequency carrier. A typical amplitude modulated signal can be described by

$x\left(t\right)={x}_{m}\left(t\right)\text{cos}\left({2\pi f}_{c}t\right)$

where ${x}_{m}\left(t\right)$ is called the message waveform, which contains the data of interest, and ${f}_{c}$ is the carrier wave frequency. Using the fact that

$\text{cos}\left({2\pi f}_{c}t\right)=\frac{1}{2}\left({e}^{{2\pi f}_{c}t}+{e}^{-{2\pi f}_{c}t}\right)=\frac{1}{2}\left({e}^{{\omega }_{c}t}+{e}^{-{\omega }_{c}t}\right)$

and the frequency shift property of CTFT, one can easily derive the CTFT ofto be

$X\left(\omega \right)=\frac{1}{2}\left({X}_{m}\left(\omega -{\omega }_{c}\right)+{X}_{m}\left(\omega +{\omega }_{c}\right)\right)$

At the receiver, some noisy version of this transmitted signal is received. The signal information resides in the envelope of the modulated signal, and thus an envelope detector can be used to recover the message signal.

[link] shows the completed block diagram of the amplitude modulation and demodulation system. In this example, use the combination of two sine waves to serve as a message signal. The signal is modulated with a high-frequency carrier, and some random noise is added. The frequency domain versions of the signals can also be observed using the function fft . As stated in Equation (3), the CTFT of the modulated signal is merely some frequency-shifted version of the original signal. In single sideband (SSB) modulation, only one side of the spectrum is transmitted due to symmetry. That is, just one side of the spectrum is taken and converted into a time signal using the function ifft .

[link] shows the completed front panel of this system. The Message signal, Modulated signal, Received signal (modulated signal with additional noise) and Demodulated signal are displayed in four waveform graphs in both the time and frequency domains.

## Lab exercises

Circuit Analysis

Find and plot the frequency response (both magnitude and phase spectrum) of each of the circuits shown in [link] . Set the values of R, L and C as controls.

Insert Solution Text Here

Morse Coding

Consider a message containing some hidden information. Furthermore, to make it interesting, suppose the message contains a name. Assume that the message was coded using the amplitude modulation scheme as follows [link] :

$x\left(t\right)={x}_{\mathrm{m1}}\left(t\right)\text{cos}\left({2\pi f}_{1}t\right)+{x}_{\mathrm{m2}}\left(t\right)\text{cos}\left({2\pi f}_{2}t\right)+{x}_{\mathrm{m3}}\left(t\right)\text{cos}\left({2\pi f}_{3}t\right)$

where ${x}_{\mathrm{m1}}\left(t\right),{x}_{\mathrm{m2}}\left(t\right)$ and ${x}_{\mathrm{m3}}\left(t\right)$ are the (message) signals containing the three letters of the name. More specifically, each of the signals, ${x}_{\mathrm{m1}}\left(t\right),{x}_{\mathrm{m2}}\left(t\right)$ and ${x}_{\mathrm{m3}}\left(t\right)$ , corresponds to a single letter of the alphabet. These letters are encoded using the International Morse Code as indicated below :

$\begin{array}{ccccccccccc}A& \text{.}-& & H& \text{.}\text{.}\text{.}\text{.}& & O& ---& & V& \text{.}\text{.}\text{.}-\\ B& -\text{.}\text{.}\text{.}& & I& \text{.}\text{.}& & P& \text{.}--\text{.}& & W& \text{.}--\\ C& -\text{.}-\text{.}& & J& \text{.}---& & Q& --\text{.}-& & X& -\text{.}\text{.}-\\ D& -\text{.}\text{.}& & K& -\text{.}-& & R& \text{.}-\text{.}& & Y& -\text{.}--\\ E& \text{.}& & L& \text{.}-\text{.}\text{.}& & S& \text{.}\text{.}\text{.}& & Z& --\text{.}\text{.}\\ F& \text{.}\text{.}-\text{.}& & M& --& & T& -& & & \\ G& --\text{.}& & N& -\text{.}& & U& \text{.}\text{.}-& & & \end{array}$

Now to encode the letter A, one needs only a dot followed by a dash. That is, only two prototype signals are needed – one to represent the dash and one to represent the dot. Thus, for instance, to represent the letter A, set ${x}_{\mathrm{m1}}\left(t\right)=d\left(t\right)+\text{dash}\left(t\right)$ , where $d\left(t\right)$ represents the dot signal and $\text{dash}\left(t\right)$ the dash signal. Similarly, to represent the letter O, set ${x}_{\mathrm{m1}}\left(t\right)=3\text{dash}\left(t\right)$ .

Find the prototype signals $d\left(t\right)$ and $\text{dash}\left(t\right)$ in the file morse.mat on the book website. After loading the file morse.mat

>>load morse

the signals $d\left(t\right)$ and $\text{dash}\left(t\right)$ can be located in the vectors dot and dash, respectively. The hidden signal, which is encoded, per Equation (4), containing the letters of the name, is in the vector $\text{xt}$ Let the three modulation frequencies ${f}_{1},{f}_{2}$ and ${f}_{3}$ be 20, 40 and 80 Hz, respectively.

• Using the amplitude modulation property of the CTFT, determine the three possible letters and the hidden name. (Hint: Plot the CTFT of $\text{xt}$ Use the values of $T$ and $\tau \text{au}$ contained in the file.)

• Explain the strategy used to decode the message. Is the coding technique ambiguous? That is, is there a one-to-one mapping between the message waveforms ( ${x}_{\mathrm{m1}}\left(t\right),{x}_{\mathrm{m2}}\left(t\right),{x}_{\mathrm{m3}}\left(t\right)\right)$ ) and the alphabet letters? Or can you find multiple letters that correspond to the same message waveform?

Insert Solution Text Here

Doppler Effect

The Doppler effect phenomenon was covered in a previous chapter. In this exercise, let us examine the Doppler effect with a real sound wave rather than a periodic signal. The wave file firetrucksiren.wav on the book website contains a firetruck siren. Read the file using the LabVIEW MathScript function wavread and produce its upscale and downscale versions. Show the waves in the time and frequency domains (find the CTFT). Furthermore, play the sounds using the LabVIEW function Play Waveform . [link] shows a typical front panel for this system.

Insert Solution Text Here

Diffraction of Light

The diffraction of light can be described as a Fourier transform [link] . Consider an opaque screen with a small slit being illuminated by a normally incident uniform light wave, as shown in [link] .

Considering that $d\text{>>}{\mathrm{\pi l}}_{{1}^{2}}/\lambda$ provides a good approximation for any ${l}_{1}$ in the slit, the electric field strength of the light striking the viewing screen can be expressed as [link]

${E}_{0}\left({l}_{0}\right)=K\frac{{e}^{j\left(2\pi d/\lambda \right)}}{\mathrm{j\lambda d}}{e}^{j\left(\pi /\mathrm{\lambda d}\right){l}_{{0}^{2}}}\underset{-\infty }{\overset{\infty }{\int }}{E}_{1}\left({l}_{1}\right){e}^{-j\left(2\pi /\mathrm{\lambda d}\right){l}_{0}{l}_{1}}{\text{dl}}_{1}$

where

${E}_{1}$ = field strength at diffraction screen

${E}_{0}$ = field strength at viewing screen

$K$ = constant of proportionality

$\lambda$ = wavelength of light

The above integral is in fact Fourier transformation in a different notation. One can write the field strength at the viewing screen as [link]

$\begin{array}{}\left(t\right)\\ {E}_{1}{}_{f\to {l}_{0}/\mathrm{\lambda d}}\\ \\ {E}_{0}\left({l}_{0}\right)=K\frac{{e}^{j\left(2\pi d/\lambda \right)}}{\mathrm{j\lambda d}}{e}^{j\left(\pi /\mathrm{\lambda d}\right){l}_{{0}^{2}}}\text{CTFT}\\ \end{array}$

The intensity $I\left({l}_{0}\right)$ of the light at the viewing screen is the square of the magnitude of the field strength. That is,

$I\left({l}_{0}\right)={\mid {E}_{0}\left({l}_{0}\right)\mid }^{2}$
1. Plot the intensity of the light at the viewing screen. Set the slit width to this range (0.5 to 5 mm), the wavelength of light $\lambda$ to this range (300 to 800 nm), and the distance of the viewing screen $d$ to this range (10 to 200 m) as controls. Assume the constant of proportionality is ${\text{10}}^{-3}$ , and the electric field strength at the diffraction screen is 1 V/m.
2. Now replace the slit with two slits, each 0.1 mm in width, separated by 1 mm (center-to-center) and centered on the optical axis. Plot the intensity of light in the viewing screen by setting the parameters in part (1) as controls.

Insert Solution Text Here

show that the set of all natural number form semi group under the composition of addition
explain and give four Example hyperbolic function
_3_2_1
felecia
⅗ ⅔½
felecia
_½+⅔-¾
felecia
The denominator of a certain fraction is 9 more than the numerator. If 6 is added to both terms of the fraction, the value of the fraction becomes 2/3. Find the original fraction. 2. The sum of the least and greatest of 3 consecutive integers is 60. What are the valu
1. x + 6 2 -------------- = _ x + 9 + 6 3 x + 6 3 ----------- x -- (cross multiply) x + 15 2 3(x + 6) = 2(x + 15) 3x + 18 = 2x + 30 (-2x from both) x + 18 = 30 (-18 from both) x = 12 Test: 12 + 6 18 2 -------------- = --- = --- 12 + 9 + 6 27 3
Pawel
2. (x) + (x + 2) = 60 2x + 2 = 60 2x = 58 x = 29 29, 30, & 31
Pawel
ok
Ifeanyi
on number 2 question How did you got 2x +2
Ifeanyi
combine like terms. x + x + 2 is same as 2x + 2
Pawel
x*x=2
felecia
2+2x=
felecia
Mark and Don are planning to sell each of their marble collections at a garage sale. If Don has 1 more than 3 times the number of marbles Mark has, how many does each boy have to sell if the total number of marbles is 113?
Mark = x,. Don = 3x + 1 x + 3x + 1 = 113 4x = 112, x = 28 Mark = 28, Don = 85, 28 + 85 = 113
Pawel
how do I set up the problem?
what is a solution set?
Harshika
find the subring of gaussian integers?
Rofiqul
hello, I am happy to help!
Abdullahi
hi mam
Mark
find the value of 2x=32
divide by 2 on each side of the equal sign to solve for x
corri
X=16
Michael
Want to review on complex number 1.What are complex number 2.How to solve complex number problems.
Beyan
yes i wantt to review
Mark
use the y -intercept and slope to sketch the graph of the equation y=6x
how do we prove the quadratic formular
Darius
hello, if you have a question about Algebra 2. I may be able to help. I am an Algebra 2 Teacher
thank you help me with how to prove the quadratic equation
Seidu
may God blessed u for that. Please I want u to help me in sets.
Opoku
what is math number
4
Trista
x-2y+3z=-3 2x-y+z=7 -x+3y-z=6
can you teacch how to solve that🙏
Mark
Solve for the first variable in one of the equations, then substitute the result into the other equation. Point For: (6111,4111,−411)(6111,4111,-411) Equation Form: x=6111,y=4111,z=−411x=6111,y=4111,z=-411
Brenna
(61/11,41/11,−4/11)
Brenna
x=61/11 y=41/11 z=−4/11 x=61/11 y=41/11 z=-4/11
Brenna
Need help solving this problem (2/7)^-2
x+2y-z=7
Sidiki
what is the coefficient of -4×
-1
Shedrak
Got questions? Join the online conversation and get instant answers!

#### Get Jobilize Job Search Mobile App in your pocket Now! By Anh Dao By JavaChamp Team By Brooke Delaney By Jonathan Long By Hannah Sheth By OpenStax By Vongkol HENG By OpenStax By OpenStax By Richley Crapo