SlideShare a Scribd company logo
1 of 37
Download to read offline
EMBEDDED AND REAL
   TIME SYSTEMS


              INTRODUCTION TO
1/29/2012   EMBEDDED COMPUTING
UNIT-1




             INTRODUCTION TO
            EMBEDDED COMPUTING


                INTRODUCTION TO EMBEDDED
1/29/2012              COMPUTING
COMPLEX SYSTEMS AND
MICROPROCESSORS

What is an embedded computer system?
 It is any device that includes a programmable
 computer but is not itself intended to be a general-
 purpose computer.
 Thus a PC is not itself an embedded computing
   h       Ci       i lf        b dd d         i
 ystem,although PCs are often used to build
 embedded computing systems
                         systems.
 But a fax machine or a clock built from a
 microprocessor is an embedded computing system.
                                              system
                  INTRODUCTION TO EMBEDDED
1/29/2012                COMPUTING
Embedding Computers
    Whirlwind, a computer designed at MIT in the late 1940s and early
    1950s.
    microprocessor is a single-chip CPU in 1970’s but it is very simple.
    first microprocessor, the Intel 4004,was designed for an embedded
    application,namely, a calculator.




                         INTRODUCTION TO EMBEDDED
1/29/2012                       COMPUTING
Characteristics of Embedded
Computing Applications
C     ti   A li ti

    Complex algorithms
    User interface
    Real time
    Multirate
    Manufacturing cost
    Power and energy

               INTRODUCTION TO EMBEDDED
1/29/2012             COMPUTING
Why Use Microprocessors?

    Microprocessors are a very efficient way
    to implement digital systems.
    Microprocessors has new features to keep
    up with rapidly changing markets
     p        p y        g g




                INTRODUCTION TO EMBEDDED
1/29/2012              COMPUTING
Challenges in Embedded
Computing S t
C      ti  System D i
                  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?



               INTRODUCTION TO EMBEDDED
1/29/2012             COMPUTING
DEADLINE

    Deadline is to speed up the hardware so thatthe
    program runs faster.
    Of course, that makes the system more
    expensive.
    It i alsoentirely possible that increasing the
       is l    ti l       ibl th t i       i th
    CPU clock ratemay notmake enough
    differenceto execution time since the program’s
                            time,since      program s
    speedmay be limited by thememory system

                   INTRODUCTION TO EMBEDDED
1/29/2012                 COMPUTING
1.2 THE EMBEDDED SYSTEM
DESIGN PROCESS

    Embedded System Design Process aimed
    at two objectives.
    First-various steps in Embedded System
        g
    design.
    Second- Design methodology.



               INTRODUCTION TO EMBEDDED
1/29/2012             COMPUTING
EMBEDDED SYSTEM
DESIGN PROCESS




            INTRODUCTION TO EMBEDDED
1/29/2012          COMPUTING
Requirements

TWO PHASES:
   Informal description from the customers.
                  p
   Refine the requirements into a
  specification.
  specification
Performance
Cost
C t
Physical size and weight
              INTRODUCTION TO EMBEDDED
1/29/2012            COMPUTING
Specification

    The specification is more precise—it serves as the
    contract between the customerand the architects.
    As such, the specification must be carefully written
    so that itaccurately reflects the customer’s
    requirements and does so in a way that can beclearly
    followed during design.




                    INTRODUCTION TO EMBEDDED
1/29/2012                  COMPUTING
Architecture Design




            INTRODUCTION TO EMBEDDED
1/29/2012          COMPUTING
Hardware




            INTRODUCTION TO EMBEDDED
1/29/2012          COMPUTING
Software




            INTRODUCTION TO EMBEDDED
1/29/2012          COMPUTING
Designing Hardware and
Software Components

    You will have to design some components yourself.
    Even if you are using only standard integrated circuits,
    you may have to design the printed circuit board
    thatconnects them.You will probably have to do a lot of
    custom programming as well.
    When creating these embedded software modules, you
    must of course make use of your expertise to ensure
    that the system runs properly in real time and that it
    does not take up more memory space than is allowed


                     INTRODUCTION TO EMBEDDED
1/29/2012                   COMPUTING
System Integration

    System integration is difficult because it usually
    uncovers problems.
    It is oftenhard to observe the system in sufficient detail
    to determine exactly what is wrong the debugging
    facilities for embedded systems




                     INTRODUCTION TO EMBEDDED
1/29/2012                   COMPUTING
MODEL TRAIN CONTROLLER

 In order to learn how to use UML to model
 systems

PURPOSES OF EXAMPLE:

 Follow a design through several levels of
 abstraction.
 Gain experience with UML.
                  INTRODUCTION TO EMBEDDED
  1/29/2012              COMPUTING
Model train setup

                                          rcvr     motor



                                      power
                                      supply
                                          l
                     console



            header     address       command           ECC
                        INTRODUCTION TO EMBEDDED
