A USB peripheral device with equivalent polling rate adjustment function

TWI934297BActive Publication Date: 2026-08-01張斐鈞
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
TW · TW
Patent Type
Patents
Current Assignee / Owner
張斐鈞
Filing Date
2024-10-01
Publication Date
2026-08-01

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

Typical USB peripherals have a limited polling rate due to the USB connection category. To make the polling rate adjustable, hardware can be added to the peripheral to virtually classify it as another connection category, thereby adjusting the equivalent polling rate.
Need to check novelty before this filing date? Find Prior Art

Description

A USB peripheral device with adjustable equivalent reporting rate The present invention relates to a USB peripheral device with adjustable equivalent reporting rate. In particular, a hardware circuit is added to a human-machine interface classification device in the USB peripheral device, such as a mouse or a keyboard, so that it can be virtually changed into other connection classifications to adjust the equivalent reporting rate. For general USB peripheral devices, limited by the connection classification of USB, the reporting rate has an upper limit. A typical example is that the reporting rate of a mouse is 125Hz or 1000Hz. However, in games that use a mouse as an input control, a high reporting rate can enhance the gaming experience of certain games. Therefore, a mouse with a fixed reporting rate or an upper limit on the reporting rate urgently needs improvement. Taking a mouse as an example, some technologies aim to increase the DPI of the mouse chip. However, an overly high DPI sometimes hinders the gaming experience. For example, when the DPI exceeds 4000, when the user controls the cursor, although the speed of the cursor movement seems to increase, it is also prone to shaking. If the game the user is playing at this time is a first-person shooter game, the aiming reticle in the picture is prone to shaking. Although the speed of the reticle movement has become faster, it反而 makes it more difficult for the user to aim. When the reporting rate is low, the trajectory of the cursor movement will not be smooth enough, which will also affect the user experience. Therefore, the present invention provides a USB peripheral device that can be unrestricted by the host's reporting rate setting for the USB peripheral device to solve the aforementioned problems. The present invention relates to a USB peripheral device with adjustable equivalent reporting rate. In particular, a hardware circuit is added to a human-machine interface classification device in the USB peripheral device, such as a mouse or a keyboard, so that it can be virtually changed into other connection classifications to adjust the equivalent reporting rate. The purpose of the present invention is to provide a USB peripheral device with adjustable equivalent reporting rate for coupling to a host device. To achieve the above object, the present invention provides a USB peripheral device with adjustable equivalent reporting rate for coupling to a host device. The peripheral device includes an input sensing circuit for sensing a user's manual input, generating a plurality of sensing results, and outputting the sensing results to the host device; a peripheral device processing circuit coupled to the input sensing circuit for receiving the sensing results, specifying a numerical range of an equivalent reporting rate according to a setting command of the user, and determining a connection classification of the peripheral device, and outputting the sensing results to the host device at the equivalent reporting rate based on the specifications of the connection classification; wherein the sensing frequency of the input sensing device is not less than the equivalent reporting rate. To achieve the above object, the present invention provides a USB peripheral device with adjustable equivalent reporting rate for coupling to a host device. The peripheral device includes an input sensing circuit for sensing a user's manual input, generating a plurality of sensing results, and outputting the sensing results to the host device; a peripheral device processing circuit coupled to the input sensing circuit for receiving the sensing results, specifying a value range of an equivalent reporting rate according to a setting command of the user, and determining a connection classification of the peripheral device, and outputting the sensing results to the host device at the equivalent reporting rate based on the specifications of the connection classification; wherein the sensing frequency of the input sensing device is not less than the equivalent reporting rate, and the specifications of the connection classification are different from the human-machine interface classification of USB 03h or 05h. To make the above and other objects, features, and advantages of the present invention more obvious, the following specifically illustrates embodiments of the present invention and, in conjunction with the accompanying drawings, provides a detailed description as follows. 101: Input sensing circuit 102: Manual input 103: Peripheral device processing circuit 104: Setting command 105: Interface 107: Host device 201: Roller 202, 203: Side keys 204: Up key L1, L2, R1, R2: Function keys SELECT: Main selection key START: Start key HOME: Main menu key 301: Direction keys 302, 303: Multi-function keys X, Y, A, B: Game keys Figure 1 is a block schematic diagram of a USB peripheral device according to an embodiment of the present invention. Figure 2a is a mouse including a physical control unit according to an embodiment of the present invention. Figure 2b is a joystick including a physical control unit according to an embodiment of the present invention. Figure 3 is a schematic diagram of the pressing degree of keys on a keyboard according to an embodiment of the present invention. The present invention aims to provide a technical solution for a USB peripheral device such as a mouse. The USB peripheral device can change the connection classification of the peripheral device and transmit the sensing signals generated by the peripheral device of the human-machine interface classification according to the classification specifications of a USB mass storage device. Thereby, the equivalent reporting rate can be adjusted. Traditional USB peripheral devices, such as mice, keyboards, joysticks, etc., when connected to a host, will declare a human-machine interface of 03h or 05h through the USB specification. At this time, the data transfer frequency of such peripheral devices will be limited by the polling rate setting of the USB Host on the motherboard. Taking a mouse as an example, the typical polling rate is 125Hz or 1000HZ. The polling rate represents the frequency at which the mouse provides displacement data. Therefore, it can be understood that when set at 125Hz, the mouse can provide 125 pieces of displacement data per second, and when set at 1000Hz, the mouse can provide 1000 pieces of data per second. Assume that the mouse is operated in the same way. During the same time interval, the displacement of the mouse is the same. At this time, with a polling rate of 1000Hz, the mouse displacement trajectory for this time can be composed of 1000 pieces of data, while with a polling rate of 125Hz, only 125 pieces of data can be obtained to form this trajectory. From this, we can clearly see that a higher polling rate can obtain a smoother displacement trajectory. In some games, such as first-person shooter games, a high polling rate has two main advantages. One is that the displacement trajectory of the mouse is usually the movement trajectory of the aiming reticle. If the trajectory is smooth, then players can obtain a better aiming experience. The other is that the interval at which the mouse provides data is shortened, so that the time length from when the player triggers the shooting command to when the command is transmitted to the host can be shortened, avoiding the situation where the player has already pressed the button on the mouse to trigger the shooting command, but the game program needs a relatively long time to receive the command to complete the action. The setting of a high polling rate is even more important in games where hitting the vital parts of an opponent results in higher scores. Because in such games, both the characters controlled by the player and the opponent are moving in real time. If, after the player shoots, the game program needs to wait a relatively long time to receive the command, the opponent's character may move slightly during this time, thus avoiding the high score loss of having the vital part shot. Preferably, the polling rate should be higher than 8000Hz. Considering the limitations of human vision, the upper limit of the polling rate can be set at 20000Hz. Since such action triggers are not limited to the mouse and sometimes are achieved through buttons on the keyboard or joysticks, the setting of a high polling rate is applicable not only to mice but also to human-machine interfaces such as keyboards and joysticks. Such a high return rate cannot be achieved for the USB specifications of 0.3h and 0.5h. The maximum return rate supported by this specification is 8000Hz for USB 3.X and above, and even lower for USB 2.X and below, and it cannot be adjusted according to the user's preference. Therefore, it can be achieved by virtualizing the USB peripheral device into other types of devices. For example, it can be virtualized into a USB mass storage device. Taking the most widely used USB 2.X as an example, the data transfer rate it supports is between 12M and 480M per second, and its data transfer specification is sufficient for the USB peripheral device to use. And the data transfer rate of USB 3.X is even higher, which is more than sufficient. By virtualizing the USB peripheral device into such a device, data can be continuously sent to the host during the working cycle of the USB device, thereby achieving the purpose of the present invention and allowing the user to set a sufficiently high equivalent return rate to output the sensing result to the host device. To achieve the purpose of the present invention, the maximum value of the equivalent return rate can be set to 20000Hz, and preferably 4000Hz - 8000Hz. Figure 1 is a block schematic diagram of a USB peripheral device according to an embodiment of the present invention. The input sensing circuit 101 is coupled to the peripheral device processing circuit 103. The input sensing circuit 101 is used to sense the user's manual input 102. For example, when the peripheral device is a mouse, it senses the displacement and button presses of the mouse by the user. When the peripheral device is a keyboard, it senses the pressing degree of each button on the keyboard by the user. When the peripheral device is a joystick, it senses the operations of various buttons on the joystick by the user, etc. The input sensing circuit 101 correspondingly generates multiple sensing results and outputs the results to the host device. The peripheral device processing circuit 103 is used to receive the sensing results of the input sensing circuit 101, and according to a setting command 104 of the user, specify a value range of an equivalent return rate, and determine a connection classification of the peripheral device. It will then output the sensing results to the host device 107 at the equivalent return rate through an interface 105. The user can complete the setting command in many different ways. For example, in one embodiment, the peripheral device vendor can provide an application installed on the host device 107, through which the user can set an equivalent refresh rate. Or, in other embodiments, the user can set an equivalent refresh rate through a physical control unit installed on the USB peripheral device. Generally, the physical control unit suitable for installation on the USB peripheral device is a button, a scroll wheel, or a combination of buttons that can be pre-specified to set the equivalent refresh rate, which is further described as follows. When using a button, various equivalent refresh rate values for a reciprocating cycle can be specified, such as three different values arranged in sequence: 4000Hz, 8000Hz, and 12000Hz. Each time the button is pressed, it jumps to the next value and so on. When using a scroll wheel, it is similar. Each time the scroll wheel is triggered, it jumps to the next value. When using a combination of buttons, different combinations of buttons can be used to correspond to different values, or the same combination of buttons. Each time the combination is pressed, it jumps to the next value and so on. The advantage of using a combination of buttons is that no additional physical control unit needs to be added. These physical control units are all hardware suitable for installation on a mouse, keyboard, or joystick. Figure 2a illustrates a mouse with a physical control unit as a button, and Figure 2b illustrates a joystick with a physical control unit as a button. It should be particularly noted that the setting diagrams of these buttons are only for illustrative purposes and are not intended to limit the present invention. In the above embodiments, the input sensing circuit can be used to sense the pressing degree of each button on the keyboard. When the pressing degree of the button exceeds a preset value, the sensing result represents the triggered state of each button being pressed. Different joysticks will have different button settings. For example, they usually include buttons, cross keys, round multi-directional keys, side buttons, and so on. Further illustration, Figure 2a exemplifies a common gaming mouse. In addition to the common left button, right button, and scroll wheel 201, it also includes buttons such as an up button 204, side buttons 202, and 203. These buttons can be designated by the user to trigger different functions. For example, pressing the up button 204 triggers the various equivalent refresh rate values of the aforementioned reciprocating cycle. Or pressing the side button 202 triggers an increase in the equivalent refresh rate, and pressing the side button 203 triggers a decrease in the equivalent refresh rate, and so on for function settings. It should be noted that different gaming mice can have different numbers of button settings, which gives the user more freedom to specify button functions. Figure 2b illustrates a common game joystick, which has more diversity in settings compared to a mouse. Generally, a joystick will have function keys L1, L2, R1, R2, a main selection key SELECT, a start key START, a main menu key HOME, a direction key 301, multi-function keys 302, 303, game keys X, Y, A, B, etc. Almost all buttons except the direction key 301 can be set to trigger the equivalent refresh rate adjustment function. The above buttons can all be set to have the function of detecting the pressing degree, so that corresponding functions can also be triggered through different pressing degrees. When the peripheral device is a mouse, the sensing result includes displacement and the triggering signal of the mouse buttons. The sensing of displacement is completed by an optical navigation sensing circuit included in the input sensing circuit 101, which senses the displacement of the mouse relative to the working surface by receiving the reflected light of a working surface. After receiving the sensing result, the peripheral device processing circuit 103 outputs the sensing result to the host device 107 at the equivalent refresh rate. When the mouse is a wired mouse, since it is connected to the host device 107 through a physical wire, it is hardly affected by wireless signals in the environment and there is no problem of power supply shortage. Therefore, the equivalent refresh rate can be set to a maximum value that can be set. On the other hand, when the mouse is a wireless mouse, in the real-time game state, it should be ensured that the equivalent refresh rate is a high value, but when脱离 the real-time game state, the equivalent refresh rate can be preset to be lower than a maximum value that can be set, so that the number of data transmissions can be reduced, and the power consumption can be reduced while reducing the probability of being interfered by wireless signals in the environment. Manufacturers of peripheral devices can set the equivalent refresh rate to one or more fixed values, or can also open it to users to set the equivalent refresh rate so that users can set it to their favorite values. They can also cooperate with program developers to specify different built-in equivalent refresh rates when different games are launched according to different games. 101: Input sensing circuit 102: Manual input 103: Peripheral device processing circuit 104: Setting command 105: Interface 107: Host device

