SlideShare a Scribd company logo
1 of 15
1
What is I/Q phase
Seoskeong Jeon
2
● Target
 For who are not familiar with physical layer (PHY) modulation and
demodulation
 Especially for computer science, networking people
● Objective
 To have basics and fundamentals of PHY knowledge
 To be able understand PHY and MAC cross-layer approach
● Note
 Some notations and statements are loosely defined
 Some numbers and factors are not scaled or normalized properly
Introduction
3
● Quadrature Phase Shift Keying (QPSK)
 “QPSK is a digital modulation scheme conveys data
by changing the phase of a reference signal”
 “I-phase contains 1-bit information, and Q-phase
contains 1-bit information, thus QPSK can
represent 2 bits in one symbol”
● Problem
 What the f**k are I and Q phase?
 And how are they related with amplitude and
phase?
- (Please do not get confused it with I/Q phase)
 How can we interpret a real world signal with I/Q?
Usage
- Gray code constellation
- Adjacent symbols have
only one different bit
- In most cases, noise and
fluctuation affect only
one bit in a symol
4
● QPSK should generate one of four shapes
● It is a point of view from a human
● Actually, current machine could not handle such phase offset
properly as a human does and system complexity becomes high
Transmitter (1/3)
Symbol Euqation Shape
00 sin(2𝜋𝑓𝑐 𝑡 +
5
4
𝜋)
01 sin(2𝜋𝑓𝑐 𝑡 +
3
4
𝜋)
11 sin(2𝜋𝑓𝑐 𝑡 +
1
4
𝜋)
10 sin(2𝜋𝑓𝑐 𝑡 +
7
4
𝜋)
5
● Mathematical fundamentals (high school)
sin 𝛼 ± 𝛽 = sin 𝛼 cos 𝛽 ± cos 𝛼 sin 𝛽
 Implies that “phase can be modulated by modulating amplitude of
each cosine and sine component”
 Recall the table
Transmitter (2/3)
Symbol Equation Equivalent
00 sin(2𝜋𝑓𝑐 𝑡 +
5
4
𝜋) sin
5
4
𝜋 cos 2𝜋𝑓𝑐 𝑡 + cos
5
4
𝜋 sin 2𝜋𝑓𝑐 𝑡
01 sin(2𝜋𝑓𝑐 𝑡 +
3
4
𝜋) sin
3
4
𝜋 cos 2𝜋𝑓𝑐 𝑡 + cos
3
4
𝜋 sin 2𝜋𝑓𝑐 𝑡
11 sin(2𝜋𝑓𝑐 𝑡 +
1
4
𝜋) sin
1
4
𝜋 cos 2𝜋𝑓𝑐 𝑡 + cos
1
4
𝜋 sin 2𝜋𝑓𝑐 𝑡
10 sin(2𝜋𝑓𝑐 𝑡 +
7
4
𝜋) sin
7
4
𝜋 cos 2𝜋𝑓𝑐 𝑡 + cos
7
4
𝜋 sin 2𝜋𝑓𝑐 𝑡
green: contains no phase offset
good for hardware
red = -0.707 < 0 (bit 0)
blue = 0.707 > 0 (bit 1)
6
● Human implementation (machine can’t)
● Real world implementation (simplified version)
Transmitter (3/3)
~ local oscillator
sin(2𝜋𝑓𝑐 𝑡)
multiplier yields ±Asin(2𝜋𝑓𝑐 𝑡)
𝜃
multiplier yields ±Acos(2𝜋𝑓𝑐 𝑡)
90 degree
phase shifter
cos(2𝜋𝑓𝑐 𝑡)
Q-phase symbol
A (1) or –A (0)
I-phase symbol
A (1) or –A (0)
adder yields
𝐴′sin(2𝜋𝑓𝑐 𝑡 +
𝑛
4
𝜋)
or
±A𝑐𝑜𝑠(2𝜋𝑓𝑐 𝑡) ± Asin(2𝜋𝑓𝑐 𝑡)
Phase shift according to
QPSK symbol
5/4pi (00), 3/4pi (01)
1/4pi (11), 7/4pi (10)
~local oscillator
sin(2𝜋𝑓𝑐 𝑡)
𝜃
QPSK symbol This part is not so easy
for machine
7
● In the previous, we learned that we can express:
sin 2𝜋𝑓𝑐 𝑡 +
𝑛
4
𝜋 , 𝑛 = 1,3,5,7
in another form:
A0 cos 2𝜋𝑓𝑐 𝑡 + 𝐴1 sin 2𝜋𝑓𝑐 𝑡
● Should we write A0 cos 2𝜋𝑓𝑐 𝑡 + 𝐴1 sin 2𝜋𝑓𝑐 𝑡 every time?
 No
