In this paper, a comparison analysis of three different algorithms for the estimation of sine signal parameters in two-channel common frequency situations is presented. The relevance of this situation is clearly understood in multiple applications where the algorithms have been applied. They include impedance measurements, eddy currents testing, laser anemometry and radio receiver testing for example. The three algorithms belong to different categories because they are based on different approaches. The ellipse fit algorithm is a parametric fit based on the XY plot of the samples of both signals. The seven parameter sine fit algorithm is a least-squares algorithm based on the time domain fitting of a single tone sinewave model to the acquired samples. The spectral sinc fit performs a fitting in the frequency domain of the exact model of an acquired sinewave on the acquired spectrum. Multiple simulation situations and real measurements are included in the comparison to demonstrate the weaknesses and strong points of each algorithm.
An implemented impedance measuring instrument is described in this paper. The device uses a dsPIC (Digital Signal Peripheral Interface Controller) as a processing unit, and a DDS (Direct Digital Synthesizer) to stimulate the measurement circuit composed by the reference impedance and the unknown impedance. The voltages across the impedances are amplified by programmable gain instrumentation amplifiers and then digitized by analog to digital converters. The impedance is measured by applying a seven-parameter sine-fitting algorithm to estimate the sine signal parameters. The dsPIC communicates through RS-232 or USB with a computer, where the measurement results can be analyzed. The device also has an LCD to display the measurement results.