Peek At The Off-Ear Speaker Prototypes For Valve’s VR

The Valve Index VR headset incorporates a number of innovations, one of which is the distinctive off-ear speakers instead of headphones or earbuds. [Emily Ridgway] of Valve shared the design and evolution of this unusual system in a deep dive into the elements of the Index headset. [Emily] explains exactly what they were trying to achieve, how they determined what was and wasn’t important to deliver good sound in a VR environment, and what they were able to accomplish.

First prototype, a proof-of-concept that validated the basic idea and benefits of off-ear audio delivery.

Early research showed that audio was extremely important to providing a person with a good sense of immersion in a VR environment, but delivering a VR-optimized audio experience involved quite a few interesting problems that were not solved with the usual solutions of headphones or earbuds. Headphones and earbuds are optimized to deliver music and entertainment sounds, and it turns out that these aren’t quite up to delivering on everything Valve determined was important in VR.

The human brain is extremely good at using subtle cues to determine whether sounds are “real” or not, and all kinds of details come into play. For example, one’s ear shape, head shape, and facial geometry all add a specific tonal signature to incoming sounds that the brain expects to encounter. It not only helps to localize sounds, but the brain uses their presence (or absence) in deciding how “real” sounds are. Using ear buds to deliver sound directly into ear canals bypasses much of this, and the brain more readily treats such sounds as “not real” or even seeming to come from within one’s head, even if the sound itself — such as footsteps behind one’s back — is physically simulated with a high degree of accuracy. This and other issues were the focus of multiple prototypes and plenty of testing. Interestingly, good audio for VR is not all about being as natural as possible. For example, low frequencies do not occur very often in nature, but good bass is critical to delivering a sense of scale and impact, and plucking emotional strings.

“Hummingbird” prototype using BMR drivers. Over twenty were made and lent to colleagues to test at home. No one wanted to give them back.

The first prototype demonstrated the value of testing a concept as early as possible, and it wasn’t anything fancy. Two small speakers mounted on a skateboard helmet validated the idea of off-ear audio delivery. It wasn’t perfect: the speakers were too heavy, too big, too sensitive to variation in placement, and had poor bass response. But the results were positive enough to warrant more work.

In the end, what ended up in the Index headset is a system that leans heavily on Balanced Mode Radiator (BMR) speaker design. Cambridge Audio has a short and sweet description of how BMR works; it can be thought of as a hybrid between a traditional pistonic speaker drivers and flat-panel speakers, and the final design was able to deliver on all the truly important parts of delivering immersive VR audio in a room-scale environment.

As anyone familiar with engineering and design knows, everything is a tradeoff, and that fact is probably most apparent in cutting-edge technologies. For example, when Valve did a deep dive into field of view (FOV) in head-mounted displays, we saw just how complex balancing different features and tradeoffs could be.

The Young Engineers Guide To Career Planning

It’s often said that engineers aren’t born, they’re made. Or more accurately, taught, tested, and accredited by universities. If you’re in high school, you’re probably starting to think about potential career paths and may be considering an engineering degree. A lot of work goes into a good college application, and it might seem like the hardest part is getting in. However, if your end goal is to get yourself a great engineering job at the end of your studies, it pays to have your head up from day 1!

I Just Need A Degree, Right?

Back in my freshman days, there was a saying that was popular on campus, particularly with those studying STEM topics. “Ps get degrees.” Your college’s grading system might use different letters, but the basic gist was that a pass mark was all that was required to get your piece of paper at the end of your four years. While this is technically true, it’s only really a useful ethos if your aim is to simply get a degree. If your goal is to use that degree to score yourself a plum job in your field, it would be unwise to follow this credo.

This attitude will net you plenty of wonderful memories at the bar, but it will dent your chances of landing a solid job upon graduation. All in moderation!

The reality of the modern job market is that it’s highly competitive. Recruiters can receive hundreds of applications for a single job, meaning the vast majority of applicants don’t even make it to the interview stage. To trim down the pile, various criteria are used to pick out the ideal candidates. An easy way to do this is to sort by grades. Having a low GPA can therefore see your application relegated to the trashcan, before you even get a chance to impress anyone with your carefully honed skills. Continue reading “The Young Engineers Guide To Career Planning”

Creating A Bode Analyzer From A Microcontroller

Electrical engineers will recognize the Bode plot as a plot of the frequency response of a system. It displays the frequency on the x-axis and the phase (in degrees) or magnitude (in dB) on the y-axis, making it helpful for understanding a circuit or transfer function in frequency domain analysis.

[Debraj] was able to use a STM32F407 Discovery board to build a Bode analyzer for electronic circuits. The input to the analyzer is a series of sine wave signals with linearly increasing frequency, or chirps, preferably twenty frequencies/decade to keep the frequency range reasonable.

The signals from a DAC are applied to a target filter and the outputs (frequencies obtained) are read back through an ADC. Some calculations on the result reveal how much of the signal is attenuated and its phase, resulting in a Bode plot. The filtering is done through digital signal processing from a microcontroller.

While the signals initially ran through a physical RC-filter, testing the Bode plotter with different circuits made running the signals through a digital filter easier, since it eliminates the need to solder resistors and capacitors onto protoboards. Plotting is done using Python’s matplotlib, with the magnitude and phase of the output determined analytically.

It’s a cool project that highlights some of the capabilities of microcontrollers as a substitute for a pricier vector network analyzer.

Continue reading “Creating A Bode Analyzer From A Microcontroller”

Engineering For The Long Haul, The NASA Way