● Suppose Cartesian coordinates and two vectors
 𝑣1 = 1,0 , 𝑣2 = (0,1)
 You can never get 𝑣2 from 𝑣1 by multiplying any number
 It is called orthogonal and orthogonality (in a loose manner) and
they are
Signal Space (1/2)
8
● The same applies to sine and cosine
 Then, sine and cosine can be axes and two spans the entire signal
space
 A0 cos 2𝜋𝑓𝑐 𝑡 + 𝐴1 sin 2𝜋𝑓𝑐 𝑡 can be expressed as (𝐴0, 𝐴1)
 Here, cosine is called in-phase axis and sine is called quadrature-
phase
● Another 2-D space: complex number
● (𝐴0, 𝐴1) can be interpreted as 𝐴0 + 𝒋𝐴1
● Advantage of the complex number representation
● Mathematical fundamentals (undergraduate, common)
𝐴0 + 𝑗𝐴1 = 𝐴0
2
+ 𝐴1
2
exp(𝑗 tanh−1
(𝐴1/𝐴0))
● Euler representation is widely used in EE (e.g., channel model, channel state
information, etc.)
● You can leave in the future
Signal Space (2/2)
𝐴0
𝐴1
tan−1(
𝐴1
𝐴0
)
9
● Mathematical fundamentals (undergraduate, EE)
sin 2𝜋𝑓𝑐 𝑡 =
exp 2𝜋𝑓𝑐 𝑡 − 𝑗exp(2𝜋𝑓𝑐 𝑡)
2
cos 2𝜋𝑓𝑐 𝑡 =
exp 2𝜋𝑓𝑐 𝑡 + 𝑗𝑒𝑥𝑝(2𝜋𝑓𝑐 𝑡)
2
 Their Fourier transform peaks at carrier frequency
Transmitter in Frequency Domain
0
Re
−𝑓𝑐 𝑓𝑐
cosine
0
Im
𝑓𝑐−𝑓𝑐
sine
10
● Applying local oscillator to baseband signal (I/Q symbol) moves
its band to carrier frequency
Transmitter in Frequency Domain
0
Re
baseband
signal
Frequency
0
Re
−𝑓𝑐 𝑓𝑐
apply cosine
0
Im
𝑓𝑐−𝑓𝑐
apply sine
11
● Objective
 Extract QPSK symbol from a signal at carrier frequency
● How?
 Same as transmitter
1. Measure phase offset and convert it into QPSK symbol
- Remember, for a human
2. Measure I and Q phase amplitude and map it into QPSK symbol
- It is a reverse of moving baseband to carrier frequency
Receiver
12
● Real world implementation (simplified version)
 Mathematical fundamentals (high school)
sin2(𝛼) =
1 − cos 2𝛼
2
, cos2 𝛼 =
1 + cos(2𝛼)
2
Receiver
~
multiplier yields
±A𝑐𝑜 𝑠 2𝜋𝑓𝑐 𝑡 sin(2𝜋𝑓𝑐 𝑡) ± Asin2(2𝜋𝑓𝑐 𝑡)
𝜃
multiplier yields
±A𝑐𝑜𝑠2(2𝜋𝑓𝑐 𝑡) ± Asin 2𝜋𝑓𝑐 𝑡 cos(2𝜋𝑓𝑐 𝑡)
Q-phase symbol
A (1) or –A (0)
I-phase symbol
A (1) or –A (0)
input from antenna
±A𝑐𝑜𝑠(2𝜋𝑓𝑐 𝑡) ± Asin(2𝜋𝑓𝑐 𝑡)
LPF
LPF
LPF removes all swing terms
and leaves only a constant term
13
Receiver Proof of Concept
● Red line is a super simple low pass filtered (average) signal
 Filtered signal < 0: bit 0
 Filtered signal > 0: bit 1