1/29/2012                      COMPUTING
Requirements

    Console can control 8 trains on 1 track.
    Throttle has at least 63 levels.
    Inertia control adjusts responsiveness
    with at least 8 levels
                    levels.
    Emergency stop button.
    Error d t ti scheme on messages.
    E     detection h


                 INTRODUCTION TO EMBEDDED
1/29/2012               COMPUTING
Requirements into our
chart format
            name               model train controller
            purpose            control speed of <= 8 model trains
            inputs             throttle, inertia, emergency stop,
                               train #
            outputs            train control signals
            functions          set engine speed w. inertia;
                               emergency stop
            performance        can update train speed at least 10
                               times/sec
            manufacturing cost $50
            power              wall powered
            physical           console comfortable for 2 hands; < 2
            size/weight        lbs.


                           INTRODUCTION TO EMBEDDED
1/29/2012                         COMPUTING
Basic system commands




            INTRODUCTION TO EMBEDDED
1/29/2012          COMPUTING
Console physical object
classes
knobs*                       pulser*
train-knob: integer          pulse-width: unsigned-
speed-knob:
speed knob: integer                         integer
                                            i
inertia-knob: unsigned-      direction: boolean
                integer
emergency-stop: b l
                  boolean
mouse_click()                sender*            detector*
draw_box
draw box
                             send-bit()         read-bit() : integer


                     INTRODUCTION TO EMBEDDED
1/29/2012                   COMPUTING
Panel and motor interface
classes

    panel                              motor-interface

                                       speed: integer
    train-number() : integer
    speed() : integer
    inertia() : integer
    i    i () i
    estop() : boolean
    new-settings()
                 g ()




                       INTRODUCTION TO EMBEDDED
1/29/2012                     COMPUTING
Class descriptions

    panel class defines the controls.
            new-settings() behavior reads the controls.
    motor-interface class defines the motor
    speed held as state.




                       INTRODUCTION TO EMBEDDED
1/29/2012                     COMPUTING
Transmitter and receiver
classes

    transmitter                       receiver
                                      current: command
    send-speed(adrs: integer,         new: boolean
      speed: integer)
    send-inertia(adrs: integer,
        di      i ( d i               read-cmd()
                                      read cmd()
      val: integer)                   new-cmd() : boolean
    set-estop(adrs: integer)
             p(         g )           rcv-type(msg-type:
                                                command) d)
                                      rcv-speed(val: integer)
                                                 (        g )
                                      rcv-inertia(val:integer)
                       INTRODUCTION TO EMBEDDED
1/29/2012                     COMPUTING
Class descriptions

    transmitter class has one behavior for
    each type of message sent.
    receiver function provides methods to:
        detect a new message;
        determine its type;
        read its parameters (estop has no
        parameters).

                   INTRODUCTION TO EMBEDDED
1/29/2012                 COMPUTING
Formatter class

            formatter
            current train:
            current-train: integer
            current-speed[ntrains]: integer
            current-inertia[ntrains]:
              unsigned-integer
                 i di t
            current-estop[ntrains]: boolean
            send-command()
            send command()
            panel-active() : boolean
            operate()

                 INTRODUCTION TO EMBEDDED
1/29/2012               COMPUTING
Formatter class
description

    Formatter class holds state for each train,
    setting for current train.
    The operate() operation performs the
    basic formatting task.
                    g




                 INTRODUCTION TO EMBEDDED
1/29/2012               COMPUTING
Control input cases

    Use a soft panel to show current panel
    settings for each train.
    Changing train number:
         must change soft panel settings to reflect
        current train’s speed, etc.
    Controlling throttle/inertia/estop:
         read panel, check for changes, perform
        command.
                    INTRODUCTION TO EMBEDDED
1/29/2012                  COMPUTING
Control input sequence
 diagram
                                :knobs
                                 k b           :panel
                                                    l         :formatter
                                                               f    tt       :transmitter
                                                                              t      itt
                                     change in       read panel
                        peed/




                                     control                            panel-active
                         op
                ertia/esto
  change in chan in sp




                                     settings      panel settings       send-command
                                                     read panel
                                                                                     send-speed,
                nge
          ber ine




                                                   panel settings                    send-inertia.
                                                                                         di    i
                                                    read panel                       send-estop
                                     change in
                                           g
          n
tra numb




                                     train         panel settings
                                     number         new-settings
  ain
  c




                                    set-knobs
                                                INTRODUCTION TO EMBEDDED
  1/29/2012                                            COMPUTING
Formatter operate
behavior

                                           update-panel()

               panel-active()           new train number
        idle
                                          send-command()
                                other




                      INTRODUCTION TO EMBEDDED
1/29/2012                    COMPUTING
Panel-active
Panel active behavior


                                     T     current-train = train-knob
   panel*:read-train()
       l* d i ()                                 update-screen
                                                changed = true
                                 F

                                     T
  panel :read speed()
  panel*:read-speed()                       current-speed = throttle
                                                changed = true
                                 F
                         ...                         ...
                          INTRODUCTION TO EMBEDDED
