{'fraction_non_alphanumeric': 0.008130081300813009, 'fraction_numerical': 0.0020325203252032522, 'mean_word_length': 4.863095238095238, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Simple phase angle measurement of two periodic signals

In this paper, a simple algorithm to measure the phase angle between two periodic signals is presented. It uses the digitized samples of the two signals and works on simple data sorting and interpolation techniques. The algorithm sorts for the location at which the changing of the signals from negative to positive takes place in the given data sequences. It localizes the exact zero crossing by interpolating the signals of the sorted locations and deduces the phase angle based on the localized zero crossing of the two sequences of the sampled signals. The algorithm has been implemented in the 16-bit microcontroller and the performance of the developed algorithm based on simulation and practical results is presented. The novelty of the proposed algorithm is in the simplicity of the technique to determine the phase angle which makes it possible to be implemented in real time and reduces the overall cost of the system.