SlideShare uma empresa Scribd logo
1 de 34
Baixar para ler offline
A Brief Introduction to
Embedded Systems
K. Raghunathan
Chartered Engineer
FIETE, MIE, MCSI, MISTE, MISTD. MIIMM
Retd. Dy. Controller (R&D) [MoD]
Embedded Systems
• Overview of Embedded Systems
• Embedded System Design
• Embedded System Designer
• More Knowledge
Overview of Embedded Systems
• What is an Embedded System ?
• Examples of Embedded Systems
• Why an “Embedded” System ?
• Salient Features
What is an Embedded System ?
• A computer system, fitted as part of some
Equipment which is not a computer
• The whole system is not called a computer - it is
known by the name of the Equipment
• The embedded computer system controls the
equipment in which it is embedded
• Performs only specific tasks, often in real-time
Examples of Embedded Systems
• Network Printer
– Network Interfacing & Routing
• Handheld Barcode Scanner
– Conversion of Image to Number
• Mobile Phone with Internet Connectivity
– Browsing, eMail, FTP, Chat etc
Examples of Embedded Systems
• CNC Machines & Robots
– Control the Sequence of Operations
• Satellites
– Remote-sensing, Data-formatting,
Communication, Navigation Control etc
• Televison Set
– Digital on-screen display of menu, channel
number, subtitles etc
• Washing Machines
– Control of Sequence of Operations, Motor
speed & duration control etc
Why “embed” a Computer ?
• Computers are more suitable for
– Control
– Data Processing
– Decision Making
– Digital Communication
Why “embed” a Computer ?
• Main Equipment is Larger & Costlier;
computer is smaller, cheaper & used for
only some specific purpose
• Using General-purpose computer involves
additional space & wiring. It is better to fit a
small computer inside [or onto] the
equipment itself
• often, main equipment itself may have to
be small & portable
Salient Features of Embedded
Systems
• Purpose & Functionality
– Specific Purpose; Limited Functionality
• Size
– Small enough to fit into/onto the main eqpt
• Real-Time
– Response within a specified Time-limit
• I/O Devices
– Very Few; often, only Sensors & Activators
– Conspicuous absence of conventional devices
like keyboard, CRT screen, hard disk etc
Embedded Systems
• Overview of Embedded Systems √
• Embedded System Design
• Embedded System Designer
• More Knowledge
Embedded System Design
• Selection of CPU & other Hardware
• Design of the Hardware System
• Design & Development of Software
• Testing & Debugging
• Loading the Software into the Embedded
System’s Memory
Selection of CPU & other Hardware
• CPU
– Speed
– Instruction Set
– Multitasking Capabilities
– Interrupt- handling Capabilities
– Power Consumption
– Heat Dissipation
Memory
• Non-Volatile [ROM/PROM/EPROM]
– Code
– Fixed Data
• Look-Up Tables, Constants, Initial Values of
Variables
• Volatile [RAM]
– Variable Data
– temporary data
I/O Devices
• Depends on :
– Main Equipment & its purpose/functions
– Purpose to be served by the embedded
system
• May also need :
– HW & SW Interfaces or Drivers for the i/o
devices
Software Development
• Software has to be developed on some
other convenient computer system [Host
System]
• The Code obtained in the Host system
should run in the Embedded System
[Target System]
Software Development
• HW configuration of Host & Target will be
different
• Should use Cross Compilers & Cross
Assemblers on the Host, to get Target System’s
Machine Code as the Output
• Often, an RTOS [Real Time Operating System] is
used
Software Development
• Usually the SW is developed as a set of
Tasks [functions/procedures] & ISRs
[Interrupt Service Routines]
• Tasks perform some specific actions
– most likely, some of the primary functions of
the Main eqpt
• ISRs interrupt running Tasks based on
certain events [inputs from sensors]
– to take appropriate action for those inputs
– to update data for the tasks
Testing & Debugging
• Often not possible to test the program by
actually loading it into the target system &
running it in the Main eqpt
• So, code has to be tested in the Host
system itself
• Need Emulators which can emulate the
embedded system’s CPU
Testing & Debugging
• Drivers & Scaffolds to be written
– to simulate actual inputs & behaviour of the
main eqpt
• Test Data
– normally expected range of values
– out-of-range values
– erroneous data
Loading SW in the Embedded
System’s Memory
• No operating system in the embedded
system
• Code generated on the Host system
should include start-up [initialising] routines
for the target system
• Use of RTOS ensures automatic addition
of start-up code
Loading SW in the Embedded
System’s Memory
• Special programs called Locators enable
developer to specify which blocks of code should
be loaded at what addresses in the embedded
system’s memory
• Output of Locator is in the form of a file stored in
the Host; this file will have a special format [not
the standard executable file you get in desktop
systems]
• Special programs called Loaders
– understand the Locator’s file format
– load the code in embedded systems memory
Tools for Embedded Software
Development
• Cross Compilers
• Cross Assemblers
• Locators
• RTOS
• Loaders
RTOS
• Easier Development Environment
• Produce Machine Code of Target CPU
• Automatic inclusion of code for Start-up &
system Initialisation & other necessary
functionalities like memory management,
process scheduling etc
• Many RTOSes available
– iRMX86, uC-OS, VxWorks, pSOS, QNX etc
• Many of them written in C/C++
– allow us to develop programs using C/C++
RTOS
• Main Features
– Multi-tasking
– Task Scheduling Policies
– Mutual Exclusion using Semaphores
– Message Queues, Mailboxes and/or Pipes for
Inter-Process Communication
Hardware Design Considerations
• Physical Size
– Small
• Power Consumption
– Low
• Heat Dissipation
– Very Low
• Cost
– Low cost, without compromising Quality &
Performance
Software Design Considerations
• Real Time Response
– No part of the code can take unpredictable
execution time
– ISRs must be kept short
– No Dead-Locks or Circular Waits
• Reliability
– Should run without Human Intervention
– Should NOT Crash
– Robust & Fault Tolerant
– Exception Handling without Malfunction or
unpredictable behaviour
Embedded Systems
• Overview of Embedded Systems √
• Embedded System Design √
• Embedded System Designer
• More Knowledge
Embedded System Designer
• Specialist
• Knowledge of Theory & Practical
Techniques of both Hardware & Software
• Strong Foundation in
– Digital Logic Ckts, ADCs, DACs, PLCs, FPGAs
– Microcontrollers & Interfacing Techniques
– Assembly Language Programming
– High Level Language Programming [C/C++]
– Writing ISRs
– RTOS
Job Oppurtunities
• Employers
– Manufacturers of
• Telecom Products
• Automatons & Industrial Robots
• Automated Production & Diagnostic Eqpt
– Software Development Firms
• Remuneration
– Lucrative
Embedded Systems
• Overview of Embedded Systems √
• Embedded System Design √
• Embedded System Designer √
• More Knowledge
For More Knowledge
• Books
• Hands-on Training
Books on Embedded Systems
• An Embedded System Primer
– David E Simon
• Embedded System Design
– Steve Heath
• The Art of Programming Embedded Systems
– Jack G Ganssle
• Fundamentals of Embedded Software - Where C and
Assembly Meet
– Daniel W Lewis
• Real Time Systems & Programming Languages
– Alan Burns & Andy Wellings
• Real Time Programming
– Moore Grehan
Training on Embedded Systems
• TCIL, & their Branches & Franchisees
– Telecom Consultants India Ltd
– formed by DoT
• ECIL, Hyderabad
– Electronic Corporation of India Ltd
• Many institutes boast of embedded system
training
– teach only soldering & assembling, using kits
– do not teach theory or design principles
Thank You !
&
Best of Luck !

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Introduction to embedded system
Introduction to embedded systemIntroduction to embedded system
Introduction to embedded system
 
