Skip to main navigation Skip to search Skip to main content

ChatCNC: Conversational machine monitoring via large language model and real-time data retrieval augmented generation

  • Jurim Jeon
  • , Yuseop Sim
  • , Hojun Lee
  • , Changheon Han
  • , Dongjun Yun
  • , Eunseob Kim
  • , Shreya Laxmi Nagendra
  • , Martin B.G. Jun
  • , Yangjin Kim
  • , Sang Won Lee
  • , Jiho Lee
  • Pusan National University
  • Purdue University

Research output: Contribution to journal › Article › peer-review

Abstract

Human-Centric Smart Manufacturing (HCSM) has become a central theme of Industry 5.0, promoting collaborative interactions between humans and intelligent systems. Nevertheless, HCSM technologies have been struggling to reach their full potential due to the lack of digital literacy among manufacturing workers, particularly in real-time machine monitoring. Current monitoring systems with rigid interfaces limit the operators to handle Industrial Internet of Things (IIoT) systems to directly query manufacturing data for further analysis without external technical support. To address such bottlenecks, we propose ChatCNC, a conversational machine monitoring framework that integrates Large Language Models (LLMs) to enable natural language-driven interactions with real-time Computer Numerical Control (CNC) machine data. Leveraging LLM-based multi-agent collaboration and Retrieval-Augmented Generation (RAG), ChatCNC interactively retrieves data from real-time IIoT database while also supporting context-aware responses based on the collected data, which reduces reliance on technical support from software engineers. As ChatCNC allows rapid adaptation of LLM Application Programming Interfaces (APIs) via prompting techniques, its performance is evaluated across multiple versions, each combining different LLMs and prompts, using various types of questions. Notably, our framework demonstrates its reliability in human-data interaction for industrial applications, achieving 93.3% accuracy in responding to complex queries that require advanced data inference like production tracking. Furthermore, possible failure modes are thoroughly analyzed based on interaction scenarios among multiple LLM-based agents. Such results highlight the potential of the framework as a cornerstone for HCSM.

Original languageEnglish
Pages (from-to)504-514
Number of pages11
JournalJournal of Manufacturing Systems
Volume79
DOIs
StatePublished - Apr 2025

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 9 - Industry, Innovation, and Infrastructure
    SDG 9 Industry, Innovation, and Infrastructure

Keywords

  • Conversational machine monitoring
  • Human-Centric Smart Manufacturing (HCSM)
  • Human-data interaction
  • Large-Language Model (LLM)
  • Real-time Retrieval Augmented Generation (RAG)

Fingerprint

Dive into the research topics of 'ChatCNC: Conversational machine monitoring via large language model and real-time data retrieval augmented generation'. Together they form a unique fingerprint.

Cite this