SlideShare a Scribd company logo
1 of 5
Download to read offline
DIGITAL COMMUNICATION USING MATLAB
Our online Tutors are available 24*7 to provide Help with Digital Communication
Homework/Assignment or a long term Graduate/Undergraduate Digital Communication Project.
Our Tutors being experienced and proficient in Digital Communication ensure to provide high
quality Digital Communication Homework Help. Upload your Digital Communication Assignment
at ‘Submit Your Assignment’ button or email it to info@assignmentpedia.com. You can use our
‘Live Chat’ option to schedule an Online Tutoring session with our Digital Communication
Tutors.
MULTI FEEDBACK SIGMA DELTA MODULATOR
This sample assignment shows A fairly hardware exact simulation of a multi-feedback SDM
MFB_SDM_4.m
%Multi-feedback SDM
%this is a simulation of a multi feedback SDM where we look at the noise
%generated after a lengthy simulation time. The inputs are the fraction we
%are trying to synthesize, and the number of bits for the accumulators.
%this is a case with fixed feedback gains of 1.
%The values in the accumulators are all positive, there is a translation
%from the inputs and outputs so we do not deal with negative values in
%these registers.
%The output is from -4 to +4, for example an accumulator value from 0 to
%(1/9)*2^AccumulatorSize would become -4 and from (8/9)*2^AccumulatorSize to the
%max value would be +4
%Adding dither fixes the issues at fractional amounts such as 0.5 but it
%appears if you simply do 0.50001 the thing works ok, simplest is to program in
%a little offset to any frequency you want, then you don't have to have a
%hardware solution. Should check with Monte Carlo simulation.
%The system is as follows;
% Fraction => Subtract => Accumulate1 => Subtract => Accumulate2 => Subtract => Accumulate3
=> Quantize => Divider
% ^ ^ ^ |
%
|_________________________|___________________________|_________________________|
%In steady state the outputs of the accumulators should equal the fraction
%value. In this simulation the quantizer does not provide feedback until a limit
%is reached, so the error output of the accumulators grows before feedback
%contains it.
%The error from accumulator 1 changes at a roughly linear rate, accumulator
%2 error changes at roughly an error^2 rate, and accumulator 3 is roughly an error^3 rate. The
%large swing this causes in the error out of accumulator 3 causes the
%quantizer to cover most of it's output values. The low gain quantized feedback to
%the 3 subtraction points keeps the system constrained.
%The number on the busses that connect the accumulators represents the
%fraction we want. Whatever number we enter for the fraction into the first
%accumulator is the number that should occur on all the busses. This is
%what would happen if there were continuous feedback, but in this case the
%quantizer is a gateway that allows feedback only when specific points are reached.
%The -4 to +4 on the output is mapped into equal regions of the number on
%the bus. For example if we have a bus of 27 bits, then the possible
%values on the bus are 0 to 2^27-1. We break this into 9 equal regions of
%width BinSize, calculated below. 0 to BinSize represents -4, BinSize to
%2*BinSize = -3, and so on. We calculate the desired fraction in terms of 2^27
% as shown for FractionalInternal. This is our desired fraction converted
% to our Bus value.
%My hypothesis is that the 3rd order SDM allows for finer resolution of
%small errors. The larger swings gives more granularity for discerning
%small differences in error. Simulations show no real improvement in close
%in noise sidebands if the order is increased higher than 3rd order.
%
%The accumulators are made 1 bit larger than the bus to ensure no overflow
%occurs, in any case there is a check for overflow.
%1/29/2013 added better plot system and description
%1/29/2013 changed the quantization mapping
clear
BusSize=28; %bits
NumberSamples=2^16;
BinSize=floor(2^BusSize/9);
Fraction=.5501; %usable -2.5 to +2.5
FractionInternal=2^BusSize*4.5/9 + floor(BinSize*Fraction);
AccumulatorBits=BusSize+1 ; %bits
AccumulatorSize=2^AccumulatorBits;
Y1(1:NumberSamples)=0;%feedback internally
U1_1(1:NumberSamples)=0;%First accumulator output
Y2(1:NumberSamples)=0;%feedback internally
U1_2(1:NumberSamples)=0;%First accumulator output
U2_2(1:NumberSamples)=0;%Second accumulator output
Y3(1:NumberSamples)=0;%feedback internally
U1_3(1:NumberSamples)=0;%First accumulator output
U2_3(1:NumberSamples)=0;%Second accumulator output
U3_3(1:NumberSamples)=0;%Third accumulator output
Yout1(1:NumberSamples)=0;%output to the divider for 1 stage SDM
Yout2(1:NumberSamples)=0;%output to the divider for 2 stage SDM
Yout3(1:NumberSamples)=0;%output to the divider for 3 stage SDM
for index=2:NumberSamples
if U1_1(index-1)>=8*BinSize
Yout1(index)=4;
elseif U1_1(index-1)>=7*BinSize
Yout1(index)=3;
elseif U1_1(index-1)>=6*BinSize
Yout1(index)=2;
elseif U1_1(index-1)>=5*BinSize
Yout1(index)=1;
elseif U1_1(index-1)>=4*BinSize
Yout1(index)=0;
elseif U1_1(index-1)>=3*BinSize
Yout1(index)=-1;
elseif U1_1(index-1)>=2*BinSize
Yout1(index)=-2;
elseif U1_1(index-1)>=1*BinSize
Yout1(index)=-3;
else
Yout1(index)=-4;
end
Y1(index)=(Yout1(index)+4.5)*BinSize;
U1_1(index)=FractionInternal-Y1(index)+U1_1(index-1);
if U2_2(index-1)>=8*BinSize
Yout2(index)=4;
elseif U2_2(index-1)>=7*BinSize
Yout2(index)=3;
elseif U2_2(index-1)>=6*BinSize
Yout2(index)=2;
elseif U2_2(index-1)>=5*BinSize
Yout2(index)=1;
elseif U2_2(index-1)>=4*BinSize
Yout2(index)=0;
elseif U2_2(index-1)>=3*BinSize
Yout2(index)=-1;
elseif U2_2(index-1)>=2*BinSize
Yout2(index)=-2;
elseif U2_2(index-1)>=1*BinSize
Yout2(index)=-3;
else
Yout2(index)=-4;
end
Y2(index)=(Yout2(index)+4.5)*BinSize;
U1_2(index)=FractionInternal-Y2(index)+U1_2(index-1);
U2_2(index)=U1_2(index) -Y2(index)+U2_2(index-1);
if U2_3(index-1)>=8*BinSize
Yout3(index)=4;
elseif U3_3(index-1)>=7*BinSize
Yout3(index)=3;
elseif U3_3(index-1)>=6*BinSize
Yout3(index)=2;
elseif U3_3(index-1)>=5*BinSize
Yout3(index)=1;
elseif U3_3(index-1)>=4*BinSize
Yout3(index)=0;
elseif U3_3(index-1)>=3*BinSize
Yout3(index)=-1;
elseif U3_3(index-1)>=2*BinSize
Yout3(index)=-2;
elseif U3_3(index-1)>=1*BinSize
Yout3(index)=-3;
else
Yout3(index)=-4;
end
Y3(index)=(Yout3(index)+4.5)*BinSize;
U1_3(index)=FractionInternal-Y3(index)+U1_3(index-1);
U2_3(index)=U1_3(index) -Y3(index)+U2_3(index-1);
U3_3(index)=U2_3(index) -Y3(index)+U3_3(index-1);
end
if max(U1_1)>AccumulatorSize
fprintf('nerror in U1_1n')
end
if max(U1_2)>AccumulatorSize
fprintf('nerror in U1_2n')
end
if max(U1_3)>AccumulatorSize
fprintf('nerror in U1_3n')
end
if max(U2_2)>AccumulatorSize
fprintf('nerror in U2_2n')
end
if max(U2_3)>AccumulatorSize
fprintf('nerror in U2_3n')
end
if max(U3_3)>AccumulatorSize
fprintf('nerror in U3_3n')
end
MeanFrac=mean(Yout3);
fprintf('nMeanFracMFB= %1.4fn',MeanFrac)
figure(2)
SignalFreq1=20*log10(abs(fft(Yout1)));
plot(fftshift(SignalFreq1)-max(SignalFreq1),'g')
hold on
grid on
axis([0 NumberSamples -150 0]);
SignalFreq2=20*log10(abs(fft(Yout2)));
SignalFreq3=20*log10(abs(fft(Yout3)));
plot(fftshift(SignalFreq2)-max(SignalFreq2),'r')
plot(fftshift(SignalFreq3)-max(SignalFreq3),'b')
legend('1 stage','2 stage','3 stage')
title('MFB SDM Noise')
hold off
visit us at www.assignmentpedia.com or email us at info@assignmentpedia.com or call us at +1 520 8371215

