1 Introduction

Biomechanics simulation refers to realize virtual analysis and simulation research on the mechanics principles of living organisms by applying mechanics principles and methods and combining virtual reality technology. Using virtual simulation technology can not only improve the realism of moving objects, but also save research and development (R&D) costs and improve R&D efficiency, reducing the difficulty o0f data analysis significantly. Therefore, this technology is now widely used in various fields of medical rehabilitation.

In current research, biomechanical simulation has been widely used in various fields [1]. Van Houcke J et al. [1] evaluated the hip joint reaction force and hip flexion angle in a virtual representative male Caucasian population by means of musculoskeletal modeling of three distinct sitting configurations; they showed that the different sitting configurations can affect the hip joint. Elham Hazrati [2] studied the biomechanical response of lower limbs (muscle activation and joint force) through pedal man–machine model; they investigated that the saddle place can affect the muscles and joints behavior. Apoorva Rajagopal et al. [3] established a gait man–machine model based on the HILL-type model, tested the model by simulating the accuracy of healthy walking and running, and generated an accurate gait simulation. Samuel R. Hamner et al. [4] developed a three-dimensional muscle drive model of the running gait cycle. Through an analysis of the model, the different contribution degree of each muscle in resting state and exercise state was determined. Lu Zongxing et al. [5] established a human–machine coupling model of disuse atrophy of lower extremity muscles and determined the different contributions of each muscle in the resting state and in moving state by analyzing model. Some previous studies have combined biomechanics with ankle rehabilitation robots; Zeng fenfang et al. [6] created a computational biomechanical model of the human ankle for the rehabilitation robot, and put this theoretical model on the ankle rehabilitation robot. Min shi et al. [7] proposed a man–machine collaboration model of an EEG-driven ankle joint rehabilitation robot. The above two articles mainly focus on the establishment of related biomechanical models, and lack of research on specific parameters of ankle joint rehabilitation robot.

As one of the most complex joints in the human body, the ankle joint plays an important role in daily life and is also vulnerable to get injured. During the course of traditional physiotherapy, the patient’s ankle is manually moved by therapist. A series of ankle rehabilitation robot has been invented. In the past, many studies have conducted in-depth discussions on how to solve the scope of robot rehabilitation and the configuration of the mechanism. Yongfeng Wang [8] designed a new type of parallel ankle joint rehabilitation robot which realized kinematics solution and simulation analysis. According to three inputs condition, it was properly to meet the range of motion for the normal ankle. Dai [9] proposed a 3-SPS/SP (three spherical–prismatic–spherical kinematic branch) parallel tripod-type mechanisms for sprained ankle treatment based on the study of ankle functional anatomy. Jamwal [10] proposed a flexible parallel rehabilitation robot for ankle joint rehabilitation; they proposed a modified fuzzy inference system to solve the forward kinematics to optimize parameters. Saglia et al. [11] put forth a 3-UPS/U redundantly actuated parallel mechanism with the advantage of mechanical and kinematical simplicity to produce the 2-DOF plantarflexion/dorsiflexion and inversion/eversion assistive and resistive rehabilitations.

At present, the research on ankle rehabilitation robots mostly stays in institutional research and optimization and the importance of rehabilitation trajectory in formulating rehabilitation robot strategies. It is necessary to reveal the changes in rehabilitation trajectory and lower extremity muscle behavior. To investigate the influence of the effective factors on the body, we can use simulation methods. The simulation methods can avoid the statistical population, where the conditions of the subjects influence the study. However, in the simulation, the model as a representative of the complex body system allows to change only one parameter in the absence of the noise from other changing parameters. Also, the model can investigate the relationship between rehabilitation trajectory and muscle behavior without the fatigue.

To date, ergonomic studies of ankle rehabilitation robot have mainly focus on structure and sports space. Up until now, the lower limb biomechanics has not been the subject of such analysis. Therefore, the aim of the article was to provide initial insight into biological changes in lower limbs and rehabilitation trajectory that are relevant to daily exercise rehabilitation. Firstly, we established a coupling model of human body and ankle rehabilitation robot using a biomechanical analysis software. Secondly, we conducted a surface EMG verification test to verify the accuracy of the established human–machine coupling model. Thirdly, we investigated the changing trend of lower limb muscle strength under different rehabilitation trajectories. In addition, it provides insight into the biomechanical variables that are difficult or impossible to measure directly (such as muscles force or joints reaction force).

