architecture for cognitive radios

31
Architecture For Architecture For Cognitive Radios Cognitive Radios Dirk Grunwald Department of Computer Science Department of Electrical and Computer Engineering University of Colorado at Boulder

Upload: morgan

Post on 14-Jan-2016

71 views

Category:

Documents


5 download

DESCRIPTION

Architecture For Cognitive Radios. Dirk Grunwald Department of Computer Science Department of Electrical and Computer Engineering University of Colorado at Boulder. Outline. Software & Cognitive Radios What are they? Why might we care Alternative Architectures & Implementation Challenges. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Architecture For  Cognitive Radios

Architecture For Architecture For Cognitive RadiosCognitive Radios

Dirk Grunwald

Department of Computer ScienceDepartment of Electrical and Computer Engineering

University of Colorado at Boulder

Page 2: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

OutlineOutline

• Software & Cognitive Radios– What are they?– Why might we care

• Alternative Architectures & Implementation Challenges

Page 3: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

An Abstract RadioAn Abstract Radio

• RF front-end includes tuners, filters & analog circuitry

• CR’s depend significantly on RF front-end

• When Computer Scientists talk about SDR/CR, they usually mean the shaded parts

Page 4: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

Radio TypesRadio Types

0mhz………………………………………………………6000Mhz

Sampled Band Types of radio

Hardware Radio (HR) Software Controlled Radio (SCR) Software Defined Radio (SDR) Ideal Software Radio (ISR) Ultimate Software Radio (USR)

Cognitive Radio• “Sense and React to Environment”• Skeptics: Just 802.11?

– Rate adaptation?

– Power control?

• Implicit meaning– Frequency adaptation

– Protocol adaptation(e.g. FDM to TDM to contention)

Page 5: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

Frequency AgilityFrequency Agilityin Cognitive Radioin Cognitive Radio

• Spectrum is fully allocated • Urban measurements:

– > 75% never used– > 90% unused on average– Rural areas - even more

• Cognitive Radio:– Avoid Licensed users– Communicate in “white spaces”

Maximum Amplitudes

Frequency (MHz)

Am

pli

du

e (

dB

m)

Heavy UseHeavy Use

Sparse UseSparse Use

Heavy UseHeavy Use

Medium UseMedium Use

Page 6: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

Hedge UncertaintyHedge Uncertainty

• WiMAX, LTE & 802.22 basically need the same functionality– Scalable OFDMA

• Why pick a winner when you don’t have to?– picoChip has already demonstrated

WiMAX / LTE combined basestation

Page 7: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

Cross Layer InnovationCross Layer Innovation

• PHY and MAC layers defined by standards

• Long, time consuming process

• Innovation is limited because “it must work everywhere”

• SDR liberalizes that constraint

Page 8: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

Software Radio MotivationsSoftware Radio Motivations

• Motivations conflated with business and implementation realities

• What radios in a network should use SDR?

• Can we have a cognitive radio that isn’t a software defined radio?

Page 9: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

Framing the “Systems” IssuesFraming the “Systems” IssuesFor Cognitive RadiosFor Cognitive Radios

• Who, other than DARPA is really going to use wide-band cognitive radios?

• How will “constrained cognitive radios” affect systems and user interfaces?

• Will there be a 90%/10% rule in RF? How do we address each part?

• What does a cognitive need to do?

• Summarizing E2RII White paper

Unless you are adhoc or have existing infrastructure, dynamic spectrum access likely occurs– To balance broadcast (DVB)

and two-way communication

– To allow the gradual transition of technologies

– To exploit relatively stable location-and-time varying spectrum (white spaces)

Page 10: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

Implementation MethodsImplementation Methodsfor SDR & Cognitive Radiofor SDR & Cognitive Radio

Stations & Mobile Nodes

• Power over-riding issue

• ASIC– SoftMAC

• DSP / ASIP– Soda– Coherent Logix

• Hybrid– Combination of DSP,

FPGA & GPP

Access Points & Towers

• Flexibility, longevity

• FGPA• General Purpose CPU• Massive Multi-Core• GPGPU

Page 11: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

PHY Processing DemandsPHY Processing Demands

• Most DSP’sprovide 10-30GOP/s per mW

• 3G requires~100 Mops/mWwith current architectures

From: SODA: A high-performance DSP Architecture For Software-Defined Radio, Mudge Et Al

Page 12: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

(very) Basics of OFDM(very) Basics of OFDM

• Used in many modern PHY’s– WiMAX, 802.22,

LTE, 802.11, DVB

• Resistant to multipath

• Flexible bandwidth allocation (OFDMA)

Center Frequency

