In the automotive industry, the Internet of Things (IoT) and artificial intelligence (AI) have become operational tools for design, manufacturing and maintenance. For engineers and project managers, the challenge is to integrate these building blocks on lines subject to strong constraints of throughput, availability and quality.
This article presents the concrete contribution of IoT and AI on three axes: connected production, predictive maintenance of manufacturing lines and inline quality control. Architectures, protocols, data flows and use cases are detailed based on current industrial practices.
1. The connected factory: IoT as the foundation of automotive production
1.1 IoT architecture in the production environment
A connected automotive line relies on a multi-layer IoT architecture that collects, transports and processes data from hundreds or thousands of sensors placed on assembly chains, welding robots, conveyors, presses and inspection stations. This architecture generally breaks down into four levels:
- Perception layer: temperature, vibration, pressure, torque, position, flow, optical presence sensors and RFID or UWB readers for tracking parts and tooling.
- Network and edge layer: industrial IoT gateways ensuring local acquisition, filtering, aggregation and data transmission to the cloud or internal data center. Dominant protocols are OPC UA (IEC 62541), MQTT, Modbus TCP, Profinet and EtherNet/IP.
- Platform layer: IIoT platforms (cloud or on-site) that centralize, normalize and historize data from the workshop.
- Application layer: MES (Manufacturing Execution System), ERP, CMMS, real-time dashboards and AI models used for decision-making.
// Example of a typical MQTT payload reported by an IoT gateway
// on a robotic welding station
{
"station_id": "WS-AB12-003",
"timestamp": "2026-07-22T08:34:12.456Z",
"measurements": {
"vibration_axial": 2.34,
"vibration_radial": 1.87,
"temperature_motor": 68.2,
"current_draw": 45.6,
"cycle_time": 12.34,
"torque_peak": 87.5,
"weld_quality_score": 0.97
},
"alerts": [],
"edge_processed": {
"baseline_deviation": 0.03,
"anomaly_score": 0.12
}
}
1.2 Connectivity and protocols on the line
The choice of communication protocol depends directly on the latency, reliability and security constraints of each zone of the workshop. Modern lines combine several technologies:
- OPC UA: machine-to-machine (M2M) interoperability standard enabling structured exchange of semantic data between heterogeneous equipment without a proprietary gateway. Its integrated security layer (X.509 certificates, authentication, AES-256 encryption) meets manufacturer requirements.
- MQTT (v5): lightweight publish/subscribe protocol, suited for telemetry reporting from a large number of sensors to the central platform. Combined with Sparkplug B, it facilitates interoperability between equipment from different manufacturers.
- Profinet and EtherNet/IP: real-time protocols used for PLC and robot control, with deterministic cycle times below 1 ms.
- Private industrial 5G (URLLC): deployed in recent sites for mobile or reconfigurable uses requiring very low latency and high density of connected terminals.
1.3 Digital twin of the production line
The digital twin (digital twin) is a virtual replica, synchronized in real time, of the physical line. Each sensor, actuator or robot feeds this model with telemetry data to visualize and simulate the state of production.
For engineering and methods teams, it addresses four concrete uses:
- Simulate throughput or balancing scenarios without stopping the physical line.
- Spot a drift before it affects quality or production flow.
- Replay a production incident to analyze its root cause.
- Virtually calibrate robots before deploying a new program.
2. Predictive maintenance of lines: from reaction to anticipation
2.1 Operational and financial challenge
In the automotive industry, an unplanned line stoppage is very costly: depending on the site and throughput, each minute of downtime can represent several thousand to several tens of thousands of euros in losses. Corrective maintenance (intervening after the failure) takes these stoppages head-on, while calendar-based preventive maintenance (intervening at fixed intervals) leads to premature replacements and sometimes counterproductive disassembly.
Predictive maintenance via IoT and AI allows targeting interventions: teams are alerted when a model detects a significant drift in operating parameters, early enough to plan the replacement before the failure.
2.2 Predictive maintenance pipeline
Implementing a predictive maintenance chain on an automotive line generally follows five steps:
- Data acquisition: sensors installed on critical equipment (motors, cylinders, robot axes, conveyors, welding guns). Raw signals (vibrations, temperature, current, torque, pressure) are collected at high frequency, often between 1 and 20 kHz for vibration analysis.
- Edge preprocessing: the local gateway extracts time-frequency indicators (FFT, RMS effective value, peak, crest factor), filters the signal and reduces the volume before transmission.
- Model training: historical data in normal and degraded operation feed supervised models (decision trees, Random Forest, SVM) or unsupervised models (clustering, autoencoders for anomaly detection). Temporal networks (LSTM, Transformers) are used to model multivariate series.
- Inference and scoring: the deployed model continuously evaluates the health state of each piece of equipment, produces a degradation index (Health Index) and estimates the remaining useful life (Remaining Useful Life, RUL).
- Alert and CMMS: when a critical threshold is reached, an alert is sent to the CMMS with the criticality level, the component concerned and the recommended intervention window.
# Simplified example of RUL inference with an LSTM model
# in Python under TensorFlow / Keras
import numpy as np
import tensorflow as tf
def predict_rul(model, sensor_window):
'''
sensor_window : ndarray of shape (1, sequence_length, n_features)
Returns the estimated number of cycles before failure
'''
rul_pred = model.predict(sensor_window, verbose=0)
return float(rul_pred[0][0])
# Loading the trained model (example)
model = tf.keras.models.load_model("rul_automotive_line_v3.h5")
# Window of 100 time steps, 6 features (vibration_x, vibration_y,
# temperature, current, torque, pressure)
latest_window = np.random.randn(1, 100, 6) # real data in real conditions
rul_cycles = predict_rul(model, latest_window)
print(f"Estimated RUL: {rul_cycles:.1f} production cycles")
2.3 Use case: monitoring welding robots
Spot welding robots are among the most heavily used equipment in body-in-white assembly. Their degradation manifests as electrode wear, gun misalignment or welding parameter drift. Embedded sensors allow continuous monitoring of:
- welding current and voltage;
- electrode clamping force;
- number of spots produced per electrode;
- residual vibrations of the robot arm;
- welding transformer temperature.
By cross-referencing these quantities, a predictive model anticipates electrode wear to within a few tens of cycles depending on operating conditions. Maintenance then plans their replacement during a break or model changeover, without interrupting the throughput.
3. AI-augmented quality: from final inspection to inline control
3.1 Industrial vision and deep learning
Automotive quality control has long relied on human visual inspections and sampling. These methods quickly reach their limits on high-throughput lines, where often several dozen vehicles per hour pass by. The combination of high-resolution industrial cameras, edge computing and neural networks enables continuous inline control.
The most used architectures are the following:
- Convolutional networks (CNN): surface defect detection (scratches, pits, paint defects, inclusions, microcracks).
- Siamese networks: comparing a part to a nominal model to verify assembly and component positioning.
- Semantic segmentation (U-Net, Mask R-CNN): precise analysis of critical zones such as weld seams, sealant joints or bonded inserts.
- Variational autoencoders (VAE): unsupervised anomaly detection based on the distribution of conforming parts.
// Typical configuration of a quality control station
// by industrial vision on an assembly line
{
"inspection_station": "VIS-QC-071",
"camera_specs": {
"sensor": "CMOS 12 MP global shutter",
"resolution": "4096 x 3000 px",
"frame_rate": 60,
"optics": "35 mm C-mount, F/1.4"
},
"inspection_tasks": [
{
"id": "TASK_BODY_001",
"type": "surface_defect",
"model": "resnet50_defect_v2",
"roi": "door_panel_L",
"threshold_score": 0.92
},
{
"id": "TASK_WELD_003",
"type": "weld_segmentation",
"model": "unet_weld_v4",
"roi": "roof_to_body_side",
"min_acceptance": 0.95
}
],
"edge_inference": {
"hardware": "NVIDIA Jetson Orin NX 16GB",
"framework": "TensorRT 8.6",
"batch_size": 1,
"avg_inference_time_ms": 28
}
}
3.2 Acoustic control via IoT and AI
In addition to vision, acoustic control relies on industrial microphones (MEMS or IP65-protected condenser microphones) placed on test benches and at the end of the line. They record the sound signature of motors, gearboxes, driveshafts or door closures. Audio classification models (1D CNN, MFCC extraction combined with a classifier) distinguish normal operation from a click, a creak or an abnormal whistle.
This method allows in particular detecting:
- abnormal play in a gearbox bearing before it is perceptible to the ear;
- a pneumatic seal defect from the sound spectrum during a leak test;
- incorrect tightening on a suspension element during an end-of-line test.
3.3 Dimensional control and tolerancing
3D sensors (laser scanners, stereoscopic cameras, structured light) coupled with AI ensure complete dimensional control in a few tens of seconds. Point clouds are registered against the nominal CAD model by ICP (Iterative Closest Point) algorithms and analyzed by graph neural networks (GNN), with precision that can reach the order of a hundredth of a millimeter depending on the instrumentation.
AI brings three main gains:
- separating a manufacturing drift from sensor measurement noise;
- correlating deviations between multiple points to trace back to the root cause (for example: incorrect positioning of a fixture, tooling wear or thermal drift);
- anticipating the impact of a dimensional deviation on downstream assembly before it occurs.
4. Data flow integration: from sensor to dashboard
4.1 Reference architecture
The industrial exploitation of IoT and AI assumes a coherent data architecture, capable of moving information from the workshop to business tools.
+-------------------+ +------------------+ +-------------------+
| IoT Sensors | ----> | Gateway Edge | ----> | IIoT Platform |
| (OPC UA / MQTT) | | (filtering, | | (historization, |
| | | aggregation, | | normalization, |
| | | edge inference) | | orchestration) |
+-------------------+ +------------------+ +-------------------+
| |
v v
+------------------+ +-------------------+
| Local alert | | Data Lake / |
| (emergency stop)| | Data Warehouse |
+------------------+ +-------------------+
|
v
+-------------------+
| AI/ML Models |
| (training |
| & inference) |
+-------------------+
|
v
+-------------------+
| Applications |
| (MES, CMMS, |
| Dashboards, |
| Quality IS, |
| ERP) |
+-------------------+
4.2 Challenges of real-time data management
Scaling up in a factory raises five major technical constraints:
- Volume: between high-frequency vibrations, imaging and 3D scans, a site quickly generates considerable daily volumes. The trade-off between edge filtering and centralized storage determines costs and latency.
- Velocity: some control decisions (emergency stop, weld rework) require a response time of less than a few milliseconds, which requires running inference as close as possible to the machine.
- Variety: structured data (telemetry), semi-structured data (logs, MQTT messages) and unstructured data (images, audio) must be normalized according to governance defined upstream.
- Reliability: losing a critical measurement can mask a defect and lead to a costly recall. Quality of service (MQTT QoS 1 or 2), local buffering and replication are essential.
- Security: equipment authentication, end-to-end encryption (TLS 1.3, X.509 certificates), OT/IT network segmentation and compliance with sector frameworks (ISO 27001, TISAX) are prerequisites.
5. Operational impact and return on investment
5.1 Key performance indicators
The effectiveness of an IoT and AI deployment is evaluated based on standard industrial indicators, whose gain magnitude varies according to the site's initial maturity:
- OEE (Overall Equipment Effectiveness): improvement linked to the reduction of unplanned downtime and throughput stabilization.
- MTBF (Mean Time Between Failures): extension of mean time between failures on critical equipment thanks to early interventions.
- MTTR (Mean Time To Repair): reduction of repair time thanks to diagnostics that faster target the failing component.
- Scrap rate (scrap rate): reduction through early defect detection and rapid process parameter adjustment.
- First pass yield (First Pass Yield, FPY): improvement thanks to inline control and immediate feedback on machine settings.
5.2 Return on investment horizon
Return on investment is generally assessed over three horizons:
- Short term (6 to 12 months): reduction of unplanned downtime, decrease in corrective maintenance costs and better control of energy consumption.
- Medium term (12 to 24 months): reduction of scrap, rework and recall campaign risk thanks to early detection of quality drifts.
- Long term (24 to 48 months): continuous process improvement based on consolidated histories, allowing refining models, reducing cycle times and gaining flexibility.
Conclusion
On automotive lines, connected production, predictive maintenance and AI-assisted quality control address measurable objectives of availability, quality and cost control. The success of a project relies less on stacking technologies than on a progressive approach: start from an identified bottleneck, ensure reliable data acquisition and security, train operations teams and validate gains on each scope before generalizing.


