In order to deal with the problem that the system dynamics of mechatronic servo system are difficult to be described with precise model, and the measurement of state information is also effected by noise, a nonlinear backstepping control approach based on command filter and neural network is proposed, the approach can effectively compensate the influence of unmodeled dynamics and external disturbances on the mechatronic servo system. In this approach, command filter is introduced to acquire the differential estimation of known signals and cope with the noise. And then neural network is applied to approximate the unknown system dynamics, including the unmodeled friction and the external disturbance. The update law of neural network weights is implemented online by gradient descend algorithm, without off-line learning phase. Finally, the closed-loop system stability is rigorously proven by Lyapunov-based method. To verify the effectiveness of the proposed algorithm, extensive comparative experiments are implemented in mechatronic servo experimental platform. The experimental results indicate that the proposed controller achieves a satisfactory performance and the closed-loop system obtains satisfactory robustness with respect to system uncertainties and external disturbances.