SlideShare a Scribd company logo
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!

More Related Content

What's hot

Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded Systems
Mohamed Tarek
 
Hardware Software Co-Design - White Paper
Hardware Software Co-Design - White PaperHardware Software Co-Design - White Paper
Hardware Software Co-Design - White Paper
Mistral Solutions
 
AssetManager - downtime and production reporting
AssetManager - downtime and production reportingAssetManager - downtime and production reporting
AssetManager - downtime and production reporting
Optima 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 Suite
Principled 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 Organization
HelpSystems
 
Aspects of modern APM solutions
Aspects of modern APM solutionsAspects of modern APM solutions
Aspects of modern APM solutions
Fabian 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
 
Lect01
Lect01Lect01
INTEREL GRMS -Catalogue
INTEREL GRMS -CatalogueINTEREL GRMS -Catalogue
INTEREL GRMS -Catalogue
hasina shimul
 
IBM Endpoint Manager V9.0
IBM Endpoint Manager V9.0IBM Endpoint Manager V9.0
IBM Endpoint Manager V9.0
RMayo22
 
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 NxTop
Virtual Computer
 
Embedded
EmbeddedEmbedded
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 business
Principled Technologies
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systems
mahalakshmimalini
 
vPro-BMW
vPro-BMWvPro-BMW
vPro-BMW
Rahul Ravel
 
Managed desktop and infrastructure
Managed desktop and infrastructureManaged desktop and infrastructure
Managed desktop and infrastructure
Blink Communications
 
Embedded
EmbeddedEmbedded
Embedded
Arpan Pal
 
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
 

What's hot (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)
 

Viewers also liked

S emb t10-development
S emb t10-developmentS emb t10-development
S emb t10-development
João Moreira
 
Real time-embedded-system-lec-05
Real time-embedded-system-lec-05Real time-embedded-system-lec-05
Real time-embedded-system-lec-05
University of Computer Science and Technology
 
Real time-embedded-system-lec-06
Real time-embedded-system-lec-06Real time-embedded-system-lec-06
Real time-embedded-system-lec-06
University of Computer Science and Technology
 
Real time-embedded-system-lec-02
Real time-embedded-system-lec-02Real time-embedded-system-lec-02
Real time-embedded-system-lec-02
University of Computer Science and Technology
 
Embedded system
Embedded systemEmbedded system
Embedded system
Anmol Bagga
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded Systems
Himanshu Ghetia
 
Embedded System Presentation
Embedded System PresentationEmbedded System Presentation
Embedded System Presentation
Prof. Erwin Globio
 
Unit 1 embedded systems and applications
Unit 1 embedded systems and applicationsUnit 1 embedded systems and applications
Unit 1 embedded systems and applications
Dr.YNM
 
ppt on embedded system
ppt on embedded systemppt on embedded system
ppt on embedded system
manish katara
 

Viewers also liked (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 to S emb t2-definition

Ch1 1
Ch1 1Ch1 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
Sridhar Jayaraman
 
ERTS_Unit 1_PPT.pdf
ERTS_Unit 1_PPT.pdfERTS_Unit 1_PPT.pdf
ERTS_Unit 1_PPT.pdf
VinothkumarUruman1
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
lalithamani sampath
 
ppt
pptppt
Module-1 Embedded computing.pdf
Module-1 Embedded computing.pdfModule-1 Embedded computing.pdf
Module-1 Embedded computing.pdf
Sitamarhi Institute of Technology
 
UNIT I_Introduction.pptx
UNIT I_Introduction.pptxUNIT I_Introduction.pptx
UNIT I_Introduction.pptx
ssuser4ca1eb
 
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
abdisahirko
 
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
praveenkistappagari
 
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
 
UNIT I.pptx
UNIT I.pptxUNIT I.pptx
UNIT I.pptx
SeshuSrinivas2
 
ERTS_IV_ECE.pptx
ERTS_IV_ECE.pptxERTS_IV_ECE.pptx
ERTS_IV_ECE.pptx
KIRUTHIKAAR2
 
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
VMware
 
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
Amit Gatenyo
 
embededsystemfinal1-170130182030 (1).ppt
embededsystemfinal1-170130182030 (1).pptembededsystemfinal1-170130182030 (1).ppt
embededsystemfinal1-170130182030 (1).ppt
kimavathmukeshnaik
 
Embedded systems- nanocdac
Embedded systems- nanocdacEmbedded systems- nanocdac
Embedded systems- nanocdac
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?
Optima Control Solutions
 
embedded systems
embedded systemsembedded systems
embedded systems
Shanmuga Vadivu
 
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
RMayo22
 
Ppt on embedded system
Ppt on embedded systemPpt on embedded system
Ppt on embedded system
Pankaj joshi
 

Similar to 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
 
embededsystemfinal1-170130182030 (1).ppt
embededsystemfinal1-170130182030 (1).pptembededsystemfinal1-170130182030 (1).ppt
embededsystemfinal1-170130182030 (1).ppt
 
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
 

More from João Moreira

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

More from 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
 

Recently uploaded

Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Pitangent Analytics & Technology Solutions Pvt. Ltd
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Precisely
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Neo4j
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
Fwdays
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Alex Pruden
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
Edge AI and Vision Alliance
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
c5vrf27qcz
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 

Recently uploaded (20)

Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 

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!