Basicsofembeddedsytsems 110519071747-phpapp02

39
An Insight into Embedded system Design A market analysis

Transcript of Basicsofembeddedsytsems 110519071747-phpapp02

Page 1: Basicsofembeddedsytsems 110519071747-phpapp02

An Insight into Embedded system

Design

A market analysis

Page 2: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Outline

Introduction Application Areas ESD Development Cycle Fundamentals of Microcontroller Choosing a Microcontroller Conclusion Questions?

© 2008 Pantech Solutions™ | All rights reserved

Page 3: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Intelligent Systems

• What is Embedded System in General?

It is a combination of Computer Hardware, Software and perhaps additional Mechanical Parts, designed to perform a Specific Function.

• Gadgets are increasingly becoming Intelligent and Autonomous.

• The Intelligence of these Smart Devices resides in Embedded Systems.

Page 4: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Desktop Vs Embedded System

• In contrast to Desktops that performs a Variety of Tasks, an Embedded System performs a Single, Well-Defined Task.

• The System has a Processor, Associated Peripherals, and Software for a Specific Purpose.

• For example, in a Mobile Phone the Embedded Processor needs to Process Voice (to Send and Receive Speech Signals) as well as implement Communication Protocols.

• The Hardware is Custom Built for the Specific Purpose.

Page 5: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Outline

Introduction Application Areas ESD Development Cycle Fundamentals of Microcontroller Choosing a Microcontroller Conclusion Questions?

© 2008 Pantech Solutions™ | All rights reserved

Page 6: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Network InfrastructureDigital Consumer

Aerospace & DefenseIndustrial

Automotive

ReliabilityReliability

Development ToolsDevelopment Tools

Core OSCore OS

MiddlewareMiddleware

CommunicationsCommunications

SecuritySecurity

ManagementManagement

ServicesServices

5 Key Markets

© 2008 Pantech Solutions™ | All rights reserved

Page 7: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Generalization of Application Areas

Embedded Systems cover such a broad range of products that generalization is difficult. Here are some broad categories: Aerospace and Defense Electronics Automotive Broadcast and Entertainment Consumer and Internet Appliances Data Communication Digital Imaging Industrial Measurement and Control Telecommunications Mobile Data Infrastructures etc.

© 2008 Pantech Solutions™ | All rights reserved

Page 8: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Digital Consumer Markets

Broadband Access Cable, xDSL modems, Home Gateways Home Media Servers

Interactive Digital TV Cable, Satellite and Terrestrial STBs HDTVs

Digital Imaging Digital Cameras, Printers, MFPs, Scanners, Fax

Mobile & Handheld Mobile phones PDAs

Digital Audio/Video Web-Tablets Screen phones

© 2008 Pantech Solutions™ | All rights reserved

Page 9: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Apple Airport II

with iMac

Sharp NC20Internet Screen Phone

Sony AirBoard IDT-LF1 Wireless

Internet TV

CMI Digital IceBoxKitchen Appliance

Polaroid CeivaInternet Picture Frame

Toshiba SD-9200DVD Player

Fuji Film FinePix 40iDigital Camera

Compaq iPaq Music Center

Digital Jukebox

Sony NW-E3Network Walkman

Media Server Gateway

B&O HDTV

In The Connected Home

© 2008 Pantech Solutions™ | All rights reserved

Page 10: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Industrial Market and Applications

Industrial Automation Motion Control

Semiconductor Manufacturing Robotics

Process Control Chemical Steel production Waste & water Paper & pulp

Building Automation Environmental controls Security

© 2008 Pantech Solutions™ | All rights reserved

Power Control Generation Power Distribution Load Balancing Demand regulation

Medical Systems Radiation MRI Ultrasound

Instrumentation Smart transducers Recorders Oscilloscopes

Page 11: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Market Trends

• Emissions Regulations • Safety • Fuel Economy• Assembly Costs • Connectivity • Personalization (smart cards)

© 2008 Pantech Solutions™ | All rights reserved

Page 12: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Automotive Electronics

Infotainment• Radio• CD• DVD• Navigation• Toll payment• Satellite radio• Telematic transceiver

© 2008 Pantech Solutions™ | All rights reserved

