singapore summer internship at sutd smart systems, sutd ... · summer internship at sutd singapore...

14
Summer Internship at SUTD Singapore Don Kurian Dennis 1301CS17 Supervised by Dr. Lim Hock Beng and Dr. Vishram Mishra at the Center For Smart Systems, SUTD 1

Upload: others

Post on 06-Aug-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Singapore Summer Internship at SUTD Smart Systems, SUTD ... · Summer Internship at SUTD Singapore Don Kurian Dennis 1301CS17 Supervised by Dr. Lim Hock Beng and Dr. Vishram Mishra

Summer Internship at SUTD Singapore

Don Kurian Dennis1301CS17

Supervised by Dr. Lim Hock Beng and Dr. Vishram Mishra at the Center For Smart Systems, SUTD

1

Page 2: Singapore Summer Internship at SUTD Smart Systems, SUTD ... · Summer Internship at SUTD Singapore Don Kurian Dennis 1301CS17 Supervised by Dr. Lim Hock Beng and Dr. Vishram Mishra

Projects

Worked along with Aditya Gupta, Rishabh Goel, Ryui Yi and SiYuan Wang

May 4 to July 29, 2016

2

Major Projects

● Universal IoT Gateway

● AirQ

Minor Projects

● BATMAN and Mesh Routing

● Ontology Based DB Management

● Lab Infrastructure Assembly

Page 3: Singapore Summer Internship at SUTD Smart Systems, SUTD ... · Summer Internship at SUTD Singapore Don Kurian Dennis 1301CS17 Supervised by Dr. Lim Hock Beng and Dr. Vishram Mishra

Universal Internet of Things Gateway

● Each protocol stack, manufacturer standard and individual device requires a different gateway - Bluetooth, Zigbee, WiFi

● No Interoperability - no way to communicate between or interface gateways.

● Try to unify this diversity and present a universal protocol interfacing

● Using the principle of ontology database and some guiding principles

3

Page 4: Singapore Summer Internship at SUTD Smart Systems, SUTD ... · Summer Internship at SUTD Singapore Don Kurian Dennis 1301CS17 Supervised by Dr. Lim Hock Beng and Dr. Vishram Mishra

Interoperability Solution 4

Page 5: Singapore Summer Internship at SUTD Smart Systems, SUTD ... · Summer Internship at SUTD Singapore Don Kurian Dennis 1301CS17 Supervised by Dr. Lim Hock Beng and Dr. Vishram Mishra

● Device manufacturer publishes its device ontology onto a publisher site

● PHY Protocol + MAC ID key to ontology mapping

● Anyone can download that ontology and use it

5

Ontology Infrastructure

Page 6: Singapore Summer Internship at SUTD Smart Systems, SUTD ... · Summer Internship at SUTD Singapore Don Kurian Dennis 1301CS17 Supervised by Dr. Lim Hock Beng and Dr. Vishram Mishra

The IoT Gateway (Top Left) and devices interfaced through it 6

Page 7: Singapore Summer Internship at SUTD Smart Systems, SUTD ... · Summer Internship at SUTD Singapore Don Kurian Dennis 1301CS17 Supervised by Dr. Lim Hock Beng and Dr. Vishram Mishra

7

● Implemented Bluetooth Stack Server-Client driver

● Wrote a wrapper for BlueZ so as to make the glib event-callback architecture compatible with our message queue architecture

● Build the protocol and packet frame for communicating between different parts of IoT Gateway

● Wrote MQTT queue-dispatch process

Accomplishments Major Challenges

● Handling multiple client-server communication in single message queue and making sure it is stable even in individual child crashes.

● IPC between the bluetooth server, the gatttool client and the MQTT queue-dispatch module

● Understanding the BLE specifications and GATT Profiles and adapting the BlueZ library to our use case (BlueZ is very new and not very well documented)

● Wrote MQTT queue-dispatch process

Page 8: Singapore Summer Internship at SUTD Smart Systems, SUTD ... · Summer Internship at SUTD Singapore Don Kurian Dennis 1301CS17 Supervised by Dr. Lim Hock Beng and Dr. Vishram Mishra

AirQ

● 22 air quality monitoring stations

● Singapore land mass is 719.1 km²

● Therefore each station covers approximately 32.7km² of land

● Data is usually extrapolated in areas further away from these stations- therefore accuracy in question.

8

Page 9: Singapore Summer Internship at SUTD Smart Systems, SUTD ... · Summer Internship at SUTD Singapore Don Kurian Dennis 1301CS17 Supervised by Dr. Lim Hock Beng and Dr. Vishram Mishra

● AirQ is an IoT device which collects real-time air quality and environmental data remotely; sends data to a server for processing

● Sensors: PM2.5, PM10, Temperature and Humidity

● Communication Technology: WiFi and 3G.

● AirQ is small and inexpensive- can be deployed in large scale for fine measurements

9

Page 10: Singapore Summer Internship at SUTD Smart Systems, SUTD ... · Summer Internship at SUTD Singapore Don Kurian Dennis 1301CS17 Supervised by Dr. Lim Hock Beng and Dr. Vishram Mishra

AirQ Enclosed in 3D Printed Design

10

Page 11: Singapore Summer Internship at SUTD Smart Systems, SUTD ... · Summer Internship at SUTD Singapore Don Kurian Dennis 1301CS17 Supervised by Dr. Lim Hock Beng and Dr. Vishram Mishra

AirQ Architecture

11

Page 12: Singapore Summer Internship at SUTD Smart Systems, SUTD ... · Summer Internship at SUTD Singapore Don Kurian Dennis 1301CS17 Supervised by Dr. Lim Hock Beng and Dr. Vishram Mishra

12

● Interfaced the PM Sensors, Temperature Humidity and Other Sensors with LinkitOne

● Wrote the WiFi module, fall back logger

● Wrote the initial GSM Module

● AirQ costs 120$ as opposed to original current used machines which cost close to 5000$.

● Linked WiFi/GSM wo server uplink through MQTT

● Successfully demonstrated 5 prototype AirQ at MakerFaire Singapore

Accomplishments Major Challenges

● Different sensors had different polling, settling and reading rates. Handling them in a single thread was challenge.

● Since the device was to work off main power, remotely, ensuring reliability and rigorously testing.

● The GSM stack of the LinitOne board had a manufacturing bug - identifying, reporting and getting a update-fix

● Reliable logging mechanisms in a constrained environment when uplink is down

Page 13: Singapore Summer Internship at SUTD Smart Systems, SUTD ... · Summer Internship at SUTD Singapore Don Kurian Dennis 1301CS17 Supervised by Dr. Lim Hock Beng and Dr. Vishram Mishra

Conclusion

13

Universal IoT Gateway was demonstrated in front of delegates from ST Engineering. They were extremely pleased with the presentation and we fulfilled all deliverables. The technology has now been transferred to ST Engineering for commercial development.

AirQ was also presented in front of delegates from ST Engineering and National Environment Agency. Again the deliverables were well met and NEA is working on integrating AirQ into its existing arsenal of sensors. AirQ was also presented at Maker Faire Singapore with great success

Page 14: Singapore Summer Internship at SUTD Smart Systems, SUTD ... · Summer Internship at SUTD Singapore Don Kurian Dennis 1301CS17 Supervised by Dr. Lim Hock Beng and Dr. Vishram Mishra

Thank You

14