Development of an MES system based on a microservice architecture

Modern production systems face a central question: How can a Manufacturing Execution System (MES) be designed to remain flexible and scalable in the long term without compromising stability or performance?
This question was the starting point of a project we carried out together with the Fraunhofer Institute for Manufacturing Engineering and Automation (IPA) The goal was to evaluate the extent to which a microservice architecture is suitable for MES and how individual services can be meaningfully separated and orchestrated.

Project approach

The project was based on the IEC 62264 standard, which provides a uniform description of key production processes and information flows. In particular, the activity model of IEC 62264-3:2016 enabled a clear functional separation and thus offered the ideal basis for:
• To technically differentiate microservices
• Define interfaces clearly
• to ensure a consistent data architecture

Based on this, we developed a fully functional, modular MES prototype consisting of several independent software modules. The following technologies were used:
• Backend: Java / Spring Boot with REST APIs
• Frontend: React, TypeScript and Vite with Material.io
• Infrastructure: Docker, Docker Compose, PostgreSQL, MQTT
• Project management: Azure DevOps, agile implementation using Scrum

By consistently separating the modules functionally, we were able to completely decouple key MES core areas such as production planning, resource management and order processing.

Structure of the microservice system

Based on the activity model, the MES was structured into eight clearly defined microservices. Five of these were implemented, and three were developed conceptually.
An overview of the services, including the conceptual microservices (MS6–MS8), is shown in Figure 1.

Each microservice includes:
• a dedicated backend
• a custom frontend
• a standalone database

This architecture enables:
• independent further development
• separate deployments
• targeted scaling of individual functional areas

A central portal consolidates all frontends, ensuring a consistent user experience despite the distributed structure. Additionally, an MQTT broker has been integrated to handle asynchronous communication and production-related events.

Microservices at a glance

The MES was structured into a total of eight clearly defined microservices based on the activity model of IEC 62264-3:2016. Five of these were implemented, and three more were developed conceptually (see Figure 1).

MS1 – Resource Management
Management and provision of all relevant production resources such as machines, materials, tools, and personnel. The service makes this information available to other microservices in a standardized format.

MS2 – Product Definition
It depicts products, bills of materials, work plans, and production structures. It forms the basis for planning and execution and provides product-related master data.

MS3 – Production Planning
Creation and management of production plans based on orders, resource availability, and product definitions. The goal is realistic and adaptable planning that takes capacities and priorities into account.

MS4 – Production Control
Orchestration and control of ongoing production. The service translates planning data into executable production orders and coordinates their execution across the involved resources.

MS5 – Production version
Support for the operational production level (e.g., at workstations or lines). Here, work steps are started, completed, and changes are recorded.

MS6 – Production data acquisition (conceptual)
Collection and storage of production and process data such as statuses, times, and feedback. This data forms the basis for transparency, traceability, and subsequent analysis.

MS7 – Production monitoring (conceptual)
Planned provision of real-time transparency regarding production status, including visualization of deviations, disruptions, and key performance indicators.

MS8 – Production Performance Analysis (Conceptual)
Evaluation of historical production data to analyze efficiency, throughput times and performance indicators as a basis for continuous improvement processes.

Figure 1

project results

A key objective was the evaluation of the microservice architecture within the MES context. Extensive experience from design, implementation, and integration was incorporated into this evaluation. The following aspects were specifically assessed:
• the professional rationale for the separation
• the delimitation of responsibilities
• Impact on development, maintenance and deployment

In the next step, our research partner will further test the system in collaboration with industrial companies. In-depth analyses in realistic scenarios are planned to validate its practicality, scalability, and transferability.

Our Conclusion

Microservice architectures offer great potential in the MES context with regard to modularity, flexibility, and scalability. At the same time, the project revealed that not all functional areas are equally well suited to fine-grained separation.

Well suited: MS1, MS2, MS5
Less easily achievable with precise differentiation: MS3, MS4 – here, a split leads to a higher need for coordination, closer data dependencies and additional synchronization effort.

The IEC 62264 standard provides a solid foundation, but leaves room for interpretation in some areas – for example, regarding the handling of modified or aborted orders. These aspects must be clearly defined at the architectural level.

Together with our research partner, we will further deepen the findings in the next project phases and evaluate them under real production conditions.


Are you working on similar topics or planning an MES project?
Let's exchange ideas!

Interested in training?

Our Environmental management policy

