Você está na página 1de 6

A Comparative Analysis of Conventional

8051 Microcontroller with Modern Ultra


Low Power MSP430
#1
Nishit Chittora, #2Akshay Nigam, #3Pankaj Chaudhary, #4Saurabh Porwal

nish2405@gmail.com, pankajchaudhary1708@gmail.com, akshaynigam89@yahoo.in,


porwalnk@rediffmail.com
1, 2, 3
Electronics & Communication Engineering Department,
4
Sr. Lecturer, Electronics & Communication Engineering Department,
#
Geetanjali Institute of Technical Studies, Udaipur

Abstract— Computational tools and computing office machines, appliances, power tools, and
machines were always the attraction and motivation toys.
for the technological implementation in the field of The first industry efficient microcontroller
industrial and domestic products. The popularity of Intel MCS-51 is based on Harvard architecture. It
microcontroller is ever increasing, as fuelled by the
is single chip microcontroller (µC) series which
advances in the semiconductor industry. They are
embedded in almost any device connected to power was developed by Intel in 1980 for use
or battery. The limitations of digital electronics have in embedded systems. Intel's original versions
almost vanished today, due to emergence of these were popular in the 1980s and early 1990s, but
varieties of powerful microcontrollers. By reducing has today largely been superseded by a vast range
the size and cost compared to a design that uses a of faster and/or functionally enhanced 8051-
separate microprocessor, memory, and input/output compatible devices manufactured by more than
devices, microcontrollers make it economical to 20 independent manufacturers. Intel's original
digitally control even more devices and processes MCS-51 family was developed
consuming less power. In this paper featural
using NMOS technology, but later versions,
characteristic of latest processor MSP430 is
highlighted. These processors utilize common, identified by a letter C in their name (e.g., 80C51)
integrating analog components to control non- used CMOS technology and were less power-
digital electronic systems. A comparison is done hungry than their NMOS predecessors. This made
among different features of the ultra low power them more suitable for battery-powered devices.
MSP430 with the conventional 8051 However, as the need has grown, a desire to
microcontroller. Broad application areas and control more number of hip components has
advantages of MSP430 microcontroller over 8051 increased, which seeks more power.
are also illustrated and reviewed in terms of power
consumption and additional on-chip components.
Keywords—Microcontroller, 8051, MSP430,
Architectural features, low-power modes.

I. INTRODUCTION
A microcontroller is a functional computer
system-on-a-chip. It contains a processor core,
memory and programmable input/output
peripherals. They consume relatively little power
(milliwatts), and will generally have the ability to
retain functionality while waiting for an event
such as button press or interrupt. As they are
programmable, its programs must fit in the
available on-chip program memory to reduce its Fig. 1 Basic block diagram of microcontroller
cost. Since processors interpret and process
digital data, i.e. only 1s and 0s only, they won’t The Texas Instrument’s MSP430 is a mixed-
be able to do anything with the analog signals that signal microcontroller family from Texas
may be being sent to it by a device. So as an A/D Instruments. Built around a 16-bit CPU, the
converter is used to convert the incoming data MSP430 is designed for low cost, and
into a form that the processor can recognise. specifically, low power consumption embedded
Microcontrollers are now used in all applications. The MSP430 is particularly well
automatically controlled products and devices, suited for metering, wireless radio frequency
such as automobile engine control systems, engineering (RF), or battery-powered
implantable medical devices, remote controls, applications.
In MSP430 a 16-bit RISC CPU, peripherals mode, the processor can achieve current in the
and flexible clock system are combined by using microamps while still monitoring its inputs. The
a Von-Neumann common memory address bus modes vary the degree to which the processor is
(MAB) and memory data bus (MDB). Partnering aware of its surroundings and the clocks that the
a modern CPU with modular memory-mapped processor keeps running. Further a useful
analog and digital peripherals, the MSP430 offers property of the MSP430 is that its recovery time
solutions for all mixed-signal applications. from some low-power modes is fast enough to
meet the response times of interrupts.

III. CHARACTERISTIC FEATURES