The popular press was recently abuzz with sad news from the planet Mars: Opportunity, the little rover that could, could do no more. It took an astonishing 15 years for it to give up the ghost, and it took a planet-wide dust storm that blotted out the sun and plunged the rover into apocalyptically dark and cold conditions to finally kill the machine. It lived 37 times longer than its 90-sol design life, producing mountains of data that will take another 15 years or more to fully digest.

Entire careers were unexpectedly built around Opportunity – officially but bloodlessly dubbed “Mars Exploration Rover-B”, or MER-B – as it stubbornly extended its mission and overcame obstacles both figurative and literal. But “Oppy” is far from the only long-duration success that NASA can boast about. Now that Opportunity has sent its last data, it seems only fitting to celebrate the achievement with a look at exactly how machines and missions can survive and thrive so long in the harshest possible conditions.

Continue reading “Engineering For The Long Haul, The NASA Way”

To Make Reproduction Train Whistles, The Old Ways Are Best

Late last year, artist [Steve Messam]’s project “Whistle” involved 16 steam engine whistles around Newcastle that would fire at different parts of the day over three months. The goal of the project was bring back the distinctive sound of the train whistles which used to be fixture of daily life, and to do so as authentically as possible. [Steve] has shared details on the construction and testing of the whistles, which as it turns out was a far more complex task than one might expect. The installation made use of modern technology like Raspberry Pi and cellular data networks, but when it came to manufacturing the whistles themselves the tried and true ways were best: casting in brass before machining on a lathe to finish.

The original whistles are a peek into a different era. The bell type whistle has three major components: a large bell at the top, a cup at the base, and a central column through which steam is piped. These whistles were usually made by apprentices, as they required a range of engineering and manufacturing skills to produce correctly, but were not themselves a critical mechanical component.

In the original whistle shown here, pressurized steam comes out from within the bottom cup and exits through the thin gap (barely visible in the image, it’s very narrow) between the cup and the flat shelf-like section of the central column. That ring-shaped column of air is split by the lip of the bell above it, and the sound is created. When it comes to getting the right performance, everything matters. The pressure of the air, the size of the gap, the sharpness of the bell’s lip, the spacing between the bell and the cup, and the shape of the bell itself all play a role. As a result, while the basic design and operation of the whistles were well-understood, there was a lot of work to be done to reproduce whistles that not only operated reliably in all types of weather using compressed air instead of steam, but did so while still producing an authentic re-creation of the original sound. As [Steve] points out, “with any project that’s not been done before, you really can’t do too much testing.”

Embedded below is one such test. It’s slow-motion footage of what happens when the whistle fires after filling with rainwater. You may want to turn your speakers down for this one: locomotive whistles really were not known for their lack of volume.

Continue reading “To Make Reproduction Train Whistles, The Old Ways Are Best”

Using An FPGA To Navigate China’s Railroads

If you’re headed over to mainland China as a tourist, it’s possible to get to most of the country by rail. China is huge though, about the same size as the United States and more than twice the size of the European Union. Traveling that much area isn’t particularly easy. There are over 300 train terminals in China, and finding the quickest route somewhere is not obvious at all. This is an engineering challenge waiting to be solve, and luckily some of the students at Cornell Engineering have taken a stab at efficiently navigating China’s rail system using an FPGA.

The FPGA runs an algorithm for finding the shortest route between two points, called Dijkstra’s algorithm. With so many nodes this can get cumbersome for a computer to calculate, but the parallel processing of a dedicated FPGA speeds up the process significantly. The FPGA also includes something called a “hard processor system“, or HPS. This is not a soft-core, but dedicated computing hardware in the form of an ARM Cortex-A9. Testing showed that utilizing both the HPS and the FPGA can speed up the computation by up to ten times over a microcontroller alone.

This project goes into extreme detail on the methodology and the background of the math and coding involved, and is definitely worth a read if you’re interested in FPGAs or traveling salesman-esque problems. FPGAs aren’t the only dedicated hardware you can use to solve these kinds of problems though, if you have a big enough backpack while you’re traveling around China you could also use a different kind of computer.

Continue reading “Using An FPGA To Navigate China’s Railroads”

Engineering The Perfect Throw For Rock Skipping

Summer is here (at least in the Northern Hemisphere) and World’s Greatest Uncle [Mark Rober] is at it again with his nieces and nephews. This time he’s all about skipping stones, that shoreline pastime that kids sometimes find frustrating and adults find humiliating when trying to demonstrate the technique.

But what exactly is the proper technique? [Mark] didn’t know, so he built a robot to find out. Yes, we know it’s not a robot – it’s just a commercial clay pigeon launcher with a few modifications — but work with us here. His idea is to build a rig that can eliminate as many variables as possible when a human tries to skip a stone, and work back one variable at a time to find the perfect set of factors. The prototype in the video below did a respectable job skipping stones, but it was nowhere near optimal. [Mark] then engaged the kids on a careful exploration of the mechanics of rock skipping using the rig, eventually going so far as to eliminate variability in the rocks by making clay pigeons of his own. The results are fantastic; at a 20° approach angle and a 20° tilt of the rock relative to the water, those artificial stones just seem to go on forever. Even skipping natural stones was much improved by what they learned, which is completely counter to the age-old advice to release as low and as parallel to the water as possible.

The real gem in this video, though, is [Mark] describing his engineering design process. Watch and learn, because he clearly knows a thing or two about turning ideas into fun stuff, such as enormous Super Soakers, fully automatic snowball guns, and dart-catching dartboards.

Continue reading “Engineering The Perfect Throw For Rock Skipping”