# Optimization of Artificial Intelligence Model for Badminton Teaching and Training with Wireless Network Support

Authors: Sheng Zhang; Wen Zhang; Junmao Liu
Journal: Security and Communication Networks
 (2022)

---

## Abstract

With the rapid development of the Internet of Things and artificial intelligence, the society gradually moves into the era of intelligence, and the research results and intelligent products based on wireless networks come into being. Machine learning algorithms are used to classify and recognize badminton strokes in this research, and a badminton technical feature statistics and pace training system are built on this foundation. By exploring the model characteristics and algorithm training method of the Hidden Markov Model (HMM), this paper proposes a model algorithm with an improved HMM training method for recognizing ten common badminton strokes, including serve, forehand rub, backhand rub, and forehand lunge. Serve, forehand rub, backhand rub, forehand flutter, forehand push, backhand push, forehand pick, backhand pick, and forehand loft are among the 10 typical badminton strokes identified by the algorithm. Our technique can distinguish ten common ball-striking movements in real-time, according to the testing.


---

## Body

## 1. Introduction

In the 21st century, machine learning has been applied in various fields, such as the powerful real-time speech recognition technology of KDDI, the top go level of Alpha Go of Google, and the intelligent news recommendation system of today's headlines, which are all products of the rapid development of machine learning [1, 2].At present, the application of artificial intelligence in badminton, both in depth and breadth, is very limited. Badminton training is still mostly one-on-one or one-to-many manual instruction, and the player's own level of improvement relies heavily on the professional level of the coach and the player's technical level of strengths and weaknesses without a more detailed quantitative analysis of the standard, so for the player. Therefore, there is a lack of targeted training for players to develop their individual strengths and compensate for their weaknesses [3–5]. Reference [6] uses K-nearest neighbor and decision tree algorithms to recognize Ping-Pong batting actions; references [7, 8] identify four common sports, including badminton, Ping-Pong, volleyball, and soccer, by analyzing the inertial signals collected by the sensors; references [9, 10] classify and recognize several common batting actions by four inertial sensors worn on the two wrists, waist, and right ankle of the athletes.The arrangements of the paper are as follows: Section2 describes the related work. Section 3 introduces the various badminton mathematical models. Section 4 analyzes the different HMM algorithm. Section 5 discusses the different testing effective procedures. Section 6 concludes the article.


## 2. Related Work

Here, the human daily behavioral action recognition is discussed. They distinguish daily behavioral activities. They define sports action recognition and training.


### 2.1. Human Daily Behavioral Action Recognition

Action recognition of human behavior mainly uses inertial sensors such as gyroscope and accelerometer to perform algorithm classification and pattern recognition of daily behavioral actions such as standing, walking, running, and lying down [11–13]. Reference [14] distinguishes daily behavioral activities such as walking upstairs and downstairs, running, sitting, and standing by obtaining data information from five inertial sensors worn at different locations on the body. Reference [15] classifies and recognizes five types of human actions such as walking, sitting, lying down, running, and standing using deep convolutional neural networks, and achieves a recognition rate of 0. 9126 on the actitraker open-source database. References [16, 17] recognize daily complex behaviors of the human body by arranging various smart sensors indoors, and the improved algorithm has a high recognition rate [18]. The accuracy of reference [19] was investigated through several experiments.


### 2.2. Sports Action Recognition and Training

For human daily sports, such as badminton, table tennis, tennis, soccer, and other activities with high complexity, the wearable acceleration sensors are mainly used to collect data and action classification. Reference [20] designs a set of human wearable sensor system that can be used to measure players' breathing, ECG, and EMG signals, etc. In real-time, during badminton matches, identify the four movements of players such as running, walking, sitting, and standing on the court, and monitor and analyze the real-time status of players during matches and training: in reference [21], by obtaining data from the built-in inertial sensors on the game pad to identify several user's hitting stance, such as serve and forehand and backhand swing shots. Reference [22] uses the sensors on the user's arm to identify the important motions in the tennis game and uses the synchronized timestamps between the sensors and the captured match videos to label and index the key events and exciting moments in the tennis game; References [10, 23] explore the dependence of ball speed on the two parameters of acceleration and stroke sound during the snap by acquiring the acceleration and sound sensor data on the badminton racket, and through these dependencies to predict the ball speed, so as to achieve the effect of assisting training instruction. Reference [24] used the optimized apriori association rule algorithm to mine the sample data in multiple dimensions and realized the personalized training for specific players.


