Knowledge Center
Contents

A Requirement Analysis Framework for Factory AI Projects

The core of a factory AI requirement analysis framework is translating what the factory wants to do with AI into four things: which operation on the line, what data, what judgment standard, and who backstops it. It is not a questionnaire but a structured method that works backward from business pain points to data, algorithms, integration, and acceptance. Put plainly, whether requirement analysis is done well directly decides whether the AI project goes live in three months or drags on for a year.

1. What problems does a factory AI requirement analysis framework actually solve

Many factories get the first step wrong: they see others adopting visual inspection and want it too, or they buy an edge box first and then look for a scenario. The framework reverses that order. It does not ask what AI can do but where the most expensive loss on this line currently is, whether that loss can be described by data, and once described, what the minimum acceptable accuracy of AI judgment is.

Specifically it solves three kinds of problems. The first is false requirements, such as improving overall equipment effectiveness, a goal that cannot be broken down to specific machines and signals and therefore cannot be accepted at the end. The second is data illusion: the business side assumes MES holds all the data, but at the workstation the key operation still runs on paper. The third is missing boundaries: if it is not written down whether an AI misjudgment means a line stop, an alarm, or manual review, the line team will not dare to use it after go-live.

A usable framework usually has five layers: business goal, operation scenario, data availability, integration, and acceptance plus operations. Experience from vendors that have worked in the field for decades since the ERP era, serving 1.2 million customers with tens of millions of terminals deployed, shows that most failed projects did not fail on algorithms but left the third and fifth layers undone.

2. What are the technical principles and key capabilities of this framework

The framework itself is not software, but each of its layers maps to verifiable engineering elements.

The business goal layer performs loss decomposition. Quality cost is broken into scrap, rework, customer complaints, and line stops, and the annual amount for each is calculated on a financial basis. This step sets the budget ceiling for the AI project and determines prioritization.

The operation scenario layer must land on specific processes, such as AOI rejudgment after SMT placement, burr inspection on injection molded parts, or tool mark recognition on machined surfaces, each with different imaging conditions and judgment standards. Standards such as IPC-A-610 for electronics assembly acceptability are referenced here, defining conforming as a quantifiable defect class rather than a veteran's visual impression.

The data availability layer must inventory three things: data sources, sampling frequency, and label quality. Visual scenarios require camera resolution, light source stability, and trigger method; equipment scenarios require whether the PLC is open, whether OPC-UA or Modbus TCP is supported, and how long historical data is retained. Label quality is often neglected: many factories have defect images but no defect class labels, and that workload must be counted in advance.

The integration layer decides whether the AI system is an island or a closed loop. Typical integration includes exchanging work orders and station pass information with MES, reading equipment status from SCADA, and linking with WMS to block nonconforming products. On protocols, OPC-UA suits device-layer semantic modeling, MQTT suits edge-to-cloud messaging, and HTTP/REST is mostly used for business systems. The interface list and field mapping must be written clearly during the requirement phase, otherwise rework during implementation is expensive.

The acceptance and operations layer must define metrics. Classification scenarios commonly use accuracy, recall, and false positive rate; detection scenarios must also check whether takt meets line cycle time, for example a visual judgment must return within 200 milliseconds. On operations, clarify the model iteration cycle, the sample feedback mechanism, and who is responsible for reviewing misjudgments.

3. What are the typical application scenarios in manufacturing

Suppose an electronics plant doing PCBA contract manufacturing, where the pain point is a high AOI false positive rate and the rejudgment station works overtime every day. Decomposed with the framework: the business goal is reducing rejudgment labor, the operation scenario is secondary judgment after AOI, the data already includes AOI images and judgment results but lacks labels from manual rejudgment flowing back, and integration requires pulling images from AOI equipment and writing AI results back to MES station pass records. The acceptance metric is a lower false positive rate with an escape rate no higher than before. This scenario suits lines with stable takt and several thousand accumulated defect samples.

Consider an auto parts company doing precision machining that wants AI-based tool wear warnings. Decomposed with the framework, data availability turns out to be the bottleneck: the machine has current signals but at a low sampling rate and no vibration sensor. The conclusion from requirement analysis may then be not to deploy AI but to add sensors and data acquisition first, in two phases. That is the value of the framework: it dares to say it is not suitable yet.

Another scenario is assembly poka-yoke. An electronics plant uses AI vision at a manual assembly station to verify material model and orientation and prevent mixing. Such scenarios have strict requirements for lighting and fixed workstations and suit operations with good incoming consistency; strongly reflective or highly deformable parts need additional evaluation of the imaging scheme.

4. What to watch for when applying this framework

Frequent question one: how long requirement analysis takes. It depends on the number of lines and the data situation; a single scenario usually takes two to four weeks, while multi-site rollout extends to two or three months, with the focus on following the line on site to see real takt.

Frequent question two: whether to do a proof of concept first. Yes, but the acceptance criteria for the proof of concept must match the formal project; it is wrong for the proof of concept to look only at accuracy while the formal project only then raises takt and integration.

Frequent question three: what the cost structure looks like. It consists mainly of five parts: data acquisition hardware, labeling workload, algorithm development or procurement, system integration, and operations labor, among which labeling and integration are often underestimated.

A common mistake is the business side writing the requirement as a request for an AI platform. A platform is a result, not a requirement; the requirement should be written as: judgment accuracy for a given defect at a given operation reaches a certain level, per-piece judgment time is below a certain number of milliseconds, and misjudgments can be manually reviewed with samples fed back.

5. Which scenarios suit this framework, and which do not

Suitable scenarios: clear operation boundaries, defects or anomalies with observable physical signatures, historical data or samples sufficient to support modeling, relatively stable line takt, and explicit acceptance metrics with named owners. Discrete manufacturing such as electronics assembly, injection molding, machining, and packaging and palletizing mostly fits.

Unsuitable scenarios: process mechanisms that are completely unclear, defect definitions still disputed, almost no data acquisition foundation that cannot be fixed in the short term, or business goals that amount to trying AI and seeing what happens. In such cases, data governance and process standardization first is a better deal than jumping to AI.

In addition, detection scenarios with strong reflections, high deformation, or small samples, and lines with high-mix low-volume production and extremely frequent changeovers, need additional evaluation of imaging schemes and model generalization, and standard frameworks cannot be applied to promise results directly.

Topic: AI and Agent Encyclopedia