单片机控制系统软件抗干扰方法的研究  被引量:18

Software anti-interference method on the control system of single chip microcomputer

在线阅读下载全文

作  者:黄启锋[1,2] 郭丽花[1] 林有希[2] 温发林[1] 

机构地区:[1]龙岩学院机电工程系,福建龙岩364012 [2]福州大学机械工程及自动化学院,福州市350116

出  处:《中国农机化学报》2016年第2期214-217,222,共5页Journal of Chinese Agricultural Mechanization

基  金:国家自然科学基金(51075074);福建省教育厅A类项目(JA12313);龙岩学院校内产学研合作项目(LC2013007)

摘  要:软件抗干扰问题是单片机控制系统设计编程中的一个关键但常常被忽视的问题。本文简述单片机软件抗干扰技术的工作原理,介绍几种常见抗干扰方法,重点论述同类文献在软件陷阱和冗余技术方法中存在的普遍错误,并予以纠正;通过对C语言结合汇编语言混合编程的方法进行研究,与硬件"看门狗"技术相比,采用软件抗干扰编程方法后使系统复位消耗的时间大大节省,提高系统的工作效率;所提供的由C语言结合汇编语言编程得到的程序代码,同类单片机系统开发时可稍作修改或者直接采用。In the design of single chip microcomputer (SCM) control system, the problem of software anti-interference problem is a key but often overlooked in programming. This paper briefly described the principle of the anti-interference technology of SCM soft- ware and introduced several common anti-interference methods. It focused on some common errors of the software trap and redundant instruction methods on some similar past publications, which were corrected. Based on the study of mix programming of C language with assembly language, and.compared with hardware "watchdog" technology, the application of software anti-interference programming method can make system restoration greatly save time, and improve the work efficiency of the system. The mixing programming code with C language and assembly language can be modified or used directly by the similar system development of SCM.

关 键 词:C语言 汇编语言 单片机 软件编程 抗干扰 

分 类 号:TP31[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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