基于C8051F120的手持式汽车专用示波器设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
汽车示波器的诞生,为汽车维修人员快速诊断汽车电子设备和点火系统故障提供了一个有力的工具。目前,国内汽车专用示波器市场几乎全被国外厂商占领,高昂的价格阻碍了汽车专用示波器在汽车修理过程中的广泛应用,这严重阻碍了我国汽车修理业的发展。因此对汽车专用示波器的研究和设计具有十分重要的意义。
     本文主要目的是设计出一款能够普及使用的手持式汽车专用示波器,该示波器特点为采用液晶显示、重量轻、操作使用方便;其功能包括对发动机点火系统、汽车传感器及汽车电子设备等进行测试。汽车维修人员可根据被测对象的在示波器LCD上显示的波形信号判断被测对象工作正常与否。课题以单片机C8051F120作为系统的核心,调控整个系统正常运行,同时完成对数据的处理。复杂可编程逻辑器件EPM7256S作为系统的外围控制器,实现对系统的SRAM、A/D等的控制。采用液晶屏显示,为用户提供友好的界面,并实现了系统的小型化和便携式。
     本课题的主要完成工作如下:
     (1)研究了数字存储示波器的原理,并在此基础上提出了基于MCU+CPLD的手持式汽车专用示波器的实现方案。
     (2)利用集成芯片设计了四通道数据采集电路,利用CPLD设计了分频电路、峰值捕捉电路及其它逻辑控制电路,利用MCU设计了系统触发、发动机转速测量等电路。
     (3)设计了MCU与静态存储器(SRAM)、LCD显示模块、键盘、RS232接口的硬件接口电路,电路经调试,基本实现了相应的功能。
     (4)在硬件设计的基础上,基于模块化程序设计思想,开发了系统软件、波形显示软件等,并进行了相应的在系统调试。
     本仪器在神龙富康发动机实训台上多次试验,试验结果证明本系统硬件设计正确性、软件设计合理性。
The naissance of automobile oscilloscope provide a powerful tool to men who mainten automobile , whice make them easily and fastly find failures of the automobile electronics equipments and fire-system. Currently, the foreign companies predominate the local market of automobile oscilloscope. The automobile oscillograph is hindered to apply wildly in the process of repairing and testing autocar by high price, whice badly baffle the development of our counter's industry of automobile maintenance. So, it is importent to develop and design automobile oscilloscope.
     We want to design a portable automobile oscilloscope which is used very conveniently in this paper , with light, using LCD, low-price. The Single-chip microcomputer C8051F120 controls the whole system, and at the same time it functions data processing. The CPLD EPM7256S works as the system's peripheral controller SRAM and A/D clock. By using LCD, it provides the friendly interface for user's convenient operation, and makes the system miniaurization and portable.
     The finished tasks of this project are as follows:
     (1) On the basis of the analysis of DSO's fundamental principle, the design of a kind of portable automobile oscilloscope system was discussed based on MCU and CPLD.
     (2) Designing four-channel data gather circuit based on ic chip. Designing sub-frequency,peak-value-catching and other logic control circuit based on complex programmable logic device. Designing system-spring,engine rotate speed measure circuit,and so on.
     (3) Designing hardware interface circuit between MCU and SRAM,LCD display-module,key-board,RS232. By debugging the circuit, achieveing our objective by and large.
     (4) On the basis of hardware circuit,we develop system software,wave-displaying and so on, based on modularizing-programme-design idea. And we use JTAG to debug the software on system circuit.
     By testing the system on ShenLongFuKang engine teaching platform,the validity of the system hardware design and the rationality of the system software design are proved.
