Research on Temperature Monitoring and Compensation of Electrolyte Based on Modbus Protocol and Least Square Method
SUN Lunye
ZHANG Qi
HOU Yonggang
WANG Hui
Abstract:Changes in electrolyte temperature induce variations in conductivity K and current efficiency η,while also altering the bubble rate within the machining gap,thereby significantly affecting the machining stability and accuracy of workpieces.To achieve accurate and efficient monitoring of electrolyte temperature and capture real-time temperature changes,a multi-channel temperature monitoring system based on the Modbus protocol was developed.An error prediction function was constructed using the least square method to predict temperature errors,enabling error compensation.Experimental results demonstrate that encoding temperature data and read-write instructions via the Modbus protocol effectively mitigates data loss and ensures data synchronization across multiple monitoring points.Temperature errors were accurately predicted using the prediction function,and temperature compensation was successfully implemented.This method substantially improves the measurement accuracy of electrolyte temperature and is crucial for enhancing the machining accuracy and stability of the electrochemical machining experimental system.
Keywords:STM32Modbus protocolLabVIEWleast-square methoderror compensation
Publication Date:2025-07-20
Online Publishing Date:2025-08-15(First online date of this platform, not the publication date of the document)
Pages:7( 32-37,57 )
