Design of Industrial Control HMI System Based on STM32
To tackle the problem of poor customizability and reusability in small and medium-sized traditional industrial con-trol HMI systems,this paper developed a general industrial HMI system based on STM32.The system's hardware used the STM32H743 microprocessor and a high-resolution capacitive touch screen as its core components.It also integrated RS485,CAN bus,and other communication interfaces.The power circuit was designed for isolation and anti-interference.The system software used the real-time operating system FreeRTOS to manage task scheduling.The software interface design used the configuration software and the lightweight GUI graphics library LVGL.The interface description file used the JSON data format.To address the issue of limited memory resources for parsing large files in embedded systems,a ring buffer was used to read data streams and a parsing assistant was employed.At the same time,the soft PLC function was implemented using the graphical drag and drop method.The experimental results demonstrate that the HMI system has a simple device deployment,flexible and customizable interface de-sign,and easy maintenance.The soft PLC function improves the programmability and expansibility of the system.
embeddedHMI systemFreeRTOSJSON formatlogic control