Project Proposal
Project Proposal
Luke Vercimak
Karl Weyeneth
12/07/2005
Bradley University ECE Department
Software Radio
Vercimak, Weyeneth
Table of Contents
Table of Contents................................................................................................................................. 2
Table of Images ................................................................................................................................... 3
Summary ............................................................................................................................................. 4
Functional Description..................................................................................................................... 4
System Block Diagram .................................................................................................................... 5
Transmitter ...................................................................................................................................... 5
Receiver........................................................................................................................................... 6
Preliminary Work and Results ............................................................................................................. 7
Standards and Patents Research ....................................................................................................... 7
Datasheet ......................................................................................................................................... 8
TI 6713DSK Board and Simulink .................................................................................................... 8
QAM ............................................................................................................................................... 8
OFDM ........................................................................................................................................... 11
Schedule ............................................................................................................................................ 17
Equipment List .................................................................................................................................. 18
Bibliography...................................................................................................................................... 18
Software Radio
Vercimak, Weyeneth
Table of Images
Figure 1 - I/O block diagram for transmitter and receiver radio systems............................................... 4
Figure 2 - System Breakdown of the Software Radio ........................................................................... 5
Figure 3 – Transmitter Subsystem Detailed Diagram ........................................................................... 5
Figure 4 - Detail of Channel................................................................................................................. 6
Figure 5 - Receiver Subsystem Detail .................................................................................................. 6
Figure 6: 4 Level QAM Constellation ................................................................................................. 9
Figure 7 - QAM Transmitter & Receiver ........................................................................................... 10
Figure 8 - FFT of QAM transmission signal....................................................................................... 10
Figure 9 - A. In-phase signal transmitted, B. In-phase output, C. Quadrature signal transmitted, D.
Quadrature output ...................................................................................................................... 11
Figure 10 - Overall diagram for OFDM modulator............................................................................. 12
Figure 11 - Block Diagram for the OFDM modulator ........................................................................ 12
Figure 12 - Block Diagram showing the OFDM demodulator ............................................................ 13
Figure 13 - Resulting signal spectrum when using constant data ........................................................ 14
Figure 14 - Power spectrum of OFDM signal using random data ....................................................... 15
Figure 15 - The 4 input channels to the OFDM tranmitter .................................................................. 16
Figure 16 - The 4 output channels from the OFDM receiver .............................................................. 16
Figure 17 – Project flow and milestones for completion..................................................................... 17
Software Radio
Vercimak, Weyeneth
Summary
A software defined radio is a radio transmitter/receiver that uses digital signal processing (DSP) for
coding/decoding and modulation/demodulation. Using digital signal processing for the radio allows for
greater flexibility and accuracy when designing radios. This project will focus on the design and
implementation of a digital software radio. The project will be a scaled down version of the 802.11a
standard and will use QAM (Quadrature Amplitude Modulation) and will be multiplexed with OFDM
(Orthogonal Frequency Division Multiplexing). The project will also focus on rapid development and
prototyping by using Simulink block diagrams to program the Texas Instruments TMDSK6713
evaluation board.
Functional Description
A software defined radio is a radio transmitter/receiver that uses digital signal processing (DSP) for
coding/decoding and modulation/demodulation. This allows much more power and flexibility when
choosing and designing modulation and coding techniques. The C6700 series of digital signal
processors have been chosen for this project. More specifically the TMDSK6713 evaluation board with
the TMS320C6713 DSP chip will be used.
Due to hardware availability, both the transmitter and receiver will be implemented on the same DSP
evaluation board. The system will be constructed and programmed entirely in Simulink using the
embedded target for TI C6000 Simulink library. Simulink will generate the code based off of the
model designed and will then download it to the board through TI Code Composer Studio for testing.
Channel
Noise
Figure 1 - I/O block diagram for transmitter and receiver radio systems
Transmitter
The transmitter shown in Figure 2 will generate the signal that will be transmitted through the
channel. Demultiplexing, quadrature amplitude modulation (QAM) and orthogonal frequency
division multiplexing (OFDM), and up mixing will work together to create the transmitter
signal output.
Up Mixer
Mixing is done to meet the bandwidth requirements of the channel. The up mixer will increase
the frequency of the OFDM signal by multiplying it by a greater carrier frequency. The OFDM
signal will be imbedded in the carrier signal that the local oscillator produces. The output of
the mixer will be in bandwidth of the channel.
Software Radio
Vercimak, Weyeneth
Channel
Figure 3 shows the detail of the channel block from figure 1. The channel block will implement
a model of an actual transmission channel. Different parts of the channel will model different
channel effects on the output of the transmitter. These are channel gain, multi-path interference,
and noise.
Channel Attenuation
The channel attenuation will model the attenuation or possibly the gain effect that the channel
will have on the transmitted signal. It this gain can vary with frequency and/or time.
Multi-path interference
The multi-path interference will model reflections of the transmitted signal. These reflections
will arrive at the receiver at different times. Each one of these paths can have its own
attenuation that can vary with time and frequency.
Noise
Noise will also be introduced into the signal. This noise is either specific to a limited frequency
range (narrow band noise) or affects the whole spectrum of the transmitted signal.
Receiver
Carrier synchronization
The carrier synchronization subsystem will correct for frequency differences between the
transmitter and the receiver. It will also correct for the phase delay introduced by the channel. It
will do this using a phased locked loop (PLL) technique.
Demodulation
The demodulation system consists of two parts: OFDM demodulation and QAM demodulation.
The OFDM demodulation will demodulate the signal into its constituent QAM sub signals. The
QAM demodulation will demodulate the QAM carriers back into the pulses that were used to
modulate it.
Symbol Synchronization
The symbol synchronization will figure out the most appropriate time to sample the pulses
coming from the QAM modulation. This will allow the most accurate information to be
extracted from the pulse stream. The output of this block will then be fed into a multiplexer.
The output of the multiplexer will be the digital data that was fed into the system to begin with.
Frame Synchronization
The frame synchronization will synchronize the data frames of the system. This will align the
start time of the message so that the digital data can be interpreted correctly. This will allow the
compute file or message to be translated back into its original form.
Standards
The primary standard that this project is based on is IEEE 802.11a. IEEE 802.11a is a standard
for wireless networking. In the standard there are details for the implementation and operation
of a digital radio for use as a network interface. Our project is an adapted version of this
standard, scaled to the scope of the project and the time available for the project.
Software Radio
Vercimak, Weyeneth
Patents
The following patents and patent applications were discovered when researching patents and
patent applications applicable to this project.
Patent Description
Number
6,091,765 Reconfigurable radio system architecture
6,353,640 Reconfigurable radio frequency communication system
6,937,877 Wireless communication with a mobile asset employing dynamic
configuration of a software defined radio
6,954,628 Radio receiver
Patent
Application
2005243952 Methods for processing a received signal in a software defined radio
(SDR) system, a transceiver for an SDR system and a receiver for an
SDR system
20050190827 Modulation/demodulation apparatus for the encoding and decoding of
data and method for encoding and decoding data
Table 1 - Applicable patents and patent applications
Datasheet
Limits
Parameter Symbol Min Typical Max Units
Modulation
Frequency Fmod 10K Hz Hz
bits /
Data Rate R 1K Hz sec
Sampling Rate Fsamp 100K Hz Hz
Table 2 - Specifications for Software Radio
Table 2 shows the specifications decided upon for the software radio. The sampling rate of
100KHz is consistent with the sampling frequency of the A/D converter shown in table 3.
QAM
Quadrature amplitude modulation is a modulation scheme that creates a modulation signal from a
binary bit stream. The binary data is broken up, and then composed into two signals which are called
quadrature and in-phase signals. The in-phase signal represents the first half of the binary segment,
and the quadrature signal represents the other half. The two signals are then mixed with a local
oscillator carrier frequency and then summed together. The output from the summer is the QAM
output which can be written as:
Software Radio
Vercimak, Weyeneth
s(t) = x(t)cos(wct) – y(t)sin(wct)
Equation 1 - Equation defining a QAM signal
x(t) is the in-phase component and y(t) is the quadrature component. This can be rewritten in complex
envelope form as:
A QAM constellation can be designed to identify what symbols represent certain binary values. A
simple constellation is shown in Figure 6.
Imaginary Axis
(Quadrature)
y
S2 S1
Real Axis
(In-phase)
S3 S4
Preliminary Design
Repeat
Input Output
200x
Repeat1
Polarization_In-Phase
s(t)
In-Phase
Inphase
coswct coswct inp inpf
coswct
In-Phase cos wct
QAM output
Bernoulli Data_In
sinwct
sinwct
-sinwct
-s inwct
d(t) quad quadf Scope3
Binary Quad Quadrature Quad
R/2 bits/sec
Local Oscillator Mixing/Addition Local Oscillator_R s(t)1
Bernoulli Binary
Serial2Parallel Filtering
Generator Mixing
Repeat
Input Output
200x B-FFT
Repeat Spectrum
Polarization_Quad Scope
Results
Currently the local oscillators are operating at 1KHz which can be seen in Figure 8 and the with
a bandwidth of 200Hz. The bit rate is set currently at 1/100 sec.
OFDM
Orthogonal Frequency Division Multiplexing or OFDM is a way to transmit many modulated signals
at once by multiplexing them over a large number of frequencies. OFDM is different from normal
frequency multiplexing because the individual frequency carriers are orthogonal to each other. This
allows them to be closely space and not interfere with each other. Leon Couch in his book Digital and
Analog Communication Systems gives the complex envelop for OFDM in equation 1.
1 N −1
fn = n − Orthogonal Carrier Frequency
T 2
ϕ n (t ) = e j 2πf t - Orthogonal Carrier Function
n
N −1
g (t ) = Ac ∑ wnϕ n (t ) where 0 > t > T , w n is
n= 0
Preliminary Design
1
w0
Constant x (t ) x (t) x ^(t) x ^(t)
x (t ) x^(t) w1
D ata m (t) w s(t) s (t ) s ^(t) s ^(t )
s(t) s^(t) w2
y (t ) y (t ) y ^(t) y ^(t)
y (t ) y ^(t) w3
M anual Switch BPSK M od Serial to DeOFDM -4 Output from OFDM
Bernoul li OFDM -4 Quadrature M odulator Channel Quadrature Dem odulator
m (t) Parallel Buffer
Binary
Bernoul li Binary
Generator Select
Rows
Input to OFDM
M ul tiport
Sel ector
Re(u) 1
1 IFFT
Im (u) x(t)
w
IFFT Com pl ex to 2
Zero Pad
Unbuffer Real -Im ag
y(t)
M atri x
Vi ewer IFFT _OUT
T o Workspace
M atri x
Vi ewer
1 w0
2
x^(t) Re Sel ect w1
In Out
Im Rows
Real -Im ag to 3
2
Com pl ex Buffer M ul ti port
FFT w2
y^(t) Sel ector
4
w3
M atri x
FFT _IN Viewer
T o Workspace M atri x
Viewer
The demodulation block first combines the inphase and quadrature parts into a complex signal.
The signal is then run through a Fast Fourier Transform (FFT) to recover the data.
Software Radio
Vercimak, Weyeneth
Results
Figure 14 shows the power spectrum of the OFDM signal using random data. This matches
closely with the picture found on page 369 of Digital and Analog Communication Systems [1].
Figures 15 and 16 show the parallel input data and parallel output data to the OFDM modulator
and demodulator. Although delayed, the amplitude, spacing, shape, and content of the input and
output is the same. This signifies a successful demodulation.
Software Radio
Vercimak, Weyeneth
Figure 15 - The 4 input channels to the OFDM Figure 16 - The 4 output channels from the OFDM
tranmitter receiver
Software Radio
Vercimak, Weyeneth
Schedule
Preliminary Work (1/19/2006) (1/26/2006) - (2/2/2006) (2/9/2006) - (2/16/2006) (2/23/2006) - (3/2/2006)
Develop and
simulate Carrier Develop/Simulate Develop/Simulate
Development/ Synchronization Message Message
Simulation of for BPSK Encoder/Decoder Synchronization
Test QAM transceiver (PLL)
QAM transmitter
Transceiver on
and receiver with
Board
perfect
synchronization
Integrate
Get simulink message
Integrate QAM
connection Integrate Carrier Encoder/Decoder
Transceiver and Integrate symbol
working with Test on board Synchronization Test on board Test on board and
OFDM synchronization
6713 board. and Tranceiver synchronization
transceiver
Learn how works. into software
radio
Development/
Simulation of
Test OFDM
OFDM transmitter
Transceiver on
and receiver with
Board
perfect Develop and
synchronization. Simulate symbol
synchronization
Develop D/A
Develop/Simulate
driver for 6713
Channel Model
Board
Equipment List
The equipment in table 1 will be needed to complete this project. The equipment has
already been ordered and received by the time of writing.
Bibliography
[1] Couch, Leon W. Digital and Analog Communication Systems. 1997. New Jersey:
Prentice Hall, 2002.
[3] IEEE Std. 802.11a. “Part 11: Wireless LAN Media Access Control and Physical
Layer Specifications.” IEEE SA-Standards Board. June 12, 2003.
[2] Johnson, C. Richard, Jr., Sethares, William A. Telecommunication Breakdown. 2004.
New Jersey:Prentice Hall, 2004.