A. 8051 Microcontroller Key Features
The 8051 architecture provides many functions
(CPU, RAM, ROM, I/O, interrupt logic, timer,
etc.) in a single package
1. 8-bit ALU, Accumulator and 8-bit Registers,
hence it is an 8-bit microcontroller.
2. 8-bit data bus – It can access 8 bits of data in
one operation
3. 16-bit address bus – It can access 216 memory
locations – 64 KB (65536 locations) each of
RAM and ROM
Fig. 2 Block diagram of MSP430 microcontroller
4. On-chip RAM – 128 bytes (data memory)
5. On-chip ROM – 4 KByte (program memory)
II. POWER MANAGEMENT 6. Four byte bi-directional input/output port
Power management would be much simpler if 7. UART (serial port)
all portable electronics requires the same 8. Two 16-bit Counter/timers
operating voltage. In recent years, power 9. Two-level interrupt priority
consumption has moved to the forefront of digital 10. Two power saving modes
IC development concerns. The combination of B. MSP430 Microcontroller Key Features
higher clock speeds, greater functional
MSP430 offers 200+ ultra-low power
integration, and smaller process geometries has
microcontrollers devices. Each device features a
contributed to significant growth in power
flexible clocking system. MSP430 ensures that
density. Furthermore, with every new process
the application only uses the appropriate clocks
generation, leakage power consumption increases
and peripherals that are needed to perform the
at an exponential rate.
task at hand. Several features make the MSP430
Most parts have a shutdown or sleep mode
suitable for low-power and portable applications,
available that will reduce the current consumption
which are hardly present in 8051 microcontroller:
of the component considerably. In general, digital
1. MSP430 has low power consumption,
parts consume significant current when their
a. It takes only 0.1µA for RAM data
transistors switch because of the charging and
retention.
discharging of the internal capacitances of the
b. Requires 0.8 µA for real time clock
transistors. Analogue integrated circuits also
mode operation.
support shutdown modes to reduce power
c. And 250 µA per MIPS (Machine
consumption. It is important to note that when a
Instructions per Second) at active
device is in shutdown mode, power and ground
operation
voltages are still powered and connected to the
2. It works on low operating voltages ranging
device.
from 1.8 V to 3.6 V in different operating
In order to shutdown most integrated circuits,
modes.
all that is required is a shutdown or sleep pin to be
3. The port has low leakage current typically
asserted properly. Other devices require a
less than 50nA.
shutdown command to be issued over the bus.
4. These controllers can be put easily from
The primary disadvantages of shutdown modes,
active mode to low-power mode by
apart from the fact that the device is inoperative is
controlling bits in the status register. These
that recovering back into normal operating modes
supports several low-power modes,
can impose a significant delay.
depending on how much of the device should
In battery operated electronic devices, the
remain active and how quickly it should
energy required to execute given tasks set is one
return to full-speed operation.
of very important parameters. The modern
5. MSP430 contain specialized on-chip
MSP430 microcontroller provides a number of
analogue components for various types of
methods to reduce microcontroller power
measurement like
requirements by selecting among the various
a. 10/12/16-bit Analog-to-Digital
available low power modes. In lower power
Converter (ADC)
b. 12-bit dual Digital-to-Analog Converter A. MCLK: This is the Master Clock, the one that
(DAC) drives the processor and times the commands
c. Comparator-gated timers to count for in your program. This is typically a high
events. frequency clock, but can be configured for
d. Operational Amplifiers for comparison. low frequencies if needed.
e. Supply Voltage Supervisor (SVS) to
generate a system reset (POR) when the B. SMCLK: The Sub-Main Clock is a secondary
external supply voltage drops below a clock that is often used by other peripherals.
user-selectable threshold. It can be the same frequency as MCLK or
6. These controllers can drive directly many different, depending on the application.
portable devices such as USART, I2C/SPI C. ACLK: The Auxiliary Clock is usually timed
Universal Serial Interface and LCD displays. outside the MSP430 and is typically used for
7. The architecture of these devices is 16-bit peripherals. Often, this is a low frequency
RISC (Reduced Instruction Set Computing) clock, but can also be used at high frequencies
with following features: when desired.
a. Instructions processing done on any bits,
All of the techniques that improve code
bytes or words.
efficiency will improve power efficiency.
b. Compact core design which reduces
power consumption and cost. Increasing clock speed will not yield similar
c. Has 51 instructions (27 core + 24 power savings because faster execution increases
power consumption. Similarly, unused peripheral
emulated).
modules on the processor should be de-activated
d. Supports 7 addressing modes.
to save power.
e. Has extensive vectored-interrupt
capability. Any interrupt can wake up V. MSP430 APPLICATION OPERATING MODES
the MSP430 from low-power mode to
active mode and transfer the routine of MSP430 has six operating modes including
the program to vector locations causing the active mode, each with different power
that interrupt. requirements. Three of these modes are important
8. Availability of wide choice of clocks with for battery-powered applications:
different sources. A. Active mode
In this mode the CPU and other device
IV. REAL-TIME CAPABILITY WITH ULTRA-LOW functions run all the time. It is used for
POWER CONSUMPTION calculations, decision-making, I/O functions, and
other activities that require the capabilities of an
The design of the MSP430 was driven by the
operating CPU. All of the peripheral functions
need to provide full real-time capability while still
may be used, provided that they are enabled.
exhibiting extremely low power consumption.
Average power consumption is reduced to the B. Low power mode 3 (LPM3)
minimum by running the CPU and certain other This is the normal mode for most applications
functions of the MSP430 only when it is during 99% to 99.9% of the time. This mode is
necessary. The rest of the time (the majority of also called done mode or sleep mode. This mode
the time), power is conserved by keeping only is most important for battery-powered
selected low-power peripheral functions active. applications. The CPU is disabled, but enabled
But to have a true real-time capability, the device peripherals stay active. The basic timer provides a
must be able to shift from a low-power mode with precise time base. When enabled, interrupts
the CPU off to a fully active mode with the CPU restore the CPU, switch on MCLK, and start
and all other device functions operating nominally normal operation.
in a very short time. This was accomplished
primarily with the design of the system clocks. C. Low power mode 4 (LPM4)
The MSP430 has three separate clocks that This mode is typically used during storage.
can run as quickly as 16 MHz in particular This mode is also called off mode. It is used if the
conditions. The reason three clocks instead of just absolute lowest supply current is necessary or if
one or even two is to compromise between no timing is needed or desired (no change of the
systems that need speed and the ability to RAM content is allowed). This is normally the
minimize power consumption, one of the real case for storage preceding or following the
hallmarks of the MSP430. Faster clocks consume calibration process.
more power, so to really reduce the power used
we need slower clocks. But some functions need VI. APPLICATIONS
to respond and conclude quickly, so we also need Within the MSP430 platform, it includes 5
fast clocks. We can design around the use of a generations of ultra-low power, highly integrated
single clock, but having the flexibility of three is microcontrollers spanning over 200 devices. It
powerful. The three clocks available in BCS+ also offers various levels of analog integration,
module are digital peripherals, and communication protocols
to help developers find the right microcontroller VII. CONCLUSION
for various applications. MSP430 applications fall One of the most important quality standards
into two main classes, depending on the power for battery powered devices is battery life.
supply: Handheld medical tools, electricity meters,
For AC power-driven applications such as personal digital assistants, and a goal of the
electricity meters and AC-powered controllers the designer and programmer is to lower the power
microcontroller needs to be active at all times. use of the embedded system to negligible levels.
The low current consumption of the MSP430 In designing battery powered devices, savings can
when active (900 µA @ 5V & fC = 1 MHz) puts it be gained from the choice of electronic
well within the typical low-power category now components, the arrangement of components, and
which is currently < 40 mA. the software on the design. The MSP430 supports
For battery-powered applications such as gas various low power modes thus we can conclude
meters, water flow meters, heat volume counters, that, the ultra-low power mixed-signal
data loggers, and other controller and remote microcontrollers from TI provides the ultimate
metering tasks power consumption is the key solution for a wide range of low power and
issue since operation from a single battery for 10 portable applications.
years or longer is often required. The average To enable the adoption of advanced low-
current drawn by the MSP430 needs to be in the power techniques by mainstream users, the
range of the self discharge current of the battery, MSP430 fulfils the need for a design flow which
approximately 1 µA to 3 µA. holistically addresses the architecture, design,
Thus the major applications of MSP430 are in verification, and implementation of low-power
Utility Metering, Portable Medical and designs.
instrumentation, Low-power Wireless The major advantage of MSP430 is that it
Application, Intelligent Sensing, Communication requires very low input power supply for its
and telecom, Consumer Electronics, Security operation, Further more it has inbuilt ADC and
Systems, Energy and lightening, Space Avionics DAC which are not present in 8051
and Defence, Transportation Automotive. microcontroller. The MSP430's DMA allows data
The conventional 8051 microcontrollers are transfers from one address to another without
generally used in Home Appliances, Office CPU intervention, across the entire address range.
Accessories, Portable electronic gadgets, This features up to three independent transfer
biomedical instrumentation, Automobile channels.
industries, mission critical application, solar
panels etc.
Second Edition, Dorling Kindersley (India) Pvt. Ltd.,
REFERENCES ISBN: 9788131710265
[1] Abhishek Sharma, Saurabh Porwal, Embedded System [7] Kenneth J. Ayala and Dhananjay V. Gadre, The 8051
Design, 2011, First Edition, Ashirwad Publications, Microcontrollers and Embedded Systems: Using
ISBN: 9789380343433. Assembly & C, 2010, Second Impression, Cengage
[2] John H. Davies, MSP 430 Microcontroller Basics, Learning India Pvt. Ltd., ISBN: 9788131511053
2010, Elsevier Inc., ISBN: 9780750682763 [8] Satish Shah, 8051 Microcontrollers: MCS51 family and
[3] Chris Nagy, Embedded Systems Design using the TI its variants, 2010, First Edition, Oxford University
MSP430 Series, 2003, Boston Newnes, Embedded Press, ISBN:9780198063575
Technology Series, ISBN 075067623X. [9] I. Scott Mackenzie and Raphael C.-W. Phan, The 8051
[4] MSP430 Microcontroller Essentials, CD-ROM from Microcontroller, 2008, Fourth Edition, Pearson
Texas Instruments, 2009. Education, ISBN: 9788131720189
[5] Ajay V. Deshmukh, 2008, Microcontrollers: Theory [10] Han-Way Huang, Embedded System Design using
and Applications, First Edition, Tata McGraw-Hill C8051, 2009, Cengage Learning India Pvt. Ltd., ISBN:
Publishing Company Ltd., ISBN: 9780070585959 9788131512241
[6] Muhammad Ali Mazidi, Janice Gillispie Mazidi and [11] http://en.wikipedia.org/wiki/Intel_MCS-51
Rollin D. McKinlay, The Microcontroller and [12] http://en.wikipedia.org/wiki/TI_MSP430
Embedded Systems: using Assembly & C, 2009, [13] http://focus.ti.com/mcu/docs/mcumspoverview.tsp?sect
ionId=95&tabId=140&familyId=342