2 Methods

2.1 Establish a man–machine coupling model

To lower extremity biomechanical ankle rehabilitation response characteristics, this paper proposed a 2-UPS/RR ankle joint rehabilitation robot as the research object, coupling the display unit to carry out simulation analyses of biomechanical rehabilitation process characterized in that among the lower extremities. After the coupling model was established, a real machine experiment was performed on healthy people to collect biomechanical data of the lower limbs to verify the accuracy of the established model.

This study uses the AnyBody Modeling System (AMS) for man–machine coupling simulation under different rehabilitation trajectories. AMS provided a complete body system of bones, muscles, and ligaments. When establishing the human–machine coupling model, the upper limbs are ignored and most of the upper limb muscles are removed so that there is a faster calculation rate when establishing the model. The model has 84 muscles in the lower limbs. In addition, the hip, knee, and ankle joints of this model have three, one, and two degrees of freedom, respectively. The analysis flow chart is shown in Fig. 1.

Fig. 1
figure 1

Man–machine coupling model analysis process

AnyBody’s built-in Fourier driver is used to drive the 2-UPS/RR ankle rehabilitation robot. The nutation motion trajectory of the ankle joint rehabilitation robot is mainly analyzed; the movement of the movable platform is mainly composed of the combination of plantar dorsiflexion and varus, and the driving function of the motion trajectory of plantar dorsiflexion and varus is as follows:

$$a=\sum_{i=1}^{2}{A}_{i}\mathrm{cos}\left({w}_{i}t+{B}_{i}\right)$$
(1)
$$\beta=\sum_{k=1}^2A_k\;\sin(w_kt+B_k)$$
(2)

Among them:

$$\begin{array}{cc}{w}_{i}=(i-1)2\pi f& {w}_{k}=(k-1)2\pi f\end{array}$$
(3)
$$\begin{array}{cc}{A}_{\text{i}}\text{=}\left[{A}_{1},{A}_{2}\right]& {B}_{\text{i}}\text{=}\left[{B}_{1},{B}_{2}\right]\end{array}$$
(4)

where \(\alpha\) and \(\beta\) are the dorsiflexion plantar and varus driver functions, \({A}_{i}\) and \({B}_{i}\) are the Fourier coefficients, and \(f\) is the frequency.

2.2 Mechanism inverse solution analysis

The static platform is connected with the branch chain through the universal pair at \({U}_{1}\) and \({U}_{2}\) and the fixed end at \(O\). The moving platform is connected with the branch chain through the ball pair at \({S}_{1}\) and \({S}_{2}\). The extension lines of \({R}_{1}\) and \({R}_{2}\) intersect at point O’; moreover, O’ is the virtual center point of the ankle joint in rehabilitation exercises. There is a moving pair on branch 1 and branch 2. A dynamic coordinate system O’-uvw was established at \({A}_{3}\), and a static coordinate system \(O-xyz\) was established at \({B}_{3}\) (Fig. 2).

Fig. 2
figure 2

A2-UPS/RR organization diagram

According to the closed-loop vector method, the equation is obtained:

$${l}_{i}=-{u}_{i}+h+{s}_{i},i=\mathrm{1,2}$$
(5)

\({l}_{i}\) is the length of each link, \({u}_{i}\) represents the position vector from \(O\) to \({U}_{i}\), \({s}_{i}\) represents the position vector from O’ to \({S}_{i}\), \(\alpha\) and \(\beta\) are used to indicate the angle that the mechanism has rotated around the \(x\) and \(y\) axis, and \(h\) represents the distance from O to the ankle compound center. The rotation matrices are:

$$R(x,\alpha )=\left[\begin{array}{ccc}1& 0& 0\\ 0& c\alpha & -s\alpha \\ 0& s\alpha & c\alpha \end{array}\right]$$
(6)
$$R(y,\beta )=\left[\begin{array}{ccc}c\beta & 0& s\beta \\ 0& 0& 1\\ -s\beta & 0& c\beta \end{array}\right]$$
(7)

The rotation matrix of the dynamic coordinate system relative to the static coordinate system can be obtained as:

$$R=R(x,\alpha )R(y,\beta )=\left[\begin{array}{ccc}c\beta & 0& s\beta \\ s\alpha s\beta & c\alpha & -s\alpha c\beta \\ -c\alpha s\beta & s\alpha & c\alpha c\beta \end{array}\right]$$
(8)

According to the known conditions, the inverse solution of the 2-UPS/RR mechanism can be obtained as:

$$\left\{\begin{array}{c}{l}_{1}=\sqrt{\begin{array}{c}{\left(-{x}_{{U}_{1}}+{x}_{{S}_{1}}c\beta +{z}_{{S}_{1}}s\beta \right)}^{2}+{\left(-{y}_{{U}_{1}}+{x}_{{S}_{1}}sas\beta +{y}_{{S}_{1}}ca-{z}_{{S}_{1}}sac\beta \right)}^{2}\\ +{\left(h-{x}_{{S}_{1}}cas\beta +{y}_{{S}_{1}}sa+{z}_{{S}_{1}}cac\beta \right)}^{2}\end{array}}\\ {l}_{2}=\sqrt{\begin{array}{c}{\left(-{x}_{{U}_{2}}+{x}_{{S}_{2}}c\beta +{z}_{{S}_{2}}s\beta \right)}^{2}+{\left(-{y}_{{U}_{2}}+{x}_{{S}_{2}}sas\beta -{y}_{{S}_{2}}ca-{z}_{{S}_{2}}sac\beta \right)}^{2}\\ +{\left(h-{x}_{{S}_{2}}cas\beta -{y}_{{S}_{2}}sa+{z}_{{S}_{2}}cac\beta \right)}^{2}\end{array}}\end{array}\right.$$
(9)

According to Eq. 8, the inverse solution of the mechanism can be obtained when the geometric parameters of the mechanism and the rotation angle of the movable platform around the axis are known.

2.3 Related biomechanical theories

In AMS, inverse kinematics analysis must solve the redundancy problem (not enough equilibrium equations are available to determine all the muscle forces) of the muscle system [12], which involves the problem of muscle recruitment, which is solved by converting the problem of muscle recruitment into a mathematical optimization problem to minimize the objective function G. This is due to the fact that we have more muscles than strictly necessary to drive most motions. The solution for muscle recruitment in inverse dynamics is usually expressed as a mathematical optimization problem, which minimizes the value by the objective function \(G\left({f}^{(M)}\right)\) [13]:

$$G\left({f}^{(M)}\right)={\sum_{i=1}^{{n}^{(M)}}(\frac{{{f}_{i}}^{(M)}}{{N}_{i}})}^{p}$$
(10)
$$Cf=r$$
(11)
$$\left[{C}^{(M)}{C}^{(R)}\right]\left\{\begin{array}{c}{f}^{(M)}\\ {f}^{(R)}\end{array}\right\}=r$$
(12)
$$0\le {f}^{(M)}\le {N}_{i},i\in (\mathrm{1,2}\dots n)$$
(13)

where G is the objective function of the mathematical optimization problem, and its solution depends on the maximum value of the unknown force in the problem. In Eq. 10, \({{f}_{i}}^{\left(M\right)}\) is the muscle force of the i-th muscle, and the internal force f is divided into two parts, namely muscle force f(M) and joint force f(R). Ni is the muscle strength of the i-th muscle, and n(M) is the number of muscles. Let p = 3 to ensure the minimum fatigue strength. Equation 11 is the dynamic balance equation, C is the coefficient matrix, and r is used to represent all known force vectors. Equation 13 represents the non-negative constraint on muscle strength, which means that within a certain strength range (0-\({N}_{i}\)), the muscle can only be pulled but not pushed.

Existing studies have used a single muscle to characterize the activation dynamics of muscles and the dynamics of tendon contraction. Muscle drive models include models of muscle activation and contraction dynamics, and allow calculation of muscle force, fiber length, and other difficult to measure parameters. Due to the complexity of biological muscles, many simplifications were made when developing the tendon model. It is assumed that the tendon driver is an extensible string that is massless, frictionless, attached to the bones, and other structures. All muscle fibers are assumed to be straight, parallel, coplanar, and of equal length, and simplify the geometry [14]. At the same time, the fiber geometry and height are also assumed to be constant.

Each actuator is modeled as a 3-element HILL-type tendon unit (Fig. 3). Muscles are described by an active contraction element (CE) that generates the active force and a passive parallel elastic element (PEE). The tendon part uses a nonlinear series elastic element (SEE) that can express the mechanical properties of the tendon.

Fig. 3
figure 3

HILL-type model [3]

The length of the muscle and tendon elastic unit is:

$$L_{MT}=L_T+L_M\;\cos\alpha$$
(14)

Among them, \({L}_{T}\) is the length of the tendon unit, \({L}_{M}\) is the length of the muscle unit, and \(\alpha\) is the pinnate angle.

Muscle force can be expressed as [15]:

$${F}_{M}={F}_{A}+{F}_{P}$$
(15)

Among them, \({F}_{A}\) and \({F}_{P}\) represent the main force and passive force generated by the muscle under the standardized muscle length (\({L}_{N}\)). The normalized active force (\({F}_{A}\)) is expressed as a function of the muscle fiber velocity (\({V}^{M}\)), muscle fiber length, and the muscle activation (\(a\)):

$${F}_{A}=\frac{{V}^{M}\cdot b}{{V}_{\mathrm{max}}^{M}\cdot (0.25+0.75a)}+af$$
(16)
$$b=\left\{\begin{array}{c}af+\frac{{F}_{A}}{{A}_{f}};{F}_{A}\le af\\ \frac{(2+\frac{2}{{A}_{f}})(af{F}_{\mathrm{max}}^{M}-{F}_{A})}{({F}_{\mathrm{max}}^{M}-1)};{F}_{A}>af\end{array}\right.$$
(17)
$$f={e}^{\frac{-{({L}_{N}-1)}^{2}}{\gamma }}$$
(18)
$${F}_{P}=\frac{{e}^{\frac{{K}_{P}({L}_{N}-1)}{{\varepsilon }_{0}^{m}}}}{{e}^{{K}_{p}}}$$
(19)

The degree of muscle activation (\({a}_{min}<a<1\)) (Table 1).

Table 1 Naming of related parameters

3 Results

3.1 Model analysis

The variable parameters are set through parameter research, and the limits of the variable parameters are constrained. After a series of adjustments, it is finally determined that the relevant rehabilitation parameter values are \(\left\{\begin{array}{c}{A}_{i}=[0,\alpha ]\\ {B}_{i}=[\mathrm{0,0}]\end{array}\right.\) and \(\left\{\begin{array}{c}{A}_{k}=[pi,\beta ]\\ {B}_{k}=[pi/\mathrm{2,0}]\end{array}\right.\). During the movement, the corresponding values of \(\alpha\) and \(\beta\) are adjusted for trajectory planning.

The ankle rehabilitation robot drives the ankle joint to perform rehabilitation exercises by driving the platform, simulating the motion state of the ankle joint of a normal person, so that the patient’s ankle joint and calf muscles can be comprehensively trained to restore the basic functions of the ankle joint. By analyzing the changes of different muscle parameters and the changing trend of joint force of the man–machine coupling model under different related rehabilitation positions, the effectiveness of muscle participation in the training can be obtained during the rehabilitation process. As during exercise, the calf muscles need to work in coordination and force uniformly, so a reasonable rehabilitation strategy can be formulated through the law of changes in the relative force of the lower limbs. The rehabilitation conditions are obtained from the biomechanical model of the human movement system presented in AnyBody software (Fig. 4). Muscle force is affected by many factors, including muscle length, contraction speed, and load size. Due to the addition of foot pedals in this model, which results in a different force situation during rehabilitation compared to normal walking, corresponding changes in.

Fig. 4
figure 4

Biological model of the ankle joint related rehabilitation position

In the early stage of rehabilitation, passive rehabilitation (rehabilitation is led by the machine) is mainly performed. During passive rehabilitation, the muscle does not exert force, and the ankle joint is quickly recovered through the set rehabilitation trajectory, which has an excellent effect on the recovery of the ankle joint [16], as the calf muscle group is the main muscle group that drives the ankle joint movement, and not all of them take on a large force during the process of rehabilitation exercise. It can be seen from Fig. 5 that during the rehabilitation process within a cycle, the right leg muscles reach a peak value at 1.0 s, and the muscle recruitment is also large at this moment. Soleus, peroneus brevis, and extensor digitorum longus were selected as the research objects to investigate the changing pattern of biomechanical response of ankle joint under different trajectories according to the force condition of calf muscles.

Fig. 5
figure 5

A The force of calf muscles during the rehabilitation. b Rehabilitation trajectory during rehabilitation

3.2 Man–machine model verification experiments

The acquisition system used in this paper is the Wave Plus wireless EMG acquisition system released by Cometa srl, which is an innovative multi-channel wireless surface EMG system with an accelerometer. The Wave Plus wireless acquisition system mainly includes electrodes (dry or wet), signal receivers, data transmission lines, and wireless electromyography, as shown in Fig. 6.

Fig. 6
figure 6

Wave Plus wireless EMG acquisition system. (a) Data transmission line, (b) electrode sheet, (c) signal receiver, (d) signal acquisition unit

The Wave Plus wireless EMG acquisition system is a system for biological signal data collection, which can amplify 4 acquisition channels at the same time, and the acquisition frequency is 2000 Hz.

The validated calculation model can be used to predict the biomechanical response under different parameters without the need for expensive experiments. Before using the man–machine coupling model, the simulation output should be compared and analyzed with the processed experimental data to verify the accuracy of the established model. Figure 7 shows volunteers using an ankle joint rehabilitation robot to collect signals under active rehabilitation model (rehabilitation according to the volunteer’s exercise intention).

Fig. 7
figure 7

Ankle rehabilitation robot signal acquisition

Related studies [17,18,19] have used the EMG signal MVC calibration experiments to verify the scientific and feasibility of the related model. The defined model is executed with the same rehabilitation motion trajectory when the ankle rehabilitation robot experimental signal is collected, and finally, the muscle activity obtained from the simulation and the experiment is compared and analyzed, as shown in Fig. 8.

Fig. 8
figure 8

Computed muscle activations compared to measured EMG for the major calf muscle during plantar/dorsiflexion and varus/valgus. Simulated muscle activity in a 20° plantar/dorsiflexion for tibialis anterior, peroneus brevis, gastrocnemius, and soleus and b 20° varus/valgus for tibialis anterior and peroneus brevis is shown in red. The corresponding experimental EMG signals are shown by the gray shaded regions

Figure 8a shows the comparison of the simulation results of the tibialis anterior, peroneus brevis, gastrocnemius, and soleus muscles with EMG muscle activity under the ankle 20° plantar/dorsiflexion action. The curve trends of the simulation results and the experimental calculation results have good consistency. Figure 8b shows the comparison between the simulation of tibialis anterior and peroneus brevis muscles under 20° varus/valgus maneuvers with EMG muscle activity. The overall trend changes of the two have good consistency.

3.3 Muscle force analysis of lower limbs

The main forms of movement of the ankle joint are toe flexion, dorsiflexion, varus, valgus, adduction, and abduction. Rehabilitation of the ankle joint requires the human body to be in a normal sitting position, with the feet fixed on the platform, and the calf is naturally straight and relaxed. Under the traction of the mechanism, the calf and ankle muscles can be pulled to achieve a relaxing effect. The movement of the ankle joint has a safe range [20], as shown in Table 2. During the simulation, the angle of the ankle joint must be controlled within a safe range.

Table 2 Ankle joint motion angle range

The changes in the force of the muscles under different angles of plantar dorsiflexion can be seen from Fig. 9. Figure 9a shows the effect of the angle of plantar dorsiflexion on the muscle force of the soleus. In the first half of the cycle, the muscle force of the soleus first increases and then decreases, reaching the maximum and minimum values at 1.0 s and 3.0 s, respectively. Since the soleus muscle plays a major role in plantar flexion, it reaches the peak of muscle force at the maximum plantar flexion in 1 s, and as the angle of plantar flexion increases, the peak value of the curve also increases. The maximum peak muscle force is 250 N. In the second half of the cycle, rehabilitation gradually transitions from plantar flexion to dorsiflexion, and the changes in muscle force also show a trend of first decreasing and then increasing. From Fig. 9b, it can be seen that the muscle force changes of the peroneus brevis in the first half of the cycle are relatively smooth, floating up and down between 90 and 110 N, and the muscle force of the second half of the cycle shows a trend of first decreasing and then increasing, reaching the minimum value at 3.0 s. With the increase of the angle of plantar dorsiflexion, the muscle force around 3.0 s basically does not change, and the muscle force when reaching 20° dorsiflexion is only 10 N. Figure 9c shows the effect of the angle of plantar dorsiflexion on the muscle force of the extensor digitorum longus. In the first half of the rehabilitation cycle, the curve first increases and then decreases. And as the angle of plantar dorsiflexion increases, the range of muscle force changes gradually, varying between 100 and 140 N. When rehabilitation transitions from plantar flexion to dorsiflexion, the curve becomes a change that is first decreasing and then increasing. Through the comparative analysis of the above curves, it can be inferred that different muscles have different sensitivities to changes in the rehabilitation angle. Therefore, during rehabilitation, the trajectory must be reasonably planned according to the muscles to be restored to shorten the rehabilitation training time. When we perform early passive rehabilitation, we can determine the plantar dorsiflexion angle according to the patient’s different rehabilitation periods and the patient’s muscle rehabilitation.

Fig. 9
figure 9

The muscle force of the three muscles during rehabilitation: a soleus, b peroneal brevis, c extensor digitorum longus

3.4 Joint force analysis

The human ankle joint is composed of the articular surface of the tibia and the lower end of the fibula and the talus pulley. It is one of the most complex joints in the human bones and plays an important role in the body’s standing and maintaining balance [21]. The rehabilitation of joints is also crucial in the rehabilitation process. Through the inverse kinematics analysis module, simulation analysis is carried out under three different rehabilitation trajectories, and the changes of joint force in one cycle are obtained. The ankle reaction force mainly includes the component forces in three directions (\({F_x}\), \({F_y}\), \({F_z}\)). The total joint reaction force can be obtained by Formula (20).

$${F}_{t}=\sqrt{{{F}_{x}}^{2}+{{F}_{y}}^{2}+{{F}_{z}}^{2}}$$
(20)

Figure 10 shows the influence of different rehabilitation trajectories on joint force. In the first half of the rehabilitation cycle, the joint force shows a pattern of change first and then decreases, with the maximum peak value of 865 N. In the second half of the cycle, the curve changes to a trend of first decreasing and then increasing, and the joint force is more sensitive to the dorsiflexion. Figure 10b is a variation of the angle of varus effect on joint force curve which shows that the change varus angle for the joint force impact is not great. The curve shows a cyclical change rule, the joint force changes in a state of valgus is relatively smooth, only about 100 N, it can be inferred that the effect of varus on the ankle joint rehabilitation is not very obvious. Compared with varus, when the rehabilitation is in a state of valgus, the joint force presents an increasing trend, and the magnitude of the change decreases. Figure 10c shows the effect of the change of the compound motion angle on the joint force, and the overall trend is the same as the change of plantar dorsiflexion. The peak joint force appears later than the plantar dorsiflexion.

Fig. 10
figure 10

The joint force of different rehabilitation trajectories. a Plantar dorsiflexion, b varus or valgus, c compound movement

Figure 11 is a comparative analysis of the joint force of the three rehabilitation trajectories at a rehabilitation angle of 15°. It can be seen from the figure that within one exercise cycle, the curve change trend of plantar dorsiflexion and compound exercise is roughly the same, while the change of varus was relatively stable, floating between 600 and 700 N. The correlation analysis of the three rehabilitation trajectories showed that the correlation coefficient between plantar dorsiflexion and compound exercise reached 0.99 (P < 0.05). It shows that the change of compound motion is mainly dominated by plantar dorsiflexion, but it is also affected by inversion and eversion, making the curve between the two. It can be shown that compound exercises can achieve the effects of plantar dorsiflexion and varus, and the expected rehabilitation requirements and effects can be achieved by adjusting the angles of the two.

Fig. 11
figure 11

The joint force of each rehabilitation trajectory when the angle was 15°

In the process of ankle rehabilitation, it is necessary to avoid improper rehabilitation resulting in poor rehabilitation and secondary muscle injure. Due to the different strengths of each muscle, therefore, the muscle activation degree is used to characterize the force characteristics of the lower extremity muscles in the rehabilitation process. The muscle activation degree is calculated by Formula (21), regardless of the strength difference between muscles. Figure 9 shows the changes in maximum muscle activation under different rehabilitation angles.

$$Act=\frac F{F\;\max}\times100\%$$
(21)

Among them, \(Act\) is the degree of muscle activation, which can be understood as the proportion of the current muscle output during the rehabilitation process that is equivalent to its maximum muscle output, F is the current muscle strength, and F max is the muscle produced when the muscle is in the maximum force state.

According to Fig. 12, it can be seen that when using this ankle rehabilitation robot for rehabilitation, as the rehabilitation angle increases, the maximum muscle activation during varus and valgus is in a steadily rising state, but the degree of change is not large, within 10%. However, the degree of muscle activation of plantar dorsiflexion varies greatly. The rehabilitation angle is from 5° to 20°, and the degree of muscle activation is increased by as much as 23%. However, during the rehabilitation, all muscle activation degrees did not exceed 60%, and no secondary injure to the muscles would be caused. This also verifies that the rehabilitation robot mainly relies on the movement in the direction of plantar dorsiflexion during rehabilitation. By adjusting the movement in the direction of plantar dorsiflexion, the rehabilitation is supplemented by inversion and valgus, which can meet some basic rehabilitation requirements.

Fig. 12
figure 12

Comparison of maximum muscle activation under different rehabilitation angles

4 Discussion

Physical therapy is indispensable in the process of ankle rehabilitation. In the course of treatment, patients can restore a limited range of motion and weak muscles, achieve dynamic balance, and then recover motor function gradually [22]. Therefore, it is a long-term and intensive process. However, in traditional physical therapy process, the patient’s ankle joint is manually moved by the doctor to restore basic ankle joint movement, which requires the doctor to have long-term training experience and patience [23]. As a result, robot-assisted therapy is a better choice. Nowadays, with the rapid development of virtual reality technology, it has been widely used in rehabilitation robots.

A 2-UPS/RR parallel robot has the advantages of lower secondary damage and easy operability, based on the biomechanics simulation results, the workspace of the ankle rehabilitation robot and its influence on the muscle force and joint force of the lower limbs. Compared with previous studies, the 2-UPS/RR robot has a larger space and better coordination for lower limb rehabilitation by biomechanics analysis [24,25,26]. The previous studies mainly focus on the relationship between rehabilitation robot and institutional configuration. Wang C [24] proposed that mechanism can actualize the rotational movements of the ankle in three directions while at the same time the mechanism center of rotations can match the ankle axes of rotations. Ahmetcan Erdogan [25] invented a reconfigurable ankle exoskeleton with series elastic actuation which can cover the whole range of motion of the human ankle, and in the another parallel mechanism that can support the ground reaction forces/torques transferred to the ankle. Leiyu Zhang [26] proposed a parallel ankle rehabilitation robot; this robot can well meet the needs of ankle rehabilitation and the scope of ankle rehabilitation.

By analyzing the influence of plantar dorsiflexion on the related muscles and the changing trend of joint force under the three kinds of rehabilitation trajectory, it was concluded that the biological response of muscles to different rehabilitation trajectories changes, so the ankle joint rehabilitation must be targeted. On the basis of biomechanical simulation, by considering muscle force and joint force, and comparing study of different rehabilitation trajectories and rehabilitation angles comprehensively, it can be found that in the state of plantar flexion, the muscle force of lower limbs and the joint force of ankle joint were both high. On the contrary, in the dorsiflexion state, the change trend was also completely opposite to that in the dorsiflexion state, and the difference between the peak value and valley value reached 550 N. Moreover, with increase of the plantar dorsiflexion angle, the peak value and valley value appeared at the same time point, and the change trend of the curve was roughly the same, indicating that the ankle rehabilitation robot had a periodic rehabilitation law. In addition, when performing rehabilitation on the sagittal plane of the ankle joint, the angle during the plantar flexion process should be controlled so that the muscle force that the muscles can withstand did not exceed the threshold.

The correlation coefficient between plantar dorsiflexion and compound motion reached 0.99, indicating that joint motion under compound motion was mainly affected by plantar dorsiflexion. In the first half of the cycle, varus and valgus can reduce joint force while in the second half of the cycle, varus and valgus can increase joint force, and the rehabilitation angle of compound sports can be adjusted by adjusting the angle of varus and valgus. During the rehabilitation process, the maximum muscle activation did not exceed 60% for avoiding secondary muscle injure. When performing rehabilitation exercises in the early stage of rehabilitation, the physician should combine the patient’s own condition and related rehabilitation effects to gradually increase the rehabilitation angle. At the same time, the patient must choose the corresponding rehabilitation trajectory and perform targeted rehabilitation exercises to strengthen muscles.

Compared with the rehabilitation analysis of other ankle rehabilitation robots, it has formed a systematic evaluation process. Through modeling and analysis of different rehabilitation trajectories and rehabilitation angles, the changes of muscle force and joint force of related muscles were obtained, and the changes of parameters were considered for both. The impact of secondary injuries in the rehabilitation process, to a certain extent, has been avoided, with comprehensive consideration of the rehabilitation effect in the process of lower limb rehabilitation and corresponding recommendations for early rehabilitation and rehabilitation strategies.

5 Conclusion

For the current research on ankle joint rehabilitation robots, most of them focus on mechanism design, and lack of research on the biomechanical response of lower limb muscles. Using the designed 2-UPS/RR parallel ankle joint rehabilitation robot, the man–machine coupling model is established through AMS and the rehabilitation is analyzed. The influence of the parameters on the muscle force and joint force of the lower limbs and the following results are obtained.

  1. (1)

    The designed 2-UPS/RR ankle joint rehabilitation robot is analyzed by inverse solution. According to closed-loop vector method, the inverse kinematics solution of the link length is obtained. When the structure parameters and mechanism are known, the rotation angle of the shaft can get the displacement of each push rod. Thus, the mechanism can meet the basic requirements of ankle joint rehabilitation.

  2. (2)

    Through the inverse kinematics analysis module of AMS, the variation rule of main leg muscles with metatarsal dorsal flexion angle is revealed. The simulation results show that different muscles have different sensitivities to the change of rehabilitation angle. During rehabilitation, the rehabilitation trajectory must be planned according to actual conditions.

  3. (3)

    The mechanical model of the ankle joint was established and the variation laws of the ankle joint force under the three rehabilitation trajectories were compared and analyzed. Through the comparison and correlation analysis of the joint force, it can be shown that the composite movement can achieve the effects of metatarsal dorsal flexion and valgus at the same time, and the angle of both can be adjusted to achieve the desired rehabilitation effect.

The analysis results show that the human–machine coupling model of 2-UPS/RR ankle rehabilitation robot has potential use in formulating rehabilitation strategies and planning rehabilitation trajectory, which contribute to rehabilitation and treatment of joint diseases, and provide more reasonable suggestions for early rehabilitation.