SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

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
 

Tendances (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
 

En vedette

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
 

En vedette (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 ...
 

Similaire à 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
 

Similaire à 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
 

Dernier

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 

Dernier (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

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