基于STM32单片机的FIR滤波器设计
Design of Fir Filter Based on STM32 Microcontroller
姜余祥 1杨萍 1刘明 1余梦桓 1付羽彤1
作者信息
- 1. 北京联合大学 智慧城市学院,北京 100101
- 折叠
摘要
使用STM32F103CBT6单片机,实现了一种高阶FIR滤波器算法.通过MATLAB完成FIR滤波器设计,并在单片机上完成滤波器算法移植.脑波信号采样后数据经过该FIR滤波器滤波,并将滤波后数据关联到MATLAB上进行时域和频域分析.结果表明,使用软件设计实现的FIR滤波器,有利于提高脑机设备的抗干扰性能.
Abstract
A high-order FIR filter algorithm was implemented using the STM32F103CBT6 microcontroller.Firstly,complete the FIR filter design using MATLAB and transplant the filter algorithm onto a microcontroller.Then,the brainwave signal was sampled and the data was filtered by the FIR filter,and the filtered data was correlated to MATLAB for time-domain and frequency-domain analysis.The results have shown that using software designed and implemented FIR filters is beneficial for improving the anti-interference performance of brain computer devices.
关键词
EEG/FIR/FFT/STM32Key words
EEG/FIR/FFT/STM32引用本文复制引用
基金项目
2023年度北京联合大学教育教学研究与改革项目(JJ2023Z004)
出版年
2024