Claims
- 1. A method of optimizing the points in time that an analog display signal is sampled, said method comprising the steps of:(a) receiving said analog display signal, wherein said analog display signal contains a plurality of image frames; (b) generating a sampling clock delayed by a phase; (c) sampling a plurality of lines in an image frame at points in time determined by said sampling clock to generate a plurality of display signal digital samples; (d) generating a value which is a function of said display signal digital samples; and (e) modifying said phase for successive image frames and performing steps (b)-(d) to maximize said value, wherein step (e) comprises: (j) detecting peaks and/or valleys of a signal representing said display signal digital samples; (k) generating a first numerical value based upon relative values of magnitudes of the peaks and/or valleys; and (l) adjusting the delay of the sampling clock maximizing the first numerical value, wherein said phase corresponding to said maximum value represents optimal points in time to sample said analog display signal.
- 2. The method of claim 1, further comprising the steps of:(f) determining whether said successive image frames encoded in said analog display signal are changing substantially; and (g) disabling said method of optimizing if said successive image frames encoded in said analog display signal are changing substantially.
- 3. The method of claim 1, wherein step (e) comprises the further step of:(h) generating a second numerical value based on values of first pixels of lines of the display signal digital samples; and (i) adjusting said phase of the sampling clock maximizing the second numerical value.
- 4. The method of claim 1, wherein step (e) comprises the further step of:(m) generating a second numerical value based on values of first pixels of lines of the display signal digital samples; and (n) adjusting the delay of the sampling clock maximizing the second numerical value.
- 5. The method of claim 4, further comprising the steps of:(o) summing a weighted representation of the first numerical value and a weighted representation of the second numerical value generating a statistical value; and (p) adjusting the delay of the sampling clock maximizing the statistical value.
- 6. The method of claim 5, wherein step (k) comprises the step of generating said first numerical value by summing the relative values of the magnitudes of the peaks and/or valleys of the display signal digital samples.
- 7. The method of claim 1, further comprising the step of generating said first numerical value based upon the peaks and/or valleys of at least one frame of display signal digital samples.
- 8. The method of claim 1, wherein detecting a valley comprises identifying a display signal digital sample having a value a predetermined valley threshold less than a prior display signal digital sample and a value a predetermined valley threshold less than a subsequent display signal digital sample.
- 9. The method of claim 1, wherein detecting a peak comprises identifying display signal digital sample having a value a predetermined peak threshold greater than a prior display signal digital sample and having a value a predetermined peak threshold greater than a subsequent display signal digital sample.
- 10. The method of claim 3, wherein generating a second numerical value comprises the step of:(q) summing the values of the display signal digital samples which are identified as first pixels of lines of the display signal digital samples.
- 11. The method of claim 10, wherein step (q) comprises the steps of:(r) identifying display signal digital samples occurring immediately after a horizontal synchronization signal pulse which have a value greater than a predetermined edge threshold; and (s) summing the values of the identified display signal digital samples.
- 12. The method of claim 8, wherein step (r) comprises the step of:(t) determining a predetermined edge threshold by identifying a display signal digital sample which occurs during the horizontal synchronization pulse; (u) setting the predetermined edge threshold equal to value of the identified display signal digital sample.
- 13. A clock generation circuit comprising:means for receiving said analog display signal, wherein said analog display signal contains a plurality of image frames; means for generating a sampling clock delayed by a phase; means for sampling a plurality of lines in an image frame at points in time determined by said sampling clock to generate a plurality of display signal digital samples; means for detecting peaks and valleys within each line of the analog display signal from the ADC samples and generates a value based on the magnitudes of the peaks and/or valleys, wherein said first numerical value can be provided as said value; and means for modifying said phase for successive image frames to maximize said value, wherein said phase corresponding to said maximum value represents optimal points in time to sample said analog display signal.
- 14. An automatic sampling control system comprising:a clock generator for generating a sampling clock; a phase controller for modifying the phase of said sampling clock by a phase amount; an analog to digital converter (ADC) for sampling an image frame contained in an analog display signal to generate a plurality of display signal digital samples, said ADC sampling the analog display signal at points in time determined by said phase amount; a automatic system phase controller (ASPC) detecting peaks and/or valleys within each line of the analog display signal from the ADC samples and generates a first numerical value based on the magnitudes of the peaks and valleys, wherein said first numerical value can be provided as said value; and a controller for receiving said first numerical value and modifying said phase amount for each of a plurality of successive image frames contained in said analog display signal, wherein said controller modifies said phase amount to cause said ASPC to generate a maximum value, wherein said phase amount represents the optimal phase change for the sampling clock generated by said clock generator.
- 15. The automatic sampling control system of claim 14, wherein said ASPC comprises a peak detector which detects peaks and/or valleys within each line of the analog display signal from the ADC samples and generates said first numerical value based on magnitudes of the peaks and/or valleys.
- 16. The automatic sampling control system of claim 15, wherein the sampling phase controller further comprises an edge detector which generates a second numerical value based on sampling values of first pixels of lines of the analog display signal, the statistical controller adjusting the phase controller maximizing the second numerical value.
- 17. The automatic sampling control system of claim 16, wherein the sampling phase controller further comprises a statistical analyzer which combines the first numerical value and the second numerical value generating said value.
- 18. The automatic sampling control system of claim 17, wherein the statistical analyzer weights the effect of the first numerical value and the effect of the second numerical value on the statistical value.
- 19. The automatic sampling control system of claim 15, wherein the peak detector only detects peaks and/or valleys which have an amplitude greater than a predetermined threshold.
- 20. The automatic sampling control system of claim 15, wherein relative values of the magnitudes of the peaks and/or valleys are summed to generate the first numerical value.
- 21. The automatic sampling control system of claim 20, wherein the first numerical value is calculated based on at least one frame of analog display signal lines.
- 22. The automatic sampling control system of claim 16, wherein the second numerical value is determined by summing the values of the digital samples occurring immediately after horizontal synchronization pulses which have amplitudes greater than a predetermined edge threshold.
- 23. The automatic sampling control system of claim 14, wherein said controller does not modify said phase if said successive image frames encoded in said analog display signal are changing substantially.
- 24. A display unit comprising:a clock generator for generating a sampling clock; a phase controller for modifying the phase of said sampling clock by a phase amount; an analog to digital converter (ADC) for sampling an image frame contained in an analog display signal to generate a plurality of display signal digital samples, said ADC sampling the analog display signal at points in time determined by said phase amount; a sampling phase controller detecting peaks and/or valleys within each line of the analog display signal from the ADC samples and generates a first numerical value based on the magnitudes of the peaks and/or valleys, wherein said first numerical value can be provided as said value; and a controller for receiving said first numerical value and modifying said phase amount for each of a plurality of successive image frames contained in said analog display signal, wherein said controller modifies said phase amount to cause said sampling phase controller to generate a maximum value, wherein said phase amount represents the optimal phase change for the sampling clock generated by said clock generator.
- 25. The display unit of claim 24, wherein said sampling phase controller comprises a peak detector which detects peaks and/or valleys within each line of the analog display signal from the ADC samples and generates said first numerical value based on the magnitudes of the peaks and/or valleys.
- 26. The display unit of claim 25, wherein the sampling phase controller further comprises an edge detector which generates a second numerical value based on sampling values of first pixels of lines of the analog display signal, the statistical controller adjusting the phase controller maximizing the second numerical value.
- 27. The display unit of claim 26, wherein the sampling phase controller further comprises a statistical analyzer which combines the first numerical value and the second numerical value generating said value.
- 28. The display unit of claim 24, wherein said controller does not modify said phase if said successive image frames encoded in said analog display signal are changing substantially.
- 29. A method of optimizing the points in time that an analog display signal is sampled, said method comprising the steps of:(a) receiving said analog display signal, wherein said analog display signal contains a plurality of image frames; (b) generating a sampling clock delayed by a phase; (c) sampling a plurality of lines in an image frame at points in time determined by said sampling clock to generate a plurality of display signal digital samples; (d) generating a value which is a function of said display signal digital samples; and (e) modifying said phase for successive image frames and performing steps (b)-(d) to maximize said value, wherein said phase corresponding to said maximum value represents optimal points in time to sample said analog display signal; (f) determining whether said successive image frames encoded in said analog display signal are changing substantially; and (g) disabling steps (b)-(e) if said successive image frames encoded in said analog display signal are changing substantially.
- 30. A display unit optimizing the points in time that an analog display signal is sampled, said display unit comprising:means for receiving said analog display signal, wherein said analog display signal contains a plurality of image frames; means for generating a sampling clock delayed by a phase; means for sampling a plurality of lines in an image frame at points in time determined by said sampling clock to generate a plurality of display signal digital samples; means for generating a value which is a function of said display signal digital samples; means for modifying said phase for successive image frames to maximize said value, wherein said phase corresponding to said maximum value represents optimal points in time to sample said analog display signal; means for determining whether said successive image frames encoded in said analog display signal are changing substantially; and means for disabling said means for modifying if said successive image frames encoded in said analog display signal are changing substantially.
- 31. An automatic sampling control circuit comprising:a clock generator for generating a sampling clock; a phase controller for modifying the phase of said sampling clock by a phase amount; an analog to digital converter (ADC) for sampling an image frame contained in an analog display signal to generate a plurality of display signal digital samples, said ADC sampling the analog display signal at points in time determined by said phase amount; an automatic system phase controller (ASPC) for generating a value as a function of said display signal digital samples; and a controller for receiving said value and modifying said phase amount for each of a plurality of successive image frames contained in said analog display signal, said controller modifying said phase amount to cause said ASPC to generate a maximum value, said controller not modifying said phase amount if successive image frames are substantially different.
RELATED APPLICATIONS
The present application is related to the co-pending patent application entitled, “A Method and Apparatus Implemented in a Computer System for Determining the Frequency Used by a Graphics Source for Generating an Analog Display Signal”, Ser. No. 08/872,774, Filed: Jun. 10, 1997, and is incorporated in its entirety herewith.
US Referenced Citations (5)