《机电工程》杂志,月刊( 详细... )
中国标准连续出版物号: ISSN 1001-4551 CN 33-1088/TH
主办单位:浙江省机电集团有限公司
浙江大学
主编:陈 晓
副 主 编:唐任仲、罗向阳(执行主编)
总 经 理:罗向阳
出 版:浙江《机电工程》杂志社有限公司
地 址:杭州市上城区延安路95号浙江省机电集团大楼二楼211、212室
电话Tel:+86-571-87041360、87239525
E-mail:meem_contribute@163.com
国外发行:中国国际图书贸易总公司
订阅:全国各地邮局 国外代号:M3135
国内发行:浙江省报刊发行局
邮发代号:32-68
广告发布登记证:杭上市管广发G-001号
在线杂志 |
当前位置: 机电工程 >>在线杂志 |
基于USB接口的虚拟逻辑分析仪的设计
作者:陈岁生1,楼晓春1,金文兵2,郑芹姜3 日期:2008-06-23/span> 浏览:4123 查看PDF文档
基于USB接口的虚拟逻辑分析仪的设计
陈岁生1,楼晓春1,金文兵2,郑芹姜3
(1.杭州职业技术学院 机电工程系,浙江 杭州 310018;2.浙江机电职业技术学院 电气工程系,
浙江 杭州 310053;3.国航工程技术分公司杭州维修基地,浙江 杭州 311207)
摘要:传统的逻辑分析仪结构复杂,体格昂贵。介绍了基于USB接口的虚拟逻辑分析仪的设计思想与方法,利用PC机实现了逻辑分析仪的显示、分析、控制等功能,降低了硬件电路设计难度和成本、提高了可靠性和性能;采用“MCU+FPGA”实现了信号的触发、缓存和传输控制,并且通过USB接口与PC机连接,提高了信号采样速度。重点阐述了基于USB接口的虚拟逻辑分析仪的硬件、软件系统设计。应用结果显示,该方法有效可行。
关键词:虚拟仪器;USB;逻辑分析仪
中图分类号:TP216.2文献标识码:B文章编号:1001-4551(2008)06-0100-03
Design of virtual logic analyzer based on USB interface
CHEN Sui|sheng1, LOU Xiao|chun1, JIN Wen|bing2, ZHENG Qin|jiang2
(1.Department of mechanical & Electrical Engineering, Hangzhou Vocational & Technical College, Hangzhou 310018, China;
2.Department of Electrical Engineering, Zhejiang Institute of Mechanical & Electrical Engineering, Hangzhou 310053, China;
3.Hangzhou Maintenance Base of Air China Technics, Hangzhou 311207, China)
Abstract: Traditional logic analyzer is complicated and expensive. Design of virtual logic analyzer based on Universal Serial Bus (USB) interface was described, functions such as display, analysis and control were realized on PC, thus difficulty and cost of hardware design was reduced, reliability and performance were enhanced. Triggering, caching and transferring of signal were realized based on “MCU+FPGA”. Communicating between PC by USB, its sampling rate was enhanced. The design of hardware and software was described. The result of application shows that the method is officient and effective.
Key words: virtual instrument; USB; logic analyzer
参考文献(Reference):
[1]师奕兵,王厚军.高速逻辑分析仪产品化设计的关键技术[J].仪器仪表学报,2002,23(5):38-40.
[2]李爱华,王庆.基于PC机的虚拟逻辑分析仪的设计[J].计算机应用,2003(9):22-23.
[3]马敬东,陈明方.基于USB串口通信数据采集技术的实施[J].仪表技术与传感器,2007(2):68-75.
[4]周立功.USB2.0与OTG规范及开发指南[M].北京:北京航空航天大学出版社,2004.
[5]Integrated Device Technology Inc. CMOS Asynchronous FIFO [EB/OL]. [2006-07-09]. http://www.idt.com.
[6]Silicon Laboratories. C8051F34x Datasheet [EB/OL]. [2006-03-05]. http://www.silabs.com.
[7]JEFF P. MFC Windows程序设计[M].北京:清华大学出版社,2007.
友情链接