Transmitted and received signal apply sine and low pass filter apply cosine and low pass filter
14
Receiver in Frequency Domain
0
Re
I-phase
signal
I-phase
signal
−𝑓𝑐 𝑓𝑐
0
Re
−𝑓𝑐 2𝑓𝑐
Apply
low
pass
filter
here
−2𝑓𝑐
apply cosine
0
Im
Q-phase
signal
Q-phase
signal
−𝑓𝑐 𝑓𝑐
0
Re
−𝑓𝑐 2𝑓𝑐
Apply
low
pass
filter
here
−2𝑓𝑐
apply sine
15
● A real world signal has only amplitude and phase
● I/Q-phase and I/Q-plane is for machine
● References and materials
1. PSK/QPSK – Wikipedia https://en.wikipedia.org/wiki/Phase-shift_keying
2. Orthogonality – Wikipedia https://en.wikipedia.org/wiki/Orthogonality
3. Trigonometric functions/Relationship to exponential function and complex
numbers – Wikipedia
https://en.wikipedia.org/w/index.php?title=Trigonometric_functions&redirect=no
#Relationship_to_exponential_function_and_complex_numbers
4. Euler’s formula – Wikipedia https://en.wikipedia.org/wiki/Euler%27s_formula
5. Fourier transform of sine and cosine – Wolfram
http://mathworld.wolfram.com/FourierTransformSine.html,
http://mathworld.wolfram.com/FourierTransformCosine.html
6. Convolution theorem – Wikipedia
https://en.wikipedia.org/wiki/Convolution_theorem
7. Heterodyne – Wikipedia https://en.wikipedia.org/wiki/Heterodyne
8. Lecture 11: Signal space - MIT open course
http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-450-
principles-of-digital-communications-i-fall-2006/video-lectures/lecture-11-signal-
space/
Conclusion

More Related Content

What's hot

IIR filter design, Digital signal processing
IIR filter design, Digital signal processingIIR filter design, Digital signal processing
IIR filter design, Digital signal processingAbhishek Thakkar
 
An Introduction to Model Order Reduction
An Introduction to Model Order ReductionAn Introduction to Model Order Reduction
An Introduction to Model Order ReductionMohammad Umar Rehman
 
Frequency Response Techniques
Frequency Response TechniquesFrequency Response Techniques
Frequency Response TechniquesAwaisAli161
 
LAPLACE TRANSFORM (Differential Equation)
LAPLACE TRANSFORM (Differential Equation)LAPLACE TRANSFORM (Differential Equation)
LAPLACE TRANSFORM (Differential Equation)AfshanKhan51
 
Basics of Analogue Filters
Basics of Analogue FiltersBasics of Analogue Filters
Basics of Analogue Filtersop205
 
Design of infinite impulse response digital filters 2
Design of infinite impulse response digital filters 2Design of infinite impulse response digital filters 2
Design of infinite impulse response digital filters 2HIMANSHU DIWAKAR
 
Example of the Laplace Transform
Example of the Laplace TransformExample of the Laplace Transform
Example of the Laplace TransformDavid Parker
 
Lecture 10 11-signal_flow_graphs
Lecture 10 11-signal_flow_graphsLecture 10 11-signal_flow_graphs
Lecture 10 11-signal_flow_graphsSaifullah Memon
 
Meeting w3 chapter 2 part 1
Meeting w3   chapter 2 part 1Meeting w3   chapter 2 part 1
Meeting w3 chapter 2 part 1Hattori Sidek
 
Warping Concept (iir filters-bilinear transformation method)
Warping Concept  (iir filters-bilinear transformation method)Warping Concept  (iir filters-bilinear transformation method)
Warping Concept (iir filters-bilinear transformation method)ZunAib Ali
 
Block diagrams and signal flow graphs
Block diagrams and signal flow graphsBlock diagrams and signal flow graphs
Block diagrams and signal flow graphsHussain K
 
論文紹介 Probabilistic sfa for behavior analysis
論文紹介 Probabilistic sfa for behavior analysis論文紹介 Probabilistic sfa for behavior analysis
論文紹介 Probabilistic sfa for behavior analysisShuuji Mihara
 

What's hot (20)

1 bode plot
1 bode plot1 bode plot
1 bode plot
 
IIR filter design, Digital signal processing
IIR filter design, Digital signal processingIIR filter design, Digital signal processing
IIR filter design, Digital signal processing
 
An Introduction to Model Order Reduction
An Introduction to Model Order ReductionAn Introduction to Model Order Reduction
An Introduction to Model Order Reduction
 
Laplace transform
Laplace transformLaplace transform
Laplace transform
 
Frequency Response Techniques
Frequency Response TechniquesFrequency Response Techniques
Frequency Response Techniques
 
LAPLACE TRANSFORM (Differential Equation)
LAPLACE TRANSFORM (Differential Equation)LAPLACE TRANSFORM (Differential Equation)
LAPLACE TRANSFORM (Differential Equation)
 
