NI Tutorial 3896 En

Embed Size (px)

Citation preview

  • 7/27/2019 NI Tutorial 3896 En

    1/31/3 www.ni.c

    Quadrature Amplitude Modulation (QAM)

    1.

    2.

    3.4.

    5.

    6.

    Overview

    This tutorial is part of the National Instruments Measurement Fundamentals series. Each tutorial in this series teaches you a specific topic of common measurement applications by explaining the

    theory and giving practical examples. This tutorial covers an introduction to RF, wireless, and high-frequency signals and systems.

    For the complete list of tutorials, return to the , or for more RF tutorials, refer to the . For more information aboutNI Measurement Fundamentals main page NI RF Fundamentals main subpage

    National Instruments RF products, visit .www.ni.com/rf

    A variety of communication protocols implement quadrature amplitude modulation (QAM). Current protocols such as 802.11b wireless Ethernet (Wi-Fi) and digital video broadcast (DVB), for

    example, both utilize 64-QAM modulation. In addition, emerging wireless technologies such as Worldwide Interoperability for Microwave Access (WiMAX), 802.11n, and HSDPA/HSUPA (a new

    cellular data standard) will implement QAM as well. Thus, understanding QAM is important because of its widespread use in current and emerging technologies.

    QAM involves sending digital information by periodically adjusting the phase and amplitude of a sinusoidal electromagnetic wave. Each combination of phase and amplitude is called a symbol an

    represents a digital bitstream. This tutorial first covers the hardware implementation required to constantly adjust the phase and amplitude of a carrier wave. The tutorial also discusses the binary

    value associated with each symbol.

    Table of Contents

    Hardware Implementation

    QAM Symbol Map

    ConclusionsRelated Products

    References

    Conclusion

    Hardware Implementation

    Quadrature amplitude modulation (QAM) requires changing the phase and amplitude of a carrier sine wave. One of the easiest ways to implement QAM with hardware is to generate and mix two

    sine waves that are 90 degrees out of phase with one another. Adjusting only the amplitude of either signal can affect the phase and amplitude of the resulting mixed signal.

    These two carrier waves represent the in-phase (I) and quadrature-phase (Q) components of our signal. Individually each of these signals can be represented as:

    = cos( ) and = sin( ).I A Q A

    Note that the I and Q components are represented as cosine and sine because the two signals are 90 degrees out of phase with one another. Using the two identities above and the following

    trigonometric identity

    cos( + ) = cos( )cos( ) sin( )sin( ),

    rewrite a carrier wave cos( + ) asA 2f tc

    cos( + ) = cos( ) sin( ).A 2f tc

    I 2f t c

    Q 2f t c

    As the equation above illustrates, the resulting identity is a periodic signal whose phase can be adjusted by changing the amplitude of I and Q. Thus, it is possible to perform digital modulation on

    carrier signal by adjusting the amplitude of the two mixed signals.

    Figure 1 shows a block diagram of the hardware required to generate the intermediate frequency (IF) signal. The Quadrature Modulator block shows how the I and Q signals are mixed with the

    local oscillator (LO) signal before being mixed together. The two LOs are exactly 90 degrees out of phase with one another.

    Figure 1. Hardware Used to Generate the IF Signal

    The next section discusses exactly how the I and Q components are used to represent actual digital data. To do this, the following section details the relationship between the QAM symbol map

    and the actual real-world signal.

    QAM Symbol Map

    As stated previously, QAM involves sending digital information by periodically adjusting the phase and amplitude of a sinusoidal electromagnetic wave. Four-QAM uses four combinations of pha

    and amplitude. Moreover, each combination is assigned a 2-bit digital pattern. For example, suppose you want to generate the bitstream (1,0,0,1,1,1). Because each symbol has a unique 2-bit

    digital pattern, these bits are grouped in twos so that they can be mapped to the corresponding symbols. In our example, the original bitstream (1,0,0,1,1,1) is grouped into the three symbols

    (10,01,11).

    In the following figure, 4-QAM consists of four unique combinations of phase and amplitude. These combinationscalled are shown as the white dots on the constellation plot in Figursymbols

    The red lines represent the phase and amplitude transitions from one symbol to another. Labeled on the constellation plot is the digital bit pattern that each symbol represents. Thus, a digital bit

    pattern can be sent over a carrier signal by generating unique combinations of phase and amplitude.

    :Document Type Tutorial

    : YesNI Supported

    : Feb 01, 2012Publish Date

    http://zone.ni.com/devzone/cda/tut/p/id/3992http://zone.ni.com/devzone/cda/tut/p/id/4523http://zone.ni.com/devzone/cda/tut/p/id/3992http://www.ni.com/rfhttp://search.ni.com/nisearch/app/main/p/lang/en/pg/1/ap/tech/sn/catnav:tu,ssnav:dznhttp://search.ni.com/nisearch/app/main/p/lang/en/pg/1/ap/tech/sn/catnav:tu,ssnav:dznhttp://www.ni.com/rfhttp://zone.ni.com/devzone/cda/tut/p/id/3992http://zone.ni.com/devzone/cda/tut/p/id/4523
  • 7/27/2019 NI Tutorial 3896 En

    2/32/3 www.ni.c

    Figure 2. 4-QAM Symbol Map

    How do these digital bit patterns correspond to I/Q data? Figure 3 shows both the I/Q data (top) and the 2-bit digital pattern (in a constellation plot, bottom) relating to 4-QAM. The black dashed li

    in the top graphic corresponds to the black square marker in the bottom graphic, so you can follow the phase and amplitude changes as the I/Q parameters also change.

    Figure 3. (top) 4-QAM Baseband I/Q Data (bottom) 4-QAM Constellation Plot

    The constellation plot in Figure 2 shows the symbol map of 4-QAM with each possible phase () and amplitude ( ) of a carrier signal in polar coordinate form. Notice how in the bottom graphic oA

    Figure 3 the square marker passes over each symbol at least once.

    While it is possible to send up to two bits per symbol when using 4-QAM modulation, it is also possible to send data at even higher rates by increasing the number of symbols in our symbol map.

    By convention, the number of symbols in a symbol map is called the symbol map M and is considered the M-ary of the modulation scheme. In other words, 4-QAM has an M-ary of four and

    256-QAM has an M-ary of 256. Moreover, the number of bits that can be represented by a symbol has a logarithmic relationship to the M-ary. For example, we know that two bits can be

    represented by each symbol in 4-QAM. While this makes sense intuitively, it is defined by the equation bits per symbol = log (M).2

    Using this equation, each symbol in 256-QAM can be used to represent an 8-bit digital pattern (log (256) = 8). Because the M-ary of a QAM modulation scheme affects the number of bits per2

    symbol, the M-ary has a significant affect on the actual data transmission rate.

    Conclusions

    QAM is an important modulation scheme because of its widespread adoption in current technologies. Moreover, this scheme can be implemented in LabVIEW with the use of the NI Modulation

    Toolkit. This toolkit, in conjunction with the vector signal generator and vector signal analyzer, implements QAM for signals in the real world.

  • 7/27/2019 NI Tutorial 3896 En

    3/33/3 www.ni.c

    1.

    2.

    For the complete list of tutorials, return to the , or for more RF tutorials, refer to the . For more information aboutNI Measurement Fundamentals main page NI RF Fundamentals main subpage

    National Instruments RF products, visit .www.ni.com/rf

    Related Products

    NI PXIe-5663 6.6 GHz RF Vector Signal Analyzer

    The National Instruments PXIe-5663 is a modular 6.6 GHz RF vector signal analyzer with 50 MHz of instantaneous bandwidth optimized for automated test.

    NI PXIe-5673 6.6 GHz RF Vector Signal Generator

    The National Instruments PXIe-5673 is a 4-slot 6.6 GHz RF vector signal generator that delivers signal generation from 85 MHz to 6.6 GHz, 100 MHz of instantaneous bandwidth, and up to 512

    of memory.

    NI PXI-5660 2.7 GHz RF Vector Signal Analyzer

    The National Instruments PXI-5660 is a modular 2.7 GHz RF vector signal analyzer with 20 MHz of instantaneous bandwidth optimized for automated test.

    NI PXI-5671 2.7 GHz RF Vector Signal Generator

    The National Instruments PXI-5671 module is a 3-slot RF vector signal generator that delivers signal generation from 250 kHz to 2.7 GHz, 20 MHz of instantaneous bandwidth, and up to 512 MB

    memory.

    NI PXI-5652 6.6 GHz RF and Microwave Signal Generator

    The National Instruments PXI-5652 6.6 GHz RF and microwave signal generator is continuous-wave with modulation capability. It is excellent for setting up stimulus response applications with RF

    signal analyzers.

    NI RF Switches

    The National Instruments RF switch modules are ideal for expanding the channel count or increasing the flexibility of systems with signal bandwidths greater than 10 MHz to bandwidths as high a

    26.5 GHz.

    NI LabVIEW

    National Instruments LabVIEW is an industry-leading graphical software tool for designing test, measurement, and automation systems.

    References

    Haykin, Simon. . 3rd ed. Canada: John Wiley & Sons, Inc., 1994.Communications Systems

    Lathi, B. P. . 3rd ed. USA: Oxford University Press, 1998.Modern Digital and Analog Communication Systems

    Conclusion

    For the complete list of tutorials, return to the , or for more RF tutorials, refer to the . For more information aboutNI Measurement Fundamentals main page NI RF Fundamentals main subpage

    National Instruments RF products, visit .www.ni.com/rf

    Legal

    This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial ma

    not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS

    TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF US

    ).http://ni.com/legal/termsofuse/unitedstates/us/

    http://zone.ni.com/devzone/cda/tut/p/id/3992http://zone.ni.com/devzone/cda/tut/p/id/4523http://zone.ni.com/devzone/cda/tut/p/id/3992http://www.ni.com/rfhttp://sine.ni.com/nips/cds/view/p/lang/en/nid/205592http://sine.ni.com/nips/cds/view/p/lang/en/nid/205592http://sine.ni.com/nips/cds/view/p/lang/en/nid/12591http://sine.ni.com/nips/cds/view/p/lang/en/nid/201564http://sine.ni.com/nips/cds/view/p/lang/en/nid/202654http://sine.ni.com/nips/cds/view/p/lang/en/nid/12572http://www.ni.com/labviewhttp://zone.ni.com/devzone/cda/tut/p/id/3992http://zone.ni.com/devzone/cda/tut/p/id/4523http://zone.ni.com/devzone/cda/tut/p/id/3992http://www.ni.com/rfhttp://ni.com/legal/termsofuse/unitedstates/us/http://ni.com/legal/termsofuse/unitedstates/us/http://www.ni.com/rfhttp://zone.ni.com/devzone/cda/tut/p/id/3992http://zone.ni.com/devzone/cda/tut/p/id/4523http://www.ni.com/labviewhttp://sine.ni.com/nips/cds/view/p/lang/en/nid/12572http://sine.ni.com/nips/cds/view/p/lang/en/nid/202654http://sine.ni.com/nips/cds/view/p/lang/en/nid/201564http://sine.ni.com/nips/cds/view/p/lang/en/nid/12591http://sine.ni.com/nips/cds/view/p/lang/en/nid/205592http://sine.ni.com/nips/cds/view/p/lang/en/nid/205592http://www.ni.com/rfhttp://zone.ni.com/devzone/cda/tut/p/id/3992http://zone.ni.com/devzone/cda/tut/p/id/4523