بررسی چالش کارکردهای بیدرنگ در سیستمهای نهفته

9
Embedded Systems The Challenge of Real-Time Operations Soheil Gholami [email protected] Software Freedom Day Sharif University of Technology 29th September 2016 Soheil Gholami 9/29/2016 Embedded Systems 1/9

Upload: -

Post on 18-Jan-2017

30 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: بررسی چالش کارکردهای بیدرنگ در سیستمهای نهفته

Embedded SystemsThe Challenge of Real-Time Operations

Soheil Gholami

[email protected]

Software Freedom DaySharif University of Technology

29th September 2016

Soheil Gholami 9/29/2016 Embedded Systems 1 / 9

Page 2: بررسی چالش کارکردهای بیدرنگ در سیستمهای نهفته

Outline

• Real-Time Operations

• Embedded systems

• Solutions to Real-Time Problem

• Sample Challenge

• Presented Solution

Soheil Gholami 9/29/2016 Embedded Systems 2 / 9

Page 3: بررسی چالش کارکردهای بیدرنگ در سیستمهای نهفته

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

Page 4: بررسی چالش کارکردهای بیدرنگ در سیستمهای نهفته

Embedded systems

• Operating systems

• Jitter time

Jitter

Soheil Gholami 9/29/2016 Embedded Systems 4 / 9

Page 5: بررسی چالش کارکردهای بیدرنگ در سیستمهای نهفته

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

Page 6: بررسی چالش کارکردهای بیدرنگ در سیستمهای نهفته

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

Page 7: بررسی چالش کارکردهای بیدرنگ در سیستمهای نهفته

Example 1, Cont’d

• Servo Motor

Soheil Gholami 9/29/2016 Embedded Systems 7 / 9

Page 8: بررسی چالش کارکردهای بیدرنگ در سیستمهای نهفته

Example 2: Solution for Example 1

• Using a free hardware such as Arduino Due

Soheil Gholami 9/29/2016 Embedded Systems 8 / 9

Page 9: بررسی چالش کارکردهای بیدرنگ در سیستمهای نهفته

Do-Time

Soheil Gholami 9/29/2016 Embedded Systems 9 / 9