SlideShare a Scribd company logo
1 of 2
Download to read offline
University of Isfahan - Department of Electrical Engineering
Digital Communications Due: 94/10/30
Computer Assignment II: BER of 16QAM with Gray Encoding
Instructor: M. F. Sabahi TA: I. Taghavi
1. Consider a 16QAM modulation scheme with Gray encoding and its constellation.
2. Calculate the average energy of the 16QAM symbols.
3. Theoretically, one can show that the symbol error rate (SER) of a 16QAM in presence
of AWGN is equal to
Ps = 3Q
4Eb
5N0
−
9
4
Q
4Eb
5N0
2
.
*Note that, if we denote average energy of bits and symbols with Eb and Es, respectively,
signal to noise ratio can be written as
SNR =
Eb
N0
=
Es
N0 log2 M
where M = 16 is the alphabet size and N0 denotes noise power.
4. In a 16QAM symbol constellation with Gray encoding, adjacent symbols differ only
by one bit. So, for high enough SNRs, bit error rate (BER) of the received signal can be
calculate using the following approximation, theoretically.
Pb ≈
Ps
log2 M
.
5. (Numerical Simulation)
Generate a stream of 16QAM symbols, pass it through the complex AWGN channel and
calculate the bit error rate after demodulation/detection.
*Don’t use MATLAB built-in functions or objects such as “modem” for modulation and
demodulation.
6. Plot bit error rate (BER) obtained from simulations versus different SNRs and
compare it with the theoretical derivation (Fig.1).
Report:
Write your conclusions and depict the results of this experiment. Send only one zip file (or
any other compressed file) including your short report (PDF format) and simulation file(s)
to ui.homeworks@gmail.com before the assignment deadline.
Remark: Please use the following name for the email subject and attached file
“CA2 your student number”
* If you have any questions or comments regarding the steps outlined in this document,
please contact me by sending an email to ui.homeworks@gmail.com.
1
University of Isfahan - Department of Electrical Engineering
SNR [dB]
0 2 4 6 8 10 12 14
BitErrorRate(BER)
10
-6
10
-5
10
-4
10
-3
10-2
10-1
100
Simulation
Theory
Figure 1: BER of 16QAM versus different SNRs.
2

More Related Content

What's hot

17435 electronics instrumentation
17435  electronics instrumentation17435  electronics instrumentation
17435 electronics instrumentationsoni_nits
 
MATLAB/SIMULINK for engineering applications: day 3
MATLAB/SIMULINK for engineering applications: day 3MATLAB/SIMULINK for engineering applications: day 3
MATLAB/SIMULINK for engineering applications: day 3reddyprasad reddyvari
 
Leakage power optimization for ripple carry adder
Leakage power optimization for ripple carry adder Leakage power optimization for ripple carry adder
Leakage power optimization for ripple carry adder NAVEEN TOKAS
 
Karnaugh map or K-map method
Karnaugh map or K-map methodKarnaugh map or K-map method
Karnaugh map or K-map methodAbdullah Moin
 
Presentation energy efficient code converters using reversible logic gates
Presentation energy efficient code converters using reversible logic gatesPresentation energy efficient code converters using reversible logic gates
Presentation energy efficient code converters using reversible logic gatesAdityakumar2208
 
Implementation of Reversable Logic Based Design using Submicron Technology
Implementation of Reversable Logic Based Design using Submicron TechnologyImplementation of Reversable Logic Based Design using Submicron Technology
Implementation of Reversable Logic Based Design using Submicron TechnologySai Viswanath
 
Design and Implementation of 8 Bit Multiplier Using M.G.D.I. Technique
Design and Implementation of 8 Bit Multiplier Using M.G.D.I. TechniqueDesign and Implementation of 8 Bit Multiplier Using M.G.D.I. Technique
Design and Implementation of 8 Bit Multiplier Using M.G.D.I. TechniqueIJMER
 
High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex...
High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex...High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex...
High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex...IJERD Editor
 
vedic mathematics based MAC unit
vedic mathematics based MAC unitvedic mathematics based MAC unit
vedic mathematics based MAC unitNavya Shree
 
