1 / 21

基于 MSP430F149 和 PT100 的多路巡检温度测量

基于 MSP430F149 和 PT100 的多路巡检温度测量. 小组成员: 方洛阳 黄鑫 管通 陈骋 陈博侃 主讲人:方洛阳. 完成的功能. 基本功能: 测温 阈值设定 报警 扩展功能: 1. 曲线绘制 2. 多路巡检. 系统框图. 我们的特色. 独立的系统 1. 脱离实验箱,单独的最小系统 2. 独立的稳压供电电路 3. 高精度的模拟测温电路 界面与外观: 1. 人机交互:温度显示与曲线绘制集成在 一块 LCD 。 2. PCB 板:器件摆放合理美观。. 硬件.

cana
Télécharger la présentation

基于 MSP430F149 和 PT100 的多路巡检温度测量

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 基于MSP430F149和PT100的多路巡检温度测量 小组成员:方洛阳 黄鑫 管通 陈骋 陈博侃 主讲人:方洛阳

  2. 完成的功能 • 基本功能: • 测温 • 阈值设定 • 报警 • 扩展功能: 1. 曲线绘制 2. 多路巡检

  3. 系统框图

  4. 我们的特色 • 独立的系统 1. 脱离实验箱,单独的最小系统 2. 独立的稳压供电电路 3. 高精度的模拟测温电路 • 界面与外观: 1. 人机交互:温度显示与曲线绘制集成在一块LCD。 2. PCB板:器件摆放合理美观。

  5. 硬件 • 主要元器件介绍 1. pt100铂电阻 2. INA122 3. LM317/ASM1085 • 各模块电路原理 1. 测温电路 2. 稳压电路 3. 报警电路

  6. 测温电路

  7. 稳压电路

  8. 报警电路

  9. 软件框图

  10. LCD设计 • 基本思想 -----显示的时序到来时根据参数值刷新图像矩阵并显示 • 界面设计 -----各个模块显示位置 • 人机交互设计-----指示光标的位置和温度,路数模式的变化 • 软件设计 void start(); //LCD初始化 void display(p1,p2,p3,p4,p5) { ledcon(p1,p2,p3,p4,p5); //生成图像矩阵 showpics(bmp); //显示图像 }

  11. 软件设计: 根据传入参数生成对应的图像是显示的核心,也就是ledcon这个函数的作用。其简单的介绍如下: void ledcon(float tem[],int thr,int modepress,int mode,int track,uchar bmp[]) { reset = judge(tem); //判断是否为reset信号 if(reset==1) {直接用初始矩阵;} else { readnum(tem[0],num1); //把当前温度写上去 numtoled(17,num1[0],bmp); numtoled(22,num1[1],bmp); numtoled(30,num1[2],bmp); readnum((float)thr, num2); //把thr写上去 numtoled(17,num1[0],bmp); numtoled(17,num1[0],bmp); switch(mode) { case 1: case 2: } //写mode clearicon(bmp); //清光标 switch(modepress) //写modepress numtoled(230,track,bmp); //把路数写上去 clearpoint(bmp); //清曲线点 axistoled(tem, bmp); //生成当前温度和图 }

  12. 过程 • 第九周 需求分析,原理电路图设计 • 第十四周 器件到位,开始利用protel进行必要器件封装,制作PCB板 • 第十六周 PCB板最终调整 • 第十八周 面包板插板测试,PCB制板,软件编写 • 第十九周 焊板,软硬件联调

  13. 困难与解决 • protel • PCB • LCD • 联调

  14. 自我评价 • 团队精神 • 准备充分 • 分工合理

  15. 有待改进 • 液晶显示屏 • 按键去抖(硬件,软件) • 打定位孔

  16. THANKSQ&A

More Related