Embedded systems
Embedded systems Embedded systems
Embedded systems
 
Embedded System-design technology
Embedded System-design technologyEmbedded System-design technology
Embedded System-design technology
 
In out system
In out systemIn out system
In out system
 
Ch12 io systems
Ch12   io systemsCh12   io systems
Ch12 io systems
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design process
 
Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12
 
Introduction to embedded system
Introduction to embedded systemIntroduction to embedded system
Introduction to embedded system
 
Introduction to Computers Lecture # 11
Introduction to Computers Lecture # 11Introduction to Computers Lecture # 11
Introduction to Computers Lecture # 11
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systems
 
Basics of embedded system design
Basics of embedded system designBasics of embedded system design
Basics of embedded system design
 
I.T for Management: What is a computer and how does it work
I.T for Management: What is a computer and how does it work I.T for Management: What is a computer and how does it work
I.T for Management: What is a computer and how does it work
 
05. performance-concepts-26-slides
05. performance-concepts-26-slides05. performance-concepts-26-slides
05. performance-concepts-26-slides
 
Software and Hardwew
Software and HardwewSoftware and Hardwew
Software and Hardwew
 
Io (2)
Io (2)Io (2)
Io (2)
 
Chapter11 new
Chapter11 newChapter11 new
Chapter11 new
 