An area efficient relaxed half-stochastic decoding architecture for nonbinary...
An area efficient relaxed half-stochastic decoding architecture for nonbinary...An area efficient relaxed half-stochastic decoding architecture for nonbinary...
An area efficient relaxed half-stochastic decoding architecture for nonbinary...LogicMindtech Nologies
 
Basic blocks - compiler design
Basic blocks - compiler designBasic blocks - compiler design
Basic blocks - compiler designhmnasim15
 

What's hot (15)

17435 electronics instrumentation
17435  electronics instrumentation17435  electronics instrumentation
17435 electronics instrumentation
 
MATLAB/SIMULINK for engineering applications: day 3
MATLAB/SIMULINK for engineering applications: day 3MATLAB/SIMULINK for engineering applications: day 3
MATLAB/SIMULINK for engineering applications: day 3
 
Leakage power optimization for ripple carry adder
Leakage power optimization for ripple carry adder Leakage power optimization for ripple carry adder
Leakage power optimization for ripple carry adder
 
Karnaugh map or K-map method
Karnaugh map or K-map methodKarnaugh map or K-map method
Karnaugh map or K-map method
 
Matlab
MatlabMatlab
Matlab
 
Presentation energy efficient code converters using reversible logic gates
Presentation energy efficient code converters using reversible logic gatesPresentation energy efficient code converters using reversible logic gates
Presentation energy efficient code converters using reversible logic gates
 
Implementation of Reversable Logic Based Design using Submicron Technology
Implementation of Reversable Logic Based Design using Submicron TechnologyImplementation of Reversable Logic Based Design using Submicron Technology
Implementation of Reversable Logic Based Design using Submicron Technology
 
Chap 11-1
Chap 11-1Chap 11-1
Chap 11-1
 
Design and Implementation of 8 Bit Multiplier Using M.G.D.I. Technique
Design and Implementation of 8 Bit Multiplier Using M.G.D.I. TechniqueDesign and Implementation of 8 Bit Multiplier Using M.G.D.I. Technique
Design and Implementation of 8 Bit Multiplier Using M.G.D.I. Technique
 
High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex...
High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex...High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex...
High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex...
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
 
vedic mathematics based MAC unit
vedic mathematics based MAC unitvedic mathematics based MAC unit
vedic mathematics based MAC unit
 
An area efficient relaxed half-stochastic decoding architecture for nonbinary...
An area efficient relaxed half-stochastic decoding architecture for nonbinary...An area efficient relaxed half-stochastic decoding architecture for nonbinary...
An area efficient relaxed half-stochastic decoding architecture for nonbinary...
 
Reversible Logic Gate
Reversible Logic GateReversible Logic Gate
Reversible Logic Gate
 
Basic blocks - compiler design
Basic blocks - compiler designBasic blocks - compiler design
Basic blocks - compiler design
 

Viewers also liked

Performance evaluation of different qam
Performance evaluation of different qamPerformance evaluation of different qam
Performance evaluation of different qamvnktrjr
 
Ofdm & qam
Ofdm & qamOfdm & qam
Ofdm & qamnickymeher
 
Symbol Error Rate of Star QAM
Symbol Error Rate of Star QAMSymbol Error Rate of Star QAM
Symbol Error Rate of Star QAMSourjya Dutta
 
Performance Evaluation of Different QAM Techniques Using Matlab/Simulink full...
Performance Evaluation of Different QAM Techniques Using Matlab/Simulink full...Performance Evaluation of Different QAM Techniques Using Matlab/Simulink full...
Performance Evaluation of Different QAM Techniques Using Matlab/Simulink full...vnktrjr
 
Quadrature amplitude modulation qam transmitter
Quadrature amplitude modulation qam transmitterQuadrature amplitude modulation qam transmitter
Quadrature amplitude modulation qam transmitterAsaad Drake
 
QUADRATURE AMPLITUDE MODULATION
QUADRATURE AMPLITUDE MODULATIONQUADRATURE AMPLITUDE MODULATION
QUADRATURE AMPLITUDE MODULATIONAHSAN HALIMI
 

