In order to eliminate the frictional resistance of CNC machine feed platform and improve the machining accuracy and surface roughness, the hidden-pole magnetic suspension linear synchronous motor used to drive the CNC machine tool feed platform was studied. According to the special structure and operation mechanism of the hidden-pole magnetic suspension linear motor, the mathematical model of the electromagnetic force of the motor was established firstly. Then the finite element calculation for the air gap magnetic density, back electromotive force and electromagnetic force of two different structures of the motor of the salient pole and hidden pole was carried out by Finite element software, and the harmonic analysis for air gap magnetic density was done. By comparing the electromagnetic forces of the two motors, it is found that the hidden pole has less fluctuation of the electromagnetic force, so it is more suitable for feed platform as a driving component. Finally, Particle swarm optimization is used to optimize the electromagnetic force of the hidden-pole controlled-magnet linear magnetic suspension synchronous motor, which further reduces the fluctuation of the electromagnetic force, and also improves the efficiency of the motor. The results of the experimental prove the effectiveness of the control method. INDEX TERMS Shidden pole linear synchronous motor, magnetic suspension platform, optimization, particle swarm algorithm.