A Comparative Analysis of Conventional 8051 Micro Controller With Modern Ultra Low Power MSP430
-
Upload
nishit-chittora -
Category
Documents
-
view
469 -
download
2
description
Transcript of A Comparative Analysis of Conventional 8051 Micro Controller With Modern Ultra Low Power MSP430
28-05-2011
1
A
COMPARATIVE ANALYSIS OF CONVENTIONAL
8051 MICRCONTROLLER
AND
MODERN ULTRA LOW POWERED MSP 430
#1Nishit Chittora #2Akshay Nigam
#3Pankaj Chaudhary
*4Saurabh Porwal
Electronics & Communication Engineering Department #Geetanjali Institute of Technical Studies, Udaipur
V/s
Presented By:
MSP430 8051
� INTRODUCTION
� MICROCONTROLLER 8051
� 8051 Key Features
� 8051 Applications
� MODERN ULTRALOW POWERED MSP430
� MSP430 Key Features
� Dominance of MSP430
� Application of MSP430
� WHAT HAS BEEN IMPROVED?
� FEATURE COMPARISON
� CONCLUSIONS
� REFERENCES
CONTENTS at a GLANCE
28052011
2
INTRODUCTION
�The popularity of microcontroller is ever increasing, as fuelled
by the advances in the semiconductor industry.
�They are embedded in almost any device connected to
power or battery.
�Limitations of digital electronics vanished today,
due to emergence of powerful microcontrollers.
In this paper we are presenting the
�featured characteristics of latest processor MSP430 by TI.
Further
�A comparison is done among different features of the ultra low power
MSP430 with the conventional 8051 microcontroller.
�Broad application areas and advantages of MSP430 microcontroller over 8051
are reviewed in terms of
�Power consumption
�Number of Code bytes
�Additional onchip components.
INTRODUCTION …contd.
28052011
3
As we all know
� A microcontroller is a functional computer systemonachip.
� It contains :
i) Processor core
ii) Memory
iii)Programmable input/output peripherals.
� They consume relatively little power (MiliWatts).
� Able to retain functionality
� Programmable
Microcontrollers are now used in all automatically controlled products and
devices, such as automobile engine control systems, implantable medical
devices, remote controls, office machines, appliances, power tools, and toys.
MICROCONTROLLER
MICROCONTROLLER 8051
� Conventional Microcontroller
� It is single chip microcontroller (µC) series which was developed
by Intel in 1980 for use in embedded systems
� Harvard architecture
� Intel's original MCS51 family was based on NMOS technology, but later
versions are based on CMOS technology and were less powerhungry than
their NMOS predecessors.
However, as the need has grown, a desire to control more number of chip
components has increased, which
→seeks more power.
→demands more number of peripherals like ADCs/ DACs, etc
28052011
4
The 8051 architecture provides many functions in a single package
� 8bit ALU, Accumulator and 8bit Registers, hence a 8bit microcontroller.
� 8bit data bus – It can access 8 bits of data in one operation.
� 16bit address bus – It can access 216 memory locations – 64 KB
(65536 locations) each of RAM and ROM
� Onchip RAM – 128 bytes (data memory)
� Onchip ROM – 4 Kbyte (program memory)
� Four byte bidirectional input/output port
� UART (serial port)
� Two 16bit Counter/timers
� Twolevel interrupt priority
� Power saving mode
MICROCONTROLLER 8051 KEY FEATURES
MICROCONTROLLER 8051 ARCHITECTURE
28052011
5
At present, 8051 microcontroller are generally used in
� Home Appliances
� Office Accessories
� Portable electronic gadgets
� Biomedical instrumentation
� Automobile industries
� Mission critical application
� Solar panels etc.
However, the increasing technology with rising demand to incorporate more
number of features utilizing same/less power has led to the evolution of ultra
low power microcontrollers like MSP430.
APPLICATION OF MSP430
� MSP430 are mixedsignal microprocessors and are
now ready to offer solutions for today and tomorrow's
mixedsignal applications.
� 16bit RISC CPU
� Various onchip peripherals available
� VonNeumann common memory architecture
� Flexible clock system
� Designed for low cost and specifically, low power consumption embedded
applications
MODERN ULTRA LOW POWERED MSP430
28052011
6
Features
8051
MSP430
Processor width 8bit 16bit
Architecture
8bit internal data bus width and 16
bit internal
address bus with Harvard
architecture.
Flexibility of 16 fullyaddressable,
singlecycle, 16bit CPU registers.
Register Sets 8bit and 16bit 16bit CPU registers.
Type of processor CISC RISC
Addressing modes 5 7
FEATURE COMPARISON
Specialized onchip analog components
� 10/12/16bit AnalogtoDigital Converter (ADC)
� 12bit dual DigitaltoAnalog Converter (DAC)
� Comparatorgated timers to count for events.
� Operational Amplifiers for comparison.
� Supply Voltage Supervisor (SVS) to generate a system reset (POR) when
the external supply voltage drops below a userselectable threshold.
Architectural features:
� 16bit RISC
� Instructions processing done on any bits, bytes or words.
� Compact core design which reduces power consumption and cost.
� It has 51 instructions (27 core + 24 emulated).
� Supports 7 addressing modes.
� Extensive vectoredinterrupt capability.
MSP430 FEATURES
28052011
7
• MSP430 has low power consumption.
a. It takes only 0.1µA for RAM data retention.
b. Requires 0.8 µA for real time clock mode operation.
c. 250 µA per MIPS (Machine Instructions per Second) at active
operation.
• It works on low operating voltages ranging from 1.8 V to 3.6 V
in different operating modes.
• The port has low leakage current typically less than 50nA.
These controllers can be put easily from active mode to
lowpower mode by controlling bits in the status register.
These supports several lowpower modes, depending on how
much of the device should remain active and how quickly it
should return to fullspeed operation.
POWER REQIUREMENT
Feature 8051 MSP430
Power
requirement
5 Volt 1.83.6 Volt
Power
dissipation
1.5Watt 4.5mW
0
50
100
150
200
250
300
Active
Mode
LPM0 LPM1 LPM2 LPM3 LPM4
Current Consumption (in µA)
Current
Consumption (in
µA)
Modes
Current
Consumption
(in µA)
Active Mode 0.75
LPM0 0.105
LPM1 0.132
LPM2 0.0475
LPM3 0.0144
LPM4 0.0018
FEATURE COMPARISON
28052011
8
Figure1 shows the total code size in bytes for each microcontroller with no
optimization and with full optimization.
0
1000
2000
3000
4000
5000
6000
7000
8000
MSP430FG4619 8051
Unoptimized
Optimized
Co
de
s s
ize
in
By
tes
DOMINANCE OF MSP430
Figure2 shows the total cycle count for each microcontroller
with no optimization and with full optimization
0
10000
20000
30000
40000
50000
60000
70000
80000
MSP430FG4619 8051
Unoptimized
Optimized
DOMINANCE of MSP430
28052011
9
Within the MSP430 platform, it includes 5 generations of ultralow power,
highly integrated microcontrollers spanning over 200 devices.
It also offers various levels of analog integration, digital peripherals, and
communication protocols to help developers find the right microcontroller for
various applications.
� Communication and telecom
� Utility Metering
� Portable Medical and instrumentation
� Lowpower Wireless Application
� Intelligent Sensing
� Consumer Electronics
� Security Systems
� Energy and lightening
� Space Avionics and Defence
� Transportation Automotive
APPLICATION OF MSP430
Basic Clock System
Plus
Improved Oscillators
FLASH
BOR
WDT+
Improved Robustness
XIN XOUT
FLASH
18 KB
RAM
256B
PowerOn
Reset
12MHz
Basic
Clock
Plus
Watchdog
Plus
15bit
RISC CPU
16bit
ACLK
SMCLK
MAB
MDB
Timer_A3
16bit
Comp_A
Mux Input
Port 1
with IRQ
Port 2
with IRQ
MCLK
TEST
J T A
G / D
e B
U G
BrownOut
Protection
Programmable
PullUps / Downs
Programmable
PullUps / Downs
Comparator_A
+ Sample & Hold
Multiplexer
Higher Speed
16MHz
WHAT OTHER HAS BEEN IMPROVED…?
28052011
10
3-ChannelDMA
SensorSignalInput
AnalogOutput
Analog to DigitalConverter
MSP430F169
16 x 16MACS
16-bit RISCCPU
IrDASerial COMI2CReadout
Digital to AnalogConverter
• Complete Signal Chain On a Chip SCoC
• High performancetocost benefits
• Embedded emulation allows realtime authentic debugging
• High performance A/D converter can eliminate the need for signal
amplification
• Integrated D/A converters complete the signal chain
• DMA enabled peripherals eliminate Peripheral Interface Control
SIGNAL CHAIN on CHIP SCoC
Feature 8051 MSP430
Onchip
wireless
features
Not Available Available
DMA Not Available Available
upto 3 to 8
channels.
Interfacing General purpose Devices
interfaced externally
A wide selection of onchip general
purpose devices based on specific
MSP430Fxxx platform.
Instruction sets 127 51 instructions (27 core + 24
emulated)
Timers 2 to 3 Several timers few of which have
capture compare modes.
Watch Dog No Yes
FEATURE COMPARISON
28052011
11
Number of on
chip
components
Not Available Available onchip – USB, LCD, LCD_A
controllers, Software RTC Module.
ADC and DAC External interface required Available onchip
10, 12 and 16bit different ADCs in
specific devices.
Clocking System Fixed Flexible Clocking System
MCLK, ACLK, SMCLK
FEATURE COMPARISON
Interfacing General purpose Devices
interfaced externally
A wide selection of onchip general
purpose devices based on specific
MSP430Fxxx platform.
Instruction sets 127 51 instructions (27 core + 24
emulated)
Timers 2 to 3 Several timers few of which have
capture compare modes.
28052011
12
Power
requirement
5 Volt 1.83.6 Volt
Power
dissipation
1.5Watt 4.5mW
Number of on
chip
components
Not Available Available onchip – USB, LCD, LCD_A
controllers, Software RTC Module.
ADC and DAC External interface required Available onchip
10, 12 and 16bit different ADCs in
specific devices.
Clocking System Fixed Flexible Clocking System
MCLK, ACLK, SMCLK
FEATURE COMPARISON
Low power modes Only one. Five modes available.
Programming
Interface
Aging RS 232 4wire JTAG and Spy Biwire interface.
Cost Comparatively high. lowcost,
Lowerend applications. Ideal for high
volume/Lowcost designs. (25 cents)
FEATURE COMPARISON
28052011
13
One of the most important quality standards for battery powered devices is battery life.
Handheld medical tools, electricity meters, personal digital assistants, and a goal of the
designer and programmer is to lower the power use of the embedded system to negligible
levels.
� In designing battery powered devices, savings can be gained from the choice of electronic
components, the arrangement of components, and the software on the design. The
MSP430 supports various low power modes thus we can conclude that, the ultralow power
mixedsignal microcontrollers from TI provides the ultimate solution for a wide range of low
power and portable applications.
� To enable the adoption of advanced lowpower techniques by mainstream users, the
MSP430 fulfils the need for a design flow which holistically addresses the architecture,
design, verification, and implementation of lowpower designs.
The major advantage of MSP430 is that it requires very low input power supply for its
operation, Further more it has inbuilt ADC and DAC which are not present in 8051
microcontroller. The MSP430's DMA allows data transfers from one address to another without
CPU intervention, across the entire address range. This features up to three independent
transfer channels.
CONCLUSION
REFERENCES:
1. John H. Davies, MSP 430 Microcontroller Basics, 2010, Elsevier Inc., ISBN: 9780750682763
2. Chris Nagy, Embedded Systems Design using the TI MSP430 Series, 2003, Boston Newnes,
3. Embedded Technology Series, ISBN 075067623X. MSP430 Microcontroller Essentials, CDROM from
Texas Instruments, 2009.
4. Ajay V. Deshmukh, 2008, Microcontrollers: Theory and Applications, First Edition, Tata McGraw
Hill Publishing Company Ltd., ISBN: 9780070585959
5. Muhammad Ali Mazidi, Janice Gillespie Mazidi and Rollin D. McKinley, The Microcontroller and
Embedded Systems: using Assembly & C, 2009, Second Edition, Dorling Kindersley (India) Pvt. Ltd.,
ISBN: 9788131710265
6. Kenneth J. Ayala and Dhananjay V. Gadre, The 8051 Microcontrollers and Embedded Systems:
Using Assembly & C, 2010, Second Impression, Cengage Learning India Pvt. Ltd., ISBN: 9788131511053
7. Satish Shah, 8051 Microcontrollers: MCS51 family and its variants, 2010, First Edition, Oxford University Press,
ISBN:9780198063575
8. Scott Mackenzie and Raphael C.W. Phan, The 8051 Microcontroller, 2008, Fourth Edition, Pearson Education,
ISBN: 9788131720189
9. HanWay Huang, Embedded System Design using C8051, 2009, Cengage Learning India Pvt. Ltd.,
ISBN: 9788131512241
http://en.wikipedia.org/wiki/Intel_MCS51
http://en.wikipedia.org/wiki/TI_MSP430
http://focus.ti.com/mcu/docs/mcumspoverview.tsp?sectionId=95&tabId=140&familyId=342
28052011
14
Thank You
�
�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������