Smartphones Introduction to Embedded Systems...

6
Introduction to Embedded Systems Research: Applications: smartphones and wireless sensor networks Robert Dick [email protected] Department of Electrical Engineering and Computer Science University of Michigan 2 3 4 5 6 7 8 0 1 2 3 4 5 6 7 8 Power (mW) Time (s) 35 40 45 50 55 60 65 70 75 80 85 90 -8 -6 -4 -2 0 2 4 6 8 -8 -6 -4 -2 0 2 4 6 8 35 40 45 50 55 60 65 70 75 80 85 90 Temperature (°C) Position (mm) Temperature (°C) Smartphones Wireless sensor networks Deadlines and announcements Embedded system diagram 2 R. Dick EECS 598-13 Smartphones Wireless sensor networks Deadlines and announcements Outline 1. Smartphones 2. Wireless sensor networks 3. Deadlines and announcements 3 R. Dick EECS 598-13 Smartphones Wireless sensor networks Deadlines and announcements History Many smartphone-like devices in mid-2000s, but not widespread. Started to become popular in late 2000s. 2.7 billion in world now. Still growing. Desktops and laptops are not. Illustrates mispredictions by authorities. These are toys. Windows will beat Unix-like OSs. 4 R. Dick EECS 598-13

Transcript of Smartphones Introduction to Embedded Systems...

Page 1: Smartphones Introduction to Embedded Systems Researchziyang.eecs.umich.edu/iesr/lectures/l11-2x2.pdf · 2019-04-26 · 5 R. Dick EECS 598-13 Smartphones Wireless sensor networks Deadlines

Introduction to Embedded Systems Research:Applications: smartphones and wireless sensor networks

Robert Dick

[email protected] of Electrical Engineering and Computer Science

University of Michigan

1.1040

2.1041

385

2.1039

704

1.1039

36

2.1040

1734

0.1039

1

3.1040

4

4.1039

642

3.1039

4.1040

409

3.1041

396665

5.1042

108612774

5.1040

337

4.1041

10644

6.1044

117

6.1039

609

6.1045

164

6.1040

841434 723938

6.1042

209

5.1041

4 12 164

5.1045

529417

5.1044

140105 88

5.1039

154 10551 90677

7.1039

1248

7.1047

2106

7.1040

29773362 241966 22903106

6.1041

3119 1936 40

6.1047

4128 253

8.1050

4

8.1042

9.1050

24784

8.1039

89632

8.1044

2840

8.1040

1088

9.1039

10.1040

4

11.1039

957

10.1050

144

11.1040

156

10.1041

32 16

10.1047

87780

10.1045

2152

10.1039

1165

12.1040

145

13.1052

2404

12.1042

24

12.1045

33008

12.1044

8217

12.1041

8

12.1039

135427

14.1049

113

14.1040

229

13.1050

132

13.1042

74433

13.1041

17187

13.1040

2715

13.1039

170059 90

15.1040

16

15.1050

242 1225

14.1050

237

14.1042

6200

14.1041

4

14.1044

720

14.1052

20

14.1039

84 36939

16.1040

88

15.1049

6

15.1039

56

17.1054

2919

16.1050

129

16.1041

36

16.1047

49154

16.1045

2632

16.1049

27

16.1052

16

16.1039

222734

18.1048

133

18.1039

3439

18.1040

241

17.1050

16

18.1049

36 339224

17.1042

172832

17.1041

49620 448

17.1040

1376493 2883

17.1045

72

17.1044

1073

17.1049

55441826

17.1048

124 3648290

17.1052

3547

17.1039

2484110477445

17.1047

24

19.1040

72

19.1039

6 88 60631617

18.1041

28 76

18.1047

3305

18.1054

13744

20.1040

109

20.1039

269

19.1052

8

19.1047

11712

19.1049

10

19.1054

7520

21.1039

82

20.1049

5

20.1047

4896

20.1054