Viewers also liked (10)

M qam
M qamM qam
M qam
 
Performance evaluation of different qam
Performance evaluation of different qamPerformance evaluation of different qam
Performance evaluation of different qam
 
Ofdm & qam
Ofdm & qamOfdm & qam
Ofdm & qam
 
Symbol Error Rate of Star QAM
Symbol Error Rate of Star QAMSymbol Error Rate of Star QAM
Symbol Error Rate of Star QAM
 
Psk, qam, fsk different modulation
Psk, qam, fsk different modulationPsk, qam, fsk different modulation
Psk, qam, fsk different modulation
 
Performance Evaluation of Different QAM Techniques Using Matlab/Simulink full...
Performance Evaluation of Different QAM Techniques Using Matlab/Simulink full...Performance Evaluation of Different QAM Techniques Using Matlab/Simulink full...
Performance Evaluation of Different QAM Techniques Using Matlab/Simulink full...
 
Quadrature amplitude modulation qam transmitter
Quadrature amplitude modulation qam transmitterQuadrature amplitude modulation qam transmitter
Quadrature amplitude modulation qam transmitter
 
Quadrature amplitude modulation
Quadrature amplitude modulationQuadrature amplitude modulation
Quadrature amplitude modulation
 
What is 16 qam modulation
What is 16 qam modulationWhat is 16 qam modulation
What is 16 qam modulation
 
QUADRATURE AMPLITUDE MODULATION
QUADRATURE AMPLITUDE MODULATIONQUADRATURE AMPLITUDE MODULATION
QUADRATURE AMPLITUDE MODULATION
 

Similar to 16QAM BER Simulation

Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...
Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...
Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...ijsrd.com
 
Analysis Of Transmission Line Using MATLAB Software
Analysis Of Transmission Line Using MATLAB SoftwareAnalysis Of Transmission Line Using MATLAB Software
Analysis Of Transmission Line Using MATLAB SoftwareAllison Thompson
 
FPGA Design & Simulation Modeling of Baseband Data Transmission System
FPGA Design & Simulation Modeling of Baseband Data Transmission SystemFPGA Design & Simulation Modeling of Baseband Data Transmission System
FPGA Design & Simulation Modeling of Baseband Data Transmission SystemIOSR Journals
 
EE352 - Final Project Report
EE352 - Final Project ReportEE352 - Final Project Report
EE352 - Final Project ReportRob Garrone
 
CHAPTER 4 updated.ppt. Wireless communication
CHAPTER 4 updated.ppt. Wireless communicationCHAPTER 4 updated.ppt. Wireless communication
CHAPTER 4 updated.ppt. Wireless communicationNanaAgyeman13
 
Design of Simulink Model for Constant Envelop OFDM & Analysis of Bit Error Rate
Design of Simulink Model for Constant Envelop OFDM & Analysis of Bit Error RateDesign of Simulink Model for Constant Envelop OFDM & Analysis of Bit Error Rate
Design of Simulink Model for Constant Envelop OFDM & Analysis of Bit Error RateIJSRD
 
Report AdvancedCodingFinal - Pietro Santoro
Report AdvancedCodingFinal - Pietro SantoroReport AdvancedCodingFinal - Pietro Santoro
Report AdvancedCodingFinal - Pietro SantoroPietro Santoro
 
Comparative study of selected subcarrier index modulation OFDM schemes
Comparative study of selected subcarrier index modulation OFDM schemesComparative study of selected subcarrier index modulation OFDM schemes
Comparative study of selected subcarrier index modulation OFDM schemesTELKOMNIKA JOURNAL
 
A NEW APPROACH TO DESIGN LOW POWER CMOS FLASH A/D CONVERTER
A NEW APPROACH TO DESIGN LOW POWER CMOS FLASH A/D CONVERTERA NEW APPROACH TO DESIGN LOW POWER CMOS FLASH A/D CONVERTER
A NEW APPROACH TO DESIGN LOW POWER CMOS FLASH A/D CONVERTERVLSICS Design
 
