论文部分内容阅读
随着微型计算机的应用和推广,各种电工测量仪表也朝着集成化、,小型化、数字化和智能化方向发展.该测量交流信号的频率和幅度的设计电路,主要是由TP—801单板机、集成电路组成,适合应用在自动控制和测试电脑化的大型监控系统中,具有体积小、“重量轻、价格低,耗电量小等特点.实时、准确地测量交流信号的频率(周期)、幅度,以便控制和监视交流信号的变化,这在生产实际,科学研究以及教学实习等方面都是非常重要的.目前多数采用常规的测量方法,在上述几个特点上,相对利用微型机测量要逊色得多.本文介绍的这个方法是用Z—80单板机实时测量交流信号的频率(周期)、幅度、简便易行,只要用简单的接口电路,把程序送入单板机,就可以随时准确地测量,同时把数据在单板机数码管上显示出来,非常醒目直观,测量频率的基本原理:交流信号的频率是电磁波每秒钟振荡的次数,把交流信号转换成可用于计数的计数脉冲,严格地控制计数时间、计算出单位时间的振荡次数,即可测得交流信号频率.所以频率测量的核心环节是时间控制和计数.测量幅度的基本原理:整个设计的电路是由峰值保持电路、模数转换电路、接口电路、TP—801单板机组成.测量交流信号的幅度的核心环节是保持住输入电压的峰值和将该模拟量转换成数字量.
With the application and popularization of microcomputers, various kinds of electrician measuring instruments have also been developed towards integration, miniaturization, digitization and intelligence.The circuit for measuring the frequency and amplitude of AC signals is mainly composed of single TP-801 Board machine, integrated circuit, suitable for automatic control and computerized testing of large-scale monitoring system, with small size, "light weight, low price, low power consumption and other characteristics of real-time, accurate measurement of the frequency of the AC signal Cycle), amplitude, in order to control and monitor the exchange of signal changes, which in production practice, scientific research and teaching internship, etc. are very important.At present, the majority of conventional measurement methods, the above characteristics, the relative use of micro Machine measurement to be much less.This method is described in this paper Z-80 single-board real-time measurement of the AC signal frequency (period), amplitude, simple and easy, as long as a simple interface circuit, the program into the single-board , You can accurately measure at any time, at the same time the data displayed on the single tube digital tube, very striking and intuitive, the basic principle of measuring frequency: the frequency of the AC signal is electromagnetic waves The number of oscillations per second, the AC signal into a count pulse can be used to count, strictly control the counting time, calculate the number of oscillations per unit time, you can measure the AC signal frequency, so the core of frequency measurement is time control And counting. The basic principle of the measurement range: The entire design of the circuit by the peak hold circuit, analog-digital conversion circuit, interface circuit, TP-801 single board machine to measure AC signal amplitude core part is to maintain the peak input voltage And convert that analog quantity to a digital quantity.