← Notes

AI for automation engineers, without the hype

Where probabilistic tools actually help an automation engineer today, why they stay outside the control loop, and why boring data foundations still win.

Spend ten minutes on LinkedIn and you would think every factory is about to rip out its PLCs and replace them with autonomous AI agents before lunch. Spend ten minutes on a real plant floor and the conversation is rather different: valves still need interlocks, motors still trip on overload, and nobody wants a probabilistic model guessing whether a safety gate is closed.

Between the vendor hype and the reflex to dismiss AI completely, there is a narrow, genuinely useful middle ground. Here is where I actually see AI earning its keep in industrial automation, and where I still keep it well away from the cabinet.

Put probabilistic tools beside the control loop, not inside it

A PLC’s greatest virtue is being boring and predictable. Given the same inputs and internal state, it executes the same logic in the same few milliseconds, every scan, for ten years. A language model or neural network works by statistical inference: fluent, flexible, and occasionally wrong with complete confidence.

That single distinction draws the architectural boundary for me. Deterministic control, safety logic, hard equipment limits and interlocks stay inside the PLC. AI belongs beside the control system (reading historian data, searching manuals, flagging subtle drift, or helping engineers write and review documents), with a human or a deterministic limit guarding every action that touches physical equipment.

Match the method to the actual problem

Before reaching for a neural network or a large language model, check whether a simpler tool already solves the job more transparently:

Engineering problemStart hereWhere AI actually helps
Known limit violations or tripsAlarm thresholds, range checks, PLC interlocksUsually unnecessary
Finding a wiring detail across 400 PDFsStructured document naming and searchRAG that cites the exact manual page and revision
Subtle equipment drift without clear rulesStatistical process control (SPC), run-hour logsAnomaly detection on clean time-series data
Surface or label inspection at line speedRule-based vision (lighting, contrast, geometry)Supervised computer vision for irregular defects
Drafting handover docs or reviewing SQLTemplates and peer reviewLLM as a fast first draft or second pair of eyes

Where AI genuinely helps today

A few practical applications already save real engineering hours without threatening plant reliability:

  • Searching messy engineering documentation (RAG): plants accumulate thousands of pages of electrical drawings, vendor PDFs, FAT reports, SOPs and shift handovers. Connecting a retrieval system to approved documents so every answer links straight back to the exact manual page and revision is far more useful than chatting with a generic model. Retrieval quality matters far more than which model sits on top.
  • Drafting and structuring text: turning raw commissioning notes into a clean handover table, summarising an incident timeline, translating error lists between German and English, or drafting initial test checklists. The model does the tedious formatting; the engineer verifies every tag name, limit and technical claim.
  • Second pair of eyes on code and SQL: pasting a non-proprietary Structured Text block or a tangled SQL query and asking “what edge cases or off-by-one bugs am I missing?” works surprisingly well. Using a model to generate safety or sequence logic blindly from scratch does not.
  • Targeted perception and anomaly detection: visual inspection for surface defects that fixed thresholds cannot catch, or vibration and process-drift monitoring on high-value assets, provided you actually have clean, labelled historical data and a sensible false-alarm budget.

Why most industrial AI pilots stall after the demo

It is rarely because the algorithm was too weak. Almost every stalled factory pilot I have heard about tripped over one of three unglamorous problems.

First, missing or dirty data. People propose “predictive maintenance with machine learning” before checking whether the plant even records failure labels, maintenance work orders and clean UTC timestamps. If a pump has only failed twice in four years and nobody logged when the bearing was swapped, no neural network on earth can conjure a training dataset out of thin air. A simple vibration threshold or run-hour alert beats a complicated model nine times out of ten.

Second, starting with a model instead of a decision. “Apply AI to Line 3” is not an engineering specification. “Flag abnormal seal-bar temperature drift at least 30 minutes before reject rates climb, with fewer than two false alerts per week” is something you can actually measure against a simpler baseline.

Third, forgetting ownership after commissioning. Models drift when products change, sensors get recalibrated or mechanical parts wear. Without someone owning monitoring, data-pipeline health and security rules (especially deciding what proprietary code or recipes are allowed to leave the plant network), the pilot turns into an abandoned dashboard within six months.

Context beats clever prompts

When I use language models in my own day-to-day work, the difference between a useless answer and a helpful one is almost never a clever prompt trick. It is the engineering context I hand over: the PLC family, the exact state transitions, the constraints that cannot be violated, and what failure mode I am worried about. And before anything touches a real system, it goes through the exact same verification (compiler, simulator, code review and test bench) as code I typed myself.

Automation engineers do not need to rebrand themselves as data scientists to stay useful. Clean tag models, reliable historians, clear system boundaries and honest testing are the exact foundations every serious industrial AI project depends on anyway. Get the boring engineering right first; the smart tools only work on top of it.