IRJET- Simulation and Performance Estimation of BPSK in Rayleigh Channel ...
IRJET-  	  Simulation and Performance Estimation of BPSK in Rayleigh Channel ...IRJET-  	  Simulation and Performance Estimation of BPSK in Rayleigh Channel ...
IRJET- Simulation and Performance Estimation of BPSK in Rayleigh Channel ...IRJET Journal
 
Finite Size Effects on barabasy Albert Model
Finite Size Effects on barabasy Albert ModelFinite Size Effects on barabasy Albert Model
Finite Size Effects on barabasy Albert ModelOleguer Sagarra
 
Design and implementation of log domain decoder
Design and implementation of log domain decoder Design and implementation of log domain decoder
Design and implementation of log domain decoder IJECEIAES
 
A 130-NM CMOS 400 MHZ 8-Bit Low Power Binary Weighted Current Steering DAC
A 130-NM CMOS 400 MHZ 8-Bit Low Power Binary Weighted Current Steering DAC A 130-NM CMOS 400 MHZ 8-Bit Low Power Binary Weighted Current Steering DAC
A 130-NM CMOS 400 MHZ 8-Bit Low Power Binary Weighted Current Steering DAC ijcisjournal
 
Optimization for Minimum Noise Figure of RF Low Noise Amplifier in 0.18µm Tec...
Optimization for Minimum Noise Figure of RF Low Noise Amplifier in 0.18µm Tec...Optimization for Minimum Noise Figure of RF Low Noise Amplifier in 0.18µm Tec...
Optimization for Minimum Noise Figure of RF Low Noise Amplifier in 0.18µm Tec...IJEEE
 
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...ijceronline
 

Similar to 16QAM BER Simulation (20)

Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...
Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...
Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...
 
Dc unit iv
Dc unit ivDc unit iv
Dc unit iv
 
Analysis Of Transmission Line Using MATLAB Software
Analysis Of Transmission Line Using MATLAB SoftwareAnalysis Of Transmission Line Using MATLAB Software
Analysis Of Transmission Line Using MATLAB Software
 
[IJET V2I5P23] Authors:Pramod Kumar
[IJET V2I5P23] Authors:Pramod Kumar[IJET V2I5P23] Authors:Pramod Kumar
[IJET V2I5P23] Authors:Pramod Kumar
 
FPGA Design & Simulation Modeling of Baseband Data Transmission System
FPGA Design & Simulation Modeling of Baseband Data Transmission SystemFPGA Design & Simulation Modeling of Baseband Data Transmission System
FPGA Design & Simulation Modeling of Baseband Data Transmission System
 
EE352 - Final Project Report
EE352 - Final Project ReportEE352 - Final Project Report
EE352 - Final Project Report
 
abcd
abcdabcd
abcd
 
CHAPTER 4 updated.ppt. Wireless communication
CHAPTER 4 updated.ppt. Wireless communicationCHAPTER 4 updated.ppt. Wireless communication
CHAPTER 4 updated.ppt. Wireless communication
 
Design of Simulink Model for Constant Envelop OFDM & Analysis of Bit Error Rate
Design of Simulink Model for Constant Envelop OFDM & Analysis of Bit Error RateDesign of Simulink Model for Constant Envelop OFDM & Analysis of Bit Error Rate
Design of Simulink Model for Constant Envelop OFDM & Analysis of Bit Error Rate
 
Report AdvancedCodingFinal - Pietro Santoro
Report AdvancedCodingFinal - Pietro SantoroReport AdvancedCodingFinal - Pietro Santoro
Report AdvancedCodingFinal - Pietro Santoro
 
Comparative study of selected subcarrier index modulation OFDM schemes
Comparative study of selected subcarrier index modulation OFDM schemesComparative study of selected subcarrier index modulation OFDM schemes
Comparative study of selected subcarrier index modulation OFDM schemes
 
A NEW APPROACH TO DESIGN LOW POWER CMOS FLASH A/D CONVERTER
A NEW APPROACH TO DESIGN LOW POWER CMOS FLASH A/D CONVERTERA NEW APPROACH TO DESIGN LOW POWER CMOS FLASH A/D CONVERTER
A NEW APPROACH TO DESIGN LOW POWER CMOS FLASH A/D CONVERTER
 
