| With the improvement of living standards, people is gradually moving towards fashion,comfortable and personalized on the knitting clothing, the traditional hand-knitting machines hasbeen unable to satisfy the demand that people send to knitted product, the appearance ofcomputerized flat knitting machines, is the current development trend of the knitting industry. Thecontrol system is the core of computerized flat knitting machines, it realize computer automationfunctions, namely according to the weaving requirements and the synchronous feedback signalfrom the machines, timely send control command, in order to achieve the coordination to thevarious weaving machines and equipment, jointly complete the knitted products weaving.Through to the understanding to the principle of the machinery, this article analysis thecontrol needs of the control system of computerized flat knitting machines, and we proposed thecontrol system solutions based on ARM9and embedded Linux operating system, the hardware ofthe computerized flat knitting machines is mainly divided into three modules, such as the maincontroller module, the Carriage control module and the motor control and the sensor detectionmodule. The main controller module is composed of a main processor AT91SAM9261management and deployment; the Carriage control module is composed of the co-processorSTM32manage and control, it is mainly receives the control command which the main controllersend; motor control and sensor detection module includes is composed of a coprocessor CPLDmanage and control, is mainly responsible for the motor displacement, and a detection sensorfeedback signal.The development to the software for the computerized flat knitting machines is in the Linuxenvironment, so our software is mainly consists of five modules: a control main thread on knittingmodule, analysis Pattern module, CAN bus module, CPLD module, and SDL interface applicationprogram. The control main thread on knitting module is the core of the whole software, which isresponsible for the task scheduling in the software module, and it call the other four modulesthroughout the whole of weaving process to knitted products; analysis Pattern module is mainlyresponsible for the work such as analysis Pattern instruction, namely analysis CNT and PAT files,and get various machinery and equipment control instruction; CAN bus module is responsible fortransmitting a control instruction to Carriage; the CPLD module is mainly responsible for thework of two aspects, on the one hand, it coordinate all the equipment of the computerized flatknitting machines normal working through reading the CPLD registers, on the other hand, it isalso responsible for sending control command of motor; SDL interface application program provides a good graphical user interface, And provide the user with touch and keyboard operation,to realize man-machine friendly exchanges.Through debugging and research to computerized flat knitting machines for a lang time, Theauthors have completed the control system software design and implementation, after testing, thecontrol system has shown stable operation, good real-time performance, high work efficiency, andthe friendly exchanges can meet the user demand. |