# The software-defined factory

> How the Ubivis SDM project, backed by Finep, takes Software Defined Manufacturing from concept to production: no-code data collection, AI, safeguards and retraining.

Source: https://ubivis.ai/en-us/blog/software-defined-factory/

Industry 4.0

Ubivis October 27, 2026 6 min read

![Automated production line with industrial robots](https://ubivis.ai/img/LG35JnZH63-1376.jpeg)

In most factories, changing how a machine behaves is still expensive. A parameter adjustment becomes a ticket for the integrator, a downtime window and a PLC reprogram. Every new product, every batch of different raw material, every worn tool waits its turn in the automation queue.

IT solved this same problem more than a decade ago. Networks and storage stopped being configured device by device and started following a software layer. In manufacturing, the equivalent idea is called **Software Defined Manufacturing**, or SDM.

## The concept

In SDM, PLCs and robots keep executing, and the decision about **which parameters** to run with moves to a software layer above them. We explain the concept in detail in [What is Software Defined Manufacturing](https://ubivis.ai/en-us/blog/software-defined-manufacturing/). This article is about what we are building to take it to production scale.

On our platform, SDM is the automatic mode of **Ub-Genius**. **UbEdge** collects the data, **Ub-Smart** displays and operates it, **No-Code AI** trains the model, and Ub-Genius computes the adjustment and writes it back to the controller.

## Where it already runs

We started with welding. At an automaker, we applied SDM to the body-in-white welding robots: the model analyzes the parameters of each weld spot in under two seconds, detects the quality deviation and corrects the parameter before the next cycle. At a steelmaker, parts of the same concept run in the steel production process.

Both cases taught us the same lesson. The AI model is the least difficult part. The heavy lifting is collecting the right data, bringing the process expert into the modeling, and surrounding every write to the controller with safeguards the operation can trust.

## The Finep project

To turn that experience into a product, the **Ubivis SDM** project was approved under Finep Mover Empresarial, Brazil's innovation funding program, in the Products and Processes 4.0 track. It started in March 2026 and runs for 24 months, with validation in an operating automotive plant and technical partnership with a science and technology institute.

The goal is to take the technology from TRL 3, a validated working concept, to TRL 8: the complete, qualified system running on the line of an operating plant, with real data volumes and end users operating it day to day.

The twelve milestones of the work plan follow the path of the data.

## Collecting without coding

Today, configuring data collection from a PLC still depends on someone who knows each machine's tag list.

To remove that bottleneck, we are building a web platform where the automation team registers the variables to collect without writing code. The configuration replicates automatically to the servers, in the local data center or in the cloud.

Alongside it, an AI model identifies the relevant tags automatically. It observes which variables the PLC and the robot actually use and compares them with known operating patterns. We are developing this model with our partner institute, first on simulated data and then on real datasets from different processes.

## Modeling with the people who know the process

The person who knows why a part comes out of spec is the process engineer, and they are rarely a data scientist. No-Code AI exists so that this knowledge reaches the model without an intermediary.

Under the interface, the project automates what is still handcrafted today. Exploratory analysis becomes a versioned pipeline, with a data dictionary, statistical profile and data quality alarms. Algorithm selection and hyperparameter tuning are handled by Auto Tune Models (ATM), an AutoML technique that came out of MIT research and that we are taking into an industrial setting with many machines and many data types at once.

The result is a trained, versioned digital twin of the process. It predicts failure through classification and quality through regression, and it shows which sensors weighed on each prediction. Anomaly detection feeds both models as an extra input. The analysis of failure-free cycles defines the machine's "perfect cycle", which becomes the reference for the optimizer.

## Acting with safeguards

The trained digital twin is packaged in a container and loaded into the SDM layer with pre-checks, controlled activation and a rollback path. Before any write, we build a catalog of the parameters that can be adjusted and the safe range for each one. The safety checklist is built together with the cell's operators.

Real-time writes follow explicit rules. Each parameter moves only within its cataloged safe range. There is a limit on changes per time window. Every change has a rollback plan, and every run is logged for audit, with its success rate measured.

The path to production is gradual. First the full cycle at controlled volume, then a representative cell of the line, and only then operation under full governance.

## Learning from the operation itself

A factory changes: raw material arrives from another supplier, tools wear, a new product comes in. A model trained once loses accuracy over time.

That is why the project includes automatic feedback. Policies define when to retrain, with which data and against which target metrics. The pipeline collects recent data, retrains through ATM, produces a versioned artifact and promotes the new model only if it performs better. History, audit and rollback come with every run.

## The expert at the center

An autonomous factory is often imagined as a factory without people. Our design points toward Industry 5.0, where the machine learns and the expert decides.

The project defines three user profiles: operator, shift lead and maintenance. Each has its own success criteria for the interface, validated in end-to-end tests on the shop floor. The explanation behind each prediction is there so the engineer can agree, disagree and correct it, and that correction also feeds the model.

## What we will measure

The value of SDM shows up in indicators the factory already tracks. **MTBF** goes up and **downtime** goes down as failures are anticipated. **Final product quality** rises, with more parts within spec on the first cycle and a steadier standard from batch to batch. **OEE** shows the combined effect of both. And **energy per part** comes in when multi-objective optimization includes energy among its targets.

There is a gain none of these numbers captures on its own: the line absorbs change without stopping to be reprogrammed. That is the promise of Software Defined Manufacturing, and it is what the project is demonstrating in production.

[software defined manufacturing](https://ubivis.ai/en-us/blog/) [sdm](https://ubivis.ai/en-us/blog/) [finep](https://ubivis.ai/en-us/blog/) [industrial ai](https://ubivis.ai/en-us/blog/) [digital twin](https://ubivis.ai/en-us/blog/) [automl](https://ubivis.ai/en-us/blog/) [Ub-Genius](https://ubivis.ai/en-us/blog/) [industry 4.0](https://ubivis.ai/en-us/blog/)

Share [LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https://ubivis.ai/en-us/blog/software-defined-factory) [Twitter](https://twitter.com/share?url=https://ubivis.ai/en-us/blog/software-defined-factory)

Ub-Genius

### Optimization above the PLC

See how Ub-Genius computes process adjustments and writes them to the controller with safety interlocks and full audit.

[Talk to a specialist →](https://ubivis.ai/en-us/#contact)

## Related articles

[![Software Defined Manufacturing](https://ubivis.ai/img/9VBbf9Bnko-3200.png) Industry 4.0 What is Software Defined Manufacturing (SDM)](https://ubivis.ai/en-us/blog/software-defined-manufacturing/) [![Digital twin in practice](https://ubivis.ai/img/i3R0Q2Z89s-1920.jpeg) Industry 4.0 Digital twin in practice: what it is and what it's for](https://ubivis.ai/en-us/blog/digital-twin-in-practice/) [![Why Industry 4.0 projects don't scale](https://ubivis.ai/img/NB3BPmRlLf-840.jpeg) Industry 4.0 Why 74% of Industry 4.0 projects in Brazil don't scale](https://ubivis.ai/en-us/blog/why-industry-4-0-projects-dont-scale/)
