In-phase and quadrature components

From HandWiki
Short description: Mathematical technique for manipulating signals etc.
Graphic example of the formula  [math]\displaystyle{ {\color{Green}\cos(2\pi ft + \varphi(t))}\ = }[/math]
[math]\displaystyle{ {\color{Blue}\cos(2\pi ft)\cos(\varphi(t))}\ +\ {\color{Red}\cos(2\pi ft + \pi/2)\sin(\varphi(t))}. }[/math]
The phase modulation (φ(t), not shown) is a non-linearly increasing function from 0 to π/2 over the interval 0 < t < 16. The two amplitude-modulated components are known as the in-phase component (I, thin blue, decreasing) and the quadrature component (Q, thin red, increasing).

A sinusoid with modulation can be decomposed into, or synthesized from, two amplitude-modulated sinusoids that are in quadrature phase, i.e., with a phase offset of one-quarter cycle (90 degrees or π/2 radians). All three sinusoids have the same center frequency. The two amplitude-modulated sinusoids are known as the in-phase (I) and quadrature (Q) components, which describes their relationships with the amplitude- and phase-modulated carrier.[upper-alpha 1][2]

Or in other words, it is possible to create an arbitrarily phase-shifted sine wave, by mixing together two sine waves that are 90° out of phase in different proportions.

The implication is that the modulations in some signal can be treated separately from the carrier wave of the signal. This has extensive use in many radio and signal processing applications.[3] I/Q data is used to represent the modulations of some carrier, independent of that carrier's frequency.

Orthogonality

In vector analysis, a vector with polar coordinates A, φ and Cartesian coordinates x = A cos(φ), y = A sin(φ), can be represented as the sum of orthogonal components: [x, 0] + [0, y]. Similarly in trigonometry, the angle sum identity expresses:

sin(x + φ) = sin(x) cos(φ) + sin(x + π/2) sin(φ).

And in functional analysis, when x is a linear function of some variable, such as time, these components are sinusoids, and they are orthogonal functions. A phase-shift of xx + π/2 changes the identity to:

cos(x + φ) = cos(x) cos(φ) + cos(x + π/2) sin(φ),

in which case cos(x) cos(φ) is the in-phase component. In both conventions cos(φ) is the in-phase amplitude modulation, which explains why some authors refer to it as the actual in-phase component.

Narrowband signal model

In an angle modulation application, with carrier frequency f, φ is also a time-variant function, giving:[1]:eqs.(4.45)&(7.64)

[math]\displaystyle{ \begin{align} A(t)\cdot\cos[2\pi ft + \varphi(t)]\ &= \cos(2\pi ft)\cdot A(t)\cos[\varphi(t)] \ +\ \cos\left(2\pi ft + \tfrac \pi 2 \right) \cdot A(t)\sin[\varphi(t)]\\[8pt] &=\underbrace{ \cos(2\pi ft)\cdot A(t)\cos[\varphi(t)]}_{\text {in-phase}} \ \underbrace{\ -\ \sin(2\pi ft)\cdot A(t)\sin[\varphi(t)]}_{\text {quadrature}}. \end{align} }[/math]

 

 

 

 

(Eq.1)

When all three terms above are multiplied by an optional amplitude function, A(t) > 0, the left-hand side of the equality is known as the amplitude/phase form, and the right-hand side is the quadrature-carrier or IQ form.[upper-alpha 2] Because of the modulation, the components are no longer completely orthogonal functions. But when A(t) and φ(t) are slowly varying functions compared to 2πft, the assumption of orthogonality is a common one.[upper-alpha 3] Authors often call it a narrowband assumption, or a narrowband signal model.[4][5]

I/Q data

A stream of information about how to amplitude-modulate the I and Q phases of a sine wave is known as the I/Q data.[6] By just amplitude-modulating these two 90°-out-of-phase sine waves and adding them, it is possible to produce the effect of arbitrarily modulating some carrier: amplitude and phase.

A phasor for I/Q, and the resultant wave which is continually phase shifting, according to the phasor's frequency. Note that since this resultant wave is continuously phase shifting at a steady rate, effectively the frequency has been changed: it has been frequency modulated.

And if the IQ data itself has some frequency (e.g. a phasor) then the carrier also can be frequency modulated. So I/Q data is a complete representation of how a carrier is modulated: amplitude, phase and frequency.

For received signals, by determining how much in-phase carrier and how much quadrature carrier is present in the signal it is possible to represent that signal using in-phase and quadrature components, so IQ data can get generated from a signal with reference to a carrier sine wave.

IQ modulation and demodulation.
LO is the local oscillator - the carrier sine wave being modulated
I(t) and Q(t) are the time-series data for the in-phase and quadrature components.
S is the signal

IQ data has extensive use in many signal processing contexts, including for radio modulation, software-defined radio, audio signal processing and electrical engineering.

I/Q data is a two-dimensional stream. Some sources treat I/Q as a complex number;[1] with the I and Q components corresponding to the real and imaginary parts. Others treat it as distinct pairs of values, or as separate streams.

When called "I/Q data" the information is likely digital. However, I/Q may be represented as analogue signals.[7] The concepts are applicable to both the analog and digital representations of IQ.

