| The motion controller, which is an important part of the plotter, ensures some performances of the plotter such as mechanical resolution, tint, plotter speed. The paper puts forward a kind of scheme of a motion controller which is based on NIOSII embedded processor through the analysis of the principle and function of the motion controller.This paper introduces the design of the SOPC which is based on NIOSII embedded processor at first. And then the hardware platform of the motion controller is presented. The hardware system is divided into two parts, NIOSII main board and motion control circuit. The performance of the whole system is ensured through the control of the NIOSII CPU. This paper describes the design of the user logic and the scheme of the NIOSII main board in detail. And the motion control circuit is presented, including print-head car's drive circuit, drive circuit of the paper-structure and wash-head's circuit.The architecture of software in motion controller is presented, and the function of each module is analyzed. Moreover, the design and implementations of communication module, T0 interrupt module, PID module are presented in details.Testing result on the whole system shows that the design of software and hardware is of high reliability and stability. |