Edge computing en industria mueve compute desde cloud centralizado a local-to-data. Para planta industrial, reduce latencia (importante para control), ancho-banda cloud (costes), y dependencia de connectivity (reliability). En 2024, stack tech está maduro. Este artículo cubre architectures y use cases.
Por qué edge en industria
- Latencia: 10-50ms local vs 100-500ms cloud. Crítico para control loops.
- Bandwidth: sensores generan MB/s; enviar todo a cloud es costoso.
- Reliability: planta sigue funcionando sin internet.
- Compliance / data residency: sensitive industrial data stays local.
- Security: OT networks typically isolated.
Arquitectura típica
[Sensors/PLCs] → [Edge gateway] → [Edge compute cluster]
↓ (filtered/aggregated)
[Cloud for analytics/ML training]
Edge gateway: protocol translation (Modbus, Profibus → MQTT/OPC UA).
Edge compute: K3s cluster o similar, processing + local decisions.
Cloud: model training, dashboards, historical analytics.
Edge Kubernetes
Options:
- K3s: lightweight K8s, <512MB RAM.
- MicroK8s: Canonical, similar.
- k0s: single-binary.
- KubeEdge: cloud-edge integrated.
K3s es industry default para edge por balance features/footprint.
Hardware típico
- Gateway: Raspberry Pi, Advantech IoT, NVIDIA Jetson.
- Edge server: x86 mini-PC (Intel NUC) o Arm box.
- Edge cluster: 3-5 nodes, local network.
- Ruggedized: fanless, -40°C to 70°C, vibration-resistant.
Presupuesto típico: $500-5000 por ubicación.
Protocolos
- OPC UA: IT-to-OT standard moderno.
- MQTT: messaging ligero entre devices.
- Modbus TCP: legacy pero ubiquitous.
- Profibus, EtherNet/IP: PLC-native.
- 5G/Wi-Fi 6: carrier.
Edge gateway bridges protocols.
Use cases productivos
Predictive maintenance
Sensors vibration/temperature → edge ML inference → alert si anomaly. Cloud recibe aggregated data para retraining periodic.
Quality control visual
Cameras → edge GPU (Jetson) → OpenCV/ML classifier → reject defective items en real-time.
Autonomous vehicles en campus
Edge compute coordinates AGVs con <20ms latency. Cloud coordinates cross-campus.
Grid monitoring
Substation sensors → edge → local protection logic. Grid operator sees aggregated.
AI en edge
Emerging:
- On-device LLMs (small): Phi-3, Gemma 2B en edge boxes.
- Computer vision: YOLOv8 en Jetson.
- Anomaly detection: classical ML + deep learning.
- Federated learning: edge contributes to global model without sharing raw data.
Hardware: NVIDIA Jetson, Hailo-8, Coral Edge TPU.
Red industrial
- 5G privado: dedicated spectrum, reliable, deterministic.
- Wi-Fi 6/7: menor coste, campus coverage.
- Wired Ethernet: backbone típico.
- TSN (Time-Sensitive Networking): realtime-deterministic.
Security OT
Critical:
- Segmentation: OT isolated from IT (Purdue Model).
- Zero-trust: device authentication mandatory.
- Encryption: MQTT over TLS, OPC UA security active.
- Monitoring: IDS specific to OT (Claroty, Nozomi).
- Patch management: slower que IT por OT stability needs.
NIS2 push esto.
Deployment
GitOps para edge:
flux bootstrap github \
--owner=factory-ops \
--repository=edge-configs \
--branch=main \
--path=clusters/plant-1
Apps deploy vía git push. Consistency across many edge sites.
Observability
- Prometheus en cada edge cluster + remote write a central.
- Loki edge: logs.
- Beyla/Pixie: tracing.
- Cloud aggregation: cross-plant visibility.
Network bandwidth consideration para what to push.
Ejemplo fleet management
10-plant manufacturing company:
- 10 edge clusters: 3-node K3s each.
- Central orchestration: ArgoCD o Flux.
- App deploys via git merge per plant.
- Central monitoring: Grafana Cloud or similar.
- Cloud training ML models, push updated models to edges.
Limitaciones
- Ops overhead: managing N distributed clusters.
- Hardware reliability: industrial conditions demanding.
- Model updates: remote deployment to constrained hardware.
- Coordinación: con legacy OT equipment.
- Power: edge computes need UPS or similar.
ROI
Casos reales:
- Latency-sensitive control: ROI from reduced downtime.
- Bandwidth savings: >50% de data filtered at edge.
- Reliability: plant operates despite cloud outages.
- Real-time insights: vs batch cloud analytics.
Comparación vs pure cloud
| Aspect | Edge | Cloud |
|---|---|---|
| Latency | 10-50ms | 100-500ms |
| Bandwidth cost | Bajo | Alto (all data transmitted) |
| Reliability | No internet needed | Internet required |
| Compute cost | Upfront + ops | Pay-per-use |
| Flexibility | Limited | Elastic |
| Security | Physical control | Cloud compliance |
Mix híbrido es normal.
Vendors major
- AWS Outposts / IoT Greengrass.
- Azure Stack Edge / IoT Edge.
- Google Distributed Cloud Edge.
- Siemens Industrial Edge (industry-specific).
- ABB Edgenius.
- OSS stacks: K3s + Helm + GitOps.
Opciones diverse según stack preferred.
Conclusión
Edge computing industrial es madurez real. Tech stack (K3s, OPC UA, 5G privado, IoT gateways) es robusto. ROI medible en latency-critical, bandwidth-heavy o reliability-sensitive use cases. Not replacement para cloud — complement. Industry 4.0 exige esto. Teams que adoptan bien tienen competitive edge.
Síguenos en jacar.es para más sobre edge computing, industria 4.0 y arquitecturas distribuidas.