## 2.1. Human Daily Behavioral Action Recognition

Action recognition of human behavior mainly uses inertial sensors such as gyroscope and accelerometer to perform algorithm classification and pattern recognition of daily behavioral actions such as standing, walking, running, and lying down [11–13]. Reference [14] distinguishes daily behavioral activities such as walking upstairs and downstairs, running, sitting, and standing by obtaining data information from five inertial sensors worn at different locations on the body. Reference [15] classifies and recognizes five types of human actions such as walking, sitting, lying down, running, and standing using deep convolutional neural networks, and achieves a recognition rate of 0. 9126 on the actitraker open-source database. References [16, 17] recognize daily complex behaviors of the human body by arranging various smart sensors indoors, and the improved algorithm has a high recognition rate [18]. The accuracy of reference [19] was investigated through several experiments.


## 2.2. Sports Action Recognition and Training

For human daily sports, such as badminton, table tennis, tennis, soccer, and other activities with high complexity, the wearable acceleration sensors are mainly used to collect data and action classification. Reference [20] designs a set of human wearable sensor system that can be used to measure players' breathing, ECG, and EMG signals, etc. In real-time, during badminton matches, identify the four movements of players such as running, walking, sitting, and standing on the court, and monitor and analyze the real-time status of players during matches and training: in reference [21], by obtaining data from the built-in inertial sensors on the game pad to identify several user's hitting stance, such as serve and forehand and backhand swing shots. Reference [22] uses the sensors on the user's arm to identify the important motions in the tennis game and uses the synchronized timestamps between the sensors and the captured match videos to label and index the key events and exciting moments in the tennis game; References [10, 23] explore the dependence of ball speed on the two parameters of acceleration and stroke sound during the snap by acquiring the acceleration and sound sensor data on the badminton racket, and through these dependencies to predict the ball speed, so as to achieve the effect of assisting training instruction. Reference [24] used the optimized apriori association rule algorithm to mine the sample data in multiple dimensions and realized the personalized training for specific players.


## 3. Paper Badminton Mathematical Model

We start from the analysis of the badminton trajectory model and the player catching process. Firstly, we analyze the factors affecting badminton motion through the badminton motion model, and through these factors, we initially determine the required degrees of freedom for the badminton robot hitting mechanism. Then we analyze the badminton player's catching action and flow, determine the overall structural division of the badminton robot, and the required functions through the analysis of the badminton player's catching action, and finally design the corresponding control scheme according to the functions.


### 3.1. Stroke Motion Model

Flat shot, flat high ball, and flat long ball are the most popular badminton shots, and they differ in terms of hitting force, hitting angle, and height. A specific striking strategy can be achieved by controlling different hitting forces and angles. Because badminton air kinematics is more complicated and there are more factors affecting the motion, creating a seamless motion model is difficult, hence this research assumes that the badminton motion state is optimal. Treating badminton as a mass point, the badminton stroke type is determined by four parameters: stroke heightHO, stroke elevation angle β, stroke horizontal angle α, and stroke velocity V, without considering its mass and external influencing factors.The equations of motion of the simplified model of badminton aerodynamics can be found as(1)yt=mCxVe+Vi1−e−Cy/mt−Vet+H0,xt=ViVeCx1−e−Cx/mt,where Vi and Ve are the badminton exit velocity and final drop velocity, Cx and Cy are the air drag coefficient and lift coefficient, respectively, and m is the badminton mass.The initial coordinatesA0, the coordinates A1 of the highest point, and the coordinates A2 of the landing point during the movement of badminton are found, respectively, and the variation factors of each coordinate point are studied.Assumingt=t0=0, the initial coordinates of the moment the badminton is struck are A0=0,H0.Assuming that the badminton of typet=t1 reaches the highest point of the parabola, we have(2)y′t=CyCxVe+Vie−Cy/mt−Ve=0.It is obtained that(3)t1=mCylnCyVe+ViCxVe.Assuming that the badminton’s hit out instant time isΔt, this moment badminton movement can be approximated as a straight line, and then at this time, the elevation angle of the badminton can be expressed as(4)β=arctanyΔt−HxΔt.Assuming that the badminton landing time pointt=t2, the landing coordinates are A1=xt2sinα,xt2cosα.To sum up, the trajectory of badminton is related to four parameters: the speed of the ball, the horizontal angle of the ball, the elevation angle of the ball, and the height of the ball. By controlling these four parameters of badminton, the trajectory of badminton can be predicted.


