摘要
单片机的应用环境往往比较复杂,面临各种干扰,其可靠性问题已经成为研究热点。软件抗干扰技术与硬件抗干扰技术相比,不仅设计灵活,节约硬件资源,成本低,同时还由于它是一种干扰过后的补救手段,因此通用性强。文章介绍了如何在软件中利用数字滤波技术将混入有用数据中的噪声剔除,如何利用指令冗余、软件陷阱技术来防止程序跑飞,以及如何利用WATCHDOG来监视程序运行。
The application environment of single-chip microcomputer is complicated, usually facing many kinds of jams.So the machine's reliability problemes have been a research hot point Comparing the hardware antijamming technique ,the software anti-jamming technique is more flexible,low cost and can save hardware resources. Also,it is a means of remedy after the jams, so it is a commonly used method, this paper, introduceing the decreasing signal noise technique based on digital filter technique, how to use the instruction redundant and software trap technique to prevent the program from running error and how to use the watchdog to monitor the program run.
出处
《电子与封装》
2009年第4期30-32,共3页
Electronics & Packaging
关键词
单片机
抗干扰
指令冗余
软件陷阱
看门狗
single-chip
anti-jamming
instruction redeundant
software trap
watchdog