Internet of Things #1-#2 Teknik Elektro UMM Ilham Robbani – Head of Management of Enercon Indonesia
DATA SPEED ACCURACY SECURITY
CONTROL SYSTEM - BASIC ARCHITECTURE
SCADA – GENERAL ARCHITECTURE
IoT – GENERAL ARCHITECTURE
IoT 3-Layer ARCHITECTURE Aspect Details Developer ITU-T (International Telecommunication Union) Year 2012 (Y.2060 Recommendation) Key Tech RFID, MQTT, HTTP, Zigbee Limitation s No dedicated security/processing layers Ref: ITU-T Y.2060 (2012): Standard IoT by International Telecommunication Union. • Physical sensors/actuators collect data (DHT11, RFID, cameras). Perception Layer • Transmits data via protocols (Wi-Fi, LoRa, MQTT). Network Layer • User-facing interfaces (mobile apps, dashboards). Application Layer
IoT 5-Layer ARCHITECTURE Aspect Details Developer IEEE, Cisco, Industrial Consortiums Year 2015 Key Tech 6LoWPAN, OPC UA, Kubernetes, TensorFlow Advantage Supports edge computing & vertical integration Ref: Cisco IoT Architecture (2015): Whitepaper by Cisco Systems. • Enhanced sensor networks with edge preprocessing. Perception Layer • Secure data routing (CoAP, 6LoWPAN). Transport Layer • Cloud/edge computing (AWS IoT, TensorFlow Lite). Processing Layer • Domain-specific solutions (predictive maintenance). Application Layer • Data-driven decision-making (AI analytics, ERP integration). Business Layer
IoT 7-Layer ARCHITECTURE Aspect Details Developer ISO/IEC Joint Technical Committee Year 2018 Key Tech IPv6, DTLS, Protocol Buffers, JSON-LD Advantage Military-grade security & full OSI compliance Ref: ISO/IEC 30141 (2018) International IoT Reference. • Hardware components (sensors, gateways). Physical Layer • MAC addressing, LoRaWAN frame formatting. Data Link Layer • IPv6 routing for low-power devices Network Layer • End-to-end reliability (DTLS for UDP). Transport Layer • Authentication/encryption (OAuth 2.0, TLS). Session Layer • Data standardization (JSON, XML, Protocol Buffers). Presentation Layer • Final use-case implementation Application Layer
Sensor Electric Motor Valve Electric Pneumatic Actuator Source of Energy
IoT Protocols • Application-Layer Protocols: • MQTT: Broker-based publish-subscribe (TCP). Unlimited data rate assumes underlying transport (e.g., Wi-Fi). • CoAP: UDP-based, supports multicast. 10x smaller header than HTTP. • HTTP: Stateless, not optimized for IoT but widely supported. • Network-Layer Protocols: • LoRaWAN: Max payload drops to 51 bytes with ADR enabled. • NB-IoT: Supports 50,000 devices per cell tower. • BLE: Data rate drops to 125 Kbit/s at max range (long-range mode). • Security: • DTLS (CoAP) vs TLS (MQTT): DTLS is lighter but lacks session resumption. • AES-128: Standard for LPWANs (LoRaWAN/Zigbee).
Application Layer • Application layer is the topmost layer in IoT architecture, responsible for data formatting, communication rules, and user-facing functionalities. It enables devices and cloud platforms to exchange meaningful information • What it does: • Standardizes how data is structured (e.g., JSON, XML). • Defines communication patterns (request-response, publish-subscribe). • Manages authentication and encryption for secure data transfer. • Why it matters: • Ensures interoperability between devices and cloud platforms. • Optimizes for low power (critical for battery-operated IoT devices).
Protocol Communication Model Transport Power Use Security Best For MQTT Publish-Subscribe TCP Low TLS/SSL Cloud messaging, remote monitoring CoAP Request-Response UDP Very Low DTLS Constrained devices (sensors) HTTP/1.1 Request-Response TCP High TLS/SSL Web APIs, legacy systems AMQP Message Queuing TCP Medium SASL/TLS Enterprise IoT (banking, healthcare) LwM2M Device Management CoAP/UDP Ultra-Low DTLS Firmware updates, telemetry
Deep Dive About MQTT & CoAP • MQTT (Message Queuing Telemetry Transport) • Developed by: IBM (1999), standardized by OASIS (2014) • CoAP (Constrained Application Protocol) • Developed by: IETF (2014) for low-power devices. • MQTT in Tesla's IoT Ecosystem • Tesla vehicles act as IoT edge devices, constantly streaming telemetry data to Tesla's cloud platform (Tesla Fleet Telemetry). MQTT is used due to its: • Low bandwidth usage (critical for cellular networks). • Publish-Subscribe model (efficient for one-to-many communication). • QoS support (ensures critical data like battery status is never lost).
MQTT • MQTT broker is a server that acts as a central messaging hub in IoT systems, enabling bidirectional communication between devices (clients) using the publish-subscribe (Pub-Sub) model. It routes messages between senders (publishers) and receivers (subscribers) based on topics, ensuring efficient and scalable data exchange • Devices Connect to the broker (e.g., via TCP/IP or WebSocket). -> Publishers send messages to topics (e.g., car/battery) -> Subscribers receive messages if they’re subscribed to matching topics. -> Broker Filters messages and forwards them to the right clients. Type Example Brokers Use Case Cloud-Based AWS IoT Core, Azure IoT Hub Large-scale IoT deployments Self-Hosted Mosquitto, EMQX, HiveMQ Private IoT networks (on- premises) Lightweight VerneMQ, NanoMQ Edge computing (Raspberry Pi)
IoT Cloud Platform
Network Layer Protocols • The Network Layer (Layer 3 in the OSI model) is responsible for routing data packets across different networks, ensuring devices can communicate even if they’re not directly connected. In IoT, it handles tasks like addressing, fragmentation, and logical routing. • Key Functions of the Network Layer • Logical Addressing: Uses IP addresses (e.g., IPv4/IPv6) to identify devices globally. • Routing: Determines the best path for data (e.g., via routers in a smart city network). • Fragmentation: Breaks large packets into smaller ones for transmission (e.g., over LoRaWAN). • Error Handling: Detects and manages packet loss/corruption (critical for industrial IoT).
Network Layer Protocols

