AI pays off in a factory when it is pointed at one measurable constraint, such as unplanned downtime, scrap, energy per unit or the time planners spend re-sequencing orders, and not when a company buys a platform and looks for problems to give it. Pick one line, one asset or one defect, record today's baseline, and test the AI on that alone before you widen anything.
This guide is for the owner, plant manager or operations director who is asking where AI actually earns its keep on the shop floor and what a sensible first project looks like. It covers six use cases, the data each one needs, the KPIs that prove value, a phased roadmap and the ways projects usually fail. Predictive maintenance gets its own section because it is the use case most plants ask about first.
Thai manufacturing in numbers: why efficiency comes first
Manufacturing is about a quarter of Thailand's GDP and generated around THB 4.5 trillion in 2024, according to the OECD. The more useful number for an AI business case is how much of their capacity Thai factories actually use. The Office of Industrial Economics (OIE) publishes it every month with the Manufacturing Production Index.
Capacity utilisation of Thai manufacturing, September 2025 to September 2026
Share of production capacity in use each month, %. Source: OIE, MPI release for September 2026.
Across these 13 months utilisation averaged about 62% and never reached three quarters. For most Thai plants the question is not how to add capacity, but how to lower the cost of each unit already made: fewer unplanned stops, less scrap and rework, less energy per unit, fewer late orders. Those are exactly the problems the use cases below target.
Industry 4.0 signals in Thailand
The figures come from a July 2026 NSTDA and BOI announcement. The BOI measure offers corporate income tax exemptions linked to the upgrade investment, so a plant planning sensors, vision systems or data infrastructure should check the current terms with BOI before it budgets the project.
Start from the constraint, not the technology
Ask which number hurts most: hours of unplanned stoppage, parts scrapped or reworked, kilowatt-hours per unit, late orders. Then ask what decision, taken earlier or more accurately, would move that number. If you cannot name the decision and the person who takes it, you do not yet have an AI project, you have an interesting dataset.
Three screening questions help:
- Is the problem frequent enough to measure? A defect that appears every shift will show results in weeks. A failure that happens once a year will not.
- Does someone already act on this? A maintenance planner, a line leader, a quality inspector. AI works best by improving an existing decision.
- Do we have a baseline? Without last quarter's downtime or scrap rate on record, you cannot tell afterwards whether anything changed.
Six use cases and what they look like on the floor
1. Computer vision quality inspection
Cameras and a trained model check each part for surface defects, assembly errors or packaging faults, and flag the ones a person should look at. For example, a plastic-moulding plant photographs each part at the end of the line. The model flags flash and sink marks, and a rejected part drops into a separate bin with its image saved for the quality team.
What decides success: images taken under the real lighting, line speed and product variation, and defect labels agreed by the people who judge quality today. A model tested only on clean sample photos tends to disappoint on the line.
2. Predictive maintenance
Sensor readings, alarms and maintenance history are used to spot equipment drifting toward failure, so an inspection happens before a breakdown. It has its own section below.
3. Process and parameter recommendations
A model learns from historical process settings and quality results and suggests settings that tend to produce fewer defects. For example, on an electronics coating line, the system compares oven temperature and conveyor speed with defect rates by product, and suggests an adjustment when a new batch of material behaves differently. The operator sees the suggestion, the reason and the safe range, and decides.
Keep it in recommendation mode first. Letting a model write directly to machine controls is a safety-engineering project with deterministic limits and interlocks, not a data-science one.
4. Production planning and scheduling
Forecasting and optimisation help sequence orders, reduce changeovers and match labour and materials to demand. In a metal-fabrication job shop, the planner currently re-sequences jobs by hand every morning. A scheduling model proposes a sequence that groups similar set-ups, and the planner accepts, edits or rejects it. Plant constraints such as maintenance windows and material arrival dates must be inputs, or the plan will not survive contact with the floor.
5. Energy management
Models flag unusual consumption and help shift flexible loads away from peak periods. For example, a plant compares compressed-air and chiller consumption per unit produced, and the energy manager is alerted when a shift uses noticeably more than similar shifts did. Often the first win is finding leaks and idle running, which needs good metering more than clever modelling.
6. Technician knowledge assistant
A retrieval-based assistant answers technicians' questions from approved manuals, procedures and past fault records, and shows the source page. In a packaging plant, a night-shift technician types a fault code, in Thai or English, and gets the relevant manual section and the last three similar repairs. It does not replace lockout procedures or safety controls, and it should say when it cannot find a source.
Predictive maintenance: where to be strict
Predictive maintenance has the most proven value in manufacturing and the most ways to disappoint. Four choices decide whether it works.
- Choose the asset carefully. Pick equipment where a failure is expensive, where there is enough operating history, and where a maintenance action can actually change the outcome. A critical machine that fails once every few years gives the model almost nothing to learn from.
- Define the prediction. Detecting abnormal behaviour, classifying the type of fault and estimating time to failure are different tasks. Decide who receives the result, how early it must arrive, and what they will do about it.
- Trust the labels, not the notes. Combine sensor signals with confirmed failures from work orders, and separate planned stops from real breakdowns. Labels taken only from free-text technician notes are usually too inconsistent to learn from.
- Judge it by false alarms per asset. Accuracy on paper hides the real cost. If a pump produces three false alerts a week, the maintenance team will stop reading them. Test on data in time order so the model never sees the future, and have engineers confirm that the patterns make physical sense.
For example, in an auto-parts plant, a model watches vibration and temperature on the spindle motors of one machining line. When readings drift, the alert names the machine, shows the evidence and creates a work order for an inspection at the next planned stop. The technician records what was found, and that finding becomes a new label for the model.
Start with simple rules and thresholds as a baseline. They are transparent and often surprisingly strong, and the model should have to beat them. Where failures are rare, anomaly detection can work without labels, but its alerts still need an engineer to interpret.
What data you need
Data requirements are usually the real project. The sources below are the ones that come up most often.
- PLC and sensor data from machines or a historian: temperatures, vibration, pressure, current, speed, counters.
- MES or production records: what ran, when, on which line, for which order.
- Maintenance work orders: failures, causes, repairs and parts used.
- Quality records: inspection results, defect types, rework and scrap with reasons.
- ERP data: orders, materials, routings, and costs.
Two things matter more than model sophistication: consistent timestamps across systems, and one asset ID used everywhere. If the PLC calls a machine "Press-03", the maintenance system calls it "P3" and quality calls it "Line B press", joining the data becomes the first month of the project. Check this before you promise a timeline.
Data flow for a predictive-maintenance pilot
Five plant systems are joined on one asset ID and one clock before any model sees them. The result goes back into the work-order system, and the technician's finding becomes the next training label.
- 1 · Sources
- PLC, sensors, historian
- MES production records
- Maintenance work orders
- Quality records
- ERP orders and costs
- 2 · JoinOne asset ID, one clock"Press-03", "P3" and "Line B press" become one record; timestamps aligned
- 3 · ModelDrift and anomaly detectionMust beat simple thresholds; tested in time order
- 4 · ActionWork order at the next planned stopNames the machine and shows the evidence
- 5 · FeedbackTechnician records the findingConfirmed fault or false alarm becomes a new label
KPIs that prove value
| Use case | KPI to track | Data needed to measure it |
|---|---|---|
| Vision inspection | Defects caught versus escaped to customers; scrap and rework; false rejects | Labelled images, inspection results, customer returns |
| Predictive maintenance | Unplanned downtime; time between failures; false alarms per asset | Sensor history, downtime codes, work orders |
| Process recommendations | First-pass yield; scrap; operator acceptance of suggestions | Process settings, quality results by batch |
| Production planning | Schedule adherence; changeover time; late orders | Orders, routings, machine availability, actual run times |
| Energy | Energy per unit produced | Sub-metering, production counts by shift |
| Technician assistant | Time to diagnose a fault; repeat repairs | Manuals, fault history, technician feedback on answers |
Overall equipment effectiveness (OEE) is a useful umbrella measure, but track the specific KPI that your pilot is meant to move. An improvement in OEE six months later is hard to attribute to one project.
A phased roadmap
- Choose one line, asset or defect that has a reliable baseline and enough events to measure.
- Map the decision the AI will improve: who sees the output, how early, and what they do next.
- Audit the data. Check sensor quality, sampling rates, timestamps, asset IDs and label reliability before building anything.
- Pilot on historical and live data, alongside the current process, without changing it yet.
- Validate across shifts with engineers and operators. Night shift and day shift, new and old material, different operators, all behave differently.
- Put alerts into the workflow people already use: the maintenance work-order system, the MES screen, the line leader's tablet. A separate dashboard is a dashboard nobody opens.
- Monitor drift and expand slowly. Equipment wears, materials change and products are updated. Re-check performance regularly and extend to the next line only after results hold.
Why factory AI projects fail
- Unreliable labels. If nobody can say consistently what counts as a defect or a failure, the model learns the disagreement.
- Lab data that is unlike production. Good results on clean historical data collapse under real lighting, vibration and speed.
- Alerts not tied to action. No named owner, response time or work order means no value.
- Operators left out. People who were not asked will route around a system they do not trust.
- Pilots that never integrate. A proof of concept running on a laptop beside MES, ERP and maintenance systems stays a proof of concept.
- Skipping safety limits. Models can recommend. Anything that touches machine control needs deterministic limits and interlocks designed by controls engineers.
How FMF approaches it, and the comparable work we have published
FMF has been in business in Bangkok since 1999 and builds AI for business and industrial operations: models, the integration into your existing systems, and the measurement around them. Our closest published production work is computer vision and data automation in the automotive sector.
In the KIA Used Cars photo-sorting project, FMF trained a deep-learning model on more than 1,000 labelled images per angle to recognise 35 vehicle angles, with an accuracy target of at least 95%. It was connected to the client's backend through a REST API and deployed on a dedicated server for real-time processing. Sorting that took 15 minutes per vehicle by hand now takes under one second. The vehicle data automation project extended that to image quality checks, damage detection and OCR of VIN codes and documents.
How the KIA Used Cars photo-sorting system is wired
Architecture as described on the published case page. The same shape fits a camera on an inspection station.
- InputDealer uploads photosAny order, 2,000–3,000 vehicles
- IntegrationREST APICalled from the client's back end
- ModelDeep-learning classifier35 angles, 1,000+ labelled images per angle, dedicated server
- OutputSorted in under 1 secondWas 15 minutes per vehicle by hand; 95%+ accuracy
A car photo is not a stamped metal part, but what carries over to a factory is the way the work is done:
- Labelled training data built from the people who make the judgement today.
- An accuracy target agreed before development, then tested on data the model has not seen.
- Integration through an API into the system the team already uses, not a standalone tool.
- Real-time processing sized for the speed of the process it sits in.
Sources
- Office of Industrial Economics: MPI and capacity utilisation, September 2026 release (Thai, PDF; monthly table September 2025 to September 2026).
- OECD: Thailand's manufacturing sector, country context (share of GDP and 2024 output).
- NSTDA: NSTDA and BOI step up Industry 4.0 drive (Thailand i4.0 Index, Smart and Sustainable Industry applications, Competitiveness Enhancement Fund).
- BOI: Smart and Sustainable Industry measure (PDF; check current terms with BOI).
FAQ
Does a factory need new sensors to start?
Sometimes, but not always. Existing PLC data, a historian and maintenance work orders may already support a pilot. A data audit on the chosen asset tells you what, if anything, is missing before you spend on hardware.
Can AI control machines directly?
It can be built to, but you should not start there. Begin with recommendations that an operator or engineer approves. Direct control needs safety engineering, deterministic limits and interlocks that do not depend on the model.
How soon can we measure return?
It depends on how often the problem occurs. A defect that appears every shift can show a measurable result within a pilot. A rare failure takes much longer to prove, so prefer frequent problems for the first project.
Do we need a data scientist on staff?
Not to start. You need someone who owns the process question and the data, usually from operations, maintenance or quality, and a partner or team who can build and integrate the model. Ongoing monitoring needs a named owner after launch.
Which use case should a first-time plant try?
The one with the clearest baseline and the most frequent events. In many plants that is visual inspection on one product, or downtime on one critical asset, but your own numbers should decide it.
Next step
Write down the one line, asset or defect that costs you most, and what you know about its data. Bring that to a conversation, and we can tell you whether it is ready for a pilot and what is missing.
Discuss your AI project with FMF. We will look at one line, asset or defect with you and assess whether your data is ready for a pilot.
Discuss your AI project Chat with us on LINE


