The invention discloses a servo system for a linear motor. The servo system comprises a linear motor and a linear motor driver, wherein the linear motor driver comprises a DSP, a switch power supply, a drive circuit, a motor feedback position acquisition unit, a motor feedback rotary speed computing unit, a motor feedback current acquisition unit, a position ring computing unit, a speed ring computing unit, and a vector control unit, wherein the DSP controls a position ring circuit, a speed ring circuit and a current ring circuit of a linear motor; the motor feedback position acquisition unit obtains the actual position of a motor rotor; the motor feedback rotary speed computing unit works out the actual rotary speed of the motor according to the actual position of the motor rotor and the measuring time; and the motor feedback current acquisition unit samples by a resistor, sends the sample to an AD converter through linear opto coupling insulation, and sends the sampling signal to the DSP through a serial port after converting to the analogue signal to the digital signal. The servo system adopts a structure integrating power supply, drive and control, and mixes strong current signals and weak current signals, so that the servo system can avoid the interference among various signals of strong current, weak current, switch power supply and the like.