This technique of using I/Q data to represent the modulations of a signal separate to the signal's frequency is known as equivalent baseband signal, supported by the § Narrowband signal model.

The data rate of I/Q is largely independent to the frequency of the signal being modulated. I/Q data can be generated at a relatively slow rate (e.g. millions of bits per second), perhaps generated by software in part of the physical layer of a protocol stack. I/Q data is used to modulate a carrier frequency, which may be faster (e.g. Gigahertz, perhaps an intermediate frequency).[8]

As well as within a transmitter, I/Q data is also a common means to represent the signal from some receiver. Designs such as the Digital down converter allow the input signal to be represented as streams of IQ data, likely for further processing and symbol extraction in a DSP. Analog systems may suffer from issues, such as IQ imbalance.

I/Q data may also be used as a means to capture and store data used in spectrum monitoring.[3] Since I/Q allows the representation of the modulation separate to the actual carrier frequency, it is possible to represent a capture of all the radio traffic in some RF band or section thereof, with a reasonable amount of data, irrespective of the frequency being monitored. E.g. if there is a capture of 100 MHz of Wi-Fi channels within the 5 GHz U-NII band, that IQ capture can be sampled at 200 million samples per second (according to Nyquist) as opposed to the 10,000 million samples per second required to sample directly at 5 GHz.

A vector signal generator will typically use I/Q data alongside some programmed frequency to generate its signal.[8] And similarly a vector signal analyser can provide a stream of I/Q data in its output. Many modulation schemes, e.g. quadrature amplitude modulation rely heavily on I/Q.

Alternating current (AC) circuits

The term alternating current applies to a voltage vs. time function that is sinusoidal with a frequency f. When it is applied to a typical (linear time-invariant) circuit or device, it causes a current that is also sinusoidal. In general there is a constant phase difference φ between any two sinusoids. The input sinusoidal voltage is usually defined to have zero phase, meaning that it is arbitrarily chosen as a convenient time reference. So the phase difference is attributed to the current function, e.g. sin(2πft + φ), whose orthogonal components are sin(2πft) cos(φ) and sin(2πft + π/2) sin(φ), as we have seen. When φ happens to be such that the in-phase component is zero, the current and voltage sinusoids are said to be in quadrature, which means they are orthogonal to each other. In that case, no average (active) electrical power is consumed. Rather power is temporarily stored by the device and given back, once every 1/2f seconds. Note that the term in quadrature only implies that two sinusoids are orthogonal, not that they are components of another sinusoid.

See also

Notes

  1. The low-frequency modulating waveforms are also referred to as the I and Q components.[1]:p.82
  2. The negative sign in Eq.1 can be associated with either the quadrature carrier or its amplitude modulation. In the former case, Q-carrier leads I-carrier by [math]\displaystyle{ \tfrac{1}{4} }[/math] cycle. Otherwise, it lags by [math]\displaystyle{ \tfrac{1}{4} }[/math] cycle. The distinction is not important, but it can be confusing.
  3. Orthogonality is important in many applications, including demodulation, direction-finding, and bandpass sampling.

References

  1. 1.0 1.1 1.2 Franks, L.E. (September 1969). Signal Theory. Information theory. Englewood Cliffs, NJ: Prentice Hall. ISBN 0138100772. 
  2. Gast, Matthew (2005-05-02). 802.11 Wireless Networks: The Definitive Guide. 1 (2 ed.). Sebastopol, CA: O'Reilly Media. p. 284. ISBN 0596100523. 
  3. 3.0 3.1 "Data format definition for exchanging stored I/Q data for the purpose of spectrum monitoring". International Telecommunication Union (ITU). https://www.itu.int/dms_pubrec/itu-r/rec/sm/R-REC-SM.2117-0-201809-I!!PDF-E.pdf. 
  4. Wade, Graham (1994-09-30). Signal Coding and Processing. 1 (2 ed.). Cambridge University Press. p. 10. ISBN 0521412307. 
  5. Naidu, Prabhakar S. (November 2003). Modern Digital Signal Processing: An Introduction. Pangbourne RG8 8UT, UK: Alpha Science Intl Ltd. pp. 29–31. ISBN 1842651331. 
  6. Bryan, Peter Barrett (15 January 2022). "Mind your I’s and Q’s: The Basics of I/Q data" (in en). https://towardsdatascience.com/mind-your-is-and-q-s-the-basics-of-i-q-data-d1f2b0dd81f4. 
  7. "Quad Demodulators Arm Direct-Conversion Receivers". https://www.mwrf.com/technologies/components/article/21843541/quad-demodulators-arm-directconversion-receivers. 
  8. 8.0 8.1 "What’s Your IQ – About Quadrature Signals…" (in en). https://www.tek.com/en/blog/quadrature-iq-signals-explained. 

Further reading

  • Steinmetz, Charles Proteus (2003-02-20). Lectures on Electrical Engineering. 3 (1 ed.). Mineola, NY: Dover Publications. ISBN 0486495388. 
  • Steinmetz, Charles Proteus (1917). Theory and Calculations of Electrical Apparatus 6 (1 ed.). New York: McGraw-Hill Book Company. B004G3ZGTM.

External links