Consumer Devices• Cell phone/pager• PDA• Headset• MP3• Cameras• Laptop• Games

Under the Hood• Engine• Transmission• ABS, VSC, TC• Airbags• Cruise control• HVAC• Security and entry

Connectivity• Radio• GPS• Satellite• Electronic tolls• Cellular (2G,2.5G,3G)• Transponders (to the

roadside & home)

Page 13: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Market Structure

© 2008 Pantech Solutions™ | All rights reserved

Service Providers• OnStar• Wingcast• TeleAid• Targa• Vodofone• DoCoMo

Tier-1 Auto Suppliers• Delphi, Bosch, Visteon,

Denso, Siemens, Becker,…

Consumer Product Co’s• Sony, Pioneer, Alpine,

Clarion, Thales,…

Suppliers

Vehicle OEM’s• GM, Ford, Daimler,

BMW, Toyota,…

Satellite Radio• XM Radio• Sirius

Page 14: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Fiat Research Center

Fiat CRF Sysnet: Driver and passenger multimedia services

© 2008 Pantech Solutions™ | All rights reserved

Page 15: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Example Application: Fuel Cell Engine Controller

Company: XCellsis Fuel Cell Engines Application: Fuel Cell Engine Controller (heavy-duty transit bus) Description: Fuel cell engine controller regulates power output from

hydrogen fuel cells to drive train for a heavy-duty bus application.

Target CPU: MPC555 Memory:

26KB RAM (internal) 448 KB flash (internal)

Devices Used: Timer CAN bus QADC (A/D) QSPI (on-board serial) SCI (RS232) TPU MIOS

© 2008 Pantech Solutions™ | All rights reserved

Page 16: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Aerospace and DefenseEverything is Getting Connected

© 2008 Pantech Solutions™ | All rights reserved

Page 17: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Increased Software Complexity

1980 1990 1996 1999

Browser/GUI

Java

Advanced Interconnect

Advanced Networking

High Availability

Memory Management

Multiprocessing

File System

Network

Kernel

Browser/GUI

Java

Advanced Interconnect

Advanced Networking

High Availability

Memory Management

Multiprocessing

File System

Network

Kernel

X Windows

WindNet

Memory Management

Multiprocessing

File System

Network

Kernel

X Windows

WindNet

Memory Management

Multiprocessing

File System

Network

Kernel

File System

Network

Kernel

File System

Network

KernelKernelKernel

Application and Kernel100 000 lines of code

Application and Kernel1 000 000+ lines of code

© 2008 Pantech Solutions™ | All rights reserved

Page 18: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

The Top Architectures

© 2008 Pantech Solutions™ | All rights reserved

Page 19: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Outline

Introduction Application Areas ESD Development Cycle Fundamentals of Microcontroller Choosing a Microcontroller Conclusion Questions?

© 2008 Pantech Solutions™ | All rights reserved

Page 20: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

SW DEVELOPMENT

HW DEVELOPMENT

SW SELECTION

HW SELECTION

INTEGRATION TESTING & TUNING DEPLOYMENT

Compiler RTOSs

Networking Protocols Java

Support

Graphics Support Project

& Code Mgmt.

RTOS

Simulation

Rapid Prototyping

Real-time Data

Visualization

Memory Leak

DetectionCPU

Profiling

Post-mortem Debug

Semiconductor Co-funded

Development Hardware Coverage

Board Bring-Up

Board Diagnostics & Manufacturing

Test

Source-level

Debugging

Real-time System

Analysis & Triggering

Execution Tracing Code

Coverage Analysis

In-field Debugging

The embedded development

© 2008 Pantech Solutions™ | All rights reserved

Page 21: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Outline

Introduction Application Areas ESD Development Cycle Fundamentals of Microcontroller Choosing a Microcontroller Conclusion Questions?

© 2008 Pantech Solutions™ | All rights reserved

Page 22: Basicsofembeddedsytsems 110519071747-phpapp02

Choosing a Microcontroller

© 2008 Pantech Solutions™ | All rights reserved

Page 23: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Growth of 32-bit market

© 2008 Pantech Solutions™ | All rights reserved | www.panetchsolutions.net

Page 24: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Basics of Designing a system

