0% found this document useful (0 votes)
130 views20 pages

Generation of DSB-SC Spectrum and SSB Spectrum Using Scilab Software

The document discusses generating DSB-SC and SSB spectra using Scilab software. It provides code to generate the spectra and output for sample inputs. Advantages and applications of DSB-SC and SSB techniques are also covered.

Uploaded by

Jaswanth Patnaik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
130 views20 pages

Generation of DSB-SC Spectrum and SSB Spectrum Using Scilab Software

The document discusses generating DSB-SC and SSB spectra using Scilab software. It provides code to generate the spectra and output for sample inputs. Advantages and applications of DSB-SC and SSB techniques are also covered.

Uploaded by

Jaswanth Patnaik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 20

Sreyas Institute of Engineering and Technology

An Autonomous Institution
Approved by AICTE, Affiliated to JNTUH
Accredited by NAAC-A Grade, NBA (CSE, ECE & ME) & ISO 9001:2015 Certified

TITLE OF THE PROJECT


(Generation of DSB-SC spectrum and SSB
spectrum using scilab software)
Presented by
Bhavya Sirisha (22VE1A0407)

1/22/2024 1
What is DSB-SC?
• Double-Sideband Suppressed Carrier (DSBSC) is a
modulation technique used in communication systems.
• In DSBSC, the carrier signal is suppressed, and only the
sidebands are transmitted.
• This helps conserve bandwidth compared to traditional
amplitude modulation (AM), making it more efficient for
certain applications like radio transmission.
• The carrier signal is entirely suppressed, resulting in a
spectrum concentrated around zero frequency.
• The sidebands are mirrored on either side of the suppressed
carrier frequency, and their amplitudes are identical.

Generation of dsb-sc spectrum and ssb


1/22/2024 2
spectrum using scilab software
DSB-SC SCILAB CODE:
clc;
clear;
close;
t=0:1/100:3;
p=length(t);
fm=input(‘enter the msg freq’);
fc=input(‘enter the carrier freq(fc>>fm)’);
am=input(‘enter the msg amp’);
ac=input(‘enter the carrier amp’);
//message
msg=am*cos(2*%pi*fm*t);
subplot(4,1,1);
plot(t,msg);
xtitle(‘msg’,’time’,’amp’);
//carrier
carrier=ac*cos(2*%pi*fc*t);
subplot(4,1,2);
plot(t,carrier);
xtitle(‘carrier’,’time’,’amp’);
Generation of dsb-sc spectrum and ssb
1/22/2024 3
spectrum using scilab software
//dsbsc mod
dsbsc_mod=msg.*carrier;
subplot(4,1,3);
plot(t,dsbsc_mod);
xtitle(‘dsbsc’,’time’,’amp’);
//spectrum
d=(-p/2:1:p/2-1)*1/3;
subplot(4,1,4);
plot(d,abs(fftshift(fft(dsbsc_mod))));
xtitle(‘spectrum’,’freq’,’amp’);
Generation of dsb-sc spectrum and ssb
1/22/2024 4
spectrum using scilab software
Console window input:

Enter the msg freq 2


Enter the carrier freq(fc>>fm) 20
Enter the msg amp 2
Enter the carrier amp 5

Generation of dsb-sc spectrum and ssb


1/22/2024 5
spectrum using scilab software
Output:

Generation of dsb-sc spectrum and ssb


1/22/2024 6
spectrum using scilab software
Advantages :
DSB-SC provides 50% modulation efficiency due to the
absence of carrier.
It consumes less power again due to the absence of
carrier in DSB-SC.
• It provides the large bandwidth due to the presence of
two sidebands.
• The output frequency is twice the frequency of the
modulated signal.
• Low cost

Generation of dsb-sc spectrum and ssb


1/22/2024 7
spectrum using scilab software
Disadvantages :

The efficiency of DSB with the carrier is low due to the


presence of the carrier.
• The power wastage is high in DSB compared to other
types of Amplitude Modulation because of the two
sidebands that are not effectively utilized.

Generation of dsb-sc spectrum and ssb