Basics of Analogue Filters
Basics of Analogue FiltersBasics of Analogue Filters
Basics of Analogue Filters
 
Design of infinite impulse response digital filters 2
Design of infinite impulse response digital filters 2Design of infinite impulse response digital filters 2
Design of infinite impulse response digital filters 2
 
Example of the Laplace Transform
Example of the Laplace TransformExample of the Laplace Transform
Example of the Laplace Transform
 
Lecture 10 11-signal_flow_graphs
Lecture 10 11-signal_flow_graphsLecture 10 11-signal_flow_graphs
Lecture 10 11-signal_flow_graphs
 
Meeting w3 chapter 2 part 1
Meeting w3   chapter 2 part 1Meeting w3   chapter 2 part 1
Meeting w3 chapter 2 part 1
 
Bode plot
Bode plotBode plot
Bode plot
 
Bode plot
Bode plotBode plot
Bode plot
 
Warping Concept (iir filters-bilinear transformation method)
Warping Concept  (iir filters-bilinear transformation method)Warping Concept  (iir filters-bilinear transformation method)
Warping Concept (iir filters-bilinear transformation method)
 
Block diagrams and signal flow graphs
Block diagrams and signal flow graphsBlock diagrams and signal flow graphs
Block diagrams and signal flow graphs
 
Bode
BodeBode
Bode
 
Spatial encoding part_2
Spatial encoding part_2Spatial encoding part_2
Spatial encoding part_2
 
Lifting 1
Lifting 1Lifting 1
Lifting 1
 
Control chap3
Control chap3Control chap3
Control chap3
 
論文紹介 Probabilistic sfa for behavior analysis
論文紹介 Probabilistic sfa for behavior analysis論文紹介 Probabilistic sfa for behavior analysis
論文紹介 Probabilistic sfa for behavior analysis
 

Viewers also liked

looping-Model
looping-Modellooping-Model
looping-ModelUday Both
 
Performance analysis of aodv with the constraints of varying terrain area and...
Performance analysis of aodv with the constraints of varying terrain area and...Performance analysis of aodv with the constraints of varying terrain area and...
Performance analysis of aodv with the constraints of varying terrain area and...Editor Jacotech
 
Sealand Dometic Toilet Parts - Environmentalmarine
Sealand Dometic Toilet Parts - EnvironmentalmarineSealand Dometic Toilet Parts - Environmentalmarine
Sealand Dometic Toilet Parts - EnvironmentalmarineMatthis129
 
Producto 3.2
Producto 3.2Producto 3.2
Producto 3.2vanderweb
 
A Guide to SlideShare Analytics - Excerpts from Hubspot's Step by Step Guide ...
A Guide to SlideShare Analytics - Excerpts from Hubspot's Step by Step Guide ...A Guide to SlideShare Analytics - Excerpts from Hubspot's Step by Step Guide ...
A Guide to SlideShare Analytics - Excerpts from Hubspot's Step by Step Guide ...SlideShare
 

Viewers also liked (8)

looping-Model
looping-Modellooping-Model
looping-Model
 
VIGNESH
VIGNESHVIGNESH
VIGNESH
 
Origin of life
Origin of lifeOrigin of life
Origin of life
 
Performance analysis of aodv with the constraints of varying terrain area and...
Performance analysis of aodv with the constraints of varying terrain area and...Performance analysis of aodv with the constraints of varying terrain area and...
Performance analysis of aodv with the constraints of varying terrain area and...
 
Ns-2.35 Installation
Ns-2.35 InstallationNs-2.35 Installation
Ns-2.35 Installation
 
Sealand Dometic Toilet Parts - Environmentalmarine
Sealand Dometic Toilet Parts - EnvironmentalmarineSealand Dometic Toilet Parts - Environmentalmarine
Sealand Dometic Toilet Parts - Environmentalmarine
 
Producto 3.2
Producto 3.2Producto 3.2
Producto 3.2
 
A Guide to SlideShare Analytics - Excerpts from Hubspot's Step by Step Guide ...
A Guide to SlideShare Analytics - Excerpts from Hubspot's Step by Step Guide ...A Guide to SlideShare Analytics - Excerpts from Hubspot's Step by Step Guide ...
A Guide to SlideShare Analytics - Excerpts from Hubspot's Step by Step Guide ...
 

Similar to What is I/Q phase

