Kinect - The Sensor

The sensor itself matches the style and appearance of - you guessed it - the new Xbox 360 S. That means its every surface is glossy black plastic which looks nice, but immediately shows fingerprints, dust, and scratches. If you’re OCD like me and don’t happen to live in a clean room, this is a constant but minor annoyance. Oh well, at least it matches the console.

The Kinect is noticeably bottom-heavy, with a center of gravity closer to the bottom and somewhere in the base most likely. This makes sense since the horizontal arm housing the optical system and microphone array pivots vertically - the base is a stage of sorts which lets the top arm sweep through around 30 degrees to adapt itself to placement on top of a TV or below on a table, basically to suit your entertainment setup.

 

There’s a three-axis MEMS accelerometer onboard ostensibly for determining the tilt of the sensor relative to the base of the device - if you put Kinect on top of a TV for example, there’s no assurance that the surface the Kinect is resting on is normal to the ground. 

Down on the bottom you’ll notice an obvious grating, under which hides a four-microphone array for some beamforming goodness. The result is that the Kinect can sense which direction sounds are coming from, for isolating a single speaker rather than an omnidirectional or even stereo microphone. That's critically important for also picking out voice commands while there's music and game noise blaring in the same room.

The most prominent physical feature on the Kinect, however, is its relatively sophisticated optical system. From left to right is an IR laser projector (more on this in a second), RGB camera, and IR camera. Between the RGB camera and IR laser is simply a green LED for status - it plays no role in the actual optical system. Also on the bottom of the sensor is a nondescript class-1 laser product notice - yes, the Kinect indeed uses an IR laser, but it’s completely eye safe at class-1.

There’s also a requisite laser warning buried in one of the three booklets that ship inside the Kinect sensor box, but you’ll notice that Microsoft has been careful to avoid drawing attention to the fact that there’s a laser in Kinect - people have a strange aversion to looking at or into perfectly eye-safe lasers. There’s no marked wavelength that I could find, but the Kinect’s IR projector is visible to my naked eye and exhibits trademark laser speckle - my guesses are that the laser is between 750 and 900 nm, with 808 and 880 nm being common commercial “IR” laser diode wavelengths. 

From the Xbox’s perspective, there are two separate video streams which come from the Kinect - one 640x480 (VGA) 30FPS stream from the RGB color camera, and one 640x480 11-bit 30FPS image stream which is the output 3D depth image after processing. Kinect implements a subset of Prime Sense’s natural interaction reference design, which originally specified a much higher resolution color sensor and 60FPS depth image. Other subtle differences are that Prime Sense specifies two audio streams, whereas Kinect uses an obvious four, but such tweaks are ultimately the result of Microsoft having to maintain a delicate balance between optical performance and staying within a reasonable price point. 

Original Prime Sense reference design specification

How Kinect senses depth is half of the magic behind how it works - the other half is software. There’s actually not a lot behind how Kinect creates that 11-bit depth image once you understand how it works. Kinect uses a structured light IR projector and sensor system - something widely used in both industrial manufacturing and inspection. The principle of structured light sensing is that given a specific angle between emitter and sensor, depth can be recovered from simple triangulation. Expand this to a predictable structure, and the corresponding image shift directly relates to depth. 

Example structured-light system optical system, from  Spacecraft hazard avoidance utilizing structured light

In Kinect, that system is comprised of an IR laser (which I’ve already touched on), a carefully engineered diffraction grating (in this case, the diffraction grating is actually a computer-generated hologram - CGH - with a specific periodic structure), and a relatively standard CMOS detector with a band-pass filter centered at the IR laser wavelength. Inspecting the sensor with the naked eye, you can easily see the characteristic rainbow-effect from the CGH atop the IR projector, and that shiny layer on the IR-sensitive CMOS is likely a band-pass filter.

That carefully-engineered CGH produces a specific periodic structure of IR light when the laser shines through it. There’s a computationally-derived periodic structure of undoubtedly square cells inside which diffract light into a periodic structure. The first day I had Kinect, I immediately set out to find what that pattern was, and it’s simple to measure. Although the laser itself is intense enough to see with the naked eye at the source, the projected pattern thankfully isn’t, but the solution is trivial. Stick a lambertian reflector (read: piece of paper) in front of Kinect, and you can see the pattern with any IR-sensitive device. Though my DSLR has a low-pass IR cut filter like most cameras (since IR is generally undesirable in visible imaging systems), the most immediate device I found which was sensitive enough to photograph the pattern was a smartphone camera - an iPhone 4. The image is obviously false-color - this radiation is actually in the far red/near IR part of the spectrum. That pattern is below:

You can immediately notice some things - first, there are 9 clearly visible repeating blocks with a specific semi-random pattern of points inside. This structure is repeated across the blocks, and it’s obvious this pattern arises from a holographic structure from the bright 0-order point at the center of each block. Note also how the structure is also engineered to be spherical, which gives it that curvy edge shape - the paper is actually being held perpendicular to the projector. This projection grid defines the field of view of the Kinect sensor, and the distance between points inside the grid likewise defines the spatial resolution of the depth sensor. I’m only holding the paper about a foot away from the projector. Close up inside one of those cells you can see the structure which consists of many small points:

The projected image doesn’t change in time - it’s fixed this way. The IR CMOS sensor images this pattern projected onto the room and scene, and given the camera’s displacement a few inches from the projector, from the displacements in the semi-random projected pattern is able to back out the corresponding depth image. That compuation is done onboard the Kinect itself, and it’s entirely possible (read: likely) that the IR sensor inside the Kinect is higher than the 640x480 resolution of the resulting image.

When iFixit tore apart the Kinect, it was immediately apparent that Microsoft had devoted a lot of engineering into the sensor’s cooling solution, which at first thought seems strange - why do two cameras and a bunch of microphones need fans? Cue RROD jokes. Further, in the disassembly photos, I noticed a peltier cooler on the back of the IR laser diode. 

The peltier cooler is what's being pried off - Courtesy iFixit

The reason for the cooler should now be obvious - diffraction gratings are extremely wavelength-dependent, and the Kinect functions or doesn’t based on its ability to properly detect the projected IR image. The result is that the IR diode likely needs to be kept inside a window of under 10 degrees C of some temperature so the laser’s peak output is at or very close to the wavelength the CGH was designed to work at. The other consideration is that the top of most TVs where you could conceivably place a Kinect can be notably warm. Kinect’s somewhat overengineered thermal design now makes sense - the peltier cooler likely gets hot on the back side which connects to the metal base plate, the front which touches the diode laser gets cool, and the fan sweeps air through the whole box when required. RROD jokes aside, making sure that the system is carefully thermally regulated is an important part of the optical design. 

I decided I was going to see if I could make the Kinect fans turn on, or the device overheat. I left the Kinect sensor turned on for 48+ hours atop my rather-warm LCD TV, and later an even hotter plasma TV and could never once feel it get noticeably warm, or even detect airflow through the Kinect. It’s possible that the fans were spinning, but if that’s the case I couldn’t detect it. 

Introduction and Hardware Environmental Constraints of using Kinect
POST A COMMENT

72 Comments

View All Comments

  • tipoo - Thursday, December 09, 2010 - link

    The fan is pretty tiny so you probably wouldn't hear it over your TV and 360 anyways, but I'm curious if its audible? Reply
  • Brian Klug - Thursday, December 09, 2010 - link

    It's definitely not audible. I tried forever to detect airflow, much less it being on, and couldn't ever hear anything. It's possible I wasn't getting Kinect warm enough, but I did try on two pretty toasty LCDs and an even warmer plasma. ;)

    -Brian
    Reply
  • mentatstrategy - Thursday, December 09, 2010 - link

    I read that it doesn't pick up dark skinned folks very well.. Reply
  • tipoo - Thursday, December 09, 2010 - link

    AFAIK dark skinned people's infrared signatures are no different from light skinned. If it used a standard camera for detection I would believe you as that's happened to laptops, but in this case the camera is just for video and the infrared sensor does all the detecting. Reply
  • racerx_is_alive - Thursday, December 09, 2010 - link

    rarson is right that it's just the facial recognition, and even that problem goes away if you have enough lights on, I thought. Reply
  • Mumrik - Thursday, December 09, 2010 - link

    I was hoping for an article primarily about the hardware and its possibilities on the PC. I know there's a lot of homebrewing going on and I'm honestly more fascinated by what this might do on PC than what it'll be used for in its natural environment on the 360.
    This all seems well written and so on, but I doubt many of us come here for the console coverage (though I do know that there tends to be hardware coverage at the point of launch).
    Reply
  • tipoo - Thursday, December 09, 2010 - link

    Interesting, thanks. I doubt the chips inside it need cooling, its probably for the Infrared sensor as that is sensitive to temperature. Maybe it only turns on if the ambient temperature is very high to start with, and Microsoft just decided to take no chances after that huge hoopla with the RRODs. Reply
  • Noriaki - Thursday, December 09, 2010 - link

    Bottom of page 1: "new Xbox 350 S console" Reply
  • Brian Klug - Thursday, December 09, 2010 - link

    Microsoft actually refers to the new Xbox as the Xbox 360 S in a few places, and I was being very pedantic in that sentence about which console I was referring to (Xbox 360 Pro versus S), so I used that nomenclature. ;)

    -Brian
    Reply
  • Shadowmaster625 - Thursday, December 09, 2010 - link

    ... with the latest dashboard update that brought UI changes and Kinect support (seriously)"

    And yet you did not plaster the word "FAIL" in big bold letters across the top of every page in this review. Oh it's a great product. It really rains on thw Wii's parade. And it only costs $150 + $300 for a new consoel because the old one is a piece of junk. That's cool though, perfectly normal. Is there no limit to the gullibility and/or stupidity? Does anyone have half a brain not to be so willing to be scammed? Every Xbox I ever see happens to be sitting on top of a dead one. What kind of stupid dumbed down abject morons are you people who feel the need to waste your money on such scams?
    Reply

Log in

Don't have an account? Sign up now