A digital servo controller based on CAN bus is introduced.Three pivotal techniques of the servo, including the hardware design, the motor control arithmetic and the software design are mainly studied, the hardware design is described particularly. The results show the correctness and effectiveness of the digital servo controller.