As a mechatronic device to directly generate linear movement from electric energy, a linear motor can drive loads to implement linear movement directly. More and more attention has been aroused to the linear motor because of its outstanding advantages.Based on the existed achievements, in this paper, methods of displacement and frequency control of linear DC motor (LDM) are studied and a related motion control software is developed with a special high speed chip, namely DSP TMS320LF2407, for the motor control so as to realize a precise displacement and high frequency movement of the motor.A mathematical model of LDM is established and the relative control project and structure of the control system of LDM are developed on the basis of the movement principle and structure of the LDM. Usually, a control system consists of displacement measure device, control device, insulation circuit, drive model and PC. As one key part of the control system, the function of control device is to deal with the displacement signal from the motor and the output of control voltage. To meet the need of motor control, the event management module of DSP control unit makes it easy that implementing motor control and designing control program, and also it makes hardware structure simpler.As a very important role for the accurate motion of LDM, the control software consists of several sub-modules, namely a main program, an period interrupt program for general timer, a serial communication program, a motor orientation program and a displacement- adjusting program. The displacement-adjusting program is implemented by PID arithmetic. After finishing the designing of such a control program, some experiments were carried out and time-displacement curves were plotted. It is proved that such a control software is operable. |