SlideShare una empresa de Scribd logo
1 de 51
Descargar para leer sin conexión
Maths is not everything

Embedded Systems
2 - Introduction
What are embedded systems?
Challenges in embedded computing system design
Design methodologies
System’s Integration
RMR©2012
Overview

Embedded computers are all around us.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Many systems have complex embedded
hardware and software.

Embedded systems pose many design
challenges: design time, deadlines, power,
etc.
Design methodologies help us manage the
design process.
Maths is not everything

What are embedded systems?

RMR©2012
Definition

Embedded system: any device that
includes a programmable computer but
is not itself a general-purpose
computer.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Take advantage of application
characteristics to optimize the design:
don’t need all the general-purpose bells and
whistles.
Embedding a computer

output

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

CPU

embedded
computer

analog
(digital)

input

analog
(digital)

mem
Examples

Cell phone.
Printer.
Automobile: engine, brakes, dash, etc.
Airplane: engine, flight controls, nav/
comm.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Digital television.
Household appliances.
PC peripherals (keyboard, storage, ...)
...
Early history

Late 1940’s: MIT Whirlwind computer was
designed for real-time operations.
Originally designed to control an aircraft
simulator.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

First microprocessor was Intel 4004 in
early 1970’s.
HP-35 calculator used several chips to
implement a microprocessor in 1972.
Early history

Automobiles used microprocessor-based
engine controllers starting in 1970’s.
Control fuel/air mixture, engine timing, etc.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Multiple modes of operation: warm-up, cruise,
hill climbing, etc.
Provides lower emissions, better fuel
efficiency.
Microprocessor varieties

Microcontroller: includes I/O devices, onboard memory.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Digital signal processor (DSP):
microprocessor optimized for digital
signal processing.
Typical embedded word sizes: 8-bit, 16bit, 32-bit.
Application examples

Simple control: front panel of microwave
oven, etc.
Canon EOS 3 has three microprocessors.
32-bit RISC CPU runs autofocus and eye
control systems.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Analog TV: channel selection, etc.
Digital TV: programmable CPUs +
hardwired logic for video/audio decode,
menus, etc.
Automotive embedded systems

Today’s high-end automobile may have 100
microprocessors:
4-bit microcontroller checks seat belt;

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

microcontrollers run dashboard devices;
16/32-bit microprocessor controls engine.
BMW 850i brake and stability control system

Anti-lock brake system (ABS): pumps
brakes to reduce skidding.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Automatic stability control (ASC+T):
controls engine to improve stability.
ABS and ASC+T communicate.
ABS was introduced first---needed to
interface to existing ABS module.
BMW 850i, cont’d.

sensor

sensor

brake

brake

ABS

hydraulic
pump

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

brake

brake

sensor

sensor
Characteristics of embedded systems

Sophisticated functionality.
Real-time operation.
Low manufacturing cost.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Low power.
Designed by small teams on tight
deadlines.
Functional complexity

Often have to run sophisticated
algorithms or multiple algorithms.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Cell phone, laser printer.

Often provide sophisticated user
interfaces.
Real-time operation

Must finish operations by deadlines.
Hard real time: missing deadline causes failure.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Soft real time: missing deadline results in
degraded performance.

Many systems are multi-rate: must handle
operations at widely varying rates.
Non-functional requirements

Many embedded systems are mass-market
items that must have low manufacturing
costs.
Limited memory, microprocessor power, etc.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Power consumption is critical in batterypowered devices.
Excessive power consumption increases system
cost even in wall-powered devices.
Design teams

Often designed by a small team of
designers.
Often must meet tight deadlines.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

6 month market window is common.
Can ’ t mi ss b ack -t o-school w i n d ow f or
calculator.
Why use microprocessors?

Alternatives: field-programmable gate
arrays (FPGAs), custom logic, etc.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Microprocessors are often very efficient:
can use same logic to perform many
different functions.
Microprocessors simplify the design of
families of products.
Maths is not everything

RMR©2012

20

© 2008 Wayne Wolf

System on a chip
The performance paradox

Microprocessors use much more logic to
implement a function than does custom
logic.
But microprocessors are often at least as
fast:

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

heavily pipelined (architecture optimization);
large design teams (design optimization);
aggressive VLSI technology (technology
optimization).
Power

Custom logic uses less power, but CPUs
have advantages:
Modern microprocessors offer features to help
control power consumption.
Software design techniques can help reduce power
consumption.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Heterogeneous systems: some custom logic for

well-defined functions, CPUs + software for everything
else.
Platforms

