游泳動作評估與硬體實作設計
IMU-based Swimming Motion Evaluation and Hardware implementation
摘要
近年來, 在游泳訓練中,越來越多的科技被介紹當作游泳訓練評估標準。透過這些有系統的科技可以讓泳者的游泳表現更上一層樓。游泳偵測、泳姿分類以及換氣判斷是三個常用且直覺來評估泳者的表現。因此,我們提出一個非侵入性且實際的九軸感測器 (IMU) 穿戴系統,作為游泳表現評估。這個系統主要是將一顆九軸感測器裝置在泳者的泳帽內,並且判斷是否游泳、分類泳姿和辨認是否換氣。四位來自台灣師範大學的游泳隊選手分別游了四個泳姿。透過擷取感測器的訊號,將訊號在時域上的特徵取出,接著再使用CART的分類樹做分類判斷。游泳偵測、泳姿判斷和換氣偵測的準確率分別為94.92%、95.59%和94.96%。最後我們再將訓練好的模型實作在硬體上,分別實作在PYNQ-Z1的FPGA板上和台積電 (TSMC) 以及聯電 (UMC) 的18奈米製程。TSMC和UMC的18奈米製程做到合成邏輯閘階段。
Nowadays more and more scientific approaches are introduced into swimming training. Swimmers can be trained more effectively with the scientific analysis. Swim detection, stroke classification and breath detection are the most common and intuitive aspects to evaluate the performance of the swimmers. In this work, a non-intrusive, practical IMU-based wearable system for swimming motion evaluation is proposed. This system focuses on head movements with a single IMU-device mounted underneath the swimming cap. Swim detection, stroke classification and breathe detection are performed. Four competitive swimmers are recruited for this experiment. The selected features in time-domain are classified with CART decision tree and the accuracy of stroke classification, swim detection and breathe detection are 95.59%, 94.92% and 94.96% respectively. This system is further implemented on FPGA. The algorithm is trained on the CPU, and the inference model is applied to PYNQ-Z1 FPGA board to validate the model. Meanwhile, a hardware Overlay, which is a hardware library on PYNQ-Z1, is designed to verify the acceleration. Furthermore, TSMC and UMC technology is also used to synthesize the design to gate level.