In order to solve the problems of strong vibration,high noise and easy needle breakage of traditional flat knitting machine needle mechanical drive,which affect the fabric production efficiency,this paper designs a magnetic levitation needle array drive controller based on the analysis of traditional computerized flat knitting machine needle drive principle and control mode,and takes the new magnetic levitation knitting drive technology as the research object,and realizes the magnetic levitation needle array high speed through the independent control of flat knitting machine head and electromagnetic coil.This paper first analyzes the magnetic levitation needle array drive controller.This paper first analyzes the structure and function of the magnetic levitation needle array drive system,designs the overall control system according to the control requirements,and defines the function of each module.Secondly,the expression of the relationship between the height of the magnetic levitation needle movement and the current is derived,and the knitting process and driving protocol of the magnetic levitation needle are defined.Finally,the hardware logic system is designed according to the functional requirements of each module,and the software program is written to realize the functions of each module.In this paper,ZYNQ is used as the main control chip of the control system.Based on the PL(FPGA)and PS(ARM)resources inside ZYNQ chip,the hardware logic and algorithm programs of each functional module are designed.The functions of electromagnetic drive,communication interface,data cache,motor drive,ADC interface,state machine,etc.are realized in PL side;PID algorithm and Ethernet remote program update are realized in PS side;the IP core of drive function is designed through AXI bus protocol to realize the efficient cooperation and give full play to the structural advantages of the chip.Finally,the experiments of magnetic levitation needle driving were conducted to verify the current-height theory and test the maximum driving frequency of the needle.The system platform operates stably,and the motion height of the magnetic levitation needle,the motion state of the head and the driving effect of the electromagnetic coil are consistent with the expected effect,which proves the feasibility of the control system designed in this paper. |