基于嵌入式的机械旋转编码开关信号检测软件设计  被引量:1

Design of Embedded Rotating Coding Switch Signal Detection Software

在线阅读下载全文

作  者:周首杰 ZHOU Shoujie(Vehicle Engineering College,Hunan Automotive Engineering Vocational College,Zhuzhou Hunan 412000)

机构地区:[1]湖南汽车工程职业学院车辆工程学院,湖南株洲412000

出  处:《河南科技》2020年第11期20-22,共3页Henan Science and Technology

摘  要:嵌入式控制是指将单片机嵌入产品中,对产品起到控制作用。机械式旋转编码开关是通过人工操作旋转方向来控制某个量的增加或减小。虽然产生的信号只有两个,但是干扰信号的存在使信号准确检测变得相对困难。通常使用的检测方法有两种,一是通过中断方式进行外部信号的采集,二是通过查询方式进行信号的检测。本文对两种方法进行比较,进而采用较好的办法进行软件设计,有效滤除抖动带来的干扰信号影响。Embedded control refers to embedding the single-chip microcomputer in the product and playing a control⁃ling role on the product.The mechanical rotary coding switch controls the increase or decrease of a certain amount by manually operating the direction of rotation.Although only two signals are generated,the presence of interfering sig⁃nals makes it relatively difficult to detect the signals accurately.There are two commonly used detection methods,one is to collect external signals by interruption,and the other is to detect signals by query.This paper compared the two methods,and then adopted a better method for software design,effectively filtering out the effects of interference signals caused by jitter.

关 键 词:嵌入式产品 机械旋转编码开关 信号检测 抗抖动 中断 查询 

分 类 号:TM564[电气工程—电器]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象