Ignition acts as a unified data hub, ingesting high-velocity time-series data from PLCs, sensors, and IIoT devices via its native drivers and OPC UA connectivity. This real-time data fabric—stored in its internal Tag Historian or external SQL/time-series databases—becomes the primary source for AI model inference. For anomaly detection, the integration surface is Ignition's Perspective or Vision modules, where AI-scored alerts can be visualized, and its Scripting and Gateway layers, where inference results can trigger automated actions like writing setpoints, creating alarms, or logging events to a database.
Integration
AI Integration with Ignition for Anomaly Detection

Where AI Fits into Ignition's Real-Time Data Fabric
Ignition's SCADA and MES platform provides the perfect real-time data fabric for deploying AI-driven anomaly detection, connecting sensor streams to predictive insights without replacing core control logic.
A production implementation typically wires a containerized AI inference service (e.g., a Python service with a scikit-learn or PyTorch model) to consume data from Ignition's REST API, MQTT Engine, or a shared SQL database. The service runs multivariate analysis on rolling windows of sensor data (e.g., temperature, pressure, vibration, amperage) to generate a real-time health score. This score is pushed back into Ignition as a new tag, which can drive HMI dashboards, trigger Alarm Notification events, or execute Gateway Scripts to create work orders in a connected CMMS like SAP PM or Maximo. Governance is managed through Ignition's Project & User Management, ensuring role-based access to AI insights and audit trails of all AI-triggered actions.
Rollout focuses on a phased approach: start with a single critical asset or production line, using Ignition's data to train a baseline model offline. Deploy the model for shadow-mode inference, comparing AI-predicted anomalies against known downtime events to validate accuracy. Once trusted, transition to active alerts with human-in-the-loop confirmation via Ignition's Alarm Console before enabling fully automated responses. This controlled deployment, anchored in Ignition's robust operational environment, minimizes risk while delivering early warnings that can shift maintenance from reactive to predictive, potentially reducing unplanned downtime by surfacing failures hours or days before they occur.
Key Ignition Surfaces for AI Anomaly Detection
The Core Data Fabric for Model Training
Ignition's native tag historian and its ability to connect to external time-series databases (like InfluxDB or PI System) provide the foundational data stream for AI anomaly detection. This surface is critical for training unsupervised models to establish normal operational baselines across thousands of sensor tags.
Key integration points include:
- High-Frequency Data Ingestion: Streaming real-time tag values (pressure, temperature, flow, amperage) as feature vectors for multivariate analysis.
- Historical Data Retrieval: Using Ignition's SQL Bridge or historian queries to pull weeks or months of historical data for model training and validation.
- Contextual Tag Grouping: Organizing tags by asset, production line, or recipe phase to create logical datasets that reflect real process relationships.
AI models consume this time-series data to detect subtle deviations—like a gradual bearing temperature rise or a shift in energy consumption harmonics—that precede failures, enabling predictive alerts instead of reactive alarms.
High-Value Anomaly Detection Use Cases
Ignition's real-time data fabric provides the ideal foundation for AI-powered anomaly detection. These patterns show where to inject models to move from reactive monitoring to predictive operations.
Multivariate Equipment Health Scoring
Combine vibration, temperature, pressure, and power draw from PLCs into a single real-time health score. Models running on Ignition's gateway detect subtle interactions between signals that indicate bearing wear, cavitation, or imbalance hours before single-point alarms trigger. Automatically log pre-failure events and generate predictive maintenance work orders in your CMMS.
Batch Process Parameter Deviation
Monitor time-series trajectories for critical process parameters (temperature ramps, pressure holds, flow rates) during batch execution. AI models compare live Ignition tag histories against golden batch profiles to flag subtle deviations in phase timing or setpoint adherence that traditional SPC misses. Provide real-time guidance to operators for manual correction or trigger automated control adjustments.
Energy Consumption Anomalies
Apply unsupervised learning to Ignition's energy meter data to establish normal baselines per machine, shift, and product. Detect anomalous spikes or troughs that indicate equipment inefficiency, failed insulation, or unauthorized usage. Correlate energy patterns with production schedules to identify waste and automate alerts to maintenance for compressed air leaks or HVAC faults.
Product Quality Drift Prediction
Use in-process sensor data (vision system metrics, gauge readings, torque values) captured by Ignition to predict final quality outcomes before physical testing. Models identify drift in upstream process parameters that correlates with downstream scrap or rework. Flag at-risk production runs for enhanced inspection or hold, reducing material waste and improving first-pass yield.
Alarm Flood & Nuisance Alert Suppression
Deploy sequence-aware models on Ignition's alarm streams to identify root-cause alarms and suppress consequential ones during startup, shutdown, or failure events. Reduce operator cognitive load by presenting a prioritized, contextualized alert list. Log suppression logic for audit trails and continuously tune models based on operator feedback on alert relevance.
Supply Chain-Induced Production Anomalies
Ingest material property data (vendor lot, moisture content, viscosity) from Ignition's SQL bridge at goods receipt. Train models to detect when incoming material characteristics deviate from norms and predict the impact on downstream process stability. Alert production planners to adjust recipes or scheduling before the material hits the line, avoiding quality excursions.
Example AI-Anomaly Workflows in Ignition
These concrete workflows show how to embed unsupervised and supervised AI models into Ignition's real-time data fabric for early detection of equipment and process failures. Each pattern connects Ignition's SCADA, MES, and SQL bridging capabilities to AI inference engines.
Trigger: Ignition's Tag Historian records vibration (accelerometer), temperature, and current draw from a critical motor at 100ms intervals.
Context Pulled: A sliding window of the last 30 minutes of multivariate time-series data is extracted via Ignition's scripting or a dedicated Python module. Context includes the motor's operational state (running, idle) from a discrete tag and the current production recipe.
Agent Action: A pre-trained unsupervised anomaly detection model (e.g., Isolation Forest or Autoencoder) hosted on a separate inference server receives the windowed data via a REST API call. The model calculates an anomaly score. If the score exceeds a dynamic threshold (adjusted for current load), the agent triggers.
System Update: Ignition creates a high-priority alarm in the Alarm Journal with a detailed payload: Anomaly Score: 0.92 | Primary Contributors: High-frequency vibration (8kHz), rising temperature trend. A work order is drafted in the connected CMMS via Ignition's database transaction scripting.
Human Review: The alarm appears on the HMI for the area supervisor. A dedicated Perspective screen shows the anomalous sensor trends compared to a baseline healthy profile, allowing for quick confirmation before dispatching maintenance.
Implementation Architecture: Data Flow & Model Layer
A practical blueprint for embedding AI-driven anomaly detection directly into Ignition's SCADA and MES data pipelines.
The integration architecture treats Ignition as the central real-time data fabric, connecting three primary layers: the IIoT sensor layer (PLCs, HMIs, historians), the model inference layer (containerized AI services), and the action layer (Ignition's scripting engine, alarm system, and Perspective HMIs). Data flows from PLC tags and SQL transaction gateways into Ignition's Tag Historian, where a dedicated Python Scripting module performs real-time feature extraction—calculating rolling averages, standard deviations, and rate-of-change metrics from raw sensor streams like temperature, pressure, vibration, and flow. These engineered features are published to a message queue (e.g., MQTT or Kafka) for low-latency consumption by the AI inference service, which runs unsupervised models for multivariate anomaly detection and supervised classifiers for known failure patterns.
Inference results—scored anomalies and predicted failure probabilities—are written back to Ignition as dynamic Vision tags. These tags trigger context-aware alarms in Ignition's Alarm Notification module, which are prioritized and routed based on severity and equipment criticality. For operator guidance, the AI scores populate custom Perspective view components, creating interactive dashboards that highlight anomalous equipment in real-time and suggest probable root causes from a historical correlation database. A critical feedback loop is established by logging all operator acknowledgments and corrective actions taken in response to AI alerts back to a time-series database, creating labeled data to retrain and improve the supervised models.
Rollout follows a phased approach, starting with a single high-value production line or critical asset. Governance is enforced through Ignition's role-based access control (RBAC), ensuring only authorized engineers can adjust model thresholds or retrain pipelines. All AI inferences, data inputs, and user overrides are logged to Ignition's built-in audit trail for model performance monitoring and regulatory compliance. This architecture ensures the AI layer augments, rather than replaces, existing Ignition logic, providing a scalable path from pilot to plant-wide deployment.
Code & Configuration Patterns
Connecting to Ignition's Time-Series Data
Ignition's Tag Historian or connected SQL databases (like MSSQL, Oracle) store high-frequency sensor data. The first step is to extract and engineer features for model consumption. This involves querying time-series data, calculating rolling statistics (mean, std, min/max over a window), and creating lagged features to capture temporal patterns.
A common pattern is to use Ignition's scripting (Python or Jython) or a scheduled Gateway script to pre-process data and write features to a staging table. For real-time inference, features are calculated on a sliding window of live tag values. Ensure your data pipeline handles missing values and aligns timestamps across multiple sensor tags, which is critical for multivariate models.
python# Example: Python script for feature extraction from Ignition's SQL Bridge import pandas as pd from sqlalchemy import create_engine # Connect to Ignition's reporting database engine = create_engine('mssql+pyodbc://...') query = """ SELECT DateTime, TagName, Value FROM TagHistory WHERE DateTime >= DATEADD(minute, -10, GETDATE()) AND TagName IN ('Motor1_Vibration', 'Motor1_Temp', 'Pressure_Vessel_PSI') """ df = pd.read_sql(query, engine) # Pivot and calculate rolling features df_pivot = df.pivot(index='DateTime', columns='TagName', values='Value') window = '5min' df_features = df_pivot.rolling(window).agg(['mean', 'std', 'max']).fillna(method='bfill') # Flatten column multi-index for model input df_features.columns = ['_'.join(col).strip() for col in df_features.columns.values]
Realistic Operational Impact & Time Savings
This table shows the operational impact of integrating unsupervised and supervised AI models into Ignition for real-time multivariate sensor analysis, moving from reactive monitoring to predictive alerting.
| Metric | Before AI | After AI | Notes |
|---|---|---|---|
Mean Time to Detect (MTTD) Process Drift | Hours to days (next shift review) | Minutes to hours (real-time alert) | AI flags subtle multivariate correlations invisible to threshold alarms. |
Root Cause Analysis for Unplanned Stops | Manual log review, 2-4 hours per event | Assisted correlation, 30-60 minutes | AI suggests likely correlated sensors and prior similar events from historian. |
False Positive Alarms from Threshold Systems | High, leading to alarm fatigue | Reduced via pattern-based detection | Models distinguish between normal operational transients and true anomaly precursors. |
Equipment Failure Prediction Lead Time | Reactive (after failure or severe symptom) | Predictive (days to weeks prior) | Enables scheduled intervention instead of emergency breakdown maintenance. |
Quality Deviation Detection (e.g., parameter drift) | Post-batch via SPC review | In-process with early warning | AI detects sub-threshold drifts in multiple parameters that lead to out-of-spec product. |
Operator Response to Anomalies | Manual diagnosis from HMI screens | Contextual guidance with ranked probable causes | Ignition Perspective HMI displays AI-generated insights alongside live data. |
Data Review for Continuous Improvement | Weekly manual analysis of historian trends | Automated weekly anomaly reports with trends | Summarizes top deviation patterns, freeing engineers for deep-dive analysis. |
Model Retraining & Adaptation Cycle | Manual, quarterly or annual | Semi-automated, monthly or triggered by process changes | New data from Ignition historian used to retrain models, maintaining accuracy. |
Governance, Security, and Phased Rollout
Deploying AI for anomaly detection in Ignition requires a structured approach to ensure reliability, security, and measurable impact.
Governance starts with defining the decision boundaries for your AI models. In Ignition, this means mapping which sensor tags, OPC UA servers, and SQL historian tables feed the model, and which control actions or HMI alerts the inference can trigger. We recommend a layered approval system: low-confidence anomalies may log to a dedicated Ignition_AI_Alerts table for operator review, while high-confidence, critical predictions can trigger automated Ignition scripting to change setpoints or activate Andon lights, but only after validation against predefined business rules. All inferences, data sources, and user overrides should be written to an audit table with full traceability back to the source production order or batch ID.
Security is multi-faceted. At the data layer, ensure the AI service (hosted on-premise or in a private cloud) authenticates to Ignition's Gateway via a dedicated service account with minimal necessary permissions, typically read access to specific tag groups and write access only to designated alert tables. For models processing data from multiple plants, implement tag namespace segmentation to prevent cross-facility data leakage. The inference pipeline itself should be containerized and deployed within your manufacturing DMZ, with all communications between Ignition and the AI model service encrypted and logged. Consider using Ignition's system. network. util. postJSON function for secure, outbound HTTPS calls to your inference endpoint.
A phased rollout mitigates risk and builds trust. Start with a detection-only pilot on a single, non-critical production line. Configure the AI model to write its predictions (e.g., anomaly_score, predicted_failure_window) to shadow tags in Ignition without affecting control logic. Use Ignition's charting and reporting tools to compare AI predictions against actual downtime events and maintenance logs over 4-6 weeks. In phase two, introduce operator-in-the-loop alerts, where high-probability anomalies generate a pop-up notification in the Ignition Perspective HMI, prompting a manual acknowledgment or override. Finally, phase three enables closed-loop advisory control, where the system suggests parameter adjustments or preventive work orders in your CMMS, but requires supervisor approval via an Ignition pop-up or mobile alert before execution. Each phase should have clear KPIs, such as false positive rate reduction or mean time to detection improvement, measured within Ignition's native reporting framework.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Frequently Asked Questions
Common questions about implementing AI-driven anomaly detection within Ignition's real-time data fabric for predictive alerts and operational intelligence.
The integration uses Ignition's native capabilities as a data broker and inference engine:
- Data Ingestion: AI models connect to Ignition's Tag Historian, SQL Bridge, or directly to OPC-UA/DA/MQTT data sources. Ignition's scripting (Python or Jython) is used to structure time-series sensor data into windows for model inference.
- Inference Execution: For low-latency needs, lightweight models (e.g., Scikit-learn, ONNX runtime) are embedded within Ignition's Gateway scripting or run in a local Docker container. For complex models, Ignition calls a dedicated inference microservice via REST API.
- Result Handling: Model outputs (anomaly scores, predicted failures) are written back to Ignition as new tags. These can trigger:
- Alarms in the Ignition Alarm Notification module.
- Automated scripts to adjust setpoints or log events.
- Updates to SQL databases for audit trails.
Key Architecture: The AI layer sits beside Ignition, not inside the PLC logic, allowing for safe, non-disruptive updates to detection logic without touching control code.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us