Abstract
The research on the fatigue characteristics of athletes has a certain role in promoting the development of sports. In order to detect fatigue more accurately in the state of human fatigue, this article uses a method of fusing characteristic information of many physiological parameters related to fatigue to design a multi-physical parameter-based exercise fatigue recognition method with high research value and significance. Moreover, this study combines machine learning technology to construct a dynamic fatigue detection system based on BP neural network and multiple physiological parameters. In addition, this study uses samples to construct a BP neural network and achieves dynamic detection of fatigue through multiple physiological parameters. Finally, by constructing controlled trials, fatigue is predicted. The results show that the predicted output of the fatigue value is in good agreement with the expected output, and the research method has certain practical effects.
Introduction
Athlete’s performance and ability will determine the performance and achievement of the athlete. One of the most important theories and realities is that athletes continue to exert influence on physical activity through continuous exercise training, and the increasing load of sports training is transforming the athlete’s body and function. In the process, the athlete’s athletic ability was improved and developed [1]. Athletes often need directional transformation to obtain the ability required for competition, which can only be achieved with the participation and influence of a large number of high-intensity sports training loads. Therefore, the athlete’s training process is to generate a certain amount of exercise fatigue through the use of appropriate methods and exercise training intensity, and then use appropriate methods to eliminate fatigue and achieve a state of physical fitness. This process goes back and forth, and finally the goal of improving the level of competition is achieved. This process involves how to resolve the contradiction between sports training recovery and fatigue adjustment [2]. Obviously, continuously increasing the exercise load during the training process will cause obvious changes in the athlete’s body, and gradually cause the athlete’s body function to adapt to changes, which will promote the athlete’s different competitive abilities. However, if there is no scientific and reasonable control of the training load during the training process, which exceed the athlete’s ability to bear it, it will have a negative impact on the physical function of the athlete. Moreover, some may also ruin the athlete’s sports career and cause irreparable consequences and bring serious consequences to the sports career and individual athletes. Therefore, sports training is implemented in a long-term continuous and phased implementation process. In this process, in addition to periodic training with varying time spans, a well-planned and effective exercise training cycle and adjustment and recovery are required. This article intends to explore a scientific and effective new way of recovering from sports fatigue by investigating the effects of outdoor marathon participation in adjusting the fatigue of sports training after athletes’ medium and high-intensity training.
It is a physiological phenomenon [4] that the body produces fatigue after a large amount of physical exertion, and it is also a protection mechanism, which prompts the body to enter a state of protective rest and energy replenishment to avoid further damage to the body. Under normal circumstances, when the human body is experiencing sports fatigue, general weakness, depressed mood, and lack of concentration will occur. At this time, the human body can usually recover after a period of rest. If a person frequently performs excessive physical activity, the body will be added with new fatigue when it has not recovered from the previous fatigue. At this time, fatigue may accumulate, and the body will be damaged by excessive fatigue over time. If the body is incompletely compensated and the cardiac output of oxygen can only meet the metabolism of the human body at rest, symptoms of hypoxia will occur after exercise. In more serious cases, it may even cause a sudden outbreak of a certain disease in the human body. Of course, things are two-sided, and exercise fatigue in a short period of time will not only cause harm to the human body. On the contrary, the human body must achieve a certain amount of fatigue before the body can obtain excessive recovery. Only when the two situations of exercise fatigue and excessive recovery of the body continue to alternate and reciprocate can the person’s physique gradually increase [5]. Therefore, real-time understanding of the degree of fatigue of the human body and timely measures to eliminate fatigue to restore the function of various organs to the original level can not only prevent the body from being fatigued, but also contribute to the continuous improvement of the body’s athletic ability.
Related work
The academic term muscle fatigue may not be common in people’s daily life, but the phenomenon of muscle fatigue is very common. For example, the soreness in the thighs when running on the playground, and the stiffness of the neck when sitting in front of the computer for a long time are common muscle fatigue phenomenon. In terms of human perception, muscle fatigue is a phenomenon of muscle soreness or loss of strength due to prolonged muscle exertion [6]. The physiological definition of muscle fatigue is a physiological phenomenon in which the temporary decline in the function of the neuromuscular system causes the muscle to fail to maintain the expected action [7]. The generation of muscle fatigue is a complex process with many influencing factors. Moreover, muscle cell metabolites, structure, and energy all change with the decrease of intracellular oxygen content and nutrients. When these biochemical environments change, the control strategy of the neuromuscular control system is automatically adjusted [8]. In summary, the causes of muscle fatigue can be simply summarized into two types: peripheral causes and central causes. The former believes that during muscle fatigue, changes in biochemical factors such as the accumulation of metabolites such as lactic acid and the decrease in intracellular energy substances will lead to de-creased muscle contraction capacity. The latter believes that in order to protect the body from injury, the central nervous system automatically adjusts the recruitment strategy of motor units, resulting in decreased muscle motor function [9]. The process of producing muscle fatigue is so complicated that it is difficult to find an effective method to assess the degree of muscle fatigue. Historically, scholars have proposed many muscle fatigue assessment methods in response to this problem. The literature [10] proposed a method for grading exercise intensity and fatigue based on subjective feelings of subjects, that is, the PRE scale. Afterwards, the literature [11] used ultra-sound to evaluate muscle activity and used ultra-sound to detect structural changes in muscles. In addition, because the near-infrared electromagnetic spectrum can measure changes in the amount of oxygenated hemoglobin in the blood, some scholars use near-infrared to observe changes in muscle oxygenation index, and some scholars have con-firmed that changes in muscle oxygenation index have a certain relationship with muscle fatigue [12]. After years of in-depth research, the muscle fatigue analysis technology based on surface electromyography has made great breakthroughs and formed many consistent conclusions [13]. The literature [14] found that the amplitude parameters of surface EMG signals will gradually increase during muscle fatigue. Later, the literature [15] found that the spectrum of surface EMG signals gradually shifted to the left during muscle fatigue. After that, a series of surface EMG parameters were proposed and used for muscle fatigue analysis, such as Mean Power Frequency (MPF), Median Frequency (MDF), The first Coefficient of Auto Regression Model (ARCl), etc. The proposal of these parameters in turn has greatly promoted the application of surface electromyography in related fields.
The field of application of muscle fatigue research is very wide, including biomechanics, kinematics, rehabilitation medicine, etc. In biomechanical research, muscle fatigue is considered to be the main factor affecting the skeletal muscle biomechanical model [16]. Literature [17] explored the mechanical modeling method of the brachioradialis muscle under dynamic periodic force and found that muscle fatigue has a certain effect on the biomechanical model. In kinematics research, muscle fatigue research results are often used for analysis and guidance of athlete training. For example, the literature [18] applied surface electromyography to study the characteristics of upper limb muscle fatigue of table tennis players to analyze their training effects. In the field of rehabilitation medicine, many neuromuscular system related diseases, such as cerebral palsy and stroke, can cause abnormal functional states such as muscle stiffness or rigidity, and this abnormal muscle function is also reflected in muscle fatigue characteristics. The literature [19] found that muscle fatigue characteristics of children with cerebral palsy and young healthy adults are different, and muscle fatigue analysis can be used to assist the diagnosis of cerebral palsy. In addition, muscle fatigue has important research value for clinical rehabilitation training of patients with neuromuscular system diseases. The literature [24] talks about the construction of directed acyclic graph for video coding algorithms for motion estimation in parallel reconfigurable computing systems. The partitioning algorithm also plays a key role in optimizing the encoding of images. The literature [25] dealt with the exploitation of IoT and BigData Analytics using the Hadoop ecosystem in real-time environments. The implementation of IoT-based Smart City is accomplished through the above-mentioned processes. The article [26] centers around IoT and its noteworthy work in sophisticating the human hones and endeavors. This paper moreover overseen the combination of diverse data from distinctive resources that are related with the web. The article [27] talks approximately the different issues within the vehicular communication field with the proposition of agreeable centralized and distributed spectrum detecting model. Due to the execution of the agreeable cognitive model, obstructions and different hidden issues are minimized. The article [28] discusses the problem, such as the tremendous amount of big data, and introduces the SmartBuddy idea of a smart and intelligent world using individual activities and human resources [29, 30].
Blood oxygen pulse wave detection module
Blood oxygen saturation (SpO2) is the percentage of oxygenated hemoglobin (HbO2) in total hemoglobin in human blood, and it is an important parameter reflecting the oxygen carrying capacity of human blood. The second chapter has discussed the relationship between blood oxygen saturation and fatigue. The following mainly introduces the measurement method and principle of blood oxygen saturation [20].
Nowadays, the most commonly used formula for calculating blood oxygen saturation (SpO2) is as follows:
In the formula, C HbO 2 is the oxygenated hemoglobin concentration, and C Hb 2 is the reduced hemoglobin concentration [21].
Based on Lambert-Beer’s law, the degree of attenuation of light after a certain distance in the medium can be used to describe the concentration C of the medium and the absorption coefficient μ
a
.
In the formula, l is the length of the path through which light passes, I and I0 are the intensity of incident light and reflected light, ɛ is the absorption coefficient, and C is the medium concentration.
Their relationship is as follows:
In the formula, k is a constant.
When red light (660 nm) and infrared light (940 nm) are used to detect tissues, the absorption coefficients of Hb and HbO2 are as follows:
By substituting formulas (4) and (5) into formula (1), the following formula can be obtained:
In the formula, both A and B are constant.
Because blood and other physiological tissues absorb light at different amplitudes, the reflected light contains both DC and AC quantities, which can be expressed as: W = I
AC
/I
DC
. The formula (6) can be written as [22]:
In the formula, λ1 is the wavelength of red light, λ2 is the wavelength of infrared light, and I AC and I DC represent the AC and DC quantities, respectively.
For the convenience of expression, we set
The common oximeters use LEDs and phototransistors to clamp thinner parts of human tissues during measurement, and the blood oxygen value is measured by analyzing the characteristics of transmitted light. This measurement method will compress the measurement point, resulting in poor blood flow. This system uses a reflection type photoelectric sensor NJL5501 R produced by New Japan Wireless to collect the blood oxygen pulse wave of the human body. The sensor encapsulates two LEDs, infrared and red, and a phototransistor. When measuring close to the skin surface, the purpose of measuring reflected light can be achieved. In addition, the size of the sensor package is only 1.9 × 2.6 × 0.8mm, which meets the small volume design requirements of the multi-physiological parameter detection device of this subject [23].
The LED driving circuit of the blood oxygen collection module is mainly composed of NJL5501 and a triode I/O □ (PA6, PA7) is used to control the gating of the red-light emitting tube D1 and the infrared light emitting tube D2. The phototransistor Q3 generates a corresponding voltage signal U0 according to the intensity of the reflected light from the tissue, and this signal is the starting signal of the blood oxygen pulse wave. Due to the interference of ambient light and the difference in individual light absorption rates, the voltage signal U0 may be too large or too small, resulting in the phenomenon that the amplitude of the blood oxygen pulse wave signal is not within the amplification range of the op amp chip in the subsequent amplification circuit. In view of this problem, this system adjusts the driving current of the two triodes D1 and D2 by regulating the voltage of the DAC1 terminal in the circuit, and controls the light emitting intensity of the LED, thereby adjusting the voltage U0. The driving circuit diagram of LED is shown as in Fig. 1.