Claims

1. A USB peripheral device with an adjustable equivalent polling rate for coupling to a host device, the peripheral device comprising: an input sensing circuit for sensing a user's manual input, generating multiple sensing results, and outputting the sensing results to the host device; a peripheral device processing circuit coupled to the input sensing circuit for receiving the sensing results, receiving a setting command from the user, specifying a numerical range of an equivalent polling rate, and classifying a connection of the peripheral device as a USB mass storage device by a human-machine interface, and outputting the sensing results to the host device at the equivalent polling rate based on the specifications of the connection classification; wherein the USB peripheral device is a mouse; the sensing frequency of the input sensing device is not less than the equivalent polling rate; when the mouse is a wired mouse, the equivalent polling rate is preset to a settable maximum value within the numerical range; when the mouse is a wireless mouse, when out of real-time gaming mode, the equivalent polling rate is preset to a value lower than the settable maximum value within the numerical range.

2. The USB peripheral device as described in claim 1, wherein the input sensing circuit includes an optical navigation sensing circuit that senses a displacement of the mouse relative to the working surface by receiving reflected light from a working surface, and the sensing result includes the displacement.

3. The USB peripheral device as described in claim 1, wherein the highest value of the equivalent polling rate is 20000Hz, preferably 4000Hz to 8000Hz.

4. The USB peripheral device as described in claim 1, wherein the equivalent polling rate can be set by the user through the host device or through a physical control unit on the USB peripheral device; wherein the physical control unit may be a button or a scroll wheel.

5. A USB peripheral device with an adjustable equivalent polling rate for coupling to a host device, the host device having a game installed therein, the peripheral device comprising: an input sensing circuit for sensing a user's manual input and generating multiple sensing results, and outputting the sensing results to the host device; a peripheral device processing circuit coupled to the input sensing circuit for receiving the sensing results and receiving a setting command from the game, specifying a numerical range of an equivalent polling rate, and specifying a connection category of the peripheral device as a USB mass storage device by a human-machine interface, and outputting the sensing results to the host device at the equivalent polling rate based on the specifications of the connection category; wherein the USB peripheral device is a mouse; the sensing frequency of the input sensing device is not less than the equivalent polling rate; when the mouse is a wired mouse, the equivalent polling rate is preset to a settable maximum value within the numerical range; when the mouse is a wireless mouse, when out of real-time game mode, the equivalent polling rate is preset to a value lower than the settable maximum value within the numerical range.