文章编号:1005-5630(2023)02-0036-10DOI:10.3969/j.issn.1005-5630.2023.002.005基于STM32F4的ABS传感器输出正弦信号测量装置设计任梦圆,黄芳灵,张荣福(上海理工大学光电信息与计算机工程学院,上海200093)摘要:汽车轮速传感器是防抱死制动系统(ABS)的关键部件之一,其性能的好坏直接决定了ABS性能的高低。磁电式ABS转速传感器的输出近似为正弦信号,通过对正弦信号幅值、频率、有效值的测定,可以分析获得传感器性能。本文以STM32F407为主控制板,以快速傅里叶变换为主要工具,设计了一款数字控制正弦信号测量装置进行各参数测量。经过实验验证,本装置可在5%的误差内精确测量输入信号的频率、有效值、峰值、失真度并还原信号波形。此外,为了便于观测,本设计借助蓝牙通信模块将测量数据同步上传到手机端。关键词:ABS传感器;正弦信号测量;STM32;快速傅里叶变换;蓝牙通信中图分类号:TN98文献标志码:ADesignofABSsensoroutputsinusoidalsignalmeasurementdevicebasedonSTM32F4RENMengyuan,HUANGFangling,ZHANGRongfu(SchoolofOptical-ElectricalandComputerEngineering,UniversityofShanghaiforScienceandTechnology,Shanghai200093,China)Abstract:Theautomobilewheelspeedsensorisoneofthekeycomponentsofanti-lockbrakingsystem(ABS),anditsperformancedirectlydeterminesthelevelofABSperformance.TheoutputofthemagnetoelectricABSspeedsensorisapproximatelyasinusoidalsignal,andtheperformanceofthesensorcanbeobtainedbyanalyzingtheamplitude,frequencyandeffectivevalueofthesinusoidalsignal.ThisworktakesSTM32F407asthemaincontrolboardandusesfastFouriertransformasthemaintooltodesignadigitallycontrolledsinusoidalsignalmeasurementdevicetomeasurevariousparameters.Ithasbeenverifiedbyexperimentsthatthedevicecanaccuratelymeasurethefrequency,effectivevalue,peakvalueanddistortionoftheinputsignalwithin5%errorandrestorethesignalwaveform.Atthesametime,inordertofacilitateobservation,thisdesignusesthebluetoothcommunicationmoduletosynchronouslyuploadthemeasurementdatatothemobilephone.收稿日期:2022-03-30基金项目:上海理工大学创新创业项目(SH2021031)第一作者:任梦圆(2001—),女,本科生,研究方向为电子信息。E-mail:ren_432@163.com通信作者:张荣福(1971—),男,教授,研...