864

22.1040

4

22.1050

23.1040

4

22.1039

144

24.1058

3389

23.1050

76

24.1040

4

23.1042

17528

23.1041

4

23.1054

24

23.1044

6234

23.1058

261

23.1049

4

23.1052

2944

23.1039

3069658

25.1040

80

24.1050

4

24.1039

58

25.1039

26.1040

4

27.1039

489

26.1050

4

27.1040

4

26.1047

3808

26.1045

2248

26.1058

113 80

26.1049

11

26.1039

66

26.1054

840

28.1055

84266 1542

27.1042

1229

27.1041

29619

27.1058

12

27.1049

3984

27.1048

35337

29.1040

262

29.1056

164

29.1039

742

28.1050

4 2464

28.1042

2137912

29.1055

1128

28.1041

4 2633 4

28.1040

2716132 691

28.1058

24 84 32

28.1049

36176 3

28.1048

1192 48

28.1039

365 110957 24475

29.105029.104229.104129.104729.104529.105829.104929.105229.1054

2

3

4

5

6

7

8

0 1 2 3 4 5 6 7 8P

ow

er

(mW

)

Time (s)

35 40 45 50 55 60 65 70 75 80 85 90

-8 -6 -4 -2 0 2 4 6 8

-8

-6

-4

-2

0

2

4

6

8

35 40 45 50 55 60 65 70 75 80 85 90

Temperature (°C)

Position (mm)

Temperature (°C)

SmartphonesWireless sensor networks

Deadlines and announcements

Embedded system diagram

2 R. Dick EECS 598-13

SmartphonesWireless sensor networks

Deadlines and announcements

Outline

1. Smartphones

2. Wireless sensor networks

3. Deadlines and announcements

3 R. Dick EECS 598-13

SmartphonesWireless sensor networks

Deadlines and announcements

History

Many smartphone-like devices in mid-2000s, but notwidespread.

Started to become popular in late 2000s.

2.7 billion in world now.

Still growing. Desktops and laptops are not.

Illustrates mispredictions by authorities.

These are toys.

Windows will beat Unix-like OSs.

4 R. Dick EECS 598-13

Page 2: Smartphones Introduction to Embedded Systems Researchziyang.eecs.umich.edu/iesr/lectures/l11-2x2.pdf · 2019-04-26 · 5 R. Dick EECS 598-13 Smartphones Wireless sensor networks Deadlines

SmartphonesWireless sensor networks

Deadlines and announcements

Properties

Compact.

Battery-powered.

Wireless communication.

Run third-party installable software.

Many sensors.

Physically accessible.

5 R. Dick EECS 598-13

SmartphonesWireless sensor networks

Deadlines and announcements

Security

Sensors.

Information leakage (more on this).

Phishing and network attacks.

6 R. Dick EECS 598-13

SmartphonesWireless sensor networks

Deadlines and announcements

Taint tracking, e.g., TaintDroid

Track flow of secrets to untrusted applications.

Credit Enck, Gilbert, Han, et al., TaintDroid...

7 R. Dick EECS 598-13

SmartphonesWireless sensor networks

Deadlines and announcements

Connectivity

Infrastructure 802.11.

Cellular infrastructure.

Bluetooth.

Possible future directions

LPWAN.

Infrastructureless / DTN.

Example: Weather Channel app.

8 R. Dick EECS 598-13

Page 3: Smartphones Introduction to Embedded Systems Researchziyang.eecs.umich.edu/iesr/lectures/l11-2x2.pdf · 2019-04-26 · 5 R. Dick EECS 598-13 Smartphones Wireless sensor networks Deadlines

SmartphonesWireless sensor networks

Deadlines and announcements

Common sensors

IMUs: gyroscopes, accelerometers, and magnetometers.

Optical reflection proximity.

Sound: allows much more than voice communication.

Light.

Barometer.

GPS.

Touch.

Temperature.

