A: For 5G + AI to really run in a smart factory, the core of the data foundation is not "large data volume" but "time-series data that is fully collected, stably transmitted, accurately tagged, storable and retrievable" - miss any link and the AI model is only a laboratory demo. 5G solves the "transmission" problem and AI solves the "computing and judging" problem, but both stand on the data foundation. Specifically, five layers of foundation are needed.
1. High-frequency time-series data acquisition at the device layer
PLCs, CNCs, robot controllers, vision cameras, vibration sensors, electricity and water meters on the line must all be able to output data with a unified timestamp. Typical 5G + AI scenarios - such as multi-channel HD video inspection, AGV cooperative scheduling and remote robotic arm control - have very different sampling requirements: video inspection needs continuous frames at 25 to 60 fps, vibration monitoring may need thousands of samples per second, while minute-level energy data is enough. The first hurdle of the data foundation is to clarify what each type of equipment should collect and how fast, and to support parsing of mainstream industrial protocols such as OPC UA, Modbus and Profinet, rather than patching data by manual meter reading.
2. Deterministic network transmission and latency guarantees
5G in a factory does not replace wired links but fills the places wired cannot reach - moving AGVs, rotating robotic arms and temporarily cabled inspection stations. The data foundation requires the network to provide tiered quality of service: end-to-end latency for control commands usually within 10 to 20 milliseconds, video backhaul can be relaxed to tens of milliseconds but jitter must be small. At the same time 5G LAN, TSN coordination and edge UPF offloading must be supported so data closes the loop inside the plant instead of detouring through the public network. Suppose in the stamping shop of an auto parts company the 5G latency jitter exceeds the threshold; AI visual judgment will misjudge because frames are out of sync - that is not an algorithm problem but a data link problem.
3. Unified data model and spatiotemporal alignment
The most troublesome part of factory data is "same moment, different sources, inconsistent definitions." PLCs hold millisecond-level status bits, MES holds work order batches, ERP holds material codes, and the vision system holds defect coordinates. The data foundation requires a unified object model and time base that links equipment, work orders, materials, personnel and location, so everything is traceable by timestamp and line workstation. Without this alignment, AI root cause analysis sees only isolated anomaly points and cannot say "which material batch, which machine, which shift."
4. Tiered storage and governance across edge and cloud
The data volume 5G generates is considerable; a single HD video stream can produce tens of gigabytes a day. The data foundation must be tiered: the edge retains second-to-minute real-time data for closed-loop control, the plant-level platform keeps several months for model training and retrospective analysis, and the cloud handles cross-plant model iteration. There must also be data cleaning, missing value handling and label management mechanisms - especially defect sample labels for AI visual inspection, which need process engineers involved in annotation, otherwise the model never learns the real criteria. Data governance also covers permissions and desensitization, with tiered control for sensitive data involving process parameters.
5. AI-oriented data service interfaces
Storing data is not the same as being able to use it. The baseline requirement is to supply time-series data, image data and label data on demand to training platforms and inference engines through standard APIs or a data service layer, with support for feature engineering and dataset version management. In a hypothetical scenario at an electronics plant, if the SMT line needs solder joint defect detection and every changeover requires re-exporting and re-aligning data, the AI rollout cycle will be dragged out considerably.
Related question 1: how to choose between 5G and Wi-Fi 6 for factory data acquisition?
It is not either-or. Wi-Fi 6 suits fixed workstations, office and barcode scanning scenarios with less demanding latency; 5G better suits mobile equipment, high-uplink video backhaul and production control requiring network slice isolation. Many factories run both, tiered by scenario.
Related question 2: what if old equipment has no data interface?
Start with equipment networking retrofits, adding edge gateways to collect external signals such as current, vibration and temperature, then gradually replace controllers with OPC UA support. Do not chase full data coverage from the start; lock down one line and one scenario first.
Related question 3: how much investment and how long does data foundation construction take?
It depends on the number of lines, the complexity of equipment protocols and whether a private 5G network is needed. The main factors are the number of edge gateways, the deployment model of 5G base stations and UPF, platform software licenses, and the manpower for data governance. A three-step approach is recommended - single-scenario pilot, single-line replication, multi-plant rollout - with verifiable metrics at each step rather than a one-off full-scale deployment.
Where it fits and where it does not: this data foundation suits discrete manufacturing and process industry plants with a relatively high equipment networking rate and clear inspection or scheduling pain points, especially high-mix low-volume scenarios with frequent changeovers where data value density is high. It does not suit cases where line equipment is old with no short-term retrofit plan, production takt is extremely unstable, or even basic MES work order data has not been made to work - at that stage, complete the informatization foundation first and discuss 5G + AI later, otherwise the network and compute invested will idle. The test is simple: can you clearly state "which workstation, what kind of data, supporting which AI criterion"? If not, do not start yet.