## 3.1. Stroke Motion Model

Flat shot, flat high ball, and flat long ball are the most popular badminton shots, and they differ in terms of hitting force, hitting angle, and height. A specific striking strategy can be achieved by controlling different hitting forces and angles. Because badminton air kinematics is more complicated and there are more factors affecting the motion, creating a seamless motion model is difficult, hence this research assumes that the badminton motion state is optimal. Treating badminton as a mass point, the badminton stroke type is determined by four parameters: stroke heightHO, stroke elevation angle β, stroke horizontal angle α, and stroke velocity V, without considering its mass and external influencing factors.The equations of motion of the simplified model of badminton aerodynamics can be found as(1)yt=mCxVe+Vi1−e−Cy/mt−Vet+H0,xt=ViVeCx1−e−Cx/mt,where Vi and Ve are the badminton exit velocity and final drop velocity, Cx and Cy are the air drag coefficient and lift coefficient, respectively, and m is the badminton mass.The initial coordinatesA0, the coordinates A1 of the highest point, and the coordinates A2 of the landing point during the movement of badminton are found, respectively, and the variation factors of each coordinate point are studied.Assumingt=t0=0, the initial coordinates of the moment the badminton is struck are A0=0,H0.Assuming that the badminton of typet=t1 reaches the highest point of the parabola, we have(2)y′t=CyCxVe+Vie−Cy/mt−Ve=0.It is obtained that(3)t1=mCylnCyVe+ViCxVe.Assuming that the badminton’s hit out instant time isΔt, this moment badminton movement can be approximated as a straight line, and then at this time, the elevation angle of the badminton can be expressed as(4)β=arctanyΔt−HxΔt.Assuming that the badminton landing time pointt=t2, the landing coordinates are A1=xt2sinα,xt2cosα.To sum up, the trajectory of badminton is related to four parameters: the speed of the ball, the horizontal angle of the ball, the elevation angle of the ball, and the height of the ball. By controlling these four parameters of badminton, the trajectory of badminton can be predicted.


## 4. HMM Algorithm

This section discusses the HMM principle and defines the improved HMM-based badminton action recognition. The stroke actions can be modeled.


### 4.1. HMM Principle

Assume thatλ=A,B,π are learned by the above conditions. Considering the observation sequence data as observation data 0 and the state sequence data as unobservable hidden data I, then we have the following equation:(5)PO|λ=∑IPO|I,λPI|λ.Its parameter learning can be implemented by the EM algorithm.StepE of the EM algorithm: find the Q function Qλ,λ−,(6)Qλ,λ−=∑I∑​−log.where λ− is the current estimate of the model parameters and λ is the maximized model parameters. The function Qλ,λ− can then be rewritten as(7)Qλ,λ−=∑I∑i1−∑I∑−∑I∑∑t=1T∑i1Otlog( )∑t=1T−1∑iiit+1log( )log.To find the parameterπi, the first term of equation (7) can be written as the following equation:(8)∑I∑io−∑i=1N∑io,i1=i|λ−loglog.Noting thatπi satisfies the constraint ∑i=1Nπi=1, using the Lagrange multiplier method, write the Lagrangian function as follows:(9)∑I∑i=1N∑i∑i=1N∑io,i1=i|λ−∑i=1Nπi−1log.By taking the partial derivative and making the result 0, we obtain(10)∂∂πi∑i=1N∑io,i1=i|λ−∑i=1Nπi−1log.Thus, we findπi(11)πi=PO,i1=i|λ−PO|λ−.To find the parameter A, the second term of equation (3.16) can be written as(12)∑I∑​−∑i=1N∑ijo,it=i,it+1=j|λ−∑j=1N∑∑t=1T−1∑log∑t=1T−1∑iit+1log.Similarly, using the Lagrange multiplier method with constraint∑j=1Naij=1, one can find(13)aij=∑i=1T−1PO,it=i,it+1=j|λ−∑t=1T−1O,it=i|λ−.To find the parameter B, the third term of equation (3.16) can be written as(14)∑I∑​−∑j=1N∑jotO,it=j|λ−∑t=1T∑log∑i=1T∑i=1T∑itotlog.The constraint is∑k=1Mbjk=1. Note that the partial derivative of ot=vk with respect to bjoi is not 0 only at bjk, denoted by Iot=vk. Find the(15)bjk=∑t=1TPO,it=j|λ−Iot=vk∑t=1TPO,it=j|λ−.


