摘要随着51系列单片机的发展,其芯片价格在不断下降,但同时也带来了单片机芯片的抗干扰问题,该问题可能导致一些智能型仪器仪表单片机工业控制系统发生“死机”。笔者通过近几个月的设计和实践,总结了一套可靠的“看门狗”硬件电路及软件设计方法。由于一些专业期刊曾经刊登过许多关于“看门狗”硬件电路构成的文章,同时也详细描述了关于“看门狗”电路非正常失效故障原因的分析及针对性软件设计技巧,本文给出特定看门狗硬件电路,并且根据看门狗设计原理给出了它的软件设计方法。64359

毕业论文关键词   抗干扰   单片机   看门狗技术

毕业设计说明书(论文)外文摘要

Title      Research on Application of Watchdog program    under the temperature acquisition system                                          

Abstract With the development of the 51 Series MCU chip, The chip is falling in price, but it also brought the problem of the anti-jamming problem of single chip, the problem may lead to "crash occurred some intelligent instruments SCM industrial control system". Through the design and practice of the past few months, author summed up a set of reliable "watchdog" hardware circuit and software design method. Due to some professional journals have published many articles about "watchdog" hardware circuit, and a detailed description of the analysis on the "watchdog" circuit abnormal failure reasons and specific software design techniques, this paper gives the specific "watchdog" hardware circuit, and the method of software design according to the "watchdog" design principle.

Keywords  Anti-interference    SCM     Watchdog

目   次

1 绪论 1

1.1 论文研究的背景 1

1.2 目的及意义 1

1.3 本文主要内容 1

1.4 研究内容 2

2 系统的总体设计 4

2.1 需求分析 4

2.2 设计原理[16] 5

2.3 设计思路 6

2.3.1 整体设计思路 7

2.3.2   硬件看门狗技术[14][15] 8

2.3.3 软件看门狗技术[10]~[13] 10

2.4 流程图 11

2.4.1  主程序流程图 11

2.4.2  T1中断程序流程图 13

2.4.3 T0中断服务程序 14

3 程序实用性检测 15

3.1 电路图 15

3.2 检测结果及分析 15

3.2.1实验结果 15

3.2.2出现的问题及解决办法 15

结  论 17

致  谢 18

参考文献 19

1  绪论

1.1  论文研究的背景

在工业环境的单片机运行系统,由于外界不安因素过多,在运行的过程中一旦因干扰失控,很容易出现“死机”的现象,比如系统无法正常工作,处于瘫痪状态,但硬件电路并没有损伤,只是内部程序运行出现了错误等问题。这时,由于即使消除干扰,系统也不会恢复正常工作,我们有必要研究相关抗干扰技术来保证受到干扰后能让程序自动恢复正常。然而“看门狗”作为一种常用的抗干扰措施,可用以保证系统因干扰问题而引起的程序“乱飞”后能重新复位。[1]论文网

上一篇:集束扭转成型燃料制备与性能测试
下一篇:单片机电流检测的工业用加湿器系统控制+电路图

单片机数字红外测距系统设计+电路图+程序

冷库GPRS的无线数据采集系统设计

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

粉料称重装置的单片机控...

STM32单片机的无刷直流电机控制系统设计

国内外无刷直流电动机研究现状

高校网球场馆运营管理初探【1805字】

中国古代秘书擅权的发展和恶变

谷度酒庄消费者回访调查问卷表

拉力采集上位机软件开发任务书

辩护律师的作证义务和保...

浅谈新形势下妇产科护理...

多元化刑事简易程序构建探讨【9365字】

浅谈传统人文精神茬大學...

《醉青春》导演作品阐述