LED driving circuit.
Figure 1 LED driving circuit U0 is usually composed of two parts: AC component and DC component. However, the amplitude of the AC component is much smaller than the amplitude of the DC component, which is a signal of the millivolt level. As a result, the built-in analog-to-digital converter (ADC) of the single-chip microcomputer cannot sample and identify the AC component. Therefore, the AC component needs to be amplified. However, if the pulse wave signal is directly amplified, two situations will occur: the amplification factor is too large, which causes the signal amplitude to exceed the amplifier chip’s amplification range; the amplification factor is too small, which causes the signal to be too small and makes the characteristics of the AC component difficult to be identified. In order to avoid the above two situations and to fully amplify the AC component part, this system uses a secondary amplifier circuit to amplify U0. This system uses a TLC2262 op amp chip, which has the advantages of low track output performance and low power consumption and is suitable for portable equipment. The secondary amplifier circuit is shown in Fig. 2:

Secondary amplifier circuit.
In the amplification circuit, the same comparison operation circuit is used for one amplification. The following formula is solved by using the concept of virtual short and virtual break:
The blood oxygen pulse wave after one amplification contains a large DC signal, which is not conducive to the secondary amplification of the AC component. In order to remove the influence of the DC signal, the secondary amplifier circuit uses a differential input subtraction circuit, as shown in Fig. 2.
Amongthem, R13 = R14, R14 = R16. Combining equation (9), it can be known that the relationship between the voltages U0V
DACI
V
out
is:
In the formula, V out is the blood oxygen pulse wave signal after the second amplification, and VDAC2 is the subtraction voltage.
This subject uses an electronic thermometer thermistor. Its temperature measurement accuracy is higher than that of a general thermistor, which is suitable for the measurement of human body temperature. The relationship between its resistance and temperature is shown in Fig. 3:

Corresponding relationship between thermistor resistance and temperature.
The body temperature measurement circuit consists of a simple voltage divider circuit and a subtraction amplifier circuit, as shown in Fig. 4:

Body temperature measurement circuit.
When the human body temperature changes, the resistance value R
t
of the thermistor changes accordingly, so that the voltage U
t
also changes accordingly. In order to make the measurement more accurate, the subject magnifies U
t
. Thermistor resistance R
t
can be calculated by measuring the voltage U
t
, and the temperature of the human body can be obtained by referring to Fig. 3. The formula for calculating thermistor resistance R
t
and voltage U
t
is as follows:
In this study, a fatigue prediction algorithm model based on BP neural network is established. Moreover, this study takes a variety of physiological parameters during human movement as input and completes the intelligent assessment of fatigue value during human movement through a BP neural network mathematical model.
BP neural network generally consists of an input layer, one or more hidden layers, and an output layer. The neurons in each layer only accept the input of the neurons in the front layer, and the neurons in the back layer have no signal feedback to the neurons in the front layer. Finally, the output layer signals are fed back to the input layer, and each neuron in the same layer does not affect each other. Figure 5 is a topological diagram of a BP neural network with only one hidden layer, which reflects the mapping relationship between n input quantities and m output quantities.

Topological structure of BP neural network.
Among them, X1, X2, ⋯ , X n is the input value of the BP neural network, Y1, Y2, ⋯ , Y m is the output value of the neural network, and w ij and w jk are the weights of the neural network.
When constructing a BP neural network model, the structure of the network model needs to be determined first, which is considered from the input layer, the hidden layer, and the output layer.
The determination of the number of nodes in the hidden layer often refers to the following formula:
In the formula, l is the number of nodes in the hidden layer, m is the number of nodes in the input layer, n is the number of nodes in the output layer, and a is a constant between 0 and 10.
When setting the number of nodes in the hidden layer, the approximate range of l is generally determined first, and then the best value of l is determined by trial and error, which will be discussed in the following.
The training of BP neural network in this subject mainly includes the following seven steps:
Step 1: network initialization. The input amount of this subject is 5 physiological parameters, and the output amount is the fatigue value. Therefore, the number of nodes in the input layer of the network is set to 5, the number of hidden layers is set to 1, and the number of output layer nodes is set to 1. The connection weight w ij , w jk , the hidden layer threshold a and the output layer threshold b between the neurons in each layer are initialized, and the neuron excitation function and learning rate are set.
Step 2: Hidden layer output calculation. According to the input multiple physiological parameters, the weight w
ij
between the input layer and the hidden layer and the threshold a of the hidden layer, the output H of the hidden layer can be obtained as:
In the formula, f is the excitation function of the hidden layer, l is the number of nodes in the hidden layer, and x i is the input amount.
Step 3: Output layer output calculation. From the hidden layer output H, the weight w
jk
and the threshold b, the network prediction output O is:
Step 4: Error calculation. From the predicted fatigue value and expected fatigue value of the network, the prediction error e of the network is obtained as:
In the formula, Y k is the expected fatigue value and O k is the predicted fatigue value.
Step 5: Weight update. According to the prediction error e of the network, the weight w
ij
andw
jk
are corrected.
In the formula, η is the learning rate.
Step 6: Threshold update. Based on the prediction error e of the network, the thresholds a and b is modified.
Step 7: It is judged whether it reaches the set number of iterations. If the number of iterations is not reached, the algorithm returns to the second step.
The first three steps in the above steps are forward transfer processes, and the fourth to sixth steps are reverse error transfer processes. In the process of continuously adjusting the weights, the actual output of the network is constantly approaching the expected output. The specific training process is shown in Fig. 6:

BP neural network training process.
At the same time, BP neural network needs to pay attention to the following three points during the training process:
(1) When training BP neural network, in order to avoid the situation that the weights increase or decrease at the same time, the initial value of the weights should be set to a random number. In addition, the initial value of the weight is too large or too small will affect the training speed, and its value is generally selected between -2.4F and 2.4F, where F is the number of input terminals of the connected neurons.
(2) In the process of BP neural network learning, the choice of learning rate is more important. If the learning rate is set too large, the amount of weight changes will be large each time. Although this speed up the convergence of the network, it will cause the network to be unstable. On the contrary, if the learning rate is set too small, it can avoid network instability, but the network convergence speed is relatively slow.
(3) If each layer of the BP neural network is only a linear transformation, the multi-layer input is still a linear transformation after superposition, and the linear model has insufficient expressive power. Therefore, the nonlinear function is introduced by using an activation function. Because the BP algorithm requires the activation function to be differentiable, a Sigmoid-type function is used in this study, as shown in the formula:
The BP neural network is combined with the human fatigue characteristic detection model in this study.
During the exercise, the mechanics of the human body are proportional to the exercise intensity [52], and the exercise intensity can be reflected in the acceleration of the movement. In this study, the calculation of exercise energy consumption is performed through the weight and the output value of the triaxial acceleration sensor. According to physics, the relationship between the instantaneous speed in one direction and the acceleration in that direction during human movement is:
In the formula, Δt is a basic time unit, v (t) is the instantaneous speed after time Δt, v0 is the initial speed, and a is the instantaneous acceleration when the human body moves.
In time Δt, the displacement Δs of the human body in this direction of movement is shown by the formula:
According to the mechanical work formula W = FS and the constant acceleration of the human body during the movement, the work is differentiated to obtain the work Δw performed by the human body in the basic time unit, as shown in the formula:
In the formula, T is the exercise time, W is the work performed by the human body during exercise time, m is the human body weight, v
i
is the human body’s movement speed in the direction of movement after a certain basic time unit, and a is the instantaneous acceleration of the human body when it moves. During the movement of the human body, the direction of movement is constantly changing, so the acceleration value is positive or negative, which causes some mechanical work to be cancelled. Because the work done by the human body during exercise is linear with the energy consumption E and there is no negative energy consumption, the relationship between energy consumption and acceleration is as follows:
In the formula, A and B are both constants. The acceleration sensor can measure the acceleration value in three directions: X-axis, Y-axis and Z-axis. In this subject, the X and Z axes of the sensor are parallel to the ground, and the measured acceleration value is the acceleration of the human body in that direction. Therefore, the energy consumption E
x
and E
z
of human exercise in the X and Z directions are as follows:
In the formula, a
x
and a
z
are the acceleration output of the X-axis and Z-axis of the sensor, respectively, and A and B are constant. The Y-axis measurement direction is the same as the direction of gravity. The measured values include the human body’s exercise acceleration and gravity acceleration g in this direction. The influence of gravity acceleration needs to be considered when calculating the energy consumption in this direction. The actual acceleration of the human body in the Y-axis should be a
y
+ g (g is a scalar). At this time, the energy consumption E
y
of the human body movement in the Y-axis direction is as follows:
In summary, according to the body weight m and the acceleration output value of the triaxial gravity sensor in each direction, the total energy consumption of the human body during exercise is shown by the formula:
The subjects collected 600 sets of data at three different speeds of 6 km / h, 8 km / h, and 10 km / h. Figures 6 8 show the trend of physiological parameters of the subject during running. The subject’s heart rate change trend table is shown in Table 1.
Trend table of heart rate of experimental subjects
Trend table of heart rate of experimental subjects
As can be seen from Fig. 7, the subject’s heart rate increased significantly within the first 2 minutes. The reason is that after the human body starts strenuous exercise, the oxygen consumption of the body’s tissues and organs increases sharply. At this time, the heart must pump more blood to increase the blood supply to ensure the oxygen demand of the tissues and organs of the body. Heart rate stabilizes after 2 minutes of body movement. However, as the body’s energy expenditure continues, the heart rate will slowly rise over time. The greater the intensity of exercise, the higher the average heart rate. The oxygen intake and oxygen consumption of the human body in a quiet state are basically in equilibrium, and the blood oxygen saturation of a normal human body is between 98% and 99%. In the state of exercise, the body’s oxygen consumption greatly increases, causing the oxygen uptake rate to keep up with the oxygen consumption rate. When the body’s stored oxygen is consumed in large quantities, the total oxygen content of the body will begin to decrease. As shown in Fig. 8, after about 5 minutes, the blood oxygen saturation of the subject began to decrease significantly and then gradually flatten again to some extent. When the body’s blood oxygen content decreases, the body’s lack of oxygen supply increases the fatigue response of various organs, in which the brain’s response is particularly obvious, and subjects suffers from decreased attention, confused thinking, and slow response. It can also be found from Fig. 8 that exercise intensity affects the rate of decline in blood oxygen saturation. Table 2 is the statistical table of the changes of the SpO2 value of the experimental objects.

