Abstract

In the research and development of intelligent prosthesis, some of performance test experiments are required. In order to provide an ideal experimental platform for the performance test of intelligent prosthesis, a heterogeneous biped walking robot model is proposed. Artificial leg is an important part of heterogeneous biped walking robot, and its main function is to simulate the disabled a healthy normal gait, which provides intelligent bionic legs gait to follow the target trajectory. The pneumatic artificial muscles (PAM) have good application in the artificial leg. The bionic design of artificial leg mainly includes the structure of hip joint, knee joint, and ankle joint, adopting the four-bar mechanism as the mechanical structure of the knee joint, and PAM are used as the driving source of the knee joint. Secondly, the PAM performance test platform is built to establish the relationship among output force, shrinkage rate, and input pressure under the measured isobaric conditions, and the mathematical model of PAM is established. Finally, the virtual prototype technology is used to build a joint simulation platform, and PID control algorithm is used for verification simulation. The results show that the artificial leg can follow the target trajectory.

1. Introduction

In order to provide convenience for lower limb amputees, intelligent prosthetics are used to replace disabled limbs in the field of biological rehabilitation, and the development and research of intelligent prosthetics require ideal artificial legs [1]. Most two-legged robots use direct-current (DC) servo motors as driving devices, and some also use pneumatic and hydraulic devices. Although the position accuracy of hydraulic device driving can be guaranteed, its stiffness is large, and leakage and pollution may occur. Pneumatic device drive is mainly used for joint position control, and the requirement of sealing cylinder is high. As a new type of pneumatic component, PAM has the advantages of simple structure, good flexibility, large output force, light weight, and similar mechanical properties to biological muscle [2]. Therefore, pneumatic artificial muscle is adopted as the driving device of the knee joint, combining the research of humanoid robot and intelligent prosthesis to study the artificial leg in the walking robot mode of heterogeneous legs [3] and make it simulate the gait of healthy legs of disabled people.

Chou and Hannaford studied the PAM in detail from the biological point of view [4, 5]. According to the principle of energy conservation, the static mathematical model of the pneumatic artificial muscle was inferred, and its static characteristics were tested. Van Damme et al. proposed a Preisach-based model to describe hysteresis in pleated PAM [6]. Zhong found that the parameters of Bouc-Wen model were optimized, and their relationships with pressure applied to PAM are discussed. Wang et al. proposed a cascade control strategy based on robust modeling for simple and efficient trajectory tracking control of a bionic joint driven by a single PAM [7, 8].

La Rosa et al. formed a single chain by inhibitive chemical synapse in modified version of the Hindmarsh–Rose model and discussed its shift in slow-regular oscillation and chaotic oscillation [9]. Neural network- (NN-) based modeling is the most common type. It has many advantages, such as large-scale parallel processing, the distributed storage of knowledge, and a strong self-learning capability. Since the NN technique does not require any prior knowledge of a model of the process, it is widely used in industry to estimate process variables in real time for monitoring and control [10]. Jiang et al. proposed a humanoid lower limb in the form of a parallel mechanism where the muscle was unevenly distributed by PAM [11]. Liu et al. proposed a bionic shoulder joint robot with a spherical hinge which was driven by a group of PAM [12].

To make an artificial leg have good flexibility and gait than human, an improved artificial leg is developed in this paper. In summary, this paper designs the mechanical system of an artificial leg, establishing the experimental platform of PAM and carrying out mathematical modeling. Besides, simulation of virtual prototype of artificial leg is verified, and conclusion is drawn through experimental research.

2. Structural Design and Model Establishment

2.1. Mechanical System Design of Artificial Legs

Aiming at the overall structure design of artificial leg, it uses PAM as the driving device of the knee joint and DC servo motor as the driving device of the hip and ankle joint. Simplified artificial leg structure model includes hip joint, knee joint, and ankle joint, each of which has one degree of freedom. The four-bar knee joint mechanism has many advantages [13]. The PAM drive can achieve flexion and extension. Figure 1 is a three-dimensional model of the knee joint. The hip joint controls the swing angle of the thigh bar through a harmonic reducer. The ankle joint is driven by a harmonic gear reducer and common spur gears to realize back bending and toe bending.

