4G remote monitoring for compactors & critical equipment
Free 1-month trial
Technical & AI

AGV and AMR: Autonomous Navigation, IoT Supervision, and ERP Integration

23 juillet 202614 min readIOTINNOV Team

In factories and warehouses, manual carts and fixed conveyors are gradually giving way to fleets of autonomous vehicles capable of transporting loads, avoiding obstacles, and exchanging data in real time with the information system. AGVs (Automated Guided Vehicles) and AMRs (Autonomous Mobile Robots) are not simple rolling machines: they are cyber-physical systems whose performance depends on navigation, functional safety, IoT supervision, and integration with the ERP and WMS.

This guide details their technical architecture, navigation algorithms, communication protocols, and the keys to successful integration. It is aimed at industrial directors, automation project managers, and technical managers evaluating these technologies.

AGV or AMR: two different architectures

The two families share a common base (motorized chassis, battery, embedded controller, safety sensors), but differ fundamentally in their navigation mode.

AGV: infrastructure-guided

AGVs travel along predefined trajectories, materialized by physical markers: magnetic strips, inductive wires, laser reflectors, QR codes on the floor, or buried transponders. Their navigation is deterministic: the robot follows a fixed path, stops at precise points, and makes no decisions when faced with the unexpected. If an obstacle blocks the trajectory, the AGV stops and waits for it to be removed. This operation offers high repeatability, at the cost of significant rigidity.

Typical AGV architecture:

  • Embedded controller: 32-bit microcontroller (STM32, ESP32) or compact PLC for path execution.
  • Guidance: magnetic, inductive, or optical sensors for track following.
  • Safety: safety laser scanner (SICK, Keyence...) for obstacle detection, with emergency stop.
  • Communication: industrial Wi-Fi 2.4 GHz or UHF radio to supervision.
  • Supervision: centralized traffic manager that arbitrates intersections and priorities.

AMR: autonomous navigation without floor markings

AMRs require no physical markers. They build a map of their environment, localize themselves continuously, and plan their trajectory dynamically. If an unexpected obstacle (moved pallet, pedestrian, forklift) blocks the path, the AMR calculates a detour route without human intervention. This ability to adapt to changes in workshop layout explains their growing adoption.

Typical architecture of an industrial AMR:

  • Main computer: NVIDIA Jetson Orin or compact industrial PC, typically running ROS 2 (Humble or Jazzy distributions).
  • Sensor fusion: 2D/3D LiDAR for mapping, stereo or depth camera for obstacle detection, inertial measurement unit (IMU) and wheel encoders for odometry.
  • Localization: SLAM (Cartographer, RTAB-Map, ORB-SLAM3...) with map updates.
  • Planning: Nav2 (ROS 2), with A* or Dijkstra for global planning, DWA, TEB, or MPC for local planning.
  • Safety: redundant dual circuit (PL d safety laser scanner and hardwired emergency stop buttons), in accordance with EN ISO 13849.
  • Connectivity: Wi-Fi 5/6 at 5 GHz with fast roaming between access points, optionally 4G/5G for remote tracking.
  • Interfaces: MQTT or OPC UA for remote supervision, REST API for ERP/WMS integration.

Common software architecture

Regardless of the robot type, the software stack is organized in layers:

  • Navigation: localization and mapping, based on sensor data.
  • Trajectory planning: A*, D* Lite, or RRT* to generate paths accounting for obstacles and kinematic constraints.
  • Motion control: PID, LQR (Linear Quadratic Regulator), or MPC (Model Predictive Control) controllers that translate the trajectory into motor commands.
  • IoT data: telemetry, vibration, temperature, or current sensors for predictive maintenance and route optimization.
  • User interface: web or mobile application to configure missions, track the fleet in real time, and manage incidents.

Autonomous navigation: the fundamental building blocks

An AMR's ability to move on its own relies on three functions running in a closed loop, typically at a frequency of 10 to 50 Hz: localize, plan, avoid obstacles.

Localization: where am I?

Where an AGV knows its position by following its track and markers, the AMR uses SLAM (Simultaneous Localization And Mapping) to build and maintain a map while localizing itself within it.

  • 2D LiDAR SLAM: this is the most widespread industrial standard. It offers accuracy on the order of a few centimeters in structured environments (warehouses, workshops). Cartographer and RTAB-Map are proven implementations, with loop closure management that corrects odometry drift.
  • Visual SLAM: ORB-SLAM2/ORB-SLAM3 exploit visual features extracted from monocular, stereo, or RGB-D camera images. Less expensive in sensors, it depends more on lighting and surface texture.
  • 3D SLAM: with a 3D LiDAR (Velodyne, Ouster) or a stereo/RGB-D camera (ZED, RealSense), it is suited to complex environments: high shelving, uneven floors, semi-structured outdoors. LIO-SAM fuses LiDAR and IMU and remains robust in feature-poor areas; LeGO-LOAM is a lightweight variant for embedded computers. 3D SLAM requires more computing power (GPU most often).