Trend diagram of heart rate change of experimental subjects.

Trend diagram of the change of the SpO2 value of the experimental object.
Statistical table of the changes of the SpO2 value of the experimental objects
Body temperature is a commonly used physiological measurement parameter, which can reflect the physiological metabolism of the human body. Table 3 is a statistical table of the subject’s body temperature changes, and Fig. 9 is a trend chart of the subject’s body temperature changes. It can be seen from Fig. 9 that the subject’s body temperature maintained an upward trend within 4 to 5 minutes of running, which is the reason for the accelerated physiological metabolism of the human body after exercise and the heat generation of muscle tissue. After 4 to 5 minutes, the rising trend of body temperature slows down, and some even show a decreasing trend. The reason is that the body’s sweat removes some of the heat. All in all, body temperature is on the rise, and the greater the intensity of exercise, the faster the rise.
Statistical table of body temperature changes of experimental subjects

Trend diagram of body temperature changes of experimental subjects.
A set of physiological parameters of the subject during exercise is taken as the input of the BP neural network, and then the fatigue value is predicted in real time. As shown in Fig. 10, the red marks in the figure are the fatigue values predicted by the BP neural network based on a number of physiological parameters when the subject is in exercise, and the blue mark is the fatigue value obtained through the comprehensive analysis of the main observation evaluation method, that is, the expected output value of the neural network. It can be seen that although the predicted output of the fatigue value fluctuates up and down, it is generally distributed around the expected output, and the trends of the two are generally consistent.

Comparison diagram of predicted output and expected output of fatigue value.
With the increasing awareness of fatigue hazards, more and more researches have been done on fatigue, but the research on the dynamic detection of human exercise fatigue is still rare. Based on the research on the existing fatigue detection technology, this study carries out a dynamic fatigue detection study based on BP neural network and multiple physiological parameters. To meet the needs of sample data collection, a dynamic monitoring system for physiological parameters is designed. One part of the system is the detection device, and the other part is the host computer interface monitoring system. This study uses samples to construct a BP neural network and achieves dynamic detection of fatigue through multiple physiological parameters. In addition, this study uses athlete fatigue simulation as an example to perform the study.
In this project, five physiological parameters of the test object are used as the input of the BP neural network to predict fatigue. The results show that the predicted value of the fatigue value is in good agreement with the expected output, and the error ratio between the two is less than±20%. Moreover, the experimental results prove that the BP neural network can predict the fatigue value better through dynamic physiological parameters, so as to reflect the fatigue degree of the human body during exercise.
