Upload
edmund-ellis
View
217
Download
1
Tags:
Embed Size (px)
Citation preview
LOW POWER FPGAS IN WIRELESS SENSOR NETWORKS
PETER VOLGYESIRESEARCH SCIENTIST
INSTITUTE FOR SOFTWARE INTEGRATED SYSTEMSVANDERBILT UNIVERSITY
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
WSN PROJECTS WITH FPGAS
• Several WSN applications with FPGA-based sensor boards:– Shooter localization– Bridge (structural) monitoring– Vehicle tracking– RF localization
• Our approach: – Mote (mica2, xsm, micaz, telos, iris): RF communication– FPGA: signal processing– Relatively low-speed interface (I2C) + real-time handshaking– Sensors (audio, acoustic emission)
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
SHOOTER LOCALIZATION
• Acoustic sensing:– Muzzle blast– Shockwave
• Shooter localization • Trajectory estimation• Caliber and weapon type
classification• Requirements:– High sampling rate: SW length, TDoA– Multiple channels: TDoA
http://www.isis.vanderbilt.edu/projects/countersniper
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
SHOOTER LOCALIZATION
• Initially on mica2 nodes with single mics– Signal processing on the uC
• Several FPGA-based multi-channel sensor boards with motes
• Experimenting with DSP processors– Did not scale well with the number of channels
• Currently: FPGA-based 8 channel integrated board • Multiple channels are processed at 1MSPS while
the FPGA is running only @ 20MHz.
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
SHOOTER LOCALIZATION
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
BRIDGE MONITORING
• Acoustic emission sensors• Detecting and localizing cracks
in steel bridge elements• On-demand inspection and/or
continuous monitoring.• Low power requirements and
very high sampling rate– 4 channels @ 3.5 MSPS– FPGA runs @ 7MHz
• First design using low-power FPGA
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
• Beamforming on 4 channels – 100 kSPS– 36 beam angles in parallel
• Multiple source tracking• PSD estimation– 1 Hz resolution – DC-2kHz– PSD compression– FPGA runs @ 20MHz
VEHICLE TRACKING - BEAMFORMING
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
FPGA BASICS
• Programmable logic:– Combinational logic – flip-flops (registers)– routing
• Building blocks:– Programmable interconnect– Logic blocks (logic, regs)– I/O blocks– Clock networks and PLLs/DCMs– Block memory– Other hardware macros: multipliers, DSP blocks– Programming / debugging interface (JTAG, PROM)
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
FPGA TECHNOLOGIES
• SRAM-based (mainstream)– Logic functions: SRAM LUTs (4, 6 inputs)– Storage elements: SRAM flip-flops– Interconnect: SRAM-controlled switches, muxes – Configuration(LUTs, interconnect): loaded from
external storage
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
FPGA TECHNOLOGIES
• Flash-based– Logic functions:
switches– Storage elements:
feedback loops– Interconnect: flash-controlled switches, muxes
• Antifuse– One time programmable
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
FPGA MARKETDevice manufacturers (employees, revenue)• Xilinx (3000, $2billion)
– SRAM FPGAs, CPLDs• Altera (2800, $1.5billion)
– SRAM FPGAs, CPLDs• Lattice (600, $250million)
– SRAM FPGAs, CPLDs• Actel (500, $200million)
– Flash-based FPGAs– Antifuse, radiation hardened devices– Mixed signal programmable devices
• Quicklogic (150, $34million)– Antifuse devices
• SiliconBlue– Low-power SRAM FPGAs
• Anchronix– High-speed SRAM FPGAs
Design Tools• VHDL, Verilog, IP cores• Device manufacturers provide
low cost (free) tools• Expensive 3rd party tools for
complex designs (ASIC background)• Mentor Graphics• Synplicity• Magma, Altium, Cadence
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
CMOS TRENDS – FPGA PERSPECTIVE
• Currently it seems easier to decrease the transistor size (process node) than increase the operating speed.– Transistor count per die area still grows exponentially– FPGAs can take advantage of this easily– Processors (controllers, DPSs) do not
• Multiple cores• Pentium IV (Netburst) “fiasko”
– Power, price, size can be scaled much better to the application
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
DRAWBACKS OF MAINSTREAM FPGAS
• Power consumption (hundreds of mW)• Board size (configuration memory, external
oscillator, sophisticated power management)• Different power rails and power-up sequence• Development speed (HDL languages,
simulation, debugging)• Radiation (cannot be fixed in SW)
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
POWER CONSUMPTION – SRAM FPGAS
Duty cycling is not a perfect solution: high static power (disabling clocks is not enough)slow and high power reconfigurationmemory is lost if static power is removed
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
STATIC AND DYNAMIC POWER
• Static power– serious issue in FPGAs
(~ x10 transistors needed)– increases as transistor size
and Vth decreases
• Dynamic (active) power– V2Cf– Can be controlled by the
application developer• I/O switching• Clock scaling• Duty cycling• Lower device utilization
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
LOW POWER FLASH FPGAS
• Very low static power (micro W range)• Somewhat lower dynamic power• Smaller board space (configuration)• Instantly “ON”– No configuration loading, no in-rush current
• Radiation resistance• Duty cycling is a viable option for WSN
application
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
LOW POWER FLASH FPGAS
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
ACTEL IGLOO DEVICE FAMILY
• Flash-based low-power FPGAs• FlashFreeze mode– Clock domains suspended, high-impedance I/O– Memory contents (FF, BRAM) preserved
• Low cost (< $1), small size (3mm)• ARM Cortex M1 optional processor core (30-40%
device utilization)• IGLOO, IGLOO nano, IGLOO plus (I/O optimized)– Sizes comparable to medium size low-end SRAM
FPGAs
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
LOW POWER DESIGN TRICKS
• Decrease the average logic-switching activity– FSM encoding (one hot, Gray)– Glitch reduction or pushing it downstream
• Reduce the amount of logic switching at each clock edge– Both rising and falling clock edges should be used
• Reduce the propagation of the switching activity– Pipelines
• Lower the capacitance of the routing network and clock spines
• Use low voltage I/O standards
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
DRAWBACKS – LESSONS LEARNED
• Significantly slower maximum operating speed (10-40MHz)
• Smaller gate count (130nm process node)• Flip-flops and comb. logic is a shared resource– effective device size is smaller than expected
• No initialized memory– problematic with small processor cores
• Limited number of reprogramming (1000)• Much longer (re)programming time• No hardware multipliers, DSP blocks (yet?)
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
APPLICATION IN WSNS
• (Flash-based) FPGAs are ready to be used in motes running on batteries– SRAM FPGAs: hundreds of mW– Flash FPGAs: tens of mW dynamic, uW static
• Local signal processing, hard real-time services (eg.: timesync)
• HDL-based design flow is a (the most serious? ) drawback
• More advanced power rail requirements
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
SIMILAR DIRECTIONS
• Parallax Propeller chip– 8 32bit controllers (cogs)– Low pin count– SPIN
programming language
– Highly flexibleperipheral(Timer-based)
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
SIMILAR DIRECTIONS
• Cypress Semiconductor PSoC• 8bit Harvard-architecture uC (M8C)• Configurable digital and analog blocks and
interconnect• Drives the iPod scroll-wheel (CapSense)• Ideal for simple, small and low-power WSN
applications
Low Power FPGAs in Wireless Sensor Networks Peter Volgyesi, Vanderbilt University, ISIS
THE END