39245175 intro-es-ii
39245175 intro-es-ii39245175 intro-es-ii
39245175 intro-es-ii
 
The Deal
The DealThe Deal
The Deal
 
Design of Software for Embedded Systems
Design of Software for Embedded SystemsDesign of Software for Embedded Systems
Design of Software for Embedded Systems
 

Semelhante a Embedded Systems - A Brief Introduction

Introduction to embedded computing and arm processors
Introduction to embedded computing and arm processorsIntroduction to embedded computing and arm processors
Introduction to embedded computing and arm processorsSiva Kumar
 
Embedded systems in brief
Embedded systems   in briefEmbedded systems   in brief
Embedded systems in briefkrnathan
 
Lecture 1 Introduction.pptx
Lecture 1 Introduction.pptxLecture 1 Introduction.pptx
Lecture 1 Introduction.pptxOrchestra2
 
Embedded systems introduction
Embedded systems introductionEmbedded systems introduction
Embedded systems introductionmohamed drahem
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design processRAMESHBABU311293
 
Embeddedsystem basic for Engineering Students
Embeddedsystem basic for Engineering StudentsEmbeddedsystem basic for Engineering Students
Embeddedsystem basic for Engineering StudentsElectro 8
 
embeddedsystems-100429081552-phpapp01.pdf
embeddedsystems-100429081552-phpapp01.pdfembeddedsystems-100429081552-phpapp01.pdf
embeddedsystems-100429081552-phpapp01.pdfAshwin180668
 
Embedded Systems Overview
Embedded Systems OverviewEmbedded Systems Overview
Embedded Systems OverviewSameer Rapate
 
Introduction to embedded system design
Introduction to embedded system designIntroduction to embedded system design
Introduction to embedded system designMukesh Bansal
 
Computer-Basics for B.ed Second Year.pptx
Computer-Basics  for B.ed Second Year.pptxComputer-Basics  for B.ed Second Year.pptx
Computer-Basics for B.ed Second Year.pptxkplkumar981
 
Computer_Basics_computer_basics.pptx
Computer_Basics_computer_basics.pptxComputer_Basics_computer_basics.pptx
Computer_Basics_computer_basics.pptxJiaJunWang17
 
1. An Introduction to Embed Systems_DRKG.pptx
1. An Introduction to Embed Systems_DRKG.pptx1. An Introduction to Embed Systems_DRKG.pptx
1. An Introduction to Embed Systems_DRKG.pptxKesavanGopal1
 
Flexible DevOps Deployment of Enterprise Test Environments in the Cloud
Flexible DevOps Deployment of Enterprise Test Environments in the CloudFlexible DevOps Deployment of Enterprise Test Environments in the Cloud
Flexible DevOps Deployment of Enterprise Test Environments in the CloudDevOps for Enterprise Systems
 
Embedded-System.6907603.powerpoint.pptx
Embedded-System.6907603.powerpoint.pptxEmbedded-System.6907603.powerpoint.pptx
Embedded-System.6907603.powerpoint.pptxAtharvaPathak28
 

Semelhante a Embedded Systems - A Brief Introduction (20)

Introduction to embedded computing and arm processors
Introduction to embedded computing and arm processorsIntroduction to embedded computing and arm processors
Introduction to embedded computing and arm processors
 
