Abstract

In order to improve the effect of tennis intelligent teaching, this paper combines the human skeleton node model to construct a tennis intelligent teaching model. Aiming at the fact that there are errors in model identification and positional disturbances such as friction which cannot be avoided in actual tennis teaching, an effective sliding mode control strategy based on disturbance observer is presented. Moreover, this paper builds a simulation model through MATLAB/Simulink to verify the influence of the three parameters of inertia, damping, and stiffness in the admittance model on the control performance. Then, this paper combines the admittance control theory to analyze the difference between the active mode and the passive mode and the main functions of the two control modes and constructs an intelligent simulation system. The experimental study shows that the tennis intelligent teaching model based on the human skeleton node model has good effects in tennis action correction and tennis-teaching effect improvement.

1. Introduction

The current tennis classroom teaching focuses on application, understanding, and memory. The future classroom teaching should be innovative, challenging, and advanced. The athletic ability and sports foundation of the students in the tennis option course are uneven. Most boys have stronger athletic ability while girls are slightly weaker. Therefore, it is recommended that teachers carry out more personalized and innovative teaching methods and grasp the differentiated characteristics of students’ athletic ability to carry out teaching in accordance with their aptitude. Teachers can use hierarchical teaching methods, heuristic teaching methods, problem-oriented teaching methods, etc. to improve the bilateral roles of teachers and students in traditional tennis teaching. At the same time, teachers can establish a student-centered teaching method, which fully reflects the main body status of students and cultivates students’ thinking ability. At the same time, teachers can use the convenient functions of modern educational information technology to carry out mixed tennis teaching, by combining various teaching platforms or teaching software. By allowing students to watch tennis technology videos online, more intuitive teaching can be achieved, so that students can more thoroughly understand the principles of action learning and more firmly grasp the learned knowledge.

Active learning and passive learning of tennis techniques have very different learning outcomes. Passive learning mainly imitates the basic skills of tennis through the teacher’s explanation and demonstration and cannot make the students understand the principle of action technology very clearly. Active learning is mainly through the method of self-learning and then taught by teachers in the process of self-learning before and after class. In this learning process, students can more thoroughly understand the principles of tennis action techniques, and it is easier to grasp the key points and difficulties of teaching. There is also greater clarity on the fallibility of tennis action technique. Therefore, it is necessary to transform students learning through traditional teaching; to a certain extent, it can cultivate students’ life-long sports-learning ability and lay a foundation for students’ life-long sports activities. At present, more than 1/3 of colleges and universities in my country have set up tennis elective courses. More than a quarter of colleges and universities offer tennis sports options. Tennis has played an active role in promoting college students’ physical health, developing lifelong physical exercise habits, and cultivating sportsmanship. However, in the practice of tennis teaching and research in colleges and universities, it is found that the vast majority of students think that tennis is difficult and cannot persist for a long time after learning. The fundamental reason is that, on the one hand, compared with small ball sports such as table tennis and badminton, tennis has the characteristics of being difficult to get started and slow to learn. With regard to the teaching method, the practice content is single, the practice method is boring, and the organization method is dominated by teachers, which do not mobilize the autonomy and enthusiasm of the students and do not give full play to the creativity and initiative of the students. Therefore, in order to further promote the teaching of tennis sports optional courses in colleges and universities, help college students to master tennis skills, and lay a good foundation for better development of tennis in the future, this paper studies the tennis-teaching methods in colleges and universities and provides a useful reference for the teaching of tennis teachers in colleges and universities.

Based on the above analysis, intelligent tennis teaching can solve most of the problems existing in the current methods of tennis teaching. Therefore, this paper combines the human skeleton node model to construct a tennis intelligent teaching model to improve the effect of tennis intelligent teaching and further improve the quality of tennis teaching.