The environmental policy of EVOMOTIV is aimed at controlling, regulating and minimising the impact of business and human activities on the environment. This is achieved through a variety of measures and initiatives:


1. Resource efficiency and conservation: EVOMOTIV focuses on economical use of energy and water. Standby modes are avoided and energy-saving IT devices are used.

2. Raising awareness among employees: Through lock screens, e-learning and tips on
In-house events raise employees’ awareness of environmental issues.

3. Promoting biodiversity: EVOMOTIV expands green spaces and builds refuges for insects, such as flower meadows, green roofs and bee hotels.

4. Sustainable food: EVOMOTIV focuses on local, seasonal and fairly traded food and relies on reusable tableware.

5. Paperless office: EVOMOTIV aims to work completely paperless.

6. Use of renewably produced fuels: Until the fleet is fully electrified, the focus will be on fuels obtained from renewable energy sources.

7. Electrification of the fleet: EVOMOTIV plans to electrify its fleet to reduce CO2 emissions.

8. Ecologically produced merchandise: EVOMOTIV buys environmentally friendly gifts for employees and customers.

9. Reduction of data waste: EVOMOTIV is committed to reducing data waste in order to minimize the environmental impact of digital waste.

EVOMOTIV is committed to continuously improving environmental performance through business practices and strategies and to actively contributing to environmental protection, with the clear aim of promoting sustainable development.

social commitment

Our central sustainability motive is to make a positive contribution to people and the environment. Under the principle
<< Inspire people, develop values >> we are involved in a variety of ways directly in the region of our locations in order to promote a variety of charitable projects.

sponsoring

A selection of the organizations that are particularly close to our hearts:

Donation

Our social commitment is reflected in our support of various non-profit organizations. Our colleagues are actively involved, for example through actions such as “Cycling for a good cause“. Through such initiatives we collect donations, which we donate to, for example Children's Hospice Munich as well as the support association Helping Hands . We also take part in campaigns such as: Christmas in a shoe boxto make a sustainable contribution to social issues.

Our climate strategy

Lorem ipsum dolor sit amet, consetetur sadipscing elitr,

Subscribe to our newsletter

Our Locations

EVOMOTIV GmbH
In Bühl 16/1
D – 71287 Flacht
Tel: 0711/32 06 74-0
stuttgart@evomotiv.de

for directions

1 of 5
EVOMOTIV ULM GmbH Location Friedrichshafen Albrechtstrasse 8 D- 88045 Friedrichshafen Tel: 07541 7300 130 friedrichshafen@evomotiv.de 2 of 5

EVOMOTIV ULM GmbH
Hörvelsinger Weg 62/2
D – 89081 Ulm
Tel: 0731/708 09 84-00
ulm@evomotiv.de

for directions

3 of 5

EVOMOTIV GmbH
Munich location
Mies-van-der-Rohe-Strasse 6
D – 80807 Munich
Tel: 089/95 45 92 53-0

muenchen@evomotiv.de

for directions

4 of 5

EVOMOTIV GmbH
Ingolstadt location
Münchener Strasse 19
D- 85123 Karlskron-Brautlach
Tel: 089/95 45 92 53-0

ingolstadt@evomotiv.de

for directions

5 of 5

EVOMOTIV GmbH

Stuttgart location
In Bühl 16/1
D - 71287 Flacht

Melanie Pramann
stuttgart@evomotiv.de
Tel: 0711/32 06 74-0
For directions

EVOMOTIV GmbH

Munich location
Mies-van-der-Rohe-Strasse 6
D - 80807 Munich

Kryschan Schwirzinger
muenchen@evomotiv.de
Tel: 089/95 45 92 53-0
For directions

EVOMOTIV ULM GMBH

Ulm location
Hörvelsinger Weg 62/2
D-89081 Ulm

Kathrin Eckel
ulm@evomotiv.de
Tel: 0731/70 80 98 4-00
For directions

EVOMOTIV ULM GmbH

Friedrichshafen location
Albrechtstrasse 8
D - 88045 Friedrichshafen

Matthias Knott
friedrichshafen@evomotiv.de
Tel: 07541/73 00 13-0
For directions

EVOMOTIV GmbH

Ingolstadt location
Münchener Str.19
D - 85123 Karlskron-Brautlach

Kryschan Schwirzinger
ingolstadt@evomotiv.de
Tel: 089/95 45 92 53-0
For directions