1/29/2012                        COMPUTING
Controller class

            controller
            current train:
            current-train: integer
            current-speed[ntrains]: integer
            current-direction[ntrains]: boolean
            current-inertia[ntrains]:
                  t i ti [ t i ]
              unsigned-integer

            operate()
            issue-command()

                   INTRODUCTION TO EMBEDDED
1/29/2012                 COMPUTING
Setting the speed

    Don’t want to change speed
    instantaneously.
    Controller should change speed gradually
    by sending several commands.
      y       g




                INTRODUCTION TO EMBEDDED
1/29/2012              COMPUTING
Sequence diagram for set-
speed command
       :receiver
            i       :controller
                        t ll      :motor-interface
                                     t i t f             :pulser*
                                                            l *
               new-cmd
              cmd-type
              rcv-speed      set-speed       set-pulse
                                             set pulse
                                             set-pulse
                                             set-pulse

                                             set-pulse
                                                   l

                                             set-pulse

                       INTRODUCTION TO EMBEDDED
1/29/2012                     COMPUTING
Refined command classes
                    command
                    type: 3-bits
                    address: 3-bits
                    parity: 1-bit


  set-speed         set-inertia              estop
  type=010          type=001
                                             type=000
  value: 7-bits     value: 3-bits


                  INTRODUCTION TO EMBEDDED
1/29/2012                COMPUTING

More Related Content

Viewers also liked

Structure of labor force and demographic change
Structure of labor force and demographic changeStructure of labor force and demographic change
Structure of labor force and demographic changenidhi jain
 
Industrial Relation
Industrial RelationIndustrial Relation
Industrial RelationShiji John
 
Proposal Training, Pelatihan, Privat, Seminar, Talkshow, Narasumber, Event, K...
Proposal Training, Pelatihan, Privat, Seminar, Talkshow, Narasumber, Event, K...Proposal Training, Pelatihan, Privat, Seminar, Talkshow, Narasumber, Event, K...
Proposal Training, Pelatihan, Privat, Seminar, Talkshow, Narasumber, Event, K...Psiko Mentalist
 
Labour welfare
Labour welfareLabour welfare
Labour welfareRuhi Beri
 
Labor laws, industrial relations & industrial disputes
Labor laws, industrial relations & industrial disputesLabor laws, industrial relations & industrial disputes
Labor laws, industrial relations & industrial disputesParas Dhingra
 
Labour welfare
Labour welfareLabour welfare
Labour welfareParul Garg
 
Workforce Analysis Presentation
Workforce Analysis PresentationWorkforce Analysis Presentation
Workforce Analysis PresentationJulie Lee
 
Labour welfare power point presentation
Labour welfare  power point presentationLabour welfare  power point presentation
Labour welfare power point presentationVinay Rai
 
Industrial relations
Industrial relations Industrial relations
Industrial relations Geeno George
 
workforce diversity
workforce diversityworkforce diversity
workforce diversitykumudu737sjp
 
Differences between Human Resources and Human Capital
Differences between Human Resources and Human CapitalDifferences between Human Resources and Human Capital
Differences between Human Resources and Human CapitalXavier BARILLER
 
MANPOWER - SKILLED LABOR FORCE PROVIDING
MANPOWER - SKILLED LABOR FORCE PROVIDINGMANPOWER - SKILLED LABOR FORCE PROVIDING
MANPOWER - SKILLED LABOR FORCE PROVIDINGBerr Industry
 

Viewers also liked (19)

Structure of labor force and demographic change
Structure of labor force and demographic changeStructure of labor force and demographic change
Structure of labor force and demographic change
 
The Labour Force
The Labour ForceThe Labour Force
The Labour Force
 
Quality and human_resources
Quality and human_resourcesQuality and human_resources
Quality and human_resources
 
Industrial Relation
Industrial RelationIndustrial Relation
Industrial Relation
 
Proposal Training, Pelatihan, Privat, Seminar, Talkshow, Narasumber, Event, K...
Proposal Training, Pelatihan, Privat, Seminar, Talkshow, Narasumber, Event, K...Proposal Training, Pelatihan, Privat, Seminar, Talkshow, Narasumber, Event, K...
Proposal Training, Pelatihan, Privat, Seminar, Talkshow, Narasumber, Event, K...
 
Labor & Constitution
Labor & ConstitutionLabor & Constitution
Labor & Constitution
 
Labour welfare
Labour welfareLabour welfare
Labour welfare
 
Workforce Planning
Workforce PlanningWorkforce Planning
Workforce Planning
 
Labor laws, industrial relations & industrial disputes
Labor laws, industrial relations & industrial disputesLabor laws, industrial relations & industrial disputes
Labor laws, industrial relations & industrial disputes
 
Labour welfare
Labour welfareLabour welfare
Labour welfare
 
Labour laws in India- ppt
Labour laws in India-  pptLabour laws in India-  ppt
Labour laws in India- ppt
 
