[Use Case / Workflow] Event-Driven Industrial Motor Anomaly Detection with oneM2M & Edge Model Versioning

未关闭
#738 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
活跃
技术栈
python

调研方向

Start by reading the AssetOpsBench scenario and contribution guidance to see where use cases are documented; this issue does not name a target file or requested change. The body describes an external industrial motor monitoring prototype and failure modes, but does not specify what to add to AssetOpsBench or how completion would be assessed.

由索引模型根据 Issue 内容生成。

描述

Hi AssetOpsBench team,

Following up on Dhaval Patel's email, I would like to share the workflow, architecture, and key failure modes from our project INDUSTRIAL-IOT-ANOMALY-DETECTION (https://github.com/STEFANIAGT/INDUSTRIAL-IOT-ANOMALY-DETECTION), an IoT prototype for electric motor monitoring built on oneM2M and ETSI MEC.

1. Industrial Monitoring & Model Lifecycle Workflow

Our architecture separates cloud-level model governance from edge-level inference using a two-tier oneM2M setup (IN-CSE in the cloud, MN-CSE at the edge):

  • Telemetry Ingestion (oneM2M TimeSeries): A motor (machine01) publishes sequential measurements for Temperature, Vibration, and Current as TimeSeriesInstance resources under SensorAE.
  • Event-Driven Edge Inference: A oneM2M subscription is attached specifically to the current TimeSeries (which is always published last in a sampling cycle). Receiving this notification triggers AnomalyDetectionAE to fetch the aligned triplet (T, V, I) and run inference using a StandardScaler + One-Class SVM pipeline.
  • Alerting & Access Control: Detected anomalies are automatically written to an alerts container. Granular Access Control Policies (ACPs) enforce separation of duties (e.g., SensorAE can only write telemetry, while AnomalyDetectionAE has read-only access to sensors/models and write access to alerts).
  • Cloud-to-Edge Model Versioning: Models (v1, v2) are stored in a centralized ModelManagerAE repository on the IN-CSE as Base64 payloads with SHA-256 checksums. The edge node pulls updates over the Mcc reference point, verifies SHA-256 integrity, and dynamically hot-swaps the active model version without restarting the inference service.
2. Key Failure Modes & Challenges for AI Agents

Based on our prototype design, several operational edge cases emerge where a tool-using maintenance agent would need strong reasoning and verification capabilities:

  1. Asynchronous Telemetry & Race Conditions (Partial Sample Reads):
    • Mechanism: Inference is triggered by the current sensor notification assuming temperature and vibration for that cycle have already been persisted.
    • Failure Mode: Network jitter or out-of-order delivery across sensors can cause the detector to pair a new current spike with stale temperature/vibration values, leading to false positives or missed detections. An agent investigating an alert must verify timestamp alignment across all three TimeSeries before acting.
  2. False-Positive vs. Sensitivity Trade-offs During Model Tuning (nu parameter):
    • Mechanism: In our One-Class SVM validation (v2), tuning achieved 100% synthetic anomaly detection with a ~2.38% false-positive rate on normal data.
    • Failure Mode: In continuous industrial operation, a ~2.4% false-positive rate creates alert fatigue. An agent needs to cross-check consecutive alert windows and operating context (e.g., normal motor startup/load transients vs. sustained bearing degradation) before escalating to human maintenance.
  3. Cloud-to-Edge Deployment & Integrity Failures:
    • Mechanism: Model updates rely on Mcc retrieval from IN-CSE to MN-CSE and SHA-256 validation.
    • Failure Mode: Corrupted payloads, checksum mismatches, or misconfigured ACPs (cloudModelRepoACP / modelACP) can block a model upgrade, leaving the edge running an outdated model version (v1) while operators assume v2 is active. Agents managing asset operations need tools to audit the /model active metadata resource alongside alert logs.
  4. Control-Plane vs. Data-Plane Readiness (ETSI MEC Integration):
    • Mechanism: MEC011 APIs (confirm_ready, service discovery) verify platform enablement on the MEC host, decoupled from the oneM2M data plane.
    • Failure Mode: A service may report READY at the infrastructure/MEC level while oneM2M subscriptions are missing or broken—resulting in silent monitoring failure (zero alerts generated despite anomalous motor behavior).

I hope these workflow patterns and failure modes are useful as reference scenarios for AssetOpsBench.

主要语言
Python
星标
2.6k
派生
381
平均合并
2 天 14 分钟
30 天内合并 PR
4

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

IBM/AssetOpsBench 的其他 Issue

查看 IBM/AssetOpsBench 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。