More Related Content

Similar to Help With Digital Communication Project

Numerical analysis using Scilab: Error analysis and propagation
Numerical analysis using Scilab: Error analysis and propagationNumerical analysis using Scilab: Error analysis and propagation
Numerical analysis using Scilab: Error analysis and propagationScilab
 
IRJET- Comparison for Max-Flow Min-Cut Algorithms for Optimal Assignment Problem
IRJET- Comparison for Max-Flow Min-Cut Algorithms for Optimal Assignment ProblemIRJET- Comparison for Max-Flow Min-Cut Algorithms for Optimal Assignment Problem
IRJET- Comparison for Max-Flow Min-Cut Algorithms for Optimal Assignment ProblemIRJET Journal
 
Erlang capacity for_connections_cmg_1907
Erlang capacity for_connections_cmg_1907Erlang capacity for_connections_cmg_1907
Erlang capacity for_connections_cmg_1907Alex Gilgur
 
Numerical analysis using Scilab: Numerical stability and conditioning
Numerical analysis using Scilab: Numerical stability and conditioningNumerical analysis using Scilab: Numerical stability and conditioning
Numerical analysis using Scilab: Numerical stability and conditioningScilab
 
Churn Analysis in Telecom Industry
Churn Analysis in Telecom IndustryChurn Analysis in Telecom Industry
Churn Analysis in Telecom IndustrySatyam Barsaiyan
 
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...Naoki Shibata
 
