In view of the fact that the current research on active and passive rehabilitation training of lower limbs is mainly based on the analysis of exoskeleton prototype and the lack of analysis of the actual movement law of limbs, the human-machine coupling dynamic characteristics for active rehabilitation training of lower limbs are studied. In this paper, the forward and inverse kinematics are solved on the basis of innovatively integrating the lower limb and rehabilitation prototype into a human-machine integration system and equivalent to a five-bar mechanism. According to the constraint relationship of hip joint, knee joint and ankle joint, the Lagrange dynamic equation and simulation model of five-bar mechanism under the constraint of human physiological joint motion are constructed, and the simulation problem of closed-loop five-bar mechanism is solved. The joint angle experimental system was built to carry out rehabilitation training experiments to analyze the relationship between lower limb error and height, weight and BMI, and then, a personalized training planning method suitable for people with different lower limb sizes was proposed. The reliability of the method is proved by experiments. Therefore, we can obtain the law of limb movement on the basis of traditional rehabilitation training, appropriately reduce the training speed or reduce the man-machine position distance and reduce the training speed or increase the man-machine distance to reduce the error to obtain the range of motion angle closer to the theory of hip joint and knee joint respectively, so as to achieve better rehabilitation.