### 4.2. Improved HMM-Based Badminton Action Recognition

Due to the temporal nature of badminton actions, the stroke actions can be modeled by a probabilistic model about temporal sequence.The algorithm of equations (13)–(15) is modified by setting the sequence of M observations as Om, m = 1, 2, …, M, pm.(16)πi¯=∑m=1Mα1miβ1miPOm|λ,aij¯=∑m=1MPm∑i=1Tm−1αtmiaijbjOt+1mβt+1mj∑m=1MPm∑i=1Tmαtmiβtmj,bjk¯=∑m=1MPm∑t=1Tm−1αtmiβ1mjIot,vk∑m=1MPm∑t=1Tmαtmiβtmj.


## 4.1. HMM Principle

Assume thatλ=A,B,π are learned by the above conditions. Considering the observation sequence data as observation data 0 and the state sequence data as unobservable hidden data I, then we have the following equation:(5)PO|λ=∑IPO|I,λPI|λ.Its parameter learning can be implemented by the EM algorithm.StepE of the EM algorithm: find the Q function Qλ,λ−,(6)Qλ,λ−=∑I∑​−log.where λ− is the current estimate of the model parameters and λ is the maximized model parameters. The function Qλ,λ− can then be rewritten as(7)Qλ,λ−=∑I∑i1−∑I∑−∑I∑∑t=1T∑i1Otlog( )∑t=1T−1∑iiit+1log( )log.To find the parameterπi, the first term of equation (7) can be written as the following equation:(8)∑I∑io−∑i=1N∑io,i1=i|λ−loglog.Noting thatπi satisfies the constraint ∑i=1Nπi=1, using the Lagrange multiplier method, write the Lagrangian function as follows:(9)∑I∑i=1N∑i∑i=1N∑io,i1=i|λ−∑i=1Nπi−1log.By taking the partial derivative and making the result 0, we obtain(10)∂∂πi∑i=1N∑io,i1=i|λ−∑i=1Nπi−1log.Thus, we findπi(11)πi=PO,i1=i|λ−PO|λ−.To find the parameter A, the second term of equation (3.16) can be written as(12)∑I∑​−∑i=1N∑ijo,it=i,it+1=j|λ−∑j=1N∑∑t=1T−1∑log∑t=1T−1∑iit+1log.Similarly, using the Lagrange multiplier method with constraint∑j=1Naij=1, one can find(13)aij=∑i=1T−1PO,it=i,it+1=j|λ−∑t=1T−1O,it=i|λ−.To find the parameter B, the third term of equation (3.16) can be written as(14)∑I∑​−∑j=1N∑jotO,it=j|λ−∑t=1T∑log∑i=1T∑i=1T∑itotlog.The constraint is∑k=1Mbjk=1. Note that the partial derivative of ot=vk with respect to bjoi is not 0 only at bjk, denoted by Iot=vk. Find the(15)bjk=∑t=1TPO,it=j|λ−Iot=vk∑t=1TPO,it=j|λ−.


