Getting the Most Out of Low Power MCUs

Slides:



Advertisements
Similar presentations
Introduction to PIC Microcontrollers
Advertisements

Lizard Labs Peripheral Reflex System
Processor System Architecture
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
Read Chapter 3 (David E. Simon, An Embedded Software Primer)
HT46 A/D Type MCU Series Data Memory (Byte) Program Memory HT46R22 (OTP) HT46C22 (Mask) 2Kx Kx16 4Kx HT46R23 (OTP) HT46C23 (Mask) HT46R24.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
The domestic refrigerator-An example A car door mechanism.
ATMEL AVR 8 bit RISC MICROCONTROLLERS
3-1 System peripherals & Bus Structure Memory map of the LPC2300 device is one contiguous 32-bit address range. However, the device itself is made up of.
MCU – Microcontroller Unit – 1 MCU  1 cip or VLSI core – application-specific.
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose:  This training module provides a technical description of Renesas.
Lecture#14. Last Lecture Summary Memory Address, size What memory stores OS, Application programs, Data, Instructions Types of Memory Non Volatile and.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Clock Generator.
1 AVR Session 2 Master : Dr.jafari Authors: M.H Edrisi, hadi.edrisi yyyy aaaa hhhh oooo oooo.... cccc oooo mmmm.
ATmega128RFA1 Power Measurement. ATmega128RFA1 SoC (uC and Transceiver) Up to 16 MHz (i.e. almost 16 MIPS) Voltage range: 1.8v to 3.6v 16K bytes RAM 128.
Prepared by Eng. Musa Alyaman1 Chapter Seven Chapter Seven PIC16F87x.
00000-A Rev a Renesas Electronics Corporation ©2010. Renesas Electronics Corporation, All rights reserved. 2015/10/19 V850 Architecture Overview.
ATMEL AVR 8 bit RISC MICROCONTROLLERS a general comparison.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
WISP.
TI MSP430 MICROCONTROLLERS BY ADITYA PATHAK. THE MSP FAMILY Ultra-low power; mixed signal processors Widely used in battery operated applications Uses.
INTRODUCTION TO PIC MICROCONTROLLER. Overview and Features The term PIC stands for Peripheral Interface Controller. Microchip Technology, USA. Basically.
NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 AD converter.
STM32 및 개발보드 소개 Jang Hyunsung Embedded Systems Lab. Dept. of CSE, PNU
Computer Architecture: Intro Anatomy of a CPU J. Schmalzel S. Mandayam.
Chapter Overview General Concepts IA-32 Processor Architecture
GCSE Computing - The CPU
-Low Power and System Control Features
Unit Microprocessor.
PROGRAMMABLE LOGIC CONTROLLERS SINGLE CHIP COMPUTER
Government Engg College Bhuj E. C. Engg. Department
ATMEL AVR 8 bit RISC MICROCONTROLLERS
COURSE OUTCOMES OF Microprocessor and programming
Microcontrollers & GPIO
Power Management and Sleep Modes
Refer to Chapter 5 in the reference book
Power Management and Sleep Modes
Lecture 3: TI MSP430 Introduction
The Central Processing Unit
Introduction of microprocessor
Course Overview and The 8051 Architecture
Dr. Michael Nasief Lecture 2
Programming Microcontroller
The Arduino Microcontroller: Atmel AVR Atmega 328
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Subject Name: Microcontroller Subject Code: 10ES42
Introduction to Pentium Processor
Introduction to Microprocessors and Microcontrollers
Introduction to Digital Signal Processors (DSPs)
Class 1: An Introduction to Low Power Systems
Controlling Sensors Efficiently with MCUs
Protect Your Hardware from Hacking and Theft
“C” and Assembly Language- What are they good for?
Designing with ARM Cortex-M4 (and a Real Dev Board)
Introducing the PIC Mid-Range Family and the 16F84A
전자의료시스템 및 실습 System Configuration/Interrupt
Today’s agenda Hardware architecture and runtime system
AVR – ATmega103(ATMEL) Architecture & Summary
Introduction to Microprocessor Programming
EECE.3170 Microprocessor Systems Design I
Wireless Embedded Systems
Computer System Overview
Exploring Application Specific Programmable Logic Devices
Course Outline for Computer Architecture
GCSE Computing - The CPU
ADSP 21065L.
Presentation transcript:

Getting the Most Out of Low Power MCUs Part I: Low Power MCU Concepts and Capabilities 1/14/2013 Warren Miller

This Week’s Agenda 1/14/13 Low Power MCU Concepts and Capabilities 1/15/13 Low Power Modes in Detail 1/16/13 Low Power Peripherals 1/17/13 Extending Battery Lifetime 1/18/13 Advanced Example Designs

This Week’s Agenda 1/14/13 Low Power MCU Concepts and Capabilities 1/15/13 Low Power Modes in Detail 1/16/13 Low Power Peripherals 1/17/13 Extending Battery Lifetime 1/18/13 Advanced Example Designs

Class Description Modern MCUs have a variety of features that support very low power operation. In order to get the most out of these new devices we will review common concepts Like special low power operating modes and common capabilities Like special peripheral operations that most modern Low Power MCUs share.

