1. Field of Invention
The present invention relates to an optical remote control system and a light source control method therefor, in particular to such optical remote control system and light source control method which are capable of modulating a light source for better orientation.
2. Description of Related Art
Many current interactive video game systems provide users with joysticks or remote controllers so that the users can play the games by actions, e.g. to drive a race car, to swing a golf club, etc. Such joystick or remote controller typically includes a gyro, an accelerometer, or an image sensor. In a joystick or remote controller which employs the image sensor, the image sensor senses images and generates information for controlling the movement of a cursor or a pointer on a screen, or for selecting an icon to execute a corresponding function or program, etc.
The limited operating distance or operating range is disadvantageous; the light spot is smaller than the required minimum size and cannot be recognized when the distance is longer than the maximum operating distance, and the light spot image is larger than the required maximum size and cannot be recognized when the distance is shorter than the minimum operating distance. If the size of the light spot is enlarged to increase the maximum operating distance, the minimum operating distance is adversely affected. On the contrary, if the size of the light spot is decreased to shorten the minimum operating distance, the maximum operating distance of the light spot image is also shortened.
In view of above, the present invention overcomes the foregoing drawbacks by providing an improved optical remote control system and a light source control method. The operating distance of the optical remote control system can be enlarged by adjusting the number and the positions of the lightened units of the light source for the orientation. The light spot becomes recognizable more accurately in a wider range, and the lighting units can be controlled in an optimal way to effectively save the power of the light source.
An objective of the present invention is to provide an optical remote control system.
Another objective of the present invention is to provide a method for controlling a light source of an optical remote control system.
To achieve the foregoing objectives, in one aspect, the present invention provides an optical remote control system, comprising: a light source including a plurality of lighting units, the light source generating at least one light beam; an image sensor receiving an image including the light beam; and a processor determining a number or positions of the lighting units which are activated according to an area of the light beam in the image.
In one embodiment of the foregoing optical remote control system, the area of the image of the light beam is represented by a number of pixels of the image, and the processor reduces the number of the lighting units which are activated when the number of pixels is larger than a first threshold; the processor increases the number of the lighting units which are activated when the number of pixels is smaller than a second threshold.
In one embodiment of the foregoing optical remote control system, the light source changes the number and/or the positions of the lighting units which are activated according to a predetermined rule.
In the foregoing optical remote control system, the light beam emitted from the lighting units can occupy a single area or multiple separated areas in the image received by the image sensor.
In the foregoing optical remote control system, when the lighting units are not all activated at the same time, the light source preferably changes the positions of the lighting units which are activated in a predetermined order.
In yet another aspect, the present invention provides a method for controlling an optical remote control system, the optical remote control system comprising a light source including a plurality of lighting units and an image sensor, the method comprising: generating at least one light beam from the light source; receiving an image including the light beam; and determining a number or positions of the lighting units which are activated according to an area of the light beam in the image.
The objectives, technical details, features, and effects of the present invention will be better understood with regard to the detailed description of the embodiments below, with reference to the drawings.
The optical remote control system and light source control method according to the present invention are applicable to computers, video players or interactive game systems, such as for moving a pointer on a display of a computer monitor, remote-control of a video player, remote-control of a smart TV, etc. Because an interactive game system is currently popular, it is taken as an example in the following description.
When the controller 21 is operated by the user, the lighting units 231 of the light source 23 generate one or multiple infrared (IR) rays which are imaged in the image sensor 211 of the controller 21. In this embodiment, the processor 213 is disposed in the controller 21, but it can be disposed in the game host 22 in another embodiment. The game host 22 includes a transceiver 221, which communicates with the transceiver 212 of the controller 21 through the radio frequency signals RF1 and RF2 (or IR signals) for bidirectional data transmission. In addition, the transceiver 212 of the controller 21 also can communicates with the transceiver 232 of the light source 23 through the radio frequency signals RF3 and RF4 (or IR signals) for bidirectional data transmission. In other embodiments, the aforementioned data transmission can be conducted in a wired way.
In the prior art, all lighting units of the light source are turned on concurrently. However, when the distance between the light source and the image sensor is smaller than a minimum operating distance, the light spot is too large and cannot be recognizable. In the current embodiment, the processor 213 instructs the light source 23 to adaptively adjust the number of the lighting units 231 which are activated according to the information of the light spot in the captured image. That is, when the light spot is larger than the required size and covers too many pixels, the processor 213 sends a signal to the light source 23 to reduce the number of the turned-on lighting units 231, until the processor 213 determines that the light spot covers a proper pixel area. Referring to
Furthermore, when the lighting units are not activated all at the same time, the light source 23 can change the positions of the lighting units 231 which are activated in a predetermined order after a period of time. This can prolong the lifetime of the lighting units.
That the lighting units 231 of the light source 23 can be individually controlled provides benefits that the image sensor 211 can obtain an optimal image and the electrical power can be effectively saved. In addition to such benefits, the lighting units 231 of the light source 23 can be individually controlled for identification or for other functions. The lighting units 231 of the light source 23 can be selectively turned on according to a predetermined rule. For example, the number and/or the positions of the lighting units 231 which are activated are sequentially changed after a certain interval (e.g., 1 second). Such alternating lighting can be used as a communication protocol between the light source 23 and the controller 21, for functions such as expressing a request to initializing communication, a position confirmation, or any other specific request. An application of such communication may when the controller 21 receives sequential images according to a predetermined rule, it can confirm the identity of the light source and determines whether to start communication with the light source, or to filter undesired interference light if the images do not express a defined protocol. For example, when the light source 23 is interfered by other surrounding light sources, the controller 21 cannot identify which light spot in the image 25 corresponds to the light source 23 that the image sensor 211 intends to receive light from. In this case, the controller 21 can send an identification request to the light source 23, such as to regularly and sequentially activate the lighting units 231, for position confirmation.
In addition to the foregoing benefits, that the lighting units 231 of the light source 23 can be individually controlled can be used to provide other control functions.
The present invention has been described in considerable detail with reference to certain preferred embodiments thereof. It should be understood that the description is for illustrative purpose, not for limiting the scope of the present invention. Those skilled in this art can readily conceive variations and modifications within the spirit of the present invention. For example, the positions of the light source 23 and the image sensor 211 can be exchanged, and the image sensor 211 does not necessary have to be disposed in the controller 21. For another example, the controller 21, the game host 12, and the light source 23 can commute with each other in a wired or wireless manner not limited to the manner as shown in the drawings. Furthermore, multiple thresholds can be set to confine the pixel number of the light spot. For example, a first threshold is set which defines the maximum pixel number, and if this threshold is reached, the system reduces the number of the lighting units which are activated; a second threshold is set which defines the minimum pixel number of the recognizable pixel area, and if this threshold is reached, the system increases the number of the lighting units which are activated. Thus, the present invention should cover all such and other modifications and variations, which should be interpreted to fall within the scope of the following claims and their equivalents.