1. Introduction
Wearable sensors quantify our everyday lives by counting our steps, calories, heartbeats, and more [
1]. This provides us with valuable feedback about our lifestyle and can encourage us to increase our exercise intensity and improve our health [
2]. While such encouragement is useful, it is still up to the person to determine how to achieve this improvement. Instead, control algorithms that can use such wearable sensor feedback to regulate user’s behavior could be more effective to support people in reaching their athletic and physiological goals.
Endurance sports is an area where we can implement such control algorithms and help athletes to better pace themselves. Currently, endurance athletes are intrinsically poor at pacing. For example, self-paced runners have pacing errors of 4–8% [
3,
4]. On a 10 km race, this would add up to a substantial error of 2–4 min given a target time of 50 min. Therefore, our lab recently developed a system to improve pacing in running. A closed-loop feedback control system measured the user’s current running speed and compared it to a target speed. Based on the difference, the controller adjusted the commanded step frequency for the runner in real-time. This system reduced the pacing error to under 1% [
4].
In this paper, we develop a similar system to control an athlete’s mechanical power output in cycling. We accomplished this using a closed-loop feedback control system that adjusts the cadence of the cyclist in real-time. Mechanical power is a non-tangible quantity for a user. Matching the actual power with the desired power without our proposed feedback system leaves the cyclist with the responsibility of deciding about the proper cadence changes by themselves, which leaves potential for human errors. Therefore, a cadence-controlled system could help athletes to more accurately and more comfortably control their power in cycling. In a simple system, at a fixed gear ratio, an increase in cadence is directly proportional to an increase in power. However, in practice, other parameters such as acceleration and drag, make this relationship more complex. To get accurate control authority over the cyclist, our first step was to understand the dynamics of the system. To do so, we first built a microcontroller-operated system that provides the cyclists with changes in cadence and measures the power output. Using these data, we developed and parameterized a mathematical model that best fit the simulated power to the actual power. We then used computer simulations of cycling of this model to optimize for the proportional and integral controller gains. Finally, we implemented the optimized feedback controller into the microcontroller to test its performance in actually controlling the power output in outdoor cycling.
4. Discussion and Conclusions
This paper presents our approach to develop a novel system to control mechanical power in cycling. To understand the cyclist’s dynamic behavior, we first developed a mathematical model that can predict the mechanical power output following changes in cadence. With this model, we performed simulations to optimize the design of a closed-loop feedback control system that controlled power by changing the cadence. We optimized for the proportional and integral controller gains of the controller and then used these gains to test the performance of the actual feedback controller in outdoor cycling where a subject was guided through a range of target powers and the feedback controller adjusted the cyclist’s power accordingly with a metronome.
Our mathematical model estimated a realistic c value, but we will further leverage the model for higher accuracy. Our
c can be defined by the drag area
and the air density
ρ:
For an air density of 1.23–1.25 kg/
and a drag area of 0.27–0.36 for an upright position [
6,
7,
8]
c would be between 0.17 and 0.23. With a value of 0.36 our
c was slightly larger. We expected a larger value, because our drag number subsumes all unmodeled losses, such as rolling resistance or wind direction. For higher accuracy between the predicted and the actual power, we will further refine our model. This might include adding measurements of the rolling resistance, the wind strength and direction, or other parameters.
Accuracy was better in the simulations, but responsiveness was better in outdoor experiments. We expected better performance in accuracy in simulations than in outdoor experiments for several reasons. First, our mathematical model does not perfectly represent the cyclist. We did not include any measurement noise, subject noise, or disturbances to our model, which contributes to a larger pacing error and variability in cycling. Since we did not include a derivative gain to our control system, which is a gain that is very sensitive to measurement noise, it was not crucial for us to include noise to our simulation. Second, we optimized for the best gains for the model and not for the cyclist. We then transferred these gains to the cyclist, which might have a different gain optimum. Response time of the outdoor experiment was about a third of the responsiveness of the simulation. This discrepancy can again be explained by an imperfect simulation, but we will have to more closely investigate the model.
It is unclear whether our feedback control system led to an increase in performance. Literature is limited on data in cycling pacing accuracy. For pacing variability in 4 km time trials, Mauger et al. found a coefficient of variation of around 3.5% when giving no feedback compared to 2.2% when giving visual feedback [
9]. A coefficient of variation of 2.9% in our study indicates a performance improvement compared to cycling without feedback, but a performance deterioration compared to cycling with visual feedback. It is difficult to draw comparisons between these two studies because of differences in their experimental designs. Thus, we will conduct our own experiment, comparing cycling that is self-paced, with cycling with a monitor that displays the power, and with cycling with our feedback system.
Our approach has several limitations. First, our model is just an approximation of the cyclist’s dynamic behavior. This leads to discrepancies between the feedback control simulations and the outdoor experiments with the feedback controller. To minimize these discrepancies, we will have to more closely investigate our mathematical model, to understand its limitations and improve its performance. Second, the results shown in this paper are from a pilot study with one participant, which adds uncertainty to the results presented. Third, we used one gear ratio for the whole study, determined by the subject before the first experiment. The mathematical model accounts for the gear ratio but we have not yet investigated if changing gear ratio will change the accuracy of our model and if it affects the performance of the closed-loop feedback controller.
Our next steps will be to improve this control system to provide cyclists with high performance feedback. Towards this goal, we will fine tune our mathematical model using data from more cyclists and using a larger number of gear ratios. This system will provide cyclists with stroke by stroke control over their power. Athletes or their coaches will be able to set and complete different training protocols, such as interval training, with high accuracy, and hence, improve their performance.