| The advancement of textile machinery stimulates its requirement for digital servo control systems. To adapt the market change that the electric control equipment in textile industry tends to adopt the servo control systems, it is pressingly necessary to develop totally digital AC servo motor drives of high intelligence, favorable compatibility and perfect control function. This article considers the drive, which is compatible with universal AC servo motors and master devices, for embroidery machine shaft, focusing on the design and realization of relevant control algorithms and the whole drive.Development of AC servo system and its related technologies are briefly described and the control requirements of servo control system for embroidery machine shaft in this paper, and the key schemes are analyzed. The study on the control theories, algorithms and keys including the mathematical models of permanent magnet synchronous motor in different coordinate systems, the different forms of vector control, the design of regulators, SVPWM module, parameters and rotor inertia identification and the starting and braking of motor is conducted.Regarding to the motor parameters and system control requirements, the system hardware design is realized with power board, control board and key-display board. The power board is composed of single-phase non-controlled rectifier, main circuit containing IPM and auxiliary power supply. The control board, with DSP(TMS320F2810) and CPLD as core while interface module and communication module as auxiliary units, implements system control functions. The key-display board carries out key input and LED display by MCU. The DSP control software is roughly divided into main program, timer interrupt service routine and AD conversion interrupt service routine. Among them, main program is in charge of initialization and key-display processing, timer interrupt service routine, is designed to implement vector control algorithm, three close-loop regulators and the generation of SVPWM signals as core program. AD conversion interrupt service routine provides one of the system protection fundamentals.Debugs of shaft servo drive contain hardware debugs and system debugs. The former test the three single boards and whole hardware, with experiments under voltage dip or short interruption, voltage variation, high temperature and platform vibration. The latter include experiments such as jogging, pole pulling, line cutting, motor response and pin track testing.Synthetically analyze the debug results, it is visible that the drive fulfills the control requirements of shaft servo system. |