Embedded computing platform: hardware
architecture + associated software.
Many platforms are multiprocessors.
Examples:
Single-chip multiprocessors for cell phone baseband.

Maths is not everything

RMR©2012

23

© 2008 Wayne Wolf

Automotive network + processors.
The physics of software

Computing is a physical act.
Software doesn’t do anything without hardware.

Maths is not everything

RMR©2012

24

© 2008 Wayne Wolf

Executing software consumes energy,
requires time.
To understand the dynamics of software
(time, energy), we need to characterize
the platform on which the software runs.
What does “performance” mean?

In general-purpose computing,
performance often means average-case,
may not be well-defined.
In real-time systems, performance means
meeting deadlines.

Maths is not everything

RMR©2012

25

© 2008 Wayne Wolf

Missing the deadline by even a little is bad.
Finishing ahead of the deadline may not help.
Characterizing performance

We need to analyze the system at several
levels of abstraction to understand
performance:
CPU.
Platform.

Maths is not everything

RMR©2012

26

© 2008 Wayne Wolf

Program.
Task.
Multiprocessor.
Maths is not everything

Challenges in embedded computing system
design

RMR©2012
Challenges in embedded system design

How much hardware do we need?
How big is the CPU? Memory?

How do we meet our deadlines?

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Faster hardware (Amdahl’s law) or cleverer software?

How do we minimize power?
Slow down? Turn off unnecessary logic? Reduce
memory accesses?
Challenges in development

Does it really work?
Is the specification correct?
Does the implementation meet the spec?
How do we test for real-time characteristics?
How do we test on real data?

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

How do we work on the system?
Observability, controllability?
What is our development platform?
Maths is not everything

Design methodologies

RMR©2012
Design methodologies

A procedure for designing a system.
Understanding your methodology helps
you ensure you didn’t skip anything.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Compilers, software engineering tools,
computer-aided design (CAD) tools, etc.,
can be used to:
help automate methodology steps;
keep track of the methodology itself.
Design goals

Performance.
Overall speed, deadlines.

Functionality and user interface.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Manufacturing cost.
Power consumption.
Other requirements (physical size, etc.)
Levels of abstraction

requirements

specification

architecture

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

component
design
system
integration
Top-down vs. bottom-up

Top-down design:
start from most abstract description;
work to most detailed.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Bottom-up design:
work from small components to big system.

Real design uses both techniques.
Stepwise refinement

At each level of abstraction, one must:
analyze the design to determine
characteristics of the current state of the
design;

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

refine the design to add detail.
Requirements

Plain language description of what the
user wants and expects to get.
May be developed in several ways:

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

talking directly to customers;
talking to marketing representatives;
providing prototypes to users for comment.
Functional vs. non-functional requirements

Functional requirements:
output as a function of input.

Non-functional requirements:
time required to compute output;

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

size, weight, etc.;
power consumption;
reliability;
etc.
Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Our requirements form
Example: GPS moving map requirements

I-78

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Scotch Road

Moving map obtains
position from GPS, paints
map from local database.

lat: 40 13 lon: 32 19
GPS moving map needs

Functionality: For automotive use. Show
major roads and landmarks.
User interface: At least 400 x 600 pixel
screen. Three buttons max. Pop-up menu.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Performance: Map should scroll smoothly.
No more than 1 sec power-up. Lock onto
GPS within 15 seconds.
Cost: $500 street price = approx. $100
cost of goods sold.
GPS moving map needs, cont’d.

Physical size/weight: Should fit in hand.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Power consumption: Should run for 8
hours on four AA batteries.
Maths is not everything

RMR©2012

© 2008 Wayne Wolf

GPS moving map requirements form
Specification

A more precise description of the system:
should not imply a particular architecture;
provides input to the architecture design process.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

May include functional and non-functional
elements.
May be executable or may be in
mathematical form for proofs.
GPS specification

Should include:
What is received from GPS;
map data;
user interface;

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

operations required to satisfy user requests;
background operations needed to keep the
system running.
Architecture design

What major components go satisfying the
specification?
Hardware components:
CPUs, peripherals, etc.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Software components:
major programs and their operations.

Must take into account functional and
non-functional specifications.
GPS moving map block diagram

GPS
receiver

search
engine

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

database

renderer

user
interface

display
GPS moving map hardware architecture

display

frame
buffer

CPU
GPS
receiver

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

memory

panel I/O
GPS moving map software architecture

position

© 2008 Wayne Wolf

RMR©2012

renderer

user
interface
Maths is not everything

database
search

timer

pixels
Designing hardware and software components

Must spend time architecting the system
before you start coding.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Some components are ready-made, some
can be modified from existing designs,
others must be designed from scratch.
Maths is not everything

