微机化在线实时两相流测量用相关仪的研制

Research on the On-line and Real Time Microprocessor-based Cross Correlator for Two-phase Flow Rate Measurement

  • 摘要: 提出了一种快速极性相关算法,该算法利用标准8位微处理器具有的按位和处理8位数据的功能,采用了查表方式计算相关值,并以二分法进行峰值搜索。在Z8671单片机(晶振7.3728MHz)上执行该算法,允许的最高采样频率为18.08kHz。如果取相关计算长度为256点,测量窗口为127点,采样后只需10ms便可以给出流体流经距离L的渡越时间,从而使以微处器为核心的相关仪,可以满足实时应用的要求。

     

    Abstract: A fast polarity correlation algorithm is presented which utilizes the functions of a standard 8-bit microprocessor to handle 8-bit data and to look up a table. The peak of the correlation function is searched by scanning and bisection method. When it is programmed on a Z8671 Single-chip microcomputer clocked at 7.3728MHz, this algorithm allows a maximum sampling frequence of 18.08kHz, and for a measurement window of 127 points with 256 integrated points, only 10ms is required after collecting data to give out the transit time over distance L. Therefore it is possible to make microprocessor-based correlator for real time applications.

     

/

返回文章
返回