1. Funktionen
  2. Pricing
  3. Forum
    1. Articles
  4. App starten
AI Technology
  • Everywhere
  • AI Technology
  • Articles
  • Pages
  • Forum
  • Products
  • More Options
  • Login
  • Register
  • Search
  1. Aivor
  2. Articles
  3. AI Technology

AI for Industrial Robots: Architecture, Hardware, and First Applications of Your Own

  • Daniel Böhmel
  • October 28, 2026 at 7:37 PM
  • 50 Views
  • 0 Comments
  • by Daniel Böhmel
A reproducible integration path shows how an edge computer evaluates image data and passes only validated results to an existing robot controller.
Contents [hideshow]
  1. What you are actually operating after the build
    1. The first use case
  2. Reference architecture: AI beside the controller, not in its safety chain
  3. Which AI methods are worthwhile on an industrial robot
  4. Selecting edge hardware and rebuilding it as a bill of materials
  5. Integrating AI into an existing robot controller

What you are actually operating after the build

In the end, no freely learning robot is moving through the cell. You are operating a camera, a separate edge computer, and an existing robot controller. The camera detects a defined part or quality state. The edge computer calculates the result, confidence, and validity time. The controller executes only a preprogrammed motion routine. If the camera, model, network, or heartbeat fails, motion is not enabled.

The target setup can be summarized in one sentence: AI detects, the controller moves, safety decides. That is exactly what makes sense for a first application of your own. I would start with pose detection and pick enablement, not autonomous path planning. For example, the model provides the object class and a limited offset. The robot then moves to a known approach point and performs a known gripping motion.

“AI for industrial robots” means in this context: AI expands the perception, classification, or parameter selection of a robot cell. It replaces neither the robot controller nor motion control, and certainly not the safety function. The model must never determine the emergency stop, protective space, safe speed, safety enable, or unchecked axis commands.

Before the first cable, I set three limits. First, the action space remains finite. The model may provide only the class, offset, and job status. Second, an independent safety chain decides on the guard door, emergency stop, and safe states. Third, every error becomes REJECT, TIMEOUT, or FAULT, never an estimated movement.

The technical implementation builds on the practical guide to reproducible AI robotics. The data basis, frozen test dataset, clear development limits, and measurable acceptance criteria belong together. Therefore, a publication must document the robot actually built, the software versions used, measured cycle times, real error patterns, and photos of the wiring. I do not enter unmeasured values as project results.

The first use case

A suitable part is one that lies in a defined work area and can be picked up with a specified gripper. The AI may decide: part present, class A or B, offset within a window. It may not decide: free path, collision avoidance, or overwriting the robot program.

Reference architecture: AI beside the controller, not in its safety chain

The cell consists of five components:

Code
[Camera / Trigger]
        |
        v
[Edge computer: preprocessing, model, validation]
        |
        | Process data, job status, heartbeat
        v
[PLC / Cell logic] ---- [Robot controller: kinematics, interpolation, job]
        |
        v
[Safety controller and certified components]
        |
        +-- Emergency stop, guard door, safe speed, protective space
Display More

The camera supplies images and, preferably, a hardware trigger. The edge computer handles distortion correction, scaling, inference, and result validation. The PLC or cell logic controls the sequence. The robot controller handles kinematics, interpolation, and manufacturer-specific real-time functions. The safety controller operates with certified components and remains logically independent of the model.

The handover contract must be defined before implementation:

Field Example Check
job_id PICK_A_017 Accept known jobs only
timestamp_ms 1739456123456 Age no more than 250 ms
object_class part_a Whitelist
pose_or_offset x=12.4, y=-3.1, rz=1.8 Work-space limits
confidence 0.96 Minimum value 0.92
model_version vision-2025-02-03 Released version
valid_until_ms Timestamp plus 250 ms Expiry must be checked
heartbeat Monotonically increasing counter No stagnation
error_code NONE or CAMERA_TIMEOUT Error leads to reject

The controller accepts the result only if the class, offset, and confidence are valid, the timestamp is still within the window, and the heartbeat is advancing. An offset outside the work volume, an incorrect model version, or a timeout leads to an already programmed error path. The robot then remains stopped or executes a defined, safe retreat routine. The permissible response must be specified by the system and safety assessment.

For a small number of states, digital I/O or a fieldbus is sufficient. Process values and diagnostics are better handled through a manufacturer-specific robot API. OPC UA is suitable for standardized system and state data, but it is not a substitute for a safety interface. Even a fast robot channel does not turn an unvalidated model value into a safe signal. An RTDE client can exchange process data with a robot controller, but it does not automatically handle deterministic real-time logic or the safety assessment.

Documentation should include photos of the 24-volt power supply, fuse, DIN-rail mounting, Ethernet segments, camera connection, and shielding. In the published setup, these photos should show the actual wiring, not merely a block diagram.