Embedded systems in brief
Embedded systems   in briefEmbedded systems   in brief
Embedded systems in brief
 
Lecture 1 Introduction.pptx
Lecture 1 Introduction.pptxLecture 1 Introduction.pptx
Lecture 1 Introduction.pptx
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
Embedded systems introduction
Embedded systems introductionEmbedded systems introduction
Embedded systems introduction
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design process
 
Embeddedsystem basic for Engineering Students
Embeddedsystem basic for Engineering StudentsEmbeddedsystem basic for Engineering Students
Embeddedsystem basic for Engineering Students
 
embeddedsystems-100429081552-phpapp01.pdf
embeddedsystems-100429081552-phpapp01.pdfembeddedsystems-100429081552-phpapp01.pdf
embeddedsystems-100429081552-phpapp01.pdf
 
Embedded Systems Overview
Embedded Systems OverviewEmbedded Systems Overview
Embedded Systems Overview
 
Introduction to embedded system design
Introduction to embedded system designIntroduction to embedded system design
Introduction to embedded system design
 
Computer-Basics for B.ed Second Year.pptx
Computer-Basics  for B.ed Second Year.pptxComputer-Basics  for B.ed Second Year.pptx
Computer-Basics for B.ed Second Year.pptx
 
Computer_Basics_computer_basics.pptx
Computer_Basics_computer_basics.pptxComputer_Basics_computer_basics.pptx
Computer_Basics_computer_basics.pptx
 
Ch 2
Ch 2Ch 2
Ch 2
 
1. An Introduction to Embed Systems_DRKG.pptx
1. An Introduction to Embed Systems_DRKG.pptx1. An Introduction to Embed Systems_DRKG.pptx
1. An Introduction to Embed Systems_DRKG.pptx
 
Flexible DevOps Deployment of Enterprise Test Environments in the Cloud
Flexible DevOps Deployment of Enterprise Test Environments in the CloudFlexible DevOps Deployment of Enterprise Test Environments in the Cloud
Flexible DevOps Deployment of Enterprise Test Environments in the Cloud
 
Embedded-System.6907603.powerpoint.pptx
Embedded-System.6907603.powerpoint.pptxEmbedded-System.6907603.powerpoint.pptx
Embedded-System.6907603.powerpoint.pptx
 
Chap 1 CA.pptx
Chap 1 CA.pptxChap 1 CA.pptx
Chap 1 CA.pptx
 
Web Engineering
Web EngineeringWeb Engineering
Web Engineering
 
mechatronics.pdf
mechatronics.pdfmechatronics.pdf
mechatronics.pdf
 
ESD unit 1.pptx
ESD unit 1.pptxESD unit 1.pptx
ESD unit 1.pptx
 

Último

International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...ssuserf63bd7
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africaictsugar
 
Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Seta Wicaksana
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessSeta Wicaksana
 
Future Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionFuture Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionMintel Group
 
IoT Insurance Observatory: summary 2024
IoT Insurance Observatory:  summary 2024IoT Insurance Observatory:  summary 2024
IoT Insurance Observatory: summary 2024Matteo Carbone
 
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptxContemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptxMarkAnthonyAurellano
 
Memorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMMemorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMVoces Mineras
 
Islamabad Escorts | Call 03070433345 | Escort Service in Islamabad
Islamabad Escorts | Call 03070433345 | Escort Service in IslamabadIslamabad Escorts | Call 03070433345 | Escort Service in Islamabad
Islamabad Escorts | Call 03070433345 | Escort Service in IslamabadAyesha Khan
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03DallasHaselhorst
 
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCRashishs7044
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Servicecallgirls2057
 
Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Kirill Klimov
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menzaictsugar
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...ictsugar
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationAnamaria Contreras
 
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / NcrCall Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncrdollysharma2066
 
Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchirictsugar
 
Buy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy Verified Accounts
 

Último (20)

International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africa
 
Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful Business
 
Future Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionFuture Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted Version
 
