48868330 Modified New Embedded Systems

Embed Size (px)

Citation preview

  • 7/28/2019 48868330 Modified New Embedded Systems

    1/36

    Embedded System In Industrial ViewEmbedded System In Industrial View

    Accel IT Academy, Chennai.Accel IT Academy, Chennai.

  • 7/28/2019 48868330 Modified New Embedded Systems

    2/36

    AgendaAgenda

    Embedded SystemsEmbedded Systems

    Domains of Embedded SystemsDomains of Embedded Systems

    Building Blocks of Embedded Systems through an applicationBuilding Blocks of Embedded Systems through an application

  • 7/28/2019 48868330 Modified New Embedded Systems

    3/36

    Embedded SystemsEmbedded Systems

  • 7/28/2019 48868330 Modified New Embedded Systems

    4/36

    What is an Embedded System?What is an Embedded System?

    ItIt isis thethe combinationcombination ofof hardwarehardware andand softwaresoftware forfor somesome controlcontrol

    specificspecific applicationapplication

    FormsForms aa componentcomponent ofof aa largerlarger systemsystem

    ExpectedExpected toto functionfunction withwith minimalminimal humanhuman interventionintervention

    IsIs aa realreal timetime systemsystem

  • 7/28/2019 48868330 Modified New Embedded Systems

    5/36

    Do we need Embedded Systems?Do we need Embedded Systems?

    The world needs SYSTEMSThe world needs SYSTEMS

    PredictabilityPredictability -- Should respond in a predictable way to unpredictableShould respond in a predictable way to unpredictablesituationssituations

    Fault TolerantFault Tolerant -- Should continue operations despite the presence ofShould continue operations despite the presence ofhardware and/or software faultshardware and/or software faults

    SafetySafety -- Should avoid physical or economic damage to person &Should avoid physical or economic damage to person &propertyproperty

  • 7/28/2019 48868330 Modified New Embedded Systems

    6/36

    Embedded SystemsEmbedded Systems --

    Building BlocksBuilding Blocks

    Micro Processors / Micro Controllers.Micro Processors / Micro Controllers.

    Advance C / Embedded C / Assembly Programming.Advance C / Embedded C / Assembly Programming.

    Bus Standards.Bus Standards.

    PCB Design.PCB Design.

    RTOS.RTOS.

    Networking.Networking.

    Device Drivers.Device Drivers.

  • 7/28/2019 48868330 Modified New Embedded Systems

    7/36

    Micro Processors / Micro Controllers.Micro Processors / Micro Controllers.

    A microprocessor is a general purpose central processing unit ofA microprocessor is a general purpose central processing unit ofa digital computera digital computer

    A chip on a computerA chip on a computer

    E.G. Intel 8086, Intel 80186 , etcE.G. Intel 8086, Intel 80186 , etc

    A micro controller is a true computer on a chipA micro controller is a true computer on a chip

    A computer on a chip.A computer on a chip.

    E.G intel 8051, PIC 16F873E.G intel 8051, PIC 16F873

  • 7/28/2019 48868330 Modified New Embedded Systems

    8/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    9/36

    Micro Processor versus Micro ControllerMicro Processor versus Micro Controller

    MicroprocessorMicroprocessor

    general purpose CPUgeneral purpose CPU

    a chip in a computera chip in a computer

    Are built on Von Neumann architecture.Are built on Von Neumann architecture. e.g. Intel x86/ Motorola 680x0 familiese.g. Intel x86/ Motorola 680x0 families

    MicroMicro--ControllerController

    true computer on a chip.true computer on a chip.

    Are built on Harvard architecture.Are built on Harvard architecture.

    e.g. Intel 8051, 80196/ Motorola 68HCxx familiese.g. Intel 8051, 80196/ Motorola 68HCxx families

  • 7/28/2019 48868330 Modified New Embedded Systems

    10/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    11/36

    Advance C / Embedded C / Assembly Programming.Advance C / Embedded C / Assembly Programming.

  • 7/28/2019 48868330 Modified New Embedded Systems

    12/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    13/36

    Assembly language programmingAssembly language programming

    AdvantageAdvantage

    Assembly Language programming is the efficient programmingAssembly Language programming is the efficient programming

    language for accessing the hardware.language for accessing the hardware.

    The assembly language op codes directly work on the targetThe assembly language op codes directly work on the target

    machine so it is faster in operationmachine so it is faster in operation

    DisadvantageDisadvantage

    Tough to understand and Program.Tough to understand and Program.

  • 7/28/2019 48868330 Modified New Embedded Systems

    14/36

    Advance CAdvance C

    Ways of accessing the hardware through CWays of accessing the hardware through C

    Using runtime library functions, getch( ).Using runtime library functions, getch( ).

    Using ROMUsing ROM--BIOS functions.BIOS functions.

    Using DOS functions.Using DOS functions.

    Directly programming the hardwareDirectly programming the hardware

  • 7/28/2019 48868330 Modified New Embedded Systems

    15/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    16/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    17/36

    Embedded CEmbedded C

    Why Embedded C ?Why Embedded C ?

    Easy control of multilevel functionsEasy control of multilevel functions

    ModularityModularity

    Easy maintenanceEasy maintenance

    Reusable codesReusable codes

    PortablePortable

    Minimal hardware knowledge requiredMinimal hardware knowledge required

  • 7/28/2019 48868330 Modified New Embedded Systems

    18/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    19/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    20/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    21/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    22/36

    Real Time SystemsReal Time Systems -- TypesTypes

    Hard real timeHard real time -- Systems with Hard DeadlinesSystems with Hard Deadlines

    no Critical Deadlines can be missedno Critical Deadlines can be missed

    E.g. Control Systems of Aircraft,Atomic ReactorsE.g. Control Systems of Aircraft,Atomic Reactors

    Soft real timeSoft real time -- Timing Constraints a little tolerableTiming Constraints a little tolerable

    occasional misses are permittedoccasional misses are permitted

    the average response time for an event should be within athe average response time for an event should be within a

    specified timespecified time

    E.g.Weather Monitors, Vending MachinesE.g.Weather Monitors, Vending Machines

  • 7/28/2019 48868330 Modified New Embedded Systems

    23/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    24/36

    QQC/OSC/OS--IIII

    High performanceHigh performance

    DeterministicDeterministic

    ROMableROMable

    ScalableScalable

    Portable to different processorsPortable to different processors

    Low costLow cost

  • 7/28/2019 48868330 Modified New Embedded Systems

    25/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    26/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    27/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    28/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    29/36

    A quick look at TCP/IP NetworkingA quick look at TCP/IP Networking

    Internetlayer

    Network

    Application

    Applicationlayer

    Transportlayer TCP UDP

    IP ARPRARP

    NetworkAccess layer

    Token ringEthernet

    Physical network

    either ?

    Internetlayer

  • 7/28/2019 48868330 Modified New Embedded Systems

    30/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    31/36

    DEVICE DRIVERSDEVICE DRIVERS

  • 7/28/2019 48868330 Modified New Embedded Systems

    32/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    33/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    34/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    35/36

  • 7/28/2019 48868330 Modified New Embedded Systems

    36/36