id, title, category, status, canonical_id, aliases, duplicate_of, source_trust_level, confidence_score, verification_status, tags, raw_sources, last_reinforced, github_commit, tech_stack
| id |
title |
category |
status |
canonical_id |
aliases |
duplicate_of |
source_trust_level |
confidence_score |
verification_status |
tags |
raw_sources |
last_reinforced |
github_commit |
tech_stack |
| wiki-2026-0508-iot-and-ai-integration |
IoT and AI Integration |
10_Wiki/Topics |
verified |
self |
| Edge AI |
| TinyML |
| IoT AI |
| AIoT |
|
none |
A |
0.9 |
applied |
| iot |
| edge-ai |
| tinyml |
| embedded |
| mqtt |
| sensor-fusion |
|
|
2026-05-10 |
pending |
| language |
framework |
| cpp |
tflite-micro |
|
IoT and AI Integration
매 한 줄
"매 센서 옆에서 즉시 추론". 수 KB-수 MB 모델을 ESP32/Cortex-M/Coral 같은 edge 기기에 올려 latency, privacy, bandwidth 를 동시에 잡는다. 2026 현재 TinyML + MQTT 가 표준.
매 핵심
매 3 layer 아키텍처
- Edge (sensor): TinyML 추론, 이상 감지, 게이팅.
- Fog (gateway): 다중 센서 통합, heavier 모델, 로컬 의사결정.
- Cloud: 학습, fleet 모니터링, OTA 모델 업데이트.
매 모델 압축
- Quantization: float32 → int8/int4, 4-8x 작아짐.
- Pruning: weight magnitude 기준 sparsify.
- Knowledge distillation: large teacher → tiny student.
- NAS for edge: MCUNet, MobileNet.
매 통신
- MQTT: pub/sub, QoS 0/1/2.
- CoAP: REST-over-UDP, 더 가벼움.
- LoRaWAN: km 단위, 수백 byte/min.
- BLE: 근거리, 저전력.
매 응용
- Predictive maintenance (vibration anomaly).
- Vision: door cam person detection, defect inspection.
- Voice wakeword (Alexa, "OK Google").
- Smart agriculture (soil moisture + weather).
- Health wearable (HRV, fall detection).
💻 패턴
TFLite Micro 추론 (ESP32, C++)
Post-training quantization (Python)
MQTT publish 추론 결과 (MicroPython)
Sensor fusion (Kalman, complementary)
Edge Impulse SDK (anomaly)
OTA 모델 업데이트
Coral Edge TPU (Python)
매 결정 기준
| 제약 |
권장 |
| MCU < 1MB RAM |
TFLite Micro int8, MCUNet |
| 배터리 1년+ |
LoRaWAN + duty cycle |
| Vision realtime |
Coral / Jetson Nano |
| Privacy critical |
edge inference, no cloud raw |
| Fleet 수만+ |
MQTT broker cluster, OTA |
기본값: ESP32 + TFLite Micro int8 + MQTT QoS 1.
🔗 Graph
🤖 LLM 활용
언제: latency 100ms 이하 필요, 네트워크 불안정, privacy 규제, bandwidth 비싼 환경.
언제 X: 모델 100MB+, 잦은 재학습 필요, 입력이 크고 다양한 multimodal.
❌ 안티패턴
- Cloud 의존 edge: 인터넷 끊기면 동작 안 함 → fallback 필수.
- Float32 모델 그대로 배포: RAM 부족, 발열.
- OTA 미고려: 모델 버그 fix 불가.
- Sensor 단일: 노이즈에 취약, fusion 으로 견고화.
- MQTT QoS 0 + 중요 alert: 패킷 유실 가능.
🧪 검증 / 중복
- TFLite Micro, Edge Impulse, MQTT 5.0 spec, Coral docs.
- Warden & Situnayake "TinyML" (O'Reilly).
- 신뢰도 A.
🕓 Changelog
| 날짜 |
변경 |
| 2026-05-08 |
Phase 1 |
| 2026-05-10 |
Manual cleanup — 3-layer 구조, TFLite Micro/Edge Impulse/MQTT/OTA 패턴 |