Download presentation
Presentation is loading. Please wait.
Published byNancy Cole Modified over 9 years ago
1
B.RAMAMURTHY BINA@BUFFALO.EDU UNIVERSITY AT BUFFALO Introduction to Hardware (& Software) 5/30/2013 Amrita-UB-MSES-CSE524-2 1
2
Topics 5/30/2013 Amrita-UB-MSES-CSE524-2 2 Block diagram of general purpose computer vs. embedded system Electronic Control Unit (ECU) Evolution of embedded control units
3
3 General Purpose Computer System CPU - Central processing unit ALU - Arithmetic and logic unit ROM - Read only memory RAM - Random access memory Internal Memory Input Output CPU Control ALU External Memory 5/30/2013 Amrita-UB-MSES-CSE524-2
4
5/30/2013 4 Microprocessor CPU on a chip is a micrprocessor. Microprocessors are the enabling hardware for realtime systems. Examples: vending machines, mobiles phones, alarm systems, washing machines, motor car engine controllers, heart monitors, microwave ovens all operate using embedded microcontrollers running dedicated software. Amrita-UB-MSES-CSE524-2
5
Embedded System 5/30/2013 Amrita-UB-MSES-CSE524-2 5 CPU ControlALU Internal memory Ports This unit on a single chip is called a microcontroller
6
Bus Architecture (in general purpose systems) 5/30/2013 Amrita-UB-MSES-CSE524-2 6 CPU BUSBUS Memory Parallel IO controller Serial IO controller Interrupt controller DMA controller Why is this important? What is its relevance to automobile embedded system?
7
Embedded control unit 5/30/2013 Amrita-UB-MSES-CSE524-2 7 These are embedded systems controlling various major components of a modern automobile Called ECUs 100’s of ECU in a typical electronic controlled modern car Each ECU is an embedded system with its own dedicated function
8
Evolution of ECU 5/30/2013 Amrita-UB-MSES-CSE524-2 8 Long ago the automobiles controllers were all mechanical: levers and gears, relays, etc. : Generation 1 automobiles Some of the mechanical units were replaced by electronic devices. Eg. Electronic fuel injection system; : Generation 2. The few electronic control units were operating autonomously. In the next generation many ECUs were developed independently, and they also interacted with each other. Generation 3. Standards for ECUs were developed and platform-based system evolved resulting in Generation 4. Internal networks that enabled ECUs to interact. Next generation involves outside networks. Traffic information, vehicle to vehicle communication, realtime weather conditions, road conditions, emergency situations. Generation 5. Bottom-line is that there is tremendous opportunities for R&D and production capabilities in this area.
9
Activity#1 5/30/2013 Amrita-UB-MSES-CSE524-2 9 Identify some ECUs in a modern automobile and a possible qualitative requirement. ExampleJustification
10
Summary 5/30/2013 Amrita-UB-MSES-CSE524-2 10 We looked a very high level view of the hardware components in an embedded system. Also looked the relevance of embedded system modern automobile design. Most of the hardware such as system on a chip, VLSI will be covered other courses in this curriculum. In this course we will focus on software development for RTOS.
11
Software in C Language 5/30/2013 Amrita-UB-MSES-CSE524-2 11 Lets solve the problem below using C. Consider the number game shown in the next few slides.
12
The Number Game (1) 1357 9111315 17192123 25272931 5/30/2013 12 Amrita-UB-MSES-CSE524-2
13
The Number Game (2) 2367 10111415 18192223 26273031 5/30/2013 13 Amrita-UB-MSES-CSE524-2
14
The Number Game (4) 4567 12131415 20212223 28293031 5/30/2013 14 Amrita-UB-MSES-CSE524-2
15
The Number Game (8) 891011 12131415 24252627 28293031 5/30/2013 15 Amrita-UB-MSES-CSE524-2
16
The Number Game (16) 16171819 20212223 24252627 28293031 5/30/2013 16 Amrita-UB-MSES-CSE524-2
17
Analysis What is theory /concept behind this game? How did I arrive at the number you guessed? How can I automate this process? What is the data and what is the algorithm? How can we convey these to a computing machine? While a computer talks binary, we humans write programs in languages such as Java, C#, C++, Basic etc. Binary numbers (1’s and 0’s) is the number system used by the computer systems. We humans use decimal number system that has 10 distinct symbols (0,1,2,3,4,5,6,7,8,9) Your task: Write a C program to computerize this game. 5/30/2013 17 Amrita-UB-MSES-CSE524-2
18
1357 9111315 17192123 25272931 2367 10111415 18192223 26273031 16171819 20212223 24252627 28293031 4567 12131415 20212223 28293031 891011 12131415 24252627 28293031 5/30/2013 18 Amrita-UB-MSES-CSE524-2
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.