Embedded Systems & Its Applications: Prepared by
Embedded Systems & Its Applications: Prepared by
Embedded Systems & Its Applications: Prepared by
Prepared by
N.SHANMUGASUNDARAM
Professor – ECE Department
Vidyaa Vikas College of Engg & Tech
16-2-2010 11
Overview of the Presentation
16-2-2010 22
Introduction to
Embedded System
16-2-2010 33
What is Embedded System?
DRIVES
Smart
Software + Hardware = Applications
16-2-2010 55
Why Embedded system?
For example:
AC has a temperature control sub-system
It is not viable to use a PC’s there for achieving task
16-2-2010 66
Redefining - Embedded System
Embedded system is a
q Microcontroller based hardware
q Software driven
q Real time control system
q Autonomous or Human interactive
q Reliable system
q Operating in diverse environments
16-2-2010 77
SMART Embedded Systems …
16-2-2010 88
SMART Embedded Systems …
16-2-2010 99
SMART Embedded Systems …
16-2-2010 1010
SMART Embedded Systems …
16-2-2010 1111
SMART Embedded Systems …
16-2-2010 1212
SMART Embedded Systems …
16-2-2010 1313
Embedded System in ROBOTICS
16-2-2010 1515
Applications of Embedded Systems
Communication
Avionics
Automobile
Consumer Electronics
Office Equipments
Household Appliances
16-2-2010 1616
Applications of Embedded
Systems
n Consumer Electronics
n Industrial Applications
n Automobiles
n Communication systems
n Aerospace
n Robotics
n Medical instrumentation
n Military applications
16-2-2010 1717
Classification of
Embedded system
16-2-2010 1818
CLASSIFICATION of Embedded Systems
n Processor type
n Complexity of H/w & S/w design
n Usage of RTOS (Real Time Operating System)
n Usage of Source code engg. tools
n Type of Power supplied
16-2-2010 1919
CLASSIFICATION of Embedded Systems
• SMALL SCALE:
8/16 bit CPU, little H/w, less S/w complexity, No RTOS,
Battery operated. Eg. Toys, Washing machine, …
• MEDIUM SCALE:
16/32 bit µC or DSPs, Complex H/w & S/w design, RTOS
Source code Engg tools, IDE. Eg. Mobile phone, ATM, …
• SOPHISTICATED:
Configurable processors, Cutting edge applications,
Highly complex H/w and S/w design. Eg. RT Video processing, …
16-2-2010 2020
SKILLS for Embedded System Engineer
16-2-2010 2121
SKILLS for Embedded System Engineer
Java
Debuggers, Simulator.
16-2-2010 2323
Let us begin with Mobile phone…
16-2-2010 2424
What are the hardware present
in
MOBILE PHONE?
16-2-2010 2525
Contents inside Mobile phone…
• Processors
i.e., GPP, DSP, ASSP, etc.
• Memory
EEPROM (Flash), RAM, etc.
• Peripheral ICs
ADC/DAC, Ports, Timers, etc.
• Communication circuits
Modulation/De-Modulation ckts
• Power supply circuits
16-2-2010 2626
3 MAIN COMPONENTS of Embedded System
q HARDWARE
Processor, RAM, ROM, ADC, DAC, Timers, Ports, etc.
q APPLICATION SOFTWARE
written in Assembly, C, C++, Java, etc.
16-2-2010 2727
Hardware Components
16-2-2010 2828
COMPONENTS of Embedded System Hardware
16-2-2010 2929
PROCESSORS for Embedded Systems
PROCESSO
R
ALU
Control
Unit
Types of Processor
• General Purpose Processor (µc, µP, DSP, EP,MP)
• Application Specific System Processor
• Multiprocessor system
• GPP/ASIP core with other hardware integrated in ASIC chip.
16-2-2010 3030
PROCESSORS for Embedded Systems
Microprocessor Vs
Microcontroller
ALU ALU T/C I/O
PC SP PC SP
DSP Processor:
It has additional hardware to perform special operations like
CONVOLUTION, FFT, DFT, DCT, etc.
Embedded Processor:
Processor specially designed for Embedded system applications
with FAST CONTEXT SWITCHING and LATENCY CONTROL.
16-2-2010 3232
PROCESSORS for Embedded Systems
16-2-2010 3333
Intel 8051 Family Microcontrollers
16-2-2010 3434
OTHER HARDWARE for Embedded Systems
16-2-2010 3535
Types of I/O Devices
16-2-2010 3636
Structure of Serial Port
16-2-2010 3737
Structure of Parallel Port
16-2-2010 3838
BUSES for Communication
ISA,
EISA, PCI are standard buses for parallel
16-2-2010 3939
communication used in PCs, computer network
Types of TIMERS
16-2-2010 4040
Structure of Hardware Timer
16-2-2010 4141
Usage of TIMERS
16-2-2010 4242
Software Components
16-2-2010 4343
SOFTWARE Components in Embedded Systems
16-2-2010 4444
SOFTWARE Tools
16-2-2010 4545
Assembler, Compiler & Linker
16-2-2010 4646
Software Development Chain
16-2-2010 4747
Assembly Language Programming
Advantage
Disadvantage
q Modularity
q Usage of Scalar data types, Control
statements, …
q Easy maintenance
q Reusable codes
q Portability
q Minimal hardware knowledge required
16-2-2010 4949
Programming Embedded Systems using C++
USER
SHELL OS
KERNEL
HARDWARE
16-2-2010 5151
KERNEL of Operating System
KERNEL Services
q Process Management
q Memory Management
q Inter Process Communication
q I/O management
q Interrupt Control
q Device drivers
16-2-2010 5252
GENERAL PURPOSE COMPUTER (GPC) and
EMBEDDED SYSTEM
Hardware Hardware
16-2-2010 5353
Typical Device Driver
16-2-2010 5454
Real Time Operating System (RTOS)
RTOS Services:
• Basic OS functions - PM, RM, MM, DM, FSM, I/o, etc.
• RTOS main functions - RT Task scheduling and Latency control
• Time management - Time Allocation, time slicing & monitoring for efficiency.
• Predictability - Predicting time behaviour and initiation of task
synchronization
• Priorities Management - Allocation and Inheritance
• IPC - Synchronization of Tasks using IPC.
16-2-2010 5555
Why need RTOS?
16-2-2010 5656
Real Time Systems
16-2-2010 5858
µC/OS-II (MUCOS)
16-2-2010 5959
Embedded
Development Tools
16-2-2010 6060
16-2-2010 6161
EMBEDDED DEVELOPMENT TOOLS
16-2-2010 6363
ROM Emulator
ROM
EMULATOR
HOST
TARGET
Board
16-2-2010 6464
Chip programmer
CPU
Programmer
HOST
TARGET
Board
16-2-2010 6565
Device Programmer Tools (for PIC µC)
16-2-2010 6666
Others Software Tools
Other Compilers
Kiel C (for Intel family µCs)
Hi-Tech C
CCS C
Pacific C
16-2-2010 6767
Issues in Embedded System Designs
q Energy-efficient
q Real-time
q Safety
q Upgradeable
q Cost sensitive
q Security
16-2-2010 6868
Energy efficiency:
Must run for years on a tiny battery
(Hearing aid, Pacemaker and Remote operating devices)
Real-time:
Great harm is done, if deadlines are missed.
(process control, avionics, weapons)
Few time constraints (microwave)
16-2-2010 6969
Safety critical:
Device is safety critical (nuclear plant)
Some processes in furnace petrochemical
Upgradeability:
Impossible to update
(spacecraft, pacemaker)
Availability / fault-tolerance
Must be operating all the time (pacemaker, spacecraft control)
Can shutdown at any time (cell phone)
16-2-2010 7070
Typical Application
Development using
AT89C2051
16-2-2010 7171
Architecture of 8051 Family
16-2-2010 7272
Pin Diagram of 8051 µC
16-2-2010 7373
AT89C2051 Micro controller
16-2-2010 7474
Pin configuration of AT89C2051
16-2-2010 7575
Minimum configuration - AT89C2051
16-2-2010 7676
16-2-2010 7777
Compiler for the project
16-2-2010 7878
Operation of the Project
16-2-2010 7979
16-2-2010 8080
Circuit Diagram for the project
16-2-2010 8181
LED Pattern
displayed for different DICE numbers
16-2-2010 8282
16-2-2010 8383
16-2-2010 8484
Software coding (in C)
16-2-2010 8585
16-2-2010 8686
16-2-2010 8787
16-2-2010 8888
16-2-2010 8989
16-2-2010 9090
Exemplary
Embedded system
Applications
16-2-2010 9191
Breakthrough in Embedded System Designs
NOKIA
888
Airbag
16-2-2010 9393
Automotive embedded systems
•
Today’s high-end automobile have > 80
microprocessors
•
4-bit microcontroller checks seat belt
•
microcontrollers run dashboard devices
•
16/32-bit microprocessor controls engine
•
Millions lines of code
16-2-2010 9494
BMW 850i Brake and Stability control
system
16-2-2010 9595
Embedded system in Digital camera
lens
16-2-2010 9696
Click to edit Master text styles
Second level
● Third level
● Fourth level
● Fifth level
16-2-2010 9797
Market Potential for Embedded Systems
q HCL INFOSYS
q TCS Cognizant
q Agilent Technologies Boeing
q BPL Ford
q Hitachi Hyundai
q Philips Playstation
q Sega Siemens
q Sony SCM Microsystems
q TATA ELXSI Texas Instruments
q Tektronix Vestion
16-2-2010 9999
Embedded Systems Companies in Bangalore
Sadhanasoft Click Technologies (I) Pvt. Ltd. Nihar Infoway Ltd. Infobahn (India) Pvt. Ltd.
Optimal Infotech Pvt. Ltd. Compucom Software Ltd. Surya Soft-Tech Ltd Kale Consultants Ltd
Karishma Software Ltd. Parsec Technologies (India) Ltd.Binary Semantics Ltd. Netmumbai
Virgosys Software Pvt. Ltd. Polaris Software Lab Ltd Cybersol Technologies Pvt Ltd SolutionNet India Pvt. Ltd.
IQura Technologies Pvt. Ltd. SDI Infotech Pvt. Ltd. Gateway WebSystems Pvt. Ltd.
Datum Technologys (India) Ltd
Worldwide Infotech Inc. Java Softech Pvt. Ltd. Binary Semantics Ltd. Learnet India Ltd.
iBilt Technologies Ltd iTech Workshop Pvt. Ltd. Datum Technologys (India) LtdPerfect E Com Solution Pvt Ltd.
16-2-2010 100100
References
16-2-2010 101101
References (Contd.)
16-2-2010 102102
References (Contd.)
16-2-2010 103103
Thank You
for your PATIENCE.
16-2-2010 104104