Why industrial traceability has become a strategic issue
Requirements are tightening: the Food Safety Modernization Act in the United States, the European regulation on medical devices (MDR), the IATF 16949 standard in the automotive sector. In many industries, the ability to trace a product's journey, from raw materials to delivery to the end customer, has become a regulatory or contractual obligation. It is also a competitiveness lever: it limits the cost of recalls, improves quality, streamlines logistics and reassures contractors.
Yet traditional methods (manual entry, linear barcodes, spreadsheets) show their limits in the face of current supply chain complexity. The Internet of Things addresses this by automating data collection at each stage of the product's life.
This article details IoT architectures for industrial traceability, capture technologies (RFID, UWB, BLE, LoRaWAN), protocols and standards (GS1 EPCIS, OPC UA, MQTT) and three use cases in agri-food, automotive and pharmaceuticals.
The limits of traditional approaches
Manual entry and 2D codes: the risk of human error
Manual entry, whether scanning a barcode or noting a batch number on paper, introduces latency and an error rate that increases with the production pace.
QR codes and Data Matrix (2D barcodes) increase information density but retain several limitations:
- Direct line of sight required between the reader and the label;
- Hostile environments: dust, humidity, oils and high temperatures quickly degrade printed labels;
- No update possible: once printed, the code is frozen;
- No location without scanning: no real-time visibility on the position of work in progress.
ERPs alone are not enough
ERPs (SAP, Microsoft Dynamics, Odoo, etc.) manage transactions and inventory very well, but capture field events in real time poorly. The blind spot between the output of one workstation and arrival at the next, the tracking of work in progress (Work In Progress), is a major source of losses: misplaced parts, undetected bottlenecks, incomplete batches.
IoT fills this gap by adding a layer of sensors, electronic identifiers and connectivity between field equipment and information systems.
IoT architecture for industrial traceability
A complete architecture relies on four functional layers, each subject to constraints specific to the industrial environment.
Layer 1: marking and identification
Each object (raw material, subassembly, finished product, pallet) must carry a unique identifier readable by a machine. Available technologies:
- RAIN RFID (UHF, 860-960 MHz): passive tags, range on the order of 10 meters depending on conditions, simultaneous reading of hundreds of tags. ISO/IEC 18000-63 standard (EPC Gen2v2). Suited to pallets, cartons and reusable containers.
- HF / NFC RFID (13.56 MHz): range of a few centimeters, secure reading, smartphone compatible. Used for unit traceability of high-value products (medical devices, electronic components).
- UWB (Ultra-Wideband): active tags with localization on the order of 10 to 30 cm. Suited to tracking tools, AGVs or parts being machined.
- BLE (Bluetooth Low Energy) 5.x: low-cost active tags, several years of autonomy, localization by signal strength measurement (RSSI) with accuracy on the order of 1 to 3 meters. Good cost/accuracy compromise for batch tracking.
- Laser-etched Data Matrix: in extreme environments (foundries, heat treatment), direct marking (DPM, Direct Part Marking) is sometimes the only viable option. High-temperature RFID tags also exist.
Layer 2: reading and capture
Fixed readers placed at strategic passage points (zone entrances, dock doors, conveyors, quality control stations) automatically record the passage of marked objects:
- UHF RFID portals: reading several hundred tags per second, installed at zone transitions;
- Reading tunnels: for high-speed conveyors, with a high read rate even when cartons overlap;
- Ground or portal antennas: for forklifts and AGVs, with automatic reading of transported pallets;
- Mobile readers: Bluetooth scanners paired with a tablet or an Android terminal for material handling;
- LoRaWAN gateways: for long-range reporting (tracking containers in an outdoor yard, batches in a refrigerated warehouse).
The transport protocol between readers and the upper layer depends on the criticality and data volume:
- MQTT (QoS 1 or 2): asynchronous and lightweight, suited to continuous reading flows;
- OPC UA: interoperable with existing PLCs and SCADA, with information models aligned with ISA-95;
- gRPC over HTTP/2 or REST API: for integrations with cloud services;
- AMQP: advanced message routing and persistent queues for disconnection periods.
Layer 3: event engine and correlation
The traceability middleware receives raw events from readers (tag identifier, timestamp, location) and transforms them into business events. This is where the system's intelligence resides:
- Aggregation: a batch of 50 parts passing a portal becomes a single event "batch X entered zone Z";
- Filtering: removal of redundant reads (a tag can be read dozens of times in a few seconds at a portal);
- Correlation: linking a production event (welding, testing, assembly) to the object's unique identifier;
- Sequencing: reconstructing the exact order of operations from timestamps;
- Anomaly detection: alert if an object skips a step or if the time between two operations exceeds a threshold.
Part of this processing can be performed close to the lines, on a local gateway: this is the principle of edge computing for industrial IoT.
Layer 4: storage and retrieval
Volumes are significant: a medium-sized factory can generate millions of events per day. Suitable storage solutions:
- Time-series database (TimescaleDB, InfluxDB): sensor measurement series and location histories;
- Graph database (Neo4j, ArangoDB): ideal for upstream traceability queries (tracing: "which batches were used to make this finished product?") and downstream (tracking: "where are all the products made with this batch of material?");
- Cold object storage (S3/MinIO, Parquet format): long-term low-cost retention, when regulations require keeping data for many years (up to 10 to 15 years for certain medical devices, for example);
- Distributed ledger of the blockchain type (Hyperledger Fabric, Quorum): when immutability and sharing between multiple actors are critical (food traceability from farm to fork, proof of provenance).
The retrieval API exposes this data to business applications (ERP, MES, WMS, CRM, customer portal), generally in REST or GraphQL, with predefined queries for common cases: track by ID, trace by lot, genealogy by product.
Protocols and standards for IoT traceability
A traceability system is only valuable if its data is interoperable between supply chain actors. Several standards play a key role.
GS1 EPCIS 2.0, the exchange standard
The EPCIS (Electronic Product Code Information Services) standard, whose version 2.0 was ratified by GS1 in 2022, defines the exchange format for traceability events. Each event answers four questions:
- What: which object (EPC, GTIN — Global Trade Item Number);
- When: at what time (timestamp);
- Where: at what location (GLN — Global Location Number);
- Why: at which process step (business step: commissioning, shipping, receiving, aggregation, disaggregation).
EPCIS 2.0 notably brings native support for JSON-LD (in addition to the historical XML), a REST interface for capture and queries, and the recording of sensor data associated with events. The standard is widely used in large retail, pharmaceuticals (notably for DSCSA compliance in the United States) and agri-food, where traceability is regulated in Europe by Regulation (EC) No. 178/2002.
OPC UA and ISA-95
The companion specification OPC UA for ISA-95 translates the ISA-95 information model into OPC UA. It allows describing in a standardized way:
- resources (equipment, operators, materials);
- operations (production, maintenance, quality);
- batches and sub-batches (batch, sublot);
- material consumptions and their allocations.
The advantage of OPC UA is its direct integration with production equipment (CNC machines, robots, PLCs): the OPC UA server is often embedded in the PLC or industrial PC, which limits the need for additional gateways.
MQTT Sparkplug B, real-time IIoT
The Sparkplug B specification, maintained by the Eclipse Foundation, adds industrial semantics to MQTT: data typing, connection state management (birth and death messages) and hierarchical organization of equipment (group, edge node, device). It is well suited to lightweight edge computing architectures, where the local gateway processes events and only reports useful information to the cloud.
Three use case scenarios
1. Agri-food: from field to fork
In agri-food, traceability conditions market access. At a poultry processor, a typical architecture combines UHF RFID and connected sensors:
- Marking: RFID tags integrated into plastic transport crates (reusable containers washed in a closed loop);
- Reading: RFID portals at receiving docks, at the entrance to the cutting zone and at each packaging station;
- Environmental data: temperature probes (for example DS18B20 on a 1-Wire bus) in cold rooms, connected to a LoRaWAN gateway;
- Middleware: correlation between RFID events and temperature curves, with real-time alert if a batch has undergone a cold chain break.
Expected benefits: a batch is traced in a few seconds instead of several hours of documentary research and, during a recall, only the actually affected pallets are identified and blocked.
2. Automotive: the genealogy of safety parts
For a Tier 1 supplier manufacturing brake calipers, unit traceability combines laser Data Matrix and RFID:
- Direct marking: a laser-etched Data Matrix on each caliper from the start of the line;
- RFID on part carriers: the part carrier that accompanies the caliper on the conveyor carries an HF RFID tag containing the part identifier;
- Automated readings: each machining station and each control station transmits its results to the MES via OPC UA, which associates them with the part identifier;
- Testing: torque and pressure curves are time-stamped and linked to the unique identifier.
Expected benefits: in case of a defect detected at the end of the line, the system immediately identifies the machine, program, operator and material batch involved. Process drifts are spotted before affecting an entire batch, which reduces scrap.
3. Pharmaceuticals: DSCSA compliance and the fight against counterfeiting
In the United States, the Drug Supply Chain Security Act (DSCSA) requires electronic and interoperable traceability at the individual package level, whose requirements came into force at the end of 2023, with transition periods granted by the FDA. A typical system includes:
- Serialization: each package receives a unique GS1 DataMatrix (GTIN, serial number, batch, expiration date);
- Hierarchical aggregation: package, carton, pallet, with reading at each level;
- Shared ledger: EPCIS events are signed, time-stamped and shared between the manufacturer, the wholesaler and the pharmacy, for example on Hyperledger Fabric;
- Verification API: a pharmacist scans a package's Data Matrix and obtains its history from production.
The investment is heavy, but it is a prerequisite for accessing the US market. The system also detects counterfeiting attempts: a package whose serial number has already been scanned elsewhere triggers an alert.
The benefits of IoT for traceability
Beyond compliance, gains affect several indicators, whose magnitude depends on the starting point and the scope covered:
| Indicator | Without automated traceability | With IoT traceability |
|---|---|---|
| Batch traceability time | Several hours of research | A few seconds to a few minutes |
| Parts lost during manufacturing | Discovered late | Located at the last passage point |
| Duration of a quality investigation | Several days | Generally a few hours |
| Safety stock | Sized to compensate for lack of visibility | Adjusted on real data |
| Product recall | Often broad, for lack of precision | Targeted on affected batches or pallets |
Accurate, real-time traceability makes tracking data a decision-making tool. Quality, logistics and production work on the same event repository, without redundant entry or information lag.
Deploying an IoT traceability solution in five steps
Step 1: audit and flow mapping (2 to 4 weeks)
Identify current blocking points (errors, search time, cost of non-quality), map physical flows and the decisions associated with each step. Define the objects to trace (batch, unit, pallet, container) and the necessary granularity.
Step 2: choosing capture technologies (1 to 2 weeks)
Select the combination of identifiers (UHF RFID, HF/NFC, UWB, BLE, direct marking) suited to each environment: temperature, presence of metal, passage pace, budget per reading point.
Step 3: middleware and integration (4 to 8 weeks)
Deploy the event engine and connect it to the MES or ERP via appropriate interfaces (OPC UA, REST API, SOAP, EDI). Define correlation and filtering rules with business teams.
Step 4: field deployment and validation (2 to 4 weeks)
Install portals and readers, train operators and validate the complete chain on a pilot line before scaling up.
Step 5: production and continuous improvement
Measure indicators, adjust alert thresholds, extend the system to new lines and, if necessary, to upstream suppliers.
These durations are indicative and vary according to the site size and the number of systems to integrate.
Conclusion
Industrial traceability via IoT is no longer an innovation project: it is an operational and often regulatory necessity. Technologies are mature (UHF RFID, EPCIS and OPC UA standards, industrialized middleware) and the return on investment rests on three levers: fewer losses, better-sized inventory and targeted rather than massive recalls.
At IOTINNOV, we design connected devices and a web-based remote management platform for industrial equipment, with history, CSV export and API. This data can feed your traceability tools and business systems. To discuss this, contact our team.