The driving mode is a sprocket type. As shown in Figure 2(a), the original and antagonist muscles are connected by chains through sprockets. The original muscle generates the motive force, the antagonist muscle generates the antagonistic force, and the chain drives the sprocket to rotate, so the joint can complete the stretching and flexing action. The output torque of this driving mode is larger, and the knee joint can meet the needs of the range of motion under load.

Considering the structure size of humanoid robot and the required moment of each joint, PAM of the model produced by FESTO is FESTO-MAS-20-200N-AA-MC. The installation position is shown in Figure 2(b). Both PAM are tilted, and the wrap angle of sprockets is more than 120°. The virtual prototype of the overall structure of the artificial leg is shown in Figure 3.

Figure 4 is the control system diagram of the artificial leg. The motion control card is connected with a computer through the ISA interface, and a DC servo motor is controlled by the PAMC motor driving amplifier, so as to control the motion of the hip and ankle joint. The motion control card controls the pneumatic artificial muscle inflation pressure by controlling the pressure proportional valve through the electric signal, so as to control the motion of the knee joint. During the movement of the artificial leg, the feedback information of the encoder and potentiometer is connected with the industrial computer through D/A.

2.2. Construction of PAM Experimental Platform and Performance Test

The static characteristic test scheme of PAM is shown in Figure 5. It is mainly composed of stepping motor, pressure proportional valve, displacement sensor, pressure sensor, tension sensor, data acquisition instrument, etc. The length of the PAM is precisely controlled by controlling the rotation of the stepping motor and using the ball screw. The pressure proportional valve controls the inflatable pressure of the pneumatic artificial muscle. Displacement sensor, pressure sensor, and tension sensor are used to measure the contraction internal pressure and output force of pneumatic artificial muscle during the experiment, respectively. The output signal is displayed by the data acquisition instrument. Figure 6 shows the actual experiment.

The mathematical model of PAM is established by means of experimental modeling. The isobaric characteristic experiment is to study the relationship between the output force and contraction rate of pneumatic artificial muscle under different pressures by loading it with the stepping motor under the condition that the input pressure of the pneumatic artificial muscle remains constant.

In the isostatic characteristic experiment, the pneumatic artificial muscle is placed horizontally. One end is connected with the tension sensor to measure the output force of the pneumatic artificial muscle during the experiment. The other end is connected with the stepping motor to apply the external force to the pneumatic artificial muscle. During the experiment, at first, the output pressure of the pressure proportional valve is adjusted so that the internal pressure of the pneumatic artificial muscle reaches the set value and remains fixed. At this time, the pneumatic artificial muscle is in the maximum contraction state. Secondly, the stepping motor sends a pulse signal to rotate, and the angular displacement is converted into linear displacement by the ball screw, and the pneumatic artificial muscle contracted by the inflation is gradually extended under the action of the external load. Then, stop the rotation of the stepper motor at the original length. Then, change the direction of rotation of the stepper motor so that the pneumatic artificial muscle gradually returns to the maximum contraction state, completing a work cycle. The tension sensor and the displacement sensor, respectively, measure the output force and length change of the pneumatic artificial muscle during the experiment, and data are recorded separately after the system is stable. Finally, the inflation pressure of the pneumatic artificial muscle is changed, and the above experimental process is repeated, and the isostatic characteristic experiment of the pneumatic artificial muscle under different pressures can be completed, thereby obtaining the contractile force and shrinkage of the PAM under different pressures.

From Figure 7, it can be seen that the internal friction of pneumatic muscle has little change under different inflating pressures. If the inflatable pressure of pneumatic artificial muscle is regarded as the activation level of biological muscle, the characteristic curve between contractile force and shrinkage of pneumatic artificial muscle is similar to biological muscle.

2.3. Mathematical Modeling of Pneumatic Artificial Muscle

