Claims
- 1. A detector for determining the peak-to-peak value of a signal comprising:
a first circuit to provide a tracking signal that tracks a positive slope of the signal during a first time interval and a negative slope of the signal during a second time interval; and a second circuit configured to produce values associated with the tracking signal provided during one of the first and second time intervals, wherein one of the values is indicative of the peak-to-peak value of the signal.
- 2. The detector of claim 1 wherein the second circuit is configured to produce values associated with the tracking signal provided during the other of the first and second time intervals, wherein one of the values associated with the tracking signal provided during the other of the first and second time intervals is also indicative of the peak-to-peak value of the signal.
- 3. The detector of claim 1 wherein the second circuit comprises a counter and the values are binary count values.
- 4. The detector of claim 1 wherein the first circuit comprises:
a track and hold circuit to provide the tracking signal, the tracking signal holding the value of the signal at peaks and valleys of the signal until the signal varies from the held peaks and valleys by a predetermined amount; and a circuit to provide an output signal which changes state after the signal varies from the tracking signal by the predetermined amount.
- 5. The detector of claim 4 wherein the second circuit comprises:
a counter, responsive to the circuit, to count between changes in state of the output signal, wherein the output signal of the counter occurring at one of the changes in state of the output signal is indicative of the peak-to-peak value of the signal.
- 6. The detector of claim 4 wherein the circuit comprises a comparator having a hysteresis value by which the predetermined amount is established.
- 7. The detector of claim 4 wherein the circuit comprises a comparator circuit that includes a comparator to provide the output signal which changes state when the signal varies from the tracking signal by the predetermined amount, and wherein the first circuit further comprises:
a delay circuit coupled to the comparator circuit to provide a delayed signal that is a delayed version of the output signal.
- 8. The detector of claim 7 wherein the second circuit comprises:
a counter, reset in response to the delayed signal, to count between changes in the state of the delayed signal, wherein the output signal of the counter occurring at one of the changes in state of the delayed signal is indicative of the peak-to-peak value of the signal.
- 9. The detector of claim 8 wherein the delay between the output signal and the delayed signal is selected according to use by external decoding logic of the value indicative of the peak-to-peak value of the signal.
- 10. A sensor comprising:
a transducer to provide a transducer output signal indicative of a sensed input; a peak-to-peak detector to provide a tracking signal which substantially follows the transducer output signal between each peak and valley of a given cycle of the transducer output signal and holds the value of the transducer output signal at the peak and valley until the transducer output signal varies from the held peak and valley by a predetermined amount, the peak-to-peak detector configurable to provide an output value that is indicative of the peak-to-peak value of the transducer output signal during at least one of a first half and a second half of the given cycle; and logic responsive to the output value of the peak-to-peak detector to provide a logic signal that indicates if the sensed input exceeds a predetermined threshold level.
- 11. The sensor of claim 10 wherein the sensed input comprises a magnetic field and the transducer comprises a magnetic field-to-voltage transducer.
- 12. The sensor of claim 10 wherein the peak-to-peak detector comprises:
a circuit to provide an output signal that changes state after the transducer output signal varies from the tracking signal by the predetermined amount.
- 13. The sensor of claim 12 wherein the peak-to-peak detector further comprises:
a counter, responsive to the circuit, to count between changes in the state of the output signal, wherein the output of the counter occurring at one of the changes in state of the output signal is the output value indicative of the peak-to-peak value of the transducer output signal.
- 14. The sensor of claim 10 wherein the peak-to-peak detector further comprises:
a comparator circuit to provide a signal that changes state when the transducer output signal varies from the tracking signal by the predetermined amount; a delay coupled to the comparator circuit to provide a delayed signal that is a delayed version of the signal; and a counter, reset in response to the delayed signal, to count between changes in the state of the delayed signal, wherein the output of the counter occurring at one of the changes in state of the delayed signal is the output value indicative of the peak-to-peak value of the transducer output signal.
- 15. The sensor of claim 14 wherein the logic comprises a decoder to convert the counter output to one or more diagnostic signals.
- 16. The sensor of claim 15 wherein the one or more diagnostic signals provide an indication of whether or not the sensed magnetic field has exceeded an associated predetermined threshold level.
- 17. The sensor of claim 16 wherein the one or more diagnostic signals correspond to air gaps and the associated predetermined threshold levels correspond to Gauss levels of differing magnetic field strengths.
- 18. The sensor of claim 14 further comprising an AGC circuit coupled to the transducer and the peak-to-peak detector, the AGC circuit being activated to effect a change in gain value from a first gain value to a second gain value when the transducer output signal reaches a predetermined level, and wherein the logic comprises:
a decoder to convert the counter output to the logic signal, the counter output comprising a first count value that corresponds to the predetermined threshold level for the first gain value and a second count value that corresponds to the predetermined threshold level for the second gain value.
- 19. A method of determining the peak-to-peak value of a signal comprising:
providing a tracking signal that tracks a positive slope of the signal during a first time interval and a negative slope of the signal during a second time interval; and producing values associated with the tracking signal provided during one of the first and second time intervals, one of the values being indicative of the peak-to-peak voltage of the signal.
- 20. The method of claim 19 wherein the tracking signal holds the value of the signal at peaks and valleys of the signal until the signal varies from the held peaks and valleys by a predetermined amount, and wherein the method further comprises:
providing an output signal which changes state after the signal varies from the tracking signal by the predetermined amount.
- 21. The method of claim 20 wherein producing values comprises:
counting between changes in state of the output signal, wherein the output signal of the counter occurring at one of the changes in state of the output signal is indicative of the peak-to-peak value of the signal.
- 22. A sensor method comprising:
providing a transducer output signal indicative of a sensed input; providing a tracking signal which substantially follows the transducer output signal between each peak and valley of a given cycle of the transducer output signal and holds the value of the transducer output signal at the peak and valley until the transducer output signal varies from the held peak and valley by a predetermined amount; providing an output value that is indicative of the peak-to-peak value of the transducer output signal during at least one of a first half and a second half of the given cycle; and providing a logic signal that indicates if the sensed input exceeds a predetermined threshold level.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims the benefit of U.S. Provisional Patent Application Ser. No. 60/354,907 entitled “Peak-to-Peak Signal Detector,” filed Feb. 5, 2002, which is incorporated herein by reference in its entirety for all purposes.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60354907 |
Feb 2002 |
US |