In an industrial setting, the critical factor is the stability of the reference map. Workshops evolve: moved pallets, reinstalled machines, temporary storage zones. A frozen map quickly becomes obsolete. Advanced AMRs practice differential map updates: dynamic obstacles are marked as temporary, while permanent changes (new wall, new shelving) are integrated after validation.

Sensors and data fusion

The choice of sensors depends on the application:

  • 2D/3D LiDAR: precise and lighting-independent distance measurement, but higher cost and consumption; performance degrades in rain, fog, or dust.
  • Stereo cameras: less expensive, but sensitive to light and surface texture.
  • Inertial measurement units (IMU): accelerometers and gyroscopes complement optical sensors for dead reckoning, especially during fast movements.
  • Ultrasonic sensors: short-range obstacle detection in confined spaces.
  • External localization: UWB (Ultra-Wideband) beacons in large buildings, GPS RTK (Real-Time Kinematic) for outdoor areas.

Fusing these sources (LiDAR, cameras, IMU, odometry) reduces position drift and makes localization more robust than with a single sensor.

Trajectory planning: how to get there?

Once localized, the AMR determines its path in two stages: the global planner calculates the route at site scale, the local planner adjusts it at short range based on dynamic obstacles.

The global planner works on a cost grid: each cell of the map is weighted with a traversal cost. Forbidden zones (walls, machines) have infinite cost, recommended aisles have low cost. Dijkstra explores the grid without a heuristic; A* finds an equivalent path by exploring far fewer cells thanks to a distance heuristic, hence its wide adoption.

The local planner adjusts the trajectory in real time:

  • DWA (Dynamic Window Approach): samples reachable linear/angular velocity pairs given acceleration and braking constraints, scores each sample (progress toward goal, distance to obstacles, speed), and selects the best. Simple and effective, it can get stuck in dead-end configurations.
  • TEB (Timed Elastic Band): represents the trajectory as a deformable "elastic band" between the current position and the goal, under time, acceleration, and obstacle distance constraints. More flexible than DWA, it handles narrow passages better.
  • MPC (Model Predictive Control): anticipates the trajectory over a horizon of a few seconds by solving an optimization problem under kinematic and dynamic constraints. It produces the smoothest movements but requires significant computing power.

Dynamic environments

Moving carts, pedestrians, other robots: algorithms must detect and track mobile obstacles, adapt trajectories to configuration changes, and anticipate the movements of other vehicles, for example from past trajectory analysis. Synchronization of robots with each other and with supervision, typically via MQTT, completes this setup.

Functional safety and standards

The safety layer relies on two cascading levels:

  1. Primary safety (hardware): PL d safety laser scanners per EN ISO 13849, compliant with IEC 61496. Wired directly into the safety circuit, they trigger an immediate stop as soon as an obstacle enters the protective field. Protective fields are switched based on speed and zone. This level is essential whenever the robot operates in the presence of operators.
  2. Secondary safety (software): the local planner integrates a reactive avoidance layer. Instead of a hard stop, it enables smooth detouring. LiDAR, camera, and ultrasonic data are fused into a continuously updated local costmap.

These devices are accompanied by dynamic safety zones (slowdown or stop in pedestrian zones and near workstations), redundant sensors (two LiDARs, for example), and accessible emergency stops.

Main standards to know:

  • ISO 3691-4: safety requirements for driverless industrial trucks, the reference standard for AGVs and AMRs.
  • EN ISO 13849: functional safety of safety-related control system parts.
  • IEC 61508: functional safety of programmable electronic systems.
  • ISO 10218 and ISO/TS 15066: safety of industrial robots and human-robot collaboration, particularly relevant for mobile robots equipped with a manipulator arm.

To go further on communication protection, see our guide on industrial IoT network security.

IoT supervision: fleet orchestration

An isolated robot has limited utility. The real value comes from supervising and orchestrating the entire fleet, classically organized in three layers.

Field layer: from robot to gateway

Each robot continuously reports its telemetry: position, speed, battery charge, error codes, payload. MQTT is preferred for its lightweight nature, tolerance to intermittent connections (QoS levels 1 and 2), and publish/subscribe model that decouples data producers and consumers. Latency is typically between 50 and 200 ms on a well-dimensioned industrial 5 GHz Wi-Fi.

Supervision layer: the fleet manager

The fleet manager centralizes data from all robots and ensures:

  • mission allocation: prioritization, assignment to the nearest available robot;
  • traffic management: collision prevention at intersections, exclusive access zones;
  • multi-robot coordination: delivery synchronization, load balancing;
  • energy management: triggering autonomous recharge missions;
  • alert reporting: motor fault, low battery, persistent obstacle.