Matlab example questions
Matlab example questionsMatlab example questions
Matlab example questionsBirukTigistu
 
C Programing Arithmetic Operators.ppt
C Programing Arithmetic Operators.pptC Programing Arithmetic Operators.ppt
C Programing Arithmetic Operators.pptGAURAVNAUTIYAL19
 
Quant-Report-Final.pdf
Quant-Report-Final.pdfQuant-Report-Final.pdf
Quant-Report-Final.pdfMDKHALID57
 
IRJET - Design of a Low Power Serial- Parallel Multiplier with Low Transition...
IRJET - Design of a Low Power Serial- Parallel Multiplier with Low Transition...IRJET - Design of a Low Power Serial- Parallel Multiplier with Low Transition...
IRJET - Design of a Low Power Serial- Parallel Multiplier with Low Transition...IRJET Journal
 
Economic Dispatch of Generated Power Using Modified Lambda-Iteration Method
Economic Dispatch of Generated Power Using Modified Lambda-Iteration MethodEconomic Dispatch of Generated Power Using Modified Lambda-Iteration Method
Economic Dispatch of Generated Power Using Modified Lambda-Iteration MethodIOSR Journals
 
Intro To C++ - Cass 11 - Converting between types, formatting floating point,...
Intro To C++ - Cass 11 - Converting between types, formatting floating point,...Intro To C++ - Cass 11 - Converting between types, formatting floating point,...
Intro To C++ - Cass 11 - Converting between types, formatting floating point,...Blue Elephant Consulting
 
Intro To C++ - Class 11 - Converting between types, formatting floating point...
Intro To C++ - Class 11 - Converting between types, formatting floating point...Intro To C++ - Class 11 - Converting between types, formatting floating point...
Intro To C++ - Class 11 - Converting between types, formatting floating point...Blue Elephant Consulting
 