Today’s Topics Goals and Objectives Why Low Power? MCU Power- an Overview Power Sources, Voltage Characteristics, Current Characteristics Processing Efficiency MCU Architecture- an Overview Processor Memory Peripherals Common Low Power MCU Capabilities Low Frequency Operation, Low Operating Voltage Low Power Modes, Low Power Peripherals

Goals and Objectives Understand, at the overview level, key concepts we will use in the rest of the class Power Sources Main MCU elements and any special low power characteristics (CPU, Memory and Peripherals) Low Frequency Operation Low Voltage Operation Low Power Modes

Why Low Power? More than $9B in products using rechargeable batteries used in homes, retail and warehouses Battery powered electronics use over $30B in electricity annually 5-10% of residential electricity cost comes from standby power (equipment on, but not doing anything)

MCU Power- An Overview Power Sources: Battery Energy Harvesting Size, mAh, Self Discharge, Lifetime Energy Harvesting Solar, Thermal, Pressure, Magnetic, etc Super Cap Voltage, Charge (Current over time) System Power Why would low power be important? Mains 200mAh 2000mAh

MCU Power- An Overview Voltage and Current Characteristics Voltage Range Wide range of VCC for battery operation Internal regulator to generate core voltage Voltage vs Frequency Higher frequency of operation requires higher voltage, PLL, Clock Osc, Flash Memory, Logic Static Current The amount of current required when nothing is switching Dynamic Current When signals switch state, current flow is required

MCU Active Characteristics MCU Efficiency Metrics (DMIPS-based) MCU Power- An Overview Processing Efficiency Max Clock Rate Instruction Cycle Time Wait States mA mA/DMIP Other Considerations Power Consumption MCU #1 MCU #2 MCU #3 MCU Active Characteristics MHz 100 168 mA 35 87 66 mA/MHz 0.35 0.52 0.66 MCU Efficiency Metrics (DMIPS-based) DMIPS 165 125 mA/DMIPs 0.21 0.70 0.53 DMIPS = Drystone MIPS, a benchmark for integer based processing. A mix of common processing functions used to compare various computer architectures. 20 years old so it is still useful but should not be considered the only metric needed. Pun on Whetstone which included Floating Point operations. Note: DE Vax 11/780 is considered a 1 MIPS machine with 1757 Drystones per second. DMIPS can result in better measures for CISC architectures vs RISC architectures if the CISC machine can process DMIPS functions in fewer instructions…

MCU Architecture- CPU CPU Blocks Program Counter Instruction Register Control Unit Register File ALU Status Register Stack Pointer Some Low Power Points: Data Processing Width, Number of Working Registers vs State Save Time and Active Power Requirements

MCU Architecture- CPU Control Inst #1 Inst #2 Inst #3 Inst #4 Fetch Decode Execute Pipelined Execution Fetch, Decode, Execute Sequential Operations Pipeline Stall Intelligent Control- Low Power Disable Decode Blocks Separate Execution Units Gated Clocks

MCU Architecture- Memory Low Power Features Code Memory: Flash Fetch size Wait states Cache Data Memory: SRAM Volatile Battery back-up Execute program from RAM

MCU Architecture- Memory Low Power Features Data Flash Non-volatile Key Configuration Data Saved Operating Data Resets or Brown-out Tamper Protection Time Stamps Power Failure Data

MCU Architecture- Peripherals GPIO GP Timer Low Power Features Bus Interface Peripheral Functions GPIOs Serial Standards Independent Operation GP Timers Watchdog Timers Interrupts DMA Interrupt DMA Serial CPU Debug Mult Div MAC Clock Watch Dog

MCU Architecture- Peripherals Low Power Features Clock Frequency Requirements, Analog to Digital Conversion Battery Back-up, Low Voltage Detection

MCU Low Modes- Overview Run: CPU, Clock, Peripherals: Running Sleep, Wait: CPU Clk Gated; Clock, Peripherals: Running Stop: CPU, Some Peripherals, Some Clocks: Gated Standby, Hibernate: CPU, Clock: Off; Some Peripherals: External Clock Other Blocks Flash, SRAM, Regulator, PLL, Osc, etc. RTC, WDT, Brownout Detect, etc. Additions Very Low Power, Deep, Snooze, etc. Different names for similar functions. You need to read the detailed descriptions in suppliers datasheets. Much more in next class.

Specialized Low Power Peripherals Low Power Oscillators Low Power Interval Timers Low Power Watchdog Timers Battery Back-up Operation Input Detection Low Power UART Etc.

Additional Resources WE Energy Harvesting Brochure: http://tinyurl.com/bb6m9nh MicroChip XLP Technology: http://tinyurl.com/bxq6lmd STMicroelectronics STM32L: http://tinyurl.com/9fpjhme Energy Micro MCUs: http://tinyurl.com/b9hnsbw TI MSP430 MCUs: http://tinyurl.com/7qqtpfa Renesas RL78 MCUs: http://tinyurl.com/aczhpmr Renesas RL78 Eval Kit: http://tinyurl.com/cbrnmdl http://ww1.microchip.com/downloads/en/devicedoc/01146b_chapter%202.pdf

This Week’s Agenda Tomorrow 1/14/13 Low Power MCU Concepts and Capabilities 1/15/13 Low Power Modes in Detail 1/16/13 Low Power Peripherals 1/17/13 Extending Battery Lifetime 1/18/13 Advanced Example Designs