Proteus仿真在虛擬示波器設計中的應用
《中國測試》雜志
吳建平1, 吳姝瑤2, 劉 超1
(1. 成都理工大學(xué)核技術(shù)與自動(dòng)化工程學(xué)院,四川省地學(xué)核技術(shù)重點(diǎn)實(shí)驗室,四川 成都 610059;
2. 成都凱天電子股份有限公司,四川 成都 610091)
摘 要:應用Proteus仿真平臺實(shí)現虛擬示波器的設計,把波形發(fā)生器產(chǎn)生的波形信號作為信號源,通過(guò)A/D轉換器對輸入信號進(jìn)行數據轉換后輸入到單片機,通過(guò)單片機數據處理后用虛擬串口把數據輸出到計算機,最后由VC軟件中的INGraph控件提取數據進(jìn)行波形圖的繪制。經(jīng)仿真表明:該設計實(shí)現了虛擬示波器的功能,在實(shí)際應用中可以降低設計成本,縮短開(kāi)發(fā)周期,提高效率。
關(guān)鍵詞:Proteus軟件;A/D轉換;示波器;波形發(fā)生器
中圖分類(lèi)號:TM935.3;TP391.9;TP274;TN606 文獻標志碼:A 文章編號:1674-5124(2013)03-0079-05
Simulation of virtual oscilloscope based on Proteus software
WU Jian-ping1, WU Shu-yao2, LIU Chao1
(1. College of Nuclear Technology and Automation Engineering,Geology Nuclear Technology key
Laboratory of Sichuan Province,Chengdu University of Technology,Chengdu 610059,China;
2. Chengdu CAIC Electronics Co.,Ltd,Chengdu 610091,China)
Abstract: This paper introduced the design of the virtual oscilloscope simulated by the Proteus based on MCU technique. After ADC digitization, the triangular wave or square wave signals by the waveform generator is extracted via related algorithm, and output to computer through the virtual serial port. Finally drawing of waveform based on the digital data by the INGraph controls in VC software was achieved. By using Proteus, the simulation of the virtual oscilloscope and design of MCU systems can be realized with less design costs, less development cycles and high efficiency.
Key words: Proteus; ADC; oscilloscope; waveform generator