SlideShare a Scribd company logo
1 of 26
1 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• Finite register lengths and A/D converters
cause errors in:-
(i) Input quantisation.
(ii) Coefficient (or multiplier)
quantisation
(iii) Products of multiplication truncated
or rounded due to machine length
2 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• Quantisation
Q
Output
Input
2
)(
2
,
Q
ke
Q
oi ≤≤−
)(kei
)(keo
3 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• The pdf for e using rounding
• Noise power
or
2
Q
−
2
Q
Q
1
∫ ==
−
2
2
222
}{).(
Q
Q
eEdeepeσ
12
2
2 Q
=σ
4 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• Let input signal be sinusoidal of unity
amplitude. Then total signal power
• If b bits used for binary then
so that
• Hence
or dB
2
1
=P
b
Q 22=
32 22 b−
=σ
b
P 22
2.
2
3 +
=σ
b68.1SNR +=
5 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• Consider a simple example of finite
precision on the coefficients a,b of second
order system with poles
• where
21
1
1
)( −−
+−
=
bzaz
zH
θ
ρ j
e±
221
..cos21
1
)( −−
+−
=
zz
zH
ρθρ
2
ρ=bθρ cos2=a
6 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
•
bit pattern
000 0 0
001 0.125 0.354
010 0.25 0.5
011 0.375 0.611
100 0.5 0.707
101 0.625 0.791
110 0.75 0.866
111 0.875 0.935
1.0 1.0 1.0
2
,cos2 ρθρ ρ
7 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• Finite wordlength computations
+
INPUT OUTPUT
+
+
8 Professor A G Constantinides
Limit-cycles; "Effective Pole"Limit-cycles; "Effective Pole"
Model; DeadbandModel; Deadband
• Observe that for
• instability occurs when
• i.e. poles are
• (i) either on unit circle when complex
• (ii) or one real pole is outside unit
circle.
• Instability under the "effective pole" model
is considered as follows
)1(
1)( 2
2
1
1
−−
++
=
zbzb
zH
12 →b
9 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• In the time domain with
•
• With for instability we have
indistinguishable from
• Where is quantisation
)(
)()(
zX
zYzH =
)2()1()()( 21 −−−−= nybnybnxny
12 →b
[ ])2(2 −nybQ )2( −ny
[ ]⋅Q
10 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• With rounding, therefore we have
are indistinguishable (for integers)
or
• Hence
• With both positive and negative numbers
5.0)2(2 ±−nyb )2( −ny
)2(5.0)2(2 −=±− nynyb
21
5.0
)2(
b
ny
−
±
=−
21
5.0
)2(
b
ny
−
±
=−
11 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• The range of integers
constitutes a set of integers that cannot be
individually distinguished as separate or from the
asymptotic system behaviour.
• The band of integers
is known as the "deadband".
• In the second order system, under rounding, the
output assumes a cyclic set of values of the
deadband. This is a limit-cycle.
21
5.0
b−
±






−
+
−
−
22 1
5.0
,
1
5.0
bb
12 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• Consider the transfer function
• if poles are complex then impulse response
is given by
)1(
1)( 2
2
1
1
−−
++
=
zbzb
zG
2211 −− −−= kkkk ybybxy
kh
[ ]θ
θ
ρ
)1(sin.
sin
+= kh
k
k
13 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• Where
• If then the response is sinusiodal
with frequency
• Thus product quantisation causes instability
implying an "effective “ .
2b=ρ 




−
= −
2
11
2
cos
b
b
θ
12 =b




−
= −
2
cos
1 11 b
T
ω
12 =b
14 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• Consider infinite precision computations for
21 9.0 −− −+= kkkk yyxy
0;0
100
≠=
=
kx
x
k
-10 -5 0 5 10
-10
-8
-6
-4
-2
0
2
4
6
8
10
15 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• Now the same operation with integer
precision
-10 -5 0 5 10
-10
-8
-6
-4
-2
0
2
4
6
8
10
16 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• Notice that with infinite precision the
response converges to the origin
• With finite precision the reponse does not
converge to the origin but assumes
cyclically a set of values –the Limit Cycle
17 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• Assume , ….. are not
correlated, random processes etc.
Hence total output noise power
• Where and
{ })(1 ke { })(2 ke
∑=
∞
=0
222
0 )(
k
iei khσσ
12
2
2 Q
e =σ
[ ]
∑
+
=+=
∞
=
−
0
2
2
2
2
2
02
2
01
2
0
sin
)1(sin
.
12
2
.2
k
k
b
k
θ
θ
ρσσσ
b
Q −
= 2
[ ] 0;
sin
)1(sin
.)()( 21 ≥
+
== k
k
khkh k
θ
θ
ρ
18 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• ie






−+−
+
=
−
θρρρ
ρ
σ
2cos21
1
.
1
1
6
2
242
22
2
0
b
19 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• For FFT
A(n)
B(n)
B(n+1)
B(n+1)-
A(n)
B(n+1)
B(n)W(n)B(n)
A(n+1)
)().()()1(
)().()()1(
nBnWnAnB
nBnWnAnA
−=+
+=+
W(n)
20 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• FFT
• AVERAGE GROWTH: 1/2 BIT/PASS
2)1()1(
22
=+++ nBnA
)(2)(
)(2)1(
22
nAnA
nAnA
=
=+
21 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• FFT
• PEAK GROWTH: 1.21.. BITS/PASS
IMAG
REAL
1.0
1.0
-1.0
-1.0
....414.2)()(0.1
)(
)1(
)()()()()()1(
)()()()()()1(
=−+<
+
−+<+
−+=+
nSnC
nA
nA
nSnBnCnBnAnA
nSnBnCnBnAnA
x
x
yxxx
yxxx
22 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• Linear modelling of product quantisation
• Modelled as
x(n) )(~ nx
x(n)
q(n)
+ )()()(~ nqnxnx +=
[ ]⋅Q
23 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• For rounding operations q(n) is uniform
distributed between , and where Q is
the quantisation step (i.e. in a wordlength of
bits with sign magnitude representation or
mod 2, ).
• A discrete-time system with quantisation at
the output of each multiplier may be
considered as a multi-input linear system
2
Q
−
2
Q
b
Q −
= 2
24 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• Then
• where is the impulse response of the
system from the output of the multiplier
to y(n).
h(n)
)()...()...( 21 nqnqnq p
{ })(nx { })(ny
∑ 



∑ −+∑ −=
=
∞
=
∞
=
p
rr
rnhrqrnhrxny
1 00
)().()().()(
λ
λλ
)(nhλ
λ
25 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• For zero input i.e. we can write
• where is the maximum of
which is not more than
• ie
nnx ∀= ,0)(
∑ ∑ −≤
=
∞
=
p
r
rnhqny
1 0
)(.ˆ)(
λ
λλ
λqˆ rrq ,,)( λλ ∀
2
Q
∑ 



∑ −≤
=
∞
=
p
n
rnh
Q
ny
1 0
)(.
2
)(
λ
λ
26 Professor A G Constantinides
Finite Wordlength EffectsFinite Wordlength Effects
• However
• And hence
• ie we can estimate the maximum swing at
the output from the system parameters and
quantisation level
∑ ∑≤
∞
=
∞
=0 0
)()(
n n
nhnhλ
∑≤
∞
=0
)(.
2
)(
n
nh
pQ
ny

More Related Content

What's hot

Robust control design with matlab®, 2e
Robust control design with matlab®, 2eRobust control design with matlab®, 2e
Robust control design with matlab®, 2e
Springer
 

What's hot (20)

Message Passing
Message PassingMessage Passing
Message Passing
 
Effect of gauss doping profile on electric potential of p-n diode
Effect of gauss doping profile on electric potential of p-n diodeEffect of gauss doping profile on electric potential of p-n diode
Effect of gauss doping profile on electric potential of p-n diode
 
Multiple Choice Questions on Frequency Response Analysis
Multiple Choice Questions on Frequency Response AnalysisMultiple Choice Questions on Frequency Response Analysis
Multiple Choice Questions on Frequency Response Analysis
 
A Fast Implicit Gaussian Curvature Filter
A Fast Implicit Gaussian Curvature FilterA Fast Implicit Gaussian Curvature Filter
A Fast Implicit Gaussian Curvature Filter
 
電路學 - [第八章] 磁耦合電路
電路學 - [第八章] 磁耦合電路電路學 - [第八章] 磁耦合電路
電路學 - [第八章] 磁耦合電路
 
Pilot Optimization and Channel Estimation for Multiuser Massive MIMO Systems
Pilot Optimization and Channel Estimation for Multiuser Massive MIMO SystemsPilot Optimization and Channel Estimation for Multiuser Massive MIMO Systems
Pilot Optimization and Channel Estimation for Multiuser Massive MIMO Systems
 
Robust control design with matlab®, 2e
Robust control design with matlab®, 2eRobust control design with matlab®, 2e
Robust control design with matlab®, 2e
 
OPTIMIZED RATE ALLOCATION OF HYPERSPECTRAL IMAGES IN COMPRESSED DOMAIN USING ...
OPTIMIZED RATE ALLOCATION OF HYPERSPECTRAL IMAGES IN COMPRESSED DOMAIN USING ...OPTIMIZED RATE ALLOCATION OF HYPERSPECTRAL IMAGES IN COMPRESSED DOMAIN USING ...
OPTIMIZED RATE ALLOCATION OF HYPERSPECTRAL IMAGES IN COMPRESSED DOMAIN USING ...
 
Ilhabela
IlhabelaIlhabela
Ilhabela
 
Presentation swith 9_7_13
Presentation swith 9_7_13Presentation swith 9_7_13
Presentation swith 9_7_13
 
Mathematical Modelling of Electrical/Mechanical modellinng in MATLAB
Mathematical Modelling of Electrical/Mechanical modellinng in MATLABMathematical Modelling of Electrical/Mechanical modellinng in MATLAB
Mathematical Modelling of Electrical/Mechanical modellinng in MATLAB
 
Transceiver design for single-cell and multi-cell downlink multiuser MIMO sys...
Transceiver design for single-cell and multi-cell downlink multiuser MIMO sys...Transceiver design for single-cell and multi-cell downlink multiuser MIMO sys...
Transceiver design for single-cell and multi-cell downlink multiuser MIMO sys...
 
Asynchronous Differential Distributed Space-Time Coding
Asynchronous Differential Distributed Space-Time CodingAsynchronous Differential Distributed Space-Time Coding
Asynchronous Differential Distributed Space-Time Coding
 
Fdtd ppt for mine
Fdtd ppt   for mineFdtd ppt   for mine
Fdtd ppt for mine
 
Paolo Creminelli "Dark Energy after GW170817"
Paolo Creminelli "Dark Energy after GW170817"Paolo Creminelli "Dark Energy after GW170817"
Paolo Creminelli "Dark Energy after GW170817"
 
Analysis of Electro-Mechanical System
Analysis of Electro-Mechanical SystemAnalysis of Electro-Mechanical System
Analysis of Electro-Mechanical System
 
Latency Performance of Encoding with Random Linear Network Coding
Latency Performance of Encoding with Random Linear Network CodingLatency Performance of Encoding with Random Linear Network Coding
Latency Performance of Encoding with Random Linear Network Coding
 
577hw2s
577hw2s577hw2s
577hw2s
 
fast-matmul-ppopp2015
fast-matmul-ppopp2015fast-matmul-ppopp2015
fast-matmul-ppopp2015
 
ADA - Minimum Spanning Tree Prim Kruskal and Dijkstra
ADA - Minimum Spanning Tree Prim Kruskal and Dijkstra ADA - Minimum Spanning Tree Prim Kruskal and Dijkstra
ADA - Minimum Spanning Tree Prim Kruskal and Dijkstra
 

Similar to 1 finite wordlength

Similar to 1 finite wordlength (20)

Multiband Transceivers - [Chapter 1]
Multiband Transceivers - [Chapter 1] Multiband Transceivers - [Chapter 1]
Multiband Transceivers - [Chapter 1]
 
RF Module Design - [Chapter 1] From Basics to RF Transceivers
RF Module Design - [Chapter 1] From Basics to RF TransceiversRF Module Design - [Chapter 1] From Basics to RF Transceivers
RF Module Design - [Chapter 1] From Basics to RF Transceivers
 
射頻電子 - [第一章] 知識回顧與通訊系統簡介
射頻電子 - [第一章] 知識回顧與通訊系統簡介射頻電子 - [第一章] 知識回顧與通訊系統簡介
射頻電子 - [第一章] 知識回顧與通訊系統簡介
 
6-Digital filters (FIR).ppt
6-Digital filters (FIR).ppt6-Digital filters (FIR).ppt
6-Digital filters (FIR).ppt
 
Positive and negative solutions of a boundary value problem for a fractional ...
Positive and negative solutions of a boundary value problem for a fractional ...Positive and negative solutions of a boundary value problem for a fractional ...
Positive and negative solutions of a boundary value problem for a fractional ...
 
DAA_LECT_2.pdf
DAA_LECT_2.pdfDAA_LECT_2.pdf
DAA_LECT_2.pdf
 
Introduction, concepts, and mathematics of IIR filters.ppt
Introduction, concepts, and mathematics of IIR filters.pptIntroduction, concepts, and mathematics of IIR filters.ppt
Introduction, concepts, and mathematics of IIR filters.ppt
 
Sjhddhdjdkdkkdkdkfjdjdksksnsnsh hdhd.pdf
Sjhddhdjdkdkkdkdkfjdjdksksnsnsh hdhd.pdfSjhddhdjdkdkkdkdkfjdjdksksnsnsh hdhd.pdf
Sjhddhdjdkdkkdkdkfjdjdksksnsnsh hdhd.pdf
 
bode plot.pptx
bode plot.pptxbode plot.pptx
bode plot.pptx
 
RF Module Design - [Chapter 7] Voltage-Controlled Oscillator
RF Module Design - [Chapter 7] Voltage-Controlled OscillatorRF Module Design - [Chapter 7] Voltage-Controlled Oscillator
RF Module Design - [Chapter 7] Voltage-Controlled Oscillator
 
controllers ITS TYPES AND CLASSIFICATION BASED ON APPLICATION
controllers ITS TYPES AND CLASSIFICATION BASED ON APPLICATIONcontrollers ITS TYPES AND CLASSIFICATION BASED ON APPLICATION
controllers ITS TYPES AND CLASSIFICATION BASED ON APPLICATION
 
RF Module Design - [Chapter 5] Low Noise Amplifier
RF Module Design - [Chapter 5]  Low Noise AmplifierRF Module Design - [Chapter 5]  Low Noise Amplifier
RF Module Design - [Chapter 5] Low Noise Amplifier
 
2018 MUMS Fall Course - Mathematical surrogate and reduced-order models - Ral...
2018 MUMS Fall Course - Mathematical surrogate and reduced-order models - Ral...2018 MUMS Fall Course - Mathematical surrogate and reduced-order models - Ral...
2018 MUMS Fall Course - Mathematical surrogate and reduced-order models - Ral...
 
frequency responce.ppt
frequency responce.pptfrequency responce.ppt
frequency responce.ppt
 
Ph ddefence
Ph ddefencePh ddefence
Ph ddefence
 
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
 
"Mesh of Periodic Minimal Surfaces in CGAL."
"Mesh of Periodic Minimal Surfaces in CGAL.""Mesh of Periodic Minimal Surfaces in CGAL."
"Mesh of Periodic Minimal Surfaces in CGAL."
 
Phase diagram at finite T & Mu in strong coupling limit of lattice QCD
Phase diagram at finite T & Mu in strong coupling limit of lattice QCDPhase diagram at finite T & Mu in strong coupling limit of lattice QCD
Phase diagram at finite T & Mu in strong coupling limit of lattice QCD
 
Asymptotic Notation
Asymptotic NotationAsymptotic Notation
Asymptotic Notation
 
射頻電子 - [第六章] 低雜訊放大器設計
射頻電子 - [第六章] 低雜訊放大器設計射頻電子 - [第六章] 低雜訊放大器設計
射頻電子 - [第六章] 低雜訊放大器設計
 

More from Naatchammai Ramanathan

Workshop for partners_on_the_reporting_process_07.03.2014
Workshop for partners_on_the_reporting_process_07.03.2014Workshop for partners_on_the_reporting_process_07.03.2014
Workshop for partners_on_the_reporting_process_07.03.2014
Naatchammai Ramanathan
 

More from Naatchammai Ramanathan (20)

Why english club
Why english club Why english club
Why english club
 
Spoken bbc
Spoken bbcSpoken bbc
Spoken bbc
 
Non-material heritage
Non-material heritageNon-material heritage
Non-material heritage
 
Pronunciations of different words
Pronunciations of different wordsPronunciations of different words
Pronunciations of different words
 
Overdose of effective vocabs
Overdose of effective vocabsOverdose of effective vocabs
Overdose of effective vocabs
 
Designing a world class clasroom by naatchammai ramanathan
Designing a world class clasroom by naatchammai ramanathanDesigning a world class clasroom by naatchammai ramanathan
Designing a world class clasroom by naatchammai ramanathan
 
Mail merge
Mail mergeMail merge
Mail merge
 
Uniform assessment system
Uniform assessment system Uniform assessment system
Uniform assessment system
 
annual day script of a school 2019
annual day script of a school 2019annual day script of a school 2019
annual day script of a school 2019
 
Workshop for partners_on_the_reporting_process_07.03.2014
Workshop for partners_on_the_reporting_process_07.03.2014Workshop for partners_on_the_reporting_process_07.03.2014
Workshop for partners_on_the_reporting_process_07.03.2014
 
ad
adad
ad
 
Standardised ppt on revised model gst law
Standardised ppt on revised model gst lawStandardised ppt on revised model gst law
Standardised ppt on revised model gst law
 
manet
manet manet
manet
 
Personality development for english
Personality development for englishPersonality development for english
Personality development for english
 
Matlab
MatlabMatlab
Matlab
 
Lifi
Lifi Lifi
Lifi
 
Image processing-on-matlab-presentation-1
Image processing-on-matlab-presentation-1Image processing-on-matlab-presentation-1
Image processing-on-matlab-presentation-1
 
Gst ppt-taxguru
Gst ppt-taxguruGst ppt-taxguru
Gst ppt-taxguru
 
Gst personal
Gst   personalGst   personal
Gst personal
 
Deep sky astrophotography by naatchammai rm
Deep sky astrophotography by naatchammai rmDeep sky astrophotography by naatchammai rm
Deep sky astrophotography by naatchammai rm
 

Recently uploaded

result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
Tonystark477637
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 

1 finite wordlength

  • 1. 1 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • Finite register lengths and A/D converters cause errors in:- (i) Input quantisation. (ii) Coefficient (or multiplier) quantisation (iii) Products of multiplication truncated or rounded due to machine length
  • 2. 2 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • Quantisation Q Output Input 2 )( 2 , Q ke Q oi ≤≤− )(kei )(keo
  • 3. 3 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • The pdf for e using rounding • Noise power or 2 Q − 2 Q Q 1 ∫ == − 2 2 222 }{).( Q Q eEdeepeσ 12 2 2 Q =σ
  • 4. 4 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • Let input signal be sinusoidal of unity amplitude. Then total signal power • If b bits used for binary then so that • Hence or dB 2 1 =P b Q 22= 32 22 b− =σ b P 22 2. 2 3 + =σ b68.1SNR +=
  • 5. 5 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • Consider a simple example of finite precision on the coefficients a,b of second order system with poles • where 21 1 1 )( −− +− = bzaz zH θ ρ j e± 221 ..cos21 1 )( −− +− = zz zH ρθρ 2 ρ=bθρ cos2=a
  • 6. 6 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • bit pattern 000 0 0 001 0.125 0.354 010 0.25 0.5 011 0.375 0.611 100 0.5 0.707 101 0.625 0.791 110 0.75 0.866 111 0.875 0.935 1.0 1.0 1.0 2 ,cos2 ρθρ ρ
  • 7. 7 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • Finite wordlength computations + INPUT OUTPUT + +
  • 8. 8 Professor A G Constantinides Limit-cycles; "Effective Pole"Limit-cycles; "Effective Pole" Model; DeadbandModel; Deadband • Observe that for • instability occurs when • i.e. poles are • (i) either on unit circle when complex • (ii) or one real pole is outside unit circle. • Instability under the "effective pole" model is considered as follows )1( 1)( 2 2 1 1 −− ++ = zbzb zH 12 →b
  • 9. 9 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • In the time domain with • • With for instability we have indistinguishable from • Where is quantisation )( )()( zX zYzH = )2()1()()( 21 −−−−= nybnybnxny 12 →b [ ])2(2 −nybQ )2( −ny [ ]⋅Q
  • 10. 10 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • With rounding, therefore we have are indistinguishable (for integers) or • Hence • With both positive and negative numbers 5.0)2(2 ±−nyb )2( −ny )2(5.0)2(2 −=±− nynyb 21 5.0 )2( b ny − ± =− 21 5.0 )2( b ny − ± =−
  • 11. 11 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • The range of integers constitutes a set of integers that cannot be individually distinguished as separate or from the asymptotic system behaviour. • The band of integers is known as the "deadband". • In the second order system, under rounding, the output assumes a cyclic set of values of the deadband. This is a limit-cycle. 21 5.0 b− ±       − + − − 22 1 5.0 , 1 5.0 bb
  • 12. 12 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • Consider the transfer function • if poles are complex then impulse response is given by )1( 1)( 2 2 1 1 −− ++ = zbzb zG 2211 −− −−= kkkk ybybxy kh [ ]θ θ ρ )1(sin. sin += kh k k
  • 13. 13 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • Where • If then the response is sinusiodal with frequency • Thus product quantisation causes instability implying an "effective “ . 2b=ρ      − = − 2 11 2 cos b b θ 12 =b     − = − 2 cos 1 11 b T ω 12 =b
  • 14. 14 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • Consider infinite precision computations for 21 9.0 −− −+= kkkk yyxy 0;0 100 ≠= = kx x k -10 -5 0 5 10 -10 -8 -6 -4 -2 0 2 4 6 8 10
  • 15. 15 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • Now the same operation with integer precision -10 -5 0 5 10 -10 -8 -6 -4 -2 0 2 4 6 8 10
  • 16. 16 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • Notice that with infinite precision the response converges to the origin • With finite precision the reponse does not converge to the origin but assumes cyclically a set of values –the Limit Cycle
  • 17. 17 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • Assume , ….. are not correlated, random processes etc. Hence total output noise power • Where and { })(1 ke { })(2 ke ∑= ∞ =0 222 0 )( k iei khσσ 12 2 2 Q e =σ [ ] ∑ + =+= ∞ = − 0 2 2 2 2 2 02 2 01 2 0 sin )1(sin . 12 2 .2 k k b k θ θ ρσσσ b Q − = 2 [ ] 0; sin )1(sin .)()( 21 ≥ + == k k khkh k θ θ ρ
  • 18. 18 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • ie       −+− + = − θρρρ ρ σ 2cos21 1 . 1 1 6 2 242 22 2 0 b
  • 19. 19 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • For FFT A(n) B(n) B(n+1) B(n+1)- A(n) B(n+1) B(n)W(n)B(n) A(n+1) )().()()1( )().()()1( nBnWnAnB nBnWnAnA −=+ +=+ W(n)
  • 20. 20 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • FFT • AVERAGE GROWTH: 1/2 BIT/PASS 2)1()1( 22 =+++ nBnA )(2)( )(2)1( 22 nAnA nAnA = =+
  • 21. 21 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • FFT • PEAK GROWTH: 1.21.. BITS/PASS IMAG REAL 1.0 1.0 -1.0 -1.0 ....414.2)()(0.1 )( )1( )()()()()()1( )()()()()()1( =−+< + −+<+ −+=+ nSnC nA nA nSnBnCnBnAnA nSnBnCnBnAnA x x yxxx yxxx
  • 22. 22 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • Linear modelling of product quantisation • Modelled as x(n) )(~ nx x(n) q(n) + )()()(~ nqnxnx += [ ]⋅Q
  • 23. 23 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • For rounding operations q(n) is uniform distributed between , and where Q is the quantisation step (i.e. in a wordlength of bits with sign magnitude representation or mod 2, ). • A discrete-time system with quantisation at the output of each multiplier may be considered as a multi-input linear system 2 Q − 2 Q b Q − = 2
  • 24. 24 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • Then • where is the impulse response of the system from the output of the multiplier to y(n). h(n) )()...()...( 21 nqnqnq p { })(nx { })(ny ∑     ∑ −+∑ −= = ∞ = ∞ = p rr rnhrqrnhrxny 1 00 )().()().()( λ λλ )(nhλ λ
  • 25. 25 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • For zero input i.e. we can write • where is the maximum of which is not more than • ie nnx ∀= ,0)( ∑ ∑ −≤ = ∞ = p r rnhqny 1 0 )(.ˆ)( λ λλ λqˆ rrq ,,)( λλ ∀ 2 Q ∑     ∑ −≤ = ∞ = p n rnh Q ny 1 0 )(. 2 )( λ λ
  • 26. 26 Professor A G Constantinides Finite Wordlength EffectsFinite Wordlength Effects • However • And hence • ie we can estimate the maximum swing at the output from the system parameters and quantisation level ∑ ∑≤ ∞ = ∞ =0 0 )()( n n nhnhλ ∑≤ ∞ =0 )(. 2 )( n nh pQ ny