毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

51单片机温度采集系统中看门狗程序的应用研究

时间:2021-03-14 20:25来源:毕业论文
51系列单片机的发展,其芯片价格在不断下降,但同时也带来了单片机芯片的抗干扰问题,该问题可能导致一些智能型仪器仪表单片机工业控制系统发生“死机”

摘要随着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]论文网 51单片机温度采集系统中看门狗程序的应用研究:http://www.751com.cn/zidonghua/lunwen_71492.html

------分隔线----------------------------
推荐内容