EC8553 Discrete time signal processing
EC8553 Discrete time signal processing EC8553 Discrete time signal processing
EC8553 Discrete time signal processing ssuser2797e4
 
Active RC Filters Design Techniques
Active RC Filters Design TechniquesActive RC Filters Design Techniques
Active RC Filters Design TechniquesHoopeer Hoopeer
 
control engineering revision
control engineering revisioncontrol engineering revision
control engineering revisionragu nath
 
Second Order Active RC Blocks
Second Order Active RC BlocksSecond Order Active RC Blocks
Second Order Active RC BlocksHoopeer Hoopeer
 
Computer aided design of communication systems / Simulation Communication Sys...
Computer aided design of communication systems / Simulation Communication Sys...Computer aided design of communication systems / Simulation Communication Sys...
Computer aided design of communication systems / Simulation Communication Sys...Makan Mohammadi
 
Two Dimensional Shape and Texture Quantification - Medical Image Processing
Two Dimensional Shape and Texture Quantification - Medical Image ProcessingTwo Dimensional Shape and Texture Quantification - Medical Image Processing
Two Dimensional Shape and Texture Quantification - Medical Image ProcessingChamod Mune
 
Waveform_codingUNIT-II_DC_-PPT.pptx
Waveform_codingUNIT-II_DC_-PPT.pptxWaveform_codingUNIT-II_DC_-PPT.pptx
Waveform_codingUNIT-II_DC_-PPT.pptxKIRUTHIKAAR2
 
Practical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsPractical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsNaughty Dog
 
Waveform_codingUNIT-II_DC_-PPT.pptx
Waveform_codingUNIT-II_DC_-PPT.pptxWaveform_codingUNIT-II_DC_-PPT.pptx
Waveform_codingUNIT-II_DC_-PPT.pptxKIRUTHIKAAR2
 
Channel and clipping level estimation for ofdm in io t –based networks a review
Channel and clipping level estimation for ofdm in io t –based networks a reviewChannel and clipping level estimation for ofdm in io t –based networks a review
Channel and clipping level estimation for ofdm in io t –based networks a reviewIJARIIT
 
2007 EuRad Conference: Speech on Rough Layers (ppt)
2007 EuRad Conference: Speech on Rough Layers (ppt)2007 EuRad Conference: Speech on Rough Layers (ppt)
2007 EuRad Conference: Speech on Rough Layers (ppt)Nicolas Pinel
 
EE402B Radio Systems and Personal Communication Networks-Formula sheet
EE402B Radio Systems and Personal Communication Networks-Formula sheetEE402B Radio Systems and Personal Communication Networks-Formula sheet
EE402B Radio Systems and Personal Communication Networks-Formula sheetHaris Hassan
 
2007 EuRad Conference: Speech on Rough Layers (odp)
2007 EuRad Conference: Speech on Rough Layers (odp)2007 EuRad Conference: Speech on Rough Layers (odp)
2007 EuRad Conference: Speech on Rough Layers (odp)Nicolas Pinel
 
Multiband Transceivers - [Chapter 1]
Multiband Transceivers - [Chapter 1] Multiband Transceivers - [Chapter 1]
Multiband Transceivers - [Chapter 1] Simen Li
 
HW3 – Nichols plots and frequency domain specifications FORM.docx
HW3 – Nichols plots and frequency domain specifications FORM.docxHW3 – Nichols plots and frequency domain specifications FORM.docx
HW3 – Nichols plots and frequency domain specifications FORM.docxsheronlewthwaite
 
Introduction to Digital Signal Processing (DSP) - Course Notes
Introduction to Digital Signal Processing (DSP) - Course NotesIntroduction to Digital Signal Processing (DSP) - Course Notes
Introduction to Digital Signal Processing (DSP) - Course NotesAhmed Gad
 

Similar to What is I/Q phase (20)

EC8553 Discrete time signal processing
EC8553 Discrete time signal processing EC8553 Discrete time signal processing
EC8553 Discrete time signal processing
 
7 227 2005
7 227 20057 227 2005
7 227 2005
 
Active RC Filters Design Techniques
Active RC Filters Design TechniquesActive RC Filters Design Techniques
Active RC Filters Design Techniques
 
control engineering revision
control engineering revisioncontrol engineering revision
control engineering revision
 
Second Order Active RC Blocks
Second Order Active RC BlocksSecond Order Active RC Blocks
Second Order Active RC Blocks
 
Computer aided design of communication systems / Simulation Communication Sys...
Computer aided design of communication systems / Simulation Communication Sys...Computer aided design of communication systems / Simulation Communication Sys...
Computer aided design of communication systems / Simulation Communication Sys...
 
