You are on page 1of 24

Copyright 2010 Rickeys World Creative Commons BY-SA 3.

0 License Help us to make this online course even better. Suggestions, and contributions are welcome!

Topics
Introduction to Embedded Systems Components & Characteristics Architecture of Embedded System Embedded system design standards Embedded Hardware & Software design Introduction to Microcontrollers and Microprocessors Microprocessors and history Microcontrollers Types of Processor architectures Types of Processors
Copyright 2010 Rickeys World Creative Commons BY-SA 3.0 License

Copyright 2010 Rickeys World

Creative Commons BY-SA 3.0 License

What is Embedded System?


It is difficult to provide an exact definition for embedded system as it is a wide and varied. Embedded system is: A system which is designed to perform a dedicated task with less or no human interaction. A microprocessor based system that is embedded as a subsystem, in a large system. A computer system with higher quality and reliability requirements than other types of computer systems.
Copyright 2010 Rickeys World Creative Commons BY-SA 3.0 License

Components of ES
Hardware Microprocessor or Microcontroller Analog and Digital sensors General Purpose inputs/outputs Memory Display Software Single or Multitasking Application Communication Protocols User Interface
Copyright 2010 Rickeys World Creative Commons BY-SA 3.0 License

Characteristics of ES
Performs a defined task High performance & Real Time Power, Cost and reliability are important Is able to talk to real world Provides a user interface for interaction
Copyright 2010 Rickeys World Creative Commons BY-SA 3.0 License

Embedded System Constraints


Real Time Response Memory Availability Processor Speed Power consumption
Copyright 2010 Rickeys World Creative Commons BY-SA 3.0 License

Embedded System Architecture


The Architecture of an embedded system is an

abstraction of embedded device.

Hardware and software components are represented as

system elements.

Copyright 2010 Rickeys World

Creative Commons BY-SA 3.0 License

Why Architecture design is important in Embedded System?


Understand an embedded system design Determining system integrity Working under system constraints Deterministic requirements Cost Estimation
Copyright 2010 Rickeys World Creative Commons BY-SA 3.0 License

Embedded Hardware
Processing Unit Major component (heart) of embedded system Can be a microprocessor or a microcontroller Memory System RAM and ROM External Memeory (Data Storage) Peripherals Communication Ports (RS232, RS485, Ethernet, USB) IO, ADC, DAC, Switches, Display
Copyright 2010 Rickeys World Creative Commons BY-SA 3.0 License

Embedded Software
Low level design Written in Assembly Used for smaller systems or time critical systems High level Design Written in C/C++ Best for large or complex system Code is more portable Mix design Approach High level and low level combined Flexible and responsive system
Copyright 2010 Rickeys World Creative Commons BY-SA 3.0 License

Copyright 2010 Rickeys World

Creative Commons BY-SA 3.0 License

Microprocessor
A single chip semiconductor device which incorporates

almost all functions of a CPU. Basic components includes ALU, Register File, Clock Circuitry, Interrupt circuit and Memory interface. External Memory (RAM & ROM) is required Some commonly known microprocessors are: 8085, 8086 etc.

Copyright 2010 Rickeys World

Creative Commons BY-SA 3.0 License

Microprocessor History
The First 4-bit P introduced in 1970 by Intel (4004) First 8-bit P introduced in 1972, Intel 8008, followed

by famous Intel 8080 in 1974. The Commonly known 8085 is a derivative of Intel 8080. First 16-bit P was introduced in 1976 by National semiconductor (IMP-16). Intel derived its 16-bit processor out of Intels 8080 architecture which became the first member of x86 family. Todays modern PC runs on the same x86 family.

Copyright 2010 Rickeys World

Creative Commons BY-SA 3.0 License

Microcontrollers
Small single chip computer, Includes CPU, Memory

(RAM and ROM), programmable I/O peripherals. Common uC Architectures: MCS-51 (8051), AVR, PIC, ARM, MIPS, PowerPC etc. Designed for embedded applications History:
Evolved from Microprocessors Intel 8048, first C introduced in 1975 by Intel Many uC architectures are available today
Copyright 2010 Rickeys World Creative Commons BY-SA 3.0 License

Microcontroller vs Microprocessor
Hardware support is high, built in I/O peripherals, interrupt controllers etc. Best suited for IO control or devices where required component count is less Instruction Set is more feature specific, extremely compact Narrow data bus width (8, 16, 32), Limited memory addressing space. Clock speed is slow, since I/O speed being controlled is slow Copyright 2010 Rickeys World Needs external hardware circuitry for Peripherals like (8255, 8259 etc) Best suited for information processing in a computer system Instruction set is processing intensive, perform complex operations and process large data Wide bus width is wide (32, 64, 128), large memory addressing space Clock speed is very fast.

Creative Commons BY-SA 3.0 License

Types of Processors
Digital Signal Processor Signal processing is done in hardware (like FFT etc) Vast area of application like Image & video processing (camera), audio processing (telecom) System On Chip Integrates multiple components & CPU in a single IC Reduces hardware cost Vector Processor Capable of processing multiple data in single instruction Used in Graphic accelerators, game consoles etc.
Copyright 2010 Rickeys World Creative Commons BY-SA 3.0 License

Types of CPU Architecture


Von Neumann Architecture Harvard Architecture Reduced Instruction Set Computing (RISC) Complex Instruction Set Computing (CISC)

Copyright 2010 Rickeys World

Creative Commons BY-SA 3.0 License

Von Neumann Architecture


All memory space on same bus Instructions and data treated same

way Simplifies processor design More reliable RAM can be used as both Data and program memory Common examples are ARM, x86 etc.

Copyright 2010 Rickeys World

Creative Commons BY-SA 3.0 License

Harvard Architecture
Code and data space on separate

bus Same address is possible for both program and data memory Potentially more efficient Instructions execute faster Common examples are: 8051, PIC

Copyright 2010 Rickeys World

Creative Commons BY-SA 3.0 License

Reduced Instruction Set Computing


Less Number of instructions Highly optimized instruction set Single word instructions, with fixed

op-code size needs less time to decode and execute Most of instructions are single clock cycle Simple addressing modes Memory load and store operations are done in steps Common examples: ARM, AVR etc
Creative Commons BY-SA 3.0 License

Copyright 2010 Rickeys World

Complex Instruction Set Computing


Many instructions in instruction set Designed to carry out complex

operations Large number of addressing modes available Instruction size vary Takes time to decode, need more clock cycles per instruction Common example: 8051
Creative Commons BY-SA 3.0 License

Copyright 2010 Rickeys World

Summary
Embedded Systems Embedded Hardware Embedded Software Embedded Architecture Microprocessors and microcontrollers Difference between uP and uC Types of processors Type of processor architectures.
Copyright 2010 Rickeys World Creative Commons BY-SA 3.0 License

Question & Answer session next! Link: http://www.8051projects.net/embedded-system/basics/qna.php

Copyright 2010 Rickeys World

Creative Commons BY-SA 3.0 License

You might also like