CPE 323 Introduction To Embedded Computer Systems: Introduction

1y ago
26 Views
2 Downloads
963.51 KB
37 Pages
Last View : 8d ago
Last Download : 3m ago
Upload by : Tripp Mcmullen
Transcription

CPE 323 Introduction to Embedded Computer Systems: Introduction Instructor: Dr Aleksandar Milenkovic

CPE 323 Administration Syllabus Prerequisites textbook & other references grading policy important dates course outline Number representation Digital design: combinational and sequential logic Computer systems: organization Embedded Systems Laboratory Located in EB 106 EB 106 Policies Introduction sessions Lab instructor CPE 323: Introduction to Embedded Computer Systems 2

CPE 323 Administration LAB Session on-line LAB manuals and tutorials Access cards Accounts Lab Assistant: Zahra Atashi Lab sessions (select 4 from the following list) Tuesday Wednesday Thursday Thursday 10:20 - 11:40 AM 7:05 - 8:25 PM 3:55 - 5:15 PM 5:30 - 6:50 PM Sign-up sheet will be available in the laboratory CPE 323: Introduction to Embedded Computer Systems 3

Outline Computer Engineering: Past, Present, Future Embedded systems What are they? Where do we find them? Structure and Organization Software Architectures CPE 323: Introduction to Embedded Computer Systems 4

What Is Computer Engineering? The creative application of engineering principles and methods to the design and development of hardware and software systems Discipline that combines elements of both electrical engineering and computer science Computer engineers are electrical engineers that have additional training in the areas of software design and hardware-software integration CPE 323: Introduction to Embedded Computer Systems 5

What Do Computer Engineers Do? Computer engineers are involved in all aspects of computing Design of computing devices (both Hardware and Software) Where are computing devices? Embedded computer systems (low-end – high-end) In: cars, aircrafts, home appliances, missiles, medical devices,. Entering: clothes, shoes, pens, . everything will go smart Mobile personal communicators/digital assistants Game consoles Personal computers High-end servers Clusters, supercomputers CPE 323: Introduction to Embedded Computer Systems 6

History of Computing Log price Ongoing: laptop handheld 1 billion phones in 2007 one for every human Mainframe Mini WS PC Notebook Handheld Ubiquitous Time CPE 323: Introduction to Embedded Computer Systems 7

Engineering Computers Market Implementation Complexity Evaluate Existing Systems for Bottlenecks Applications Benchmarks Technology Trends Implement Next Generation System Simulate New Designs and Organizations Workloads CPE 323: Introduction to Embedded Computer Systems 8

Intel: First 30 Years Intel 4004 November 15, 1971 4-bit ALU, 108 KHz, 2,300 transistors, 10-micron technology Intel Pentium 4 August 27, 2001 32-bit architecture, 1.4 GHz (now 3.08), 42M transistors (now 55 M), 0.18-micron technology (now 0.09) CPE 323: Introduction to Embedded Computer Systems 9

Technology Directions: SIA Roadmap Year 1999 2002 2005 2008 2011 2014 Feature size (nm) Logic trans/cm2 Cost/trans (mc) #pads/chip Clock (MHz) Chip size (mm2) Wiring levels Power supply (V) High-perf pow (W) 180 6.2M 1.735 1867 1250 340 6-7 1.8 90 130 18M .580 2553 2100 430 7 1.5 130 100 39M .255 3492 3500 520 7-8 1.2 160 70 84M .110 4776 6000 620 8-9 0.9 170 CPE 323: Introduction to Embedded Computer Systems 50 180M .049 6532 10000 750 9 0.6 175 35 390M .022 8935 16900 900 10 0.5 183 10

Performance Trends Year Proc. 1969 4004 1970’s 808x 1982 286 1985 386 1989 486 1993 Pentium 1996 P II 1999 P III 2000 P 4 MIPS 0.06 0.64 1 5 20 100 250 500 1500 1600 1400 1200 1000 800 600 400 200 0 286 386 486 P entium P II CPE 323: Introduction to Embedded Computer Systems P III P 4 11

