Académique Documents
Professionnel Documents
Culture Documents
Q
AWGN Level
Data
Source
System
Counter,
BER math
Delay
Erik C. Normark
MSCAD Lab
Outline
Background and Motivation
Design of Mixed-Signal Systems
VHDL-AMS Basics
Design Tools
/4 DQPSK Model
Basic System Design
Design with Viterbi Encoding
Motivation
Create a mixed-signal, system-level
model of a high-frequency transceiver
in VHDL-AMS
Ability to measure system performance
Through Bit-error-rate (BER) analysis
Design Tools
ADVance-MS (ADMS)
Compiler and simulator for VHDL, VHDLAMS, Verilog, Verilog-A, SPICE, C
Supports most of VHDL-AMS standard
No support for file I/O, Procedural, frequencydomain noise
Agilent ADS
Commercial RF design environment for
system-level design modeling and
simulation
BPSK System
Data Source
(Random
Data)
Modulator
(p /4 DQPSK)
Propagation
Channel
(AWGN)
Demodulator
(p /4 DQPSK)
2.4GHZ
Transmitter
Noisy Channel
Receiver
BER Calculation
How Ideal?
Oscillator:
V==10**(A/20.0)*cos(math_2_pi*f*now + Ph);
PA and LNA:
vo == vi*10**(gain/20.0);
Mixer:
vout==v1 * v2;
BPSK : Transmitter
500 MHz
Uniform
Random
Data
Std_logic to bi-polar
(1 -> +1V,
0 -> -1V)
Power
Amplifier
2.4GHZ
AWGN Testing
BPSK : Receiver
Low
Noise
Amplifier
LPF
A/D
2.4GHZ
BER Calculation
AWGN Level
Data
Source
System
Counter,
BER math
Delay
1
Pb erfc
2
2n
d
N : number of trials
n
y
N
n : number of errors
1
2
t 2 2
dt 1
0.1
1.644
0.05 1.96
0.01 2.58
BPSK : Results
Transmitter
RF
channel
Receiver
Symbol timing
recovery
DQPSK system
wrapper
BER tester
BER wrapper
/4 DQPSK : Transmitter
1 -> +1V
0 -> -1V
1 GHz
Uniform
Random
Data
Serial to
two-bit
Parallel
Pulse Shaping
3-pole LPF
Fc = 500MHz
Symbol Mapper
(I Q Modulator)
1 -> +1V
0 -> -1V
B
Parallelize Data
Map Symbols
Pulse Shape
Up-convert and amplify
Pulse Shaping
3-pole LPF
Fc = 500MHz
2.4GHZ
90 phase
shift
Power
Amplifier
Signal Constellation
Q
Example
Transmit: 00 11 11 01
01
Ak
Bk
0
1
1
0
0
0
1
1
/4
3/4
-3/4
-/4
00
11
11
Symbol Mapping
Sk A cos(c t ( ))
Sk A cos( ) cos(ct ) A sin( ) sin(c t )
I k A cos( )
I k A cos( ) cos( ) A sin( ) sin( )
Similarily :
Qk A sin( )
Qk A sin( ) cos( ) A cos( ) sin( )
Transmitted Constellation
Transmitted Spectrum
/4 DQPSK : Receiver
2.4GHZ
Low
Noise
Amplifier
90 phase
shift
3-pole
LPF Fc =
500MHz
3-pole
LPF Fc =
500MHz
A/D
IQ
Demodulator
A/D
2-bit Parallel
to Serial
Converter
Symbol Timing
Recovery
Four Steps:
Amplify and down-convert
Filter
Demodulate and recover symbol clock
Digitize and Serialize
Data Out
Received Spectrum
IQ Demodulation
sign(cos( k )) sign(Qk Qk 1 I k I k 1 )
sign(sin( k )) sign(Qk I k 1 I k Qk 1 )
If (cos k 0) then A k 1, else A k 0
If (sin k 0) then Bk 1, else B k 0
IQ Demodulator Code
-- Perform A, B recovery
Ip == Ik'delayed(Tsym);
Qp == Qk'delayed(Tsym);
Atemp == Qk*Qp+Ik*Ip;
Btemp == Ip*Qk-Ik*Qp;
I2+Q2
Narrow BPF
Q = 50
Threshold
Detector
Transmitter
RF
channel
Receiver
Decoder
Symbol timing
recovery
DQPSK system
wrapper
BER tester
BER wrapper
Viterbi Encoder
Output Bit 1
Input Bit
Output Bit 0
Viterbi Decoder
Summary of Results
Basic coverage of VHDL-AMS language
BPSK design example
Similar results to theoretical and HP-ADS
Verified noise modeling technique
Small, highly ideal model
/4 DQPSK design
BER closely matches Agilent ADS and theoretical curves
Increased model complexity with encoder / decoder
Verifies that complete system modeling can be easily
performed in VHDL-AMS
Extensions of Research
Increase complexity of model to include
non-linear effects in subsystems
Add delay-spread model to propagation
channel for multi-path simulation
Continue iterative design process
Acknowledgements
Special thanks to:
Dr. Richard Shi and MSCAD Lab
RF group members Pavel Nikitin,
Cherry Wakayama, Lei Yang
Questions?