System’s Integration

RMR©2012
System integration

Put together the components.
Many bugs appear only at this stage.

Maths is not everything

RMR©2012

© 2008 Wayne Wolf

Have a plan for integrating components to
uncover bugs quickly, test as much
functionality as early as possible.
Having a structured (planned) testing approach is
paramount - design for testability
think about which tests and how they will be made in
the embedded system (Hw, Sw & global) at the design
phase!

Más contenido relacionado

La actualidad más candente

Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded SystemsMohamed Tarek
 
Hardware Software Co-Design - White Paper
Hardware Software Co-Design - White PaperHardware Software Co-Design - White Paper
Hardware Software Co-Design - White PaperMistral Solutions
 
AssetManager - downtime and production reporting
AssetManager - downtime and production reportingAssetManager - downtime and production reporting
AssetManager - downtime and production reportingOptima Control Solutions
 
Faster, simpler employee device management with Dell Client Command Suite
Faster, simpler employee device management with Dell Client Command SuiteFaster, simpler employee device management with Dell Client Command Suite
Faster, simpler employee device management with Dell Client Command SuitePrincipled Technologies
 
Automated Operations: Five Benefits for Your Organization
Automated Operations: Five Benefits for Your OrganizationAutomated Operations: Five Benefits for Your Organization
Automated Operations: Five Benefits for Your OrganizationHelpSystems
 
Aspects of modern APM solutions
Aspects of modern APM solutionsAspects of modern APM solutions
Aspects of modern APM solutionsFabian Lange
 
IBM Endpoint Manager for Server Automation (Overview)
IBM Endpoint Manager for Server Automation (Overview)IBM Endpoint Manager for Server Automation (Overview)
IBM Endpoint Manager for Server Automation (Overview)Kimber Spradlin
 
INTEREL GRMS -Catalogue
INTEREL GRMS -CatalogueINTEREL GRMS -Catalogue
INTEREL GRMS -Cataloguehasina shimul
 
IBM Endpoint Manager V9.0
IBM Endpoint Manager V9.0IBM Endpoint Manager V9.0
IBM Endpoint Manager V9.0RMayo22
 
Embedded system design challenges
Embedded system design challenges Embedded system design challenges
Embedded system design challenges Aditya Kamble
 
Reducing PC Management Costs With NxTop
Reducing PC Management Costs With NxTopReducing PC Management Costs With NxTop
Reducing PC Management Costs With NxTopVirtual Computer
 
Who Is ASE?
Who Is ASE?Who Is ASE?
Who Is ASE?djburns
 
Change your desktops, change your business
Change your desktops, change your businessChange your desktops, change your business
Change your desktops, change your businessPrincipled Technologies
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systemsmahalakshmimalini
 
Managed desktop and infrastructure
Managed desktop and infrastructureManaged desktop and infrastructure
Managed desktop and infrastructureBlink Communications
 
IBM Endpoint Manager for Lifecycle Management (Overview)
IBM Endpoint Manager for Lifecycle Management (Overview)IBM Endpoint Manager for Lifecycle Management (Overview)
IBM Endpoint Manager for Lifecycle Management (Overview)Kimber Spradlin
 

La actualidad más candente (20)

Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded Systems
 
Hardware Software Co-Design - White Paper
Hardware Software Co-Design - White PaperHardware Software Co-Design - White Paper
Hardware Software Co-Design - White Paper
 
AssetManager - downtime and production reporting
AssetManager - downtime and production reportingAssetManager - downtime and production reporting
AssetManager - downtime and production reporting
 
Faster, simpler employee device management with Dell Client Command Suite
Faster, simpler employee device management with Dell Client Command SuiteFaster, simpler employee device management with Dell Client Command Suite
Faster, simpler employee device management with Dell Client Command Suite
 
Automated Operations: Five Benefits for Your Organization
Automated Operations: Five Benefits for Your OrganizationAutomated Operations: Five Benefits for Your Organization
Automated Operations: Five Benefits for Your Organization
 
Aspects of modern APM solutions
Aspects of modern APM solutionsAspects of modern APM solutions
Aspects of modern APM solutions
 
IBM Endpoint Manager for Server Automation (Overview)
IBM Endpoint Manager for Server Automation (Overview)IBM Endpoint Manager for Server Automation (Overview)
IBM Endpoint Manager for Server Automation (Overview)
 
Lect01
Lect01Lect01
Lect01
 
INTEREL GRMS -Catalogue
INTEREL GRMS -CatalogueINTEREL GRMS -Catalogue
INTEREL GRMS -Catalogue
 
