8/12/2016 Chapter 2 1 ĐẠI HỌC QUỐC GIA TP.HỒ CHÍ MINH TRƯỜNG ĐẠI HỌC BÁCH KHOA KHOA ĐIỆN-ĐIỆN TỬ BỘ MÔN KỸ THUẬT ĐIỆN TỬ 1 Embedded System Design Chapter 2: Develop a project of embedded system design 1. Design Process 2. Design Issues 3. Technology selection 4. Project plan Bộ môn Kỹ Thuật ĐiệnTử - ĐHBK 1. Embedded System Design Process • Several models can be applied for embedded system design – The waterfall model: in which there is a process for developing a system in steps, where results of one step flow into the next step. – The spiral model: in which there is a process for developing a system in steps, and throughout the various steps, feedback is obtained and incorporated back into the process. – Consecutive refinement model • Most followed and simple model for building an Embedded System is Waterfall model Chapter 2 2
18
Embed
1. Embedded System Design Processtqvinh/Lectures/ESD/ESD-Ch2_2016.pdf · 1. Embedded System Design Process • Several models can be applied for embedded system design – The waterfall
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
8/12/2016
Chapter 2 1
ĐẠI HỌC QUỐC GIA TP.HỒ CHÍ MINHTRƯỜNG ĐẠI HỌC BÁCH KHOA
KHOA ĐIỆN-ĐIỆN TỬ BỘ MÔN KỸ THUẬT ĐIỆN TỬ
11
Embedded System Design
Chapter 2: Develop a project of embedded system design
1. Design Process
2. Design Issues
3. Technology selection
4. Project plan
Bộ môn Kỹ Thuật Điện Tử - ĐHBK
1. Embedded System Design Process
• Several models can be applied for embedded system design– The waterfall model: in which there is a process for developing a
system in steps, where results of one step flow into the next step.
– The spiral model: in which there is a process for developing a system in steps, and throughout the various steps, feedback is obtained and incorporated back into the process.
– Consecutive refinement model
• Most followed and simple model for building an Embedded System is Waterfall model
Chapter 2 2
8/12/2016
Chapter 2 2
Bộ môn Kỹ Thuật Điện Tử - ĐHBK
1. Embedded System Design Process
3
Requirement definition
System specification
System partitioning
SW development
•Application SW•Compilers•Operating
Interface design
•SW driver•HW interface•User interface
HW design
•HW architecture•HW synthesis•Physical design
Integration and testing Reused components
Customers
System
architects
SW developer HW designer
CAD tools
Meet requirement?
No
YesDelivery and maintenance Chapter 2
Bộ môn Kỹ Thuật Điện Tử - ĐHBK
1.1. System Specification
4
1. Product Specification
2. Engineering Specification
3. Hardware Specification
4. Software Specification
5. Test Specification
Describe how the product will be.
Describe what board, subsystem, and
firmware will be used.
Describe how the board will be
implemented and how it works.
Describe how the software will be
implemented.
Describe how the system will be tested.
Documents for System Specification
Chapter 2
8/12/2016
Chapter 2 3
Bộ môn Kỹ Thuật Điện Tử - ĐHBK
1.1. System Specification1. Product Specification:
– What the system is to do
– What the user interface is
– What the real world I/O consists of
– What the external interface to other system is (if any)
– What are the constraints? (speed, stability, low power, cost )
• Example: Oven temperature control system
– Functions: control the heater and the fan of an oven
– I/O: temperature sensor, heater port, fan port
– User interface: LCD display, keypad
– External interface: UART
5Chapter 2
Bộ môn Kỹ Thuật Điện Tử - ĐHBK
1.1. System Specification
2. Engineering Specification:
– What kind of hardware will be used
– What are the requirements for hardware and software
• Example: Oven temperature control system
– 8051 microcontroller, LM35 sensor, LCD 16x2-B, ADC0809, RS232 IC
– Requirements• PID control algorithm
• real-time processing
• Display current temperature value
• able to set operating temperature value
• Transfer data to computer through UART
6Chapter 2
8/12/2016
Chapter 2 4
Bộ môn Kỹ Thuật Điện Tử - ĐHBK
1.1. System Specification
3. Hardware Specification:
– The requirements from engineering documents
– How the hardware implements the functionality
– The software interfaces to the hardware
• Example: Oven temperature control system
– PIC Microcontroller 12MHz, sensor LM35, LCD 16x2-B, Keypad 16, ADC0809, FET IRF260 for heater/fan control
– Microcontroller reads temperature value from LM35 through ADC, display this value to LCD, and then control heater and fan based on PID control algorithm
– Teams bring together complementary skills and experiences
– Teams establish communication to support real-time problem solving
– Teams develop decisions by consensus rather than by authority
28Chapter 2
8/12/2016
Chapter 2 15
Bộ môn Kỹ Thuật Điện Tử - ĐHBK
Team Contract
29
TEAM CONTRACT
Team name: BK1 Date: 26 Aug. 2014
Team member Roles Signature
Nguyễn Văn A Leader, system engineer
Trần Văn B Hardware design
Nguyễn Thị C Software design
Tasks Responsible member
1. Develop system architecture Nguyễn Văn A
2. Design hardware Trần Văn B
3. Develop software Nguyễn Thị C
4. Integrate and test All
Team meeting 9AM, Wednesday, weekly
Team rules 1. Participate in all team meetings2. Listen carefully to all comments at meetings3. Complete all assigned tasks before deadlines4. Focus on results rather than excuses after.
Chapter 2
Bộ môn Kỹ Thuật Điện Tử - ĐHBK
Build a plan
• Project planning activities
30
Identify the task
Develop teams
Develop schedule
Estimate time
Plan tasks
Approve plan
Refine plan
Proceed plan
Cancel plan
Chapter 2
8/12/2016
Chapter 2 16
Bộ môn Kỹ Thuật Điện Tử - ĐHBK
Project plan example (1)Project planning
Team name BK_DEE
Product name Home security system
Main features -Fire alarm-Door alarm-Send warning to home owner
Estimated Time 3 months (8 hours / a day)Start: 20 Aug. 2014 End: 20 Nov. 2014