This invention generally relates to the field of gaming and multimedia devices. In particular, the present invention is directed to a wireless protocol used to communicate data and voice information between a gaming device and wireless peripheral accessories.
In gaming systems there is a strong demand for wireless controllers in order to eliminate the cabling found strung across so many living room floors. Existing wireless controllers are expensive and do not always provide a robust connection to the gaming device because of interference. Latency is another critical concern to gamers, as it is desirable that the wireless controller respond like a wired controller. In addition, there may be features in future gaming consoles that the wireless link must support. Developing a wireless game controller that meets these constraints would be greatly benefited by a protocol that enables multiple wireless devices to simultaneously communicate with the gaming device, while also providing for error correction and detection with minimal latency. The protocol should also be able to support new devices and functionalities as they become available.
Thus, there is a need for a system that overcomes these and other limitations in the prior art. There is also a need for the system to be cost efficient and effective. The present invention provides such a solution.
The present invention is directed to methods for communicating voice and data between a gaming console and a wireless accessory using a wireless protocol where the host and the wireless accessory transmit and receive based on a time frame. The method includes transmitting an upstream data packet in an upstream sub frame from the wireless accessory to the host; transmitting at least one of a downstream voice packet and a downstream data packet in a downlink sub frame from the host to the wireless accessory; and transmitting an uplink retransmission packet and a downlink retransmission packet during a retransmission sub frame. The voice data and wireless accessory data are simultaneously communicated via the wireless protocol.
In accordance with a feature of the invention, upstream data packet includes a first upstream data sub packet and a first upstream voice sub packet. The method further includes assigning the first upstream data sub packet and the first upstream voice sub packet a first time slot, and assigning a subsequent upstream data packet that comprises a subsequent data sub packet and a subsequent upstream voice sub packet to a subsequent time slot. A first wireless accessory may transmit wireless accessory data in the first upstream data sub packet, and second voice-enabled device may transmit voice data the first upstream voice sub packet.
In accordance with another feature, the upstream and downstream voice and data packets each comprise an RF setup field, a preamble field, a sync field, a header field, a data field, and an error correction field. The voice data may be communicated in the downstream voice packet to a plurality of voice-enabled devices. In addition, a plurality of downstream voice packets may be communicated in the downlink sub frame.
In accordance with yet another feature, the gaming console may broadcast the downstream data packet to a plurality of wireless accessories. The downstream data packet may include predetermined data sub fields containing data for each of the plurality of wireless accessories. The method may also include transmitting the uplink retransmission packet from the wireless accessory only if an acknowledgement is not received from the gaming console in the downlink sub frame. Likewise, the downlink retransmission packet may be rebroadcast to a plurality of wireless accessories.
In accordance with another feature, each packet may be transmitted within the wireless protocol in a frequency hopping spread spectrum system on a different frequency associated with a Time Division Multiple Access (TDMA) time slot.
Additional features and advantages of the invention will be made apparent from the following detailed description of illustrative embodiments that proceeds with reference to the accompanying drawings.
The foregoing summary, as well as the following detailed description of preferred embodiments, is better understood when read in conjunction with the appended drawings. For the purpose of illustrating the invention, there is shown in the drawings exemplary constructions of the invention; however, the invention is not limited to the specific methods and instrumentalities disclosed. In the drawings:
A graphics processing unit (GPU) 108 and a video encoder/video codec (coder/decoder) 114 form a video processing pipeline for high speed and high resolution graphics processing. Data is carried from the graphics processing unit 108 to the video encoder/video codec 114 via a bus. The video processing pipeline outputs data to an A/V (audio/video) port 140 for transmission to a television or other display. A memory controller 110 is connected to the GPU 108 to facilitates processor access to various types of memory 112, such as, but not limited to, a RAM (Random Access Memory).
The multimedia console 100 includes an I/O controller 120, a system management controller 122, an audio processing unit 123, a network interface controller 124, a first USB host controller 126, a second USB controller 128 and a front panel I/O subassembly 130 that are preferably implemented on a module 118. The USB controllers 126 and 128 serve as hosts for peripheral controllers 142(1)-142(2), a wireless adapter 148, and an external memory device 146 (e.g., flash memory, external CD/DVD ROM drive, removable media, etc.). The network interface 124 and/or wireless adapter 148 provide access to a network (e.g., the Internet, home network, etc.) and may be any of a wide variety of various wired or wireless adapter components including an Ethernet card, a modem, a Bluetooth module, a cable modem, and the like.
System memory 143 is provided to store application data that is loaded during the boot process. A media drive 144 is provided and may comprise a DVD/CD drive, hard drive, or other removable media drive, etc. The media drive 144 may be internal or external to the multimedia console 100. Application data may be accessed via the media drive 144 for execution, playback, etc. by the multimedia console 100. The media drive 144 is connected to the I/O controller 120 via a bus, such as a Serial ATA bus or other high speed connection (e.g., IEEE 1394).
The system management controller 122 provides a variety of service functions related to assuring availability of the multimedia console 100. The audio processing unit 123 and an audio codec 132 form a corresponding audio processing pipeline with high fidelity and stereo processing. Audio data is carried between the audio processing unit 123 and the audio codec 132 via a communication link. The audio processing pipeline outputs data to the A/V port 140 for reproduction by an external audio player or device having audio capabilities.
The front panel I/O subassembly 130 supports the functionality of the power button 150 and the eject button 152, as well as any LEDs (light emitting diodes) or other indicators exposed on the outer surface of the multimedia console 100. A system power supply module 136 provides power to the components of the multimedia console 100. A fan 138 cools the circuitry within the multimedia console 100.
The CPU 101, GPU 108, memory controller 110, and various other components within the multimedia console 100 are interconnected via one or more buses, including serial and parallel buses, a memory bus, a peripheral bus, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures can include a Peripheral Component Interconnects (PCI) bus, PCI-Express bus, etc.
When the multimedia console 100 is powered ON, application data may be loaded from the system memory 143 into memory 112 and/or caches 102, 104 and executed on the CPU 101. The application may present a graphical user interface that provides a consistent user experience when navigating to different media types available on the multimedia console 100. In operation, applications and/or other media contained within the media drive 144 may be launched or played from the media drive 144 to provide additional functionalities to the multimedia console 100.
The multimedia console 100 may be operated as a standalone system by simply connecting the system to a television or other display. In this standalone mode, the multimedia console 100 allows one or more users to interact with the system, watch movies, or listen to music. However, with the integration of broadband connectivity made available through the network interface 124 or the wireless adapter 148, the multimedia console 100 may further be operated as a participant in a larger network community.
When the multimedia console 100 is powered ON, a set amount of hardware resources are reserved for system use by the multimedia console operating system. These resources may include a reservation of memory (e.g., 16 MB), CPU and GPU cycles (e.g., 5%), networking bandwidth (e.g., 8 kbs), etc. Because these resources are reserved at system boot time, the reserved resources do not exist from the application's view.
In particular, the memory reservation preferably is large enough to contain the launch kernel, concurrent system applications and drivers. The CPU reservation is preferably constant such that if the reserved CPU usage is not used by the system applications, an idle thread will consume any unused cycles.
With regard to the GPU reservation, lightweight messages generated by the system applications (e.g., popups) are displayed by using a GPU interrupt to schedule code to render popup into an overlay. The amount of memory required for an overlay depends on the overlay area size and the overlay preferably scales with screen resolution. Where a full user interface is used by the concurrent system application, it is preferable to use a resolution independent of application resolution. A scaler may be used to set this resolution such that the need to change frequency and cause a TV resynch is eliminated.
After the multimedia console 100 boots and system resources are reserved, concurrent system applications execute to provide system functionalities. The system functionalities are encapsulated in a set of system applications that execute within the reserved system resources described above. The operating system kernel identifies threads that are system application threads versus gaming application threads. The system applications are preferably scheduled to run on the CPU 101 at predetermined times and intervals in order to provide a consistent system resource view to the application. The scheduling is to minimize cache disruption for the gaming application running on the console.
When a concurrent system application requires audio, audio processing is scheduled asynchronously to the gaming application due to time sensitivity. A multimedia console application manager (described below) controls the gaming application audio level (e.g., mute, attenuate) when system applications are active.
Input devices (e.g., controllers 142(1) and 142(2)) are shared by gaming applications and system applications. The input devices are not reserved resources, but are to be switched between system applications and the gaming application such that each will have a focus of the device. The application manager preferably controls the switching of input stream, without knowledge the gaming application's knowledge and a driver maintains state information regarding focus switches.
Referring to
Exemplary Embodiments of a Wireless Protocol
Referring to
Referring now to
As will become evident to those of ordinary skill in the art, each accessory and/or voice-enabled device receives and transmits packets in a similar fashion, however at its appropriate time slot in accordance with the TDMA structure of the protocol 200. As such, the following description will be made with reference to accessory 1, but it applies to each of accessories 2-4, as shown in
The console 100 will broadcast a data packet 228 to all devices at time slot F(n+1). The data packet will be rebroadcast as data packet 232 at time slot F(n+1)+20. At time slot F(n), accessory 1 may rebroadcast its data sub packet as data sub packet 230. This preferably done only if data sub packet 222 is not acknowledged by the console 100 in the data broadcast packet 228.
Referring now to
A sync field 238 is used by the receiving device to synchronize with the transmitting frequency and phase. A header field 240 contains the information needed for data payload field that follows the header. The data payload field 242 contains the information that is to be transmitted over the wireless interface. The length of this field is determined by type of the packet. The data packet is either error detectable or correctable based on the packet type using an error correction field 244. For example, a cyclic redundancy code (CRC) may be used for detecting the packet error for voice packets, whereas forward error correction (FEC) is used for the data transmissions. Reed-Solomon forward error correction algorithm may be used here. The Reed-Solomon encoder takes the original data and adds extra “redundant” bits. Errors occur during the wireless transmission. The Reed-Solomon decoder processes the received data and attempts to correct errors and recover the original data. The number and type of errors that can be corrected depends on the characteristics of the Reed-Solomon code.
As noted above, the wireless system uses frequency hopping spread spectrum. A Pseudo-Random hopping sequence may be used for the system. The sequence generation may be based on a Maximum-Length Linear Feedback Shift Registers (ML-LFSR) method. Two channel allocation schemes may be used in the wireless protocol 200. The first scheme is a frame based allocation and the second scheme is a slot based channel allocation. For the frame based channel allocation, the 7 LSb out of the 19 bits of the M-sequence are used for selecting the RF channel for each frame. First, the system calculates the remainder of the 7LSb/41, and the reminder is then used as the channel number for the frame. For example, if the 7 LSB of a hop entry is 1011001, the table entry for the RF channel for this entry is:
Thus, Channel 7 is selected.
To fully compliant with FCC requirement, each channel has to be equally accessed. This means that if the 7LSb of the hopping entry is greater than 122, this entry will be skipped and next entry will be used. For the slot based channel selection, after the channel for each frame is selected, inside each frame, there are 9 slots. The frequency allocation for each slot then made in accordance with Table 1, above.
Upstream Sub Frame 200A
Referring to
Referring to
Each upstream data sub packet (246-258) contains three fields: a header 252, data body 254, and an FEC field 256. The header field 252 contains the information about the accessory data field, dynamic power management and quality of service (QoS). The data field 254 format may be specified in a packet type field in the header 252 and may be that of
The upstream voice sub packet (260-272) contains three fields: a header field 266, a voice data field 268 and a CRC field 270. The header field 266 indicates the types and properties of the voice data packet. The voice data field 268 contains encoded voice data and link control data and may be structured as shown in
Downstream Sub Frame 200B
Referring to
Referring to
Retransmission Sub Frame 200C
Referring now to
The broadcast retransmission packet 218 is the repetition of the broadcast packet 212. It transmits the same information as in broadcast packet, but on a different carrier frequency (see,
In addition to the above, the protocol of the present invention provides for a flexible environment where devices known and unknown may be enabled to communicate via the wireless link.
While the present invention has been described in connection with the preferred embodiments of the various Figs., it is to be understood that other similar embodiments may be used or modifications and additions may be made to the described embodiment for performing the same function of the present invention without deviating therefrom.