Performance Trends 100 Supercomputers Performance 10 Mainframes Microprocessors Minicomputers 1 0.1 1965 1970 1975 1980 1985 CPE 323: Introduction to Embedded Computer Systems 1990 1995 12

Clock Frequency Growth Rate P4 Clock rate (MHz) 1,000 100 10 i8086 1 R10000 Pentium100 i80386 i80286 i8080 i8008 i4004 0.1 1970 1975 1980 1985 1990 1995 2000 2005 30% per year CPE 323: Introduction to Embedded Computer Systems 13

Transistor Count Growth Rate 100,000,000 Transistors 10,000,000 1,000,000 i80286 100,000 R10000 Pentium i80386 R3000 R2000 P4 i8086 10,000 i8080 i8008 i4004 1,000 1970 1975 1980 1985 1990 1995 2000 2005 Moore’s Law CPE 323: Introduction to Embedded Computer Systems 14

Storage Divergence between memory capacity and speed more pronounced Capacity increased by 1000x from 1980-95, speed only 2x Gigabit DRAM by c. 2000, but gap with processor speed much greater Larger memories are slower, while processors get faster Need to transfer more data in parallel Need deeper cache hierarchies How to organize caches? Speed Size Registers ns KB Cache 10ns MB Main memory 100ns 100MB Hard disk 10ms 10GB Archive 100ms TB CPE 323: Introduction to Embedded Computer Systems 15

General Technology Trends Microprocessor performance increases 50%-100% per year Transistor count doubles every 3 years DRAM size quadruples every 3 years Huge investment per generation is carried by huge commodity market 180 160 Integer FP 140 120 100 80 60 40 20 0 Sun 4 260 MIPS M/120 HP 9000 750 MIPS M2000 DEC Alpha IBM RS6000 540 1987 1988 1989 1990 1991 1992 CPE 323: Introduction to Embedded Computer Systems 16

Trends & Challenges Processor/memory discrepancy Microprocessor execution Fetch Decode Execute System on a chip - Microcontroller Memory hierarchy On-chip/off-chip memory Cost, smaller PCB, reliability, power. Applications Evolution Microprocessor Microprocessor-on-a-chip System-on-a-chip Distributed-system-on-a-chip CPE 323: Introduction to Embedded Computer Systems 17

More on Challenges Scalability Availability billions of small devices performance hardware changes system upgrade failures code enhancements Fault tolerance CPE 323: Introduction to Embedded Computer Systems 18

Outline Computer Engineering: Past, Present, Future Embedded systems What are they? History of embedded systems Where do we find them? Structure and Organization Software Architectures CPE 323: Introduction to Embedded Computer Systems 19

What are Embedded Computer Systems An embedded system is a special-purpose computer system designed to perform one or a few dedicated functions Main Characteristics Usually embedded as a part of a complete device that serves a more general purpose (e.g., in car or in MP3 player) Usually heavily optimized for the specific tasks, reducing cost of the product or reducing the size or increasing the reliability and performance Often with real-time computing constraints that must be met, for reasons such as safety (e.g., anti-block systems) and usability (e.g., video consoles) Range from low-end 4-bit microcontrollers to high-performance multiple processor cores on a single chip Software written for embedded systems is often called firmware, and is usually stored in read-only memory or Flash memory chips rather than a disk drive CPE 323: Introduction to Embedded Computer Systems 20

Early History of Embedded Systems Apollo Guidance Computer Autonetics D-17 (1961) Guidance computer for the Minuteman missile Intel 4004 (1971), first microprocessor One of the first publicly recognized embedded systems Developed by Charles Stark Draper at the MIT Instrumentation Laboratory Used in calculators Automobiles used microprocessor-based engine controllers (1970’s) Control fuel/air mixture, engine timing, etc. Multiple modes of operation: warm-up, cruise, hill climbing, etc. Provides lower emissions, better fuel efficiency CPE 323: Introduction to Embedded Computer Systems 21

Modern Embedded Systems Modern Microcontrollers: (mid 1980s) Digital Signal Processors (DSP): Microprocessors that include I/O devices and on-chip memory on a chip Microprocessors optimized for digital signal processing Typical embedded processor word sizes: 8-bit, 16-bit, 32-bit CPE 323: Introduction to Embedded Computer Systems 22