9 R. Dick EECS 598-13

SmartphonesWireless sensor networks

Deadlines and announcements

Future

If someone were to design the ultimate privacy undermining device, it wouldlook a lot like a modern smartphone.

Mobile and distributed financial transactions.

Power production and delivery analogy?

UI for the IoT?

10 R. Dick EECS 598-13

SmartphonesWireless sensor networks

Deadlines and announcements

Outline

1. Smartphones

2. Wireless sensor networks

3. Deadlines and announcements

11 R. Dick EECS 598-13

SmartphonesWireless sensor networks

Deadlines and announcements

History

Research from late 1990s.

Several companies founded around 2000.

Commonly used in agricultural, civil engineering, environmental engineering,security,commercial status tracking, and biology applications.

12 R. Dick EECS 598-13

Page 4: Smartphones Introduction to Embedded Systems Researchziyang.eecs.umich.edu/iesr/lectures/l11-2x2.pdf · 2019-04-26 · 5 R. Dick EECS 598-13 Smartphones Wireless sensor networks Deadlines

SmartphonesWireless sensor networks

Deadlines and announcements

Properties

Very compact: square inches of area to grain-of-rice are typical.

Inexpensive:$60 off the shelf, less in volume.

Wireless, often with horrible wireless communication environment.

Have a variety of sensors.

Generally don’t actuate or directly implement control algorithms.

Tight energy consumption constraints.

Hard to design for application experts.

Often difficult to physically access.

13 R. Dick EECS 598-13

SmartphonesWireless sensor networks

Deadlines and announcements

Sensors

Yes.All of them.

14 R. Dick EECS 598-13

SmartphonesWireless sensor networks

Deadlines and announcements

Power consumption

3 W-h in a AA alkaline cell.

50 µW a reasonable average power target.

1/10,000 that of a Christmas tree light.

Solar common.

Sometimes disposable: RoHS. Is this littering?

15 R. Dick EECS 598-13

SmartphonesWireless sensor networks

Deadlines and announcements

Connectivity

Image credit Aksel Bondø.

Star.

Tree.

Mesh.

Defect/delaytolerant network.

16 R. Dick EECS 598-13

Page 5: Smartphones Introduction to Embedded Systems Researchziyang.eecs.umich.edu/iesr/lectures/l11-2x2.pdf · 2019-04-26 · 5 R. Dick EECS 598-13 Smartphones Wireless sensor networks Deadlines

SmartphonesWireless sensor networks

Deadlines and announcements

Routing

AODV

Nodes broadcast and state ultimate destination.

Nodes with knowledge of appropriate routes forward.

Directed diffusion

Nodes request (transitive) data needs.

Sensors (transitively) respond.

Geographic routing: route around holes / escape local minima.

17 R. Dick EECS 598-13

SmartphonesWireless sensor networks

Deadlines and announcements

Security

Sensor spoofing.

Sybil: create many false identities.

Wormhole: move messages to remote locations in network.

Sinkhole: gather and destroy messages.

Snooping.

DoS.

Malicious reports.

18 R. Dick EECS 598-13

SmartphonesWireless sensor networks

Deadlines and announcements

Future

Integration into IoT, with actuation and control becoming more common.

Energy pressure to high levels of local analysis and decision making.

Others?

19 R. Dick EECS 598-13

SmartphonesWireless sensor networks

Deadlines and announcements

Outline

1. Smartphones

2. Wireless sensor networks

3. Deadlines and announcements

20 R. Dick EECS 598-13

Page 6: Smartphones Introduction to Embedded Systems Researchziyang.eecs.umich.edu/iesr/lectures/l11-2x2.pdf · 2019-04-26 · 5 R. Dick EECS 598-13 Smartphones Wireless sensor networks Deadlines

SmartphonesWireless sensor networks

Deadlines and announcements

Deadlines and announcements

28 February: Midterm exam in class period.

21 R. Dick EECS 598-13