Workforce Analysis Presentation
Workforce Analysis PresentationWorkforce Analysis Presentation
Workforce Analysis Presentation
 
Labour welfare power point presentation
Labour welfare  power point presentationLabour welfare  power point presentation
Labour welfare power point presentation
 
PPT on "Labour Laws in India"
PPT on "Labour Laws in India"PPT on "Labour Laws in India"
PPT on "Labour Laws in India"
 
Industrial relations
Industrial relations Industrial relations
Industrial relations
 
workforce diversity
workforce diversityworkforce diversity
workforce diversity
 
Differences between Human Resources and Human Capital
Differences between Human Resources and Human CapitalDifferences between Human Resources and Human Capital
Differences between Human Resources and Human Capital
 
MANPOWER - SKILLED LABOR FORCE PROVIDING
MANPOWER - SKILLED LABOR FORCE PROVIDINGMANPOWER - SKILLED LABOR FORCE PROVIDING
MANPOWER - SKILLED LABOR FORCE PROVIDING
 
Trade union
Trade unionTrade union
Trade union
 

Similar to labour force

Ewsd
EwsdEwsd
EwsdPTCL
 
4 - Simulation and analysis of different DCT techniques on MATLAB (presented ...
4 - Simulation and analysis of different DCT techniques on MATLAB (presented ...4 - Simulation and analysis of different DCT techniques on MATLAB (presented ...
4 - Simulation and analysis of different DCT techniques on MATLAB (presented ...Youness Lahdili
 
Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...researchinventy
 
Research Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and ScienceResearch Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and Scienceresearchinventy
 
Mobile robotic platform to gathering real time sensory data in wireless perso...
Mobile robotic platform to gathering real time sensory data in wireless perso...Mobile robotic platform to gathering real time sensory data in wireless perso...
Mobile robotic platform to gathering real time sensory data in wireless perso...Alexander Decker
 
Assembly chapter One.pptx
Assembly chapter One.pptxAssembly chapter One.pptx
Assembly chapter One.pptxssuserb78e291
 
An Entire Concept of Embedded systems
An Entire Concept of Embedded systems An Entire Concept of Embedded systems
An Entire Concept of Embedded systems Prabhakar Captain
 
An entire concept of embedded systems entire ppt
An entire concept of embedded systems entire pptAn entire concept of embedded systems entire ppt
An entire concept of embedded systems entire pptPrabhakar Captain
 
Ec8791 unit 5 processes and operating systems
Ec8791 unit 5 processes and operating systemsEc8791 unit 5 processes and operating systems
Ec8791 unit 5 processes and operating systemsRajalakshmiSermadurai
 
The Principle Of Ultrasound Imaging System
The Principle Of Ultrasound Imaging SystemThe Principle Of Ultrasound Imaging System
The Principle Of Ultrasound Imaging SystemMelissa Luster
 
Khalid sarwar working principle of ewsd exchange 2014
Khalid sarwar working principle of ewsd exchange 2014Khalid sarwar working principle of ewsd exchange 2014
Khalid sarwar working principle of ewsd exchange 2014PTCL
 
Introduction to Embedded Systems and Microcontrollers
Introduction to Embedded Systems and MicrocontrollersIntroduction to Embedded Systems and Microcontrollers
Introduction to Embedded Systems and MicrocontrollersIslam Samir
 
Density based traffic light controlling (2)
Density based traffic light controlling (2)Density based traffic light controlling (2)
Density based traffic light controlling (2)hardik1240
 

Similar to labour force (20)

CE150--Hongyi Huang
CE150--Hongyi HuangCE150--Hongyi Huang
CE150--Hongyi Huang
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Ewsd
EwsdEwsd
Ewsd
 
Assignment
AssignmentAssignment
Assignment
 
CAQA5e_ch1 (3).pptx
CAQA5e_ch1 (3).pptxCAQA5e_ch1 (3).pptx
CAQA5e_ch1 (3).pptx
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
4 - Simulation and analysis of different DCT techniques on MATLAB (presented ...
4 - Simulation and analysis of different DCT techniques on MATLAB (presented ...4 - Simulation and analysis of different DCT techniques on MATLAB (presented ...
4 - Simulation and analysis of different DCT techniques on MATLAB (presented ...
 
Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...
 
Research Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and ScienceResearch Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and Science
 
Mobile robotic platform to gathering real time sensory data in wireless perso...
Mobile robotic platform to gathering real time sensory data in wireless perso...Mobile robotic platform to gathering real time sensory data in wireless perso...
Mobile robotic platform to gathering real time sensory data in wireless perso...
 
Assembly chapter One.pptx
Assembly chapter One.pptxAssembly chapter One.pptx
Assembly chapter One.pptx
 
An Entire Concept of Embedded systems
An Entire Concept of Embedded systems An Entire Concept of Embedded systems
An Entire Concept of Embedded systems
 
An entire concept of embedded systems entire ppt
An entire concept of embedded systems entire pptAn entire concept of embedded systems entire ppt
An entire concept of embedded systems entire ppt
 
Ec8791 unit 5 processes and operating systems
Ec8791 unit 5 processes and operating systemsEc8791 unit 5 processes and operating systems
Ec8791 unit 5 processes and operating systems
 
The Principle Of Ultrasound Imaging System
The Principle Of Ultrasound Imaging SystemThe Principle Of Ultrasound Imaging System
The Principle Of Ultrasound Imaging System
 
Khalid sarwar working principle of ewsd exchange 2014
Khalid sarwar working principle of ewsd exchange 2014Khalid sarwar working principle of ewsd exchange 2014
Khalid sarwar working principle of ewsd exchange 2014
 
Verilog
VerilogVerilog
Verilog
 
Poster
PosterPoster
Poster
 
Introduction to Embedded Systems and Microcontrollers
Introduction to Embedded Systems and MicrocontrollersIntroduction to Embedded Systems and Microcontrollers
Introduction to Embedded Systems and Microcontrollers
 
Density based traffic light controlling (2)
Density based traffic light controlling (2)Density based traffic light controlling (2)
Density based traffic light controlling (2)
 

More from S S

Employee engagement-presentation
Employee engagement-presentationEmployee engagement-presentation
Employee engagement-presentationS S
 
Employee_engagement-what_managers_need_to_know
 Employee_engagement-what_managers_need_to_know Employee_engagement-what_managers_need_to_know
Employee_engagement-what_managers_need_to_knowS S
 
Clc manager guide_identify_signs_of_employee_disengagement
Clc manager guide_identify_signs_of_employee_disengagementClc manager guide_identify_signs_of_employee_disengagement
Clc manager guide_identify_signs_of_employee_disengagementS S
 
Appendix
AppendixAppendix
AppendixS S
 
Ee activities implemented
Ee activities implementedEe activities implemented
Ee activities implementedS S
 
Employee engagement questionnaire
Employee engagement questionnaireEmployee engagement questionnaire
Employee engagement questionnaireS S
 
50 activities for
50 activities for50 activities for
50 activities forS S
 
Notes e commerce
Notes e commerceNotes e commerce
Notes e commerceS S
 
Pledge
PledgePledge
PledgeS S
 

More from S S (9)

Employee engagement-presentation
Employee engagement-presentationEmployee engagement-presentation
Employee engagement-presentation
 
Employee_engagement-what_managers_need_to_know
 Employee_engagement-what_managers_need_to_know Employee_engagement-what_managers_need_to_know
Employee_engagement-what_managers_need_to_know
 
Clc manager guide_identify_signs_of_employee_disengagement
Clc manager guide_identify_signs_of_employee_disengagementClc manager guide_identify_signs_of_employee_disengagement
Clc manager guide_identify_signs_of_employee_disengagement
 
Appendix
AppendixAppendix
Appendix
 
Ee activities implemented
Ee activities implementedEe activities implemented
Ee activities implemented
 
Employee engagement questionnaire
Employee engagement questionnaireEmployee engagement questionnaire
Employee engagement questionnaire
 
50 activities for
50 activities for50 activities for
50 activities for
 
Notes e commerce
Notes e commerceNotes e commerce
Notes e commerce
 
Pledge
PledgePledge
Pledge
 

Recently uploaded

Personal Brand Exploration - Fernando Negron
Personal Brand Exploration - Fernando NegronPersonal Brand Exploration - Fernando Negron
Personal Brand Exploration - Fernando Negronnegronf24
 
Top profile Call Girls In Rampur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Rampur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Rampur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Rampur [ 7014168258 ] Call Me For Genuine Models We...nirzagarg
 
Dating Call Girls inTiruvallur { 9332606886 } VVIP NISHA Call Girls Near 5 St...
Dating Call Girls inTiruvallur { 9332606886 } VVIP NISHA Call Girls Near 5 St...Dating Call Girls inTiruvallur { 9332606886 } VVIP NISHA Call Girls Near 5 St...
Dating Call Girls inTiruvallur { 9332606886 } VVIP NISHA Call Girls Near 5 St...ruksarkahn825
 
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...gajnagarg
 
Top profile Call Girls In chittoor [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In chittoor [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In chittoor [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In chittoor [ 7014168258 ] Call Me For Genuine Models ...gajnagarg
 
Jual obat aborsi Dubai ( 085657271886 ) Cytote pil telat bulan penggugur kand...
Jual obat aborsi Dubai ( 085657271886 ) Cytote pil telat bulan penggugur kand...Jual obat aborsi Dubai ( 085657271886 ) Cytote pil telat bulan penggugur kand...
Jual obat aborsi Dubai ( 085657271886 ) Cytote pil telat bulan penggugur kand...ZurliaSoop
 
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...ZurliaSoop
 
UIowa Application Instructions - 2024 Update
UIowa Application Instructions - 2024 UpdateUIowa Application Instructions - 2024 Update
UIowa Application Instructions - 2024 UpdateUniversity of Iowa
 
一比一定(购)中央昆士兰大学毕业证(CQU毕业证)成绩单学位证
一比一定(购)中央昆士兰大学毕业证(CQU毕业证)成绩单学位证一比一定(购)中央昆士兰大学毕业证(CQU毕业证)成绩单学位证
一比一定(购)中央昆士兰大学毕业证(CQU毕业证)成绩单学位证eqaqen
 
Personal Brand Exploration ppt.- Ronnie Jones
Personal Brand  Exploration ppt.- Ronnie JonesPersonal Brand  Exploration ppt.- Ronnie Jones
Personal Brand Exploration ppt.- Ronnie Jonesjonesyde302
 
DMER-AYUSH-MIMS-Staff-Nurse-_Selection-List-04-05-2024.pdf
DMER-AYUSH-MIMS-Staff-Nurse-_Selection-List-04-05-2024.pdfDMER-AYUSH-MIMS-Staff-Nurse-_Selection-List-04-05-2024.pdf
DMER-AYUSH-MIMS-Staff-Nurse-_Selection-List-04-05-2024.pdfReemaKhan31
 
Vip Malegaon Escorts Service Girl ^ 9332606886, WhatsApp Anytime Malegaon
Vip Malegaon Escorts Service Girl ^ 9332606886, WhatsApp Anytime MalegaonVip Malegaon Escorts Service Girl ^ 9332606886, WhatsApp Anytime Malegaon
Vip Malegaon Escorts Service Girl ^ 9332606886, WhatsApp Anytime Malegaonmeghakumariji156
 
Kannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best Service
Kannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best ServiceKannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best Service
Kannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Joshua Minker Brand Exploration Sports Broadcaster .pptx
Joshua Minker Brand Exploration Sports Broadcaster .pptxJoshua Minker Brand Exploration Sports Broadcaster .pptx
Joshua Minker Brand Exploration Sports Broadcaster .pptxsportsworldproductio
 
怎样办理伊利诺伊大学厄巴纳-香槟分校毕业证(UIUC毕业证书)成绩单学校原版复制
怎样办理伊利诺伊大学厄巴纳-香槟分校毕业证(UIUC毕业证书)成绩单学校原版复制怎样办理伊利诺伊大学厄巴纳-香槟分校毕业证(UIUC毕业证书)成绩单学校原版复制
怎样办理伊利诺伊大学厄巴纳-香槟分校毕业证(UIUC毕业证书)成绩单学校原版复制yynod
 
Top profile Call Girls In godhra [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In godhra [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In godhra [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In godhra [ 7014168258 ] Call Me For Genuine Models We...gajnagarg
 
Top profile Call Girls In Shivamogga [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Shivamogga [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Shivamogga [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Shivamogga [ 7014168258 ] Call Me For Genuine Model...nirzagarg
 
Top profile Call Girls In daman [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In daman [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In daman [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In daman [ 7014168258 ] Call Me For Genuine Models We ...gajnagarg
 
Top profile Call Girls In Hubli [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hubli [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Hubli [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hubli [ 7014168258 ] Call Me For Genuine Models We ...gajnagarg
 
Top profile Call Girls In Shillong [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Shillong [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Shillong [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Shillong [ 7014168258 ] Call Me For Genuine Models ...gajnagarg
 

Recently uploaded (20)

Personal Brand Exploration - Fernando Negron
Personal Brand Exploration - Fernando NegronPersonal Brand Exploration - Fernando Negron
Personal Brand Exploration - Fernando Negron
 
Top profile Call Girls In Rampur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Rampur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Rampur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Rampur [ 7014168258 ] Call Me For Genuine Models We...
 
Dating Call Girls inTiruvallur { 9332606886 } VVIP NISHA Call Girls Near 5 St...
Dating Call Girls inTiruvallur { 9332606886 } VVIP NISHA Call Girls Near 5 St...Dating Call Girls inTiruvallur { 9332606886 } VVIP NISHA Call Girls Near 5 St...
Dating Call Girls inTiruvallur { 9332606886 } VVIP NISHA Call Girls Near 5 St...
 
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...
 
Top profile Call Girls In chittoor [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In chittoor [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In chittoor [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In chittoor [ 7014168258 ] Call Me For Genuine Models ...
 
Jual obat aborsi Dubai ( 085657271886 ) Cytote pil telat bulan penggugur kand...
Jual obat aborsi Dubai ( 085657271886 ) Cytote pil telat bulan penggugur kand...Jual obat aborsi Dubai ( 085657271886 ) Cytote pil telat bulan penggugur kand...
Jual obat aborsi Dubai ( 085657271886 ) Cytote pil telat bulan penggugur kand...
 
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...
 
UIowa Application Instructions - 2024 Update
UIowa Application Instructions - 2024 UpdateUIowa Application Instructions - 2024 Update
UIowa Application Instructions - 2024 Update
 
一比一定(购)中央昆士兰大学毕业证(CQU毕业证)成绩单学位证
一比一定(购)中央昆士兰大学毕业证(CQU毕业证)成绩单学位证一比一定(购)中央昆士兰大学毕业证(CQU毕业证)成绩单学位证
一比一定(购)中央昆士兰大学毕业证(CQU毕业证)成绩单学位证
 
Personal Brand Exploration ppt.- Ronnie Jones
Personal Brand  Exploration ppt.- Ronnie JonesPersonal Brand  Exploration ppt.- Ronnie Jones
Personal Brand Exploration ppt.- Ronnie Jones
 
DMER-AYUSH-MIMS-Staff-Nurse-_Selection-List-04-05-2024.pdf
DMER-AYUSH-MIMS-Staff-Nurse-_Selection-List-04-05-2024.pdfDMER-AYUSH-MIMS-Staff-Nurse-_Selection-List-04-05-2024.pdf
DMER-AYUSH-MIMS-Staff-Nurse-_Selection-List-04-05-2024.pdf
 
Vip Malegaon Escorts Service Girl ^ 9332606886, WhatsApp Anytime Malegaon
Vip Malegaon Escorts Service Girl ^ 9332606886, WhatsApp Anytime MalegaonVip Malegaon Escorts Service Girl ^ 9332606886, WhatsApp Anytime Malegaon
Vip Malegaon Escorts Service Girl ^ 9332606886, WhatsApp Anytime Malegaon
 
Kannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best Service
Kannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best ServiceKannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best Service
Kannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best Service
 
Joshua Minker Brand Exploration Sports Broadcaster .pptx
Joshua Minker Brand Exploration Sports Broadcaster .pptxJoshua Minker Brand Exploration Sports Broadcaster .pptx
Joshua Minker Brand Exploration Sports Broadcaster .pptx
 
怎样办理伊利诺伊大学厄巴纳-香槟分校毕业证(UIUC毕业证书)成绩单学校原版复制
怎样办理伊利诺伊大学厄巴纳-香槟分校毕业证(UIUC毕业证书)成绩单学校原版复制怎样办理伊利诺伊大学厄巴纳-香槟分校毕业证(UIUC毕业证书)成绩单学校原版复制
怎样办理伊利诺伊大学厄巴纳-香槟分校毕业证(UIUC毕业证书)成绩单学校原版复制
 
Top profile Call Girls In godhra [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In godhra [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In godhra [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In godhra [ 7014168258 ] Call Me For Genuine Models We...
 
Top profile Call Girls In Shivamogga [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Shivamogga [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Shivamogga [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Shivamogga [ 7014168258 ] Call Me For Genuine Model...
 
Top profile Call Girls In daman [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In daman [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In daman [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In daman [ 7014168258 ] Call Me For Genuine Models We ...
 
Top profile Call Girls In Hubli [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hubli [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Hubli [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hubli [ 7014168258 ] Call Me For Genuine Models We ...
 
Top profile Call Girls In Shillong [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Shillong [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Shillong [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Shillong [ 7014168258 ] Call Me For Genuine Models ...
 

labour force

  • 1. EMBEDDED AND REAL TIME SYSTEMS INTRODUCTION TO 1/29/2012 EMBEDDED COMPUTING
  • 2. UNIT-1 INTRODUCTION TO EMBEDDED COMPUTING INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 3. COMPLEX SYSTEMS AND MICROPROCESSORS What is an embedded computer system? It is any device that includes a programmable computer but is not itself intended to be a general- purpose computer. Thus a PC is not itself an embedded computing h Ci i lf b dd d i ystem,although PCs are often used to build embedded computing systems systems. But a fax machine or a clock built from a microprocessor is an embedded computing system. system INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 4. Embedding Computers Whirlwind, a computer designed at MIT in the late 1940s and early 1950s. microprocessor is a single-chip CPU in 1970’s but it is very simple. first microprocessor, the Intel 4004,was designed for an embedded application,namely, a calculator. INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 5. Characteristics of Embedded Computing Applications C ti A li ti Complex algorithms User interface Real time Multirate Manufacturing cost Power and energy INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 6. Why Use Microprocessors? Microprocessors are a very efficient way to implement digital systems. Microprocessors has new features to keep up with rapidly changing markets p p y g g INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 7. Challenges in Embedded Computing S t C ti System D i 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? INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 8. DEADLINE Deadline is to speed up the hardware so thatthe program runs faster. Of course, that makes the system more expensive. It i alsoentirely possible that increasing the is l ti l ibl th t i i th CPU clock ratemay notmake enough differenceto execution time since the program’s time,since program s speedmay be limited by thememory system INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 9. 1.2 THE EMBEDDED SYSTEM DESIGN PROCESS Embedded System Design Process aimed at two objectives. First-various steps in Embedded System g design. Second- Design methodology. INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 10. EMBEDDED SYSTEM DESIGN PROCESS INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 11. Requirements TWO PHASES: Informal description from the customers. p Refine the requirements into a specification. specification Performance Cost C t Physical size and weight INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 12. Specification The specification is more precise—it serves as the contract between the customerand the architects. As such, the specification must be carefully written so that itaccurately reflects the customer’s requirements and does so in a way that can beclearly followed during design. INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 13. Architecture Design INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 14. Hardware INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 15. Software INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 16. Designing Hardware and Software Components You will have to design some components yourself. Even if you are using only standard integrated circuits, you may have to design the printed circuit board thatconnects them.You will probably have to do a lot of custom programming as well. When creating these embedded software modules, you must of course make use of your expertise to ensure that the system runs properly in real time and that it does not take up more memory space than is allowed INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 17. System Integration System integration is difficult because it usually uncovers problems. It is oftenhard to observe the system in sufficient detail to determine exactly what is wrong the debugging facilities for embedded systems INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 18. MODEL TRAIN CONTROLLER In order to learn how to use UML to model systems PURPOSES OF EXAMPLE: Follow a design through several levels of abstraction. Gain experience with UML. INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 19. Model train setup rcvr motor power supply l console header address command ECC INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 20. Requirements Console can control 8 trains on 1 track. Throttle has at least 63 levels. Inertia control adjusts responsiveness with at least 8 levels levels. Emergency stop button. Error d t ti scheme on messages. E detection h INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 21. Requirements into our chart format name model train controller purpose control speed of <= 8 model trains inputs throttle, inertia, emergency stop, train # outputs train control signals functions set engine speed w. inertia; emergency stop performance can update train speed at least 10 times/sec manufacturing cost $50 power wall powered physical console comfortable for 2 hands; < 2 size/weight lbs. INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 22. Basic system commands INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 23. Console physical object classes knobs* pulser* train-knob: integer pulse-width: unsigned- speed-knob: speed knob: integer integer i inertia-knob: unsigned- direction: boolean integer emergency-stop: b l boolean mouse_click() sender* detector* draw_box draw box send-bit() read-bit() : integer INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 24. Panel and motor interface classes panel motor-interface speed: integer train-number() : integer speed() : integer inertia() : integer i i () i estop() : boolean new-settings() g () INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 25. Class descriptions panel class defines the controls. new-settings() behavior reads the controls. motor-interface class defines the motor speed held as state. INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 26. Transmitter and receiver classes transmitter receiver current: command send-speed(adrs: integer, new: boolean speed: integer) send-inertia(adrs: integer, di i ( d i read-cmd() read cmd() val: integer) new-cmd() : boolean set-estop(adrs: integer) p( g ) rcv-type(msg-type: command) d) rcv-speed(val: integer) ( g ) rcv-inertia(val:integer) INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 27. Class descriptions transmitter class has one behavior for each type of message sent. receiver function provides methods to: detect a new message; determine its type; read its parameters (estop has no parameters). INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 28. Formatter class formatter current train: current-train: integer current-speed[ntrains]: integer current-inertia[ntrains]: unsigned-integer i di t current-estop[ntrains]: boolean send-command() send command() panel-active() : boolean operate() INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 29. Formatter class description Formatter class holds state for each train, setting for current train. The operate() operation performs the basic formatting task. g INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 30. Control input cases Use a soft panel to show current panel settings for each train. Changing train number: must change soft panel settings to reflect current train’s speed, etc. Controlling throttle/inertia/estop: read panel, check for changes, perform command. INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 31. Control input sequence diagram :knobs k b :panel l :formatter f tt :transmitter t itt change in read panel peed/ control panel-active op ertia/esto change in chan in sp settings panel settings send-command read panel send-speed, nge ber ine panel settings send-inertia. di i read panel send-estop change in g n tra numb train panel settings number new-settings ain c set-knobs INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 32. Formatter operate behavior update-panel() panel-active() new train number idle send-command() other INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 33. Panel-active Panel active behavior T current-train = train-knob panel*:read-train() l* d i () update-screen changed = true F T panel :read speed() panel*:read-speed() current-speed = throttle changed = true F ... ... INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 34. Controller class controller current train: current-train: integer current-speed[ntrains]: integer current-direction[ntrains]: boolean current-inertia[ntrains]: t i ti [ t i ] unsigned-integer operate() issue-command() INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 35. Setting the speed Don’t want to change speed instantaneously. Controller should change speed gradually by sending several commands. y g INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 36. Sequence diagram for set- speed command :receiver i :controller t ll :motor-interface t i t f :pulser* l * new-cmd cmd-type rcv-speed set-speed set-pulse set pulse set-pulse set-pulse set-pulse l set-pulse INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING
  • 37. Refined command classes command type: 3-bits address: 3-bits parity: 1-bit set-speed set-inertia estop type=010 type=001 type=000 value: 7-bits value: 3-bits INTRODUCTION TO EMBEDDED 1/29/2012 COMPUTING