EC-3046-pendahuluan - Waskita Adijarto

advertisement
EC-3046 Perancangan Sistem
Embedded
Dosen: Waskita Adijarto
Kuliah EL3046 Perancangan Sistem Embedded
Dosen : Dr Waskita Adijarto ST, MT
Pola Penilaian:
• Tugas
: 20%
• UTS
: 40%
• UAS
: 40%
• Tugas, UTS & UAS wajib diikuti sebagai syarat kelulusan
Kuliah Prasyarat (Prerequisite)
• ELxxxx Rangkaian Logika & Teknik Digital
• EL3096 Sistem Mikroprosesor dan Lab
EL3046 Perancangan Sistem Embedded
2
Silabus singkat
• Pengenalan sistem embedded & Sistem Real Time
• Perancangan Sistem
• Model Sistem Embedded
– Flowchart
– Finite state machine (FSM) / State Chart
– Data Flow Diagram
• Bahasa pemrograman C untuk sistem embedded
• Teknik Pengembangan Sistem Embedded
– Unit Test
– Source Code Management / Revision Control System
• Penjadwal
– Penjadwal super loop / round robin
– Penjadwal Event Triggered (Pre Emptive & Non Pre emptive)
– Penjadwal kooperatif / Time Triggered
• RTOS (Real Time Operating System)
• Unit Test
• Source Code Management
EL3046 Perancangan Sistem
Embedded
3
Referensi Kuliah
Referensi Utama
• David E. Simon, “An Embedded Software Primer”, Addison-Wesley, 1999
• Jean J. Labrosse, “MicroC/OS-II The Real-Time Kernel”, R&D Books, Lawrence, 1999 (Bab 2)
Referensi Tambahan
• Ken Arnold, “Embedded Controller Hardware Design”, LLH Technology Publishing, 2000
(ebook ada)
• Pont, Michael J, "Patterns for Time Triggered Embedded Systems", ACM Books, 2001
• Berger, Arnold, "Embedded Systems Design: An Introduction to Processes, Tools, and
Techniques", CMP Books, Lawrence Kansas (ebook ada)
Links
• Homepage dari buku "Patterns for Time Triggered Embedded Systems" :
http://www.engg.le.ac.uk/books/Pont/pttes.htm
• Homepage buku “MicroC/OS-II The Real-Time Kernel” http://www.ucos-ii.com
Referensi yang tersedia online / lokal
• Software Keil, ada di CD Patterns for Time Triggered Embedded Systems []
• http://www.le.ac.uk/engineering/mjp9/pes1ho_a4.pdf []
• http://www.engg.le.ac.uk/mjp/data/pes2ho_a4.pdf []
EL3046 Perancangan Sistem
Embedded
4
Pengertian Sistem Embedded
• An embedded system is a special computer system
built into a larger device [1]
• Hardware & software which forms a component of
some larger system and which is expected to
function without human intervention[2]
• An application that contains at least one
programmable computer (uC, uP or DSP) and which
is used by individuals who are in the main, unaware
that the system is computer based [3]
• Any computer system hidden in any products [4]
[1] wikipedia
[2] hyperdictionary
[3] Patterns for Time Triggered Embedded Systems
[4] An Embedded Software Primer
EL3046 Perancangan Sistem
Embedded
5
Teknis Kuliah
• Mailing list: el3046@ee.itb.ac.id , untuk
mendaftar kirim email ke el3046subscribe@ee.itb.ac.id
• Situs web kuliah: akan diumumkan
EL3046 Perancangan Sistem
Embedded
6
Embedded systems (ES) = information processing
systems embedded into a larger product
Main reason for buying is not information processing
EL3046 Perancangan Sistem
Embedded
7
Macam-macam
Sistem Komputer
• Desktop (PC, notebook) : general purpose,
wordprocessing, scientific
• Embedded : built into a larger device
• Information processing : Web Server, database
EL3046 Perancangan Sistem
Embedded
8
Contoh Sistem Embedded (1)
Kendali proses:
•
Food processing (pabrik)
•
Chemical plants (pabrik)
Otomotif
•
Engine control
•
Antilock braking system
Pesawat Terbang
Kereta Api
Telekomunikasi
Office Automation
•
FAX machine
•
Copiers
Computer Peripherals
•
Printer
•
Terminal
•
Disk drive
•
Modem
•
Scanner
•
Mouse (optical)
EL3046 Perancangan Sistem
Embedded
9
Anti lock Braking System
EL3046 Perancangan Sistem
Embedded
10
Contoh Sistem Embedded (2)
Communication
• Switches
• Routers
Robot
Aerospace
• Flight management System
• Weapons Systems
• Jet engine controls
Domestic
• Microwave oven
• Dishwashers
• Washing machines
• thermostats
EL3046 Perancangan Sistem
Embedded
11
Contoh Sistem Embedded (3)
Automated Teller Machine
EL3046 Perancangan Sistem
Embedded
12
Contoh Sistem Embedded (4)
Buoy di laut dengan sensor lingkungan
EL3046 Perancangan Sistem
Embedded
13
Contoh Sistem Embedded
• Consumer Electronic
• Pabrik (proses kimia)
EL3046 Perancangan Sistem
Embedded
14
Contoh Sistem Embedded
• Robot
EL3046 Perancangan Sistem
Embedded
15
Mobile phones
• Multiprocessor
– 8-bit/32-bit for UI
– DSP for signals
– 32-bit in IR port
– 32-bit in Bluetooth
• 8-100 MB of memory
• All custom chips
• Power consumption &
battery life depends on
software
EL3046 Perancangan Sistem
Embedded
16
Mobile base station
• Massive signal processing
– Several processing tasks per
connected mobile phone
• Based on DSPs
– Standard or custom
– 100s of processors
EL3046 Perancangan Sistem
Embedded
17
Sistem embedded vs Komputer desktop (1)
(Dari Arnold S Berger, Embedded System Design)
Embedded
Desktop
Fungsi khusus
Fungsi umum
Banyak pilihan prosesor (dari 8 bit
sampai 64 bit)
Pilihan prosesor terbatas (Pentium,
AMD, PowerPC dsb)
Cost sensitive (harus murah)
Sedikit Mahal
Real time
Operating System umumnya realtime OS / RTOS
Operating System umumnya tidak
harus real-time OS : Unix,
windows
Kegagalan sistem umumnya
berakibat serius
Kegagalan tidak berakibat fatal
EL3046 Perancangan Sistem
Embedded
18
Sistem embedded vs Komputer desktop (2)
Embedded
Desktop
Daya terbatas (batere, solar cell)
Daya dari jala-jala
Sering dioperasikan pada tempat
yang alamnya kurang bersahabat:
Luar angkasa , Tengah laut,
Tempat dingin/panas
Sering dioperasikan di tempat
yang alamnya bersahabat
Sumber daya terbatas : RAM,
ROM, CPU
Sumber daya banyak: RAM
besar ,ROM besar, CPU cepat
Program disimpan di ROM
Program disimpan di hard disk /
magnetic media
EL3046 Perancangan Sistem
Embedded
19
Download