Page 13: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

Pure Software Cognitive RadiosPure Software Cognitive Radios

• Are “Pure Software” radios possible for reasonably complex wide-band waveforms?

• Not most energy efficient solution, but proper co-design reduces costs

• DYSPAN’07 OFDMA transmitter design highlight conventional CPU bottlenecks - I/O and then computes

Jeff Fifield, Dirk Grunwald, and Douglas C. Sicker, “Experiences With a Platform for Frequency-Agility” IEEE/ACM DySPAN

Page 14: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

PHY I/O BottlenecksPHY I/O Bottlenecks

Processor

North Bridge Main Memory

South Bridge

266 MHz FSB, dual channel, dual data rate 200 MHz,

dual channel, dual data rate

PCI / ISA devices

A D Converter

RF2IF

Antenna

Config. uP/FPGA/

Specialized uP

Bandwidth = X MHz,Required sampling rate = 2X MS/s,Sample size = 2 bytes per sample;So, the required data rate = 4X MB/sMost physical layers use both phase & amplitude

X = 10 MHz, means 80 MB/seceasily sustainable by most modern PCs & I/O architecture)

X = 100 MHz, means 800 MB/sec can be done by state-of-the-art PCs

x = 500 MHz, means 4 GB/sec beyond most PCs today

Page 15: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

ASIP AlternativeASIP Alternative

• ASIP uses special instruction & organization

• E.g. scatter-gather units optimized for FFT

• Support for needed datatypes

• VLIW / SIMD

Page 16: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

SoftMAC – ASIC Based Software SoftMAC – ASIC Based Software Controlled RadioControlled Radio

• Based on Atheros/MADWIFI drivers

• Uses software control interface to existing ASIC and MAC processor

• Surprising flexibility at MAC layer– Adaptive FEC– TDMA based MAC

• Intel Labs using similar technique on 802.11n chipset

SoftMAC

0

2

4

6

8

10

Cost PHY MAC Portability

Price ≈ $60

Michael Neufeld, Jeff Fifield, Christian Doerr, Anmol Sheth, and Dirk Grunwald, "SoftMAC---Flexible Wireless Research Platform", Fourth Conference on Topics In Networking (HOTNETS-IV), Nov 2005

Page 17: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

Wireless Building BlocksWireless Building Blocks

Page 18: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

FPGA Based SDRFPGA Based SDR

Splitting the receiver design into FPGA+software works, but is inflexible

Moore’s law tells us to ignore the compute bottleneck, and to focus on power, flexibility and I/O

Intra-system communication delay and variance requires tight integration with O/S

The packet detect block

An Intelligent Physical Layer For Cognitive Radio Networks, Aveek Dutta, Jeffrey Fifield, Graham Schelle, Dirk Grunwald, Douglas Sicker, WICON 2008

Page 19: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

Why Have Such A Flexible SDR?Why Have Such A Flexible SDR?

• You don’t know what you want until you have the opportunity to try it out

• Example: using radio platform to build low-overhead channel signaling and ranging

PHY-Aided MAC, Dola Saha, Aveek Dutta,, Dirk Grunwald, Under review 2008

Page 20: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

Multi-FPGA SystemsMulti-FPGA Systems

• Multi-chip FPGAOrganization

Graham Schelle and Dirk Grunwald, “Abstracting Modern FCCMs To Provide A Single Interface to Architectural Resources”, Proceedings 2007 Intl. Symp. On Field-Programmable Custom Computing Machines

Page 21: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

re_in

im_in

write

read

re_out

im_out

symbol

data

mod

real

imag

subcarriermodulation

In

rst

Out

rfd

mod_data

mod_wr

mod_addr

mod_ctl

modulation control

re

we

guard_in

guard_out

guard control FIFO

re_in

im_in

write

read

re_out

im_out

guard

z-2

In

data_in_strobe

In

data_in

din

we

re

dout

empty

%full

full

data fifo

data_in

fifo_rd

carrier_wr

data_out

mod_wr

carrier_num

ifft_start

guard

ctl.m

data control

[a:b]

bit 3

Terminator1

Terminator

B-FFT

SpectrumScopeScope1

Scope

sel

d0

d1

d2

Mux1

sel

d0

d1

d2

Mux

or

z-0Logical

xn_re

xn_im

start

xk_re

xk_im

v out

done

edone

IFFT

Out

Out

Out

Out1

Out2

Fake Data

if f t_v out

if f t_done

guard_in

sy mbol_we

guard_we

sy mbol_done

guard_out

FIFO write control

guard_re

sy mbol_reselect

FIFO select

sy mbol_done

guard_in

guard_re

