Football is a product in the process of human socialization; it can strengthen the body and enhance the ability of teamwork. The introduction of artificial intelligence into football training is an inevitable trend; this trend must be bound to intensify, but how to apply artificial intelligence to solve the problem of the joint movement estimation method for football players in sports training is still the main difficulty now. The basic principle of football training action pattern recognition is to determine the type of football player’s action by processing and analyzing the movement information obtained by the sensor. Due to the complex movements towards football players and the changeable external environment, there are still many problems with action recognition. Focusing on the detailed classification of different sports modes, this article conducts research on the recognition of the joint movement estimation method for football players in sports training. This paper uses the recognition algorithm based on the multilayer decision tree recognizer to identify the joint movement; the experiment shows that the method used in this paper accurately identified joint movement for football players in sports training.
Football movement pattern recognition is an emerging human-computer interaction method. According to the estimation method, football action pattern estimation can be divided into vision-based estimation technology, tactile-based estimation technology, and sensor-based estimation technology. Among these technologies, vision-based football movement estimation is to complete the classification and estimation of football movement patterns by analyzing the image or video of the active target [
In recent years, the technology of microelectromechanical systems has become more and more mature; their size has become smaller and cheaper; their sensitivity has increased day by day. At present, micromotor systems are widely used in mobile devices, game consoles, and other products, bringing users a brand-new human-computer interaction experience and a superior user experience. In these microelectromechanical systems, inertial measurement units (IMUs) embedded with three-axis gyroscopes and three-dimensional acceleration sensors can simultaneously obtain the angular velocity and acceleration of the measured object in the three-dimensional space, thereby providing rich and comprehensive data source. This provides a powerful data guarantee for sensor-based recognition and recognition of joint actions in football player training.
The main contributions to this paper are summarized as follows. (i) We use the recognition algorithm based on the multilayer decision tree recognizer to identify joint movement. (ii) We use Weka to generate the traditional SVM classifier and the traditional decision tree recognizer.
The rest of the paper is structured as follows. Section
In the 1960s, Kalman first proposed the Kalman filter [
Among them,
Among them,
The Kalman filter algorithm has three assumptions [
Five core equations of the Kalman filter algorithm are given below. These five equations can be divided into time update equations (also called prediction functions) and measurement update equations (also called calibration functions). Among them, the time update equation calculates the a priori estimated value
Time update equations are defined as follows:
State update equations are defined as follows:
The core step of the Kalman filter algorithm is to estimate the current state of the system by combining the predicted value and the measured value: equation (
For example, to estimate the attitude angle of a football player when running in training, the angular velocity sensor device can be used to measure and calculate in real time. But considering the influence of noise and interference on the system, the measured value is not accurate, so the real result cannot be completely dependent on the result collected by the sensor. Since any system state that satisfies the laws of physics should be continuous, the Kalman filter can predict the state at the current moment based on the estimated value of the previous moment. As for whether the result is biased toward the measured value or the estimated value, it is determined by
The variables that affect the results of the Kalman filter mainly include initial state
The state transition matrix describes how the system transitions from the state at time
When the conversion of the system is linear, such as uniformly accelerating motion, at this time, the state transition matrix
When the system transition is uncertain, the motion equation of the moving target is usually unknown, so the state transition matrix cannot be determined. At this time, solving the problem generally requires alternative methods, such as using other prediction algorithms to replace the state transition matrix, such as the tracking Kalman filter method based on gray prediction, or using a combination of Kalman filters of multiple known models for hybrid prediction, such as the interactive multimodel method and so on.
The process excitation noise is the noise component superimposed by the system state variable
For some stable processes, it can be considered that the
The measurement noise covariance is a value related to the instrument and a known condition of the filter. If the value
Due to the complex and changeable experimental environment, the data collected by the sensor inevitably contains missing data and noise components [
The data preprocessing module based on human movement signals mainly includes the following four parts: removing the null value of the original data, data normalization, Kalman filter, and data windowing.
Various movements of football players are continuous in a short period of time. To judge the joint movements of football players in training, it is necessary to judge by analyzing the data signals for a period of time, and it is necessary to perform windowing processing. Generally speaking, the duration of football player joint movement is about 2 s. Therefore, the length of each window in this article is 2 s. A semi-overlapping sliding window method is used to divide the data. The length of each window is 2 seconds. The data of each window processing unit is 40.
The information collected by the sensor module is mainly three-axis acceleration and three-axis angular velocity data information, which can be expressed as
Among them,
Covariance between angular velocity signals: the standard deviation and covariance are defined as follows:
Among them,
The value of the synthetic acceleration of the football player during joint movement in training will continue to change. The point with the largest amplitude within a sliding window is the peak value. The peak value indicates the intensity of the exercise. The larger the peak value, the more intense the exercise. On the contrary, the smaller the amplitude value in a sliding window is the trough, the smaller the trough value can also indicate the stronger the signal strength. The standard deviation represents the degree of signal deviation within a period of time; the covariance represents the relationship between the change of the acceleration signal and the change of the angular velocity signal.
In recent years, pattern recognition has played an increasingly important role in the field of artificial intelligence; many important results have been achieved. Pattern recognition belongs to a kind of cognitive ability. The goal of the decision tree identifier is to supervise learning and to find a set of eigenvector in a given dataset to describe all elements; each element can be represented by a set of mutually exclusive eigenvector [
The essential problem of the decision tree algorithm is to select the eigenvector of the corresponding node and the pruning of the decision tree [
The purpose of the decision tree estimation method is to select the attribute with the largest information gain rate as a set of eigenvector for testing.
In order to prevent the established decision tree and training samples from overfitting and to improve the recognition accuracy and classification accuracy of unknown classes, the decision tree needs to be pruned [
Import 2/3 of the collected data as training samples into the Weka environment, and use the decision tree generated by the decision tree estimation C4.5, and use 1/3 of the data as the sample to be tested to identify and verify its accuracy. The experimental results show that the accuracy rate has reached 95.185%, but the algorithm is more complicated. There are a total of 15 leaf nodes, and many eigenvectors are used repeatedly. The generated decision tree is shown in Figure
Recognizer based on the single decision tree.
In Figure
The energy consumption of the data collection terminal in football joint movement recognition is limited, so it is necessary to reduce the energy consumption of the system, while meeting the energy consumption of the system. The energy consumption of the system mainly needs to consider two aspects: sensor data collection terminal and motion recognition terminal. The energy consumed by the sensor data collection terminal mainly includes the energy consumption of the sensor collecting data, the energy consumption of sending data, and the basic energy consumption. The energy consumed by the first two factors accounts for more than 80%. The energy consumed by the sensor terminal is mainly composed of three aspects: data reception, data processing, and recognition algorithms. Therefore, reducing the transmission and processing of one of the sensors’ data will also reduce the system energy consumption.
Among the eight types of exercise studied in this article, we can divide them into three categories: static, slow movement, and strenuous exercise. The static movement of the football player can be distinguished from any other motion by any feature vector in the acceleration data information or the angular velocity data information. Slow movements mainly include walking, jogging, and juggling; strenuous exercise includes pass, trapping, tackle, and shoot.
Through Weka’s analysis of the corresponding data, it can be obtained that slow action and violent action can be distinguished by the peak and valley value of the synthetic angular velocity and the standard deviation of the synthetic angular velocity. When the standard deviation of the synthetic angular velocity is to distinguish stationary and shooting from other actions, then the trough value of angular velocity is used to distinguish static and jogging, and the recognition rate is 98.44%.
Through the analysis of football player’s movements in training, it is known that the average football player spends more than 70% of the time in static and jogging state during training. If the complexity of these two movement recognition algorithms is reduced and the application of sensor data is reduced, then the energy consumption and complexity of the system will be reduced, so a recognizer algorithm based on a two-layer decision tree is proposed.
The specific implementation steps are as follows. First, extract the data of the gyroscope sensor, find the amplitude value of the synthetic angular velocity, calculate the trough value, peak value, and standard deviation of the synthetic angular velocity amplitude value, and use the first-level decision tree recognizer to identify stationary and walking, including other actions; if it is stationary and walking, the recognition is ended; otherwise, the data of the acceleration sensor is extracted; the acceleration amplitude value is calculated, and the peak value, trough value, standard deviation, and covariance of acceleration and angular velocity are obtained, and the second layer recognition is used in the device performs a second detailed identification.
In order to ensure the accuracy of the system, while reducing the energy consumption of the system, this paper hopes to achieve this by reducing the transmission of acceleration sensor data and the complexity of the system algorithm. Through experimental analysis, the common static and slow walking of the human body can be distinguished by the data characteristics of the angular velocity sensor, and the decision tree recognizer that is easy to move to the portable terminal is used for recognition. Figure
First-level decision tree recognizer.
If the football player is not in static or walking slowly in training, it is difficult to achieve accurate recognition due to the complex movements and only relying on the time-domain characteristic signal of a single acceleration or the time-domain characteristic signal of the angular velocity. Therefore, it is necessary to further extract the data of the acceleration sensor. The feature vectors used in the second round of identification include the peak value of the synthesized acceleration signal, the bottom value of the synthesized acceleration signal, the standard deviation of the synthesized acceleration signal, and the covariance between acceleration and angular velocity. The recognizer used is still easy to implement and complicated. The decision tree recognizer has low and good real-time performance. Figure
Second-level decision tree recognizer.
In Figure
Through the analysis of simulation results, the accuracy of the second-level decision tree’s recognizer is 94.17%. From the two decision trees generated by calculation, it can be seen that the two decision trees have 9 leaf nodes, and the common static and walking states only need to pass the first decision tree and use a gyroscope.
In order to train an effective recognizer, a large amount of different types of joint movement data information is needed, but there is no complete database containing various football player joint movement data information. Therefore, this research needs to collect a large number of different joint movement data information of different experimenters first to train the recognizer and verify the accuracy of the recognizer [
The wearing position of the sensor data collection terminal will directly affect the accuracy of the recognition. For the different wearing positions of the same motion sensor, the collected sensor data will have large differences. The ideal positions for football players to wear motion sensors are feet, waist, chest, etc.
The advantage of wearing the sensor on the joints of football players’ foot is that it is more sensitive to the collection of foot joint movement data and is more sensitive to some movements that use the foot; the disadvantage is that due to the high sensitivity, it will bring more interference information, stability is not very strong, and wearing comfort level is poor.
The sensor module used in this article is the MPU6050 module (including the acceleration sensor and the gyroscope sensor). Before collecting data, the scale of the sensor needs to be set. The ranges of the acceleration sensor and the gyroscope sensor are set to
After collecting a large amount of joint movement data, it is necessary to mine and process the corresponding data. In order to process the data more professionally, this research adopts the special data processing and mining software called Weka [
In order to make better use of the collected sensor data, we use the Waikato Environment for Knowledge Analysis (Waikato Environment for Knowledge Analysis, Weka) software to process and analyze the data. Weka is an open source and free data mining platform based on the JAVA environment. It is a collection of a large number of data mining machine learning methods. This includes a large number of data preprocessing, classification, regression, clustering, association, and other rules.
The main interface of Weka mainly includes six parts, and the six parts also correspond to the corresponding functional modules: Data preprocessing: deal with the noise of the data accordingly Classify: training and testing-related classification methods Cluster: learn clustering from the trained data Correlation: learn related association rules from training data Feature selection: select data-related attributes Visualization: view the association rules of related data
In order to compare the validity and reliability of the recognition algorithm based on the two-layer decision tree recognizer proposed in this paper, we use Weka to generate the traditional SVM classifier [
According to the principle of Bayes classifier implementation, this paper uses 2/3 of the collected sensor data to train the Bayes recognizer [
According to the principle of the recognizer of the support vector machine, 2/3 of the sensor data collected in this study is used to train the recognizer of the support vector machine, and the remaining 1/3 of the sensor data is used to test the accuracy and effect of the generated recognizer. Due to the limited eigenvectors selected by the system and the limited training samples, its recognition accuracy is only 89.38%, which is low for some more complex movements.
The traditional decision tree recognizer and the two-layer decision tree recognizer have been introduced in detail above. The coefficient of the weighted average is the weighted average of the coefficients of each category, and the weight is the proportion of the actual category. By comparing the coefficients of the classifiers, it can be found that the recognition effect based on the two-layer decision tree recognizer is relatively ideal, and it is better than a single simple Bayesian network and support vector machine recognizer; from the complexity of the algorithm and the training time, it can be seen that the former is also far superior to the latter; combined with football players’ exercise habits and algorithms, the former needs to collect less than the latter two, so its system energy consumption will be reduced accordingly.
The research objects used in this paper are 20 young male football players, 2 players in a group, divided into 10 groups, aged between 18 and 26, with heights ranging from 155 cm to 180 cm.
Method: the method of collecting the training set is the same as the method mentioned above. It simulates eight actions of a football player static, walking, jogging, juggling, pass, trapping, tackle, and shoot. Each action needs to be repeated five times to upload the data to the PC. As seen from Table
Recognition rate of joint movement.
Group no. | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
---|---|---|---|---|---|---|---|---|---|---|
Correct identify | 78 | 79 | 79 | 80 | 80 | 80 | 77 | 80 | 79 | 80 |
Unrecognized | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
False positive | 2 | 1 | 0 | 0 | 0 | 0 | 2 | 0 | 1 | 0 |
Recognition rate (%) | 98 | 99 | 99 | 100 | 100 | 100 | 96 | 100 | 99 | 100 |
The verification process is to redo these eight actions on the 20 experimenters to see if there are any false positives.
Compared with other recognizers, the recognition rate of the recognition algorithm based on the multilayer decision tree recognizer proposed in this paper is higher than others, as shown in Figure
Recognition rate of different recognizers.
From experimental results, it can be seen that the false alarm rate (meaning that one action is understood as another action) is low; the highest false alarm rate is the most vigorous tackles and shots, and the false alarms can be turned off directly. Therefore, the system in this study should also follow this principle. In general, the joint movement recognition algorithm for football players in training studied in this paper meets the goals and requirements of the system.
This paper makes an in-depth analysis of the existing pattern recognition system, analyzes the joint movement data of football players in training, and proposes a recognition algorithm based on a multilayer decision tree recognizer. Extract the data firstly, find the amplitude value of the synthetic angular velocity, calculate the peak value, trough value, and standard deviation of the synthetic angular velocity amplitude value, and use the first-level decision tree recognizer to identify stationary, walking, and also other actions; if it is stationary and walking, the recognition is ended; otherwise, the data of the acceleration sensor is extracted, the acceleration amplitude value is calculated, and the trough value, peak value, standard deviation, and covariance of acceleration and angular velocity are obtained, and the second layer recognition is used in the device performs a second detailed identification through experiments to verify that the system can meet the needs of joint movement estimation for football players in training. In this paper, the sensor module is used to collect the data information of the acceleration sensor and angular velocity sensor during the eight kinds of sports of different football players and analyze the joint movement by extracting the corresponding feature vector. In future, we will also consider various complex joint movements to better assist in sports training.
The data used to support the findings of this study are available from the corresponding author upon request.
The authors declare that they have no conflicts of interest.