Professional Documents
Culture Documents
Lecture- 02
Birla Institute of Technology and Science, Pilani, (India) Email: rrsingh@bits-pilani.ac.in Course - Home: http://discovery.bitspilani.ac.in/discipline/eee/rrsingh/ESD-Home-OnCampus.htm
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
Outline (Lecture-02)
Components (Hardware and Software) in Embedded Systems Classifications of Embedded Systems Design Challenges, Metrics, Methodology Research Areas in Embedded Systems
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
Program Memory (EEPROMs, Flash etc.) and Data Memory (RAMs, SRAMs etc.)
Interrupt Controller
Output Devices (LEDs, Relays LCDs etc.) Interfacing / Driver Circuits (DACs etc)
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
2.
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
H/W and S/W complexities Design methods Programming and Development Tools
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
Classification (Cont..)
Features
Constraints
Small scale
- less memory available - power dissipation Not needed
Medium scale
w.r.t. h/w and s/w complexities ASSPs and IPs needed (e.g. bus interfacing, encrypting /decrypting, DCTs, TCP/IP protocol stacking and network connecting functions etc.) -C and RTOS - program modeling skills - hardware organization - use of APIs for a specific microcontrollers
Sophisticated
Processing speeds of hardware units reduce performance and speed Needed (implemented in hardware to maximize speed by saving time) Some hardware resources in the system are also implemented by software. Embedded sys. h/w designer: Full skills in hardware units and basic knowledge of C, RTOS and other programming tools. Embedded sys. s/w designer: basic knowledge in hardware, thorough knowledge of C, RTOS and other programming tools.
- microcontrollers, - computer architecture - digital electronic design - software engg. - data communication - control enng. - motors and actuators - sensors and measurements - analog electronics design - IC design etc.
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
Design Challenges
.
External Constraints - How much hardware do we need? (too little-> deadlines missed / too much -> too expensive) - How do we meet deadlines? (Increased CPU clock-rate may not speed up execution time, maybe due to the memory speed) - How do we minimize power consumption? (increased consumption -> more heat, slowing down digital systems -> missed deadlines) - How do we design for upgradeability? (s/w compatibility for different hardware platforms when the s/w itself is not written) - Does it really work? (how reliable are the developed systems?) Internal Constraints - challenges posed by the characteristics of the components and systems themselves
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
Design Metrics
.
Nonrecurring engineering (NRE) Cost: One time design cost Unit Cost: monetary cost of manufacturing each copy of the system, excluding NRE cost. Size: Physical space required by the system. (s/w -> bytes, h/w -> transistors and gates) Performance: The execution time or throughput of the system. Power Consumption: amount of power consumed by the system (lifetime of a battery, cooling requirements of the IC i.e. more power -> more heat). Flexibility: ability to change the functionality of the system without incurring heavy NRE cost. (e.g. software) Time-to-prototype: time needed to build a working version of a system. Works as a yardstick to verify the products usefulness and correctness as well as to refine and fine tune the product. Time-to-market: time required to develop a system to the point that it can be released and sold to the customers. (design time + manufacturing time + testing time = time-to-market)
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
Maintainability: the ability to modify the system after its initial release. Correctness: measure of the confidence that the built system functions correctly (throughout the design process using test circuitry). The Performance Design Metric: measure of how long the system takes to execute our desired tasks - Latency or Response Time: time between the start of the tasks execution and end (e.g time to process an image = 0.20 sec). - Throughput: number of tasks processed per unit time (e.g a camera may process 4 images/sec)..
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
Design Methodology
Overall System Specifications
(requirement, problem definition, intended purpose, inputs and outputs, abstract level specifications)
Task Specifications
(complete interconnections)
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
Processors and IC Design System software Reconfigurable computing hardware Sensor Networks Low-cost Low-power systems Communication protocols Security and authentication Distributed Networked Embedded Systems Embedded Internet RTOS Smart Devices Heterogeneous computing architectures Biomedical Electronics And many more ------
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
ARM-7 based Keil NXP LPC2370 Evaluation Board: NXP LPC2378 (32-bit flash based microcontroller) Atmel 8051 / C251 Keil MCBx51 Evaluation Board: 89C51RD2 (8-bit flash based controllers) TSC80252G2D (8/16-bit flash based controllers) Microchip PIC 16F877 Microcontroller (8-bit) Trainer Kit CY8C29466-24PXI PSoC EVAL1 Kit CY3210 PSOC EVAL1 Kit CY3209 Express EVK Kit CY3271 Reexpansion Kit CY3271 First Touch
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
Real view microcontroller development kit from Keil for ARM and 8051 Family MPLAB IDE for PIC controllers PICC ANSI C compiler from High-tech Software
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
Microcontrollers (development boards and emulators): Motorola - HC05 (M68HC05PF / M68Hc705JICS / M68HC05L16 etc. ) - HC08 (M68EM08AZ32 etc.) - HC11 (M68HC11EVS / M68EM11K4 etc.) - HC12 (M68HC12A4EVB / M68HC12B32EVB etc.) - DSP Kits (DSP 56002 EVM / DSP56009EVM etc.) ST Microelectronics - ST7 (ST7HDS2) FPGA kit - from Altera - Nios II IDE
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
Microcontrollers Programming Hardware Development and Testing Besides these ,You would also like to learn Real Time Operating Systems (RTOS) Programming using RTOS specific development environment Application Development for Set top boxes Application Development for Simputer Scope of learning is unlimited!!!!!!!!!!!!!!!!!!!
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
http://www.keil.com/
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
Software Tools
.
http://www.keil.com/
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
Evaluation Components?
.
Assignment Set -1 - Assembly language programming - Mini hardware project (?) Assignment Set 2 - Final hardware project - Demo of final hardware project Test 1 Test 2 Comprehensive Examination 9th October, 2010 20th November, 2010 10th December, 2010
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
Bibliography
.
Wolf, Wayne, Computers as Components Principles of Embedded Computing System Design, Second Edition, Morgan-Kaufmann, 2008. Raj Kamal, Embedded Systems, Tata McGraw Hill, New Delhi, 2003 Phen Edwards, Luciano Lavagno, Dward A. Lee.Alberto SangiovanniVincentelli , Design of Embedded Systems: Formal Models, Validation, and Synthesis, Proceedings of The IEEE, Vol. 85, No. 3, March 1997, page-366-390 J.A. Debardelaben, V. K. Madisetti, A. J. Gadeint, Incorporating Cost Modeling in Embedded-System Design, IEEE Design and Test of Computers, July-September-1997, Page 24-35 Ian F. Akyilidiz, Weilian Su, Yogesh Sankarsubrmaniam, and Erdal Cayirci, A Survey on Sensor Networks, IEEE Communications Magazine, August 2002.
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
Next Lecture
.
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India
Thank You!
These lecture slides have been prepared for the benefits of the registered students of the course Embedded System Design ( EEE G512) of BITS Pilani. Anybody who may wish to use these slides for educational purpose could use it without any explicit permission. Any kind of redistribution, alteration, and commercial use of this material is strictly prohibited.
Embedded System Design (EEE G512), 2010, Rajiv Ranjan Singh, BITS Pilani, India