sy mbol_re

FIFO read control

din

we

re

dout

empty

%full

full

FIFO

z-1

Out

DAC3

Out

DAC2

Out

DAC1

cast

Convert1

re_in

im_in

re_out

im_out

Convert

0

0

Constant1

Sy stemGenerator

Pipeline Partitioned Design Pipeline Partitioned Design • Decompose monolithic design

– E.g. Source Modulation iFFT Sink

• Latches become network messages

Source Modulation iFFT Sink

I/O I/OFPGA

Dedicated HW

Software

Graham Schelle, Jeff Fifield and Dirk Grunwald, “A Software Defined Radio Application Utilizing Modern FPGAs and NoC Interconnects”, Proceedings 17th Intl. Conference on Field Programming Logic

Page 22: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

processor

UART

OPB

memory

SchedulerX

Arch Init

Allocate +Poll NoC

Report Statistics

Tasklist Init

More Tasks to Schedule?

Allocate on Tiled FPGAAllocate on Tiled FPGA

Graham Schelle and Dirk Grunwald. Exploring FPGA Network on Chip Implementations Across Various Application and Network Loads. 17th Intl. Conference on Field Programmable Logic (FPL 2008).

Page 23: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

picoChip – Tiled ASIPpicoChip – Tiled ASIP

• Similar design goals– Many general purpose

nodes– DSP accelerators (FEC,

pre-amble detect, trellis)

• Similar desgns from coherent Logix, Ambric, etc

• Power profile still high for handset

Page 24: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

Many-core Tiled Architectures Many-core Tiled Architectures Becoming MainstreamBecoming Mainstream

• Intel Tera-Server

• Exo-Chi Acclerator Exo-Skeleton

• GPGPU

NVIDIA GT200 - up to 240 cores(graphics, HPC)

Page 25: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

Where do these architectural Where do these architectural alternatives lead us?alternatives lead us?

3 Goals

• Innovation– Most flexible

programmable interface

• Efficiency– ASIC / ASIP

• Cost– ASIC / ASIP

• Physics matters– Power & Attenuation

– Penetration and coverage

• Varying spatial scales of access and spatial reuse

60Ghz60Ghz

2.4Ghz2.4Ghz

1800Mhz1800Mhz

700Mhz700Mhz

Page 26: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

10% of the population using VoIP 10% of the population using VoIP (on 802.11g) at once(on 802.11g) at once

9,100 people / sq. km. is an estimated threshold density for 10% of the population to be able to use VoIP concurrently.

Page 27: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

100% of the population using VoIP 100% of the population using VoIP (on 802.11g) at once(on 802.11g) at once

91,000 people / sq. km. is an estimated threshold density for 100% of the population to be able to use VoIP concurrently.

Page 28: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

In the near future, “links” will In the near future, “links” will remain as a likely abstractionremain as a likely abstraction

• The 90%: the three levels of wireless imply three “more dedicated” radios

– LTE / 802.11 / ?

– Standards process

– Power / Die / Antenna efficiency

• The “system abstraction” will change, but not radically

– May need policy for operation

– Definitely need policy for use

• The 10%: everything else

• The non-dominant technology RF protocols can be handled by commodity computing platforms

• Task for systems: – handle breadth of protocols

with reasonable efficiency and maximal flexibility

– Schedule and allocate resources

– Not clear this will always be done by existing O/S

– Same thing needed for graphics

Page 29: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

Software ChallengesSoftware Challenges

Parallel software performance is related to core count, core types, communication latency, memory design, ISA extensions, and more...

Programmer cannot tune their software for all possible combinations of the above

Impossible to tune for future architectures

”... performance may not scale forward with new micro-architectures and, in some cases, may regress.” - Intel[1]

[1] Ghuloum, et. al. Future-Proof Data Parallel Algorithms and Software on Intel Multicore Architecture.Intel Technology Journal, Volume 11, Issue 4, 2007

Page 30: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

Proposed SolutionProposed Solution

End user executes parallel bytecode Correct mapping of available parallelism to

available hardware resources occurs during software installation or at runtime

Decouple bytecode from physical hardware

RuntimeSystem

ParallelBytecode

CPU

GPU

...

Page 31: Architecture For  Cognitive Radios

University of Colorado at Boulder

Core Research Lab

If I was a betting man..If I was a betting man..

• Future SDR / cognitive handsets include– Tunable wideband front end with selecting input /

output– Signal detection (probably ASIC)– ASIC / ASIP components for standard links– Custom algorithms built using integrated GPGPU /

Tiled computational resource

• Base-stations will use tiled resources– Increasingly based on commodity (tiled) hardware