太原科技大学学报
太原科技大學學報
태원과기대학학보
JOURNAL OF TAIYUAN UNIVERSITY OF SCIENCE AND TECHNOLOGY
2014年
2期
81-85
,共5页
乔建华%孙少飞%邢彩荣%芦丹
喬建華%孫少飛%邢綵榮%蘆丹
교건화%손소비%형채영%호단
proteus%波形发生器%AT89C52%DAC0832%仿真
proteus%波形髮生器%AT89C52%DAC0832%倣真
proteus%파형발생기%AT89C52%DAC0832%방진
proteus%waveform generator%AT89C52%DAC0832%simulation
传统的单片机应用系统设计方法是先做出硬件,再编程调试,有开发时间长、不易修改和查错等不足,本文应用目前唯一能仿真单片机运行的proteus软件,实现了波形发生器的软硬件设计和仿真调试。该设计采用单片机AT89C52、D/A转换器DAC0832等器件,可通过按键切换不同波形(方波、锯齿波、三角波和正弦波)和输入信号频率,并在LCD上显示,而且可利用虚拟示波器观察输出波形。另外在算法上通过设置比例因子,提高了信号的输出频率。本系统应用proteus软件,将软硬件设计集于一体,便于调试和完善,成本低廉,给后期的实物制作提供了可靠保障。测试结果表明,系统性能稳定,参数精确,波形清晰,信号最高频率可达10 kHz,能满足工程及实验的一般要求。
傳統的單片機應用繫統設計方法是先做齣硬件,再編程調試,有開髮時間長、不易脩改和查錯等不足,本文應用目前唯一能倣真單片機運行的proteus軟件,實現瞭波形髮生器的軟硬件設計和倣真調試。該設計採用單片機AT89C52、D/A轉換器DAC0832等器件,可通過按鍵切換不同波形(方波、鋸齒波、三角波和正絃波)和輸入信號頻率,併在LCD上顯示,而且可利用虛擬示波器觀察輸齣波形。另外在算法上通過設置比例因子,提高瞭信號的輸齣頻率。本繫統應用proteus軟件,將軟硬件設計集于一體,便于調試和完善,成本低廉,給後期的實物製作提供瞭可靠保障。測試結果錶明,繫統性能穩定,參數精確,波形清晰,信號最高頻率可達10 kHz,能滿足工程及實驗的一般要求。
전통적단편궤응용계통설계방법시선주출경건,재편정조시,유개발시간장、불역수개화사착등불족,본문응용목전유일능방진단편궤운행적proteus연건,실현료파형발생기적연경건설계화방진조시。해설계채용단편궤AT89C52、D/A전환기DAC0832등기건,가통과안건절환불동파형(방파、거치파、삼각파화정현파)화수입신호빈솔,병재LCD상현시,이차가이용허의시파기관찰수출파형。령외재산법상통과설치비례인자,제고료신호적수출빈솔。본계통응용proteus연건,장연경건설계집우일체,편우조시화완선,성본저렴,급후기적실물제작제공료가고보장。측시결과표명,계통성능은정,삼수정학,파형청석,신호최고빈솔가체10 kHz,능만족공정급실험적일반요구。
The traditional design method of single chip microcomputer ( SCM ) application system makes hardware firstly,and then goes on with programming and debugging,which results in some defects such as long development time,not easy to modify and check,and so on. The paper uses the only SCM operation simulation software current-ly,Proteus,on which the software and hardware of the waveform generator are designed and debugged entirely. The design consists of SCM AT89C52,D/A converter DAC0832 and other devices,it not only can switch the different waveform ( square wave, sawtooth wave, triangular wave and sine wave ) and input signal frequency through the keys,display the parameters on the LCD,but also can use the virtual oscilloscope of the Proteus software to observe the output waveform. Furthermore, the signal output frequency is increased by setting the scale factor. The Proteus software used in the system makes the software and hardware design in one,easy to debug and improve,low cost, and provides a reliable guarantee for the later physical product. Test results show that the performance of system is stable,has accurate parameter and clear signal waveform,and the highest frequency of output signal can reach 10 kHz,which can meet the general requirements of engineering and experiment.