Lecture 01 - Introduction and Review.ppt
Lecture 01 - Introduction and Review.pptLecture 01 - Introduction and Review.ppt
Lecture 01 - Introduction and Review.pptMaiGaafar
 
Dynamic programming prasintation eaisy
Dynamic programming prasintation eaisyDynamic programming prasintation eaisy
Dynamic programming prasintation eaisyahmed51236
 

Similar to Help With Digital Communication Project (20)

Numerical analysis using Scilab: Error analysis and propagation
Numerical analysis using Scilab: Error analysis and propagationNumerical analysis using Scilab: Error analysis and propagation
Numerical analysis using Scilab: Error analysis and propagation
 
IRJET- Comparison for Max-Flow Min-Cut Algorithms for Optimal Assignment Problem
IRJET- Comparison for Max-Flow Min-Cut Algorithms for Optimal Assignment ProblemIRJET- Comparison for Max-Flow Min-Cut Algorithms for Optimal Assignment Problem
IRJET- Comparison for Max-Flow Min-Cut Algorithms for Optimal Assignment Problem
 
Erlang capacity for_connections_cmg_1907
Erlang capacity for_connections_cmg_1907Erlang capacity for_connections_cmg_1907
Erlang capacity for_connections_cmg_1907
 
Numerical analysis using Scilab: Numerical stability and conditioning
Numerical analysis using Scilab: Numerical stability and conditioningNumerical analysis using Scilab: Numerical stability and conditioning
Numerical analysis using Scilab: Numerical stability and conditioning
 
Churn Analysis in Telecom Industry
Churn Analysis in Telecom IndustryChurn Analysis in Telecom Industry
Churn Analysis in Telecom Industry
 
03b loops
03b   loops03b   loops
03b loops
 
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
 
Matlab example questions
Matlab example questionsMatlab example questions
Matlab example questions
 
C Programing Arithmetic Operators.ppt
C Programing Arithmetic Operators.pptC Programing Arithmetic Operators.ppt
C Programing Arithmetic Operators.ppt
 
numerical analysis
numerical analysisnumerical analysis
numerical analysis
 
Quant-Report-Final.pdf
Quant-Report-Final.pdfQuant-Report-Final.pdf
Quant-Report-Final.pdf
 
Using matlab simulink
Using matlab simulinkUsing matlab simulink
Using matlab simulink
 
Using matlab simulink
Using matlab simulinkUsing matlab simulink
Using matlab simulink
 
IRJET - Design of a Low Power Serial- Parallel Multiplier with Low Transition...
IRJET - Design of a Low Power Serial- Parallel Multiplier with Low Transition...IRJET - Design of a Low Power Serial- Parallel Multiplier with Low Transition...
IRJET - Design of a Low Power Serial- Parallel Multiplier with Low Transition...
 
Economic Dispatch of Generated Power Using Modified Lambda-Iteration Method
Economic Dispatch of Generated Power Using Modified Lambda-Iteration MethodEconomic Dispatch of Generated Power Using Modified Lambda-Iteration Method
Economic Dispatch of Generated Power Using Modified Lambda-Iteration Method
 
MidTerm memo
MidTerm memoMidTerm memo
MidTerm memo
 
Intro To C++ - Cass 11 - Converting between types, formatting floating point,...
Intro To C++ - Cass 11 - Converting between types, formatting floating point,...Intro To C++ - Cass 11 - Converting between types, formatting floating point,...
Intro To C++ - Cass 11 - Converting between types, formatting floating point,...
 
Intro To C++ - Class 11 - Converting between types, formatting floating point...
Intro To C++ - Class 11 - Converting between types, formatting floating point...Intro To C++ - Class 11 - Converting between types, formatting floating point...
Intro To C++ - Class 11 - Converting between types, formatting floating point...
 
Lecture 01 - Introduction and Review.ppt
Lecture 01 - Introduction and Review.pptLecture 01 - Introduction and Review.ppt
Lecture 01 - Introduction and Review.ppt
 
Dynamic programming prasintation eaisy
Dynamic programming prasintation eaisyDynamic programming prasintation eaisy
Dynamic programming prasintation eaisy
 

