Top Banner
NWIET, DHUDIKE. MOGA Embedded Systems Microcontrollers & Embedded Processors An Overview By: AVTAR SINGH MALHI Uni. Roll No:90510414053 “In the name of God” Scientific Group of ECE Presents :
21

51778021 Embedded Systems

Apr 14, 2018

Download

Documents

malhiavtarsingh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 1/21

NWIET, DHUDIKE. MOGA

Embedded SystemsMicrocontrollers & Embedded Processors

An Overview

By: AVTAR SINGH MALHI

Uni. Roll No:90510414053

“In the name of God” Scientific Group of ECE Presents :

Page 2: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 2/21

NWIET, DHUDIKE. MOGA

Embedded Systems

What is an Embedded System?

Where are Embedded Systems used?

Typical Embedded Systems Hardware Embedded OS and Software

Microcontrollers

The 8051 Microcontroller 

 A simple project using AT89C51

References

Page 3: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 3/21

NWIET, DHUDIKE. MOGA

What is and Embedded System?

 A specialized computer system that is part of alarger system or machine. Typically, anembedded system is housed on a single

microprocessor board with the programs storedin ROM. Virtually all appliances that have adigital interface -- watches, microwaves, VCRs,cars -- utilize embedded systems. Someembedded systems include an operatingsystem, but many are so specialized that theentire logic can be implemented as a singleprogram. (Definition from wikipedia.com)

Page 4: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 4/21

NWIET, DHUDIKE. MOGA

What is and Embedded System?

Page 5: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 5/21

NWIET, DHUDIKE. MOGA

ES, Other definitions

 A special purpose computer built into a larger device.

Special purpose:

- Embedded systems have a (more or less) well-defined purpose

- Contrast with: general purpose computers (PCs etc) - Both hardware and software is tailored to application(s), which are

well defined

- However, re-programmability is a requirement 

Built into a larger device: 

ESs are (usually) part of a larger device, augmenting its capabilities

Page 6: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 6/21

NWIET, DHUDIKE. MOGA

ES, Other definitions

 Any device that includes a programmable computer but is not itself a

general-purpose computer.

 Anything that uses a computer but does not look like one.

The microprocessor in an embedded system is like an electric motor 

in a washing machine.

Page 7: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 7/21

NWIET, DHUDIKE. MOGA

ES Types & Characteristics

Types of Processing unit:

Hardwired logic

Programmable units

ES Characteristics:

Efficiently

Cost effective

Power efficiently

Real-time

Predictability

Page 8: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 8/21

NWIET, DHUDIKE. MOGA

ES: History and Solutions

 A very little history: ;) The first Embedded System: Apollo Guidance Computer.

Embedded Systems Solutions: Microcontrollers

Embedded Processors

Digital Signal processors

Page 9: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 9/21

NWIET, DHUDIKE. MOGA

Where are Embedded Systems used?

Page 10: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 10/21

NWIET, DHUDIKE. MOGA

Where are Embedded Systems used?

Signal processing systems  Real-time video, DVD players, Medical equipment. 

Distributed control  Network routers, switches, firewalls, mass transit systems, Elevators 

“Small” systems  Mobile phones, pagers, home appliances, toys, smartcards, MP3

players, PDAs, digital cameras, sensors, pc keyboard & mouse 

Modern cars: Up to 100 or more processors Engine control unit

 ABS systems (Anti Lock Brake systems)

Emissions control

Diagnostics and Security systems

 Accessories (doors, windows etc)

Page 11: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 11/21

NWIET, DHUDIKE. MOGA

Typical Embedded Systems Hardware

Commercial off-the-shelf components (COTS) e.g. wireless radios, sensors, I/O devices

Cheap

 Application-Specific ICs (ASICs) ICs tailored to meet application needs

Good performance for their intended task(s)

Original ESs were ASICs only

Domain-specific processors DSPs

Microcontrollers

Microprocessors General Purpose Processors

Page 12: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 12/21

NWIET, DHUDIKE. MOGA

New trends in ES HW

Systems-on-chip Usual (or desired) specs:

32-bit RISC CPU

Built-in interfaces to RAM and ROM

Built-in DMA, interrupt and timing controllers Built-in interfaces to disk or flash memory

Built-in Ethernet/802.11 interfaces

Built-in LCD/CRT interfaces

New SOCs appearing almost every week!

Examples

Intel StrongARM SA-1110 Motorola PowerPC MPC823e

NEC VR4181

Many, many more

Page 13: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 13/21

NWIET, DHUDIKE. MOGA

Embedded OS and Software

Principal role: „Not transformation of data but

interaction with physical world‟ 

 Acquires properties of physical world

Takes time

Consumes power 

Does not terminate (unless it fails)

Page 14: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 14/21

NWIET, DHUDIKE. MOGA

Embedded Operating Systems:

Office-style OSes PalmOS

WindowsCE

RTOSes VxWorks

QNX

Linux Linux is already ubiquitous

Hundreds of different devices are using it

http://www.linuxdevices.com/articles/AT4936596231.html

Numerous commercial + open source products

Mobile OS

Symbian Others

TinyOS 

Page 15: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 15/21

NWIET, DHUDIKE. MOGA

What is a Microcontroller?

 A microcontroller is an entire computer 

manufactured on a single chip.

They have a high concentration of on-chip

facilities such as serial ports, parallel

input/output ports, timers, counters, interrupt

control, analog-to-digital converters, random

access memory, read only memory, etc.

Page 16: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 16/21

NWIET, DHUDIKE. MOGA

The 8051 Microcontroller:

The 8051 is the first microcontroller of the MCS-51 family introduced by IntelCorporation at the end of the 1970‟s. 

The 8051 family characteristics:

4K Bytes ROM 128 Bytes RAM

two timer/counters (16 bit)

 A serial port

4 general purpose parallel input/output port

Interrupt controller 

The 8051 can address 64K of external data memory and 64K of Externalprogram memory.

Page 17: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 17/21

NWIET, DHUDIKE. MOGA

Microcontroller 8051 internal Architecture

Page 18: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 18/21

NWIET, DHUDIKE. MOGA

8051 pin description

8051 other family members:

 8751 (has EPROM) 8951 (has EEPROM)

Page 19: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 19/21

NWIET, DHUDIKE. MOGA

A simple project using AT89C51

Here we‟ve designed, built and programmed a digital

BCD counter that counts from 0 to 9 on a 7Segment

display.

We use register A as Accumulator, in each delayed cycle

the accumulator increments by one and result is showed

on the 7segment display.

Page 20: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 20/21

NWIET, DHUDIKE. MOGA

A simple project using AT89C51

Page 21: 51778021 Embedded Systems

7/30/2019 51778021 Embedded Systems

http://slidepdf.com/reader/full/51778021-embedded-systems 21/21

NWIET, DHUDIKE. MOGA

References

Web References: www.google.com 

http://www.embedded.com

http://www.wikipedia.org/wiki/Embedded_system

http://www.linuxdevices.com Mani Srivastava‟s EE202A class 

http://nesl.ee.ucla.edu/courses/ee202a/2002f  

Edward Lee, “Embedded Software”  http://citeseer.nj.nec.com/497408.html 

Books: The 8051 Microcontroller and Embedded Systems: Mazidi, M.A.

Microprocessors: Uffenbeck, john