## 4.2. Improved HMM-Based Badminton Action Recognition

Due to the temporal nature of badminton actions, the stroke actions can be modeled by a probabilistic model about temporal sequence.The algorithm of equations (13)–(15) is modified by setting the sequence of M observations as Om, m = 1, 2, …, M, pm.(16)πi¯=∑m=1Mα1miβ1miPOm|λ,aij¯=∑m=1MPm∑i=1Tm−1αtmiaijbjOt+1mβt+1mj∑m=1MPm∑i=1Tmαtmiβtmj,bjk¯=∑m=1MPm∑t=1Tm−1αtmiβ1mjIot,vk∑m=1MPm∑t=1Tmαtmiβtmj.


## 5. Testing Effectiveness

The HMM's beginning probability, transfer probability, and observation probability all include crucial information for determining the model's size, including the observation set size and the number of states, and the input of the model, i.e., the length of the observation sequence, is also a decisive factor for the accuracy of the model recognition. In this paper, by dynamically adjusting three important parameters of observation set size, the number of states, and observation sequence length, we build and train HMM, and perform recognition, and get the average recognition rate under the corresponding parameter models.As shown in Figure1, the 3-dimensional variation plot of the corresponding recognition rate is obtained by adjusting the observation sequence length and the number of states for the case of an observation set size of 32. By comparing and adjusting the three important parameters of the HMM, the highest recognition rate of 94% is finally obtained with the number of states of 9, the length of observation sequence of 10, and the size of observation set of 32.Figure 1
Recognition rate of different HMM parameters.


### 5.1. Recognition Effect

For the data segmentation technique of hitting action extraction in data preprocessing algorithm, three different segmentation methods are compared, and the preprocessing algorithm with higher recognition rate is selected.Method 1: sliding window segmentation based on hitting moments. For each hitting point, the peak of the hitting moment is detected, and fifty sample points before and after the hitting moments are used as the hitting action features.Method 2: sliding window segmentation based on extreme values. A sliding window with a window width of 100 is used to detect and reset the extreme values, and each extreme value is generated corresponding to the extraction of one hitting action [25].Method 3: window segmentation depending on events. The starting and finishing instant points for window segmentation are determined by sensing two occurrences of the player starting and hitting.


#### 5.1.1. Experimental Method

The single variable principle is used, i.e., the above three different hitting action extraction algorithms are used, other data processing, training, and recognition are kept the same. The same sample data are used for the HMM model training and the same test data are used for the recognition of ten hitting actions.


#### 5.1.2. Experimental Results

As shown in Figure2, the three different bar colors represent the three different hitting action extraction methods, the horizontal axis represents the ten different hitting actions, and the vertical axis represents the recognition rate of each hitting action. It can be seen that method 1 has a slightly higher recognition rate of the batting motion.Figure 2
HMM action recognition rate of different preprocessing algorithms.


#### 5.1.3. Experimental Conclusion

Method I has a higher recognition rate compared with Method II and Method III, so this paper uses Method I to extract the hitting action, i.e., the peak detection of the hitting moment for each hitting point and fifty sample points before and after the hitting moment as the hitting action features.


### 5.2. Experiment of Action Recognition Based on Different Model Algorithms

Experimental purpose: to compare different algorithms for training and recognition of models and select the model algorithm with the higher recognition rate as the method in this paper.Method 1: training and recognition based on SVM. The algorithm model of the support vector machine is used for ten kinds of batting actions.Method 2: training and recognition of traditional HMM. The model is trained by the traditional Baum-Welch algorithm.For recognition, the posterior probability of each batting motion model is calculated and compared.Method 3: improved HMM training and recognition. The improved Baum-Welch algorithm is used for model training, and the posterior probabilities of each hitting action model are calculated and compared for recognition.


#### 5.2.1. Experimental Method

The single variable principle is used, i.e., the three different algorithmic models mentioned above are used for training and recognition of ten batting actions. The training data and sample data remain unchanged, and the other data processing methods remain unchanged.


#### 5.2.2. Experimental Results

