Dalya Gaber. Definition:- Embedded system is any device that includes a computer but is not itself a general purpose computer. It has hardware & software.

Slides:



Advertisements
Similar presentations
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Advertisements

Embedded Systems: Introduction
Processor System Architecture
Chapter 1 The 8051 Microcontroller
CHAPTER 1 THE 8051 MICROCONTROLLERS. Microcontroller vs. General- Purpose Microprocessor General-purpose microprocessors have ◦ No RAM ◦ No ROM ◦ No I/O.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
 CPU: Central Processing Unit  I/O: Input /Output  Bus: Address bus & Data bus  Memory: RAM & ROM  Timer  Interrupt  Serial Port  Parallel Port.
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ input/output and clock inputs Sequence of control signal combinations.
Computer Organization and Assembly language
Railway Foundation Electronic, Electrical and Processor Engineering.
The 8051 Microcontroller Architecture
ASPPRATECH.
Microcontroller based system design
Microprocessor and Microcontroller Based Systems
Computer Organization and Assembly language
Microcontroller: Introduction
Embedded System Spring, 2011 Lecture 3: The PIC Microcontrollers Eng. Wazen M. Shbair.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
The domestic refrigerator-An example A car door mechanism.
Micro controllers A self-contained system in which a processor, support, memory, and input/output (I/O) are all contained in a single package.
MCU – Microcontroller Unit – 1 MCU  1 cip or VLSI core – application-specific.
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
Embedded Systems Design ICT Embedded System What is an embedded System??? Any IDEA???
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
1 3-General Purpose Processors: Altera Nios II 2 Altera Nios II processor A 32-bit soft core processor from Altera Comes in three cores: Fast, Standard,
Lecture 13 Introduction to Embedded Systems Graduate Computer Architecture Fall 2005 Shih-Hao Hung Dept. of Computer Science and Information Engineering.
MICROPROCESSOR INPUT/OUTPUT
Micro processor and Micro Controllers
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
PRESENTED BY :BIREN KUMAR SAMAL ADMISSION NO:22I&E/2000.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CE-321: Computer.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
Computer Architecture And Organization UNIT-II General System Architecture.
Chapter 2 Introducing the PIC Mid-Range Family and the 16F84A The aims of this chapter are to introduce: The PIC mid-range family, in overview The overall.
Computer Organization & Assembly Language © by DR. M. Amer.
 Historical view:  1940’s-Vacuum tubes  1947-Transistors invented by willliam shockely & team  1959-Integrated chips invented by Texas Instrument.
MICROOCESSORS AND MICROCONTROLLER:
What is a Microprocessor ? A microprocessor consists of an ALU to perform arithmetic and logic manipulations, registers, and a control unit Its has some.
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
Presented by Sadhish Prabhu
Lecture 7: Overview Microprocessors / microcontrollers.
بسم الله الرحمن الرحيم MEMORY AND I/O.
Capability of processor determine the capability of the computer system. Therefore, processor is the key element or heart of a computer system. Other.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
HOME AUTOMATION USING PC DONE BY RAJESHKUMAR S SRI HARSHA D.
15: Microprocessor and microcontroller
MICROPROCESSOR INTEL 8086/8088 BY: SERA SYARMILA SAMEON.
Know Difference Between Microprocessors and Microcontrollers.
Embedded Systems. What is Embedded Systems?  Embedded reflects the facts that they are an integral.
Popular Microcontrollers and their Selection by Lachit Dutta
Microprocessor and Microcontroller Fundamentals
ECE354 Embedded Systems Introduction C Andras Moritz.
Microprocessor Systems Design I
Microprocessor Systems Design I
Embedded Systems Design
AS PER OBE SYLLABUS DTE KARNATAKA SHANTHU M.Tech SAI JAYANI ACADEMY (R) SIXTH SEMESTER Diploma in ELECTRONICS AND COMMUNICATION ENGINEERING.
Why microcontrollers in embedded systems?
Chapter 1: The 8051 Microcontrollers
Introduction to Microprocessors and Microcontrollers
Tiny Computers, Hidden Control
CISC AND RISC SYSTEM Based on instruction set, we broadly classify Computer/microprocessor/microcontroller into CISC and RISC. CISC SYSTEM: COMPLEX INSTRUCTION.
CS 501: Software Engineering Fall 1999
Introduction to Embedded Systems
EECE.3170 Microprocessor Systems Design I
CHAPTER 1 THE 8051 MICROCONTROLLERS
Presentation transcript:

Dalya Gaber

Definition:- Embedded system is any device that includes a computer but is not itself a general purpose computer. It has hardware & software. It is usually a part of some larger systems and is expected to function without human intervention. It is expected to respond, monitor, control external environment using sensors and actuators.

Examples:- Personal Digital Assistant (PDA) Printers Cell Phones Automobile: engine, brakes, dash, etc. Television House Hold appliances Surveillance systems (security)

Characteristics of E.S. Sophisticated Functionality. Real Time operation (not always). Low manufacturing cost. In many cases, there are appliances use application dependent processor not general purpose processor which we find in computers. Restricted memory. Low power (excessive power consumption increases system cost even in wall-powered devices, due to dealing with heat dissipation).

Manufacturing Cost:- We have two aspects: Non-recurring engineering cost (design & development). Production & marketing cost for each unit. Best technology choice will depend on the number of units we plan to produce and the product importance and market.

Real Time operation:- They are operations must be finished by deadlines. There are two types:- 1.Hard real time: missing deadline causes large failure or even catastrophe. 2.Soft real time: missing deadline results in degraded performance. Most of systems are multi-rate systems which must handle operations at widely varying rates.

Application dependent requirements:- Fault Tolerance & Reliability: continue operation despite hardware or software faults. Safety: systems to avoid physical or economic damage to person or property.

Dedicated Systems:- Predefined functionality, accordingly hardware and software designed. Programmability rarely used during life time of the system which means: once programmed, they are expected to work for long times without any user’s intervention and they are designed for just a specific task. Real time, fault-tolerant, safe

Types of embedded systems:- Similar to general computing (no sensors or actuators) EX: PDA, video games, automatic teller machine. Control systems (basic sensing and actuating) EX: feedback control of real time systems, vehicle engines, flight control, nuclear reactors. Signal processing EX: Radar, Sonar, DVD players, MP3 players Communication & networking EX: Cellular phones, internet appliances

Nature of system functions:- Control laws (Actuating) Sequencing logic (For a specific purpose or target) Signal processing (For sensor inputting) Application specific interfacing (Kinds of sensors and actuators) Fault response (Graceful degradation)

Implementing E.S.:- 1- Hardware:- -Processing element (microcontrollers, microprocessors) -Peripherals (Input & output devices, Interfacing sensors & actuators, Interfacing protocols) -Memory Design -Bus Design 2- Software:- -System Software (specialized operating system, cross compilers & cross assemblers, simulators & emulators, debugging tools) -Application Software

Hardware Evolution:- 1 – General purpose microprocessors & microcontrollers. (low cost, faster clock rate, higher degree of integration) 2 – DSP 3 – Application Specific Processors. (you design your needed processor, higher cost) 4 – SOC: System On Chip. (less space, less power consumption, more functions)

Software Characteristics:- -Programs must be logically and temporally correct. -Must deal with inherent physical concurrency (Reactive systems) -Reliability and fault-tolerance are critical issues. -Application Specific and single purpose.

Multitasking & Concurrency:- Embedded systems need to deal with several inputs and outputs and multiple events occurring independently. Separating tasks simplifies programming but requires somehow switching back and forth among different tasks (multitasking) Concurrency is the appearance of simultaneous execution of multiple tasks.

Challenges in E.S. design:- How much hardware do we need? (what is word size of the CPU? Size of memory?) How do we meet our deadlines? (Faster hardware or cleverer software?) How do we minimize power? (Turn off un-necessary logic? Reduce memory accesses?)

E.S. Design:- Multi-objective Dependability Affordability Safety Security Scalability Timeliness Multi-Discipline Electronic Hardware Software Mechanical Hardware Control Algorithms Humans Society/Institutions Life Cycle Requirements Design Manufacturing Deployment Logistics Retirement

Design Goals:- Performance (overall speed, deadline) Functionality & user interface Manufacturing cost Power Consumption Other requirements (physical size, etc.)

Functional VS. Non-Functional requirements:- Functional requirements: output as function of input. Non-functional requirements: time required to compute output – size, weight, etc. – power consumption – reliability