The safety assessment is based on ISO 10218-1:2025 and ISO 10218-2:2025. This does not replace a risk assessment, conformity assessment, or professional integration.

Which AI methods are worthwhile on an industrial robot

Method Input and result Data quality Typical failure mode Permitted robot effect
Classification Image, class A or B Uniform lighting, labeled classes Unknown part is assigned to a class Sorting job or reject
Detection Image, box and center point Position and size variation in the dataset Reflection creates an incorrect box Preselection of gripping point
Segmentation Image, pixel mask Visible contours, overlaps Occluded part is masked incompletely Limited gripping-point correction
Pose estimation Image, position and orientation Calibrated camera, defined geometry Symmetrical part produces ambiguity Selection of one of several jobs
Anomaly detection Image, good or anomalous Representative good images and defect images Unknown surface is assessed as a defect Reject, never safety

For a first application of your own, a supervised vision model with a limited action space is more sensible than learning-based path planning or reinforcement learning on a real robot. For sorting, one class is sufficient. For a component whose position varies, you need detection or pose estimation. For overlapping parts, segmentation provides a real advantage, but it requires clean masks and more test data.

Three failure cases belong in the acceptance report. A reflection can cause detection to place the result on a shiny surface. The result is discarded or a new image is triggered. An occluded part can produce a mask that is too small. The part is rejected or operator intervention is requested. An unknown part must not pass through as a known class. It leads to REJECT. Motion blur and a network timeout lead to a retry if the cell logic permits the time window; otherwise, they lead to rejection or operator intervention.

A confidence value is not a safety metric. At most, it describes how confident the model appears within its training distribution. The threshold of 0.92 is a process parameter, not proof of safe detection.

The model remains an interchangeable artifact. The training data version, model format, model hash, model version, confidence threshold, and frozen test dataset must be versioned. Without this information, a later comparison cannot be reproduced.

Selecting edge hardware and rebuilding it as a bill of materials

A NVIDIA Jetson Orin NX 16 GB is a suitable verifiable starting point. The datasheet specifies up to 100 Sparse-INT8-TOPS or 50 Dense-INT8-TOPS and external NVMe support. These values are not a promise for your application. What matters is the measured inference time, camera latency, temperature, and end-to-end time.

A reliable bill of materials must belong exactly to the system actually built. The following structure is therefore intended as a project BOM to be completed. Prices may be published only after purchase, together with the purchase month and currency:

Component Manufacturer and model number Quantity Price, purchase month, currency Firmware or driver Source
Edge computer NVIDIA Jetson Orin NX 16 GB with carrier board 1 Enter receipt price Enter JetPack version Retailer receipt
Mass storage NVMe SSD, enter exact model number 1 Enter receipt price Enter firmware Retailer receipt
Camera Industrial camera, enter exact model number 1 Enter receipt price Enter SDK version Retailer receipt
Lens Enter focal length and model 1 Enter receipt price not applicable Retailer receipt
Network Protected Ethernet switch, enter model 1 Enter receipt price Enter firmware Retailer receipt
Power supply 24 V DC power supply, enter model 1 Enter receipt price not applicable Retailer receipt
Protection Fuse and holder, enter model 1 Enter receipt price not applicable Retailer receipt
Enclosure DIN-rail or industrial enclosure, enter model 1 Enter receipt price not applicable Retailer receipt
Cables Camera, Ethernet, and 24 V cables according to build Enter receipt price not applicable Retailer receipt

These open fields are not measurement results and must not remain open in a published rebuild guide. The purpose of the table is to distinguish the developer kit, production component, and variant that can actually be procured. For long-term operation, you should also check product life cycles. A developer kit is suitable for a laboratory setup, but is not automatically the best production component.

An industrial PC is the better choice when several high-resolution cameras, additional PCIe cards, high ambient temperatures, or Windows-bound manufacturer tools are required. The Jetson is attractive when a single vision model is to run compactly and energy-efficiently at the edge. I would not justify the decision with TOPS. Camera resolution, exposure time, hardware trigger, memory, network, power reserve, cooling, EMC, mounting, and service access determine the setup.

For every power supply, document voltage, power consumption under load, fuse, connector type, and cable length. For every Ethernet segment, include its role, cable length, and shielding in the plan. The published measurements must come from the specific setup: time from image acquisition to result, p50 and p95 inference time, end-to-end latency, image failures, temperature after continuous operation, and restart time after power loss.

Integrating AI into an existing robot controller

I always start in observation mode. First, only images, model responses, and operator decisions are recorded. Then the model runs in shadow mode against the operator's decision. In the third step, the cell displays the result. Only in the fourth step is a single limited robot job enabled.

The state machine is:

Code
IDLE -> REQUEST -> INFER -> VALIDATE -> READY -> EXECUTE -> ACK
                         |             |
                         +-> REJECT   +-> TIMEOUT
                                      |
                                      +-> FAULT

The robot controller waits for a job status, reads only validated process values, and calls an approved motion routine. It receives no free axis values from the model. After the job, it acknowledges with ACK or an error code. The PLC stops the sequence if the response does not arrive.

This compact Python example separates the model response from the enable signal. It does not control an axis directly:

Python
from dataclasses import dataclass
from time import time

WORKSPACE = {"x": (-50.0, 50.0), "y": (-50.0, 50.0), "rz": (-30.0, 30.0)}
ALLOWED_CLASSES = {"part_a", "part_b"}
MIN_CONFIDENCE = 0.92
MAX_AGE_MS = 250
ALLOWED_MODELS = {"vision-2025-02-03"}

@dataclass
class Decision:
    status: str
    reason: str
    job_id: str | None = None
    object_class: str | None = None
    offset: dict | None = None

def reject(reason: str) -> Decision:
    return Decision(status="REJECT", reason=reason)

def validate(packet: dict, last_heartbeat: int) -> Decision:
    required = {"job_id", "timestamp_ms", "object_class", "offset",
                "confidence", "model_version", "valid_until_ms", "heartbeat"}
    if not required.issubset(packet):
        return reject("SCHEMA")
    now_ms = int(time() * 1000)
    if now_ms - packet["timestamp_ms"] > MAX_AGE_MS:
        return reject("STALE_TIMESTAMP")
    if now_ms > packet["valid_until_ms"]:
        return reject("EXPIRED")
    if packet["heartbeat"] <= last_heartbeat:
        return reject("HEARTBEAT")
    if packet["model_version"] not in ALLOWED_MODELS:
        return reject("MODEL_VERSION")
    if packet["object_class"] not in ALLOWED_CLASSES:
        return reject("UNKNOWN_CLASS")
    if packet["confidence"] < MIN_CONFIDENCE:
        return reject("LOW_CONFIDENCE")
    for axis, (low, high) in WORKSPACE.items():
        value = packet["offset"].get(axis)
        if value is None or not low <= value <= high:
            return reject("OUT_OF_WORKSPACE")
    return Decision("READY", "VALID", packet["job_id"],
                    packet["object_class"], packet["offset"])
Display More

Before automatic operation, I check at least the following points:

  • Misclassifications on a frozen test set remain below the specified limit.
  • End-to-end latency remains below the maximum specified for the process.
  • Disconnecting a camera produces REJECT or TIMEOUT.
  • A stopped inference process loses the heartbeat and provides no enable signal.
  • A network interruption leads to the defined error path.
  • An incorrect model version is rejected.
  • Protective space, guard door, and emergency stop function independently of the edge computer.

Each cycle writes the image or dataset reference, model hash, confidence, parameters, controller job, result, operator intervention, and timestamp to the log. I also record camera failures, retries, rejects, and restarts. Only then can it later be determined whether an error originated in the lighting, model, network, sequence, or robot program.

Next, I would add a second camera or expand the limited gripping-point correction with an anomaly check. I am interested in which robust fallback pattern you use in your robot cell: retry, reject, or immediate operator intervention?

Written by

Daniel Böhmel
Software Developer

Daniel Böhmel has been developing software for over 20 years and has been self-employed since 2007. He started out with interactive web design back in the Flash era; later, he built his own online projects, such as a fitness forum and a supplement store, including the editorial content. Today, his…

View the profile of Daniel Böhmel

Previous Article DIY AI-Powered Robotics: A Practical Guide for Developers and IT Professionals

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login

Categories

  1. AI Agents 16
  2. AI News 54
  3. Creating AI Content 29
  4. AI Community 11
  5. Prompt Engineering 16
  6. Ticket System 8
  7. AI Technology 15
  8. Chatbots 12
  9. Reset Filter

Most popular articles

  • Stable Diffusion Face Swap with ReActor: Guide for ComfyUI, Forge and img2img

    13,407 Views
  • Cross-Disciplinary Collaboration in the AI Community: Case Studies and Success Stories

    7,497 Views
  • The 5 best AI robots for the home: a comprehensive overview

    6,861 Views
  • Learn everything about our AI forum

    6,372 Views
  • The ultimate guide: How to write perfect AI prompts for ChatGPT & Co.

    4,395 Views

Artificial intelligence articles

Discover our collection of articles on artificial intelligence. Learn all about the latest developments and applications of AI technology. Our articles cover a variety of topics, from Machine Learning and Deep Learning to Robotics and Autonomous Systems. Read our articles to get a comprehensive overview of AI technology and stay up to date with the latest developments in this exciting field.


Show all AI articles

  1. Usage policy
  2. Terms and conditions
  3. Editorial
  4. Privacy Policy
  5. Contact
  6. Legal Notice