IRJET- Simulation and Performance Estimation of BPSK in Rayleigh Channel ...
IRJET-  	  Simulation and Performance Estimation of BPSK in Rayleigh Channel ...IRJET-  	  Simulation and Performance Estimation of BPSK in Rayleigh Channel ...
IRJET- Simulation and Performance Estimation of BPSK in Rayleigh Channel ...
 
Finite Size Effects on barabasy Albert Model
Finite Size Effects on barabasy Albert ModelFinite Size Effects on barabasy Albert Model
Finite Size Effects on barabasy Albert Model
 
Lab 2_S1.pdf
Lab 2_S1.pdfLab 2_S1.pdf
Lab 2_S1.pdf
 
Waveform coding
Waveform codingWaveform coding
Waveform coding
 
Design and implementation of log domain decoder
Design and implementation of log domain decoder Design and implementation of log domain decoder
Design and implementation of log domain decoder
 
A 130-NM CMOS 400 MHZ 8-Bit Low Power Binary Weighted Current Steering DAC
A 130-NM CMOS 400 MHZ 8-Bit Low Power Binary Weighted Current Steering DAC A 130-NM CMOS 400 MHZ 8-Bit Low Power Binary Weighted Current Steering DAC
A 130-NM CMOS 400 MHZ 8-Bit Low Power Binary Weighted Current Steering DAC
 
Optimization for Minimum Noise Figure of RF Low Noise Amplifier in 0.18µm Tec...
Optimization for Minimum Noise Figure of RF Low Noise Amplifier in 0.18µm Tec...Optimization for Minimum Noise Figure of RF Low Noise Amplifier in 0.18µm Tec...
Optimization for Minimum Noise Figure of RF Low Noise Amplifier in 0.18µm Tec...
 
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...
 

16QAM BER Simulation

  • 1. University of Isfahan - Department of Electrical Engineering Digital Communications Due: 94/10/30 Computer Assignment II: BER of 16QAM with Gray Encoding Instructor: M. F. Sabahi TA: I. Taghavi 1. Consider a 16QAM modulation scheme with Gray encoding and its constellation. 2. Calculate the average energy of the 16QAM symbols. 3. Theoretically, one can show that the symbol error rate (SER) of a 16QAM in presence of AWGN is equal to Ps = 3Q 4Eb 5N0 − 9 4 Q 4Eb 5N0 2 . *Note that, if we denote average energy of bits and symbols with Eb and Es, respectively, signal to noise ratio can be written as SNR = Eb N0 = Es N0 log2 M where M = 16 is the alphabet size and N0 denotes noise power. 4. In a 16QAM symbol constellation with Gray encoding, adjacent symbols differ only by one bit. So, for high enough SNRs, bit error rate (BER) of the received signal can be calculate using the following approximation, theoretically. Pb ≈ Ps log2 M . 5. (Numerical Simulation) Generate a stream of 16QAM symbols, pass it through the complex AWGN channel and calculate the bit error rate after demodulation/detection. *Don’t use MATLAB built-in functions or objects such as “modem” for modulation and demodulation. 6. Plot bit error rate (BER) obtained from simulations versus different SNRs and compare it with the theoretical derivation (Fig.1). Report: Write your conclusions and depict the results of this experiment. Send only one zip file (or any other compressed file) including your short report (PDF format) and simulation file(s) to ui.homeworks@gmail.com before the assignment deadline. Remark: Please use the following name for the email subject and attached file “CA2 your student number” * If you have any questions or comments regarding the steps outlined in this document, please contact me by sending an email to ui.homeworks@gmail.com. 1
  • 2. University of Isfahan - Department of Electrical Engineering SNR [dB] 0 2 4 6 8 10 12 14 BitErrorRate(BER) 10 -6 10 -5 10 -4 10 -3 10-2 10-1 100 Simulation Theory Figure 1: BER of 16QAM versus different SNRs. 2