The static model of pneumatic artificial muscle is identified by the isobaric characteristic experiment. Considering the elastic deformation of the rubber tube and the influence of friction force between the net and rubber layer on the mathematical model of pneumatic artificial muscle, the mathematical model of pneumatic artificial muscle was established by using formulae (1) and (2) by parameter identification [14].where , , r0 is initial radius of pneumatic artificial muscle, p is relative pressure in pneumatic artificial muscle inner cavity, ε is contraction rate of pneumatic artificial muscle, L0 is initial length of pneumatic artificial muscle, θ0 is initial angle of pneumatic artificial muscle, t is wall thickness of rubber tube for pneumatic artificial muscle, and E is the elastic modulus of pneumatic artificial muscle rubber tube. Assuming that the PAM is always an ideal cylinder, but in practical application, the end of the pneumatic artificial muscle will be hemispherical after inflating. The larger the contraction rate of the PAM, the smaller the effective contraction part will be, and ultimately the actual maximum contraction rate will be less than the theoretical value. To solve this problem, the physical contraction rate is converted to the effective contraction rate of the pneumatic artificial muscle by the parameter k1. The static friction between the rubber and braided layer and fibers is not taken into account in the theoretical formula, but it is modified by parameter k2. Considering that the abovementioned parameters will inevitably produce some errors in the theoretical formula correction, which will affect the output force of the pneumatic artificial muscle, the factors are compensated by the parameter k0.

The least squares method is used to identify the parameters of the pneumatic artificial muscle. The estimated values of the parameters of the pneumatic artificial muscle during contraction and extension are obtained in Tables 1 and 2.

The identified parameters are brought into the modified model. The mathematical model of the pneumatic artificial muscle during contraction and extension is obtained. The comparison with the theoretical model is made, as shown in Figure 8, when .

The modified mathematical model of the pneumatic artificial muscle can accurately reflect the static characteristics when . In practical application, many structural parameters of the pneumatic artificial muscle are difficult to accurately measure. Therefore, the establishment of a simpler mathematical model to replace the complex modified model will be conducive for the control of pneumatic artificial muscle.

In the experiment of isobaric characteristic, considering the nonlinearity of the output force and displacement of pneumatic artificial muscle under constant pressure, the fitting function of the mathematical model of pneumatic artificial muscle is presented as follows:where a, b, and c are fitting coefficients, µ is the nonlinear attenuation coefficient describing shrinkage, and μ = 45.

The fitting function of input pressure for a(p), B(p), and C(p) of pneumatic muscle prosthesis under contraction and stretching modes is obtained, as shown in Figure 9. On this basis, the parameter identification results of the two modes are evaluated separately, as shown in Table 3.

Finally, the mathematical model of pneumatic artificial muscle is obtained as follows:Contraction state:Extension state:

The static mathematical model of pneumatic artificial muscle can be rewritten as follows: where

As shown in Figure 10, the mathematical model can accurately reflect the static characteristics of PAM. It is relatively simple and lays a good foundation for control simulation.

3. Experimental Simulation and Result Analysis

3.1. Dynamic Analysis of Driving Joints

Two pneumatic artificial muscles are pulled together to drive the joint by connecting the chain and sprocket with the pneumatic artificial muscle. The principle is shown in Figure 11.

As shown in Figure 11, F1 and F2 are the output forces of flexor and extensor, respectively. R is the force arm of the joint driven by pneumatic artificial muscle, T is the driving moment, J is the inertia of the load, C is the damping of the joint, and θ is the rotation angle of the joint. The dynamic equation of the driving joint is established as follows:

3.2. Dynamic Model of PAM Inflation

Assuming that there is no heat exchange between the pneumatic artificial muscle and the outside during the inflating process, the process can be regarded as an adiabatic inflating process. According to the energy conservation equation of constant gas source to variable volume adiabatic charging, the energy equation of pneumatic artificial muscle charging process can be obtained [15]: where is the mass flow rate of a gas, and unit is kg/s; is the internal pressure of an artificial muscle, and unit is Pa; R is a gas constant, R = 287 N  m/(kg  K); is isentropic index and ; and is gas source temperature.

The mass flow equation of pneumatic artificial muscle during aeration is as follows:where is effective area of pipeline system, is gas source pressure, is gas source temperature, and is critical pressure ratio.

Finally, the dynamic model of the joint driving the artificial muscle is obtained as follows:

3.3. Construction of Virtual Prototyping Joint Simulation Platform

Pro/E, ADAMS, and MATLAB/Simulink are used to build a virtual prototype joint simulation platform for artificial legs, which replace physical model to solve and control simulation. The built three-dimensional model is imported into ADAMS for dynamic analysis. The main models imported in ADAMS are parts, joint, driver, ground, and so on. Each part is connected by a pair of motion pairs. The virtual prototype model of artificial leg imported into ADAMS is shown in Figure 12, and the constraints and driving conditions of each joint are given.

