摘要
为了实现对各类信号源的模拟、捕获和显示,基于STM32设计了一个综合实验方案,并采取"信号发生+信号捕获"的设计理念.以方波信号为例,利用STM32开发板,设计了一套方波信号源和相应的检测系统,该系统利用一块STM32按要求输出不同类型的方波信号,另一块STM32对方波信号进行捕获.实验结果表明:单片机1可成功实现对方波信号的模拟,单片机2则实现了对信号的捕获与显示,证实了方案的正确性与可行性.该方案是一种拓宽单片机实验范围的新思路,可应用于对工业现场各类信号源的模拟及捕获.
In order to realize the simulation,capture and display of various signal sources,a comprehensive experimental scheme is designed based on STM32,and the design concept of"signal generation+signal capture"is adopted.Taking square wave signal as an example,using STM32 development board,a set of square wave signal source and corresponding detection system are designed.The system uses one STM32 to output different types of square wave signals as required,and another STM32 counterwave signals to be captured.The experimental results show that the single-chip microcomputer 1 can successfully simulate the signal of opposing wave,while the single-chip microcomputer 2 can capture and display the signal,which proves the correctness and feasibility of the scheme.This scheme is a new idea to broaden the experimental scope of single-chip microcomputer and can be used to simulate and capture all kinds of signal sources in industrial field.
作者
海涛
陆代泽
韦文
吴宗霖
海蓝天
HAI Tao;LU Daize;WEIWen;WU Zonglin;HAI Lantian(School of Electrical Engineering,Guangxi University,Nanning 530004,China;Nanning Cigarette Factory,China Tobacco Guangxi Industrial Co.,Ltd.,Nanning 530004,China;Guangxi Shennengda Intelligent Technology Co.,Ltd.,Nanning 530004,China)
出处
《广西科技大学学报》
2021年第1期24-30,共7页
Journal of Guangxi University of Science and Technology
基金
国家自然科学基金项目(51867003)
广西重点研发计划项目(桂科AB16380193)
科技创新平台(基地)与服务能力建设项目(AE30200067)资助。