IBM Endpoint Manager V9.0
IBM Endpoint Manager V9.0IBM Endpoint Manager V9.0
IBM Endpoint Manager V9.0
 
Embedded system design challenges
Embedded system design challenges Embedded system design challenges
Embedded system design challenges
 
Reducing PC Management Costs With NxTop
Reducing PC Management Costs With NxTopReducing PC Management Costs With NxTop
Reducing PC Management Costs With NxTop
 
Embedded
EmbeddedEmbedded
Embedded
 
Who Is ASE?
Who Is ASE?Who Is ASE?
Who Is ASE?
 
Change your desktops, change your business
Change your desktops, change your businessChange your desktops, change your business
Change your desktops, change your business
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systems
 
vPro-BMW
vPro-BMWvPro-BMW
vPro-BMW
 
Managed desktop and infrastructure
Managed desktop and infrastructureManaged desktop and infrastructure
Managed desktop and infrastructure
 
Embedded
EmbeddedEmbedded
Embedded
 
IBM Endpoint Manager for Lifecycle Management (Overview)
IBM Endpoint Manager for Lifecycle Management (Overview)IBM Endpoint Manager for Lifecycle Management (Overview)
IBM Endpoint Manager for Lifecycle Management (Overview)
 

Destacado (9)

S emb t10-development
S emb t10-developmentS emb t10-development
S emb t10-development
 
Real time-embedded-system-lec-05
Real time-embedded-system-lec-05Real time-embedded-system-lec-05
Real time-embedded-system-lec-05
 
Real time-embedded-system-lec-06
Real time-embedded-system-lec-06Real time-embedded-system-lec-06
Real time-embedded-system-lec-06
 
Real time-embedded-system-lec-02
Real time-embedded-system-lec-02Real time-embedded-system-lec-02
Real time-embedded-system-lec-02
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded Systems
 
Embedded System Presentation
Embedded System PresentationEmbedded System Presentation
Embedded System Presentation
 
Unit 1 embedded systems and applications
Unit 1 embedded systems and applicationsUnit 1 embedded systems and applications
Unit 1 embedded systems and applications
 
ppt on embedded system
ppt on embedded systemppt on embedded system
ppt on embedded system
 

Similar a S emb t2-definition

ch1_1_Introduction_To_Embedded_Systems.pptx.pdf
ch1_1_Introduction_To_Embedded_Systems.pptx.pdfch1_1_Introduction_To_Embedded_Systems.pptx.pdf
ch1_1_Introduction_To_Embedded_Systems.pptx.pdfSridhar Jayaraman
 
UNIT I_Introduction.pptx
UNIT I_Introduction.pptxUNIT I_Introduction.pptx
UNIT I_Introduction.pptxssuser4ca1eb
 
BEE 049- design of embedded system.pdf
BEE 049- design of embedded system.pdfBEE 049- design of embedded system.pdf
BEE 049- design of embedded system.pdfabdisahirko
 
406997673-Computers-as-Components-2nd-Edi-Wayne-Wolf.pptx
406997673-Computers-as-Components-2nd-Edi-Wayne-Wolf.pptx406997673-Computers-as-Components-2nd-Edi-Wayne-Wolf.pptx
406997673-Computers-as-Components-2nd-Edi-Wayne-Wolf.pptxpraveenkistappagari
 
Software Factories in the Real World: How an IBM WebSphere Integration Factor...
Software Factories in the Real World: How an IBM WebSphere Integration Factor...Software Factories in the Real World: How an IBM WebSphere Integration Factor...
Software Factories in the Real World: How an IBM WebSphere Integration Factor...ghodgkinson
 
Virtualization to Cloud with SDDC Operations Management and Service Provisioning
Virtualization to Cloud with SDDC Operations Management and Service ProvisioningVirtualization to Cloud with SDDC Operations Management and Service Provisioning
Virtualization to Cloud with SDDC Operations Management and Service ProvisioningVMware
 
System Center Operations Manager (SCOM) 2007 R2 & Non Microsoft Monitoring
System Center Operations Manager (SCOM) 2007 R2 & Non Microsoft MonitoringSystem Center Operations Manager (SCOM) 2007 R2 & Non Microsoft Monitoring
System Center Operations Manager (SCOM) 2007 R2 & Non Microsoft MonitoringAmit Gatenyo
 
Embedded systems- nanocdac
Embedded systems- nanocdacEmbedded systems- nanocdac
Embedded systems- nanocdacnanocdac
 
