加速度计测量睡眠
The code is avalible on Github.
该代码在 Github 上可用 。
For exercises such as running and cycling, power output provides an unbiased metric for effort as compared to, for example, speed, irrespective of external conditions, such as wind and terrain.
对于诸如跑步和骑自行车之类的锻炼,功率输出提供了与速度相比无偏的度量标准,而不受诸如风和地形等外部条件的影响。
Power output is a widely used and well-defined metric in cycling. For power based training Functional Threshold Power (FTP), the highest sustainable power output of a cyclist over a period of 60 minutes, is first determined. The power training routine then consists of periods in predefined ‘power zones’ that are based on a cyclist’s FTP. Cycling power is typically measured with strain gauges at the crank.
功率输出是循环中广泛使用且定义明确的指标。 对于基于功率的训练功能阈值功率(FTP) ,首先确定骑自行车者在60分钟内的最高可持续功率输出。 然后,力量训练程序包括基于骑自行车者的FTP的预定义“力量区”中的时段。 循环功率通常用曲柄处的应变仪测量 。
For running, however, there’s no agreed way to measure power output. Of course, it can be measured with force plates on a treadmill, but it’s not a viable option for running on a track. There are multiple techniques of measuring running power, one of which is Stryd, that estimates power using an accelerometer mounted on top of a foot. Their technology is proprietary, but there is a proposed model for power measurements, External Energy Summation Approach (EESA), that is described by Ron George, and that seem to align well, with the results obtained from the Stryd power meter.
但是,对于运行而言,尚无商定的方法来测量功率输出。 当然,可以使用跑步机上的测力板进行测量,但这不是在轨道上运行的可行选择。 有多种测量运行功率的技术,其中之一就是Stryd ,它使用安装在脚顶部的加速度计来估算功率。 他们的技术是专有技术,但是有一个建议的功率测量模型,即外部能量求和方法(EESA),由Ron George描述,并且似乎与从Stryd功率计获得的结果非常吻合。
EESA is a comprehensive model that can approximate running power and how it changes over time, accounting for different conditions. Eventually, we would like to implement this model and perform such running power measurements, however, as a first exercise, we will only measure total work done (and hence average power) against external forces on a straight path with a much simpler model.