Enterprise layer: toward ERP and WMS

Integration with the information system goes through REST APIs or OPC UA connectors. Each mission (move a pallet from point A to point B) is translated into a task executable by the fleet manager, and status changes (delivered, in transit, failed) are synchronized with the ERP in real time.

Protocols and standards

ProtocolUsageIndicative latencyMain advantage
MQTTTelemetry, alerts, commands50 to 200 msLightweight, QoS, publish/subscribe
OPC UASupervision, SCADA, MES, and ERP integration100 to 500 msStandardized semantic model, built-in security
HTTP/RESTFleet manager API, missions200 to 1,000 msUniversal, easy to integrate
VDA 5050Standardized AGV/AMR communication100 to 300 msMulti-vendor interoperability
Modbus TCPExchanges with PLCs (doors, conveyors, machines)Depends on installationSimple, widespread

Latencies are orders of magnitude that depend heavily on the network and implementation. The VDA 5050 standard, published by the VDA (German Association of the Automotive Industry) with the VDMA, deserves special attention: it is becoming the reference for fleet interoperability in Europe. It defines a common data model (state, position, load, errors) transported over MQTT, allowing robots from multiple manufacturers to coexist under a single controller.

Choosing connectivity

TechnologyRangeThroughputSuitable use
Wi-Fi 6A few tens of meters per access pointHighIndoor robot control and telemetry
Private 5GSeveral hundred meters per cellHigh, low latencyLarge sites, mixed indoor/outdoor zones
LTE-M / 4GKilometer-scaleMediumRemote tracking, vehicles moving between buildings
NB-IoTKilometer-scaleLowLow-data infrastructure sensors
LoRaWANKilometer-scaleVery lowEnvironmental sensors, not robot control

Integration with the ERP (Enterprise Resource Planning) and the WMS (Warehouse Management System) is often the most complex part of the project, and yet it is what determines the return on investment.

Use case: production line supply

An assembly workshop receives its components from central storage. Without robots, forklift drivers supply the lines on a fixed schedule (one round every two hours, for example), which causes stockouts or overstock at workstations.

With AMRs, the flow becomes demand-driven:

  1. The WMS detects that the stock at workstation #3 drops below its critical threshold.
  2. A supply mission is automatically created via the fleet manager's REST API.
  3. The fleet manager selects the AMR closest to the picking zone with sufficient battery autonomy.
  4. The AMR travels to the picking location, where an operator places parts on its tray.
  5. The AMR travels to workstation #3, avoiding obstacles encountered along the way.
  6. The WMS confirms receipt and updates stock levels.
  7. The ERP records the operation for production cost calculation (time-driven activity-based costing method).

This flow significantly reduces wait times compared to a fixed round and eliminates errors related to manual entry.

Technical integration challenges

  • Data heterogeneity: the WMS reasons in stock, locations, and pick orders; the AMR in position (x, y, theta), missions (identifier, status), and loads (weight, dimensions). A semantic mapping layer is needed to link a WMS location (for example "AISLE-A3-BAY-05") to Cartesian coordinates on the SLAM map.
  • Network latency and reliability: on industrial Wi-Fi, interference can cause non-negligible packet loss. The integration must tolerate micro-outages without losing missions: the Outbox pattern (messages queued before sending) is recommended to ensure resilience.
  • Mission prioritization: some missions are urgent (restock a stopped line), others schedulable (evacuate waste to the shipping zone). The fleet manager must apply a priority policy with possible preemption.
  • Functional safety: an erroneous command, such as sending an AMR into a restricted-access zone, can cause material damage or injuries. The integration must include safeguards: authorized zone validation, speed limiting per zone, and fail-safe behavior in case of communication loss.

Embedded: splitting computation between computer and microcontroller

Mobile robots operate with limited memory, computing, and energy resources. The common practice is to split tasks:

  • Main computer (Jetson Orin, industrial PC): SLAM, planning, vision, under ROS 2.
  • Microcontrollers (STM32, ESP32-S3): motor control, sensor acquisition (IMU, encoders, vibration or temperature sensors), battery monitoring, telemetry, and real-time processing, often under FreeRTOS.

The ESP32-S3 from Espressif, for example, is based on a dual-core Xtensa LX7 up to 240 MHz, with about 512 KB of SRAM, 2.4 GHz Wi-Fi, Bluetooth LE, USB OTG, vector instructions useful for signal processing, and deep sleep modes. It is well suited to I/O and preprocessing functions, but not to running a full SLAM, which remains the responsibility of the main computer.

