AUTHOR=Liu Qingyu , Yuan Bing , Wang Yang TITLE=Online Learning for Foot Contact Detection of Legged Robot Based on Data Stream Clustering JOURNAL=Frontiers in Bioengineering and Biotechnology VOLUME=Volume 9 - 2021 YEAR=2022 URL=https://www.frontiersin.org/journals/bioengineering-and-biotechnology/articles/10.3389/fbioe.2021.771415 DOI=10.3389/fbioe.2021.771415 ISSN=2296-4185 ABSTRACT=Foot contact detection is critical for legged robot running control using state machine, in which the controller uses different control modules in leg flight phase and landing phase. This paper presents an online learning framework to improve the rapidity of foot contact detection in legged robot running. In this framework, Gaussian Mixture Model with three sub-components is adopted to learn the contact data vectors corresponding to running on flat ground, running upstairs and downstairs. An online data stream learning algorithm is used to update the model. To dealing with the difficulty in obtaining contact data at landing moment online, a “Trace back” module is designed to trace back the contact data in the memory stack until the data meets with the probability contact criterion. To test if the foot is in contact with the ground, a projection method is proposed. The acquiring data vector during leg flight phase is projected onto an independent random vector space, and the contact event is triggered if all projected random variables fall within 1.5σ of the corresponding Gaussian distribution. Experiments on a legged robot show that the presented algorithm can predict the foot contact 16ms in advance compare with the prediction with only leg force, which will ease the controller design and enhance the stability of the legged robot control.