More from Assignmentpedia

Transmitter side components
Transmitter side componentsTransmitter side components
Transmitter side componentsAssignmentpedia
 
Single object range detection
Single object range detectionSingle object range detection
Single object range detectionAssignmentpedia
 
Sequential radar tracking
Sequential radar trackingSequential radar tracking
Sequential radar trackingAssignmentpedia
 
Radar cross section project
Radar cross section projectRadar cross section project
Radar cross section projectAssignmentpedia
 
Radar application project help
Radar application project helpRadar application project help
Radar application project helpAssignmentpedia
 
Parallel computing homework help
Parallel computing homework helpParallel computing homework help
Parallel computing homework helpAssignmentpedia
 
Network costing analysis
Network costing analysisNetwork costing analysis
Network costing analysisAssignmentpedia
 
Matlab simulation project
Matlab simulation projectMatlab simulation project
Matlab simulation projectAssignmentpedia
 
Matlab programming project
Matlab programming projectMatlab programming project
Matlab programming projectAssignmentpedia
 
Image processing project using matlab
Image processing project using matlabImage processing project using matlab
Image processing project using matlabAssignmentpedia
 
Help with root locus homework1
Help with root locus homework1Help with root locus homework1
Help with root locus homework1Assignmentpedia
 
Computer Networks Homework Help
Computer Networks Homework HelpComputer Networks Homework Help
Computer Networks Homework HelpAssignmentpedia
 
Theory of computation homework help
Theory of computation homework helpTheory of computation homework help
Theory of computation homework helpAssignmentpedia
 
Econometrics Homework Help
Econometrics Homework HelpEconometrics Homework Help
Econometrics Homework HelpAssignmentpedia
 

More from Assignmentpedia (20)

Transmitter side components
Transmitter side componentsTransmitter side components
Transmitter side components
 
Single object range detection
Single object range detectionSingle object range detection
Single object range detection
 
Sequential radar tracking
Sequential radar trackingSequential radar tracking
Sequential radar tracking
 
Resolution project
Resolution projectResolution project
Resolution project
 
Radar cross section project
Radar cross section projectRadar cross section project
Radar cross section project
 
Radar application project help
Radar application project helpRadar application project help
Radar application project help
 
Parallel computing homework help
Parallel computing homework helpParallel computing homework help
Parallel computing homework help
 
Network costing analysis
Network costing analysisNetwork costing analysis
Network costing analysis
 
Matlab simulation project
Matlab simulation projectMatlab simulation project
Matlab simulation project
 
Matlab programming project
Matlab programming projectMatlab programming project
Matlab programming project
 
Links design
Links designLinks design
Links design
 
Image processing project using matlab
Image processing project using matlabImage processing project using matlab
Image processing project using matlab
 
Help with root locus homework1
Help with root locus homework1Help with root locus homework1
Help with root locus homework1
 
Transmitter subsystem
Transmitter subsystemTransmitter subsystem
Transmitter subsystem
 
Computer Networks Homework Help
Computer Networks Homework HelpComputer Networks Homework Help
Computer Networks Homework Help
 
Theory of computation homework help
Theory of computation homework helpTheory of computation homework help
Theory of computation homework help
 
Econometrics Homework Help
Econometrics Homework HelpEconometrics Homework Help
Econometrics Homework Help
 
Video Codec
Video CodecVideo Codec
Video Codec
 
Radar Spectral Analysis
Radar Spectral AnalysisRadar Spectral Analysis
Radar Spectral Analysis
 
Pi Controller
Pi ControllerPi Controller
Pi Controller
 

Recently uploaded

ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationAadityaSharma884161
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 

Recently uploaded (20)

ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint Presentation
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 

