Embedded Systems Paper Presentation
Embedded Systems Paper Presentation
Embedded Systems Paper Presentation
com
1 www.studentyogi.com
constraints than desktop computing applications. No single characterization applies to the diverse spectrum of embedded systems. However, some combination of cost pressure, long life-cycle, real-time requirements, reliability requirements, and design culture dysfunction can make it difficult to be successful applying traditional computer design methodologies and tools to embedded applications. Embedded systems in many cases must be optimized for life-cycle and business-driven factors rather than for
expanding embedded computer design to the scope of holistic embedded system design. However, knowing the strengths and weaknesses of current approaches can set expectations appropriately, identify risk areas to tool
www.studentyogi.com
www.studentyogi.com
www.studentyogi.com
2 www.studentyogi.com
INTRODUCTION:
If we look around us, today we see numerous appliances which we use daily, be it our refrigerator , the microwave oven, cars, PDAs etc. Most appliances today are powered by something beneath the sheath that makes them do what they do. These are tiny microprocessors, which respond to various keystrokes or inputs. These
appliances. We call them embedded systems. Of all the semiconductor industries, the embedded systems market place is the most conservative, and engineering decisions here usually lean towards established, low risk solutions. Welcome to the world of embedded
ww
noncomputing device, say a car, TV or toy. We can define an embedded system as a computing device, built in to a device that is not a computer, and meant for doing specific computing tasks. In general engineering terms, embedded systems are used for the control of industrial or physical processes. In computer science terms, embedded
www.studentyogi.com
w.
systems, of computers that will not look like computers and wont function like any thing
stu d
tiny microprocessors, working on basic assembly languages, are the heart of the
en
tyo
www.studentyogi.com
gi.
co m
www.studentyogi.com
3 www.studentyogi.com
systems are distributed reactive systems. Typically these systems have to react to stimuli from their environment in real time. This can be of high importance in situations where a
Embedded systems have been around us for about as long as computer themselves. These were first used in the late 1960s to control electro
systems over the last decade or so, embedded systems have also moved along with this trend.
Classification:
Embedded systems are divided into autonomous, realtime, networked & mobile categories.
Autonomous systems: They function in standalone mode. Many embedded systems used for process control in manufacturing units& automobiles fall under this category. Realtime embedded systems: These are required to carry out specific tasks in a specified amount of time. These systems are extensively used to carryout time critical tasks in process control.
Networked embedded systems: They monitor plant parameters such as temperature, pressure and humidity and send the data over the network to a centralized system for on line monitoring.
ww
Mobile gadgets: Mobile gadgets need to store databases locally in their memory. These
gadgets imbibe powerful computing & communication capabilities to perform realtime as well as nonrealtime tasks and handle multimedia applications. The embedded system is a combination of computer hardware, software,
www.studentyogi.com
w.
stu d
en
tyo
www.studentyogi.com
gi.
co m
lot of signal processing must be carried out on the inputs inorder to compute the outputs.
www.studentyogi.com
4 www.studentyogi.com
function. A good example is an automatic washing machine or a microwave oven. Such a system is in direct contrast to a personal computer, which is not designed to do only a
Hardware:
and the kinds of microprocessors used in them are quite varied. A list of some of the common microprocessors families are: The Zilog Z8 family, Intel 8051/X86 family, Motorola 68K family and the power PC family. For processing of information and execution of programs, embedded system incorporates microprocessor or microcontroller. In an embedded system the microprocessor is a part of final product and is not available for reprogramming to the end user. An embedded system also needs memory for two purposes, to store its program and to store its data. Unlike normal desktops in which data and programs are stored at the same place, embedded systems store data and programs in different memories. This is simply because the embedded system does not have a hard drive and the program must be stored in memory even when the power is turned off. This type of memory is called ROM. Embedded applications commonly employ a special type of ROM that can be programmed or reprogrammed with the help of special devices.
ww
UMS Hardware:
A common obstacle for developers has been the need to develop different sets of
hardware and software for different devices. An intelligent washing machine uses a hardware chip different from that used by an intelligent wrist watch. In addition, the software running on the hardware chip is different. This often results in increased costs and time taken for development.
www.studentyogi.com
w.
stu d
en
tyo
www.studentyogi.com
gi.
understanding of the hardware behind it. All embedded systems need a microprocessor,
co m
specific task. But an embedded system is designed to do a specific task with in a given
www.studentyogi.com
5 www.studentyogi.com
The Universal Micro System(UMS) from cradle technologies is a solution for this problem. UMS is a general purpose chip built around a simple instruction set. It can be used to develop applications for embedded devices because all the functionality required for a specific device can be modeled in the software. Since the major functionality provided in UMS is through software, the processor and memory units must be very fast and the input, output units must be programmable and versatile. UMS uses a large number of high speed, low power and small RISC based processors on a single chip. Each processing element coupled with two digital signal processors form a multi stream processor(MSP), which processes voluminous chunks of data. Developing on UMS represents a significant infrastructure cost savings, dramatic decrease in time to market and an unprecedented opportunity to combine many functions and redefine products in the market. UMS hardware architecture:
PROGI/O P R O G I / O P R O G I / O P R O G I / O
en
PROGI/O
tyo
PROGI/O P R O G I / O P R O G I / O P R O G I / O M S P M S P M S P M S P MEMORY MEMORY M S P M S P M S P M S P M S P MEMORY M S P M S P M S P
S P
S P
MEMORY
ww
www.studentyogi.com
PROG I/O
w.
DRAM CONTROL CLOCKS, DEBUG
stu d
S P S P PROG I/O
www.studentyogi.com
PROG I/O
gi.
co m
www.studentyogi.com
6 www.studentyogi.com
NVMEM
DRAM
Software:
Embedded software has grown complex and pervasive enough to attract the attention of computer scientists. Embedded softwares main task is to engage the physical world interacting directly with sensors & actuators. The most pressing problem is how to adapt existing software techniques to meet the challenges of the physical world. Software for embedded systems must handle problems beyond those found in application
things to do at once - respond to external events, cope with unusual conditions without human intervention while being subjected to deadlines. So embedded software is harder
complications such as downloadable modules that dynamically reconfigure the system. Moreover, consumers demand ever more elaborate functionality which greatly increases software complexity. These systems can no longer be designed by a single engineer, fine tuning tens of kilobytes of assembly code. Embedded software design is art as much as it
meet each deadline. If deadlines are absolute, then it is a hard real time system else it is a soft real time system.
ww
Functionality has steadily shifted from hardware to software. C has become the
language of choice for embedded programmers, because it has the benefit of processor independence. Languages such as C++, Java are also used. Home devices will flourish
best if they present a uniform API to application programmers, and an ideal interface is
Java. Open Service Gateway Initiative(OSGI) , a java based system that combines
services with event on security mechanisms, is defining a set of open standard software
www.studentyogi.com
w.
is science. We must know how fast our system operates and know how critical it is to
stu d
en
tyo
www.studentyogi.com
gi.
co m
www.studentyogi.com
7 www.studentyogi.com
application interfaces for building Open Service Gateways including Residential Gateways . Embedded Graphical User Interfaces (GUI) are growing more elaborate day by day. Developers now have to contend with such arcana as a color pallet. In some applications, an embedded GUI has to compete with mechanical controls. In luxury cars, for e.g, Graphical displays are starting to replace mechanical speedo meters and tacho meters.Visualization tools are designed to find bugs that are hard to find with theusual Breakpoint and explore debugging paradigm. They work beautifully on Heisenberg bugs so called because they disappear when we start looking for them.
Any source code written in C or C++ or assembly language must be converted into an executable image that can be loaded onto a ROM chip. For this purpose three distinct steps are involved.
Cross compiled or assembled to generate object files. Object files must be linked into a relocatable program. Physical memory address must be assigned to the relocatable program. RTOS:
To run any software we need operating system. Embedded systems do not require a complete operating system, which may make the system bulky, but only the basic
operating systems for these systems began to appear in the late 1970s, and today several dozen viable options are available.Embedded operating systems are available in variety of flavours: Windows NT, LINUX, Windows CE 3.0, PalmOS, QNX, ROMDOS, JBED, RT kernel, Tiny BIOS, Turbo task, Nucleus plus/Tasking, Diamond,ThreadX (#$@%)
windows CE, ThreadX and linux. Inferno and Chai are the two popular environments that are used to develop applications.
ww
Embedded Databases:
mobile and fixed. The purpose of Embedded Database is data storage and retrieval with minimum intervention and minimum system impact. The rapid increase in the number of Telecomputers, the explosive growth of E-commerce and general migration to wireless technologies have put Embedded Database development on the IT short list. In a world of
www.studentyogi.com
w.
etc. Out of these , a few major players have emerged , such as Vxworks, PSOS, neculeus,
stu d
en
tyo
www.studentyogi.com
gi.
co m
www.studentyogi.com
8 www.studentyogi.com
mobile computers and smart devices , size matters because memory and storage are very limited. A key factor is a small memory foot print. Embedded database vendors and developers tend to focus on smallness of their achievements. Sybases Ultra Lite, a version of SQL which is any where portable database has a foot print of 50 kilobytes.
e2B:
communication channels are seen in technologies such as blue tooth, CEbus, upnp and TCP/IP; linguistic mechanisms in notions such as java RMI; HTTP & SNMP.
Firmware:
Many authors use software and firmware in the same sense. Actually firmware
Commonly used object programs placed in ROMs and PROMs are also some times referred to as firmware. The problem with any approach to the field firmware updates is that if the upgrade contains a flaw, the target system may become an expensive doorstop. Many of the pitfalls are obvious and straight forward, but some insidious defects dont appear until after a product has been deployed. Any well designed firmware upgrade system must be able to recover from user errors and other catastrophic events to the fullest extent possible. The best way to accomplish this is to implement a fundamentally sound firmware update strategy that avoids these problems entirely. A microprogrammer is a system level description of how an embedded system beheves before, during and after the firmware update process. This is designed to help avoid many of the problems to
ww
Design process:
Embedded system design is a quantitative job. The pillars of the system
design methodology are the separation between function and architecture, is an essential
www.studentyogi.com
w.
stu d
en
tyo
consists of microcode programs executed from very high speed control storage.
www.studentyogi.com
gi.
co m
www.studentyogi.com
9 www.studentyogi.com
step from conception to implementation. In recent past, the search and industrial community has paid significant attention to the topic of hardware-software (HW/SW) codesign and has tackled the problem of coordinating the design of the parts to be implemented as software and the parts to be implemented as hardware avoiding the HW/SW integration problem marred the electronics system industry so long. In any large scale embedded systems design methodology, concurrency must be considered as a first class citizen at all levels of abstraction and in both hardware and software. Formal models & transformations in system design are used so that verification and synthesis can be applied to advantage in the design methodology. Simulation tools are used for exploring the design space for validating the functional and embedded systems. timing behaviors of
Hardware can be simulated at different levels such as electrical circuits, logic gates, RTL e.t.c. using VHDL description. In some environments software development tools can be coupled with hardware simulators, while in others the software is executed on the simulated hardware. The later approach is feasible only for small parts of embedded systems.
stu d
analysis Specification
Requirement
en
FIG: Development Cycle
S/w design S/w implementation S/w testing
ww
www.studentyogi.com
System integration
w.
H/w design H/w implementation H/w testing
System architecture
tyo
www.studentyogi.com
gi.
co m
www.studentyogi.com
10 www.studentyogi.com
Design of an embedded system using Intels 80C188EB chip is shown in the figure. Inorder to reduce complexity, the design process is divided in four major steps: specification, system synthesis, implementation synthesis and performance evaluation of the prototype. Specification:
synthesis step translates the SDL specification to an internal system model switch contains problem graph& architecture graph. After system synthesis, the resulting system model is translated back to SDL. Implementation synthesis:
ww
development is executed with the software parts running on multiprocessor unit and the hardware part running on a FPGA board known as phoenix, prototype hardware for Embedded Network Interconnect Accelerators.
Applications:
www.studentyogi.com
w.
implementation languages such as VHDL for hardware modules and C for software parts
stu d
en
tyo
www.studentyogi.com
gi.
co m
www.studentyogi.com
11 www.studentyogi.com
Embedded systems are finding their way into robotic toys and electronic pets, intelligent cars and remote controllable home appliances. All the major toy makers across the world have been coming out with advanced interactive toys that can become our friends for life. Furby and AIBO are good examples at this kind. Furbies have a distinct life cycle just like human beings, starting from being a baby and growing to an adult one. In AIBO first two letters stands for Artificial Intelligence. Next two letters represents robot . The AIBO is robotic dog. Embedded systems in cars also known as Telematic Systems are used to provide navigational security communication & entertinment services using GPS, satellite. Home appliances are going the embedded way. LG electronics digital DIOS refrigerator can be used for surfing the net, checking e-mail, making video phone calls and watching TV.IBM is developing an air conditioner that we can control over the net. Embedded systems cover such a broad range of products that generalization is difficult. Here are some broad categories.
systems.
Set top boxes, virtual reality systems, graphic products. Consumer/internet appliances: Business handheld computers, business network
Data communications: Analog modems, ATM switches, cable modems, XDSL modems, Ethernet switches, concentrators.
ww
Digital imaging: Copiers, digital still cameras, Fax machines, printers, scanners. Hydro electric utility research & management
traffic management systems, train marine vessel management systems. Medical electronics: Diagnostic devices, real time medical imaging systems, surgical devices, critical care systems.
www.studentyogi.com
w.
stu d
Automotive:
en
tyo
www.studentyogi.com
gi.
co m
www.studentyogi.com
devices, SCSI devices.
12 www.studentyogi.com
Server I/O: Embedded servers, enterprise PC servers, PCI LAN/NIC controllers, RAID
Telecommunications : ATM communication products, base stations, networking switches, SONET/SDH cross connect, multiplexer.
Mobile data infrastructures: Mobile data terminals, pagers, VSATs, Wireless LANs, Wireless phones.
CONCLUSION:
Embedded systems have virtually entered every sphere of our life, right from the time we work out on tread mills to the cars that we drive today. The possibilities in this field are only limited by our imagination.Many of the embedded systems are managed by human controllers by some sort of man machine interface-for example a cash register,a cell phone, a TV screen or a PC interface.It is this MMI that often represents the most
References:
[1] Embedded Systems Programming. Miller Freeman, San Francisco, ISSN 1040-3272.
Design of Embedded Systems. PTR Prentice Hall, Englewood Cliffs NJ, 1994.
ww
[3J Jack Ganssle, Art of programming Embedded Systems, Academic Press, San Diego. 1992.
[4J Shem-Tov Levi & Ashok Agrawala, Fault Tolerant System Design, McGrawHill, New
York, 1994.
www.studentyogi.com
w.
[2] Daniel D. Gajski. Frank Vahid, Sanjiv Narayan & Jie Gong, Specification and
stu d
en
tyo
www.studentyogi.com
gi.
co m
www.studentyogi.com
13 www.studentyogi.com
ww
www.studentyogi.com
w.
www.studentyogi.com
stu d
en
tyo
gi.
co m