TABLE 1 COMPARISON BETWEEN 8051 AND MSP430


Features 8051 MSP430
CPU width 8-bit 16-bit
Architecture 8-bit internal data bus width and Flexibility of 16 data and address fully-
16-bit internal address bus with addressable, single-cycle 16-bit CPU registers
Harvard architecture
Register Sets 8-bit and 16-bit 16-bit CPU registers
Type of processor CISC RISC
Addressing modes 5 7
Clocking System Fixed Flexible Clocking System with MCLK, ACLK
and SMCLK
Interfacing General purpose Devices A wide selection of on-chip general purpose
interfaced externally devices based on specific MSP430Fxxx platform.
Instruction sets 255 instructions 51 instructions (27 core + 24 emulated)
Timers 2 to 3 Several timers few of which have capture compare
modes
Watch Dog No Yes
Power requirement 5 Volt 1.8-3.6 Volt
Power dissipation 1.5Watt 4.5mW
On-chip components Not Available Available on-chip – USB, LCD, LCD_A
controllers, Software RTC Module
ADC and DAC External interface required Available on-chip
10, 12 and 16-bit different ADCs in specific
devices
On-chip wireless Not Available Available
features
DMA Not Available Available upto 3 to 8 channels
Low power modes Two mode available Five modes available
Programming Interface Aging RS232 4-wire JTAG and Spy Bi-wire interface
Cost Comparatively high Low-cost, lower-end applications.
Ideal for high-volume/Low-cost designs (25
cents)