Accurate skeleton information can also be used as important spatial literature information for bone skinning in the subsequent process of automatic character modeling, improving the accuracy of deformation drive establishment between bones and model skin. At the same time, skeletons that conform to the laws of human kinematics are also in the process of motion data loading. The basic requirements of the model can make the model fit well the motion data obtained by motion extraction and retain to the greatest extent the characteristics of the original motion collected. Therefore, how to extract accurate skeleton data from the three-dimensional human body model and meet the requirements of motion data attachment is an important part of completing automatic character modeling [1].

The curve bones of a model often have hundreds of nodes, so the whole looks like a curve. However, to apply bones to motion rigs, you do not need so many points. Therefore, it is one of the keys to extract joint bones from curvilinear bones by downsampling the curvilinear bones and extracting a smaller number of joint point sets suitable for bone binding and motion data loading [2]. Downsampling is a multirate digital signal processing technique or the process of reducing the sampling rate of a signal, usually used to reduce the data transmission rate or data size. In the processing of curvilinear bones, the definition of downsampling is extended to process curvilinear bones, while reducing the number of nodes of curvilinear bones, while ensuring that key information is not lost [3]. The downsampling of curved bones mainly extracts the points containing important features in the bones. Among them, the connection point and the end point are the important point sets that can reflect the characteristics of the model. For all points in the model curve skeleton, they are classified according to how many nodes the node has a connection relationship with. The number 1 is the end point, the number 2 is the ordinary point, and the number more than 3 is the connection point. Taking the human body as an example, the joint points of the end of the hand, the end of the foot, and the head are the end points, and the neck joint and the hip joint are the connection points [4].

Software such as Kinect and Maya have their own standards, and in the face of different model types, the standard changes may also be quite large. After completing the curve skeleton extraction, the specific requirements of the key skeleton nodes that are sampled and retained are different in different application scenarios and model types [5]. In the literature [6], the method of topology refinement is used to gradually converge the surface of the model mesh; shrinking to the limit, the surface is concentrated near the expected skeleton node, and the center point in the tangential field is sampled and connected to obtain the model skeleton. This method has strong applicability and can obtain skeletons for any type of model, but the number of nodes and topology in the obtained skeleton will be affected by the shrinking process of the surface structure of the model, and the number and topology of nodes are random and redundant nodes are too many. In [7], a method is proposed to use the geodesic distance as a processing function to construct the Reeb graph of the model. This method does not complete the downsampling extraction of the joint points of the model but only completes the segmentation of the model and obtains rough end points. It is used as the limb node of the character model, and it lacks the supplementary nodes required for the flexible movement of the three-dimensional character. In the literature [8], the curved bones extracted by the method based on distance transformation are affected by the changes of the surface of the model. When the surface features of the model are more complex, the connectivity of the curves is poor, so the connectivity of the obtained skeleton will also be poor. Only after calculating to connect the obtained skeleton can the key skeleton nodes be obtained by sampling. Literature [9] uses the Voronoi diagram to obtain the result of the model axis, which needs to be pruned; the complexity of the algorithm is relatively high; and it is difficult to downsample to a simple linear skeleton structure.