Drives Software Programming – using PLC or Drive bespoke programming?
Drives Software Programming – using PLC or Drive bespoke programming?Drives Software Programming – using PLC or Drive bespoke programming?
Drives Software Programming – using PLC or Drive bespoke programming?Optima Control Solutions
 
IBM Endpoint Manager for Server Automation presentation
IBM Endpoint Manager for Server Automation presentationIBM Endpoint Manager for Server Automation presentation
IBM Endpoint Manager for Server Automation presentationRMayo22
 
Ppt on embedded system
Ppt on embedded systemPpt on embedded system
Ppt on embedded systemPankaj joshi
 
InSource 2017 IIoT Roadshow: The Future of HMI/SCADA and Industrial Cloud Pla...
InSource 2017 IIoT Roadshow: The Future of HMI/SCADA and Industrial Cloud Pla...InSource 2017 IIoT Roadshow: The Future of HMI/SCADA and Industrial Cloud Pla...
InSource 2017 IIoT Roadshow: The Future of HMI/SCADA and Industrial Cloud Pla...InSource Solutions
 

Similar a S emb t2-definition (20)

Ch1 1
Ch1 1Ch1 1
Ch1 1
 
ch1_1_Introduction_To_Embedded_Systems.pptx.pdf
ch1_1_Introduction_To_Embedded_Systems.pptx.pdfch1_1_Introduction_To_Embedded_Systems.pptx.pdf
ch1_1_Introduction_To_Embedded_Systems.pptx.pdf
 
ERTS_Unit 1_PPT.pdf
ERTS_Unit 1_PPT.pdfERTS_Unit 1_PPT.pdf
ERTS_Unit 1_PPT.pdf
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
ppt
pptppt
ppt
 
Module-1 Embedded computing.pdf
Module-1 Embedded computing.pdfModule-1 Embedded computing.pdf
Module-1 Embedded computing.pdf
 
UNIT I_Introduction.pptx
UNIT I_Introduction.pptxUNIT I_Introduction.pptx
UNIT I_Introduction.pptx
 
BEE 049- design of embedded system.pdf
BEE 049- design of embedded system.pdfBEE 049- design of embedded system.pdf
BEE 049- design of embedded system.pdf
 
406997673-Computers-as-Components-2nd-Edi-Wayne-Wolf.pptx
406997673-Computers-as-Components-2nd-Edi-Wayne-Wolf.pptx406997673-Computers-as-Components-2nd-Edi-Wayne-Wolf.pptx
406997673-Computers-as-Components-2nd-Edi-Wayne-Wolf.pptx
 
Software Factories in the Real World: How an IBM WebSphere Integration Factor...
Software Factories in the Real World: How an IBM WebSphere Integration Factor...Software Factories in the Real World: How an IBM WebSphere Integration Factor...
Software Factories in the Real World: How an IBM WebSphere Integration Factor...
 
UNIT I.pptx
UNIT I.pptxUNIT I.pptx
UNIT I.pptx
 
ERTS_IV_ECE.pptx
ERTS_IV_ECE.pptxERTS_IV_ECE.pptx
ERTS_IV_ECE.pptx
 
Virtualization to Cloud with SDDC Operations Management and Service Provisioning
Virtualization to Cloud with SDDC Operations Management and Service ProvisioningVirtualization to Cloud with SDDC Operations Management and Service Provisioning
Virtualization to Cloud with SDDC Operations Management and Service Provisioning
 
System Center Operations Manager (SCOM) 2007 R2 & Non Microsoft Monitoring
System Center Operations Manager (SCOM) 2007 R2 & Non Microsoft MonitoringSystem Center Operations Manager (SCOM) 2007 R2 & Non Microsoft Monitoring
System Center Operations Manager (SCOM) 2007 R2 & Non Microsoft Monitoring
 
Embedded systems- nanocdac
Embedded systems- nanocdacEmbedded systems- nanocdac
Embedded systems- nanocdac
 
Drives Software Programming – using PLC or Drive bespoke programming?
Drives Software Programming – using PLC or Drive bespoke programming?Drives Software Programming – using PLC or Drive bespoke programming?
Drives Software Programming – using PLC or Drive bespoke programming?
 
embedded systems
embedded systemsembedded systems
embedded systems
 
IBM Endpoint Manager for Server Automation presentation
IBM Endpoint Manager for Server Automation presentationIBM Endpoint Manager for Server Automation presentation
IBM Endpoint Manager for Server Automation presentation
 
Ppt on embedded system
Ppt on embedded systemPpt on embedded system
Ppt on embedded system
 
