Abstract
Smart manufacturing is an emerging paradigm for the next generation of manufacturing systems. One key to the success of smart manufacturing is the ability to use the production data for defining predictive and descriptive models and their analyses. However, the development and refinement of such models is a labor- and knowledge-intensive activity that involves acquiring data, selecting and refining an analytical method and validating results. This paper presents an analytical framework that facilitates these activities by allowing ad-hoc analyses to be rapidly specified and performed. The proposed framework uses a domain-specific language to allow manufacturing experts to specify analysis models in familiar terms and includes code generators that automatically generate the lower-level artifacts needed for performing the analysis. We also describe the use of our framework with an example problem.
Introduction
Smart Manufacturing Systems (SMS) promise a future of data-driven decision-making, yet the transition from raw machine data to actionable models remains a significant bottleneck. Developing these models typically requires a rare intersection of skills: deep manufacturing domain knowledge, data acquisition expertise, database management, and advanced programming for machine learning. Small and medium-scale manufacturers often lack the resources to maintain such specialized teams, and data silos further complicate "ad-hoc" analyses—quick studies needed to solve immediate production issues.
This paper introduces an integrated analytical framework designed to democratize these capabilities. By leveraging a domain-specific modeling language (DSML) and automated code generation, the framework allows manufacturing experts to rapidly build, optimize, and visualize predictive models without requiring deep expertise in data engineering or advanced programming.
The Analytical Framework Architecture
The proposed framework is built on Model-Based System Engineering (MBSE) principles, orchestrating a diverse tech stack into a unified workflow. The architecture bridges the gap between the physical manufacturing floor and the digital analysis environment.
The system utilizes MTConnect to stream real-time data from CNC machines into InfluxDB, a time-series database. For analysis, it integrates scikit-learn for regression, OpenMDAO for multidisciplinary optimization, and SimPy for simulations. A critical component is the automated "plumbing": the framework translates high-level graphical models into executable Python code and Jupyter Notebooks, allowing users to move from a visual concept to a reproducible analysis environment with a single click.
Domain-Specific Modeling and Code Generation
At the heart of the framework is MOCA (Model Composition and Analysis), a DSML created using the WebGME platform. MOCA allows engineers to define "Components" representing process logic and "Problems" representing analysis tasks like optimization.
By using a DSML, the system speaks the language of the manufacturing engineer—using terms like "FeedRate," "SpindleSpeed," and "Objective"—rather than low-level code. This approach ensures a separation of concerns: a single process model (how a machine behaves) can be reused across multiple optimization scenarios (how to improve performance). Furthermore, the framework supports hybrid modeling, allowing users to combine analytical physics-based models with data-driven machine learning models.
Experimental Validation: CNC Machining
The framework was validated using a machining case study involving a CNC workcenter producing Aluminum parts. MTConnect was used to capture spindle speeds, line feeds, and machine states during milling operations. This data was then used to train a regression model to predict production time based on varying operational parameters.
The results demonstrated that the framework could successfully orchestrate disparate tools (InfluxDB, OpenMDAO, scikit-learn) into a unified web-based environment. While qualitative, the study showed that complex optimization tasks, which would typically require writing hundreds of lines of integration code, could be specified through a relatively simple graphical interface.
Conclusion and Future Work
The presented framework lowers the barrier to entry for smart manufacturing by abstracting technical complexity. However, limitations remain. Current implementation relies heavily on MTConnect; future iterations will aim to support other standards like OPC-UA. Additionally, the authors plan to test the framework against higher-volume, real-world industrial data to ensure scalability and improve the robustness of high-fidelity process models.
Summary updated