The virtual prototype model of the artificial leg in ADAMS is imported into MATLAB/Simulink, and the corresponding control simulation system block diagram is built based on the PID control algorithm. The joint control simulation of the artificial leg virtual prototype is carried out, and the causes of the error between ideal gait and actual gait are analyzed. Among them, the gait data come from the human knee motion trajectory disclosed by APAS software. The sampling interval is 0.005 s, the simulation time is 0.2 s, and the simulation time interval is 0.005 s.

For the knee joint, the PID control flow is shown in Figure 13. The error between ideal gait data and encoder measurement value is used as feedback signal, and the output pressure of pressure proportional valve is regulated by PID controller to regulate the output force of pneumatic artificial muscle. In practical application, one of the two pneumatic artificial muscles is inflated and contracted, and the other is deflated and stretched, so their output forces are different, which will generate driving moment on the driving shaft of the pneumatic artificial muscles, and use this moment as input of the control module.

In control simulation, the virtual prototype of artificial leg driven by pneumatic artificial muscle is generated into module my_test by ADAMS/controls, and its structure is shown in Figure 14. Control_torque is the driving moment of the knee joint, and angle_1 and angle_2 are the rotation angles of the knee joint. Taking it as the control object, and the system block diagram of control simulation is built by connecting it with other control modules in MATLAB and Simulink.

Based on the PID control algorithm, a block diagram of the control system of the pneumatic artificial muscle-driven artificial leg virtual prototype is built in MATLAB/Simulink, as shown in Figure 15. In the simulation process, the error between ideal gait trajectory and actual gait is used as feedback signal, and the input of the control module is corrected by adjusting the PID controller, which is the inflatable pressure of the pneumatic artificial muscle, and the driving moment of the knee joint is obtained. As the input of the virtual prototype model packaged by ADAMS, the rotation angle of the knee joint is obtained, which is the actual output of the control simulation system.

Using the “trial-and-error” method, the actual output curve and the ideal curve can be well fitted by many times of trial-and-error.

The tracking curve and the tracking error of knee joint as shown in Figure 16. The following steady-state error is relatively small, and the following goal is better achieved.

The causes of errors are as follows:(1)Structural design: in the process of the structural design of the artificial leg and knee joint, although the mechanism has been optimized, it is different from the structure of the human lower limb knee joint(2)Control algorithm: the selection of the main parameters of the PID control algorithm has a great impact on the performance of the control system, and the “trial-and-error” method is bound to have an impact on the results(3)The influence of the nonlinearity and hysteresis of pneumatic artificial muscle on the control system

4. Conclusion

In this paper, the four-bar mechanism is used as the structure design of knee joint, and the structure of the artificial leg is synthetically designed. It is similar to the lower limb joint of the human body, and it can better meet the humanoid requirements of artificial leg. In terms of driving, pneumatic artificial muscles are used as the driving source of the knee joint, thereby avoiding large stiffness and other issues caused by using servo motors or hydraulic devices. An experimental platform for testing the performance of the pneumatic artificial muscle is built, which shows that the characteristic curve of the pneumatic artificial muscle is similar to biological muscle. A more accurate mathematical model is established and compared with experimental data. The results show that it can accurately reflect the static characteristics of the pneumatic artificial muscle, laying the foundation for control simulation. The dynamic analysis of the pneumatic artificial muscle driving joint is carried out, and the mathematical model of the driving joint is established. A joint simulation platform is built, and the virtual prototype of artificial leg is simulated based on the PID control algorithm. The simulation results show that the artificial leg driven by the pneumatic artificial muscle can follow the target trajectory well.

4.1. Limitations

Human lower limbs have six degrees of freedom, which are simplified to three in this paper. Better design of the artificial leg structure is required. The PID control algorithm has poor adaptability to nonlinear and time-varying systems, and better control algorithm is needed for simulation.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This work was supported by the National Natural Science Foundation of China (grant no. 61803272) and the Fundamental Research Funds for the Central Universities of the Ministry of Education of China (grant no. N170313025). The authors are sincerely grateful for the support.