As shown in Figure3, the three different bar colors represent the above three different algorithm models, the horizontal axis represents the ten different batting actions, and the vertical axis represents the recognition rate of each batting action. It can be seen that Method 3 has a slightly higher recognition rate of the batting motion.Figure 3
Action recognition rate of the different model algorithms.


#### 5.2.3. Experimental Conclusion

Method 3 has higher recognition rate compared with Method 1 and Method 2, so this paper uses Method 3 for stroke action model building, training, and recognition to carry out, i.e., ten different badminton strokes are recognized by using improved HMM, and the average recognition rate based on the same player is up to 97.3%.


### 5.3. Experiment of Action Recognition Based on the Same and Different Athletes

Experiment purpose: to investigate the effect of the same and different athletes on the recognition rate of the system.Method 1: same athlete, i.e., both training data and test data are from the same athlete.Method 2: different athletes, i.e., both training data and test data are composed of a mixture of different types of athletes.


#### 5.3.1. Experimental Method

Using the single variable principle, i.e., using the above two different sample data sources, the system recognition rate is tested using the badminton stroke recognition algorithm in this paper.


#### 5.3.2. Experimental Results

As shown in Figure4, the two different bar colors represent the above two different data sources, the horizontal axis represents ten dissimilar stroke actions, and the vertical axis represents the recognition rate of each stroke action.Figure 4
Recognition rate of the same and different athletes' movements.


## 5.1. Recognition Effect

For the data segmentation technique of hitting action extraction in data preprocessing algorithm, three different segmentation methods are compared, and the preprocessing algorithm with higher recognition rate is selected.Method 1: sliding window segmentation based on hitting moments. For each hitting point, the peak of the hitting moment is detected, and fifty sample points before and after the hitting moments are used as the hitting action features.Method 2: sliding window segmentation based on extreme values. A sliding window with a window width of 100 is used to detect and reset the extreme values, and each extreme value is generated corresponding to the extraction of one hitting action [25].Method 3: window segmentation depending on events. The starting and finishing instant points for window segmentation are determined by sensing two occurrences of the player starting and hitting.


### 5.1.1. Experimental Method

The single variable principle is used, i.e., the above three different hitting action extraction algorithms are used, other data processing, training, and recognition are kept the same. The same sample data are used for the HMM model training and the same test data are used for the recognition of ten hitting actions.


### 5.1.2. Experimental Results

As shown in Figure2, the three different bar colors represent the three different hitting action extraction methods, the horizontal axis represents the ten different hitting actions, and the vertical axis represents the recognition rate of each hitting action. It can be seen that method 1 has a slightly higher recognition rate of the batting motion.Figure 2
HMM action recognition rate of different preprocessing algorithms.


### 5.1.3. Experimental Conclusion

Method I has a higher recognition rate compared with Method II and Method III, so this paper uses Method I to extract the hitting action, i.e., the peak detection of the hitting moment for each hitting point and fifty sample points before and after the hitting moment as the hitting action features.


## 5.1.1. Experimental Method

The single variable principle is used, i.e., the above three different hitting action extraction algorithms are used, other data processing, training, and recognition are kept the same. The same sample data are used for the HMM model training and the same test data are used for the recognition of ten hitting actions.


## 5.1.2. Experimental Results

As shown in Figure2, the three different bar colors represent the three different hitting action extraction methods, the horizontal axis represents the ten different hitting actions, and the vertical axis represents the recognition rate of each hitting action. It can be seen that method 1 has a slightly higher recognition rate of the batting motion.Figure 2
HMM action recognition rate of different preprocessing algorithms.


## 5.1.3. Experimental Conclusion

Method I has a higher recognition rate compared with Method II and Method III, so this paper uses Method I to extract the hitting action, i.e., the peak detection of the hitting moment for each hitting point and fifty sample points before and after the hitting moment as the hitting action features.


## 5.2. Experiment of Action Recognition Based on Different Model Algorithms

