Long Report Communication
Long Report Communication
SEMESTER 2 2022/2023
SMJE 3192
Group 5
MATRIC NO A21MJ0046
YEAR/PROGRAM 3/SMJE
SECTION 02
DATE 17/6/2024
DSB-SC modulation suppresses the carrier signal during transmission, resulting in power
savings and improved bandwidth utilization. Only the sidebands carry the information, and the
carrier itself is not transmitted. Balanced modulators, utilizing non-linear resistance elements, are
used to achieve carrier suppression. DSB-SC modulation finds applications in binary data
transmission and stereo signals in television and FM broadcasting.
Matlab Software
LAB 1: MC1496 AM MODULATOR
1.0 OBJECTIVE
● To understand the fundamental principles of amplitude modulation (AM).
● To analyze the waveform and frequency spectrum of an AM modulator.
● To examine the relationship between the waveform and the modulation index.
2.0 PROCEDURE
Coding
%AM Modulator
% Observe on the Variation of AM Modulator by Changing the Amplitude and
% Frequency of Audio Signal/Carrier Signal
%t=0:.000001:.005;
fs=220050;%sampling frequency
Ts=1/fs;%sampling period
N=1000;%number of samples
t=[0:Ts:N*Ts-Ts];%time axis
f=[-fs/2:fs/N:fs/2-fs/N];%frequency axis
Am=input('Enter the Amplitude of Message Signal = ');
fm=input('Enter the Frequency of Message Signal = ');
Ac=input('Enter the Amplitude of Carrier Signal = ');
fc=input('Enter the Frequency of Carrier Signal = ');
mt=Am*cos(2*pi*fm.*t)
ct=Ac*cos(2*pi*fc.*t);
st=(1+mt).*ct;
figure('Name','Time domain representations of FULL AM signals');
title('AM Modulation of Multitone sinusoidal Signal');
subplot(4,1,1)
plot(t,mt)
xlabel('Time'); ylabel('Message signal');
subplot(4,1,2)
plot(t,ct)
xlabel('Time'); ylabel('Carrier Signal');
subplot(4,1,3)
plot(t,st,t,Ac.*(1+mt),'r')
xlabel('Time'); ylabel('Modulated signal');
Y=fft(st);
Z=fftshift(abs(Y))
subplot(4,1,4)
plot(f,Z)
xlabel('Frequency'); ylabel('Frequency Spectrum');
sprintf('Carrier frequency: %d Hz',fc)
sprintf('Message frequency: %d Hz and %d Hz',fm)
sprintf('USB spectra at: %d Hz and %d Hz',fc+fm)
sprintf('LSB spectra at: %d Hz and %d Hz',fc-fm)
Result
Figure 1
4.0 DISCUSSION
Initially, the function generator was configured to produce two sine waves: Channel A
with a 600 mV amplitude at 1 kHz and Channel B with a 300 mV amplitude at 500 kHz. These
signals served as the audio signal and carrier signal, respectively. Using MATLAB, we simulated
these waveforms to ensure the correct configuration of the input signals.
By connecting Channel A to the audio signal input port and Channel B to the carrier
signal input port of the MC1496 AM Modulator, and then linking the output to MATLAB, we
were able to observe the modulated signal. The modulation process was clearly evidenced by the
changes in the amplitude of the carrier wave, reflecting the input audio signal, as visualized in
the MATLAB plots.
The MATLAB code provided allowed us to input the amplitude and frequency of the
message and carrier signals, and then plot their respective waveforms. The modulated signal was
generated by multiplying the carrier signal with the sum of 1 and the message signal. The
time-domain representations of the message signal, carrier signal, and modulated signal were
plotted, showing the clear influence of the message signal on the carrier wave.
Furthermore, the frequency spectrum of the modulated signal was analyzed using the Fast
Fourier Transform (FFT). The FFT results, displayed using the fftshift function, provided a clear
view of the frequency components of the modulated signal, showing the presence of the upper
sideband (USB) and lower sideband (LSB) around the carrier frequency. This frequency-domain
analysis is crucial for understanding how the information is distributed across the spectrum in an
AM signal.
Adjustments to VR1 and VR2 in the MATLAB model demonstrated their impact on the
output signal waveforms. These variables allowed fine-tuning of the modulation characteristics,
illustrating the flexibility and control provided by the MC1496 AM Modulator. Observing the
simulated waveforms, we noted the clarity and stability of the modulated signals, affirming the
reliability of the MC1496 in practical applications.
5.0 CONCLUSION
Initially, the function generator was configured to produce two sine waves: Channel A
with a 600 mV amplitude at 1 kHz and Channel B with a 300 mV amplitude at 500 kHz. These
signals served as the audio signal and carrier signal, respectively. Using MATLAB, we simulated
these waveforms to ensure the correct configuration of the input signals.
By connecting Channel A to the audio signal input port and Channel B to the carrier
signal input port of the MC1496 AM Modulator, and then linking the output to MATLAB, we
were able to observe the modulated signal. The modulation process was clearly evidenced by the
changes in the amplitude of the carrier wave, reflecting the input audio signal, as visualized in
the MATLAB plots.
The MATLAB code provided allowed us to input the amplitude and frequency of the
message and carrier signals, and then plot their respective waveforms. The modulated signal was
generated by multiplying the carrier signal with the sum of 1 and the message signal. The
time-domain representations of the message signal, carrier signal, and modulated signal were
plotted, showing the clear influence of the message signal on the carrier wave.
Furthermore, the frequency spectrum of the modulated signal was analyzed using the Fast
Fourier Transform (FFT). The FFT results, displayed using the fft shift function, provided a clear
view of the frequency components of the modulated signal, showing the presence of the upper
sideband (USB) and lower sideband (LSB) around the carrier frequency. This frequency-domain
analysis is crucial for understanding how the information is distributed across the spectrum in an
AM signal.
LAB 2: Analyzing DSB-SC and SSB Modulator
1.0 OBJECTIVE
2.0 PROCEDURE
Coding
Figure 2
Figure 3
Figure 4
Result
Figure 5
Figure 6
4.0 DISCUSSION
In analyzing the output signals of modulators such as the Double Sideband Suppressed
Carrier (DSB-SC) and Single Sideband (SSB) modulators, various input parameters play
significant roles. The amplitude and frequency of both the message (audio) and carrier signals
are critical variables that influence the characteristics of the modulated signal.
For DSB-SC modulation, increasing the amplitude of the message signal enhances the
modulation depth, leading to a proportional increase in the amplitude of the sidebands, which
directly affects the power distribution in the modulated signal. Conversely, adjusting the carrier
signal's amplitude impacts the overall energy of the output signal without changing the
modulation depth, given the carrier itself is suppressed in DSB-SC.
When examining the frequency aspects, variations in the carrier frequency shift the
position of the sidebands in the frequency domain without altering their amplitude. This shift is
essential for tuning the modulated signal to a specific frequency band for transmission. Changes
in the message signal frequency, however, alter the spacing between the sidebands, impacting
how closely they are spaced around the suppressed carrier frequency.
In contrast, for SSB modulation, which transmits only one sideband, changes in the
message and carrier signals also affect the output but in a more bandwidth-efficient manner. The
suppression of the other sideband and the carrier results in a signal that occupies half the
bandwidth of its DSB-SC counterpart. Adjustments to the message signal's amplitude in SSB
influence the sideband's amplitude directly, while changes to the carrier frequency shift the entire
signal's frequency without affecting the modulated content's bandwidth.
5.0 CONCLUSION
In this experiment, we effectively executed and analyzed both Double Sideband Suppressed
Carrier (DSB-SC) and Single Sideband (SSB) modulators using MATLAB. The MATLAB
scripts for both modulation techniques were successfully implemented and run.
For DSB-SC modulation, the resulting modulated signal featured two sidebands that were
mirror images of each other, with the carrier signal being suppressed. This setup led to more
efficient power usage compared to standard Amplitude Modulation (AM), as the carrier
component, which does not carry information, was absent.
In contrast, SSB modulation was achieved using the phase shift method, which resulted
in only one sideband being transmitted while both the carrier and the other sideband were
suppressed. This approach significantly improved bandwidth efficiency since SSB requires only
half the bandwidth of DSB-SC.
The time-domain waveforms of both modulated signals were plotted and analyzed. The
DSB-SC signal displayed the expected characteristics of having two symmetrical sidebands
without the carrier, whereas the SSB signal showed a single sideband with the carrier and the
other sideband suppressed. Frequency spectrum analysis provided further insights into the
modulation characteristics. The DSB-SC spectrum exhibited both upper and lower sidebands
around the carrier frequency, while the SSB spectrum showed only one sideband, confirming the
theoretical bandwidth efficiency advantage of SSB.
By varying the amplitude and frequency of the audio and carrier signals, we observed the
impact of these parameters on the modulated signals. Changes in the message signal's amplitude
affected the modulation depth and overall amplitude of the modulated signal, while changes in
the carrier frequency shifted the modulated signal within the frequency domain.
1.0 OBJECTIVE
2.0 PROCEDURE
Coding
Figure 7
Figure 8
Figure 9
Result
The variations in key parameters significantly impact the performance and behavior of an
FM modulator and demodulator. These critical variables include the carrier frequency (Fc),
frequency sensitivity (kf), input signal amplitude (Ain), and input signal frequency (Fin).
The carrier frequency (Fc) establishes the central frequency around which the modulated
signal oscillates. An increase in Fc shifts the frequency spectrum of the modulated signal to
higher ranges, enhancing signal quality by minimizing noise interference. For effective signal
extraction, the demodulator must be precisely tuned to the same Fc; any discrepancies can cause
signal distortion or complete loss.
The amplitude of the input signal (Ain) determines the extent of frequency modulation
applied to the carrier signal. An increase in Ain causes more significant frequency deviation,
which enhances noise immunity but also broadens the signal's bandwidth. The demodulator must
accurately interpret these deviations; excessive input amplitude can exceed its tracking
capabilities, resulting in errors.
The input signal frequency (Fin) influences the rate at which the carrier frequency varies.
Higher Fin results in more rapid frequency variations, affecting the shape and spread of the
modulated signal's frequency spectrum. The demodulator needs to track these rapid changes; if
Fin is too high, the output may exhibit inaccuracies.
In the provided MATLAB code, a carrier frequency of 20 kHz (Fc) ensures the
modulated signal stays in a high-frequency range, reducing susceptibility to low-frequency noise.
The frequency sensitivity (kf = 2π * (Fc / Ain)) ensures proportional frequency deviation relative
to the input amplitude, optimizing the modulation index. A moderate input amplitude (Ain = 0.3)
achieves sufficient frequency deviation without overwhelming the demodulator, and a relatively
low input frequency (Fin = 1 kHz) allows the demodulator to effectively track changes without
significant distortion.
The results of the report, including the waveforms and frequency spectra of both
modulated and demodulated signals, demonstrate the influence of these variables on signal
characteristics. The time-domain plot of the FM modulated signal should illustrate a carrier
signal with variable frequency, while the frequency spectrum should exhibit sidebands around
the carrier frequency. The demodulated signal should closely resemble the original input signal
in the time domain, with its frequency spectrum showing a peak at the input signal frequency.
5.0 CONCLUSION
In the provided MATLAB code, specific values for these parameters ensure effective
modulation and demodulation. The carrier frequency is set high to minimize noise, frequency
sensitivity is optimized for proportional deviation, and moderate input amplitude and frequency
ensure accurate demodulation. Analyzing waveforms and frequency spectra from the
experiments illustrates the impact of these variables, emphasizing their critical role in designing
robust communication systems for efficient and accurate signal transmission and reception.
LAB 4: Investigating Pulse Width Modulator using MATLAB-SIMULINK
1.0 OBJECTIVE
2.0 PROCEDURE
Coding
Figure 13
Result
Figure 14
4.0 DISCUSSION
In this experiment, we investigated the synthesis and analysis of a Pulse Width Modulator
(PWM) using MATLAB and Simulink. The primary objective was to comprehend the effects of
varying input parameters on the PWM output and its frequency spectrum. PWM signals were
generated through MATLAB code, and their waveforms and frequency spectra were analyzed in
Simulink.
The generated PWM waveforms exhibited characteristic patterns where the pulse width
changed according to the duty cycle. An increase in the duty cycle resulted in wider pulses,
thereby increasing the average power delivered to the load, whereas a decrease in the duty cycle
produced narrower pulses, reducing the power. Frequency spectrum analysis indicated that the
PWM signal comprised a fundamental frequency and multiple harmonics, with their amplitudes
varying as the duty cycle changed. This observation is particularly important for applications that
require specific harmonic profiles or minimal harmonic distortion.
By systematically varying key variables such as duty cycle and frequency, it was
observed that an increased duty cycle led to a higher average voltage of the PWM signal, as the
signal remained high for a longer duration within each period. Altering the frequency influenced
the spacing and amplitude of the harmonics in the frequency spectrum, with higher frequencies
leading to a denser spectrum. Adjusting the pulse width provided precise control over power
delivery, which is beneficial in applications like motor control and signal processing.
The use of MATLAB for coding and Simulink for simulation proved to be highly
effective. MATLAB's computational capabilities enabled precise signal generation and
manipulation, while Simulink's graphical interface facilitated intuitive analysis of the system's
dynamic behavior. This combination allowed for real-time observation of changes and their
immediate effects, which is invaluable for educational and developmental purposes.