Physical AIPhysical AI Architecture Explained: Sensors, Edge Computing, AI Models and Industrial Control
A Physical AI system architecture connects field sensors and actuators to edge compute that runs perception, fusion and planning, then to PLCs, SCADA and enterprise systems through industrial protocols such as OPC UA, Modbus and MQTT. Functional safety and cybersecurity are designed as separate, cross-cutting layers rather than add-ons to the AI.
This article gives an engineering-level reference architecture. It supports the pillar article Physical AI in Manufacturing and is intended for automation engineers, solution architects and CTOs who need to make integration decisions.
Reference Architecture Overview
The reference architecture below separates concerns by timing and responsibility. Each layer talks to the adjacent one through well-defined interfaces, which makes components replaceable and testable.
The design rules that matter most:
- Keep the safety path independent. Safety PLCs and safety-rated sensors implement protective functions without depending on the AI stack.
- Keep real-time control deterministic. Hard real-time loops run on PLCs, motion controllers and drives, not on general-purpose operating systems.
- Place intelligence where latency allows. Perception and planning run at the edge; analytics and training run above.
- Decouple with messaging. A broker or OPC UA server between edge and plant systems isolates failures and enables replay.
Sensor and Perception Architecture
The perception layer defines what the system can know. Sensor choice should follow the decision it must support: presence, position, dimension, surface condition, identity or human proximity.
| Sensor | Provides | Strengths | Limitations |
|---|---|---|---|
| Area-scan camera | 2D images | Texture, colour, high resolution | Sensitive to lighting, no direct depth |
| Line-scan camera | Continuous 1D scans | Web and fast-moving materials | Needs motion encoder and careful lighting |
| Stereo or structured-light camera | Depth maps | Geometry for picking and measurement | Reflective and transparent surfaces are difficult |
| Time-of-flight camera | Depth maps | Compact, moderate range | Lower resolution, multipath errors |
| 2D and 3D LiDAR | Range scans, point clouds | Navigation, safety zones, robust to ambient light | Cost, sparse data on small features |
| Force-torque sensor | Contact forces | Assembly, insertion, collaboration | Needs calibration and filtering |
| IMU and encoders | Motion and orientation | High-rate state estimation | Drift without correction |
| Thermal camera | Temperature maps | Process and condition monitoring | Emissivity and calibration issues |
Industrial Cameras
Industrial cameras connect through GigE Vision, USB3 Vision, CoaXPress or Camera Link, with the choice driven by bandwidth, cable length and triggering needs. Global-shutter sensors avoid motion distortion on moving parts. Hardware triggering and strobed lighting synchronise capture to the conveyor. Optics (lens focal length, aperture, working distance) and illumination (backlight, dome, dark-field, coaxial) are first-order design decisions, often more consequential than the AI model. The GenICam and GigE Vision standards from the Association for Advancing Automation describe common camera interfaces.
LiDAR
LiDAR measures distance by timing reflected laser pulses. In factories, 2D safety laser scanners protect zones around machines and AMRs, while 3D LiDAR supports navigation and obstacle detection. Safety-rated scanners are certified products; general-purpose perception LiDAR is not a substitute for them.
Edge Computing
Edge computing places compute close to machines for low-latency inference and resilient operation. Typical hardware includes industrial PCs with discrete GPUs, embedded modules with integrated accelerators, and smart cameras for simple tasks. Selection factors are inference throughput for the target model, I/O such as multiple camera ports and fieldbus interfaces, thermal envelope in the installation environment, and lifecycle availability.
Software stack considerations include a container or service model for isolation and updates, a real-time-capable pipeline for acquisition, a model server with versioning, and local buffering so data is not lost when upstream connectivity fails. A dedicated article, Edge AI for Physical AI, covers optimisation and deployment, and Digisailor's earlier piece on edge computing gateway architecture gives gateway-level background.
AI Inference
Inference converts sensor data to predictions under a latency budget. Typical model families are object detectors, segmentation networks, pose estimators, classification and anomaly-detection models, and, for navigation or manipulation, learned policies and grasp networks.
Practical guidance:
- Define the end-to-end latency budget first: exposure, transfer, pre-processing, inference, post-processing, communication, actuation.
- Export models to an interoperable format such as ONNX and use vendor runtimes such as TensorRT or OpenVINO where suitable.
- Measure on the target hardware, not on a workstation GPU.
- Version models, datasets and configuration together so results are reproducible.
- Log confidence scores and inputs for borderline cases, subject to data policies.
Sensor Fusion
Sensor fusion combines measurements into a single, more reliable estimate. Levels of fusion include:
- Low-level (raw data) fusion: for example, projecting LiDAR points onto camera images.
- Feature-level fusion: combining learned features from several modalities.
- Decision-level fusion: combining separate detector outputs with voting or probabilistic rules.
Time synchronisation is crucial. If camera frames and LiDAR scans are not time-aligned, moving objects appear displaced. Use hardware triggers or protocols such as IEEE 1588 Precision Time Protocol where sub-millisecond alignment matters. State estimators such as Kalman filter variants are standard for tracking and localisation.
Motion Planning and Control Integration
Planning runs at the edge or on the robot controller and outputs trajectories or setpoints. The boundary between AI planning and deterministic control must be explicit. A common pattern: the edge computer computes a target pose or path; the robot or motion controller validates it against limits and executes it with its own real-time control loop. The AI layer proposes, and the controller disposes.
Where ROS 2 is used, nodes for perception and planning communicate through topics and actions, while a driver node interfaces with the vendor controller. For further detail see Physical AI in Industrial Robotics.
PLC and SCADA Integration
PLCs remain the deterministic backbone for discrete and process control. SCADA supervises and records. Physical AI should integrate with, not bypass, them.
Common integration patterns:
- Result exchange: the edge AI writes a result such as accept, reject or part position to PLC tags through OPC UA, a fieldbus gateway or direct protocol drivers; the PLC decides how to act.
- Handshake: trigger, busy, done and error signals synchronise AI processing with the machine cycle, with timeouts and defined fail-safe states.
- Supervision: SCADA displays AI results, alarms and health; historian stores time-series for analysis.
- Recipe and product change: the PLC or MES passes the active product to the AI so the right model or threshold is used.
Always define what happens when the AI node is unavailable. A well-designed system degrades safely, for example by routing parts to manual inspection rather than passing unchecked parts.
OPC UA, Modbus, MQTT and Industrial Communication
| Protocol | Model | Typical use | Notes |
|---|---|---|---|
| OPC UA | Client-server and pub-sub, rich information models | Vendor-neutral machine and plant data, MES and SCADA integration | Built-in security model; companion specifications standardise models |
| Modbus (TCP, RTU) | Simple register read and write | Legacy devices, meters, drives | No built-in security; limited semantics |
| MQTT | Lightweight publish-subscribe via broker | Telemetry to brokers and cloud, event streams | Needs TLS and authentication; payload models are up to you (Sparkplug B adds structure) |
| PROFINET, EtherNet/IP, EtherCAT | Real-time industrial Ethernet | Field-level control | Deterministic; typically handled by PLCs and gateways, not AI nodes |
| REST and gRPC | Request-response APIs | MES, ERP, model services | Good for enterprise integration, not for hard real-time |
Rule of thumb: use deterministic fieldbuses for control, OPC UA for structured plant data exchange, MQTT for scalable telemetry and events, and APIs for enterprise integration. Digisailor's Industrial IoT and OT-IT Integration solution addresses PLC, SCADA and gateway connectivity and normalisation into ERP, MES and QMS.
Data Pipelines
A Physical AI data pipeline serves two purposes: operations and learning.
- Operational flow: sensor data to edge inference to result to PLC and MES, with low latency.
- Learning flow: selected raw samples, labels, results and operator feedback flow to storage for retraining and audit.
Key practices are selective capture of hard or uncertain samples instead of recording everything, strong metadata (product, line, camera, time, model version), data governance and retention policies, and feedback loops so operator corrections become labelled data. Time-series and event data are best stored in a historian or time-series database, and images in object storage with indexed metadata.
Monitoring
Monitor the system as you would any critical production asset, with extra attention to model behaviour.
- Infrastructure: CPU, GPU, memory, temperature, storage, network, camera health.
- Pipeline: frame rates, queue depth, latency percentiles, dropped frames.
- Model: confidence distributions, class frequencies, input statistics, agreement with manual checks, drift indicators.
- Business: reject rate, throughput, pick success, false-alarm rate.
Alert on trends, not just failures. A slow decline in average confidence often precedes visible misdetections.
Cybersecurity
Connecting AI nodes to machines increases exposure. The IEC 62443 series and NIST SP 800-82 provide guidance for industrial control system security.
Core measures:
- Network segmentation using zones and conduits, with a DMZ between OT and IT.
- Strong identity, certificates and role-based access for devices and people.
- Encrypted protocol options (OPC UA security modes, MQTT over TLS).
- Signed software and model artifacts, with controlled update and rollback.
- Centralised logging and anomaly detection for the OT network.
- Patching and vulnerability management consistent with production windows.
Digisailor's Cybersecurity service covers security engineering scope in more detail.
Functional Safety
Functional safety ensures that safety functions perform correctly even when other parts fail. Relevant standards include IEC 61508, ISO 13849-1, IEC 62061 and, for robots, ISO 10218.
Architectural implications:
- Implement protective functions such as emergency stop, safe torque off, speed and separation monitoring in safety-rated devices and safety PLCs.
- Treat AI outputs as non-safety-rated inputs. They may request slower speeds or alerts but cannot be the sole protection.
- Document safety requirements, verify and validate, and manage change.
- Involve qualified safety engineers early because retrofitting safety after design is costly.
Implementation Checklist
- Define the decision, latency budget and failure behaviour.
- Choose sensors, optics and lighting for that decision.
- Select edge hardware sized with headroom and rated for the environment.
- Define interfaces to PLC, SCADA and MES, including handshakes and timeouts.
- Design the data pipeline, retention and labelling feedback.
- Segment the network and plan identity and update management.
- Specify safety functions separately and validate them.
- Build monitoring and an operations runbook before go-live.
Digisailor's Role
Digisailor provides IoT and Edge Computing and Industrial Automation and Smart Factory services, as well as Vision Intelligence deployments at the edge. To discuss an architecture review, contact the team.
Frequently Asked Questions
Related Solutions
Connect PLCs, sensors, and enterprise systems into a unified data architecture.
Use cameras + AI to strengthen quality, safety, and process discipline.
Digitize SOPs, approvals, and action closure with role-based workflows.
Explore Physical AI Solutions with Digisailor
Looking to implement intelligent inspection, industrial IoT, robotic automation, or AI-powered manufacturing systems? Connect with Digisailor to discuss your industrial requirements.
Get in Touch