AUTHORS

Saurabh Porwal is a Sr. Akshay Nigam is pursuing his


Lecturer in the department of technical graduation in
Electronics & Electronics and
Communication Engineering Communication Engineering at
Geetanjali Institute of Geetanjali Institute of
Technical Studies, Udaipur. Technical Studies, Udaipur. He
He has a professional has undertaken training on PLC
experience of working with Microcontrollers, & DCS systems in Videocon Industries Limited.
Automation & Instrumentation parts. He has He has also attended IEEE International
guided several projects based on Embedded Workshop on RF and Microwave. His subjects of
System design starting from hardware designing interest are Microcontroller, Wireless
to complete logic development, one of which got Communication and Digital Signal Processing.
sponsored from Department of Science and Currently he is working on DTMF based
Technology, Rajasthan. He has contributed and Telephone Remote Control and Automation.
presented several papers in various reputed
International & National Conferences & Seminars Pankaj Chaudhary is
of IEEE, IETE & IEI. He has acted as co-editor in pursuing his technical
the Book of Proceedings of the IEEE National graduation in Electronics and
Conference NCACA-2009 and also authored a Communication Engineering
text book on Embedded System Design for at Geetanjali Institute of
students of undergraduate level. Technical Studies, Udaipur.
Apart from this he has also
Nishit Chittora is pursuing his designed and developed
technical graduation in website of department of Electronics &
Electronics and Communication Engineering, GITS. His subjects
Communication Engineering of interest are Microcontroller, Microprocessor &
at Geetanjali Institute of Digital Electronics. He is currently working on
Technical Studies, Udaipur. the project Ultrasonic Range Finder based on
He has undergone training in microcontroller 8051.
HMT Machines Tools Ltd.,
Ajmer, on programmable Logic Controller. His
subjects of interest are Microcontroller,
Microprocessor, Control System, Robotics and
Digital Electronics. He is currently working on
the project Ultrasonic Range Finder based on
microcontroller 8051.
���������������������������������������������������������������������������
���������������������������������������������������������������������������������
�����������������������������������������������������

Você também pode gostar