PSK and It's Schemes (using MATLAB)
PSK and It's Schemes (using MATLAB)PSK and It's Schemes (using MATLAB)
PSK and It's Schemes (using MATLAB)
 
Two Dimensional Shape and Texture Quantification - Medical Image Processing
Two Dimensional Shape and Texture Quantification - Medical Image ProcessingTwo Dimensional Shape and Texture Quantification - Medical Image Processing
Two Dimensional Shape and Texture Quantification - Medical Image Processing
 
Waveform_codingUNIT-II_DC_-PPT.pptx
Waveform_codingUNIT-II_DC_-PPT.pptxWaveform_codingUNIT-II_DC_-PPT.pptx
Waveform_codingUNIT-II_DC_-PPT.pptx
 
Practical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsPractical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT Methods
 
Waveform_codingUNIT-II_DC_-PPT.pptx
Waveform_codingUNIT-II_DC_-PPT.pptxWaveform_codingUNIT-II_DC_-PPT.pptx
Waveform_codingUNIT-II_DC_-PPT.pptx
 
Channel and clipping level estimation for ofdm in io t –based networks a review
Channel and clipping level estimation for ofdm in io t –based networks a reviewChannel and clipping level estimation for ofdm in io t –based networks a review
Channel and clipping level estimation for ofdm in io t –based networks a review
 
ACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docxACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docx
 
2007 EuRad Conference: Speech on Rough Layers (ppt)
2007 EuRad Conference: Speech on Rough Layers (ppt)2007 EuRad Conference: Speech on Rough Layers (ppt)
2007 EuRad Conference: Speech on Rough Layers (ppt)
 
EE402B Radio Systems and Personal Communication Networks-Formula sheet
EE402B Radio Systems and Personal Communication Networks-Formula sheetEE402B Radio Systems and Personal Communication Networks-Formula sheet
EE402B Radio Systems and Personal Communication Networks-Formula sheet
 
2007 EuRad Conference: Speech on Rough Layers (odp)
2007 EuRad Conference: Speech on Rough Layers (odp)2007 EuRad Conference: Speech on Rough Layers (odp)
2007 EuRad Conference: Speech on Rough Layers (odp)
 
Multiband Transceivers - [Chapter 1]
Multiband Transceivers - [Chapter 1] Multiband Transceivers - [Chapter 1]
Multiband Transceivers - [Chapter 1]
 
HW3 – Nichols plots and frequency domain specifications FORM.docx
HW3 – Nichols plots and frequency domain specifications FORM.docxHW3 – Nichols plots and frequency domain specifications FORM.docx
HW3 – Nichols plots and frequency domain specifications FORM.docx
 
Introduction to Digital Signal Processing (DSP) - Course Notes
Introduction to Digital Signal Processing (DSP) - Course NotesIntroduction to Digital Signal Processing (DSP) - Course Notes
Introduction to Digital Signal Processing (DSP) - Course Notes
 
bode plot.pptx
bode plot.pptxbode plot.pptx
bode plot.pptx
 

Recently uploaded

#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 