At present, the research methods of human gesture recognition mainly include statistical-based algorithms [10] and grammar-based algorithms (Finite State Machine (FSM), Context-Free Text (CFG)) [11]. Among the algorithms for human pose research, template matching has better recognition accuracy and robustness than other algorithms, but the establishment of the model requires a large amount of data and the calculation of features is complex [12]. Literature [13] proposed a static 3D gesture recognition based on Kinect skeleton data. By obtaining the hand angle feature vector to determine the posture template to be measured, the posture to be measured and the posture template are optimally matched. Due to the persistence of the behavior time interval and the image and due to the influence of noise, each frame of image cannot be detected and recognized in real time. Literature [14] proposed a real-time multiperson human pose recognition based on the similarity of parts. The algorithm adopts a bottom-up approach. First, the key points of the human body are detected, and then, a vector field is established to infer the key parts and connect them. Finally, the deep-learning network structure is used to construct a feature image set for attitude prediction; however, this algorithm has certain limitations, only considering the position information of the key points of the limbs and ignoring the invariance of rotation and scale, so the attitude can only be performed in the local area to predict connections. Literature [15] proposes a Kinect gesture control robot based on the convolutional neural network and FastDTW, which extracts and processes the joint information of each frame of the captured image from the Kinect, establishes the derived images of all frames of gesture actions, and uses joint training and personal training performed with convolutional neural network (CNN) training, and finally, the mobile robot system is added to the trained system to control the movement of the robot according to the classification results of the pose algorithm. Literature [16] proposed the recognition of moving human behavior based on video stream, using the interframe difference method and the improved CV model algorithm to segment the moving human body, detecting the contour curve of the moving object, classifying the segmented contour with weighted motion string, and constructing the action string. Different weights are given to different poses at different times, and finally, the abnormal behavior of global motion information and local feature information is identified.

3. Human Skeleton Point Intelligent Model

We consider a second-order system as follows:

Among them, are unknown nonlinear functions. The sliding mode control is used to design a control rate so that the system represented by (1) moves on the surface . The choice of can control the convergence speed of the system as tends to 0 when time tends to infinity.

The main design problem is how to switch the trajectory to the curve and keep it. Differentiating the curve, we can get

If there is some known function such that the following inequality holds

We choose the Lyapunov function and derive it to get

We take

Among them, . Then, there is

Therefore, the motion trajectory of the controlled object can reach the curve in a limited time. Moreover, it can be seen from (6) that the motion trajectory will not leave once it reaches the curve. A typical phase diagram under the sliding mode control is shown in Figure 1.

In the actual process, it is difficult to realize the high-performance position tracking control of the robot due to the existence of external disturbances. The disturbance observer is an effective solution, and the disturbance observer based on the following model is discussed.

The unknown external disturbance existing in the two-degree-of-freedom lower-limb exoskeleton system can be collectively expressed as . Then, after considering the disturbance, formula (7) can be expressed as

That is,

The basic idea of the disturbance observer is to compare the difference between the actual output and the estimated output of the system and use this difference to make real-time corrections to the system estimate.

Among them, represents the observation of the disturbance. In the actual process, it is generally impossible to know the prior information of the differential of the interference term, but the change of the interference is often slow, and it can be assumed that the differential term is 0, that is,

The observation error is

That is,

In the actual process, since it is difficult to obtain an accurate acceleration signal by differentiating the speed signal of the robot, the observer shown in (10) cannot achieve the predetermined effect in practical engineering. It is necessary to design a more practical nonlinear disturbance observer.

The auxiliary vector is

Among them, , and the nonlinear vector is the function vector to be designed. Differentiating the above equation, we can get

in formula (10) is given by

We obtain

Bringing (10) into (17), we get

Bringing (14) into (18), we get

To sum up, the nonlinear disturbance observer that does not need the acceleration information of the disturbance signal can be designed in the following form:

Bringing (15), (16), and (20) into (13), we get

Therefore, we get

That is,

Therefore, the observation error can be exponentially approached to 0 by designing the function .

For the following two-degree-of-freedom lower-limb exoskeleton Lagrange dynamic model,

Among them, , , and represent the inertia matrix, Coriolis matrix, and gravity matrix, respectively, and their values can be obtained by the model identification method described in Section 3. is the control torque, and is the unknown disturbance.

is the expected command signal of the exoskeleton joint, is the error signal, and the designed sliding surface is

Among them, . The following Lyapunov functions are chosen:

Derivating the above formula, we can get

Differentiating (25) and bringing it into (27), we get

The control rate is

Among them, represent the nominal value of , , and , respectively, which can be regarded as the identified data in practical engineering. , , and represent the actual physical parameters of the controlled object, and there will be a certain error between the nominal value and the actual value, which is taken as . represents the nominal value of unmodeled disturbances such as friction, which is taken as and which is generally not available in practice and can be resolved by disturbance observers, which will be discussed below.

