0% found this document useful (0 votes)
24 views

Chapter 4 Design and Implementation of Embedded Systems

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Chapter 4 Design and Implementation of Embedded Systems

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 23

POST AND TELECOMMUICATIONS INSTITUTE OF TECHNOLOGY

CHAPTER 4

Design and install


embedded systems

Faculty: Computer science – IT1


MAIN CONTENT

4.1. System design


4.2. Test installation
4.3. Complete product design

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 2


OVERVIEW OF EMBEDDED SYSTEM DESIGN
v Points to consider when designing HTN include:
v A system with components:
§ Processor
§ Memory
§ Peripherals
v Integrated system:
§ Microcontroller
§ Expanded microcontroller
§ Microprocessor based
§ Board based
v Software:
§ System software
§ Embedded application software, embedded application
algorithms.
www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 3
Chapter 4: EMBEDDED SYSTEM DESIGN

4.1 SYSTEM DESIGN

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 4


System design

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 5


System design

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 6


System design

performance attributes

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 7


System design

hardware testable properties

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 8


System design

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 9


System design

Example of building an embedded system performance


scenario :

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 10


Embedded System Design Phases

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 11


Hardware and software design planning

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 12


Embedded System design process
Design rules
v Knowledge base for HTN design: Computer science and electronic
engineering
v Circuit design with Verilog or VHDL hardware language (FPGA, ASIC);
v Technological capabilities and hardware technological limitations.
v The design must target specific application objects with the following trends:
§ Increased program code size: 16 – 64 KB up to 64kB to 512 KB
§ Reusing hardware (CPUs, micro-controllers, DSPs) and software (device drivers)
components,
§ There is high integration in one system (DSP, network, RF, 32-bit CPU,
Intelligent Input/Output-I2O type IO processors).
v Use available software, reusable software, open source code.
v Programming technology (programming languages, software development
systems);
v Circuit design (VLSI, ASIC format), electronic system design (digital,
analog);
v Real-time processing system (hard real-time, soft real-time).

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 13


Embedded System design process
Design steps
v Building Embedded System specifications and modeling Embedded systems will
design and experiment with algorithms
v Gather and describe basic hardware: base connection, communications,
microelectronics application computing technology, memory technology, devices
connected to the system.
v The software system will include: device control, middleware, operating system,
application software
v Partition and select parts of the design: hardware, software
v Use design simulation tools to run hardware and software simulations
v Critical software and hardware (time constraints) require testing and adjustment
v Test on hardware board (prototype) with selected CPU.
v Troubleshoot and tweak hardware and software;
v Complete the product.

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 14


Chapter 4: EMBEDDED SYSTEM DESIGN

4.2 INSTALLATION AND TESTING

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 15


Install and test
v Select CPU for design
§ Based on analyzing HTN requirements => Determine CPU
features
§ Criteria for CPU selection:
• What types of peripherals (sensors) will the EMBEDDED SYSTEM
connect to?
• How many programs and data space is needed for the system?
• How many interrupts does the system need?
• How many input/output ports will the design use?
• Which type of processing has the most critical-time constraints that the
CPU must perform?
• What types of development tools (for both hardware and software) are
available for the CPU to choose from?
• In the case of CPU on board, what is the actual cost?
• Are there any types of available devices that can be integrated into the
current system?
• How will the software work with the hardware and vice versa?….

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 16


Install and test
v Select Memory for design
§ Two issues in choosing Memory for embedded systems:
• Memory type and operating control technique,
• Content protection mechanism (separation between system memory
segments for the Operating System and segments for applications).
§ Criteria for selecting Memory for embedded systems:
• Memory technology
• CPU compatible
v Pair the device
§ Pairing devices in embedded systems includes:
• Similar information(analog)
• Digital information is digitized using functional microchips(ADC/DAC).
• Data communication
• Connection techniques (serial, parallel, DMA...)

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 17


Install and test
v Software Development
§ Write source code for EMBEDDED SYSTEMS
§ Operating system for EMBEDDED SYSTEMS
§ Download software to hardware
v Troubleshooting and simulation
§ Low level simulation
§ Troubleshooting on the board
§ Troubleshooting at the task level
§ Troubleshooting symbols
§ Optimize code
§ Xray –Look for radiographic errors
§ System development and simulation techniques
§ …

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 18


Install and test
v Embedded System development example
1) Board design with options:
§ CPU Intel 8085/8086,
§ ROM, RAM
§ Peripheral microcircuits : 74257, 74 244, 74245, 7474, 8253,
8255, 8237, UART 8250/16450/16550
2) http://www.beyondlogic.org/serial/serial2.htm
3) Developed HTN with Intel 8051 micro controller with KEIL Soft software.
4) EMBEDDED SYSTEM with PIC :
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=212
3&param=en022497
Currently on the market there is a board with PIC 16F877 with Development System software
for sale for 900,000.00 VND, suitable for practicing writing application programs. Once
proficient, you can design hardware with discrete microchips and develop specific
applications from simple to complex.
§ …
www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 19
Install and test
v Embedded System development
example
1) Hackster.io –Develop embedded system
projects:https://www.hackster.io/projects

2) Instructables.com – Community for people


who enjoy making and implementing
embedded systems

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 20


Chapter 4: EMBEDDED SYSTEM DESIGN

4.3 COMPLETE PRODUCT DESIGN

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 21


Design and develop product designs

§ Product design needs attention :


§ Product aesthetics
§ Size, weight, style and color
§ Select materials for product shells
§ Protection against external impacts such as drops and water.
§ Limit the cost of the product

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 22


Embedded product development lifecycle

§ Embedded product
development lifecycle
§ EDLC - embedded product
development life cycle :
“analysis-design-installation”

www.ptit.edu.vn BỘ MÔN: KHOA HỌC MÁY TÍNH – KHOA CNTT1 Trang 23

You might also like