引文
[1]于建淑,孙德润,王金光,要旭平.汽车智能化检测设备及应用[M].北京:人民交通出版社,2004,1:1-4.
    [2]赵忠义.示波器原理、维修与检定[M].北京:电子工业出版社,1990:90.
    [3]李刚,彭京良.微型液晶显示数字存储示波器[J].电子技术应用,1997,3:34-34.
    [4]李崇德.现代数字存储示波器原理与应用[M].北京:电子工业出版社,1989:3-20.
    [5]示波器基础[EB/OL].http://www.51sbq.com/article_35.html,2007-2-16.
    [6]郭志勇.基于SOPC技术的手持式数字存储示波表硬件设计[N]:[硕士学位论文].成都:电子科技大学信息与通信工程学院,2004.
    [7]周振安,王秀英.单片机发展的新台阶-C8051FXXX系列[J].无线电,2003,493(10):40.
    [8]张迎新,雷文,姚静波.C8051F系列SOC单片机原理及应用[M].北京:国防工业出版社2005.8:15-19.
    [9]MAX7000 Datasheet [EB/OL].http://www.altera.com.cn/literature/ds/m7000.pdf,2007-4-15.
    [10]谭敏.基于MAX+plus Ⅱ软件平台设计数字电路[J].安徽师范大学学报(自然科学版),2002:25(2):151-153.
    [11]陈一新.高速A/D转换器TLC5540及其应用.《国外电子元器件》,2002,(3)63-65.
    [12]TLC5540 8-BIT HIGH-SPEED ANALOG-TO-DIGITAL CONVERTER [EB/OL].http://focus.ti.com.cn/cn/docs/prod/folders/print/tlc5540.html,2007-3-20.
    [13]徐丙垠,李胜祥,陈宗军.通信电缆线路障碍测试技术[M].北京:北京邮电大学出版社,2000,9:77-79.
    [14]杨景常.高速数据采集系统中数据存储电路的方案确定[J].测控技术,2001,20(12):42-45.
    [15]徐维祥,刘旭敏.单片机微型机原理及应用[J].大连理工大学学报(自然科学版),2001,(20)3:22-24.
    [16]IDT71256 Datasheet [EB/OL].http://www.datasheetcatalog.com/datasheets_pdf/I/D/T/7/IDT71256.shtml,2007-5-30.
    [17]张丽云.计算机接口实验平台的研制与开发[N]:[硕士学位论文].北京:北京交通大学计算机学院,2007,3.
    [18]LCD智能显示终端VT TFT3224说明书.广州市微嵌计算机有限公司[EB/OL].WWW.QXLCD.COM,2007-5-30.
    [19]彭丽.10kV/35kV电子式电压/电流互感器研究[N]:[硕士学位论文].武汉:华中科技大学电气与电子工程学院,2004.
    [20]郭荣祥,李亦群,高工.高速运算放大器应用技术[J].电子技术应用.1998,4:68-70.
    [21]魏福立.优化高速运放的稳定性[J].半导体情报.1999,36(3):40-43.
    [22]AD8032 Datasheet [EB/OL].http://www.ortodoxism.ro/datasheets/analogdevices/181192396AD8032_2_b.pdf ,2007-6-30.
    [23]Interfacing the X9241 XDCPs to 8051 Microeontrollers by Applications Staff,June 2000.
    [24]沈维聪,刘义菊.利用X9241实现高分辨率数控电位器[J].电测与仪表,2001,38(10):23-25.
    [25]逢玉台,王建华.X9241原理及应用[J].微电子技术,2006,(22):138-140.
    [26]ADG713 Datasheet [EB/OL].http://www.analog.com/UploadedFiles/Data_Sheets/ADG711_712_713.pdf,2007-6-20.
    [27]TLC5540/TLC5510/TLC5540A Evaluation Module [EB/OL].http://www.icbase.com/pdf/add/ti/DT-101-003en.pdf,2007-5-26.
    [28]AD580 Datasheet [EB/OL].http://www.analog.com/UploadedFiles/Data_Sheets/AD580.pdf,2007-4-20.
    [29]胡理,师奕兵,黄建国.峰值检测技术在数据采集卡中的应用[J].仪器仪表学报,2004,25(4):408
    [30]刘必虎,沈建国.数字逻辑电路[M].北京:科学出版社,1999:145.
    [31]C8051F12X中文手册[EB/OL].http://www.xhl.com.cn/xhl/downfile/C8051F12x-13x.pdf,2007-6-15.
    [32]Fluke 123 Industrial ScopeMeter User's Manual.Fluke Corparation,1999.
    [33]TDS1000和TDS2000系列数字存储示波器用户手册.TEKTRONIX INC.2002.
    [34]LM361 Datasheet [EB/OL].http://eshop.engineering.uiowa.edu/NI/pdfs/00/57/DS005708.pdf,2007-5-19.
    [35]丁听,李子健.基于8051单片机的频率测量技术[J].电子元器件应,2007,9(8):31-33.
    [36]路林涛,夏路易.一种单片机串行总线键盘的设计[J].科技情报开发与经济,2007,17(10).
    [37]数码管驱动及键盘控制芯片CH452中文技术手册.[EB/OL].http://wch.cn/download/list.asp?id=61.
    [38]宋占坡.利用RS232C实现上位机与下位机的通信[J].元器件应用,2007,11.
    [39]MAX232 Datasheet [EB/OL].http://focus.ti.com/lit/ds/symlink/max232.pdf,2007-4-20.
    [40]张海藩.软件工程导论[M].北京:清华大学出版社,1992:46-51.
    [41]任哲.嵌入式实时操作系统μC/OS-Ⅱ原理及应用[M].北京:北京航空航天大学出版社,2005,8:1-3。
    [42]高金源,夏洁.计算机控制系统[M].北京:清华大学出版社,2007,1:257-258.
    [43]牛余朋,成曙.单片机数字滤波算法研究[J].中国测试技术,2005,31(6):97-99.
    [44]周慧,陈强,张晓东,李俊.单片机控制系统抗干扰技术研究[J].石油矿场机械,2007,36(10):11-13.
NGLC 2004-2010.National Geological Library of China All Rights Reserved.
Add:29 Xueyuan Rd,Haidian District,Beijing,PRC. Mail Add: 8324 mailbox 100083
For exchange or info please contact us via email.