What is I/Q phase

  • 1. 1 What is I/Q phase Seoskeong Jeon
  • 2. 2 ● Target  For who are not familiar with physical layer (PHY) modulation and demodulation  Especially for computer science, networking people ● Objective  To have basics and fundamentals of PHY knowledge  To be able understand PHY and MAC cross-layer approach ● Note  Some notations and statements are loosely defined  Some numbers and factors are not scaled or normalized properly Introduction
  • 3. 3 ● Quadrature Phase Shift Keying (QPSK)  “QPSK is a digital modulation scheme conveys data by changing the phase of a reference signal”  “I-phase contains 1-bit information, and Q-phase contains 1-bit information, thus QPSK can represent 2 bits in one symbol” ● Problem  What the f**k are I and Q phase?  And how are they related with amplitude and phase? - (Please do not get confused it with I/Q phase)  How can we interpret a real world signal with I/Q? Usage - Gray code constellation - Adjacent symbols have only one different bit - In most cases, noise and fluctuation affect only one bit in a symol
  • 4. 4 ● QPSK should generate one of four shapes ● It is a point of view from a human ● Actually, current machine could not handle such phase offset properly as a human does and system complexity becomes high Transmitter (1/3) Symbol Euqation Shape 00 sin(2𝜋𝑓𝑐 𝑡 + 5 4 𝜋) 01 sin(2𝜋𝑓𝑐 𝑡 + 3 4 𝜋) 11 sin(2𝜋𝑓𝑐 𝑡 + 1 4 𝜋) 10 sin(2𝜋𝑓𝑐 𝑡 + 7 4 𝜋)
  • 5. 5 ● Mathematical fundamentals (high school) sin 𝛼 ± 𝛽 = sin 𝛼 cos 𝛽 ± cos 𝛼 sin 𝛽  Implies that “phase can be modulated by modulating amplitude of each cosine and sine component”  Recall the table Transmitter (2/3) Symbol Equation Equivalent 00 sin(2𝜋𝑓𝑐 𝑡 + 5 4 𝜋) sin 5 4 𝜋 cos 2𝜋𝑓𝑐 𝑡 + cos 5 4 𝜋 sin 2𝜋𝑓𝑐 𝑡 01 sin(2𝜋𝑓𝑐 𝑡 + 3 4 𝜋) sin 3 4 𝜋 cos 2𝜋𝑓𝑐 𝑡 + cos 3 4 𝜋 sin 2𝜋𝑓𝑐 𝑡 11 sin(2𝜋𝑓𝑐 𝑡 + 1 4 𝜋) sin 1 4 𝜋 cos 2𝜋𝑓𝑐 𝑡 + cos 1 4 𝜋 sin 2𝜋𝑓𝑐 𝑡 10 sin(2𝜋𝑓𝑐 𝑡 + 7 4 𝜋) sin 7 4 𝜋 cos 2𝜋𝑓𝑐 𝑡 + cos 7 4 𝜋 sin 2𝜋𝑓𝑐 𝑡 green: contains no phase offset good for hardware red = -0.707 < 0 (bit 0) blue = 0.707 > 0 (bit 1)
  • 6. 6 ● Human implementation (machine can’t) ● Real world implementation (simplified version) Transmitter (3/3) ~ local oscillator sin(2𝜋𝑓𝑐 𝑡) multiplier yields ±Asin(2𝜋𝑓𝑐 𝑡) 𝜃 multiplier yields ±Acos(2𝜋𝑓𝑐 𝑡) 90 degree phase shifter cos(2𝜋𝑓𝑐 𝑡) Q-phase symbol A (1) or –A (0) I-phase symbol A (1) or –A (0) adder yields 𝐴′sin(2𝜋𝑓𝑐 𝑡 + 𝑛 4 𝜋) or ±A𝑐𝑜𝑠(2𝜋𝑓𝑐 𝑡) ± Asin(2𝜋𝑓𝑐 𝑡) Phase shift according to QPSK symbol 5/4pi (00), 3/4pi (01) 1/4pi (11), 7/4pi (10) ~local oscillator sin(2𝜋𝑓𝑐 𝑡) 𝜃 QPSK symbol This part is not so easy for machine
  • 7. 7 ● In the previous, we learned that we can express: sin 2𝜋𝑓𝑐 𝑡 + 𝑛 4 𝜋 , 𝑛 = 1,3,5,7 in another form: A0 cos 2𝜋𝑓𝑐 𝑡 + 𝐴1 sin 2𝜋𝑓𝑐 𝑡 ● Should we write A0 cos 2𝜋𝑓𝑐 𝑡 + 𝐴1 sin 2𝜋𝑓𝑐 𝑡 every time?  No ● Suppose Cartesian coordinates and two vectors  𝑣1 = 1,0 , 𝑣2 = (0,1)  You can never get 𝑣2 from 𝑣1 by multiplying any number  It is called orthogonal and orthogonality (in a loose manner) and they are Signal Space (1/2)
  • 8. 8 ● The same applies to sine and cosine  Then, sine and cosine can be axes and two spans the entire signal space  A0 cos 2𝜋𝑓𝑐 𝑡 + 𝐴1 sin 2𝜋𝑓𝑐 𝑡 can be expressed as (𝐴0, 𝐴1)  Here, cosine is called in-phase axis and sine is called quadrature- phase ● Another 2-D space: complex number ● (𝐴0, 𝐴1) can be interpreted as 𝐴0 + 𝒋𝐴1 ● Advantage of the complex number representation ● Mathematical fundamentals (undergraduate, common) 𝐴0 + 𝑗𝐴1 = 𝐴0 2 + 𝐴1 2 exp(𝑗 tanh−1 (𝐴1/𝐴0)) ● Euler representation is widely used in EE (e.g., channel model, channel state information, etc.) ● You can leave in the future Signal Space (2/2) 𝐴0 𝐴1 tan−1( 𝐴1 𝐴0 )
  • 9. 9 ● Mathematical fundamentals (undergraduate, EE) sin 2𝜋𝑓𝑐 𝑡 = exp 2𝜋𝑓𝑐 𝑡 − 𝑗exp(2𝜋𝑓𝑐 𝑡) 2 cos 2𝜋𝑓𝑐 𝑡 = exp 2𝜋𝑓𝑐 𝑡 + 𝑗𝑒𝑥𝑝(2𝜋𝑓𝑐 𝑡) 2  Their Fourier transform peaks at carrier frequency Transmitter in Frequency Domain 0 Re −𝑓𝑐 𝑓𝑐 cosine 0 Im 𝑓𝑐−𝑓𝑐 sine
  • 10. 10 ● Applying local oscillator to baseband signal (I/Q symbol) moves its band to carrier frequency Transmitter in Frequency Domain 0 Re baseband signal Frequency 0 Re −𝑓𝑐 𝑓𝑐 apply cosine 0 Im 𝑓𝑐−𝑓𝑐 apply sine
  • 11. 11 ● Objective  Extract QPSK symbol from a signal at carrier frequency ● How?  Same as transmitter 1. Measure phase offset and convert it into QPSK symbol - Remember, for a human 2. Measure I and Q phase amplitude and map it into QPSK symbol - It is a reverse of moving baseband to carrier frequency Receiver
  • 12. 12 ● Real world implementation (simplified version)  Mathematical fundamentals (high school) sin2(𝛼) = 1 − cos 2𝛼 2 , cos2 𝛼 = 1 + cos(2𝛼) 2 Receiver ~ multiplier yields ±A𝑐𝑜 𝑠 2𝜋𝑓𝑐 𝑡 sin(2𝜋𝑓𝑐 𝑡) ± Asin2(2𝜋𝑓𝑐 𝑡) 𝜃 multiplier yields ±A𝑐𝑜𝑠2(2𝜋𝑓𝑐 𝑡) ± Asin 2𝜋𝑓𝑐 𝑡 cos(2𝜋𝑓𝑐 𝑡) Q-phase symbol A (1) or –A (0) I-phase symbol A (1) or –A (0) input from antenna ±A𝑐𝑜𝑠(2𝜋𝑓𝑐 𝑡) ± Asin(2𝜋𝑓𝑐 𝑡) LPF LPF LPF removes all swing terms and leaves only a constant term
  • 13. 13 Receiver Proof of Concept ● Red line is a super simple low pass filtered (average) signal  Filtered signal < 0: bit 0  Filtered signal > 0: bit 1 Transmitted and received signal apply sine and low pass filter apply cosine and low pass filter
  • 14. 14 Receiver in Frequency Domain 0 Re I-phase signal I-phase signal −𝑓𝑐 𝑓𝑐 0 Re −𝑓𝑐 2𝑓𝑐 Apply low pass filter here −2𝑓𝑐 apply cosine 0 Im Q-phase signal Q-phase signal −𝑓𝑐 𝑓𝑐 0 Re −𝑓𝑐 2𝑓𝑐 Apply low pass filter here −2𝑓𝑐 apply sine
  • 15. 15 ● A real world signal has only amplitude and phase ● I/Q-phase and I/Q-plane is for machine ● References and materials 1. PSK/QPSK – Wikipedia https://en.wikipedia.org/wiki/Phase-shift_keying 2. Orthogonality – Wikipedia https://en.wikipedia.org/wiki/Orthogonality 3. Trigonometric functions/Relationship to exponential function and complex numbers – Wikipedia https://en.wikipedia.org/w/index.php?title=Trigonometric_functions&redirect=no #Relationship_to_exponential_function_and_complex_numbers 4. Euler’s formula – Wikipedia https://en.wikipedia.org/wiki/Euler%27s_formula 5. Fourier transform of sine and cosine – Wolfram http://mathworld.wolfram.com/FourierTransformSine.html, http://mathworld.wolfram.com/FourierTransformCosine.html 6. Convolution theorem – Wikipedia https://en.wikipedia.org/wiki/Convolution_theorem 7. Heterodyne – Wikipedia https://en.wikipedia.org/wiki/Heterodyne 8. Lecture 11: Signal space - MIT open course http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-450- principles-of-digital-communications-i-fall-2006/video-lectures/lecture-11-signal- space/ Conclusion