A: The role AI plays in a factory is essentially determined by the data foundation: whatever granularity, timeliness and quality you feed it, it can only play the corresponding level of role. Many factories buy AI as a panacea and then find it cannot even produce basic anomaly alarms accurately, and the root cause is usually not the algorithm but a data foundation that was never laid properly.
1. First avoid a common misconception: assuming that having MES and ERP means having a data foundation
This is where most people fall in. Data in ERP is result data, such as how many work orders were completed or how much inventory remains, with daily or even weekly granularity; AI needs to make real-time judgments and therefore needs process data: current fluctuations of equipment every second, actual parameters of each material batch, takt differences at each station. One electronics plant assumed that once ERP ran smoothly it could move to predictive maintenance, only to find there was no high-frequency collection on the equipment side at all, and had to retrofit vibration and temperature sensors to connect the data chain. So the first thing is not choosing an AI model but checking whether your data is fine enough in time granularity.
2. Three levels of AI role correspond to three types of data foundation, at completely different levels
1. Descriptive roles (report visualization, anomaly statistics): these need structured data from business systems, and historical records in ERP, WMS and MES are basically enough; the key is consistent definitions and master data that does not conflict.
2. Diagnostic roles (root cause analysis, quality traceability): these need linked data across systems, for example aligning process parameters, equipment status, material batches and personnel shifts on the same timeline. Here data silos become a hard injury; the lesson at one auto parts company was that quality data and equipment data lived in two systems with mismatched timestamps, and half a year of traceability analysis produced no conclusion.
3. Predictive roles (predictive maintenance, yield prediction): these need high-frequency time-series data and a long enough historical span, usually requiring second-level or minute-level collection, with history covering multiple operating-condition cycles, otherwise the model cannot learn the real pattern of equipment degradation.
3. The real trap: having data does not mean having usable data
Three types of problems are common. First, timestamps are not synchronized: PLC, SCADA and MES each run their own clock and correlation analysis simply fails. Second, labels are missing: supervised learning needs labeled fault and defect samples, and many factories never recorded why a given downtime happened. Third, data quality is poor: sensor drift and casual manual entry cause large model training bias. The way to avoid this is practical: do data governance before discussing AI, and sort out master data, time synchronization and the labeling system, which pays off far better than rushing into models.
4. Best practice: work backwards from the AI role to prioritize data construction
Do not pursue plant-wide data connectivity from the start; it is costly and slow. A more reliable approach is to lock onto one specific AI scenario, such as yield prediction for one line, then work backwards to determine which data is needed, how fine the granularity must be and how long the history must span, validate value on a small scale, and then replicate horizontally. The experience of vendors with decades of work since the ERP era, 1.2 million customers served and tens of millions of terminals deployed also shows that a data foundation is accumulated step by step, not delivered as a one-off project.
Related question: how good must the data foundation be before adopting AI? Can predictive maintenance be done without historical fault data? How should edge computing and cloud data architecture be chosen?
Short answer: the minimum threshold for adopting AI is that the data required by the target scenario can be collected stably, timestamps can be aligned and basic labels exist; without fault samples you can start with unsupervised anomaly detection or transfer learning, but be clear about the limits of the results; for high-frequency time-series data, preprocess at the edge and train models in the cloud to avoid the bandwidth and latency of sending everything to the cloud.
Where it fits and where it does not: if the plant already has a fairly complete acquisition layer on the equipment side, unified master data definitions and a willingness to do data governance first, the AI role can move steadily from diagnostic to predictive; if even basic acquisition is absent, system data has long been inconsistent and nobody maintains data quality, it is better to shore up the digital foundation first instead of assigning AI the difficult predictive role, otherwise the investment will rarely pay back.