69
ASIP EMBEDDED PROCESSOR FOR INTERNET OF THINGS AgusBejo Digital System Laboratory, Department of Electrical and Information Engineering, Faculty of Engineering, Universitas Gadjah Mada Indonesia IoT FORUM – XL Axiata – DTETI UGM 6 Desember 2018 1

ASIP EMBEDDED PROCESSOR FOR INTERNET OF THINGSiotforum.id/wp-content/uploads/2018/12/06.-Agus-Bejo-ASIP-Embedded... · • Processor Model dan RTL Generator ... • GPP 27. GAMA32

Embed Size (px)

Citation preview

ASIP EMBEDDED PROCESSOR

FOR INTERNET OF THINGS

Agus Bejo

Digital System Laboratory,Department of Electrical and Information Engineering,

Faculty of Engineering, Universitas Gadjah Mada

Indonesia IoT FORUM – XL Axiata – DTETI UGM6 Desember 2018

1

PROFILE

2

GAMA32 Processor Design Framework• Processor Model dan RTL Generator• Assembler and Compiler Generator• Porting Linux Kernel

PROCESSOR & COMPILER DESIGN

3

BIOMETRIC AUTHENTICATION

Securing Online Transaction:

- Net-banking

- e-moblie payment

- e-money

- e-Karip

4

Biometric Match-on-Card prototype(a) on Qualcomm Snapdragon 800 Board, (b) on Android Smartphone

BIOMETRIC AUTHENTICATION PROTOTYPING

5

INTERNET OF THINGS

� LoRa – Energy Monitoring System

� LoRa – Landslide Monitoring System

� WiFi – Smartcard-based Attendance System

� FireSight: Deteksi Kebaran Hutan

� Building Energy Monitoring System

� Smart Farming

� Smart Home

� Parking System

6

FIRESIGHT: SISTEM DETEKSI KEBAKARAN HUTAN

7

• UGM BEMS

BUILDING ENERGY MANAGEMENT SYSTEM (BEMS)

8

BUILDING ENERGY MANAGEMENT SYSTEM (BEMS)

• UGM BEMS

9

ENERGY MONITORING SYSTEM

• Mobile App

10

SMART FARMING

11

SMART FARMING: HARDWARE

12

SMART FARMING: CLOUD SERVICE

13

SMART FARMING: INSTALLATION

14

15

Location Palm oil nursery KJP CPS di Pelaihari, Kalimantan Selatan

Area 100 ha

Installed nodes 1 gateway, 4 node (7 sensor), 1 weather station, and 1

router

D7

C4

B2B1Gateway

Weather station

SMART FARMING: SENSOR DEPLOYMMENT

16

SMART HOME

17

SMART HOME

What is the best processor

for Internet of Things??

� Temperature� Humidity

Requirements:� 1 byte data/sensor

� Send data every 10 minutes

HARDWARE PLATFORM FOR IOT

18

THE BEST IOT HARDWARE PLATFORM

ArduinoNodeMCU

Raspi Zero

Omega 2

Orange Pi OneNext Thing Chip

Mediatek Linklt 7688

Intel Galileo, Edison,

Joule, Currie Arduino

19

Server Processor

Desktop Processor

Mobile Processor

Embedded Processor

THE BEST PROCESSOR

What is the best vehicle??

20

PROCESSOR FOR IOT

What is the best processor

for Internet of Things??

ASIP Embedded Processor

Source: https://www.electronicdesign.com/communications/iot-requires-new-type-low-power-processor

21

FUTURE TREND: ASIP SOLUTION

ASIP

� Programmable

� Fast development time

� Optimized for target

application

� Lower Power Consumption22

GPPSpecific

Instructions

APPLICATION SPECIFIC INSTRUCTION-SET PROCESSOR

23

PROCESSOR DESIGN FLOW

1

23

Modeling Advantages� Simulating the processor behaviour prior to taping out the IC

� Exploring the architecture

� Estimating the performance

24

CURRENT ISSUES

How to achieve optimize processor

with faster developent time

CAD Automation Tool� Processor Model Generator

� ASIP Generator

� Assembler Generator

� Compiler Generator

� RTL Generator25

26

DIGITAL SYSTEM LAB ROADMAP

GAMA32 Processor Design Framework

GAMA32 PROCESSOR MODELING

GAMA32:

• 32-bit RISC processor

• 4 stages: FE, DC, EX, WB

• Instruction accurate

