Academic Journal of Science and Technology ISSN: 2771-3032 | Vol. 2, No. 2, 2022 17 Time Trial Pacing Optimization Strategy Based on Muscle Fatigue and Aerobic and Anaerobic Respiration Li Ding1, a, *, Junlei Zhu2, b, Beiying Huang2, c 1 School of Material Science and Engineering, Southeast University, Nanjing, P.R. China 2 School of Automation, Southeast University, Nanjing, P.R. China * Corresponding author: DingLi (Email: 213193509@seu.edu.cn) Abstract: In the time trial, the rider should organize his/her power wisely so that he/she can minimize the time for the entire contest. In order to design the optimal power output strategy for different riders in different road situations , we build a model to describe the rider based on the aerobic and anaerobic respiration and muscle fatigue and recovery process . Then we use the greedy algorithm to obtain the optimal pacing strategy for the rider on the plane road. Then we use the image processing to get the road data in UCI and Tokyo Olympics and use modify the model so that it can give the optimal pacing strategy on the roads with turns and slope. Keywords: Aerobic and anaerobic respiration, Image processing, Muscle fatigue and recovery. 1. Introduction Recently , it has been widely studied in sports science about the imporvement of the grades for time trial . The the optimcal pacing strategy on flat straight course has been studied by De Koning et al[1] , where they say the optiaml strategy is to speed up to a velocity a little bit lower than the critical velocity and keep it to the end , which is in agreement with Jenny de Jong’s[2] study . Andrea Zignoli[3] established a detailed 3D model and system to study this problem , and got the optiaml pacing strategy in sharp turns and cornering . However , the optimal pacing strategy in complex weather and for team time trial has not been well studied yet . In this paper , we establish a model based on S. Alireza Fayazi’s [4] muscle strength fatigue and recover model , and modify it with the aerobic and anaerobic respiration model put forward by Faraz Ashtiani[7] . We analyze the optiaml pacing strategies time trial specialist and climber for female and male rider in falt straight course. And we find that our model can get good pacing strategies for different rider. In Section 2.5, we study the Tokyo Olympics and the 2021 UCI individual time trial with complex terrain such as sharp turning slopes. Finally, the optimization model calculates that the shortest time of the Tokyo individual time trial and the UCI individual time trial is 3304s and 3450s, which is close to the time of 3304s and 2820s used by the champions of the two events. The effects of gender and runner type on individual time trial performance were also investigated. Compared to climbers, specialist cyclists have less explosive power and lower early speed, but have more endurance, can maintain a higher speed in the second half, and complete the entire the whole track in less time. In addition, the output power and speed of female players are lower than that of male players, so their performance is generally lower than that of male players. Then, under complex weather conditions (taking the wind direction as an example), the sensitivity of our model is analyzed, and the wind direction and wind speed will have a greater impact on the final results of the model. Then based on the model, the optimal time-trial physical output power arrangement measurement for team competition is given. After that, based on the wind resistance attenuation received by different positions in the team competition team proposed by Bert Blocken et al. [8], we extend the above model to the team competition situation.The optimal strategy arrangement method and the computer solution method are discussed, and the assumption of the team member position arrangement method is given in combination with the actual situation. 2. Organization of the Text 2.1. Problem Background The bicycle road timing race originates from European and is a race at which athlete starts alone at specified intervals,their rank is based on the timing of their final arrival to the finish. Because the athletes have limited physical strength,.so reasonable plan to use physical strength to achieve the shortest time is needed . The complex weather and landforms also pose great challenges to the pacing strategy . The left picture in Fig1 shows the track of the Tokyo Olympic time trial. On the way, the track is not always straight, most of which are arcs with a certain curvature. The right shows the elevation of the men’s time trial course ,showing that most of the course is ups and downs. 18 Figure 1. Map and profile for TIME TRIAL-MEN TOKYO 2021 2.2. Method The question requires us to establish a strategy for describing optimal pacing strategy used in a single time trial with sharp turns and slopes in complex weather conditions.Our approach includesthe following: • Based on muscle fatigue and recovery, we establish the muscle maximum isometric force model to describe its decay and rest . • We calculated the optimal pacing strategy for the men’s/women’s time trial at the Tokyo 2021 Olympics considering the sharp turns and elevation. • Take the effect of the wind direction and velocity as example , we study the effect of complex weather conditions on the model. • Considering a range of bias, we consider the effects of the derivation of then rider when performing the optimal strategy. • Using the single time trial model, we initially solved the optimal pacing strategy strategy for the team time trile . 2.3. General Assumptions and Model In order to simplifiy the model , we made assumption and justification as follows: Assumption 1 The rider and the bicycle can be considered as a whole part and studied as point mass, ignoring the internal relationships Justification Compared wiith the entire track , the size of the rider and the bicycle is negligible .Also , ignoring the interation between them can greatly simplifiy the model while without too much loss of precision. [4,6] Assumption 2 Air density is approximately constant at all altitudes Justification Since the track altitude changes in the Tokyo Olympics and UCI are not very obvious, we approximate that air density is at about 1.29m/cm3 Assumption 3 The frictional force received by a bicycle is static friction Justification The direction of force on the two wheels of the bicycle during exercise is relatively complex. When the bicycle is in motion, the front wheel receives the rolling friction force backwards, and the rear wheel receives forward rolling friction. When sliding, both wheels receive backward sliding friction, so we use µmgcos(θ) to simplify the model by approximating the frictional resistance received by the bicycle. Assumption 4 The anaerobic power level is sufficiently high to get to a velocity that can be maintained indefinitely at critical power. Justification The rider for the time trial is well trained , usually he/she can finish the whole trial . In this model he/she just wants to optimize the pacing strategy to get a better score . So his/her anaerobic power level is qualified. Assumption 5 Muscle fatigue does not influence the linearity of force-velocity relationship. Justification The force-velocity relationship is determined by the Newton’s second law , the muscle fatigue will only affect the maximum force the rider can apply . 2.4. Human Body Mechanism Model 2.4.1. Model Establishment For a bicycle rider power output curve, we need to build the relationship of its own energy changes with the forward driving force at first. According to the reference[4], we know that muscle is in a certain regular contraction and expansion stage, which needs ATP(adenosine triphosphate) as the stable supply. And ATP’s production rate has is related to oxygen supply. When the oxygen supply is in short at the state of high intensity exercise, the muscle needs a certain amount of anaerobic ATP when in hypoxia to ensure the high intensity of energy consumption. But what accompanies the anaerobic state is the production and accumulation of lactic acid, making the muscle fatigue. In this paper, we temporarily ignore the complex dynamic process of fatigue accumulation, only consider the maximum power generated under the fatigue limit affected by dynamic process of muscle fatigue and recovery . Then we build the corresponding mathematical model . The maximum force muscle can exert when rest is called MVC(Maximum Voluntary Contraction). When the 𝐹 , (maximum isometric force) is applied continuously ,the 𝐹 , will decline exponentially over time.More generally, 𝐹 , can be described with the following relationship[5] when the 𝐹 ( isometric force) is applied . , 𝑘𝐹 , 𝑡 (1) Where k is a constant varying with each individual .When the continuous force is applied , 𝐹 , 𝑡 is smaller than the MVC. 𝐹 , 𝑡 is the currently applied isometric force. However when 𝐹 , 𝑡 = 0, as described in formula (1), 𝐹 , 𝑡 should be the previous value without any change In our common sense, this is unreasonable because when no external force is applied, the muscles are resting, 𝐹 , should gradually recover to the MVC. 19 [6] points out that t he recovery of 𝐹 , should also approximately present the exponential relation with time : , 𝑅 𝑀𝑉𝐶 𝐹 , 𝑡 (2) Where R is the recovery coefficient, a constant.It is also noted in [7] that when there is a set of muscle fibers in the activation mode , some are tired and some are recovering . In other words, fatigue and recovery occur simultaneously.So ,in order to describe the relationship between fatigue and recovery, we use a linear combination of (1) and (2),as follows: , 𝑘𝐹 , 𝑡 𝑅 𝑀𝑉𝐶 𝐹 , 𝑡 (3) When a person continuously exerts the maximum isometric force, that is, 𝐹 = 𝐹 , at this time we can obtain the applied isometric force from (1) . And we name it as 𝐹 , . So: 𝐹 , 𝑀𝑉𝐶 ∙ 1 1 4 (4) We can assume that when the applied force is 𝐹 , ,there will be no physical loss, which means the fatigue counteracts the recovery. Also , to describe the rider’s fatigue, it is known that when the 𝐹 , 𝐹 , the maximum applied isometric force is the critical value , the rider is the most exhausted. When 𝐹 , 𝑀𝑉𝐶, the rider is resting and completely untired.Thus, we define the fatigue degree as : 𝑆𝑜𝐹 𝑡 , , (5) , 0 ≤ SoF ≤ 1 We consider that the force applied by the rider’s is equal to the force received by the pedal 𝐹 𝐹 . By Newton’s second law, the kinematic equations for cycling can be established as : 𝑚 𝐹 𝐶 ρ𝐴𝑣 𝑚 𝑔 μ𝑐𝑜𝑠 θ 𝑠𝑖𝑛 θ 𝐹 (6) ,𝑚 𝑚 𝑚 is the total mass 𝑚 , 𝑚 is the mass for bicycle and rider . µ is Rolling Resistance Coeff ,Cd is Drag Coefficient, A is Frontal Area, 𝑟 is Wheel radius, 𝑙 is Crank arm length, η is Gearbox efficiency. θ is the slope of the road .𝐹 is wheel friction braking force , and we set it as 0 in this model . Then the current output of the power can be calculated as: 𝑃 (7) However, the Faraz Ashtian[7] points out that this modeling assumes that the power output is constant, which is trivially not true. The maximum value of the rider’s output power should be affected by its aerobic and anaerobic respiration. They point out that there is a CP( critical point ) for breathing , when the output power below the point the rider recovers and stores energy , and consumes energy the stored energy when above the .The meaning of the CP is shown in the Figure2. Its storage energy is can be described by the following relationship[7] : 𝑑𝑊 𝑑𝑡 𝐶𝑃 𝑃 , 𝑃 𝐶𝑃 , 𝑃 𝐶𝑃 (8) , where 𝑊 is the remaining(stored) energy . And the maximum value of it is AWC ,which is related to the rider’s physical fitness. 𝑇 is the delay for the restoring the remaining energy. And they also indicate that the maximum output power Pmax has such relation with the residual energy: 𝑃 𝑡 𝑎𝑊 𝑡 𝑏𝑊 𝑡 𝐶𝑃 (9) where a,b are constant . According to the timing race knowledge, both the speed and the output power have upper limits.At this point, the purpose becomes getting the shortest time for a given course . Combined with the above conditions, then the above model can be converted to the following planning problem: 𝑚𝑖𝑛 𝑑𝑡 (10)            0 𝑃 𝑡 𝑃 0 𝐹 𝐹 , 0 𝑆𝑜𝐹 𝑡 1 0 𝑣 𝑡 𝑣 0 𝑊 𝑡 𝐴𝑊𝐶 Figure 2. The meaning of the CP 2.4.2. Model Solving The optimization problem is an optimal control problem, and the common methods include the gradient method, the dynamic planning method, and the greedy algorithm. Here we adopt the method of the greedy algorithm to solve the problem. For the selection of the constants, we referenced [6][7] . Figure3 shows the solution flow diagram. We use the greedy algorithm to search for the𝐹 , and its pseudocode is as follows: 20 Figure 3. Flow chart of the problem solving 2.4.3. Result and Discussion According to the mathematical model and solution algorithm described above, we can show the basic qualities of a rider with parameters and make his/her power profile. According to the Cyklopedia’s definition for the profile, We used four common parameters: sprint abilities (5s), anaerobic capacity described by 1 minute maximum power, 5 minutes to tell us about VO2 max capability and 20 min to describe FTP. All four above parameters can be obtained from the maximum power output curve calculated on the straight plane course. In addition, we included two parameters, AWC and CP, as competence properties of an individual’s power profile.We have developed the power profile for time trail specialist and climber for both female and male , which is shown in the appendix. First of all, we will make some analysis of the output on the straight plane course. 2.5. Real Track Model 2.5.1. Plane and Straight Lap Model To make it simple, we studied the model in a flat straight track. Here we set the length of the straight track to 4km, CP = 400W, refering the parameter setting in [6][7] and using the greedy algorithm method in the previous section, the simulation results are in the Figure4: From the results from Figure 4, we can see that the speed rises rapidly and maintains at a relatively large level, and the output power also rises rapidly, then it quickly drops and maintains at a relatively large level. Both maximum and current applied force leveled off a value after attenuation. However, the current applied force decays rapidly with partial fluctuations, which is casued by the the delayed replenishment of residual energy by aerobic respiration. This is because at the beginning of the trial, rider needs output large force in order to quickly improve the speed, when the speed is stable, the force needed is not that much big, so the power will then fall quickly and then level off. Figure 4. Optimization simulation results for a 4 km palne straight road So in the flat straight track trial , the optimal pacing strategy is to quickly accelerate to a large speed and then try to keep this speed till the end of this trial . This strategy is also called the full sprint method , which corresponds the previous research. What makes it different is that, We introduce an aerobic and anaerobic breathing model to limit the output power. As is can be seen from Figure4 , in the full sprint strategy, the applied force is basically not bounded by the maximum applied force, speed is also not limited by the maximum speed. The main limit on speed (that is, shortest 21 time requirement ) is reflected in the CP. Which means , the current power should be kept at the CP level as far as possible to maintain an efficient physical output. Also the simultaneous storage energy should be kept at a relatively large value to support the maximum available power slightly higher than the CP to maintain the optimal remaining energy stored using aerobic respiration during anaerobic respiration. Therefore, for time trial rider on straight flat roads, having a good CP is crucial to improve their grades. 2.5.2. Practical Course Model In order to optimize the optimal physical output strategy in different tracks, the model needs to be applied according to the characteristics of the course, making the output results have practical significance. From the route map and altitude plane in Figure5, it can be seen that the 2021 UCI World Championship time trial track is relatively flat as a whole, but there are certain sharp turns, while the track of the men’s time trial at the 2021 Tokyo Olympics has many sharp turns and slopes. Figure 5. The map of Tokyo Olympics course and UCI course For the consideration of the slope, according to the altitude information of 2021UCI found on the official website,the altitude is maintained within the range of 2∼8m and the change is small, so the influence of the slope can be ignored. However, in the track of the 2021 Tokyo Olympics, it can be found that the slope changes more obviously. Due to the lack of altitude and distance data, we approximate the slope of the track by image processing. After processing the map in the way of color feature extraction, grayscale, hole filling and binarization with the help of OpenCV lib, the findcontours function can be used to get a clear track outline, and the pixels of interest can be selected after screening, which can estimate the approximate slope distribution of the track, shown in the figure 6. The modeling of the slope has been discussed in the formula 4.1. Figure 6. Result of image processing 2.5.3. Sharp Turn Model and External Wind Model For the consideration of sharp turns, compared with straight roads, the friction between the wheels and the ground increases due to the centripetal force when the rider passes through the corners. Slippage will affect the performance of the race and even cause accidents, so the rider needs to actively reduce the speed when turning, and reasonably distribute physical energy to keep himself at a suitable speed As what is shown in 7. Figure 7. Result of image processing The rider is mainly subject to frictional resistance in the horizontal direction when cornering, so the power is generated by the rider himself, and the combined force of the two needs to be able to provide enough centripetal force to achieve the turn. 𝐹 represents the centripetal force of the riderr is the radius of the curve, 𝐹 is the frictional force between the rider’s wheel and the ground The speed of the rider is v. The centripetal force and the rider’s own power should be less than the frictional resistance between the 22 ground and the wheel, so we can get: 𝐹 𝑚 𝜇𝑚𝑔 (11) μ𝑔 (12) It can be seen from the above formula that the larger the radius of the curve, the greater the maximum speed allowed for turning, and the friction coefficient is also an important factor. In different weather conditions, it is necessary to pay attention to the arrangement of the cornering speed. 2.5.4. External Wind Resistance Model A large part of the cyclist’s energy is used to overcome wind resistance to do work during the riding process, so the wind direction and wind strength will have a certain impact on the cyclist’s performance, so the above model is modified to add the influence of wind,as shown in Figure15. Figure 8. Result of image processing We first establish a Cartesian coordinate system. The east direction is the initial axis, and the counterclockwise direction is the positive direction .Let β be the direction of the wind, u0 is the wind strength, α(s) represents the direction of the rider at the s position, then the relative wind speed of the rider can be expressed as: 𝑢 𝑢_0 ⋅ 𝑐𝑜𝑠 α 𝑠 β (13) After modifying the original balance equation, due to the influence of wind speed, the wind resistance of the rider will change accordingly, just modifying the partial equation of wind resistance, and then we get: 𝑚 𝐹 𝐶 ρ𝐴 𝑣 𝑢 𝑚 𝑔 μ𝑐𝑜𝑠 θ 𝑠𝑖𝑛 θ 𝐹 (14) Since the road conditions of the actual track are too complex to obtain the actual orientation angle of each section of the track, the track is divided into corresponding sections according to the turning situation in Figure7, and the orientation angles of these sections of the track are approximately calculated. Figure 9. The orientation of Tokyo course Figure10. The orientation of 2021 UCI course Figure 9 and Figure 10 approximately reflect the direction of the track. There are obvious differences between the tracks of the 2021 Tokyo race and the 2021 UCI race. The Tokyo track has many curves, and there are four turns with a large radius, the 2021 UCI track has fewer corners, and the turning radius of the corners is small, mainly sharp turns. In order to be closer to the actual situation of the competition that day, we checked the weather conditions on the day of the competition. The day of the 2021 Tokyo competition was a Grade 2 southwesterly wind. It can be determined that the wind speed u0 is 2.1m/s, and the wind direction is 73◦ . In 2021UCI Brussels, Belgium, the southeast wind was level 2, so the wind speed on the day can be set to 1.9m/s, and the wind direction is 134◦ , and the individual competition strategy is re-solved according to the modified model. 2.5.5. Corrected Model Results After considering the effects of wind resistance and cornering, the revised model is used to solve the optimal strategy for the 2021 Tokyo individual race and the 2021 UCI track. Figures 12 and 13 respectively show the riding states of the time trial professional riders at different positions on the Tokyo track and the UCI track under the optimal strategy. It can be seen from the figure 11 that the speed change of the Tokyo race in 2021 is more obvious, while the speed fluctuation of the 2021 UCI track is not large. This is because the terrain of the Tokyo track changes greatly in altitude and there are many curves, so the rider’s speed is difficult to stabilize in the sharp turning section. , It is necessary to actively reduce the driving force and output power of the rider 23 to reduce the speed, so that the rider can smoothly pass the curve. On the way up the mountain, due to the effect of gravity, the rider needs to increase the driving force and output power to maintain the speed at a high level. During the downhill process, the rider needs to Reduce the driving force and output power to save physical energy, and save physical energy for subsequent acceleration to achieve optimal time. It can be seen from the figure that the Climber has stronger explosive power than the Specialist but lacks endurance. The Specialist can reasonably plan its own physical strength and is suitable for long-distance riding, so the Specialist’s performance on different tracks is better. Figure 11. The optimal solution of Tokyo course Figure 12. The optiaml solution of 2021 UCI course 24 Table 1. optimal results for different riders The type of Cyclist The optimal time in Tokyo course(s) The optimal time in UCI course(s) Specialist(man) 3450 3630 Climber(man) 3772 3818 Specialist(woman) 3998 4040 Climber(woman) 4198 4252 The results of the query show that the 2021 Tokyo Men’s Individual Time Trial Champion takes 3304s, which is close to the optimal time of 3450s planned by the model, and the 2021 UCI Men’s Individual Time Trial Champion is 2820s, which is close to the optimal time of 3450s planned by the model, so the model has better fit. It can also be seen from the table that Climber’s performance is generally lower than that of Specialist, and the best performance of male riders is generally higher than that of female riders. The overall quality is generally higher than that of female riders, with stronger explosive power and longer lasting endurance, so the riding speed and maximum driving force of male riders are higher than that of female riders, so it takes less time for male riders to complete the full track. 3. Sensitivity Analysis In practice, the rider is not able to pace according to the optimal strategy completely. So here we analyze the effect of the rider on the final result due to its deviations from the target power distribution. For simplicity, we analyze the cyclist specialist’s pacing strategy on a 1km flat straight road. For the road with complex conditions, it is similar with this. Then we assume that each time the rider performs the optimal 𝐹 𝑡 there is a deviation of the maximum percentage∆, which means that each time 𝐹 , 𝑡 is obtained, to get 𝐹 𝑡 , the rider will randomly choose a number in 𝐹 , 𝑡 × [1 − ∆, 1 + ∆]. And our strategy is a real-time strategy. That is to say, if the rider deviates from the optimal strategy during the ride, our strategy will be adjusted for the bias according to the previous step. The results obtained are showed in Figure 15. Figure 15. Optimal simulation results for derivation of 0%,5%,10%,15% As is depicted from the Figure 15, when the deviation is not small, our model can correct the deviation of the rider so that it still approximately satisfies the optimal strategy. We also note that, if the starting derivation of 𝐹 is large, our model will fail. The rider needs to meet our optimal strategy in the initial right sprint stage as he/she could . Generally speaking , our model has good fault tolerance for deviation. 4. Conclusion In summary , we build a model based on the muscle fatigue and aerobic and anaerobic respiration to describe the relationship between the rider’s force and power . Then we use the greedy algorithm to find the optimal power output strategy for the rider .Also , we analyze the effect of the slope and turn which has not been studied yet .Based on our model , we can design different power output strategy for different riders based on different situations . Acknowledgment We thank Junlei Zhu and Beiying Huang. Their codes helped me a lot . References [1] De Koning JJ, Bobbert MF and Foster C. Determina- tion of optimal pacing strategy in track cycling with an energy flow model. J Sci Med Sport 1999; 2(3): 266277. [2] Jenny de Jong, Robbert Fokkink, Geert Jan Olsder, AL Schwab. The individual time trial as an optimal control problem.Journal 25 of Sports Engineering and Technology Vol 231, Issue 3, pp. 200 – 206 [3] Zignoli, A., Biral, F. Prediction of pacing and cornering strategies during cycling individual time trials with optimal control.SportsEng23,13(2020).https://doi.org/10.1007/s12283 - 020-00326-x [4] S. A. Fayazi, N. Wan, S. Lucich, A. Vahidi and G. Mocko, "Optimal pacing in a cycling time-trial considering cyclist’s fatigue dynamics," 2013 American Control Conference, 2013, pp. 6442-6447, doi: 10.1109/ACC.2013.6580849. [5] L. Ma, D. Chablat, F. Bennis, and W. Zhang, A new simple dynamic muscle fatigue model and its validation, International Journal of Industrial Ergonomics, vol. 39, pp. 211220, 2009. [6] L. Ma, D. Chablat, F. Bennis, W. Zhang, and F. Guillaume, A new fatigue and recovery model and its ergonomics application in human simulation, Virtual and Physical Prototyping, pp. 123137, 2010. [7] F. Ashtiani, V. S. M. Sreedhara, A. Vahidi, R. Hutchison and G. Mocko, "Experimental Modeling of Cyclists Fatigue and Recovery Dynamics Enabling Optimal Pacing in A Time Trial," 2019 American Control Conference (ACC), 2019, pp. 5083-5088, doi: 10.23919/ACC.2019.8814854. [8] Bert Blocken and Yasin Toparlar and Thijs van Druenen and Thomas Andrianne, "Aerodynamic drag in cycling team time trials," Journal of Wind Engineering and Industrial Aerodynamics, vol. 182, pp. 128-145, 2018.