Embedded Systems Applications Telecommunication equipment: telephone switches, voice and data network bridges and routers Consumer electronics: MP3 players, DVD players, digital cameras, GPS receivers, game consoles, Home appliances: microwave ovens, dishwashers, washers, Transportation systems: aviation electronics (avionics), vehicle electronics (to increase efficiency and safety, reduce pollution, ) Medical electronics: health monitors, medical imaging (PET, SPECT, CT, MRI) CPE 323: Introduction to Embedded Computer Systems 23

Future Applications Deeply embedded into the environment Wireless Sensor Networks Applications Health Monitoring Smart Transportation Systems Smart Roads Habitat Monitoring Military Wireless Sensor Networks @ UAHuntsville TinyHMS and SVEDECs CPE 323: Introduction to Embedded Computer Systems 24

TinyHMS for Ubiquitous Health Monitoring CPE 323: Introduction to Embedded Computer Systems 25

TinyHMS: Hardware CPE 323: Introduction to Embedded Computer Systems 26

TinyHMS: Software 1.5 x 10 4 accX accY accZ Motion Sensor (TS2) 1 0.5 105 105.2 4000 105.4 105.6 105.8 106 106.2 106.4 106.6 106.8 107 105.4 105.6 105.8 106 106.2 106.4 106.6 106.8 107 ECG Sensor (TS1) 3000 2000 1000 105 105.2 Heart Beat Beacon Messag e Heart Beat Heart Beat Step Step Beacon Messag e Event Message with Timestamp NC TS1 TS2 TS3 Frame i- NC TS1 CPE 323: Introduction to Embedded Computer Systems 1 TS2 TS3 Frame i 27

SVEDECs Traffic Monitoring Using TMotes Vehicle Detection (speed, size) CPE 323: Introduction to Embedded Computer Systems 28

Embedded Systems Organization 4 major components: CPU, Memory, System Bus, and I/O Peripherals System Bus Serial I/O I/O Interface Parallel I/O Analog CPU RAM Embedded Computer ROM CPE 323: Introduction to Embedded Computer Systems 29

CPUs Unlike the personal and server computer markets the embedded processors are fairly diverse featuring Von Neumann as well as Harvard architectures RISC as well as non-RISC and VLIW; Word lengths from 4-bit to 64-bits and beyond (mainly in DSP processors) although the most typical remain 8/16-bit. A large number of different variants and shapes, many of which are also manufactured by several different companies Common architectures are: 65816, 65C02, 68HC08, 68HC11, 68k, 8051, ARM, AVR, AVR32, Blackfin, C167, Coldfire, COP8, eZ8, eZ80, FR-V, H8, HT48, M16C, M32C, MIPS, MSP430, PIC, PowerPC, R8C, SHARC, ST6, SuperH, TLCS-47, TLCS-870, TLCS900, Tricore, V850, x86, XE8000, Z80, etc. Typically embedded CPUs are integrated together with memories and I/O peripherals on a single chip to reduce the cost and size and increase reliability CPE 323: Introduction to Embedded Computer Systems 30

I/O Peripherals Embedded Systems talk with the outside world via peripherals, such as: Serial Communication Interfaces (SCI): RS-232, RS422, RS-485 etc Synchronous Serial Communication Interface: I2C, JTAG, SPI, SSC and ESSI Universal Serial Bus (USB) Networks: Ethernet, Controller Area Network, LonWorks, etc Timers: PLL(s), Capture/Compare and Time Processing Units Discrete IO: aka General Purpose Input/Output (GPIO) Analog to Digital/Digital to Analog (ADC/DAC) CPE 323: Introduction to Embedded Computer Systems 31

A Microcontroller-Based System: An Example LCD Adj. Vol. Regul. RS232 RS232 controller Analog I/O 2-axes joystick LEDs Thermistor Keypad CPE 323: Introduction to Embedded Computer Systems Switches μC: MSP430 32

