Video gaming systems allow users to play games through interaction with an input device as images are displayed on a display device, such as a television screen or computer monitor. A problem known as flickering exists in video gaming systems, and is caused by pixels being turned off while the optical sensor shutter is open while frames are refreshed.
The optical sensor 6 of the input device 5 receives light from the display device 3. The optical sensor 6 converts the optical signals it receives into electrical signals, which are then processed by the input device 5 to obtain the pointed-to location on the screen of the display device 3. The electrical signals representing the pointed-to location are then output to the game console 4. As the input device 5 is moved, the light received by the array elements of the sensor 6, which are commonly referred to as pixels, varies in intensity. These optical variations cause the electrical signals produced by the optical sensor 6 to vary. Processing circuitry (not shown) of the game console 4 processes the electrical signals received from the input device 5 and outputs corresponding electrical signals to processing circuitry (not shown) of the display device 3, which causes the pointed -to location to be varied.
The display device 3 “paints” video frames on the display device 3 by setting the intensity values of the pixels that make up the screen of the display device 3. The pixel intensity values are set in accordance with an addressing process that addresses pixels in a sequence that moves from left to right and from top to bottom, turning on one pixel at a time. The display device 3 is typically a cathode ray tube (CRT) and the pixel intensity values are set via application of an electron beam that scans the CRT in a sequence from left to right and from top to bottom.
After the rightmost pixel in a row has been addressed, a horizontal retrace signal occurs, which causes the electron beam to move from the rightmost pixel in a row to the leftmost pixel of the next row down in the display screen. A delay period occurs during this repositioning of the electron beam, the duration of which is commonly referred to as the horizontal retrace delay, or the horizontal blanking interval (HBI). After the rightmost pixel of the bottom row in the display screen has been addressed, the electron beam moves from the rightmost pixel in the bottom row in the display screen to the leftmost pixel in the top row of the display screen. A vertical retrace signal causes the electron beam to move from the rightmost pixel in the bottom row in the display screen to the leftmost pixel in the top row of the display screen.
The game console 4 outputs a composite video signal that is made up of three different types of information, namely, pixel intensity information, horizontal retrace information and vertical retrace information. The display device 3 uses the information contained in the composite video signal to set pixel values and to control the timing at which pixel values are set.
The optical sensor 6 captures each frame with randomly occurring black stripes that are caused by dark rows of dark pixels outside of the shutter of the optical sensor 6. These randomly occurring black stripes, are commonly referred to as “flickering”. This flickering degrades the images captured by the sensor 6, and thus degrades the performance of the sensor. It would be desirable to provide a way to eliminate or reduce flickering in video gaming systems.
The invention provides a method and an apparatus for eliminating or reducing flickering in a video gaming system. The apparatus comprises a game console and an input device having an optical sensor. The game console generates a horizontal retrace signal, which is received by the input device. The optical sensor device is configured to commence capturing of an image of at least a portion of a display screen upon receiving an asserted shutter control signal. The shutter control signal is synchronized with the horizontal retrace signal such that a frame rate of the optical sensor device is synchronized to the horizontal retrace signal. By synchronizing the horizontal retrace signal with the frame rate, the occurrence of random stripes in the images captured by the optical sensor is reduced or eliminated.
The method comprises generating a horizontal retrace signal in a game console, receiving the horizontal retrace signal from the game console in an input device, and synchronizing the shutter control signal of an optical sensor of the input device with the horizontal retrace signal.
The invention also provides a computer program for reducing or eliminating flickering in a video gaming system. The program includes instructions for receiving the horizontal retrace signal from the game console in an input device, and instructions for synchronizing the shutter control signal of an optical sensor of the input device with the horizontal retrace signal.
In accordance with the invention, the optical sensor of the input device has a shutter signal that is synchronized to the horizontal retrace signal such that the aforementioned flickering problem is reduced or eliminated.
An input device 30 of the gaming system 10 performs the functions described above with reference to the input device 5 shown in
The shutter control signal should be asserted at the same time in each image frame. The two examples represented by traces 53 and 55 show the shutter control signal being asserted either on the falling edge of the horizontal retrace signal of the first row or on the falling edge of the horizontal retrace signal of the second row. With these examples, the captured image is the entire display screen. In other words, if the display screen contains a number, n, of rows that are written in each frame, the shutter size is n rows. Thus, in the example represented by trace 53 in which the shutter control signal is asserted on the falling edge of the horizontal trace signal for the first row, the shutter size is n rows. The shutter size should be fixed, i.e., constant, but it does not need to be large enough to cover the entire image displayed on the display screen. For example, assuming a display screen that contains 480 lines, the shutter control signal could be synchronized to assert on the falling edge of the tenth row and on the falling edge of the four hundredth row. Increasing the shutter size decreases the frame rate, so these factors should be taken into consideration when choosing the shutter size.
The result of synchronizing the shutter control signal with the horizontal retrace signal is that the image captured by the sensor 40 may contain a few black stripes, but these stripes will not be random. These stripes will occur at a known time, and therefore can be removed using known image processing techniques.
It should be noted that the invention has been described with reference to exemplary and preferred embodiments, and that the invention is not limited to these embodiments. For example, although the shutter control signals have been described as being asserted on the falling edges of the horizontal retrace signal, this is preferred but not a requirement of the invention. What is important is that the shutter control signal is in some way synchronized to the horizontal retrace signal, which results in the frame rate being synchronized to the horizontal retrace signal. Also, although the optical sensor has been described as being part of the input device, the optical sensor may be separate from, and in communication with, the input device. Those skilled in the art will understand that modifications may be made to the embodiments described herein and that all such modifications are within the scope of the invention.