بررسی چالش کارکردهای بیدرنگ در سیستمهای نهفته
TRANSCRIPT
Embedded SystemsThe Challenge of Real-Time Operations
Soheil Gholami
Software Freedom DaySharif University of Technology
29th September 2016
Soheil Gholami 9/29/2016 Embedded Systems 1 / 9
Outline
• Real-Time Operations
• Embedded systems
• Solutions to Real-Time Problem
• Sample Challenge
• Presented Solution
Soheil Gholami 9/29/2016 Embedded Systems 2 / 9
Real-time concept
• Real-time computing (RTC)• Real-time operating system (RTOS)
Library
Hardware
Application
Linux Kernel
C Library
Read
/Writ
e Re
ques
t
Resp
onse
Soheil Gholami 9/29/2016 Embedded Systems 3 / 9
Embedded systems
• Operating systems
• Jitter time
Jitter
Soheil Gholami 9/29/2016 Embedded Systems 4 / 9
Solutions
1 Interface• Serial, I2C, ISP, . . .• USB, Ethernet, Wi-Fi, Bluetooth
2 Co-hardware
3 Driver
Soheil Gholami 9/29/2016 Embedded Systems 5 / 9
Example 1: Servo motor control with Raspberry Pi
What you need:
• Raspberry Pi 3
• Servo Motor SG92R
USB
EthernetPower HDMI
Soheil Gholami 9/29/2016 Embedded Systems 6 / 9
Example 1, Cont’d
• Servo Motor
Soheil Gholami 9/29/2016 Embedded Systems 7 / 9
Example 2: Solution for Example 1
• Using a free hardware such as Arduino Due
Soheil Gholami 9/29/2016 Embedded Systems 8 / 9
Do-Time
Soheil Gholami 9/29/2016 Embedded Systems 9 / 9