Typed Telemetry, Advisory Analytics: An EPICS–Spark Architecture for Dental Robotic Arms
DOI:
https://doi.org/10.63282/3050-9262.IJAIDSML-V7I1P112Keywords:
cEPICS 7, pvAccess (PVA), QSRV, Normative Types, EPICS Archiver Appliance, Apache Kafka, Apache Spark Structured Streaming, dental robotic arms, safety partitioning, latency budgets, advisory analytics, operator-gated workflows, ISO 10218, ISO/TS 15066, ISO 13485, IEC 60601‑1, IEC 61508, post‑market surveillance, cybersecurityAbstract
Robot-assisted dentistry is entering routine clinical practice, intensifying the need for deterministic control, typed telemetry, and a provable separation between motion and analytics near sensitive anatomy. We present a partitioned architecture for safety-critical dental robotic arms that couples Experimental Physics and Industrial Control System (EPICS 7) with Apache Spark Structured Streaming. EPICS—via pvAccess, QSRV, and Normative Types—publishes coherent, self-describing supervisory data (pose, depth, forces, images) with delta-efficient subscriptions and deterministic alarms [1]–[3]. Long-term, audit-grade histories are retained by the EPICS Archiver Appliance [7]. Selected process variables are mirrored to Apache Kafka using an EPICS→Kafka bridge, enabling Spark to compute advisory analytics with exactly-once semantics and operational latencies commonly in the sub-second regime, including ~100–250 ms p99 micro-batch performance and an optional real-time trigger reaching tens of milliseconds for suitable stateless workloads [4]–[6], [8]. The design formalizes safety partitions and latency budgets to ensure all motion commands remain within the robot controller and safety programmable logic controller (PLC), with operator-gated actions exposed only through supervised EPICS channels—never direct actuation from analytics [1]–[3], [8]. We map the architecture to robotics and medical frameworks, including ISO 10218 (2025) for robot and system integration safety, ISO/TS 15066 for collaborative force/pressure limits, ISO 13485 for quality management systems, IEC 60601-1 for medical electrical safety and essential performance, and IEC 61508 for functional safety lifecycle [9]–[13]. A verification and validation plan demonstrates EPICS coherence, Spark resilience (checkpointed recovery, watermarks), collaborative safety compliance, electrical safety, and cybersecurity hardening; essential performance is preserved even under analytics failure. Clinical context and adverse-event reports motivate fast deviation detection and auditable operator gating in patient-adjacent workflows [14]. Contributions include: (1) a publishable reference design, (2) quantitative latency and safety partitions, (3) standards mapping, and (4) a practical V&V checklist for deployment.
References
[1] EPICS Controls Collaboration, “EPICS 7 pvAccess and pvData Overview,” EPICS Controls, 2024. [Online]. Available: https://epics-controls.org/resources-and-support/documents/pvaccess/
[2] R. Lange, “EPICS 7 – Introduction and Overview,” presented at the EPICS Collaboration Meeting, 2023. [Online]. Available: https://www.indico.kr/event/51/contributions/661/attachments/559/1309/EPICS%207%20Overview.pdf
[3] EPICS Controls Collaboration, “pvAccess Protocol Specification,” EPICS Documentation, 2024. [Online]. Available: https://docs.epics-controls.org/en/latest/pv-access/Protocol-Prose.html
[4] K. Kasemir, “PV Access Introduction,” Oak Ridge National Laboratory, EPICS Training Slides, 2022. [Online]. Available: https://controlssoftware.sns.ornl.gov/training/2022_EPICS/Presentations/1%20PV%20Access%20EPICS.pdf
[5] EPICS Collaboration, “EPICS Archiver Appliance Documentation,” Read the Docs, 2024. [Online]. Available: https://epicsarchiver.readthedocs.io/en/latest/
[6] EPICS Tech-Talk Mailing List, “Community Update on Archiver Appliance Documentation,” June 17, 2024. [Online]. Available: https://epics.anl.gov/tech-talk/2024/msg00740.php
[7] Jefferson Lab, “epics2kafka: Kafka Source Connector for EPICS,” GitHub Repository, 2024. [Online]. Available: https://github.com/JeffersonLab/epics2kafka
[8] G. McIntyre et al., “PVXS: Modern pvAccess Implementation,” EPICS Documentation, 2024. [Online]. Available: https://george-mcintyre.github.io/pvxs/spva.html
[9] Apache Spark Community, “Structured Streaming Programming Guide,” Apache Spark Documentation, ver. 3.5.6, 2024. [Online]. Available: https://spark.apache.org/docs/3.5.6/structured-streaming-programming-guide.html
[10] Databricks, “Latency Goes Sub-Second in Apache Spark Structured Streaming,” Databricks Blog, May 15, 2023. [Online]. Available: https://www.databricks.com/blog/latency-goes-subsecond-apache-spark-structured-streaming
[11] Databricks, “Introducing Real-Time Mode for Apache Spark Structured Streaming,” Databricks Blog, Aug. 19, 2025. [Online]. Available: https://www.databricks.com/blog/introducing-real-time-mode-apache-sparktm-structured-streaming
[12] M. Wills, “Micro-Batch Execution in Spark Structured Streaming,” Spark Structured Streaming Internals, 2024. [Online]. Available: https://github.com/japila-books/spark-structured-streaming-internals
[13] Apache Software Foundation, “Spark Security,” Apache Spark Documentation, 2024. [Online]. Available: https://spark.apache.org/docs/latest/security.html
[14] International Organization for Standardization, ISO 10218-1:2025 — Robots and Robotic Devices — Safety Requirements for Industrial Robots, Geneva, Switzerland, 2025.
[15] International Organization for Standardization, ISO/TS 15066:2016 — Collaborative Robots, Geneva, Switzerland, 2016.
[16] International Electrotechnical Commission, IEC 60601-1:2020 (Ed. 3.2), Medical Electrical Equipment — Basic Safety and Essential Performance, Geneva, Switzerland, 2020.
[17] International Electrotechnical Commission, IEC 61508 — Functional Safety of Electrical/Electronic/Programmable Electronic Safety-Related Systems, Geneva, Switzerland, 2010.
[18] U.S. Food and Drug Administration, “Cybersecurity in Medical Devices: Quality System Considerations and Content of Premarket Submissions,” FDA Guidance, June 2025. [Online]. Available: https://www.fda.gov/regulatory-information/search-fda-guidance-documents/cybersecurity-medical-devices-quality-system-considerations-and-content-premarket-submissions-0
[19] International Electrotechnical Commission, IEC TR 60601-4-5:2021 — Safety-Related Technical Security Specifications, Geneva, Switzerland, 2021.
[20] International Organization for Standardization, ISO 13485:2016 — Medical Devices — Quality Management Systems, Geneva, Switzerland, 2016.
[21] Neocis Inc., “Yomi Robotic Dental System,” Neocis Product Information, 2024. [Online]. Available: https://www.neocis.com/
[22] The Robot Report, “Neocis Upgrades FDA-Cleared Yomi S Robotic Dental System,” 2024. [Online]. Available: https://www.therobotreport.com/neocis-upgrades-yomi-s-robotic-system-dental-implants/










