Patent ID: 7961779

Claim:
A method for noise driven recovery of a digital pulse stream, comprising: receiving initial parameters including the base characteristics of a pulse stream, the characteristics including the minimum pulse interval; setting a cycle window interval; sampling a signal with an analog to digital converter a predetermined number of times at intervals of a first predetermined number of times within the cycle window to record a set of minimum signal values; sampling the signal a second predetermined number of times within the cycle window to record a set of maximum signal values; identifying a first and a second highest value from the set of maximum signal values; discarding the first and the second highest values from the set of maximum signal values; averaging the set of minimum signal values to provide an average minimum signal value (Vminavg); averaging the remaining members of the set of maximum signal values to provide an average maximum signal value (Vmaxavg); establishing at least a rising and a falling threshold value for a signal pulse of the digital pulse stream based on the minimum and maximum average values; and identifying the digital pulse stream within the signal based on the rising and falling threshold values as hysteresis thresholds; wherein a difference between the rising and the falling threshold values is proportional to a difference between the average minimum and average maximum values; wherein the initial information further includes a user supplied rising scaling factor (SFr) and a user supplied falling scaling factor (SFf, a Clip voltage value and a Clamp voltage value; wherein establishing the at rising and falling threshold value includes: determining the difference (Vdiff) between the average maximum value and the average noise envelope value, determining the rising threshold (Vrthr), and determining the falling threshold (Vfthr); and wherein the rising threshold is determined by the equation Vrthr=(SFr)*Vdiff+Vmaxavg.