Experimental purpose: to compare different algorithms for training and recognition of models and select the model algorithm with the higher recognition rate as the method in this paper.Method 1: training and recognition based on SVM. The algorithm model of the support vector machine is used for ten kinds of batting actions.Method 2: training and recognition of traditional HMM. The model is trained by the traditional Baum-Welch algorithm.For recognition, the posterior probability of each batting motion model is calculated and compared.Method 3: improved HMM training and recognition. The improved Baum-Welch algorithm is used for model training, and the posterior probabilities of each hitting action model are calculated and compared for recognition.


### 5.2.1. Experimental Method

The single variable principle is used, i.e., the three different algorithmic models mentioned above are used for training and recognition of ten batting actions. The training data and sample data remain unchanged, and the other data processing methods remain unchanged.


### 5.2.2. Experimental Results

As shown in Figure3, the three different bar colors represent the above three different algorithm models, the horizontal axis represents the ten different batting actions, and the vertical axis represents the recognition rate of each batting action. It can be seen that Method 3 has a slightly higher recognition rate of the batting motion.Figure 3
Action recognition rate of the different model algorithms.


### 5.2.3. Experimental Conclusion

Method 3 has higher recognition rate compared with Method 1 and Method 2, so this paper uses Method 3 for stroke action model building, training, and recognition to carry out, i.e., ten different badminton strokes are recognized by using improved HMM, and the average recognition rate based on the same player is up to 97.3%.


## 5.2.1. Experimental Method

The single variable principle is used, i.e., the three different algorithmic models mentioned above are used for training and recognition of ten batting actions. The training data and sample data remain unchanged, and the other data processing methods remain unchanged.


## 5.2.2. Experimental Results

As shown in Figure3, the three different bar colors represent the above three different algorithm models, the horizontal axis represents the ten different batting actions, and the vertical axis represents the recognition rate of each batting action. It can be seen that Method 3 has a slightly higher recognition rate of the batting motion.Figure 3
Action recognition rate of the different model algorithms.


## 5.2.3. Experimental Conclusion

Method 3 has higher recognition rate compared with Method 1 and Method 2, so this paper uses Method 3 for stroke action model building, training, and recognition to carry out, i.e., ten different badminton strokes are recognized by using improved HMM, and the average recognition rate based on the same player is up to 97.3%.


## 5.3. Experiment of Action Recognition Based on the Same and Different Athletes

Experiment purpose: to investigate the effect of the same and different athletes on the recognition rate of the system.Method 1: same athlete, i.e., both training data and test data are from the same athlete.Method 2: different athletes, i.e., both training data and test data are composed of a mixture of different types of athletes.


### 5.3.1. Experimental Method

Using the single variable principle, i.e., using the above two different sample data sources, the system recognition rate is tested using the badminton stroke recognition algorithm in this paper.


### 5.3.2. Experimental Results

As shown in Figure4, the two different bar colors represent the above two different data sources, the horizontal axis represents ten dissimilar stroke actions, and the vertical axis represents the recognition rate of each stroke action.Figure 4
Recognition rate of the same and different athletes' movements.


## 5.3.1. Experimental Method

Using the single variable principle, i.e., using the above two different sample data sources, the system recognition rate is tested using the badminton stroke recognition algorithm in this paper.


## 5.3.2. Experimental Results

As shown in Figure4, the two different bar colors represent the above two different data sources, the horizontal axis represents ten dissimilar stroke actions, and the vertical axis represents the recognition rate of each stroke action.Figure 4
Recognition rate of the same and different athletes' movements.


## 6. Conclusion

This paper presents two Baum-Welch training algorithm improvement schemes for the HMM-based badminton action recognition algorithm, as well as experimental analysis of the recognition rate of the two improvement schemes; and the effect of HMM model parameters on the recognition rate of badminton action. To examine the system, this paper uses dynamic model parameter adjustment. To investigate the value of the model parameters that cause the system to have the highest recognition rate, an experimental strategy of dynamically altering the model parameters to examine the recognition rate of the system has been adopted. For the design and implementation of badminton technical characteristics statistics and pace training system, it is mentioned that the error analysis of the score and error judging algorithm and the pace reduction algorithm is carried out in the technical statistics function module, and the relative error of this function is actually measured and calculated.



---

*Source: 8925907-2022-06-06.xml*