Bringing (29) into (28), we get

Among them, , and if we take

Then, (31) can be guaranteed to be less than or equal to 0.

The following is a nonlinear disturbance observer for the two-degree-of-freedom lower-extremity exoskeleton described in (24) to estimate the unmodeled disturbance . The inertia matrix of the two-degree-of-freedom lower-extremity exoskeleton can be written in the following form:

Among them, is the inertial parameter of the exoskeleton, which is related to the physical parameters of the mechanical mechanism, motor, and load. When the function in the observer (20) is taken as

Among them, is the maximum velocity of the knee joint, at which time the observer (20) is globally asymptotically stable. The detailed derivation process is given below.

According to formula (33), it can be known that

From formula (16), we can get

According to the structural characteristics of the exoskeleton, it can be known that the inertia matrix is positive definite and invertible. Therefore, by (35), we get

According to the theory of matrix decomposition, we can get

Among them,

Then, we can get

Therefore, (36) can be written as

The Lyapunov function is

Differentiating the above formula, we get

Through combining (23), we can get

According to the definition of , we can get

By combining (40), (43), and (44), we get

In order to ensure that the differential of the designed Lyapunov function is negative, it is necessary to ensure that the second term of the above formula is positive definite. From the judgment condition of the negative definite matrix, it can be known that the main subforms of each order of the matrix should be positive; that is, they should satisfy

From the inequality equations of (46), we can get

Among them, represents the maximum value of the knee joint velocity, which can guarantee (45) negative definiteness, and the designed disturbance observer is globally asymptotically stable.

Based on the above discussion, for the two-degree-of-freedom lower-extremity exoskeleton represented by (24), it can be driven by the control rate shown in equation (29). The unknown disturbance in the formula can be observed and estimated by the disturbance observers (20) and (33).

In order to verify the effect of the above-mentioned adaptive synovial controller, a simulation model was built using MATLAB/Simulink for numerical simulation verification. The two-degree-of-freedom lower-limb exoskeleton represented by (24) is driven using the control rate shown in formula (29). The unknown disturbance in formula (29) is estimated by the disturbance observers (20) and (33).

The specific parameters are set as follows. (24) can be expressed in the form of (28), where , and

Г takes the value according to (31), and it can be seen from the calculation that is 3000 in (33) to satisfy condition (47). For the convenience of simulation verification, the disturbance is assumed to be the simplified friction model, namely,

where . The expected trajectories of the hip and knee joints are taken as , respectively.

The simulation results are shown below. Figure 2 shows the observation effects of the disturbance observers (20) and (33). It can be clearly seen from the figure that the results of the observer are basically consistent with the actual interference, which proves the effectiveness of the proposed interference observer.

Figure 3 shows the corresponding relationship between joint friction and joint velocity, where the abscissa represents the angular velocity of the joint, and the ordinate represents the friction torque received by the joint. It can be seen from the figure that the frictional force on the hip joint is greater than that on the knee joint, and the direction of the frictional force changes back and forth near the speed zero of the two joints, which is in line with the actual law.

Figure 4 shows the angle following of the hip and knee joints of the 2DOF lower-limb exoskeleton driven by the disturbance observer-based sliding mode controller. It can be clearly seen from the figure that under the action of the given controller, the actual angle of the exoskeleton is basically the same as the expected angle, despite the difference between the nominal model and the actual model, as well as frictional disturbances. Among them, the error of the hip joint is within 1 degree, and the error of the knee joint is within 0.1 degree, which achieves a good follow-up effect.

Through numerical simulation experiments, the effectiveness of the proposed sliding mode control based on disturbance observer is effectively verified.

