Professional Documents
Culture Documents
Mod 1 Intro 2023 24
Mod 1 Intro 2023 24
EMBEDDED SYSTEMS
MODULE 1 : CLASS LOGISTICS AND
INTRODUCTION
LOGISTICS
• INSTRUCTOR • Class schedule
• DR. VINCENT TAM • Tuesday 16:30-18:20, MB-256
• CB707 • Friday 17:30-18:20, MB-256
• EMAIL: VTAM@EEE.HKU.HK
• Assessment
• CONSULTANCY
• Labs : 20%
• BY APPOINTMENT THROUGH EMAILS (PLS. CHECK
• Final Grp. Proj. Presentation &
MY TIMETABLE ON THE COURSE MOODLE)
Video (1~2 min) : 42%
• TEACHING ASSISTANTS • Test: 38%
• DING YE & WU TAIQIANG
• Late submission for Final Prj.
• EMAILS:
DINGYE95@CONNECT.HKU.HK &
Video
TAKIWU@CONNECT.HKU.HK
• Penalty of 2% per day
2
Basically, we
can clearly see
that AI or GenAI
has great influence
on many areas of
embedded systems
including the design
and optimization
aspects that we will later
discuss in more detail
in this course.
ELEC3442 Embedded Systems 9
WHAT IS AN EMBEDDED SYSTEM?
It has many names:
• Cyber-physical system
• Internet of Things (IoT)
• Industrial Internet
• Systems of systems
• Industry 4.0
• Internet of Everything
• Smart <Everything>
Main functions
• Integration of computation with physical processes, defined by their combination
ELEC3442 Embedded Systems 10
FORMAL DEFINITIONS
• EMBEDDED SYSTEMS (ES) ARE INFORMATION PROCESSING SYSTEMS EMBEDDED INTO
ENCLOSING PRODUCTS
• EMBEDDED SOFTWARE IS SOFTWARE INTEGRATED WITH PHYSICAL PROCESSES. THE
TECHNICAL PROBLEM IS MANAGING TIME AND CONCURRENCY IN COMPUTATIONAL
SYSTEMS (- TO BE DISCUSSED LATER IN MOD-3)
• CYBER-PHYSICAL SYSTEMS (CPS) ARE INTEGRATIONS OF COMPUTATION AND PHYSICAL
PROCESSES
• LINK TO PHYSICAL QUANTITIES SUCH AS TIME, ENERGY AND SPACE
• CPS = ES + PHYSICAL ENVIRONMENT
Cyber-physical systems
Embedded systems
("computers in
physical environments")
Embedded systems
("small computers")
12
14
1. INTRODUCTION
3. CPS/ES HARDWARE
5. EVALUATION
7. OPTIMIZATION
8. TEST
You may
• Bring new things to life
• Establish your own startup
• Pledge your project on Kickstarter
Umbrella Here - Light up your umbrella for sharing Remix Mini - The World's First True Android PC
https://youtu.be/4vGcH0Bk3hg
EXAMPLE: SMART LIGHTING SOLUTION
+ +
ELEC3442 Embedded Systems 25
TRADITIONAL REFRIGERATOR VS. INTELLIGENT
REFRIGERATOR
• Keep items cold Tell you
• Does not do much else • When the door is ajar
• When the water filter needs replacing
• When you are low on butter
• When you buy foods with high fat content
• What recipes match its contents
26
• Social isolation
• Dependence on technology and infrastructure
• IoT requires power and network
• Network outages and blackouts are more
critical
Mobile access
COMPUTERS AND MOBILES ARE DISAPPEARING!
• Predictions: 7 trillions devices servicing 7 billion people!
• 1000 devices per person by 2025 ?!
• ES MUST BE EFFICIENT
• ENERGY EFFICIENT
• RUN-TIME EFFICIENT
• CODE-SIZE EFFICIENT
• WEIGHT EFFICIENT
• COST EFFICIENT
43
44
© Graphics: Microsoft, P.
Marwedel, 2011
REAL-TIME CONSTRAINTS
• CPS MUST MEET REAL-TIME CONSTRAINTS
• A REAL-TIME SYSTEM MUST REACT TO STIMULI FROM THE CONTROLLED OBJECT
(OR THE OPERATOR) WITHIN THE TIME INTERVAL DICTATED BY THE
ENVIRONMENT.
execute
t
• HYBRID SYSTEMS
(ANALOG + DIGITAL PARTS). 48
• WHY?
• DISAPPEARING COMPUTER
• SITUATION IS SLOWLY CHANGING HERE: SYSTEMS BECOME LESS DEDICATED, E.G., IN SMART
PHONE
ES-hardware Test *
Application mapping
Generic loop: tool chains differ in the number and type of iterations
ELEC3442 Embedded Systems 52
ITERATIVE DESIGN (1): - AFTER UNROLLING LOOP -
• EXAMPLE: V-MODEL
Requirement
analysis System
architecture System
design Software
architecture
Software
design
Unit
Integration tests
System testing
integration
Acceptance
& use Skipping some explicit repository updates;
ELEC3442 Embedded Systems very late integration, problems may be missed .. 54
ITERATIVE DESIGN (3): - GAJSKI‘S Y-CHART -
57
58
CPU 900 MHz 32-bit 1.2 GHz 64-bit quad- 1.5 GHz 64-bit quad-
quad-core ARM core ARM Cortex-A53 core Cortex-A72 (ARM
Cortex-A7 v8)
On-board MicroSD MicroSD, USB boot mode MicroSD, USB boot mode
storage
On-board 10/100 Mbit/s 10/100 Mbit/s Ethernet, 2.4 GHz and 5.0 GHz
network Ethernet 802.11n wireless, IEEE 802.11b/g/n/ac
Bluetooth 4.1 wireless LAN, Bluetooth
5.0, Gigabit Ethernet
Power ratings 600 mA (3.0 W) 800 mA (4.0 W) 540 mA (2.7 W) [idle] 59
1010 mA (5.1 W) [100%]
ELEC3442 Embedded Systems
COMMONLY USED CIRCUIT COMPONENTS
Camera
ARDUINO UNO
RASPBERRY PI AS AN OPERATING SYSTEM
Application
Application
Library
functions
Microcontroller
System calls
Application
https://youtu.be/m-qSBGu9FBI https://youtu.be/Wk76UPRAVxI
https://youtu.be/CDJ87UMOsE8
RASPBERRY PI RFID DOOR ACCESS SYSTEM
https://youtu.be/uRb0gY0AAH0
ELEC3442 Embedded Systems 67
LEGO ROBOT
https://youtu.be/LLFfQI5LlBo
ELEC3442 Embedded Systems 68
A Emotion/Learning Analytics Project – in Collab with Fac. of
Edu@HKU (2020)
Local
Area
Network
URL : https://developer.nvidia.com/embedded/jetson-nano-developer-kit
GROUP PROJECT
• Form groups of 2 or 3 (for fairness, a larger project scope or more system features to be
expected for a group of 3)
• Design a brand new application using Raspberry Pi
• Direct adoption of existing projects is strictly prohibited
• Criteria
• SenseHAT, camera OR other sensors
• Data processing thru’ S/W OR H/W
• Data analytics OR visualization
• For each group, conduct a final presentation & demo. during the assigned slot ar. the end of
semester AND a short video (of 1 ~ 2 mins) highlighting
• Names of the members
• Description of the project
• Attractive/Unique Features
• Equipment required
• Tentatively Due on Apr 22, 2024 (Mon) – 23:55, submission through Moodle [with the final 72
due date to be confirmed on the course Moodle platform]
ELEC3442 Embedded Systems