IoT Insurance Observatory: summary 2024
IoT Insurance Observatory:  summary 2024IoT Insurance Observatory:  summary 2024
IoT Insurance Observatory: summary 2024
 
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptxContemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
 
Memorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMMemorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQM
 
Islamabad Escorts | Call 03070433345 | Escort Service in Islamabad
Islamabad Escorts | Call 03070433345 | Escort Service in IslamabadIslamabad Escorts | Call 03070433345 | Escort Service in Islamabad
Islamabad Escorts | Call 03070433345 | Escort Service in Islamabad
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03
 
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
8447779800, Low rate Call girls in New Ashok Nagar Delhi NCR
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
 
Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024
 
Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement Presentation
 
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / NcrCall Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
 
Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchir
 
Buy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail Accounts
 

Embedded Systems - A Brief Introduction

  • 1. A Brief Introduction to Embedded Systems K. Raghunathan Chartered Engineer FIETE, MIE, MCSI, MISTE, MISTD. MIIMM Retd. Dy. Controller (R&D) [MoD]
  • 2. Embedded Systems • Overview of Embedded Systems • Embedded System Design • Embedded System Designer • More Knowledge
  • 3. Overview of Embedded Systems • What is an Embedded System ? • Examples of Embedded Systems • Why an “Embedded” System ? • Salient Features
  • 4. What is an Embedded System ? • A computer system, fitted as part of some Equipment which is not a computer • The whole system is not called a computer - it is known by the name of the Equipment • The embedded computer system controls the equipment in which it is embedded • Performs only specific tasks, often in real-time
  • 5. Examples of Embedded Systems • Network Printer – Network Interfacing & Routing • Handheld Barcode Scanner – Conversion of Image to Number • Mobile Phone with Internet Connectivity – Browsing, eMail, FTP, Chat etc
  • 6. Examples of Embedded Systems • CNC Machines & Robots – Control the Sequence of Operations • Satellites – Remote-sensing, Data-formatting, Communication, Navigation Control etc • Televison Set – Digital on-screen display of menu, channel number, subtitles etc • Washing Machines – Control of Sequence of Operations, Motor speed & duration control etc
  • 7. Why “embed” a Computer ? • Computers are more suitable for – Control – Data Processing – Decision Making – Digital Communication
  • 8. Why “embed” a Computer ? • Main Equipment is Larger & Costlier; computer is smaller, cheaper & used for only some specific purpose • Using General-purpose computer involves additional space & wiring. It is better to fit a small computer inside [or onto] the equipment itself • often, main equipment itself may have to be small & portable
  • 9. Salient Features of Embedded Systems • Purpose & Functionality – Specific Purpose; Limited Functionality • Size – Small enough to fit into/onto the main eqpt • Real-Time – Response within a specified Time-limit • I/O Devices – Very Few; often, only Sensors & Activators – Conspicuous absence of conventional devices like keyboard, CRT screen, hard disk etc
  • 10. Embedded Systems • Overview of Embedded Systems √ • Embedded System Design • Embedded System Designer • More Knowledge
  • 11. Embedded System Design • Selection of CPU & other Hardware • Design of the Hardware System • Design & Development of Software • Testing & Debugging • Loading the Software into the Embedded System’s Memory
  • 12. Selection of CPU & other Hardware • CPU – Speed – Instruction Set – Multitasking Capabilities – Interrupt- handling Capabilities – Power Consumption – Heat Dissipation
  • 13. Memory • Non-Volatile [ROM/PROM/EPROM] – Code – Fixed Data • Look-Up Tables, Constants, Initial Values of Variables • Volatile [RAM] – Variable Data – temporary data
  • 14. I/O Devices • Depends on : – Main Equipment & its purpose/functions – Purpose to be served by the embedded system • May also need : – HW & SW Interfaces or Drivers for the i/o devices
  • 15. Software Development • Software has to be developed on some other convenient computer system [Host System] • The Code obtained in the Host system should run in the Embedded System [Target System]
  • 16. Software Development • HW configuration of Host & Target will be different • Should use Cross Compilers & Cross Assemblers on the Host, to get Target System’s Machine Code as the Output • Often, an RTOS [Real Time Operating System] is used
  • 17. Software Development • Usually the SW is developed as a set of Tasks [functions/procedures] & ISRs [Interrupt Service Routines] • Tasks perform some specific actions – most likely, some of the primary functions of the Main eqpt • ISRs interrupt running Tasks based on certain events [inputs from sensors] – to take appropriate action for those inputs – to update data for the tasks
  • 18. Testing & Debugging • Often not possible to test the program by actually loading it into the target system & running it in the Main eqpt • So, code has to be tested in the Host system itself • Need Emulators which can emulate the embedded system’s CPU
  • 19. Testing & Debugging • Drivers & Scaffolds to be written – to simulate actual inputs & behaviour of the main eqpt • Test Data – normally expected range of values – out-of-range values – erroneous data
  • 20. Loading SW in the Embedded System’s Memory • No operating system in the embedded system • Code generated on the Host system should include start-up [initialising] routines for the target system • Use of RTOS ensures automatic addition of start-up code
  • 21. Loading SW in the Embedded System’s Memory • Special programs called Locators enable developer to specify which blocks of code should be loaded at what addresses in the embedded system’s memory • Output of Locator is in the form of a file stored in the Host; this file will have a special format [not the standard executable file you get in desktop systems] • Special programs called Loaders – understand the Locator’s file format – load the code in embedded systems memory
  • 22. Tools for Embedded Software Development • Cross Compilers • Cross Assemblers • Locators • RTOS • Loaders
  • 23. RTOS • Easier Development Environment • Produce Machine Code of Target CPU • Automatic inclusion of code for Start-up & system Initialisation & other necessary functionalities like memory management, process scheduling etc • Many RTOSes available – iRMX86, uC-OS, VxWorks, pSOS, QNX etc • Many of them written in C/C++ – allow us to develop programs using C/C++
  • 24. RTOS • Main Features – Multi-tasking – Task Scheduling Policies – Mutual Exclusion using Semaphores – Message Queues, Mailboxes and/or Pipes for Inter-Process Communication
  • 25. Hardware Design Considerations • Physical Size – Small • Power Consumption – Low • Heat Dissipation – Very Low • Cost – Low cost, without compromising Quality & Performance
  • 26. Software Design Considerations • Real Time Response – No part of the code can take unpredictable execution time – ISRs must be kept short – No Dead-Locks or Circular Waits • Reliability – Should run without Human Intervention – Should NOT Crash – Robust & Fault Tolerant – Exception Handling without Malfunction or unpredictable behaviour
  • 27. Embedded Systems • Overview of Embedded Systems √ • Embedded System Design √ • Embedded System Designer • More Knowledge
  • 28. Embedded System Designer • Specialist • Knowledge of Theory & Practical Techniques of both Hardware & Software • Strong Foundation in – Digital Logic Ckts, ADCs, DACs, PLCs, FPGAs – Microcontrollers & Interfacing Techniques – Assembly Language Programming – High Level Language Programming [C/C++] – Writing ISRs – RTOS
  • 29. Job Oppurtunities • Employers – Manufacturers of • Telecom Products • Automatons & Industrial Robots • Automated Production & Diagnostic Eqpt – Software Development Firms • Remuneration – Lucrative
  • 30. Embedded Systems • Overview of Embedded Systems √ • Embedded System Design √ • Embedded System Designer √ • More Knowledge
  • 31. For More Knowledge • Books • Hands-on Training
  • 32. Books on Embedded Systems • An Embedded System Primer – David E Simon • Embedded System Design – Steve Heath • The Art of Programming Embedded Systems – Jack G Ganssle • Fundamentals of Embedded Software - Where C and Assembly Meet – Daniel W Lewis • Real Time Systems & Programming Languages – Alan Burns & Andy Wellings • Real Time Programming – Moore Grehan
  • 33. Training on Embedded Systems • TCIL, & their Branches & Franchisees – Telecom Consultants India Ltd – formed by DoT • ECIL, Hyderabad – Electronic Corporation of India Ltd • Many institutes boast of embedded system training – teach only soldering & assembling, using kits – do not teach theory or design principles
  • 34. Thank You ! & Best of Luck !