The concepts of impedance and admittance originate from circuit theory, where voltage is usually referred to as a potential variable and current is referred to as a flow variable. The ratio of the potential variable to the flow variable is defined as the impedance, and the ratio of the flow variable to the potential variable is defined as the admittance. Considering that the dynamics of a mechanical system can often be described by Newton’s second law, viscosity law, and Hooke’s law, Hogan defines the impedance model of a mechanical system as the following forms of mass, spring, and damping:

Among them, the first item on the left describes the relationship between acceleration and force, which is represented by the inertia matrix . The second term describes the relationship between velocity and force, which is characterized by the damping matrix , and the third term describes the relationship between the position and force, which is characterized by the stiffness matrix . represents the difference between the desired trajectory of the joint and the reference trajectory:

The transfer function of the impedance model can be obtained by calculating the Laplace transform of formula (50) as

The natural frequency of the system is , and the damping ratio is .

By adjusting the impedance parameters , , and , the robot can have different interaction performance with the environment. The impedance controller generally needs to be used in conjunction with the force tracker; that is, the torque tracking control of the joint needs to be realized before the impedance control can be used. Impedance control is generally used in contact-type applications such as welding and painting. The control block diagram of the impedance control is shown in Figure 5.

The controlled object in the admittance control is a position-controlled exoskeleton system. The exoskeleton system accepts force control information and outputs position information, which is characterized by mechanical impedance. The admittance controller and the impedance controller are dual, the input is the force information, and the output is the position information. According to formula (52), the transfer function of the admittance controller can be obtained:

Among them, represents the output of the admittance controller, which is used to correct the reference trajectory to obtain the real desired trajectory of the position controller. The control block diagram of the admittance control is shown in Figure 6.

The most basic purpose of using the admittance controller is to achieve the effect of man-machine following, so the input force information of the admittance controller is the interaction force between man and machine. The interactive force information can be obtained by three-dimensional force sensors installed on the exoskeleton. The size of the trajectory correction output by the admittance model depends on the choice of admittance parameters and the magnitude of the interaction force between the human and the machine, which reflects the movement intention of the human body. Therefore, the compliant interaction between humans and machines can be achieved by selecting appropriate admittance parameters. It can be seen from Figure 6 that the admittance controller needs to be used in conjunction with the position tracker; that is, the position tracking control of the joint needs to be realized before the admittance control can be used. In addition, existing experience shows that the performance of the underlying positioner largely determines the performance and stability of the admittance control.

In order to study the influence of the admittance parameters , , and on the control performance of the system, the simulation experiments are carried out for exploration. Since the exoskeleton is a human-machine integrated device, in order to fully describe the human-machine interaction performance of the entire system, the participation of the human body is required. However, the actual human dynamics modeling is very complicated. In order to not lose generality, a light spring is used to characterize the dynamic interaction performance of human muscles. The underlying position controller adopts the backstepping controller described in Section 2. In order to be closer to the actual situation, the reference trajectory is set within the constraints, and the exoskeleton dynamics model is selected. The effects of inertia, damping, and stiffness on the control performance of the system are studied by the control variable method. The control block diagram of the entire simulation is shown in Figure 7.

Taking the knee joint as an example, the influence of three admittance parameters on the human-computer interaction force is analyzed. The simulation results are shown in Figures 810. It can be seen from Figure 8 that the stiffness coefficient reflects the degree of adaptation of the exoskeleton to the environment. The greater the stiffness, the smaller the trajectory adjustment amount, but the longer the corresponding adjustment time. The stiffness coefficient reflects the “bounce” property of the exoskeleton. The greater the stiffness, the stronger the mechanical sense of the exoskeleton. The stiffness is small, and the flexibility of the exoskeleton is strong, indicating that the exoskeleton is easily dragged by the environment at this time. It can be seen from Figure 9 that the damping coefficient reflects the adaptation speed of the exoskeleton to the environment. The larger the damping coefficient, the longer the adjustment time and the more energy the system needs to consume. The damping coefficient reflects the characteristics of the “stickiness” of the exoskeleton. The larger the damping, the greater the damping force of the exoskeleton when the speed is fast. The smaller the damping, the smaller the damping effect when the exoskeleton is moving. It can be seen from Figure 10 that the inertia coefficient reflects the “heavy or not heavy” characteristics of the exoskeleton. The larger the inertia coefficient, the more torque needs to be continuously applied in the initial stage to change the state, and a longer adjustment time is required after the state changes. The smaller the inertia coefficient, the easier it is to change the state of the exoskeleton. However, according to formula (52), the change of the inertia coefficient will lead to a drastic change of the natural frequency and damping ratio, so it is not recommended to incorporate the inertia coefficient into the adjustable admittance parameters in the actual admittance control.

