Edge computing in automation, minus the marketing
What actually belongs at the edge, what belongs in the controller, what belongs centrally, and the maintenance cost nobody budgets.
By the LADX engineering team
Short answer
Edge computing means running software on hardware near the machine rather than in a data centre: protocol conversion, buffering, aggregation, local analytics and sometimes inference. It belongs where latency, bandwidth or availability rule out a central system. It does not belong where a PLC already does the job, and every edge device is another computer somebody has to patch.
Edge computing is the least precisely used term in industrial automation, which is a competitive field. Stripped of the marketing it means one thing: running software on hardware near the machine rather than somewhere central.
The interesting question is not what it means, it is what belongs there.
The three tiers, honestly
The controller. Deterministic real time control. Anything that must happen every scan, or that stops the machine when it is wrong. Nothing that can wait belongs here, and nothing here should depend on anything above it.
The edge. Protocol conversion, buffering, aggregation, local analytics, inference, and providing a local interface when the network is down.
Central. Historian, reporting, cross site comparison, model training, anything needing data from more than one place.
The test for whether something belongs at the edge is a single question: what happens when the link to central goes down for two hours? If the answer is that the machine stops, the thing is in the wrong tier.
What genuinely belongs at the edge
Protocol conversion. A twenty year old machine speaking Modbus RTU, and a plant that speaks MQTT. Something has to translate, and it has to be near the machine.
Store and forward. Buffering data through a network outage, with original timestamps preserved. Cannot be done centrally by definition.
Vision and high rate signals. A camera producing images or an accelerometer at 20 kHz generates more data than anybody wants to send anywhere. Process locally, send the result.
Inference where latency rules. A reject decision within a hundred milliseconds cannot involve a round trip to a cloud region.
A local interface. An operator screen that still works when the plant network is down.
What does not belong there
Control. Repeatedly, because it keeps being proposed. An edge device runs a general purpose operating system with no timing guarantee and a patch cycle. It is not a controller, and putting an interlock in one is a decision that will be discussed at an inquiry.
Anything the PLC already does well. Counting parts, timing a sequence, scaling an analogue input. Moving these to an edge device adds a dependency and a failure mode for no gain.
Model training. Data goes central for that. Inference comes back.
The cost that is always underestimated
Every edge device is a computer.
It has an operating system that needs patching. Certificates that expire. A configuration that needs backing up. A disk that fills. A failure mode that requires somebody to know how to rebuild it.
Twenty machines with an edge device each is a fleet, and a fleet needs management: remote deployment, health monitoring, a rollback path, an inventory of what is running what version.
Deployments fail here far more often than they fail technically. The proof of concept works; the twentieth device is running an image nobody remembers building.
Security
An edge device sits between the plant network and something outside it, which is the definition of the position an attacker wants.
- Outbound connections only, initiated from the edge.
- Read only from the controller wherever the application allows.
- Certificate based authentication, with a renewal process that exists before the first certificate expires.
- A patching plan agreed with whoever owns the machine, because a device that cannot be patched during production is a device that is never patched.
Where to start
One machine, one gateway, one genuine question you cannot currently answer. Prove the value, then work out the fleet management before the second one, not after the tenth.
Sources and further reading
- Edge computing (Wikipedia)en.wikipedia.org
- ISA/IEC 62443 series of standards (ISA)isa.org
Common questions
- What is the difference between an edge device and a PLC?
- A PLC executes deterministic control on a fixed scan and is built to run for a decade untouched. An edge device runs general purpose software with an operating system, no timing guarantee, and a patching obligation. Control belongs in the PLC; data handling and analysis belong at the edge.
- Should machine learning inference run at the edge?
- Where the decision must be made faster than a round trip to a server allows, or where the data volume makes sending it central impractical, yes. Vision inspection is the clear case: images are large and the reject decision is immediate. Training almost always happens centrally.
- What is the hidden cost of edge computing?
- Fleet management. Twenty edge devices are twenty computers needing operating system patches, certificate renewals, configuration backups and a recovery procedure. Without an answer to that, an edge deployment becomes twenty unmaintained Linux boxes on the plant network.
Keep reading
- Networking
Getting PLC data into a database without wrecking the controller
Four architectures, the one that puts SQL in ladder and why it goes wrong, and the buffering that survives a network outage.
- Practice
Security for control systems, without the theatre
A short list of things that genuinely reduce risk on an OT network, and the ones that only look like they do.
- Networking
MB_CLIENT in TIA Portal: Modbus TCP setup and STATUS codes
Set up MB_CLIENT on an S7-1200 or S7-1500: the connection, MB_MODE and addressing, polling several blocks, and what every STATUS code means and how to fix it.