InSource 2017 IIoT Roadshow: The Future of HMI/SCADA and Industrial Cloud Pla...
InSource 2017 IIoT Roadshow: The Future of HMI/SCADA and Industrial Cloud Pla...InSource 2017 IIoT Roadshow: The Future of HMI/SCADA and Industrial Cloud Pla...
InSource 2017 IIoT Roadshow: The Future of HMI/SCADA and Industrial Cloud Pla...
 

Más de João Moreira

Más de João Moreira (12)

Bolt mld1717 11100975
Bolt mld1717 11100975Bolt mld1717 11100975
Bolt mld1717 11100975
 
S emb t12-os
S emb t12-osS emb t12-os
S emb t12-os
 
S emb t11-processes
S emb t11-processesS emb t11-processes
S emb t11-processes
 
S emb t9-arch_power (1)
S emb t9-arch_power (1)S emb t9-arch_power (1)
S emb t9-arch_power (1)
 
S emb t9-arch_power
S emb t9-arch_powerS emb t9-arch_power
S emb t9-arch_power
 
S emb t8-arch_itfio
S emb t8-arch_itfioS emb t8-arch_itfio
S emb t8-arch_itfio
 
S emb t7-arch_bus
S emb t7-arch_busS emb t7-arch_bus
S emb t7-arch_bus
 
S emb t6-arch_mem
S emb t6-arch_memS emb t6-arch_mem
S emb t6-arch_mem
 
S emb t5-arch_io
S emb t5-arch_ioS emb t5-arch_io
S emb t5-arch_io
 
S emb t4-arch_cpu
S emb t4-arch_cpuS emb t4-arch_cpu
S emb t4-arch_cpu
 
S emb t1-introduction
S emb t1-introductionS emb t1-introduction
S emb t1-introduction
 
S emb t13-freertos
S emb t13-freertosS emb t13-freertos
S emb t13-freertos
 

Último

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 

Último (20)

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 