In the simplified schematic diagram of human-machine coupling shown in Figure 11, it can be seen that the human exoskeleton is bound together by flexible straps. Under passive control, the residual muscle strength of the affected limb and the driving force of the exoskeleton act together to drive the human body and the exoskeleton to move.

The motion intention of directly reacting with the human-computer interaction force is not reasonable enough, and the following modified admittance model can be considered, and (50) and (51) are revised and rewritten as follows:

Among them, represents the desired trajectory of the exoskeleton, that is, the input signal of the position controller, and represents the coefficient of the human-computer interaction torque; that is, the modified interaction torque is used to represent the human intention. represents the reference trajectory, that is, the reference trajectory that can be dynamically designed by the medical staff according to the tennis-teaching situation.

In order to simplify the dynamic model of human muscles and simulate the actual interaction force in the simulation, as shown in Figure 10, without loss of generality, the dynamic interaction between the human body and the exoskeleton is expressed in the form of a spring damper.

Among them, represents the human-computer interaction torque, which can be measured by the three-dimensional force sensor in practice; represents the human body angle; and represents the angle information of the exoskeleton, which can be measured by the encoder in practice. is the spring stiffness coefficient, and is the damping coefficient.

4. Intelligent Teaching of Tennis Based on Human Skeleton Node Model

After processing the region-growing algorithm, the global foreground image of the tennis player is obtained. The athlete-centered background color removal is shown in Figure 12(a). In order to build the PSO-SVM tennis-training model, first, we need to extract the training set and test set from the obtained raw data. Then, we carry out a certain data analysis and preprocessing, use the training set to train the PSO-SVM network, and finally use the obtained model to test and analyze the test data. The flowchart is shown in Figure 12(b).

On the basis of the above research, an experiment is designed to test the model in this paper, and the tennis action correction effect and tennis-teaching effect of the tennis intelligent teaching model based on the human skeleton node model are, respectively, verified, and the results shown in Tables 1 and 2 are obtained.

From the above experimental research, it can be seen that the tennis intelligent teaching model based on the human skeleton node model has good effects in tennis action correction and tennis-teaching effect improvement.

5. Conclusion

The teaching goal of tennis option courses in colleges and universities is generally to let students learn and master certain basic theoretical knowledge of tennis and learn basic tennis-refereeing methods and game rules through tennis teaching. Moreover, it hopes that students can master basic physical exercise methods, improve health, and enhance physical fitness through the study of tennis techniques and tactics. At present, traditional teaching methods are mostly used in the teaching of tennis optional courses in colleges and universities; that is, through the explanation and demonstration of tennis technical movements by teachers, students follow the teaching process of teachers to perform collective imitation exercises. In this teaching process, teachers are the main body of teaching activities, and students are in a state of passively receiving knowledge. Under the background of talent training in the new era, the reform of tennis-teaching methods in colleges and universities is imminent. In this paper, the construction of a tennis intelligent teaching model is combined with the human skeleton node model. The experimental research results show that the tennis intelligent teaching model based on the human skeletal node model has good effects in tennis action correction and tennis-teaching effect improvement.

Data Availability

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

Conflicts of Interest

The authors declare no competing interests.