Data Flow t, states A/D μP system D/A Input Processing Output Temperature sensor control signals μP INPUT PROCESSING CPE 323: Introduction to Embedded Computer Systems 78 º OUTPUT 33

Backup Slides

Von Neumann Architecture Processing Elements Read/Write Memory sequential execution linear array of fixed size cells Data and instruction store I/O unit Address/Data/Control bus CPE 323: Introduction to Embedded Computer Systems 35

Von Neumann Architecture Memory Von Neumann Architecture W bits 0 1 2 3 PE Read/Write Memory address control data N (Processing Element) Control Unit ALU I/O (peripherals) log2N CPE 323: Introduction to Embedded Computer Systems 36

Von Neumann vs. Harvard Von Neumann Architecture Read/Write Memory address data PE (Processing Element) Harvard Architecture Program Memory Data Memory address data address PE (Processing Element) data CPE 323: Introduction to Embedded Computer Systems 37

CPE 323: Introduction to Embedded Computer Systems 3 CPE 323 Administration LAB Session on-line LAB manuals and tutorials Access cards Accounts Lab Assistant: Zahra Atashi Lab sessions (select 4 from the following list) Tuesday 10:20 - 11:40 AM Wednesday 7:05 - 8:25 PM Thursday 3:55 - 5:15 PM Thursday 5:30 - 6:50 PM Sign-up sheet will be available in the laboratory

Related Documents:

R 323.1151 to R 323.1159, R 323.1162 to R 323.1164, and R 323.1169 of the Code are rescinded to read as follows: PART 5. SPILLAGE OF OIL AND POLLUTING MATERIALS . R 323.1158 Rescinded . R 323.1151 Rescinded R 323.1159 Rescinded R 323.1152 Rescinded R 323.1162 Rescinded R 323.1153 Rescinded R 323

more than one CPA professional ethics course? . my license renewal? How many CPE hours must I earn annually? I earned and reported 40 hours of CPE in 2018 and 40 hours of CPE in 2019, which meets the . (CPE) annually, and at least 80 hours of continuing professional education (CPE) wit

USP Health and Wellness Centre ( 679) 323 2362 / 323 2202 USP Security Main Gate ( 679) 323 2211 ext 122 Pedestrian Gate ( 679) 323 2211 ext 121 Back Gate ( 679) 323 2211ext 120 Control Room (after hours) ( 679) 323 2211/ 323 2840 EMALUS CAMPUS, VANUATU Hospital ( 678) 22100 Ambulance - Hospital 112 Emergency - Promedical Ambulance 115

Embedded Systems Organization 4 major components: CPU, Memory, System Bus, and I/O Peripherals CPU RAM I/O Interface Analog Embedded Computer ROM Parallel I/O System Serial I/O Bus. CPE 323: I

CPE Nano Learning – we now allow up to 4 hours of nano learning CPE credit (nano learning is CPE taken in ten- minute increments). CPE Content Requirement – we have reduced the requirement that 50% of CPE (20 hours per year) be met through courses in Accounting & Auditing, Tax, or Ethics to

3 4.2 Continuing Professional Education (CPE) - The process of members ï continuous learning. 4.3 Structured CPE Credits - The CPE Credits awarded to the members for attendance at approved learning programmes. 4.4 Unstructured CPE Credits - The CPE Credits awarded to the members for undertaking any of the learning activities stated in para 7 of these guidelines.

CPE REQUIREMENTS To register or learn more go to cpe.nysscpa.org. 9 CPE OFFERINGS 8 CPE HOW YOU WANT IT, WHERE YOU WANT IT CHOOSE THE OPTION THAT WORKS FOR YOU! Conferences, Seminars and Workshops Hear from experts and regulators in the profession, and network with your peers. In-Person

Here’s what the Baldrige Excellence Framework can do for you. Leadership Strategy Customers Workforce. RESULTS. Measurement, Analysis, and Knowledge Management. Integration. C o r e Values an d C o n c e p t s. Operations. Organizational Profile. Government Agency . Achieved 3.22 billion in cost avoidance over 5 years . Manufacturer. Grew return on investment at a 23% compound annual rate .