S emb t2-definition

  • 1. Maths is not everything Embedded Systems 2 - Introduction What are embedded systems? Challenges in embedded computing system design Design methodologies System’s Integration RMR©2012
  • 2. Overview Embedded computers are all around us. Maths is not everything RMR©2012 © 2008 Wayne Wolf Many systems have complex embedded hardware and software. Embedded systems pose many design challenges: design time, deadlines, power, etc. Design methodologies help us manage the design process.
  • 3. Maths is not everything What are embedded systems? RMR©2012
  • 4. Definition Embedded system: any device that includes a programmable computer but is not itself a general-purpose computer. Maths is not everything RMR©2012 © 2008 Wayne Wolf Take advantage of application characteristics to optimize the design: don’t need all the general-purpose bells and whistles.
  • 5. Embedding a computer output Maths is not everything RMR©2012 © 2008 Wayne Wolf CPU embedded computer analog (digital) input analog (digital) mem
  • 6. Examples Cell phone. Printer. Automobile: engine, brakes, dash, etc. Airplane: engine, flight controls, nav/ comm. Maths is not everything RMR©2012 © 2008 Wayne Wolf Digital television. Household appliances. PC peripherals (keyboard, storage, ...) ...
  • 7. Early history Late 1940’s: MIT Whirlwind computer was designed for real-time operations. Originally designed to control an aircraft simulator. Maths is not everything RMR©2012 © 2008 Wayne Wolf First microprocessor was Intel 4004 in early 1970’s. HP-35 calculator used several chips to implement a microprocessor in 1972.
  • 8. Early history Automobiles used microprocessor-based engine controllers starting in 1970’s. Control fuel/air mixture, engine timing, etc. Maths is not everything RMR©2012 © 2008 Wayne Wolf Multiple modes of operation: warm-up, cruise, hill climbing, etc. Provides lower emissions, better fuel efficiency.
  • 9. Microprocessor varieties Microcontroller: includes I/O devices, onboard memory. Maths is not everything RMR©2012 © 2008 Wayne Wolf Digital signal processor (DSP): microprocessor optimized for digital signal processing. Typical embedded word sizes: 8-bit, 16bit, 32-bit.
  • 10. Application examples Simple control: front panel of microwave oven, etc. Canon EOS 3 has three microprocessors. 32-bit RISC CPU runs autofocus and eye control systems. Maths is not everything RMR©2012 © 2008 Wayne Wolf Analog TV: channel selection, etc. Digital TV: programmable CPUs + hardwired logic for video/audio decode, menus, etc.
  • 11. Automotive embedded systems Today’s high-end automobile may have 100 microprocessors: 4-bit microcontroller checks seat belt; Maths is not everything RMR©2012 © 2008 Wayne Wolf microcontrollers run dashboard devices; 16/32-bit microprocessor controls engine.
  • 12. BMW 850i brake and stability control system Anti-lock brake system (ABS): pumps brakes to reduce skidding. Maths is not everything RMR©2012 © 2008 Wayne Wolf Automatic stability control (ASC+T): controls engine to improve stability. ABS and ASC+T communicate. ABS was introduced first---needed to interface to existing ABS module.
  • 13. BMW 850i, cont’d. sensor sensor brake brake ABS hydraulic pump Maths is not everything RMR©2012 © 2008 Wayne Wolf brake brake sensor sensor
  • 14. Characteristics of embedded systems Sophisticated functionality. Real-time operation. Low manufacturing cost. Maths is not everything RMR©2012 © 2008 Wayne Wolf Low power. Designed by small teams on tight deadlines.
  • 15. Functional complexity Often have to run sophisticated algorithms or multiple algorithms. Maths is not everything RMR©2012 © 2008 Wayne Wolf Cell phone, laser printer. Often provide sophisticated user interfaces.
  • 16. Real-time operation Must finish operations by deadlines. Hard real time: missing deadline causes failure. Maths is not everything RMR©2012 © 2008 Wayne Wolf Soft real time: missing deadline results in degraded performance. Many systems are multi-rate: must handle operations at widely varying rates.
  • 17. Non-functional requirements Many embedded systems are mass-market items that must have low manufacturing costs. Limited memory, microprocessor power, etc. Maths is not everything RMR©2012 © 2008 Wayne Wolf Power consumption is critical in batterypowered devices. Excessive power consumption increases system cost even in wall-powered devices.
  • 18. Design teams Often designed by a small team of designers. Often must meet tight deadlines. Maths is not everything RMR©2012 © 2008 Wayne Wolf 6 month market window is common. Can ’ t mi ss b ack -t o-school w i n d ow f or calculator.
  • 19. Why use microprocessors? Alternatives: field-programmable gate arrays (FPGAs), custom logic, etc. Maths is not everything RMR©2012 © 2008 Wayne Wolf Microprocessors are often very efficient: can use same logic to perform many different functions. Microprocessors simplify the design of families of products.
  • 20. Maths is not everything RMR©2012 20 © 2008 Wayne Wolf System on a chip
  • 21. The performance paradox Microprocessors use much more logic to implement a function than does custom logic. But microprocessors are often at least as fast: Maths is not everything RMR©2012 © 2008 Wayne Wolf heavily pipelined (architecture optimization); large design teams (design optimization); aggressive VLSI technology (technology optimization).
  • 22. Power Custom logic uses less power, but CPUs have advantages: Modern microprocessors offer features to help control power consumption. Software design techniques can help reduce power consumption. Maths is not everything RMR©2012 © 2008 Wayne Wolf Heterogeneous systems: some custom logic for well-defined functions, CPUs + software for everything else.
  • 23. Platforms Embedded computing platform: hardware architecture + associated software. Many platforms are multiprocessors. Examples: Single-chip multiprocessors for cell phone baseband. Maths is not everything RMR©2012 23 © 2008 Wayne Wolf Automotive network + processors.
  • 24. The physics of software Computing is a physical act. Software doesn’t do anything without hardware. Maths is not everything RMR©2012 24 © 2008 Wayne Wolf Executing software consumes energy, requires time. To understand the dynamics of software (time, energy), we need to characterize the platform on which the software runs.
  • 25. What does “performance” mean? In general-purpose computing, performance often means average-case, may not be well-defined. In real-time systems, performance means meeting deadlines. Maths is not everything RMR©2012 25 © 2008 Wayne Wolf Missing the deadline by even a little is bad. Finishing ahead of the deadline may not help.
  • 26. Characterizing performance We need to analyze the system at several levels of abstraction to understand performance: CPU. Platform. Maths is not everything RMR©2012 26 © 2008 Wayne Wolf Program. Task. Multiprocessor.
  • 27. Maths is not everything Challenges in embedded computing system design RMR©2012
  • 28. Challenges in embedded system design How much hardware do we need? How big is the CPU? Memory? How do we meet our deadlines? Maths is not everything RMR©2012 © 2008 Wayne Wolf Faster hardware (Amdahl’s law) or cleverer software? How do we minimize power? Slow down? Turn off unnecessary logic? Reduce memory accesses?
  • 29. Challenges in development Does it really work? Is the specification correct? Does the implementation meet the spec? How do we test for real-time characteristics? How do we test on real data? Maths is not everything RMR©2012 © 2008 Wayne Wolf How do we work on the system? Observability, controllability? What is our development platform?
  • 30. Maths is not everything Design methodologies RMR©2012
  • 31. Design methodologies A procedure for designing a system. Understanding your methodology helps you ensure you didn’t skip anything. Maths is not everything RMR©2012 © 2008 Wayne Wolf Compilers, software engineering tools, computer-aided design (CAD) tools, etc., can be used to: help automate methodology steps; keep track of the methodology itself.
  • 32. Design goals Performance. Overall speed, deadlines. Functionality and user interface. Maths is not everything RMR©2012 © 2008 Wayne Wolf Manufacturing cost. Power consumption. Other requirements (physical size, etc.)
  • 33. Levels of abstraction requirements specification architecture Maths is not everything RMR©2012 © 2008 Wayne Wolf component design system integration
  • 34. Top-down vs. bottom-up Top-down design: start from most abstract description; work to most detailed. Maths is not everything RMR©2012 © 2008 Wayne Wolf Bottom-up design: work from small components to big system. Real design uses both techniques.
  • 35. Stepwise refinement At each level of abstraction, one must: analyze the design to determine characteristics of the current state of the design; Maths is not everything RMR©2012 © 2008 Wayne Wolf refine the design to add detail.
  • 36. Requirements Plain language description of what the user wants and expects to get. May be developed in several ways: Maths is not everything RMR©2012 © 2008 Wayne Wolf talking directly to customers; talking to marketing representatives; providing prototypes to users for comment.
  • 37. Functional vs. non-functional requirements Functional requirements: output as a function of input. Non-functional requirements: time required to compute output; Maths is not everything RMR©2012 © 2008 Wayne Wolf size, weight, etc.; power consumption; reliability; etc.
  • 38. Maths is not everything RMR©2012 © 2008 Wayne Wolf Our requirements form
  • 39. Example: GPS moving map requirements I-78 Maths is not everything RMR©2012 © 2008 Wayne Wolf Scotch Road Moving map obtains position from GPS, paints map from local database. lat: 40 13 lon: 32 19
  • 40. GPS moving map needs Functionality: For automotive use. Show major roads and landmarks. User interface: At least 400 x 600 pixel screen. Three buttons max. Pop-up menu. Maths is not everything RMR©2012 © 2008 Wayne Wolf Performance: Map should scroll smoothly. No more than 1 sec power-up. Lock onto GPS within 15 seconds. Cost: $500 street price = approx. $100 cost of goods sold.
  • 41. GPS moving map needs, cont’d. Physical size/weight: Should fit in hand. Maths is not everything RMR©2012 © 2008 Wayne Wolf Power consumption: Should run for 8 hours on four AA batteries.
  • 42. Maths is not everything RMR©2012 © 2008 Wayne Wolf GPS moving map requirements form
  • 43. Specification A more precise description of the system: should not imply a particular architecture; provides input to the architecture design process. Maths is not everything RMR©2012 © 2008 Wayne Wolf May include functional and non-functional elements. May be executable or may be in mathematical form for proofs.
  • 44. GPS specification Should include: What is received from GPS; map data; user interface; Maths is not everything RMR©2012 © 2008 Wayne Wolf operations required to satisfy user requests; background operations needed to keep the system running.
  • 45. Architecture design What major components go satisfying the specification? Hardware components: CPUs, peripherals, etc. Maths is not everything RMR©2012 © 2008 Wayne Wolf Software components: major programs and their operations. Must take into account functional and non-functional specifications.
  • 46. GPS moving map block diagram GPS receiver search engine Maths is not everything RMR©2012 © 2008 Wayne Wolf database renderer user interface display
  • 47. GPS moving map hardware architecture display frame buffer CPU GPS receiver Maths is not everything RMR©2012 © 2008 Wayne Wolf memory panel I/O
  • 48. GPS moving map software architecture position © 2008 Wayne Wolf RMR©2012 renderer user interface Maths is not everything database search timer pixels
  • 49. Designing hardware and software components Must spend time architecting the system before you start coding. Maths is not everything RMR©2012 © 2008 Wayne Wolf Some components are ready-made, some can be modified from existing designs, others must be designed from scratch.
  • 50. Maths is not everything System’s Integration RMR©2012
  • 51. System integration Put together the components. Many bugs appear only at this stage. Maths is not everything RMR©2012 © 2008 Wayne Wolf Have a plan for integrating components to uncover bugs quickly, test as much functionality as early as possible. Having a structured (planned) testing approach is paramount - design for testability think about which tests and how they will be made in the embedded system (Hw, Sw & global) at the design phase!