Skip to content

Edge computing in manufacturing and logistics

B2Bnetwork team · · 6 min

Technology and trends

In brief

Edge computing in manufacturing and logistics means processing data close to its source: at the production line, in a warehouse hall, or in a vehicle, instead of sending everything to the cloud. It pays off when a decision has to be made in milliseconds, the link can be unreliable, there is too much data to transmit in full, or the data cannot leave the plant. The cloud remains for analytics, model training, and reports. What matters is common protocols, remote device management, and OT network security.

What edge computing is in a plant and a warehouse

Edge computing is a layer of computing between machines and a data center or the cloud. In a factory these are industrial computers and gateways at the lines that collect signals from PLC controllers, sensors, and cameras, process them locally, and send on only the result. In a warehouse they are servers in the hall serving scanners, autonomous vehicles, and RFID gates.

A typical layering looks like this:

LayerWhereWhat it does
Devicesmachine, sensor, controller, scannermeasures and controls in real time
Edgegateway at the line, server in the hallcollects data, filters, computes indicators, runs models
Plantplant server room, MES, WMSplans production and the flow of goods
Cloud or data centerdata warehouse, data platformanalyzes data from many plants, trains models, reports

This split loosely corresponds to the levels of the ISA-95 model (IEC 62264), which describes the integration of control systems with enterprise business systems.

When to process at the machine and when in the cloud

At the machine you process what must work without delay and without a link, and in the cloud what needs a broad picture and a lot of compute. Four reasons to compute at the edge:

  1. Latency. When a camera detects a defective item on the belt, it has to be rejected before it passes the ejector. A round trip of the image to the cloud takes too long.
  2. Link reliability. A line cannot stop because an internet provider has an outage. The edge buffers data and works on its own.
  3. Data volume. A vibration sensor sampled at a high frequency generates a stream that is not worth sending in full. At the edge you compute the vibration spectrum and send only indicators and anomalies.
  4. Confidentiality. Recipes, process parameters, and recordings from the hall may not be allowed to leave the plant.

A maintenance example: a gateway at a compressor computes vibration and temperature indicators every few seconds, and an anomaly detection model runs locally. Aggregates and alarms go to the cloud, where reports for many plants and new model versions are produced, and those return to the edge.

A logistics example: in a warehouse an edge server serves scanners and sorters, so picking keeps working even when the link to the central WMS is down. When the connection is restored, events are synchronized and the system resolves conflicts according to set rules.

Protocols and integration

Edge works only when devices from different vendors speak a common language. In industry you most often encounter:

  • OPC UA (IEC 62541): a standard for exchanging data with machines and controllers, with an information model describing what each variable means, and with built-in security mechanisms.
  • MQTT: a lightweight publish-subscribe protocol, an OASIS standard, popular for sending data from gateways to data platforms, including over poor-quality links.
  • Controller protocols of specific vendors and older fieldbuses, which the gateway translates to OPC UA or MQTT.

Good practice is a single consistent model of names and units: "Plant / Hall / Line / Machine / Signal." Without it, every analytics project starts with weeks of mapping variable names.

Between the edge and the plant and cloud systems, data usually flows as an event stream. We describe patterns for such processing in the article Real-time events from the network, and integration with business systems in the article ERP integration.

Managing a fleet of edge devices

A few gateways can be maintained by hand, a few hundred across many plants cannot. You need:

  • remote deployment of applications to the edge, usually as containers, sometimes lightweight Kubernetes distributions or WebAssembly modules,
  • versioning and rollback of changes, because an update that breaks data collection from a line has to be reversible without sending out a technician,
  • monitoring of device health: disk, temperature, link, data latency,
  • inventory: which model, which firmware, which application in which version, in which hall,
  • testing before deployment in an environment with machine simulators, because testing on a running line is expensive and risky.

The cost of maintaining a fleet often exceeds the cost of the hardware itself, so it is planned from the first pilot.

OT network security

Every edge device connects two zones: the machine network (OT) and the company network or the internet. That makes it a natural target for attack, and it must be designed as a security element, not just a computer at a machine.

The basic principles come from the ISA/IEC 62443 series of standards, which describes the security of industrial automation systems:

  1. Segmentation into zones and conduits. A gateway at the line communicates only with specific controllers and one point in the company network, through defined ports.
  2. Outbound instead of inbound traffic. The gateway connects to the platform itself, and nobody connects to it from the internet.
  3. Device identity. A certificate for each gateway, key rotation, no shared factory passwords.
  4. Signed updates verified before installation.
  5. Monitoring OT network traffic to detect unusual connections.

For many manufacturing plants and logistics companies there are also obligations under the NIS2 directive, described in the article NIS2: who it covers and what obligations it places on IT.

B2Bnetwork engineers build data platforms for production lines, test MES and WMS systems, and integrate plant systems with ERP. The scope of services is described in the What we do section.

Questions and answers

How does edge computing differ from an ordinary server in a plant?

A server in a plant is usually a single point where data flows in. Edge computing is many small compute points placed at machines, managed centrally like a fleet: with one way of deploying applications, updating, and monitoring. So the difference lies less in the hardware than in the architecture and how it is maintained.

Does edge computing replace the cloud?

No, it complements it. The edge handles fast decisions, working without a link, and reducing the amount of data. The cloud or a data center collects results from many plants, stores history, trains models, and feeds reports. Most deployments in industry are a hybrid, in which models trained centrally run locally.

Where do you start an edge project in a factory?

With one concrete problem on one line, e.g. detecting downtime or vibration anomalies, with a measurable goal. Then: an inventory of controllers and protocols, choosing a gateway, a signal naming model, network segmentation, and a pilot. Only after a successful pilot do you plan a fleet, remote management, and further plants.

How do you test applications running at the edge?

In an environment with machine and controller simulators that reproduce real signals, including faulty and extreme ones. You test operation without a link, buffering and synchronization once the network returns, updates and rollback, and load with a full line. Testing on live production is limited to a short, planned window.

What it looks like in a project

Considering a new technology for your system? Talk to an engineer.

Let's talk

Read more: Technology and trends