A computer system includes a graphics controller with a first refresh rate and a first horizontal synchronization signal; a secondary source of video data having a second refresh rate and a second horizontal synchronization signal; and a genlock unit for reconciling the first refresh rate of the graphics controller with the second refresh rate of the secondary source. The genlock unit outputs a clock signal with a frequency modulated to reconcile the first refresh rate and the second refresh rate by monitoring the phase differences of the first horizontal synchronization signal and the second horizontal synchronization signal in response to a first control signal and outputs a clock signal at a frequency corresponding to a selected clock frequency in response to a second control signal.
|
11. A computer system, comprising:
a display; a convergence functionality module which outputs video data at a first refresh rate; a computer subsystem which operates in a personal computer functional mode and in a convergence functional mode, wherein the computer subsystem comprises: a graphics controller for generating graphics data to the display at a second refresh rate different from the first refresh rate; and a genlock unit for generating a clock signal at a frequency of a frequency associated with the first refresh rate based on a comparison of the first refresh rate with the second refresh rate, the genlock unit for reconciling the first refresh rate of said convergence functionality module and second refresh rate of said graphics controller; wherein the genlock unit is prevented from, reconciling said first refresh rate and said second refresh rate responsive to the computer system operating in the personal computer functional mode mode, wherein the graphics controller outputs a sync signal to the display, the sync signal responsive to the clock signal, and the clock signal frequency is generated based on the phase difference between the first and second refresh rates. 6. A method of generating a clock signal for a graphics controller in a computer system, the graphics controller configured to receive data from a graphics memory, the method comprising the steps of:
determining whether the computer system is operating in a first one of two modes; in response to determining that the computer system is operating in a first one of two modes, generating a clock signal for the graphics controller at a frequency of a frequency associated with a refresh rate of a secondary source based on a comparison of a refresh rate of the graphics controller with the refresh rate of the secondary source, the clock signal modulated to reconcile the refresh rate of the graphics controller and the refresh rate of the secondary source; outputting a sync signal to a display device, the sync signal responsive to the generated clock signal; and adjusting a transfer rate of graphical data from the graphics memory to the graphics controller responsive to the generated clock signal; wherein the refresh rate of the secondary source is different from the refresh rate of the graphics controller, and the clock signal frequency is generated based on the phase difference between the refresh rate of the secondary source and the refresh rate of the graphics controller.
1. A system for displaying graphics data on a display device, the system comprising:
a graphics controller for the outputting graphics data to be displayed on the display device and the graphics controller further for outputting a first synchronization signal having a first frequency, the first synchronization signal being outputted from the graphics controller to the display device; a secondary source of video data available to the graphics controller; a genlock unit for outputting a clock signal to the graphics controller and for receiving as a feedback input the first synchronization signal output by the graphics controller, the genlock unit also for receiving a second synchronization signal associated with the secondary source of video data, the second synchronization signal having a second frequency different from the first frequency; and a graphics memory connected to the graphics controller, the graphics memory responsive to the clock signal output by the genlock unit; wherein the genlock unit is configured to generate the clock signal at the frequency of the second frequency based on a comparison of the first synchronization signal with the second synchronization signal, wherein the clock signal frequency is generated based on the phase difference between the first synchronization signal and the second synchronization signal and wherein the graphics controller is configured to generate the first synchronization signal outputted to the display device responsive to the clock signal frequency generated by the genlock unit.
2. The system of
3. The computer system of
4. The computer system of
5. The computer system of
7. The method of
in response to determining that the computer is operating in a second one of two modes, generating the clock signal for the graphics controller at a frequency corresponding to a selected frequency.
8. The method of
monitoring the differences of the horizontal synchronization signal of the graphics controller and the horizontal synchronization signal of the secondary signal.
9. The method of
generating the clock signal in response to a first control signal.
10. The method of
generating the clock signal at a frequency corresponding to a selected frequency in response to a second control signal.
12. The computer system of
13. The computer system of
14. The computer system of
15. The computer system of
16. The computer system of
17. The computer system of
18. The computer system of
|
1. Field of the Invention
The present invention relates to computer graphics, and more particularly to the generation of a refresh rate in a computer graphics system.
2. Description of the Related Art
Referring to
The graphics controller 14 interfaces with a graphics memory 22 through a control line CTRL and a data bus, bus RDATA. The graphics controller 14 sends and receives graphics data to and from the graphics memory 22 through a random access port in the graphics memory 22 over bus RDATA. The graphics memory 22 is typically a frame buffer having banks of random access memory (RAM). The graphics memory 22 stores the graphics data to be displayed, generally in bit-mapped or other well-known formats.
When the graphics data is to be displayed, the graphics memory 22 outputs the stored graphics data onto bus RDATA to the video input unit 20 which communicates the graphics data to the VDAC 18. VDAC 18 compares the digital values of the graphics data to a look-up table that contains the matching analog voltage levels for three primary colors needed to create the indicated color, which in this embodiment are red, green and blue (RGB). The VDAC 18 then converts the digital video data into the analog values of the RGB colors, and outputs the analog values on the R, G, and B lines respectively to the monitor 24 for display.
The graphics subsystem 10 also includes a high speed clock generator 12, which typically includes a crystal oscillator. The high speed clock generator 12 outputs a clock signal CLK at a set frequency to the clock logic unit 16 in the graphics controller 14. The clock logic unit 16 generates various clock signals which control the timing of the operations of the graphics subsystem 10. For example, the clock logic unit 16 generates a clock signal MCLK that is inputted to the graphics memory 22. The MCLK signal controls the rate at which the graphics memory 22 presents the graphics data onto bus RDATA. The clock logic unit 16 outputs a clock signal at the same frequency to the video input unit 20 so that it may correctly latch the graphics data from the bus RDATA. The clock logic unit 16 also generates a clock signal to VDAC 18 which controls the pixel rate of the graphics data received from the video input unit 20.
Finally, the clock logic unit 16 generates two clock control signals: a vertical synchronization signal VSYNC and a horizontal synchronization signal HSYNC. The VSYNC and HSYNC signals control the refresh rate of the monitor 24, i.e. how frequently the monitor's image is redrawn.
In the conventional system of
A problem arises however, when the input graphics data into the graphics memory 22 originates from a source other than the graphics controller 14. New technology now allows the integration of a computer system with a second device such as a television, telephone, laser disk player, etc. The video data from this secondary source is displayed on a computer monitor along with graphics data from the graphics controller 14.
The display of this video data creates a problem when the video data has a different refresh rate from the 60 Hz refresh rate of the graphics controller. For example, a television signal such as the ITU-BTU System M (NTSC) signal typically has a refresh rate of 59.94 Hz. In a computer/television integrated device, the television signal is converted into digital graphics data for storage in a graphics memory for display on a monitor. The 59.94 Hz refresh rate of the television signal must be reconciled with the 60 Hz refresh rate of the graphics subsystem, otherwise the video fields will be dropped or repeated. This dropping of fields results in jerky movements of items on the display of the monitor, also known as syncopation artifacts.
One solution is to reprogram the refresh rate of the graphics subsystem to 59.94 Hz to match the refresh rate of the television signal. However, the refresh rate of the television signal varies somewhat from the 59.94 Hz rate through time. This variation of the television signal would thus create a mismatch in refresh rates. In addition, video data from various other secondary sources may have different refresh rates, none of which match each other or the programmed refresh rate of the graphics subsystem.
Because of this mismatch between refresh rates of the graphics subsystem and a second source of video data, a need has arisen in the industry for an external control of the refresh rate of the graphics subsystem.
The present invention is directed to a computer system having a graphics controller with a first refresh rate and a first horizontal synchronization signal; a secondary source of video data having a second refresh rate and a second horizontal synchronization signal; and a genlock unit for reconciling the first refresh rate of the graphics controller with the second refresh rate of the secondary source. The genlock unit outputs a clock signal with a frequency modulated to reconcile the first refresh rate and the second refresh rate by monitoring the phase differences of the first horizontal synchronization signal and the second horizontal synchronization signal in response to a first control signal and outputs a clock signal at a frequency corresponding to a selected clock frequency in response to a second control signal.
The present invention is also directed to a method of generating a clock signal for a graphics controller in a computer system. The method includes the steps of determining that the computer system is operating in a first one of two modes, and in response to this step, generating the clock signal for the graphics controller at a frequency modulated to reconcile a refresh rate of the graphics controller and a refresh rate from a secondary source by monitoring the differences of the horizontal synchronization signal of the graphics controller and the horizontal synchronization signal of the secondary source. The invention further includes the step of determining that the computer system is operating in a second one of two modes, and in response thereto, generating a clock signal for the graphics controller at a frequency corresponding to a predetermined frequency.
The present invention is now explained in more detail with reference to the following drawings, wherein like numerals are used to designate like parts:
Referring now to
System 26 also includes convergence functionality modules 34 which are integrated with the computer subsystem 28. The convergence functionality modules 34 provide a dual functionality to the system 26 such that the system 26 may operate in computer mode and a second functional mode, such as a television, VCR, video gaming unit, video disc player, stereo, telephone, and/or other device mode. System 26 operates as a fully functional computer system in the first computer mode and operates with a functionality provided in response to the convergence functionality module 34 in the second mode, or operates in a combination mode that combines the functionality of the computer subsystem 28 and the convergence functionality module 34. An input device 33, such as a keyboard, remote or similar device, provides external control of the operation of the system 26.
The graphics subsystem, which is explained in more detail below, in the computer subsystem 28 manages the data input from the convergence functionality module 34 such that appropriately decoded and processed display signals are forwarded to drive suitable output devices, such as the display monitor subsystem 30, or an audio output device (not shown). For example, when the convergence functionality module 34 provides the functionality of a television receiver, the computer system 28 may operate as a fully functional computer in a first computer mode and a television in a second television mode. In television mode, the convergence functionality module 34 receives a video signal, such as the ITU-BTU System M (NTSC) signal, via any medium, digital or analog, such as cable, broadcast, or Digital Satellite System. The computer subsystem 28 interfaces with the convergence functionality module 34 to communicate the video data to the computer subsystem. The graphics subsystem in the computer subsystem 28 receives the video data, converts the video data into a standard graphics data format, such as a bit-mapped or other standard format, which is suitable for display on display monitor subsystem 30. In this manner, the video data received from the convergence functionality module 34 may be displayed on the display monitor subsystem 30.
In computer mode, system 26 operates as a typical computer and performs typical functions such as executing software and interfacing with a network, either a WAN, such as the Internet, or a LAN. System 26 may also interface with peripheral devices, such as fax/modems, CD-ROM players, and media storage such as hard and floppy drives.
In addition, system 26 may operate in a combination television/computer mode that combines the functions in the television mode and computer mode. The computer system may download information about a television program from the Internet or use the television mode to interact with the computer mode by having a small television window displaying a television show or video from an attached VCR while performing normal computer operations on the display monitor subsystem 30.
System 26 can thus be operated in various modes. The convergence of the functionality of a computer and a television into a single device permits the utilization of the communications bandwidth, mass storage and graphics of the computer to deliver, store and display applications during a traditional television viewing environment.
As depicted in
The video decoder 38 also outputs a horizontal synchronization signal MPHSYNC which has a frequency corresponding to the horizontal refresh rate of the video data. The MPHSYNC signal is inputted into genlock unit 42. The genlock unit 42 generates a clock signal CLK which is inputted to the graphics controller 44.
The graphics controller 44 is a special purpose microprocessor for controlling the output of the graphics memory 40 and for executing graphics instructions such as line draw, block transfer, and the like. The graphics controller includes a VDAC (not shown) which converts graphics data from the graphics memory into RGB analog signals. The RGB analog signals control the output of the display monitor subsystem 30. In this embodiment, the graphics controller is a pre-manufactured integrated circuit, such as the ET6000 graphics controller, designed to process data in accordance with the video graphics array (VGA) standard. Alternatively, graphics controller 44 may be a discrete implementation or custom integrated circuit, such as an application-specific integrated circuit (ASIC) which customizes the functionality and performance of the graphics subsystem 36.
The graphics controller 44 also includes a clock logic unit 46 which receives the clock signal CLK from the genlock unit 42. The clock logic unit 46 generates a clock signal MCLK which is inputted to the graphics memory 40. The MCLK signal controls the presentation of graphics data to the graphics controller 44 from graphics memory 40. The clock logic unit 46 also generates a horizontal synchronization signal HSYNC and a vertical synchronization signal VSYNC. The HSYNC and VSYNC signals are both input signals to the display monitor subsystem 30 and control the refresh rate of the monitor. In addition, the HSYNC signal is fed back into the genlock unit 42.
The graphics subsystem 36 further includes the controller 48 which sends and receives control signals to and from the video decoder 38, genlock unit 42 and the graphics controller 44.
When enabled, the genlock unit 42 reconciles the refresh rate of the video data and the refresh rate of the graphics controller 44. The HSYNC signal from the graphics controller 44 provides a feedback signal from the graphics controller 44 which is compared to the MPHSYNC signal from the video decoder 38. In response, the genlock unit 42 locks onto the MPHSYNC signal and generates the CLK signal at the same frequency or rate as the MPHSYNC signal.
The operation of the genlock unit 42 is discussed in more detail with respect to FIG. 4. In step 50, the controller 48 determines whether system 26 is in computer mode. When in computer mode, the graphics controller 44, not the video decoder 38, inputs graphics data to be stored into graphics memory 40, so there is no need to reconcile the refresh rate of video data from a second source with the refresh rate of the graphics controller 44. As a result, if the computer system 28 is operating in computer mode, the controller 48 disables the comparison of the two refresh rates in the genlock unit 42 in step 52, and the genlock unit 42 outputs the CLK signal at a standard or predetermined clock rate. In this embodiment, the standard clock rate is 14.31818 MHZ. As discussed above, the clock logic unit 46 of graphics controller 44 may divide and/or multiply the signal CLK in order to generate other clock signals with various frequencies. For example, the clock logic unit 46 may divide the CLK signal to generate a clock signal at a higher frequency for the VDAC of the graphics controller 44, depending on the resolution of the monitor 30 and the needed pixel rate to obtain that resolution.
If system 26 is operating in a second mode wherein it receives video data from the convergence functionality module 34 or other secondary source, either in lieu of or in addition to receiving graphics data from the graphics controller 44) then the Controller 48 enables the genlock unit 42, as shown in step 56. The genlock unit 42 compares the refresh rate from the secondary source on MPHSYNC signal input to the refresh rate from the graphics controller 44 on the HSYNC signal input. The genlock unit 42 uses the MPHSYNC signal as its reference signal. It locks onto the refresh rate of the MPHSYNC signal in step 60 and outputs the CLK signal which is reconciled by the differences of the HSYNC signal and the MPHSYNC signal, as shown in step 62.
If the MPHSYNC signal varies with respect to the HSYNC signal, the variation appears as a change in phase that acts as an error correction signal to correct the frequency of the CLK signal to match the altered refresh rate of the MPHSYNC signal. The genlock unit minimizes the phase difference between the MPHSYNC and HSYNC signals. Due to the feedback mechanism of the HSYNC signal, the frequency difference between the signals should be minimal.
The genlock unit 42 thus provides an external control of the graphics controller 44 refresh rate. This external control allows the reconciling of the refresh rates of the secondary source and the graphics controller by the genlock unit 42 to be disabled and to instead generate a standard clock signal. Because the graphics controller 44 generates the MCLK signal for the graphics memory 40 from the input CLK signal from the genlock unit 42, the operation of the genlock unit 42 affects the MCLK as well as the refresh rate of the graphics controller 44.
The genlock unit of
The HSYNC signal output of the graphics controller 44 is connected to the clock input of flip-flop 66. The flip-flop 66 inverts the HSYNC signal and outputs the inverted signal (which lags HSYNC by one clock period) on inverting output Q_. The inverted HSYNC signal is connected to the clock input of flip-flop 68. Flip-flop 68 outputs a VGAH signal at its non-inverting Q output. As a result, the VGAH signal is an inverted HSYNC signal delayed by two clock periods. Both flip-flop 66 and flip-flop 68 are connected to the PLLOFF# signal generated by the controller 48 at their preset inputs. When the controller 48 asserts the PLLOFF# signal, the VGAH signal remains at a constant state.
In the operation of this exemplary embodiment, the flip-flop 66 changes the polarity of the HSYNC signal to match the polarity of the MPHSYNC signal while flip-flops 64 and 68 ensure that their respective output signals, MPH and VGAH, are sampled at the same time.
The output signals MPH and VGAH are inputted to a phase lock loop (PLL) 70, shown in
The FSET1 and FSET2 inputs to the PLL 70 are connected to a 14.31818 MHZ oscillating crystal 72. In this embodiment, 14.31818 MHZ is the standard or predetermined clock rate, though a person of skill in the art would appreciate that the standard clock rate may be set to any value suitable for operation of the graphics controller 44. When the flip-flops 64, 66 and 68 are disabled by the controller 48, the MPH and VGAH signals are constant. In response thereto, the PLL 70 locks onto the standard 14.31818 MHZ clock signal instead and generates the CLK signal with the standard 14.31818 MHZ frequency at output VCO1OUT.
In an alternate embodiment, the VGAH signal may be used as a reference signal and the refresh rate of the video data from the secondary source changed in response to the VGAH signal. However, this would require the ability to control the refresh rate of the video data from the secondary source.
As discussed above, the graphics controller 44 includes a clock logic unit 46 which generates the appropriate clock rates for the operation of the graphics controller, such as the MCLK signal, HSYNC and VSYNC signals. The clock logic unit 46 may itself include a phase lock loop unit for generation of these signals. Thus, the CLK output of PLL 70 may be driving another PLL within the graphics controller 44. To avoid instabilities, crystal oscillator 72, the genlock PLL and the graphics controller PLL must all be precise with very little jitter such that no additional noise is inserted into the clock signals.
The present invention thus reconciles the refresh rate of the graphics controller 44 to the refresh rate of a secondary video source using the genlock unit 42. This change of refresh rates prevents the duplication or dropping of fields on the monitor 30. The present invention may also disable the reconciling of the refresh rates and output a standard clock when there is no longer a secondary video data source. This feature allows the computer system to operate in computer mode, as well as other modes which utilize video data from a secondary source.
Any video data from a secondary source having a refresh rate other than one that matches the graphics controller refresh rate will benefit as well as video data that has a refresh rate which varies over time. The PLL 70 may require more time to lock onto the refresh rate of the video data from the secondary source or may lose its lock on the refresh rate if the refresh rate varies too much. The pull-in frequency range of the PLL 70 and hold-in frequency of the PLL 70 may be adjusted to account for such variances in frequency.
In addition, by allowing external control of the refresh rate of the graphics controller 44, the present invention may be used with a pre-manufactured graphics controller. This reduces the cost of design and manufacture of an ASIC type graphics controller.
Although the preferred embodiment of the present invention has been described, it will be understood that the invention is not limited to the embodiment disclosed, but is capable of numerous arrangements, modifications and substitutions without departing from the spirit of the invention as set forth and defined by the following claims.
Patent | Priority | Assignee | Title |
11882377, | Feb 09 2021 | SONY OLYMPUS MEDICAL SOLUTIONS INC. | Control device, medical observation system, control method, and computer readable recording medium |
6670996, | Aug 20 1998 | Intel Corporation | Apparatus and method for display of progressive and interland video content |
7425962, | Jul 27 2004 | Hewlett-Packard Development Company, L.P. | Systems and methods for generating a composite video signal from a plurality of independent video signals |
7889191, | Dec 01 2006 | DEUTSCHE BANK AG NEW YORK BRANCH, AS COLLATERAL AGENT | Method and apparatus for providing a synchronized video presentation without video tearing |
8134543, | Mar 01 2007 | Nvidia Corporation | System, method, and computer program product for driving a display utilizing a compensated refresh rate |
8179388, | Dec 15 2006 | Nvidia Corporation | System, method and computer program product for adjusting a refresh rate of a display for power savings |
8207977, | Oct 04 2007 | Nvidia Corporation | System, method, and computer program product for changing a refresh rate based on an identified hardware aspect of a display system |
8237860, | Jan 29 2007 | Sunplus Technology Co., Ltd. | Poor video editing detection system |
8284210, | Oct 04 2007 | Nvidia Corporation | Bandwidth-driven system, method, and computer program product for changing a refresh rate |
8451279, | Dec 13 2006 | Nvidia Corporation | System, method and computer program product for adjusting a refresh rate of a display |
Patent | Priority | Assignee | Title |
4346407, | Jun 16 1980 | Lockheed Martin Corporation | Apparatus for synchronization of a source of computer controlled video to another video source |
4628541, | Aug 10 1983 | International Business Machines Corporation | Infra-red data communications system for coupling a battery powered data entry device to a microcomputer |
4658247, | Jul 30 1984 | Cornell Research Foundation, Inc. | Pipelined, line buffered real-time color graphics display system |
4775928, | Oct 30 1985 | Westinghouse Electric Corp. | Hand-held wireless computer controller system |
4954819, | May 16 1985 | Nvidia Corporation | Computer graphics windowing system for the display of multiple dynamic images |
5014128, | Apr 24 1989 | Askey Computer Corporation | Video interface circuit for displaying capturing and mixing a live video image with computer graphics on a video monitor |
5155595, | Jan 31 1991 | LSI Logic Corp.; LSI Logic Corporation | Genlock frequency generator |
5185603, | Jul 13 1990 | INNOVISION INC , DBA INNOVISION LABS | Apparatus for synchronizing computer and video images to be simultaneously displayed on a monitor and method for performing same |
5291275, | Jun 20 1990 | MEDIATEK INC | Triple field buffer for television image storage and visualization on raster graphics display |
5451981, | Nov 21 1990 | Apple Inc | Tear free updates of computer graphical output displays |
5488393, | May 06 1991 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | High-speed video display system |
5502462, | Nov 01 1993 | SAMSUNG ELECTRONICS CO , LTD | Display list management mechanism for real-time control of by-the-line modifiable video display system |
5543824, | Jun 17 1991 | Sun Microsystems, Inc. | Apparatus for selecting frame buffers for display in a double buffered display system |
5572698, | Apr 18 1994 | SIEMENS ENTERPRISE COMMUNICATIONS, INC | System and method for allocating memory resources where the category of a memory resource determines where on a circular stack a pointer to the memory resource is placed |
5610663, | Jan 17 1996 | Qisda Corporation | Multi-frequency displaying device for displaying both television and personal computer video signals |
5877741, | Jun 07 1995 | Seiko Epson Corporation | System and method for implementing an overlay pathway |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Mar 31 1997 | Compaq Information Techniques Group, L.P. | (assignment on the face of the patent) | / | |||
Oct 14 1997 | VOLTZ, CHRISTOPHER D | COMPAG COMPUTER CORPORATION, A DELAWARE CORP | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 008910 | /0661 | |
Jun 20 2001 | Compaq Computer Corporation | COMPAQ INFORMATION TECHNOLOGIES GROUP, L P | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 012469 | /0307 | |
Oct 01 2002 | Compaq Information Technologies Group, LP | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | CHANGE OF NAME SEE DOCUMENT FOR DETAILS | 015000 | /0305 |
Date | Maintenance Fee Events |
Feb 27 2006 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Mar 01 2010 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Apr 04 2014 | REM: Maintenance Fee Reminder Mailed. |
Aug 27 2014 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Aug 27 2005 | 4 years fee payment window open |
Feb 27 2006 | 6 months grace period start (w surcharge) |
Aug 27 2006 | patent expiry (for year 4) |
Aug 27 2008 | 2 years to revive unintentionally abandoned end. (for year 4) |
Aug 27 2009 | 8 years fee payment window open |
Feb 27 2010 | 6 months grace period start (w surcharge) |
Aug 27 2010 | patent expiry (for year 8) |
Aug 27 2012 | 2 years to revive unintentionally abandoned end. (for year 8) |
Aug 27 2013 | 12 years fee payment window open |
Feb 27 2014 | 6 months grace period start (w surcharge) |
Aug 27 2014 | patent expiry (for year 12) |
Aug 27 2016 | 2 years to revive unintentionally abandoned end. (for year 12) |