• GPP

27

GAMA32 TOOLCHAIN

GAMA32 Processor Model

(SystemC)

GAMA32 Assembler

(Python)

GAMA32 Compiler

(Python)

���� DONE

����ON PROGRESS

���� DONE

28

29

INDUSTRIAL REVOLUTION

Internet of Things Era

INTERNET OF THINGS APPLICATIONS

30

IOT INFRASTRUCTURE

Connectifity:- Ethernet - Wifi- Zigbee- BLE- PoE- L0Ra- NB-IoT- Sigfox- ...

Protocols:- REST API- MQTT- CoAP- XMPP- Sockets- TCP- HTTP- STOMP, GSM, ...

31

NODE SENSOR – GATEWAY OPTIONS

No

de

Se

nso

rG

ate

wa

y

32

CONNECTIFITY OPTIONS

33

“LONG RANGE LOW POWER” CONNECTIFITY OPTIONS

34

“LONG RANGE LOW POWER” COMPARISON

35

“LONG RANGE LOW POWER” CONNECTIFITY OPTIONS

36

WHY LoRa ?

37

WHY LoRa ?

38

WEB APP OPTIONS

Open IoT Platforms:- Kaa IoT- SiteWHere- ThingSpeak- DeviceHive- Zetta- DSA- Thingsboard.io- Thinger.io- WSo2- ...

Licensed IoT Platforms:- AWS IoT- Google Cloud IoT- Microsoft Azure IoT- SAP IoT- Salesforce IoT- Oracle IoT- Cisco IoT- Bosch IoT Suite- IBM Watson IoT- ThingWorx IoT- ...

Python Web Framework:- Web2py- Flask- Pyramid- Django- ...

From Scratch:- PHP- Java- Python- ...

IoT Platform From Scratch

XL Axiata:

- Flex IoT

- Fleetech

39

https://www.how2shout.com/tools/best-opensource-iot-platforms-develop-iot-projects.html

� Building, managing, integrating connected devices with the Internet of Things

� Data collection, processing, visualization, and device management

OPEN SOURCE IOT PLATFORM

40

OPEN SOURCE IOT PLATFORM

41

OPEN SOURCE IOT PLATFORM

42

OPEN SOURCE IOT PLATFORM

43

ThingsboardOPEN SOURCE IOT PLATFORM

44

ThingsboardOPEN SOURCE IOT PLATFORM

45

ThingsboardOPEN SOURCE IOT PLATFORM

46

ThingsboardOPEN SOURCE IOT PLATFORM

47

ThingsboardOPEN SOURCE IOT PLATFORM

48

FROM SCRATCH: PYTHON WEB FRAMEWORK

49

POPULAR WEB APPS

50

Django Web App

Framework

Model

(Data)

Control

(URL, API)

View

(Template, HTML, CSS)

DJANGO WEB FRAMEWORK

51

52

DJANGO WEB FRAMEWORK

� Monitoring energi secara realtime

� Kendali suplai energi secara remote

� Pembayaran tagihan secara online

� Optimasi distribusi penggunaan energi

LoRa – ENERGY MONITORING SYSTEM

53

Dorji DRF1278

Microchip RN2483

LoRa – ENERGY MONITORING SYSTEM

54

EASTRON SDM 120 – ENERGY METER

55

PCB NODE SENSOR – MULTI CONNECTIVITIES

Single PCB for various connectifity

56

LoRa – MICROCHIP RN2483

57

LoRa – DORJI DRF1278

58

LoRa – DORJI DRF1278 Tool

59

Django Web App

LoRa – ENERGY MONITORING SYSTEM

60

Django Web App

LoRa – ENERGY MONITORING SYSTEM

61

LoRa – EXPERIMENT

62

LoRa – EXPERIMENT

63

LoRa – EXPERIMENT

64

LoRa – EXPERIMENT

65

LoRa – LANDSLIDE EARLY WARNING SYSTEM

66

67

LoRa – LANDSLIDE EARLY WARNING SYSTEM

68

LoRa – LANDSLIDE EARLY WARNING SYSTEM

Generic protocols for:

� Various application (energy meter, landslide sensors)

� Various connectifity (LoRa, Zigbee)

69

INTERNET OF THINGS

APPS

Smart Home

Small Coverage,

Low Power,

Higher Data Rate

Energy Monitoring

/Grid Monitoring

Long Range,

Low Power,

Less Data Rate

TRADE OFF