1 Copyright © 2013 Nujira Ltd, All rights reserved. Design and Verification of High Efficiency Power Amplifier Systems Sean Lynch Platform Engineering Manager MATLAB EXPO 2013
1 Copyright © 2013 Nujira Ltd, All rights reserved.
Design and Verification of High Efficiency
Power Amplifier Systems
Sean Lynch
Platform Engineering Manager
MATLAB EXPO 2013
2 Copyright © 2013 Nujira Ltd, All rights reserved.
What is Nujira? • Nujira makes Envelope Tracking Modulators that make power amplifiers
more efficient.
• We are based in Cambridge (UK)
• Nujira was 10 years old last year
• We have over 70 employees, 34 of which have MATLAB licenses.
• We have over 200 patents covering Envelope Tracking Technology
• We have developed three major product lines:
Low Power 1 Watt
High Power 20 Watt
Ultra Power KWatt
3 Copyright © 2013 Nujira Ltd, All rights reserved.
Contents This presentation will cover the following:
• Envelope Tracking Principles
• Closing The Design Loop
• System Level Modelling
• RF Test System
• PA Characterisation
• Envelope Tracking IC validation
• Flexible Development Platform Development
• Summary
5 Copyright © 2013 Nujira Ltd, All rights reserved.
Envelope Tracking Principles
• Envelope tracking was first described over 60 years ago.
“Envelope tracking describes an approach to RF amplifier
design in which the power supply voltage applied to the
power amplifier is constantly adjusted to ensure that the
amplifier is operating at peak efficiency for the given
instantaneous output power requirements.”
• Nujira was the first company to produce a
manufacturable implementation with our .H product line.
6 Copyright © 2013 Nujira Ltd, All rights reserved.
Envelope Tracking Principles
V supply RF
PA
RF
Antenna
Fixed Supply Envelope Tracking (ET)
7 Copyright © 2013 Nujira Ltd, All rights reserved.
Power
Amplifier
Operating
Range
Instantaneous Input Power (dBm)
V supply
(Volts)
Envelope Tracking Principles
• To achieve the best system efficiency, we need to determine the
optimum V supply for each output power level.
• We call the mapping function between Pout and V supply a
“Shaping Table”
Device
Peak
Power
9 Copyright © 2013 Nujira Ltd, All rights reserved.
Closing The Design Loop • We have a system level based development flow:
• The same approach is used in the development of Envelope
Tracking Integrated Circuits (ETIC) and internal test equipment:
Model Design Build
Verify
RF Transceiver
Envelope
Tracking IC Flexible
Development
Platform Model Design Build
Verify
11 Copyright © 2013 Nujira Ltd, All rights reserved.
• We model the behaviour of key components to predict full system
performance.
• The PA model is based on data obtained using tools we have
developed internally (PA Characterisation)
• The original PA models were developed using ADS tools, but porting
them to MATLAB resulted in quicker tools with greater dynamic
range.
• We use different modelling techniques for each of our Modulator
product ranges.
System Level Modelling
12 Copyright © 2013 Nujira Ltd, All rights reserved.
• For the high and ultra power Modulators we have used Simulink to
model the modulator behaviour.
• These high level models have enabled us to optimise component
values without excessive bench time.
• For the ET Integrated Circuit Modulators we use the Cadence design
tools backed up with MATLAB functional models.
• The MATLAB models provide much quicker results than the pure
IC based tools.
• The following MATLAB toolboxes are used in the system level
simulations:
• Signal Processing
• Communication Systems
• DSP System
• RF
System Level Modelling
14 Copyright © 2013 Nujira Ltd, All rights reserved.
RF Test System - Introduction • This RF System Test Bench is used to:
• Characterise PA behaviour
• For use in system models and creating Shaping Tables
• Measure system level parameters:
• Efficiency, ACP, EVM, noise, tracking accuracy
• For use in system and ETIC validation
RF Test System – PA Characterisation
15 Copyright © 2013 Nujira Ltd, All rights reserved.
RF Test System – Block Diagram
Power
SupplyDMM
PC running MATLAB®
Waveform
Generation
Performance
Analysis
ATE
Control
Adaptation Algorithms
(DPD, Timing, AGC, QMC)
Modulator
Drivers
Instrument
Drivers
Baseband
Driver
(Mexw32/64)
Instrument
Signal
Processing
Toolbox
Load
DMMPower
SupplyOscilloscope
Spectrum
Analyser
Power
Meter
USB
USB
GPIB
Nujira
Flexible
Development
Platform
RF RF
Envelope
PA
Supply
Voltage/
Current
Nujira
Modulator
RF
PA
Power
Meter
RF
®
Manual
GUI
• The following shows the key software and hardware components:
16 Copyright © 2013 Nujira Ltd, All rights reserved.
RF Test System - Measurements
• The key to characterising PAs for ET is instantaneous
measurements of power, current and voltage.
• We take instantaneous measurements at four points in the system.
• (1)+(2) PA Gain/Phase
• (3)+(4) Split Power
(1) RF Input
Baseband
ADC#1
(2) RF Output
Baseband
ADC#2
(3) Voltage
Oscilloscope
Channel#1
(4) Current
Oscilloscope
Channel#2
V supply
RF
PA RF
Modulator Envelope
17 Copyright © 2013 Nujira Ltd, All rights reserved.
RF Test System – Evolving Requirements • In the last year system complexity has increased considerably
• So we have produced one of the first multi band MIPI RF front end
reference designs
RFIC
PA
PA
PA
PA
Switch
MIPI Bus
Sensors
ETIC
18 Copyright © 2013 Nujira Ltd, All rights reserved.
RF Test System- Automation
Band Select
Switches
Which has resulted in the following changes to the RF Test System:
• Added MIPI control for ETICs, PAs and switches.
• Added Multiple RF band measurement
• Added RF Noise measurement capabilities
19 Copyright © 2013 Nujira Ltd, All rights reserved.
RF Test System - Applications
• The software can be run in the following modes:
• A compiled stand alone application for customers
• Using the MATLAB Compiler
• Manual control GUI for developers
• ATE mode for design verification
• Which has saved over $2.0M in manual test costs to date
Manual GUI
ATE GUI
20 Copyright © 2013 Nujira Ltd, All rights reserved.
RF Test System - Reports
• The automated test software records test results in a repeatable
manner, storing data on the network and MySQL database.
• A new automated report generator enables faster data analysis.
Equipment Measurements
Summary Sheets
Detailed Results Files
Report Generator
Results Plots
21 Copyright © 2013 Nujira Ltd, All rights reserved.
RF Test System - Calibration
• To ensure that repeatable and consistent results are obtained we
have developed a series of RF bench calibration “Wizards”
• These are used to calibrate:
• Oscilloscope measurement points for:
• Modulator voltage and
• Modulator current sense
• RF power measurement points across frequency
• Analogue envelope voltage levels
23 Copyright © 2013 Nujira Ltd, All rights reserved.
ET Surface Explorer
• ET Surface Explorer is a extension to the RF Test System that takes
measurements across a range of PA operating points using a
patented measurement technique.
• This enables us to create a surface describing power amplifier gain
and phase as a function of V supply and input power
Instantaneous Input Power (dBm)
V supply
(Volts)
Large numbers of operating points
ET Surface Explorer GUI
24 Copyright © 2013 Nujira Ltd, All rights reserved.
ET Surface Explorer - PA Surface
PA
Vsupply
[V
olts]
PA
Gain
[d
B]
PA Vin [Volts]
• The following shows a captured PA surface, with an ISO gain
Shaping Table overlaid.
25 Copyright © 2013 Nujira Ltd, All rights reserved.
ET Surface Analyser • Once we have the surface of a PA we can perform the following
steps:
• Extract and manipulate Shaping Tables
• Predict system performance
• Compare predicted and actual performance
• Using the combination of ET Surface Explorer and ET Surface
analyser we can characterise new PA in hours, not days.
ET Surface Analyser GUI
26 Copyright © 2013 Nujira Ltd, All rights reserved.
ET Surface Analyser - Plots • This tool enables you to visualise the behaviour of the PA under test:
Supply Impedance Instantaneous Efficiency
Phase Surface Gain Surface
27 Copyright © 2013 Nujira Ltd, All rights reserved.
Benefits of Envelope Tracking
• Fixed drain mode • ET Mode
• Improved battery life ~30%
• Simplified cooling Requirements
28 Copyright © 2013 Nujira Ltd, All rights reserved.
Benefits of Envelope Tracking
• The -30% saving in battery power is dependant on signal statistics
29 Copyright © 2013 Nujira Ltd, All rights reserved.
Envelope Tracking
Benefits of Envelope Tracking
Fixed Drain
• ET Surface Analyser
results analysis:
• Red predicted
• Blue measured
• Higher device peak
power
• Larger RF cells
• More linear output
without digital pre-
distortion for handset
applications
Improved
ACP
Higher
Output
Power
32 Copyright © 2013 Nujira Ltd, All rights reserved.
ETIC – Block Level Validation
• The block level test framework gives ETIC designers
easy control of the following:
• ETIC MIPI Interface
• Envelope signal (FDP)
• Spectrum analyser
• Scanning DMM x40 channels
• Oscilloscope x4 channels
• Power Supplies x6
• Temperature chamber
• Temperature Sensors
• I2C EEPROM calibration data
• Block tests can be combined to allow volumetric testing over
temperature and other operating parameters
33 Copyright © 2013 Nujira Ltd, All rights reserved.
ETIC – Block Level Validation
• Test limits are derived from the device simulations are
saved with the results to enable easier analysis:
• A generic GUI enables access to the ~150 different block
test results.
Result.iTestA473 errampA_stg2, 1/40 mirror of pmos output device current 91.70 119.00 146.30 µA
Result.iTestB473 errampA_stg2, 1/40 mirror of nmos output device current 86.50 116.80 147.10 µA
Result.iTestA474-1 errampA_opstage, mirror of ab_bias setting current 11.34 12.42 13.50 µA
Result.iTestA474-2 errampA_opstage, mirror of ab_bias setting current 22.97 24.65 26.33 µA
Result.iTestA474-3 errampA_opstage, mirror of ab_bias setting current 34.45 36.79 39.13 µA
35 Copyright © 2013 Nujira Ltd, All rights reserved.
• We have developed custom ET test equipment that has
the following key features:
• Outputs:
• RF Frequency from 0.6 to 2.7 GHz
• RF Sample rate 245 MSPS
• 10 millisecond playback memory
• Modulator control
• Inputs
• Dual wideband receivers 0.6 to 2.7 GHz
• RX Sample rate 491 MSPS
• Algorithms
• ET Generation Interface (EGI)
• Digital Pre-Distortion (DPD)
• Dynamic QMC Correction
• Automatic power level control
Flexible Development Platform - Requirements
RF Configuration
TX Path Block Diagram
Analogue Matlab Digital
RF
CBA
S
D
R
A
M
TX RF
Gain Low
TX RF
Gain High
TX Digital
Back-Off
S
D
R
A
M
Max: 0.0 dB
Min: -31.0 dB
Def: 0.0 dB
Max: 0.0 dB
Min: -31.0 dB
14 dB
Gain
14 dB
Gain
A
B
C
Max: -1.6dB
Default: -3.6dB
Min: -5.6dB
TX Digital
RF Gain Adjust
Shaping
Table
Normalisation
RF
IQ
DPD
Correction
DPD
Headroom
TX Equ
Headroom
Dither
Functions
TX Digital
Back-Off
Dither
Functions
Volts
2
U16
IQ
2
U16x2
‘Software EGI’
Analogue EnvelopeFrac
Delay
TX Digital
System Gain
36 Copyright © 2013 Nujira Ltd, All rights reserved.
Flexible Development Platform – Design Flow
Application
[MATLAB]
Algorithms
[MATLAB]
Baseband
Configuration
[MATLAB]
Phase#1
Modelling
USB Driver
[Mex32/64]
Phase#2
Development
Application
[MATLAB]
Algorithms
[MATLAB
Fixed Point]
Baseband
Configuration
[DSP ‘C’]
USB Driver
[Mex32/64]
Phase#3
Product
Application
[MATLAB]
Algorithms
[DSP ‘C’/FPGA]
Baseband
Configuration
[DSP ‘C’]
USB Driver
[Mex32/64]
• We have followed the development flow show below for the Baseband
firmware.
• Currently we use manual methods to translate MATLAB into FPGA and
embedded ‘C’ code. But have evaluated automating the process using the
‘C’ generation tools.
• The FPGA code and fixed point models are provided to customers, so they
can integrate our IP into their solutions.
FDP Design Flow
37 Copyright © 2013 Nujira Ltd, All rights reserved.
Flexible Development Platform - Validation
• We were worried that small data sets may not fully verify some of
the algorithms.
• So we structured the code so could run all three versions in parallel.
• This allowed verification over long time periods and operating
conditions
Algorithms
[MATLAB
Fixed Point]
Algorithms
[DSP ‘C’/FPGA] Algorithms
[MATLAB]
Live Capture Data
Output
Comparison
Concurrent Validation
38 Copyright © 2013 Nujira Ltd, All rights reserved.
Flexible Development Platform - Manufacturing
• The Flexible Development Platform is a complex piece of test
equipment with 28 ports that need production test and calibration
• We have used a programmable RF switch array to enable the
automated testing of complete unit from MATLAB
• This includes calibrating TX and RX RF attenuators at 60 different
RF frequencies
Agilent L4490A/91A
RF Switch Platform
87104B
M
6
5
2
3
8710
4B
L
6 5 3 2
87104B
N
6532
87104B
D
2
3
5
6
87104B
E
2
3
5
6
87104B
F
5
6
2
3
87104B
H
5
6
2
3
Spec
(GPIB)
Scope
Chan#1
(GPIB)
Signal
Generator
(GPIB)
Z11
Power
Meter
(USB)
Trigger to Scope
A6
87104B
C
2
3
5
6
87104B
G
2
3
5
6
87104B
K
6
5
2
3
87104B
A
2
3
5
6
87104B
B
2
3
5
6
M2
F6
H6
Filters block
D5
PA block
RF Switch Test Matrix
39 Copyright © 2013 Nujira Ltd, All rights reserved.
Summary – Software Integration • We have used the following 3rd party integrations in our developments
• 32/64-bit MEX Functions
• Optimised ‘C’ functions
• 3rd Party DLL loading
• Aardvark I2C/SPI controller
• Pico Temperature Sensors
• Flexible Development System Driver
• 3rd Application Execution
• Microsoft Visual Studio – DLL compiler
• InnoSetup - Windows installer builder
• File Access
• XML Files
• Excel Files
• Java/C# Libraries
• Encryption Tools
• Database Access
• MATLAB Com Interface
• FDS control from C# &
Labview
40 Copyright © 2013 Nujira Ltd, All rights reserved.
Summary – MathWorks Tools • We have used MATLAB tools throughout our development process from
system modelling to device validation
• We have used the following MATLAB products at each stage:
• System Modelling
• Simulink
• Signal Processing Toolbox
• Communication Systems Toolbox
• DSP System Toolbox
• RF Toolbox
• RF Testing
• Signal Processing Toolbox
• Instrument Control Toolbox
• It could be said that “MATLAB is the glue that holds it all together”
• Code Generation
• Fixed Point Designer
• MATLAB Coder
• ETIC Testing
• Instrument Control Toolbox
• Customer Releases
• MATLAB Compiler
• MATLAB Builder NE