Unit 01 (2nd Part)
Unit 01 (2nd Part)
Embedded systems are being designed on a single silicon chip called SoC. SoC is a system on a
VLSI chip that has all necessary analog and digital circuits, processors and software.
VLSI chip
2
System on chip (SoC) a new design innovation
3
New Innovation Example – Mobile Phone on a SoC
SYSTEM-ON-CHIP
SoC may be Embedded with the following:
• Embedded processor GPP or ASIP core.
• Single purpose processing or multiple processors.
• Memories,
• Multiple standard source solutions (IP Cores),
9
FPGA Core
• Suppose an embedded system is designed with a
view of enhancing functionalities in future. An FPGA
core is then used in the circuits.
1
3
Embedding an ASIP
1
4
Embedding a Microcontroller core
• 68HC11xx,
• HC12xx,
• HC16xx8051,
• 80251 PIC 16F84 or
• 16C76, 16F876 and PIC18Microcontroller
• Enhancements of ARM9/ARM7 ARM Cortex M3
from Philips, Samsung and ST Microelectronics
1
5
Embedding a DSP Core
1
7
Embedding an Accelerator
1
8
Embedding Single purpose processors
2
1
Abstraction
• Each problem component first abstracted.
• For example, Display picture and text as an abstract class
• Robotic system problem abstraction in terms of control of
motors in different degrees of freedoms.
• Application software abstracted as concurrently running
multiple threads and interrupt service threads
2
2
Program Model
• Procedure Oriented
• Objected Oriented
• Sequential processes
• Concurrent processes
• State machine
2
3
Object oriented Model
• Classes
• Objects
• Interfaces
• Package
2
4
Hardware and Software architecture
2
5
Extra functional Properties
2
6
System Related Family designs
2
7
Modular Design
3
2
Interface design validation
• Customer validation
• For example, the customer must validate message’s
language, screen logo, screen icons and background color,
wall paper, menus and dialogs before an interface design
can proceed to the implementation stage
3
3
Refinements
3
4
A software design may require use of Architecture Description
Language(ADL). It is used for representing the following- Control
Hierarchy ; Structural Partitioning; Data Structure and Hierarchy and;
Software procedures.
Shows the activities for Software design cycle during an embedded system development process
Design Metrics in Embedded systems
A design process considers design metrics. There are several design metrics for an embedded systems
3
7
Design Metrics
• Power Dissipation
• Performance
• Process Deadlines
• User Interfaces
• Size
• Engineering cost
• Manufacturing cost
3
8
Design Metrics (Contd.)
• Flexibility
• Prototype development Time
• Time-to- market System and
• User safety Maintenance
3
9
Abstraction of Design Process Steps
4
0
Five levels of abstraction from top level to
bottom level in the design process
• Requirements
• Specifications
• Architecture
• Components
• System Integration 4
1
Requirements
Complete clarity of
•required purpose,
•inputs,
•outputs,
•functioning,
•design metrics and
•Validation requirements for finally developed
systems specifications.
•Consistency in the requirements 4
2
Specifications
Clear specifications of
Customer expectations from the product. Needs
specifications for
•hardware, for example, peripherals, devices
processor and memory specifications
•data types and processing specifications
4
3
Needed specifications
44
Architecture
•data flow graphs
•program models
•hardware architecture
•interfaces design
•system integration
4
5
Software architectural layers
• How the different elements – data structures, databases, algorithms, control
functions, state transition functions, process, data and program flow are to
be organized
• What shall be design of data structures and databases that would be most
appropriate for the given problem? Whether data organised as a tree- like
structure will be appropriate? What will be the design of the components in
the data?
4
6
Hardware Components
• Processor, ASIP and single purpose processors in the
system
• Memory RAM, ROM or internal and external flash or
secondary memory in the system
• Peripherals and devices internal and external to the
system
• Ports and buses in the system
• Power source or battery in the system
4
7
Challenges in Embedded Computing System Design:
• How much hardware do we need?
• How do we meet deadlines?
• How do we minimize power consumption?
• How do we design for upgradability?
• Does it really work?
• Complex testing
• Limited observability and controllability
• Restricted development environment
Requirement Forms
• Name :
• Purpose:
• Inputs :
• Outputs :
• Functions :
• Performance:
• Power:
• Physical size and weight:
Design process examples
• Case study of an embedded system for Smart Card.
• Case study of an embedded system for ATM.
• Case study of an embedded system for Digital Camera.
• Case study of an embedded system for Home Security.
• Case study of an embedded system for GPS module.