Design & Development Process:- Requirements  Specifications  architecture  Component design  system integration. Testing & Debugging are important tasks at the end of that.

Top Down VS. Bottom Up:- 1- Top Down Design:- Start from most abstract description. Work to most detailed. 2- Bottom Up design:- Work from small components to big system. Real Design uses both techniques.

Stepwise Refinement (H.W. & S.W.):- At each level of abstraction, We must:- Analyze the design to determine characteristics of the current state of the design. Refine the design to add detail.

Embedded System Hardware:- It is used for processing input to produce output in task specific fashion. Input interface Output interface Information processing system (processors) Processors are microprocessors and microcontrollers. But in comparison to general purpose computing platforms, the considerations are:- -Energy efficiency (led to enhanced battery life and less power consumption). -High code density in my instruction sets (would led to less requirement of program memory). Microprocessors can be used for general purpose processes but microcontrollers are only used for special purpose processes.

Microprocessors:- CPU for computers. There are no RAM, ROM, I/O on CPU chip itself. Example: Intel’s X86, Motorola’s 680x0. CPU General purpose micro processor RAMROM I/O Port Timer Serial port Data bus Address bus General Purpose Microprocessor System

Microcontroller:- Basically, a microcontroller is a device which integrates a number of the components of a microprocessor system onto a single microchip. A microcontroller combines onto the same microchip:- The CPU core Memory (both RAM & ROM) Some parallel digital I/O and more. CPU MemoryI/O Bus

Components of a microcontroller:- A timer module to allow the microcontroller to perform tasks for certain time periods and after that it can generate an interrupt to the process. So, it can be switching from one task to another task. A serial I/O port to allow data to flow between the microcontroller and other devices such as a PC or another microcontroller. An ADC to allow the microcontroller to accept analogue input data for processing. And in many cases, it also has DAC for the output.

Program Memory (expected to Be ROM) Core Parallel Port Data Memory (expected to be RAM) Serial Port Serial Port Counter / Timer More Detailed Block Diagram For Microcontroller

Why Microcontroller? Low cost, Small packaging. Low power consumption. Programmable, re-programmable. Lots of I/O capabilities. Easy integration with circuits. For applications in which cost, power, and space are critical. Single purpose.

VonNeuman Architecture:- Only one bus between CPU & memory for both address and data. I provide address from the CPU to the memory to fetch instruction as well as to fetch data and we use the bus to read the data as well as write the data onto that memory. in fact there is no difference between the data and instructions. RAM and program memory share the same bus and the same memory, and so must have the same bit width. Bottleneck: Getting instructions interferes with accessing RAM. CPU Program And Data memory BUS

Harvard architecture:- Separate program bus and data bus, can be different widths. Instruction pipelining easy CPU Program memory Data memory 8 bits bits

CISC: Complex Instruction Set Computer A large number of instructions each carrying out a different permutation of the same operation. Instructions provide for complex operations. Different instructions of different format. Different instructions of different length. Different addressing modes. Requires multiple cycles for execution.

RISC: Reduced Instruction Set Computers Instructions for simple operations that can be executed in a single cycle. Each instruction of fixed length (facilitates instruction pipelining) Large general purpose register set (can contain data or address, Symmetry) Load-store architecture (no memory access for data processing instructions)

PIC microcontroller family One of the leading architectures for low end applications (applications need bit processors)

PIC architecture:- PICs are “RISC” Few instructions (usually<50) Only a few addressing modes Executes one instruction in one internal clock cycle (Tcyc) Why PIC was designed as a RISC processor???? The moment I have got simple set of instructions and can execute single set of instruction in one cycle, I can actually execute a large number of operations and I can have easy implementation of pipelining without having a complex hardware. Less complex hardware means less consumption of silicon area as well as less consumption of power

The PIC family: Packages PICs come in a huge variety of packages. Examples:- 8 pin : 12C50x (12bit) and 12C67x (14bit) 18 pin : 16C5x (12bit), 16Cxxx (14bit) 28 pin : 16C5x (12bit), 16Cxxx (14bit) 40 pin : 16Cxxx (14bit), 17C4x (16bit) 44 – 68 pin : 16Cxxx (14bit), 17C4x / 17Cxxx (16bit)