Qam Bitno
Qam Bitno
Qam Bitno
Communications Technologies
Printed in Canada
All rights reserved
ISBN 978-2-89640-190-1 (Printed version)
ISBN 978-2-89747-795-0 (CD-ROM)
Legal Deposit – Bibliothèque et Archives nationales du Québec, 2007
Legal Deposit – Library and Archives Canada, 2007
The purchaser shall receive a single right of use which is non-exclusive, non-time-limited and limited
geographically to use at the purchaser's site/location as follows.
The purchaser shall be entitled to use the work to train his/her staff at the purchaser’s site/location and
shall also be entitled to use parts of the copyright material as the basis for the production of his/her own
training documentation for the training of his/her staff at the purchaser’s site/location with
acknowledgement of source and to make copies for this purpose. In the case of schools/technical
colleges, training centers, and universities, the right of use shall also include use by school and college
students and trainees at the purchaser’s site/location for teaching purposes.
The right of use shall in all cases exclude the right to publish the copyright material or to make this
available for use on intranet, Internet and LMS platforms and databases such as Moodle, which allow
access by a wide variety of users, including those outside of the purchaser’s site/location.
Entitlement to other rights relating to reproductions, copies, adaptations, translations, microfilming and
transfer to and storage and processing in electronic systems, no matter whether in whole or in part, shall
require the prior consent of Festo Didactic.
Information in this document is subject to change without notice and does not represent a commitment on
the part of Festo Didactic. The Festo materials described in this document are furnished under a license
agreement or a nondisclosure agreement.
Festo Didactic recognizes product names as trademarks or registered trademarks of their respective
holders.
All other trademarks are the property of their respective owners. Other trademarks and trade names may
be used in this document to refer to either the entity claiming the marks and names or their products.
Festo Didactic disclaims any proprietary interest in trademarks and trade names other than its own.
Safety and Common Symbols
The following safety and common symbols may be used in this manual and on
the equipment:
Symbol Description
Direct current
Alternating current
Symbol Description
Equipotentiality
On (supply)
Off (supply)
The digital circuits are often implemented using application specific integrated
circuits (ASIC) and field-programmable gate arrays (FPGA). Although this
“system-on-a-chip” approach is very effective for commercial and military
applications, the resulting systems do not allow access to internal signals and
data and are therefore poorly suited for educational use. It is for this reason that
we designed the Communications Technologies Training System.
The LVCT software provides settings for full user control over the operating
parameters of each communications technology application. Functional block
diagrams for the circuits involved are shown on screen. The digital or analog
signals at various points in the circuits can be viewed and analyzed using the
virtual instruments included in the software. In addition, some of these signals
are made available at physical connectors on the RTM and can be displayed and
measured using conventional instruments.
Manual Objective
When you have completed this manual, you will be familiar with the principles of
QAM modulation and demodulation. You will be familiar with the use of
differential QAM (DQAM), which uses V.22 bis encoding to overcome phase
ambiguity, and with the use of data scrambling to ensure frequent transitions in
the modulated signal. You will also be able to troubleshoot instructor-inserted
faults in the QAM/DQAM application.
Description
a In this manual, all New Terms are defined at the end of the Introduction. In
addition, an Index of New Terms is provided at the end of this manual.
a Because the theory of QAM is similar to that of QPSK, some parts of the
Discussions in this manual are similar to the Discussions in the student manual
Quadrature Phase Shift Keying (QPSK/DQPSK), part number 39865-10.
Preparation
Safety considerations
Safety symbols that may be used in this manual and on the equipment are listed
in the Safety Symbols table at the beginning of the manual.
Safety procedures related to the tasks that you will be asked to perform are
indicated in each exercise.
Make sure that you are wearing appropriate protective equipment when
performing the tasks. You should never perform a task if you have any reason to
think that a manipulation could be dangerous for you or your teammates.
Systems of units
Units are expressed using the International System of Units (SI) followed by units
expressed in the U.S. customary system of units (between parentheses).
Colored sidebars New terms are shown in bold colored characters the first time they appear.
contain comple-
mentary infor- Important terms are shown in bold colored characters the first time they
mation that will appear.
be of interest to
the reader.
a Notes provide details that should be noted by the reader.
b Tips provide information on effectively using the system. These are particularly
helpful for inexperienced users.
Software commands and dialog box names are shown in color. “Choose File f
Print” means choose the Print command in the File menu.
Probe connections
Unless you are instructed to make specific settings, you can use any system and
instrument settings that will allow you to observe the phenomena of interest. As a
guide, important settings that were used to produce a figure may be shown
beside the figure.
Generator Settings:
Bit Rate ................................ 2000 bit/s
n ......................................................... 4
Oscilloscope Settings:
Channel 1.................................. 5 V/div
Channel 2.................................. 5 V/div
Channel E ................................. 5 V/div
Time Base .............................. 1 ms/div
Trigger: Slope ............................ Rising
Trigger: Level ................................. 1 V
Trigger: Source ...............................Ext
Additional Equipment
Optional Equipment
Accuracy of measurements
The numerical results of the hands-on exercises may differ from one student to
another. For this reason, the results and answers given in this manual should be
considered as a guide. Students who correctly performed the exercises should
expect to demonstrate the principles involved and make observations and
measurements similar to those given as answers.
QAM Modulation
EXERCISE OBJECTIVE When you have completed this exercise, you will be familiar with QAM
modulation, with the characteristics of QAM signals and with the QAM signal
constellation. You will also be familiar with the LVCT software and the use of the
virtual instruments.
DISCUSSION OUTLINE The Discussion of this exercise covers the following points:
QAM is a type of M-ary The number of different waveforms (unique combinations of amplitude and
signaling with M equal to phase) used in QAM depends on the modem and may vary with the quality of the
the number of different channel. With 16-QAM, for example, 16 different waveforms are available.
symbols. 64-QAM and 256-QAM are also common. 16,384-QAM is possible in ADSL
modems. In all cases, each different waveform, or amplitude-phase combination,
is a modulation symbol that represents a specific group of bits.
With 16-QAM, there are The LVCT Quadrature Amplitude Modulation (QAM/DQAM) application uses
sixteen different symbols 16-QAM. In the modulator, consecutive data bits are grouped together four at a
(quadbits): time to form quadbits and each quadbit is represented by a different modulation
symbol. In the demodulator, each different modulation symbol in the received
0000 0001 0010 0011 signal is interpreted as a unique pattern of 4 bits.
0100 0101 0110 0111
1000 1001 1010 1011 Figure 4 shows all 16 QAM modulation symbols superposed on the same axes.
1100 1101 1110 1111 Four different colors are used in the figure and each color is used for four
different waveforms. Each waveform has a different combination of phase and
Each quadbit is represented amplitude.
by different modulation
symbol (combination of
phase and amplitude).
QAM constellations
Figure 5 shows the constellation diagram for 16-QAM. The constellation diagram
is a pictorial representation showing all possible modulation symbols (or signal
states) as a set of constellation points. The position of each point in the diagram
shows the amplitude and the phase of the corresponding symbol. Each
constellation point corresponds (is mapped to) to a different quadbit.
Q
The Gray code was de- Although any mapping between quadbits and constellation points would work
signed by Bell Labs re- under ideal conditions, the mapping usually uses a Gray code to ensure that the
searcher Frank Gray and quadbits corresponding to adjacent constellation points differ only by one bit.
patented in 1953. Gray This facilitates error correction since a small displacement of a constellation point
codes are widely used in due to noise will likely cause only one bit of the demodulated quadbit to be
digital communications. erroneous.
MSB
D/A I Channel
Quadbits Low-Pass
Dibits Converter
(dibit pairs) Filter
Binary
MSD LSB
Data QAM Signal
Input Serial to
Four-level Bi-phase,
Parallel cos Zt 6
Converter analog signals bi-level signals
16 states
LSD MSB (4 phases,
D/A Low-Pass 4 levels)
Dibits Converter Filter
LSB Q Channel
sin Zt
The Serial to Parallel Converter groups the incoming data into quadbits. Each
time four bits have been clocked serially into its buffer, the Serial to Parallel
Converter outputs one quadbit in parallel at its four outputs.
Colors (red, green, blue, and The starting point for grouping bits into quadbits is completely arbitrary. Figure 7
violet) are used in the data shows an example using the repeating 12-bit binary sequence 1000 0000 0000.
bit stream to help distinguish
the individual bits. In this figure, the grouping initially starts at the beginning of the sequence
(Condition A). The first quadbit at the output is 1000 followed by two all-zero
quadbits 0000. Then the quadbit pattern repeats.
Serial to Parallel
Converter
Quadbits Out (parallel)
1 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 …
TP6
Data Bits In (serial) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 …
1000 0000 0000 1000 0000 0000…
TP7
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 …
TP4
TP8
Time 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 1 …
Figure 7.Serial to Parallel Converter operation with repeating sequence 1000 0000 0000.
In the QAM/DQAM application, the Drop 1 Bit button is included in the Serial to
Parallel Converter for educational purposes. Clicking this button causes the
Serial to Parallel Converter to ignore one bit in the data sequence. This changes
the grouping of all subsequent data bits into quadbits (see Condition B in
Figure 7).
Each quadbit consists of a pair of dibits, which can be called the most significant
dibit (MSD) and the least significant dibit (LSD). The MSD is sent to the I-channel
of the modulator; the LSD is sent to the Q-channel of the modulator. Each
channel of the modulator works independently to processes the data it receives.
In the QAM/DQAM applica- The D/A Converter in each channel converts the dibit stream into a (baseband)
tion, the MSB input of the four-level pulse stream that can be applied to one input of the mixer. Each of the
D/A Converter determines four levels represents a specific dibit. The four levels used are proportional to -3,
the sign of the output volt- -1, +1, and +3. This makes the distribution of the constellation points uniform.
age and the LSB input de-
termines the magnitude of To restrict the bandwidth of the QAM signal, a low-pass filter is usually used
the output voltage. before the mixer in each channel of the modulator in order to provide the desired
spectral shaping. In addition, a bandpass filter (not shown in Figure 6) may be
used to filter the QAM signal before transmission.
Each mixer performs modulation by multiplying the sinusoidal carrier by the four-
level data signal. Multiplying the carrier by ±1 causes a 180q phase shifts in the
mixer output signal and is equivalent to BPSK modulation. Multiplying by +3
causes a three-fold increase in peak amplitude and is essentially a type of ASK
modulation. Multiplying the carrier by -3 causes a 180q phase shift and a three-
fold increase in peak amplitude. The mixer output signal is therefore a bi-phase,
bi-level sinusoidal signal. The effect of the mixer is to shift the frequency
spectrum of the baseband signal up to the frequency of the carrier.
Table 2 shows the mapping used in the QAM/DQAM application from dibit to
relative pulse level (shown in brackets) and the resulting waveforms. In this
mapping, the first bit (MSB) of each dibit determines the phase of the mixer
output signal and the second bit (LSB) determines the amplitude.
Table 2. Mapping of dibit to pulse level to waveform in one channel of the modulator.
0 0 (+1) 0 1 (+3)
1 0 (-1) 1 1 (-3)
Orthogonal signals can be The two bi-phase, bi-level signals are summed to produce the QAM signal.
summed, transmitted in a Because these two bi-phase, bi-level signals are generated using orthogonal
channel and (theoretically) carriers (in phase quadrature), the signals themselves are orthogonal, and the
perfectly separated in the QAM demodulator will be able to demodulate them separately.
demodulator without any
mutual interference.
The output signal of the modulator is a sinusoidal carrier with 16 possible states,
each of which represents a four-bit symbol (quadbit). This signal can be
represented by Equation (3).
Modulation Bits per symbol Symbol rate vs. Bit rate First-nulls bandwidth
BPSK 1 Rs Rb 2R b
Rb
QPSK 2 Rs Rb
2
Rb Rb
QAM 4 Rs
4 2
The bandwidth of a modulated signal depends on the rate of change in the signal
(i.e. the symbol rate) and not on the magnitude of each change. For this reason,
QAM requires one-half as much bandwidth as QPSK and one-quarter as much
as BPSK for a given bit rate. This is illustrated in Figure 8, where fc is the carrier
frequency. Alternatively, using QAM instead of QPSK or BPSK can double or
quadruple the bit rate for a given signal bandwidth.
Figure 8 shows that, for the same bit rate, the first-nulls bandwidth of a QAM
signal is one-half that of a QPSK signal, and one quarter that of a BPSK. Of the
three modulation techniques, QAM has the highest bandwidth efficiency.
Bandwidth
BPSK
Bandwidth
QPSK
Bandwidth
16-QAM
Figure 8. BPSK, QPSK, and 16-QAM magnitude spectrum (for equal bit rates).
1. Turn on the RTM Power Supply and the RTM and make sure the RTM power
LED is lit.
File f Restore Default Settings 2. Start the LVCT software. In the Application Selection box, choose
returns all settings to their QAM/DQAM and click OK. This begins a new session with all settings set to
default values, but does not
their default values and with all faults deactivated.
deactivate activated faults.
3. Make the Default external connections shown on the System Diagram tab of
the software. For details of connections to the Reconfigurable Training
Module, refer to the RTM Connections tab of the software.
b On-line help is accessible from the Help menu of the software and the Help
menu of each instrument.
You can print out the screen of any instrument by choosing File f Print in that
instrument.
Settings
This application has tables of settings that allow you to change various software
parameters in order to configure the system. Two Settings tables are provided –
QAM Settings and Generator Settings. By default, these tables are located at the
right side of the main window and only one of these tables is visible at a time.
Two tabs at the bottom allow you to select which table is visible and the name of
the visible table is displayed at the top. (Refer to on-line help for more
information.)
Settings tables have two columns. The name of each setting is shown in the left
column and the current value of each setting is shown in the right column. The
column separator can be moved using the mouse, and the entire table can be
resized as desired.
Some settings have a drop-down list of possible values. To change this type of
setting, click the setting and then click the down arrow to display the drop-down
list and select a new value. You can also click the setting and then roll the mouse
wheel to change the value or repeatedly double-click the setting to cycle through
the available values.
To change an editable numerical setting, simply select or delete the current value
in the settings table, type a new value and press Enter or Tab. You can also click
the setting and roll the mouse wheel. When fine adjustments are possible,
holding down the Ctrl key on the keyboard while rolling the mouse wheel will
change the value by small increments.
When you change the value of a numerical setting, the focus remains on that
setting until you click elsewhere in the software. To immediately change the
setting to another value, you can simply type the new value and press Enter.
6. Click the QAM Modulator tab in order to display the QAM Modulator diagram.
Show the Probes bar (click in the toolbar or choose View f Probes Bar).
Connect the probes as follows:
b To move a probe from the Probes bar to a test point, click the probe, move the
mouse until the tip of the probe is over the test point, and click the mouse
button to connect the probe.
To move a probe from one test point to another, move the mouse pointer over
the probe until the pointer changes into a grasping hand . Then, click the
probe and, without releasing the mouse button, drag the probe to another test
point. Release the mouse button.
a Unless you are instructed to make specific settings, you can use any system
and instrument settings that will allow you to observe the phenomena of
interest. As a guide, important settings that were used to produce a figure may
be shown beside the figure.
Generator Settings:
Generation Mode ......Pseudo-Random
n ......................................................... 4
Bit Rate ................................ 2000 bit/s
Oscilloscope Settings:
Channel 1.................................. 5 V/div
Channel 2.................................. 5 V/div
Channel E ................................. 5 V/div
Time Base .............................. 1 ms/div
Trigger: Slope ............................ Rising
Trigger: Level ................................. 1 V
Trigger: Source ...............................Ext
b Some settings have a drop-down list of possible values. To change this type of
setting, click the setting and then click the down arrow to display the drop-
down list and select a new value. You can also click the setting and then roll
the mouse wheel to change the value or repeatedly double-click the setting to
cycle through the available values.
b To display the trace of any channel on the Oscilloscope, you must set the
Visible setting for that channel to On. (You can trigger the Oscilloscope on a
channel even when Visible is set to Off.)
b To refresh and freeze the display, click the button in the instrument toolbar.
This refreshes the display once and freezes it. You can also press F5 or
choose View f Single Refresh. Click , press F6 or choose View f
Continuous Refresh to resume normal operation.
b In order for the Oscilloscope to trigger properly, the Time Base must be set so
that at least one complete period of the Trigger Source signal is displayed on
the screen.
Generator Settings:
Generation Mode ......Pseudo-Random
n ......................................................... 4
Bit Rate ................................ 2000 bit/s
Note that the signals displayed on the Oscilloscope and on the Logic
Analyzer are very similar. With the Logic Analyzer settings shown in
Figure 10, however, the level changes of the pulses in the Sync. signal (Bit 0)
and in the Data signal (Bit 1) align with the falling edges of the Clock signal.
The Logic Analyzer does not display data in real time. Instead, after you click ,
it waits for the trigger and then begins recording data. When its memory is full, it
stops recording and displays the recorded data.
The Source setting determines which signal is used to trigger the recording and
the Source Edge setting determines whether the rising edge or the falling edge
of this signal triggers the recording.
When recording data, the Logic Analyzer samples each channel only once per
clock period. The display shows either a high level (1) or a low level (0) in the
corresponding trace for each sample taken. The Clock Edge setting determines
whether the sampling instants correspond to the rising edges or the falling edges
of the clock signal. (For this reason, the Logic Analyzer cannot display the
precise timing relationship between signals as does the Oscilloscope.)
The following sequence shows how the Logic Analyzer records data:
x The user clicks or presses F5 or selects View f Record.
x The Logic Analyzer waits for the selected Source Edge (Rising or Falling) of
the trigger Source signal.
x The Logic Analyzer takes one sample of each channel at each selected
Clock Edge (Rising or Falling) until 256 samples of each channel have been
recorded. It then updates the display.
The Oscilloscope shows that the transitions in the DATA INPUT signal occur on
the rising edges of the clock signal. Therefore it is preferable to set Clock Edge to
Falling as this ensures that the signal will be sampled in the middle of each bit,
where the signal voltage is not changing. (Setting Clock Edge to Rising would
cause the Logic Analyzer to sample the DATA INPUT signal exactly where the
transitions occur, which could result in ambiguous values.)
Generator Settings:
Generation Mode ......Pseudo-Random
n ......................................................... 3
Bit Rate ................................ 5000 bit/s
Theoretically, the spectral Note that the spectrum of a PRBS consists of a series of lobes of decreasing
lines have an infinitesimal magnitude with nulls at multiples of the Bit Rate Rb. This makes the first-null
width. On a spectrum ana- bandwidth equal to the bit rate.
lyzer, however, they appear
as bars or peaks. If the Since the data signal is not truly random but consists of a sequence that
spectral lines are very close repeats every L = 2n-1 bits, the spectrum is not continuous. Instead, it
together, they are not re- consists of spectral “lines” spaced at frequencies that are multiples of
solved by the Spectrum 1 Rb
Analyzer and the spectrum where T is the period of the sequence in seconds.
appears to be continuous.
T 2n 1
11. In the generator Settings, set the Generation Mode to User Entry. Enter
different binary sequences in the Binary Sequence setting and observe the
result using the virtual instruments.
b When the Generation Mode is set to User Entry, the Binary Sequence
Generator generates a repeating binary sequence defined by the Binary
Sequence setting. You can enter up to 32 binary digits (1s and 0s) in this
setting. You can include spaces in this setting to make the pattern more legible
(the software ignores spaces in this setting).
The Serial to Parallel Converter groups the input data stream into quadbits
and sends the first dibit of each quadbit to the I Channel of the modulator and
the other dibit to the Q Channel of the modulator. Since the Serial to Parallel
Converter is not synchronized with the data, the grouping into quadbits can
start at any bit. Because the number of bits in the Binary Sequence is a
multiple of 4, there are four possible conditions:
A) The grouping starts with the first bit of the defined Binary Sequence,
giving quadbits 1001 1000 1110 1110, as they appear in the Binary
Sequence setting.
a If the grouping starts with any other bit, the result is equivalent to one of the
above conditions, since the sequence repeats indefinitely.
The first row of Table 4 shows the data bits from this Binary Sequence. After
16 bits, the sequence begins to repeat. A, B, C, and D in the table represent
the four ways the data bits can be grouped into quadbits.
Complete the four Quadbit rows of this table, grouping the data bits into
quadbits in four different ways.
Data Bits 1 0 0 1 1 0 0 0 1 1 1 0 1 1 1 0 1 0 0
Quadbit 1 0 0 1
A
Hex 9
Quadbit 0 0 1 1
B
Hex 3
Quadbit
C
Hex
Quadbit
D
Hex
In this manual, the channel The data channels that contribute to each symbol channel are selected using
selections for each Logic
Analyzer symbol, and the
the Symbol buttons near the bottom of the screen. By default, all Symbol
hexadecimal symbol values, buttons are up (no channels are selected). Each selected channel
are shown in square brack- contributes one bit to the hexadecimal symbol value; the most significant bit
ets. (MSB) corresponding to the leftmost pressed-down button and the least
significant bit (LSB) corresponding to the rightmost pressed-down button.
For example, if channels [ch1, ch3, ch6, ch7] are selected for Symbol 1, the
hexadecimal values displayed in the S1 channel correspond to 23 u Ch 1 +
22 u Ch 3 + 21 u Ch 6 + 20 u Ch 7. In this case, since four data channels are
combined into one symbol, the symbol values can range from [0] to [F]
(00002 to 11112). If only two data channels are combined into one symbol,
the symbol values can range from [0] to [3] (002 to 112).
Data Bits 1 0 0 1 1 0 0 0 1 1 1 0 1 1 1 0 1 0 0
Quadbit 1 0 0 1 1 0 0 0 1 1 1 0 1 1 1 0
A
Hex 9 8 E E
Quadbit 0 0 1 1 0 0 0 1 1 1 0 1 1 1 0 1
B
Hex 3 1 D D
Quadbit 0 1 1 0 0 0 1 1 1 0 1 1 1 0 1 0
C
Hex 6 3 B A
Quadbit 1 1 0 0 0 1 1 1 0 1 1 1 0 1 0 0
D
Hex C 7 7 4
a Connect the probes exactly as shown so that the Logic Analyzer will display
the symbols as shown in Table 4.
b To make it easier to connect the probes, you may wish to zoom into this region
of the diagram. To zoom in a diagram, right-click on the diagram and choose
Zoom in the context-sensitive menu. This changes the mouse pointer to .
Drag the mouse pointer up or down to zoom in or out. Another way to zoom is
to click the diagram and roll the mouse wheel.
14. Record data with the Logic Analyzer and examine the data. Using the
Symbol buttons, set Symbol 1 to [ch2] and Symbol 2 to [ch3, ch4, ch5, ch6].
Click the Drop 1 Bit button once only in the modulator and perform another
recording. Ch 2 and S1, the input data, will not change but the results in Ch 3
to Ch 6 and S2 should be different.
For each of Figure 12 to Figure 15, identify which of the four possible
conditions (A, B, C, or D) from Table 4 the figure represents.
Figure 12. Serial to Parallel Converter input (Ch 2) and outputs (Ch 3 to Ch 6).
Figure 13. Serial to Parallel Converter input (Ch 2) and outputs (Ch 3 to Ch 6).
Figure 14. Serial to Parallel Converter input (Ch 2) and outputs (Ch 3 to Ch 6).
Figure 15. Serial to Parallel Converter input (Ch 2) and outputs (Ch 3 to Ch 6).
15. Use the oscilloscope to determine the exact timing relationship of the
different signals. Since this requires observing several signals at a time, it will
be helpful to use the memory of the Oscilloscope.
Is the output of the Serial to Parallel Converter triggered by the rising edge or
the falling edge of the clock signal? Does this correspond to the symbol used
at the clock input of the Serial to Parallel Converter?
Oscilloscope Settings:
Channel 1.................................. 5 V/div BSG SYNC.
Channel 2.................................. 5 V/div
Channel E ................................. 5 V/div
Memories ..................................... Both CLOCK INPUT
Time Base .............................. 2 ms/div
Trigger Slope ............................. Rising DATA INPUT
Trigger Level ............................... 1.9 V
Trigger Source ................................Ext
Cursors .................................... Vertical
TP6
TP7
TP8
TP9
D/A Converter
b To disconnect a probe and return it to the Probes bar, you can right-click the
probe and choose Disconnect Probe in the context-sensitive menu.
Alternatively, you can double-click the probe’s place holder in the Probes bar.
a The Frequency Divider divides the BSG SYNC. signal frequency in order to
generate a signal that can be used as a trigger for the Oscilloscope or the
Logic Analyzer. This is necessary when observing the Serial to Parallel
Converter output with a binary sequence having an odd number of bits. (All
pseudo-random sequences have an odd number of bits.)
Record data on the Logic Analyzer and observe the signal states. Set
Symbol 1 to [ch1, ch2] and Symbol 2 to [ch3, ch4].
TP9
Observe the D/A Converter inputs and output on the Oscilloscope. Figure 17
shows an example of what you should see.
Oscilloscope Settings:
Channel 1.................................. 5 V/div
Channel 2.................................. 2 V/div TP10
Channel E ................................. 5 V/div
Time Base .............................. 2 ms/div
Trigger: Slope ............................ Rising
Trigger: Level ................................. 0 V
Trigger: Source ............................ Ch 2 TP11
TP14
You may wish to change the Use the cursors on the Oscilloscope to determine the different D/A Converter
Channel 2 Scale setting to output voltage levels (TP14) for the different input states and enter these into
increase the precision of the
measurements.
Table 5. Divide each output level by the minimum positive output level to
obtain the relative levels.
b When the horizontal cursors are active, the voltage levels corresponding to the
position of each cursor with respect to the Ch 1 and Ch 2 ground levels (as well
as the voltage difference between the two cursors) are shown in the data
below the graticule.
When the vertical cursors are active, the time position of each cursor (as well
as the time difference between the two cursors) is shown in the data below the
graticule. The voltage levels shown correspond to the levels at the
intersections of the Ch 1 and Ch 2 traces with each cursor.
Input Dibit
Output Level (V) Relative Level
(TP10, TP11)
00
01
11
10
The D/A Converter converts one dibit of digital data (b1, b0) signal into a four-
level analog pulse signal whose voltage levels are proportional to -3, -1, +1
and +3.
What determines the sign and the amplitude of the D/A Converter output?
The first bit (MSB) of each dibit determines the sign and the second bit (LSB)
determines the amplitude of the analog signal.
Turn the Low-Pass Filters Off. Figure 18 shows an example of what you may
observe. Then turn the Low-Pass Filters On (see Figure 19).
QAM Settings:
Carrier Frequency .................. 2000 Hz
Low-Pass Filters ............................. Off
Oscilloscope Settings:
Channel 1.................................. 2 V/div
Channel 2.................................. 1 V/div
Channel E ................................. 1 V/div
Time Base .............................. 1 ms/div
Trigger: Slope ............................ Rising
Trigger: Level ................................. 0 V
Trigger: Source ............................ Ch 1
Figure 18. I-channel carrier, four-level data and mixer output signal (Low-Pass Filters Off).
QAM Settings:
Carrier Frequency .................. 2000 Hz
Low-Pass Filters ............................. On
Oscilloscope Settings:
Channel 1.................................. 2 V/div
Channel 2.................................. 1 V/div
Channel E ................................. 1 V/div
Time Base .............................. 1 ms/div
Trigger: Slope ............................ Rising
Trigger: Level ................................. 0 V
Trigger: Source ............................ Ch 1
Figure 19.I-channel carrier, four-level data and mixer output signal (Low-Pass Filters On).
Describe the relationship between the amplitude and polarity of the four-level
analog data signal and the amplitude and phase of the mixer output signal.
Because the mixer multiplies the carrier by the four-level analog signal, the
amplitude of the mixer output signal is proportional to the absolute value of
the amplitude of the four-level data signal, and the phase of the mixer output
signal depends on the sign of the four-level analog signal.
What is the effect of the low-pass filter on the four-level data signal and on
the mixer output signal? What is the advantage of filtering the data signal
before modulation?
The low-pass filter smoothes the transitions in the four-level data signal.
Since rapid changes lead to undesirable frequency components in the
modulated signal, filtering reduces the bandwidth of the modulated signal.
18. Use the oscilloscope to observe the I- and Q-channel carrier signals. How
are these signals related?
The I- and Q-channel carrier signals are in quadrature (out of phase by 90q).
If the I-channel carrier is considered to be a cosine wave, the Q-channel
carrier corresponds to a sine wave.
19. Use the Spectrum Analyzer to observe the frequency spectrum of the carrier,
the baseband four-level data signal, and the mixer output signal (see
Figure 20). Explain the relationship between the frequency spectra of these
signals.
QAM Settings:
Carrier Frequency ............... 10 000 Hz
Low-Pass Filters ............................. On
Generator Settings:
Generation Mode ......Pseudo-Random
n ......................................................... 7
Bit Rate ................................ 5000 bit/s
Figure 20. Frequency spectrum of four-level data signal, carrier and mixer output signal.
The summer
20. Use the Oscilloscope to observe the signals at the input and output of the
summer (TP20, TP21, and TP22). Figure 21 shows an example.
QAM Settings:
Carrier Frequency .................. 2000 Hz
Low-Pass Filters ............................. On
Oscilloscope Settings:
TP21
Channel 1.................................. 1 V/div
Channel 2.................................. 1 V/div
Channel E ................................. 1 V/div
Time Base .............................. 2 ms/div
(Single Refresh)
TP22
The summer sums the I-channel and Q-channel bi-level, bi-phase signals to
produce the QAM signal.
21. Use the Spectrum Analyzer to observe the spectrum of the QAM signal and
compare this with the spectrum of the DATA INPUT signal (see Figure 22).
QAM Settings:
Carrier Frequency ............... 10 000 Hz
Low-Pass Filters ............................. On
Generator Settings:
Bit Rate ................................ 4000 bit/s
In Figure 22, identify the features that correspond to the bit rate and the
symbol rate. Express the bandwidth of the QAM signal in terms of the bit rate
and the symbol rate.
The nulls in the QAM signal spectrum occur at multiples of the symbol
rate Rs which is one-quarter the bit rate Rb. The first-nulls bandwidth of the
QAM signal is therefore 2Rs = Rb/2.
QAM is bandwidth efficient because it can transmit data at four times the bit
rate over the same bandwidth as binary modulation techniques such as
BPSK.
Signal constellations
Figure 23 shows and example of what you should observe. The Oscilloscope
will display the I- and Q-channel D/A Converter output signals. Each of these
signals is a four-level analog signal that is used, after low-pass filtering, to
modulate one of the sinusoidal carriers.
Oscilloscope Settings:
Channel 1.................................. 2 V/div
Channel 2.................................. 2 V/div
Time Base .............................. 2 ms/div
Trigger Slope ............................. Rising
Trigger Level .................................. 1 V
Trigger Source ................................Ext
23. Without moving the Oscilloscope probes, put the Oscilloscope in the X-Y
mode. Figure 24 shows an example of what you should observe.
Oscilloscope Settings:
Channel 1 (X) ............................ 1 V/div
Channel 2 (Y) ............................ 1 V/div
Display Mode ............................... Dots
X-Y .................................................. On
Sampling Window .................... 100 ms
b The Sampling Window setting determines the time during which the signals
are sampled before each update of the display. In the present case, this should
be 100 ms or greater so that all quadbits being generated appear each time
the display is updated.
With 16-QAM, the constellation should normally have 16 points. Why are
only 7 points displayed?
With the Generator Setting n set to 3, only 7 of the 16 constellation points are
used. This is due to the fact that the Pseudo-Random Binary Sequence is
relatively short and therefore the number of different quadbits in the data is
limited.
24. In the Generator Settings, set n to different values (2, 4, and 5, etc.) and
observe the displayed constellation. What do you observe?
The longer the Pseudo-Random Binary Sequence, the greater the number of
different quadbits in the data and the greater the number of constellation
points displayed. When the Pseudo-Random Binary Sequence is long
enough, all 16 constellation points are included.
26. Set the Generation Mode to User-Entry. Set the Binary Sequence to the four-
bit sequence (quadbit) 0000 and the Bit Rate to 2000 bit/s. Record data
using the Logic Analyzer. Configure Symbol 2 of the Logic Analyzer to
display the hexadecimal value of the quadbit, as shown in Figure 25.
Figure 25. Logic Analyzer showing the quadbit 0000 in Ch 3 to Ch 6 and in S2.
With any four-bit Binary Observe the Oscilloscope display. Figure 26 shows the constellation point
Sequence, the stream of corresponding to the quadbit 0000. Note in Figure 27 that this constellation
quadbits at the output of the
Serial to Parallel Converter is
point has been identified with the quadbit it represents as well as the
uniform over time – each hexadecimal value of the quadbit in square brackets.
quadbit is identical to the
previous quadbit.
Figure 26. Oscilloscope showing the constellation point for the quadbit 0000.
L SD s :
____ ____ 00
_ 0_
__ 0 ____ __
[ ] [ ] [0] [ ]
M SD s : _ _ __ __ __
Figure 27. Quadbits [and HEX values] in the QAM constellation.
27. Set the Binary Sequence to 1111 and repeat the previous step. You have
now identified two of the 16 points in the constellation. In the following steps,
you will identify the remaining points.
Identifying the constellation points that are mapped to 0000 and 1111 is
straightforward because with each of these Binary Sequences, the four outputs
of the Serial to Parallel Converter are identical. The bit at which the Serial to
Parallel Converter begins to divide the DATA INPUT stream makes no
difference.
With all other four-bit Binary Sequences, however, the bit at which the Serial to
Parallel Converter begins does make a difference. For example, setting the
Binary Sequence to 0001 will produce a uniform stream of one of the following
quadbits: 0001, 0010, 0100, or 1000. There is no way to predict beforehand
which of these quadbits you will obtain. Clicking the Drop 1 Bit button allows you
to change the quadbit produced.
In the following steps, for each four-bit Binary Sequence you enter, you will use
the Logic Analyzer to observe which quadbit is present at the output of the Serial
to Parallel converter, and observe which constellation point is displayed on the
Oscilloscope. Then you will use the Drop 1 Bit button to obtain all possible
quadbit from that Binary Sequence.
28. Set the Binary Sequence to 0001. Record data on the Logic Analyzer and
note which quadbit is present at the outputs of the Serial to Parallel
Converter. Since TP6 represents the MSB, a 0 at TP6, TP7 and TP8 and a 1
at TP9 represents the quadbit 0001. Clicking the Drop 1 Bit button will
change this quadbit to 0010.
Click the Drop 1 Bit button several times, each time observing the quadbit
using the Logic Analyzer and observing the constellation point displayed on
the Oscilloscope. Then write in Figure 27 the quadbits that correspond to
these four constellation points.
By using different four-bit Binary Sequences and the Drop 1 Bit button, and
by using the Logic Analyzer and the Oscilloscope, complete Figure 27 to
show all 16 quadbits. Enter the hexadecimal value of each quadbit between
the square brackets.
Each quadbit consists of two dibits – the most significant dibit (MSD) and the
least significant dibit (LSD). Below the horizontal axis of Figure 27, write the
MSDs that correspond to each of the columns. To the right of the vertical
axis, write the LSDs that correspond to each of the rows.
L SD s :
M SD s : 1 1 10 00 01
Note the order of the MSDs and the LSDs. Are they arranged consecutively?
The MSDs and LSDs are not arranged consecutively since 00 comes
between 10 and 01.
Name the type of coding that is used here and explain the advantage of
encoding the constellation points in this manner.
Moving from any constellation point to an adjacent point changes only one bit
in the quadbit. This is an example of a Gray code, where two adjacent values
differ in only one digit. The advantage of a Gray code is that when noise in
the transmission channel causes a constellation point to deviate into the
region of an adjacent point, only one bit is in error. When Gray coding is
combined with an error correction mechanism capable of correcting single-bit
errors, the transmission is less susceptible to noise.
29. Enter the three-bit Binary Sequence 111 and observe the constellation.
Change the binary Sequence to 101. Click the Drop 1 bit button several
times and observe what happens.
Explain why this 3-bit sequence produces three constellation points, each of
which represents four bits and why the drop 1 bit button seems to have no
effect.
The number of bits in this sequence is not a multiple of four. Since the Serial
to Parallel Converter groups bits four at a time, the sequence must pass four
times before the system returns to its initial state (101 101 101 101). The
quadbits sent to the modulator are therefore 1011 0110 and 1101. These
three points appear in the constellation. Dropping one bit does not change
the quadbits that this sequence produces.
30. When you have finished using the system, exit the LVCT software and turn
off the equipment.
CONCLUSION In this exercise, you became familiar with the LVCT software and studied the
operation of the basic functional blocks of the QAM modulator. You observed that
the Serial to Parallel Converter groups the input data stream into quadbits that
are processed by two parallel channels, I and Q, and that the starting point of this
grouping is arbitrary. You saw how the A/D Converters and the mixers generate
two bi-phase, bi-level signals using two carriers in phase quadrature. You
observed that summing these two signals produces the QAM signal. You also
observed the signal constellations on the oscilloscope for various binary
sequences.
The bandwidth efficiency of QAM is twice that of QPSK and four times that of
binary modulation techniques such as BPSK.
5. How are the signals at the outputs of the mixers combined to produce the
QAM signal?
The I- and Q-channel mixer output signals are simply summed in order to
produce the QAM signal.