物联网学报 ›› 2023, Vol. 7 ›› Issue (2): 133-142.doi: 10.11959/j.issn.2096-3750.2023.00330

• 理论与技术 • 上一篇    下一篇

基于低成本物联网芯片ESP32的人体行为识别系统

胡超1, 鲁邦彦1, 杨彦兵1,2, 陈哲3, 张磊1, 陈良银1,2   

  1. 1 四川大学计算机学院,四川 成都 610065
    2 四川大学工业互联网研究院,四川 成都 610065
    3 广州爱闻思人工智能有限公司,广东 广州 510555
  • 修回日期:2023-03-09 出版日期:2023-06-30 发布日期:2023-06-01
  • 作者简介:胡超(2000- ),男,四川大学计算机学院硕士生,主要研究方向为无线网络、Wi-Fi感知、可见光通信
    鲁邦彦(2000- ),男,四川大学计算机学院硕士生,主要研究方向为可见光通信、嵌入式Linux、无线网络
    杨彦兵(1987- ),男,博士,四川大学计算机学院副研究员,主要研究方向为智能感知与通信、可见光通信与传感
    陈哲(1988- ),男,博士,广州爱闻思人工智能有限公司研究员,主要研究方向为AIoT、人工智能
    张磊(1978- ),男,博士,四川大学计算机学院副教授,主要研究方向为数据挖掘、移动计算
    陈良银(1968- ),男,博士,四川大学计算机学院教授,主要研究方向为物联网系统及安全、工业互联网、智能识别等
  • 基金资助:
    国家自然科学基金资助项目(61902267);国家自然科学基金资助项目(62072319);四川省科技厅重点研发项目(2020YFS0575);四川大学-宜宾市战略合作专项项目(2020CDYB-29)

Human activity recognition system based on low-cost IoT chip ESP32

Chao HU1, Bangyan LU1, Yanbing YANG1,2, Zhe CHEN3, Lei ZHANG1, Liangyin CHEN1,2   

  1. 1 College of Computer Science, Sichuan University, Chengdu 610065, China
    2 Industrial Internet Research Institute, Sichuan University, Chengdu 610065, China
    3 AIWise Co., Ltd., Guangzhou 510555, China
  • Revised:2023-03-09 Online:2023-06-30 Published:2023-06-01
  • Supported by:
    The National Natural Science Foundation of China(61902267);The National Natural Science Foundation of China(62072319);The Key Research and Development Program of Science and Technology Department of Sichuan Province(2020YFS0575);The Sichuan University-Yibin Municipal People’s Government University and City Strategic Cooperation Special Fund Project(2020CDYB-29)

摘要:

人体行为识别广泛存在于运动管理、行为分类等应用中,当前的人体行为识别应用主要分为基于摄像机、基于可穿戴设备和基于Wi-Fi感知3类。其中,基于摄像机的人体行为识别应用存在隐私泄露的风险,基于可穿戴设备的人体行为识别应用存在续航短、精度差等问题。基于Wi-Fi感知的人体行为识别一般通过Wi-Fi网卡或软件无线电设备识别信道状态信息变化的规律,从而推测用户行为,不存在隐私泄露和续航短的问题,但Wi-Fi网卡需要依靠计算机且软件无线电平台价格昂贵,极大地限制了Wi-Fi感知的应用场景。针对上述问题,提出了一种基于低成本物联网芯片 ESP32 的人体行为识别系统。具体地,所提系统首先使用 Hampel 滤波器和高斯滤波器对ESP32获得的信道状态信息进行预处理,然后使用主成分分析和离散小波变换降低数据的维度,最后通过K最近邻(KNN, K-nearest neighbor)算法对数据进行分类。实验结果表明该系统在仅使用两个ESP32节点的情况下,可以达到与当前主流Wi-Fi感知系统(Intel 5300网卡)相近的识别准确率,6种行为的平均准确率为98.6%。

关键词: 人体行为识别, 信道状态信息, KNN, 离散小波变换, 动态时间规整

Abstract:

Human activity recognition widely exists in applications such as sports management and activity classification.The current human activity recognition applications are mainly divided into three types: camera-based, wearable device-based, and Wi-Fi awareness-based.Among them, the camera-based human activity recognition application has the risk of privacy leakage, and the wearable device-based human activity recognition application has problems such as short battery life and poor accuracy.Human activity recognition based on Wi-Fi sensing generally uses Wi-Fi network cards or software-defined radio devices to identify the rules of channel state information changes, so as to infer user activity.It does not have the problems of privacy leakage and short battery life.But Wi-Fi network cards need to rely on computers and software-defined radio platforms are expensive, which greatly limit the application scenarios of Wi-Fi sensing.Aiming at the above problems, a human activity recognition system based on the low-cost IoT chip ESP32 was proposed.Specifically, the Hampel filter and Gaussian filter were used to preprocess the channel state information obtained by ESP32.Then, the principal component analysis and discrete wavelet transform were utilized to reduce the dimension of the data.Finally, the K-nearest neighbor (KNN) algorithm was applied to classify data.The experimental results show that the system can achieve a recognition accuracy which close to the current mainstream Wi-Fi perception system (Intel 5300 network card) when only two ESP32 nodes are deployed, and the average accuracy rate for the six activities is 98.6%.

Key words: human activity recognition, channel state information, KNN, discrete wavelet transform, dynamic time warping

中图分类号: 

No Suggested Reading articles found!