1/22/2024 8
spectrum using scilab software
Applications:
Television broadcasting
Phase shift keying method
• DSB-SC is also used in wireless communication and
two way FM (Frequency Multiplexing).

Generation of dsb-sc spectrum and ssb


1/22/2024 9
spectrum using scilab software
What is SSB?
• Single-Sideband (SSB) modulation is a technique used in
communication systems where only one sideband and the
carrier are transmitted, while the other sideband is
suppressed.
• This efficient use of bandwidth makes SSB modulation
suitable for applications like long-distance radio
communication.
• It eliminates redundancy present in Double-Sideband
(DSB) modulation, providing improved spectral
efficiency.

Generation of dsb-sc spectrum and ssb


1/22/2024 10
spectrum using scilab software
SSB SCILAB CODE :
clc;
clear;
close;
t=0:1/200:3;
p=length(t);
fm=input('enter the msg freq');
fc=input('enter the carrier freq(fc>>fm)');
am=input('enter the msg amp');
ac=input('enter the carrier amp');
//message
msg=am*cos(2*%pi*fm*t);
figure(1);
subplot(4,1,1);
plot(t,msg);
xtitle('msg','time','amp');
//carrier
carrier=ac*cos(2*%pi*fc*t);
subplot(4,1,2);
plot(t,carrier);
xtitle('carrier','time','amp');

Generation of dsb-sc spectrum and ssb


1/22/2024 11
spectrum using scilab software
//hilbert msg

h_msg=imag(hilbert(msg));

subplot(4,1,3);

plot(t,h_msg);

xtitle(‘hil msg’,’time’,’amp’);

//hilbert carrier

h_carrier=imag(hilbert(carrier));

subplot(4,1,4);

plot(t,h_carrier);

xtitle(‘hil carrier’,’time’,’amp’);

//////ssb mod//////

//lsb

ssb_lsb=(msg.*carrier)+(h_msg.*h_carrier);

figure(2);

subplot(4,1,1);

plot(t,ssb_lsb);
Generation of dsb-sc spectrum and ssb
1/22/2024 12
xtitle(‘ssb lsb’,’time’,’amp’); spectrum using scilab software
/////spectrum//////
//spectrum lsb
d=(-p/2:1:p/2-1)*1/2;
subplot(4,1,3);
plot(d,abs(fftshift(fft(ssb_lsb))));
xtitle(‘spectrum lsb’,’freq’,’amp’);
//spectrum usb
subplot(4,1,4);
plot(d,abs(fftshift(fft(ssb_usb))));
xtitle(‘spectrum usb’,’freq’,’amp’);

Generation of dsb-sc spectrum and ssb


1/22/2024 13
spectrum using scilab software
Console window input:

Enter the msg freq 2


Enter the carrier freq(fc>>fm) 20
Enter the msg amp 2
Enter the carrier amp 5

Generation of dsb-sc spectrum and ssb


1/22/2024 14
spectrum using scilab software
Output:

Generation of dsb-sc spectrum and ssb


1/22/2024 15
spectrum using scilab software
Generation of dsb-sc spectrum and ssb
1/22/2024 16
spectrum using scilab software
Advantages :
It allows multiple signals to transmit.
SSB technique requires less bandwidth as compared to
DSB technique.
Less power is consumed.
It allows transmission of the high power signal.
• It provides less interference to noise due to the
reduction in bandwidth.

Generation of dsb-sc spectrum and ssb


1/22/2024 17
spectrum using scilab software
Disadvantages :

Implementation of SSB holds complex nature.


It is expensive.
• SSB technique requires a transmitter and receiver to
be highly frequency stable. As some slight change in
frequency will deteriorate the quality of the signal.

Generation of dsb-sc spectrum and ssb


1/22/2024 18
spectrum using scilab software
Applications:
It is needed in all such applications where power saving
and low bandwidth is required.
The technique is utilized in point to point
communication.
It is also used in land and air mobile communication.
• It also finds its applications in telemetry and radar
communication.

Generation of dsb-sc spectrum and ssb


1/22/2024 19
spectrum using scilab software
Thank-you

Generation of dsb-sc spectrum and ssb


1/22/2024 20
spectrum using scilab software

You might also like