To stay within these constraints: optimized C/C++ algorithms, compact data structures (OctoMap-style octrees for 3D maps), local processing that sends only useful events to the cloud. See also our articles on FreeRTOS in industrial environments and on Edge AI on embedded systems.

Predictive fleet maintenance

Each robot movement generates exploitable data. Fed back via MQTT or OPC UA to supervision, position, speed, trajectories, and travel times are used to:

  • optimize routes in real time based on congestion and production priorities;
  • detect anomalies: trajectory deviations, abnormally long travel times, energy overconsumption;
  • plan maintenance of motors, sensors, and batteries before the breakdown.

Onboard sensors complement this data: vibration (motors, bearings), temperature (electronics, battery), current (propulsion, steering), pressure (hydraulic or pneumatic circuits of lifting modules). A first local processing detects drifts, then the data is analyzed more finely in the cloud to train predictive models. Bearing wear detected several weeks in advance allows planning the intervention rather than suffering a stoppage. For the methodology, see our guide on predictive IoT maintenance.

Other industrial uses

  • Material transport: raw materials, finished products, tools between stock, workstations, and shipping.
  • Internal collection rounds: evacuation of waste, empty packaging, or bins, with routes recalculated based on needs.
  • Surveillance and security: patrols with cameras and detectors to spot intrusions in restricted zones or gas leaks, and track working conditions (temperature, humidity).
  • Quality control: coupling with industrial vision and embedded AI stations, or with collaborative robots for machine loading.

Performance and return on investment

As an indication, industrial mobile robots typically travel at 0.5 to 2 m/s, with autonomy on the order of a work shift (often 8 to 12 hours) and automatic or battery-swap recharging. Positioning accuracy ranges from a few centimeters in free navigation to even better at docking stations equipped with reference markers.

CriterionAMRAGV
Unit costHigher (onboard sensors and computing)Lower
Site infrastructureLight: Wi-Fi network and charging stationsHeavy: floor markings, transponders, or cables
Adaptation to workshop changesFast: map updateSeveral days: re-laying markers
Availability and repeatabilityGood, sensitive to clutterVery good on fixed routes
Best-suited environmentVariable flows, presence of operatorsStable and repetitive flows

The return on investment depends mainly on the volume of manual trips eliminated, the cost of infrastructure, and the quality of information system integration; it is generally measured over several years depending on the case. For an SME, the most significant benefit is often flexibility: being able to reassign robots to new missions in a few hours rather than a few days is a decisive advantage when production cycles change frequently.

Best practices for a successful deployment

Phase 1: audit and environment characterization

  • Map existing logistics flows: cart rounds, frequencies, weights, distances.
  • Measure aisle width, floor condition, slopes, and door thresholds.
  • Identify safety-constrained zones: presence of operators, crossings with manual carts.
  • Evaluate Wi-Fi coverage and latency, for example with a 24-hour ping test.
  • Define required ERP/WMS interfaces: existing APIs, middleware, VDA 5050 connectors.

Phase 2: proof of concept

  • Deploy one or two robots on a reduced scope, for example one workshop and three workstations.
  • Validate network coverage, localization reliability, and real obstacle management.
  • Test ERP/WMS integration with real missions (20 to 30 iterations).
  • Measure indicators: mission duration, failure rate, charging time, availability.

Phase 3: industrialization

  • Expand the fleet in stages (three robots per step, for example), validating flows at each stage.
  • Train operators in robot interaction: signage, safety zones, conduct in case of a stop.
  • Set up IoT supervision and automatic alerts.
  • Configure degraded modes: network outage, prolonged blockage, failing battery.

Phase 4: operation and continuous improvement

  • Analyze telemetry to optimize routes: aisle reorganization, recharge threshold adjustment.
  • Update the map periodically, monthly or quarterly depending on workshop evolution.
  • Evolve the fleet based on field feedback.
  • Consider advanced functions: multi-site conveying, dialogue with machine tools via OPC UA.

Key takeaways

AGVs and AMRs have become mature production tools. The choice between the two depends mainly on the stability of the environment, the need for flexibility, and the infrastructure budget: fixed guidance for stable and repetitive flows, autonomous navigation for evolving workshops.

  • Evaluate precision, range, and speed requirements before choosing between fixed guidance, 2D SLAM, or 3D SLAM.
  • Integrate predictive maintenance sensors from the design phase.
  • Split computation between the main computer and microcontrollers to limit network dependency.
  • Address compliance (ISO 3691-4, EN ISO 13849) from the design phase.

Above all, mobile robotics is not an isolated automation project: it touches the information system, logistics, safety, and work organization. Integration with the ERP and WMS, IoT fleet supervision, and performance indicator tracking weigh more on the final outcome than the choice of the robot itself.

An embedded IoT project?

Our team designs the box, its firmware and the platform. Let's discuss your needs.