On the basis of the basic theory of five-bar mechanism and the theory of triangle stability
the RPRPR five-bar mechanism realizing accurately "the given tracks at random" is put forward in this paper.The optimization model of five-bar mechanism realizing accurately "the given tracks at random" is built.Then the numeric computing methods of compensation speed
acceleration and rotational speed
acceleration are analyzed and genetic algorithm is adopted to get the solution to optimization model.The instances indicate that the mechanism and the computing methods are correct.