IoT Introduction & Communication Protocol

  • 1.
    Internet of Things #1-#2 TeknikElektro UMM Ilham Robbani – Head of Management of Enercon Indonesia
  • 2.
  • 3.
    CONTROL SYSTEM -BASIC ARCHITECTURE
  • 4.
    SCADA – GENERALARCHITECTURE
  • 5.
    IoT – GENERALARCHITECTURE
  • 6.
    IoT 3-Layer ARCHITECTURE AspectDetails Developer ITU-T (International Telecommunication Union) Year 2012 (Y.2060 Recommendation) Key Tech RFID, MQTT, HTTP, Zigbee Limitation s No dedicated security/processing layers Ref: ITU-T Y.2060 (2012): Standard IoT by International Telecommunication Union. • Physical sensors/actuators collect data (DHT11, RFID, cameras). Perception Layer • Transmits data via protocols (Wi-Fi, LoRa, MQTT). Network Layer • User-facing interfaces (mobile apps, dashboards). Application Layer
  • 7.
    IoT 5-Layer ARCHITECTURE AspectDetails Developer IEEE, Cisco, Industrial Consortiums Year 2015 Key Tech 6LoWPAN, OPC UA, Kubernetes, TensorFlow Advantage Supports edge computing & vertical integration Ref: Cisco IoT Architecture (2015): Whitepaper by Cisco Systems. • Enhanced sensor networks with edge preprocessing. Perception Layer • Secure data routing (CoAP, 6LoWPAN). Transport Layer • Cloud/edge computing (AWS IoT, TensorFlow Lite). Processing Layer • Domain-specific solutions (predictive maintenance). Application Layer • Data-driven decision-making (AI analytics, ERP integration). Business Layer
  • 8.
    IoT 7-Layer ARCHITECTURE AspectDetails Developer ISO/IEC Joint Technical Committee Year 2018 Key Tech IPv6, DTLS, Protocol Buffers, JSON-LD Advantage Military-grade security & full OSI compliance Ref: ISO/IEC 30141 (2018) International IoT Reference. • Hardware components (sensors, gateways). Physical Layer • MAC addressing, LoRaWAN frame formatting. Data Link Layer • IPv6 routing for low-power devices Network Layer • End-to-end reliability (DTLS for UDP). Transport Layer • Authentication/encryption (OAuth 2.0, TLS). Session Layer • Data standardization (JSON, XML, Protocol Buffers). Presentation Layer • Final use-case implementation Application Layer
  • 9.
    Sensor Electric Motor Valve ElectricPneumatic Actuator Source of Energy
  • 10.
    IoT Protocols • Application-LayerProtocols: • MQTT: Broker-based publish-subscribe (TCP). Unlimited data rate assumes underlying transport (e.g., Wi-Fi). • CoAP: UDP-based, supports multicast. 10x smaller header than HTTP. • HTTP: Stateless, not optimized for IoT but widely supported. • Network-Layer Protocols: • LoRaWAN: Max payload drops to 51 bytes with ADR enabled. • NB-IoT: Supports 50,000 devices per cell tower. • BLE: Data rate drops to 125 Kbit/s at max range (long-range mode). • Security: • DTLS (CoAP) vs TLS (MQTT): DTLS is lighter but lacks session resumption. • AES-128: Standard for LPWANs (LoRaWAN/Zigbee).
  • 11.
    Application Layer • Applicationlayer is the topmost layer in IoT architecture, responsible for data formatting, communication rules, and user-facing functionalities. It enables devices and cloud platforms to exchange meaningful information • What it does: • Standardizes how data is structured (e.g., JSON, XML). • Defines communication patterns (request-response, publish-subscribe). • Manages authentication and encryption for secure data transfer. • Why it matters: • Ensures interoperability between devices and cloud platforms. • Optimizes for low power (critical for battery-operated IoT devices).
  • 12.
    Protocol Communication Model Transport Power UseSecurity Best For MQTT Publish-Subscribe TCP Low TLS/SSL Cloud messaging, remote monitoring CoAP Request-Response UDP Very Low DTLS Constrained devices (sensors) HTTP/1.1 Request-Response TCP High TLS/SSL Web APIs, legacy systems AMQP Message Queuing TCP Medium SASL/TLS Enterprise IoT (banking, healthcare) LwM2M Device Management CoAP/UDP Ultra-Low DTLS Firmware updates, telemetry
  • 13.
    Deep Dive AboutMQTT & CoAP • MQTT (Message Queuing Telemetry Transport) • Developed by: IBM (1999), standardized by OASIS (2014) • CoAP (Constrained Application Protocol) • Developed by: IETF (2014) for low-power devices. • MQTT in Tesla's IoT Ecosystem • Tesla vehicles act as IoT edge devices, constantly streaming telemetry data to Tesla's cloud platform (Tesla Fleet Telemetry). MQTT is used due to its: • Low bandwidth usage (critical for cellular networks). • Publish-Subscribe model (efficient for one-to-many communication). • QoS support (ensures critical data like battery status is never lost).
  • 14.
    MQTT • MQTT brokeris a server that acts as a central messaging hub in IoT systems, enabling bidirectional communication between devices (clients) using the publish-subscribe (Pub-Sub) model. It routes messages between senders (publishers) and receivers (subscribers) based on topics, ensuring efficient and scalable data exchange • Devices Connect to the broker (e.g., via TCP/IP or WebSocket). -> Publishers send messages to topics (e.g., car/battery) -> Subscribers receive messages if they’re subscribed to matching topics. -> Broker Filters messages and forwards them to the right clients. Type Example Brokers Use Case Cloud-Based AWS IoT Core, Azure IoT Hub Large-scale IoT deployments Self-Hosted Mosquitto, EMQX, HiveMQ Private IoT networks (on- premises) Lightweight VerneMQ, NanoMQ Edge computing (Raspberry Pi)
  • 16.
  • 17.
    Network Layer Protocols •The Network Layer (Layer 3 in the OSI model) is responsible for routing data packets across different networks, ensuring devices can communicate even if they’re not directly connected. In IoT, it handles tasks like addressing, fragmentation, and logical routing. • Key Functions of the Network Layer • Logical Addressing: Uses IP addresses (e.g., IPv4/IPv6) to identify devices globally. • Routing: Determines the best path for data (e.g., via routers in a smart city network). • Fragmentation: Breaks large packets into smaller ones for transmission (e.g., over LoRaWAN). • Error Handling: Detects and manages packet loss/corruption (critical for industrial IoT).
  • 18.