Skip to Main Content
A bearingless permanent magnet synchronous motor (BPMSM) control system has a large number of control variables but has a small amount of data variables. So, adopting optimal coding scheme is demanded in its human-computer interaction. Based on the analysis of data format in serial port communication and data types of control variables, an optimal scheme of data split and combination and a coding one are given. A software synchronization strategy is proposed to keep data integrity. A decoding vectors table of linear pointer array structure and a sending descriptors table of single list structure are introduced to accelerate decoding process and implement dynamic adjustment of sending contents respectively. With this human-computer interaction strategy, code extension is easily realized and has no influence on the efficiency of program. The results show that the BPMSM operates stably, and smooth communication, integrated data, easy operation, convenient code extension and simple maintenance are obtained with this human-computer interaction strategy.