Patent ID: 11860200
Assignee: TENDYRON CORPORATION
Field: Telecommunications (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 6:
7. A zero crossing point signal output apparatus, comprising:
a receiving module configured to continuously receive zero crossing point square wave signals input by a zero-crossing detection circuit;
a sampling module configured to periodically sample each zero crossing point square wave signal at a predetermined sampling frequency;
a calculating module configured to acquire a sampling number of each zero crossing point square wave signal in 1st to Mth zero crossing point square wave signals to obtain sampling numbers of M zero crossing point square wave signals, calculate an average value of the sampling numbers of the M zero crossing point square wave signals to obtain an average sampling number S, and calculate a first zero crossing point interval T1 based on the average sampling number S and the predetermined sampling frequency; and set a zero crossing point signal output interval as the first zero crossing point interval T1, wherein M is a predetermined value and is a positive integer greater than or equal to 1; and
an outputting module configured to continuously output zero crossing point signals with an interval being the zero crossing point signal output interval,
wherein the calculating module is further configured to obtain a sampling number of each zero crossing point square wave signal in M+1th to M+Nth zero crossing point square wave signals to obtain sampling numbers of N zero crossing point square wave signals, calculate a difference value between each of the sampling numbers of the N zero crossing point square wave signals and the average sampling number S to obtain N sampling number difference values, and sum the N sampling number difference values to obtain an accumulated difference value Δs, where N is a predetermined value and is a positive integer greater than or equal to 1; calculate, when Δs is not within a predetermined change range, a second zero crossing point interval T2 in accordance with a predetermined rule, and set the zero crossing point signal output interval as the second zero crossing point interval T2; and when Δs is within the predetermined change range, keep the zero crossing point signal output interval unchanged.