Market Analyzes Market Needs/Drivers & Develops New Product specification

Environment sensors, Motors, LCD Display, Keypad, etc

Engineering Determines what functions required of microcontroller to meet specification

Engineering Team searches for MCU & other system components that will deliver End System to specification.

© 2008 Pantech Solutions™ | All rights reserved

Page 25: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Choosing a Microcontroller

Up-Front System DesignSpreadsheetsFeature requirementsTool requirementsEvaluation Boards

 Hardware Vs Software Complexity of MCU

© 2008 Pantech Solutions™ | All rights reserved

Page 26: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Choosing a Microcontroller: Parametric Aspects

Features / On-chip Peripherals ADC DAC Analog Comparator PWM LCD Control Timers JTAG I/Os

© 2008 Pantech Solutions™ | All rights reserved

Communication Interface SPI CAN UART USB others

PackageSizePins

Page 27: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Choosing a Microcontroller : Parametric Aspects

Power Sleep Modes Voltage Current

Speed Clock Frequency Critical Instructions Interrupt Latency

Reliability Application Demands

Memory Size Type

© 2008 Pantech Solutions™ | All rights reserved

Page 28: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Choosing a Microcontroller : Other Aspects

Familiarity

-Personal Experience

-Senior Engineer Price

-Device

-Volume

-Software Tools IDE, Debugger Compiler OS

Available Kits

-Evaluation

-Development

-Reference Design

© 2008 Pantech Solutions™ | All rights reserved

Page 29: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Choosing a Microcontroller : Other Aspects

Support Documentation

White papers Reference Designs Example code, User Guide Errata sheet

Apps Engineers Response Times

Community Portability / Scalability

© 2008 Pantech Solutions™ | All rights reserved

Page 30: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Selection of Processors

MICROPROCESSORS/MICROCONTROLLERS

DSP

CPLD/FPGAGENERAL PURPOSEPROCESSORS

© 2008 Pantech Solutions™ | All rights reserved

Page 31: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Selection of Packages

DIP QFP

BGAPLCC

SOLDERINGIRON

SOLDERING

STATION

OVEN

© 2008 Pantech Solutions™ | All rights reserved

Page 32: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Hardware design flow

© 2008 Pantech Solutions™ | All rights reserved

Page 33: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Evaluation

Emulation

© 2008 Pantech Solutions™ | All rights reserved

Software Design FlowSimulation

Page 34: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

I/O : Serial Interfaces

Allow communication with other devices USB(Universal Serial Bus) CAN(Controller Area Network) SPI(Serial Peripheral Interface) I2C(Inter Integrated Circuit) UART(Universal Asynchronous Receiver/Transmitter) LIN(Local Interconnect Network) Ethernet Also wireless interfaces Zigbee Bluetooth

© 2008 Pantech Solutions™ | All rights reserved

Page 35: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

On-Chip Peripherals

Timer LCD Controller Touchscreen Controller Keypad Controller GPIO pins A/D Converter D/A Converter Analog Comparator Pulse Width Modulator(PWM)

© 2008 Pantech Solutions™ | All rights reserved

Page 36: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Licensed Cores

8051 (MCS-51) -NXP, Atmel, Silicon Labs, Dallas/Maxim,

Infineon, ST, Rabbit, and others ARM

-NXP, ST, Luminary Micro, Freescale, Atmel, Samsung, Texas Instruments, OKI, Energy Micro, and others

MIPSMicrochip

© 2008 Pantech Solutions™ | All rights reserved

Page 37: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

Broad Range Vendors

Renesas Freescale Infineon Texas Instruments ST Microelectronics NEC Microchip Atmel Fujitsu Samsung NXP Toshiba

© 2008 Pantech Solutions™ | All rights reserved

Luminary Micro Cyan Maxim/Dallas Cypress Energy Micro Analog Devices Jennic Zilog Silicon Labs Rabbit

……and many more

Page 38: Basicsofembeddedsytsems 110519071747-phpapp02

© 2008 Pantech Solutions™ | All rights reserved | www.panetchsolutions.net

Page 39: Basicsofembeddedsytsems 110519071747-phpapp02

www.pantechsolutions.net

© 2008 Pantech Solutions™ | All rights reserved