Help With Digital Communication Project

  • 1. DIGITAL COMMUNICATION USING MATLAB Our online Tutors are available 24*7 to provide Help with Digital Communication Homework/Assignment or a long term Graduate/Undergraduate Digital Communication Project. Our Tutors being experienced and proficient in Digital Communication ensure to provide high quality Digital Communication Homework Help. Upload your Digital Communication Assignment at ‘Submit Your Assignment’ button or email it to info@assignmentpedia.com. You can use our ‘Live Chat’ option to schedule an Online Tutoring session with our Digital Communication Tutors. MULTI FEEDBACK SIGMA DELTA MODULATOR This sample assignment shows A fairly hardware exact simulation of a multi-feedback SDM MFB_SDM_4.m %Multi-feedback SDM %this is a simulation of a multi feedback SDM where we look at the noise %generated after a lengthy simulation time. The inputs are the fraction we %are trying to synthesize, and the number of bits for the accumulators. %this is a case with fixed feedback gains of 1. %The values in the accumulators are all positive, there is a translation %from the inputs and outputs so we do not deal with negative values in %these registers. %The output is from -4 to +4, for example an accumulator value from 0 to %(1/9)*2^AccumulatorSize would become -4 and from (8/9)*2^AccumulatorSize to the %max value would be +4 %Adding dither fixes the issues at fractional amounts such as 0.5 but it %appears if you simply do 0.50001 the thing works ok, simplest is to program in %a little offset to any frequency you want, then you don't have to have a %hardware solution. Should check with Monte Carlo simulation. %The system is as follows; % Fraction => Subtract => Accumulate1 => Subtract => Accumulate2 => Subtract => Accumulate3 => Quantize => Divider % ^ ^ ^ | % |_________________________|___________________________|_________________________| %In steady state the outputs of the accumulators should equal the fraction %value. In this simulation the quantizer does not provide feedback until a limit %is reached, so the error output of the accumulators grows before feedback %contains it. %The error from accumulator 1 changes at a roughly linear rate, accumulator %2 error changes at roughly an error^2 rate, and accumulator 3 is roughly an error^3 rate. The %large swing this causes in the error out of accumulator 3 causes the
  • 2. %quantizer to cover most of it's output values. The low gain quantized feedback to %the 3 subtraction points keeps the system constrained. %The number on the busses that connect the accumulators represents the %fraction we want. Whatever number we enter for the fraction into the first %accumulator is the number that should occur on all the busses. This is %what would happen if there were continuous feedback, but in this case the %quantizer is a gateway that allows feedback only when specific points are reached. %The -4 to +4 on the output is mapped into equal regions of the number on %the bus. For example if we have a bus of 27 bits, then the possible %values on the bus are 0 to 2^27-1. We break this into 9 equal regions of %width BinSize, calculated below. 0 to BinSize represents -4, BinSize to %2*BinSize = -3, and so on. We calculate the desired fraction in terms of 2^27 % as shown for FractionalInternal. This is our desired fraction converted % to our Bus value. %My hypothesis is that the 3rd order SDM allows for finer resolution of %small errors. The larger swings gives more granularity for discerning %small differences in error. Simulations show no real improvement in close %in noise sidebands if the order is increased higher than 3rd order. % %The accumulators are made 1 bit larger than the bus to ensure no overflow %occurs, in any case there is a check for overflow. %1/29/2013 added better plot system and description %1/29/2013 changed the quantization mapping clear BusSize=28; %bits NumberSamples=2^16; BinSize=floor(2^BusSize/9); Fraction=.5501; %usable -2.5 to +2.5 FractionInternal=2^BusSize*4.5/9 + floor(BinSize*Fraction); AccumulatorBits=BusSize+1 ; %bits AccumulatorSize=2^AccumulatorBits; Y1(1:NumberSamples)=0;%feedback internally U1_1(1:NumberSamples)=0;%First accumulator output Y2(1:NumberSamples)=0;%feedback internally U1_2(1:NumberSamples)=0;%First accumulator output U2_2(1:NumberSamples)=0;%Second accumulator output Y3(1:NumberSamples)=0;%feedback internally U1_3(1:NumberSamples)=0;%First accumulator output U2_3(1:NumberSamples)=0;%Second accumulator output U3_3(1:NumberSamples)=0;%Third accumulator output
  • 3. Yout1(1:NumberSamples)=0;%output to the divider for 1 stage SDM Yout2(1:NumberSamples)=0;%output to the divider for 2 stage SDM Yout3(1:NumberSamples)=0;%output to the divider for 3 stage SDM for index=2:NumberSamples if U1_1(index-1)>=8*BinSize Yout1(index)=4; elseif U1_1(index-1)>=7*BinSize Yout1(index)=3; elseif U1_1(index-1)>=6*BinSize Yout1(index)=2; elseif U1_1(index-1)>=5*BinSize Yout1(index)=1; elseif U1_1(index-1)>=4*BinSize Yout1(index)=0; elseif U1_1(index-1)>=3*BinSize Yout1(index)=-1; elseif U1_1(index-1)>=2*BinSize Yout1(index)=-2; elseif U1_1(index-1)>=1*BinSize Yout1(index)=-3; else Yout1(index)=-4; end Y1(index)=(Yout1(index)+4.5)*BinSize; U1_1(index)=FractionInternal-Y1(index)+U1_1(index-1); if U2_2(index-1)>=8*BinSize Yout2(index)=4; elseif U2_2(index-1)>=7*BinSize Yout2(index)=3; elseif U2_2(index-1)>=6*BinSize Yout2(index)=2; elseif U2_2(index-1)>=5*BinSize Yout2(index)=1; elseif U2_2(index-1)>=4*BinSize Yout2(index)=0; elseif U2_2(index-1)>=3*BinSize Yout2(index)=-1; elseif U2_2(index-1)>=2*BinSize Yout2(index)=-2; elseif U2_2(index-1)>=1*BinSize Yout2(index)=-3; else Yout2(index)=-4; end Y2(index)=(Yout2(index)+4.5)*BinSize; U1_2(index)=FractionInternal-Y2(index)+U1_2(index-1);
  • 4. U2_2(index)=U1_2(index) -Y2(index)+U2_2(index-1); if U2_3(index-1)>=8*BinSize Yout3(index)=4; elseif U3_3(index-1)>=7*BinSize Yout3(index)=3; elseif U3_3(index-1)>=6*BinSize Yout3(index)=2; elseif U3_3(index-1)>=5*BinSize Yout3(index)=1; elseif U3_3(index-1)>=4*BinSize Yout3(index)=0; elseif U3_3(index-1)>=3*BinSize Yout3(index)=-1; elseif U3_3(index-1)>=2*BinSize Yout3(index)=-2; elseif U3_3(index-1)>=1*BinSize Yout3(index)=-3; else Yout3(index)=-4; end Y3(index)=(Yout3(index)+4.5)*BinSize; U1_3(index)=FractionInternal-Y3(index)+U1_3(index-1); U2_3(index)=U1_3(index) -Y3(index)+U2_3(index-1); U3_3(index)=U2_3(index) -Y3(index)+U3_3(index-1); end if max(U1_1)>AccumulatorSize fprintf('nerror in U1_1n') end if max(U1_2)>AccumulatorSize fprintf('nerror in U1_2n') end if max(U1_3)>AccumulatorSize fprintf('nerror in U1_3n') end if max(U2_2)>AccumulatorSize fprintf('nerror in U2_2n') end if max(U2_3)>AccumulatorSize fprintf('nerror in U2_3n') end if max(U3_3)>AccumulatorSize fprintf('nerror in U3_3n') end MeanFrac=mean(Yout3); fprintf('nMeanFracMFB= %1.4fn',MeanFrac) figure(2) SignalFreq1=20*log10(abs(fft(Yout1)));
  • 5. plot(fftshift(SignalFreq1)-max(SignalFreq1),'g') hold on grid on axis([0 NumberSamples -150 0]); SignalFreq2=20*log10(abs(fft(Yout2))); SignalFreq3=20*log10(abs(fft(Yout3))); plot(fftshift(SignalFreq2)-max(SignalFreq2),'r') plot(fftshift(SignalFreq3)-max(SignalFreq3),'b') legend('1 stage','2 stage','3 stage') title('MFB SDM Noise') hold off visit us at www.assignmentpedia.com or email us at info@assignmentpedia.com or call us at +1 520 8371215