Self-Driven: Uber And Tesla

Self-driving cars have been in the news a lot in the past two weeks. Uber’s self-driving taxi hit and killed a pedestrian on March 18, and just a few days later a Tesla running in “autopilot” mode slammed into a road barrier at full speed, killing the driver. In both cases, there was a human driver who was supposed to be watching over the shoulder of the machine, but in the Uber case the driver appears to have been distracted and in the Tesla case, the driver had hands off the steering wheel for six seconds prior to the crash. How safe are self-driving cars?

Trick question! Neither of these cars were “self-driving” in at least one sense: both had a person behind the wheel who was ultimately responsible for piloting the vehicle. The Uber and Tesla driving systems aren’t even comparable. The Uber taxi does routing and planning, knows the speed limit, and should be able to see red traffic lights and stop at them (more on this below!). The Tesla “Autopilot” system is really just the combination of adaptive cruise control and lane-holding subsystems, which isn’t even enough to get it classified as autonomous in the state of California. Indeed, it’s a failure of the people behind the wheels, and the failure to properly train those people, that make the pilot-and-self-driving-car combination more dangerous than a human driver alone would be.

A self-driving Uber Volvo XC90, San Francisco.

You could still imagine wanting to dig into the numbers for self-driving cars’ safety records, even though they’re heterogeneous and have people playing the mechanical turk. If you did, you’d be sorely disappointed. None of the manufacturers publish any of their data publicly when they don’t have to. Indeed, our glimpses into data on autonomous vehicles from these companies come from two sources: internal documents that get leaked to the press and carefully selected statistics from the firms’ PR departments. The state of California, which requires the most rigorous documentation of autonomous vehicles anywhere, is another source, but because Tesla’s car isn’t autonomous, and because Uber refused to admit that its car is autonomous to the California DMV, we have no extra insight into these two vehicle platforms.

Nonetheless, Tesla’s Autopilot has three fatalities now, and all have one thing in common — all three drivers trusted the lane-holding feature well enough to not take control of the wheel in the last few seconds of their lives. With Uber, there’s very little autonomous vehicle performance history, but there are leaked documents and a pattern that makes Uber look like a risk-taking scofflaw with sub-par technology that has a vested interest to make it look better than it is. That these vehicles are being let loose on public roads, without extra oversight and with other traffic participants as safety guinea pigs, is giving the self-driving car industry and ideal a black eye.

If Tesla’s and Uber’s car technologies are very dissimilar, the companies have something in common. They are both “disruptive” companies with mavericks at the helm that see their fates hinging on getting to a widespread deployment of self-driving technology. But what differentiates Uber and Tesla from Google and GM most is, ironically, their use of essentially untrained test pilots in their vehicles: Tesla’s in the form of consumers, and Uber’s in the form of taxi drivers with very little specific autonomous-vehicle training. What caused the Tesla and Uber accidents may have a lot more to do with human factors than self-driving technology per se.

You can see we’ve got a lot of ground to cover. Read on!

Continue reading “Self-Driven: Uber And Tesla”

It’s Raining Chinese Space Stations: Tiangong-1

China’s first space station, Tiangong-1, is expected to do an uncontrolled re-entry on April 1st, +/- 4 days, though the error bars vary depending on the source. And no, it’s not the grandest of all April fools jokes. Tiangong means “heavenly palace”, and this portion of the palace is just one step of a larger, permanent installation.

But before detailing just who’ll have to duck when the time comes, as well as how to find it in the night sky while you still can, let’s catch up on China’s space station program and Tiangong-1 in particular.

Continue reading “It’s Raining Chinese Space Stations: Tiangong-1”

Storm Detector Modules: Dancing In The Rain

Earlier, we had covered setting up an AS3935 lightning detector module. This detector picks up radio emissions, then analyzes them to determine if they are a lightning strike or some other radio source. After collecting some data, it outputs the estimated distance to the incoming storm front.

But that only gets you halfway there. The device detects many non-lightning events, and the bare circuit board is lacking in pizzazz. Today I fix that by digging into the detector’s datasheet, and taking a quick trip to the dollar store buy a suitable housing. The result? A plastic plant that dances when it’s going to rain!
Continue reading “Storm Detector Modules: Dancing In The Rain”

Hackaday guide to Lathes

Buying Machine Tools: Foreign Or Domestic, New Or Used?

The last time we discussed machine tools, we talked about how to choose the size of the new metalworking lathe that your wallet is itching to pour itself into. The next big decision to make is “new or used?” If you’re in North America, this question has a lot of overlap with the classic question “Import or American?”. The answer boils down to what your needs are, and what you want to get out of this machine.

If you are new to machining, and want to learn the skills, I recommend starting with an Asian import machine. If you’re careful which one you select, you’ll end up with a very reasonably priced lathe that can do precise work right out of the crate. If your interest is in learning how these tools work, and in doing a restoration project, an old American machine is a great choice. Let’s look at these two routes in more detail.

Continue reading “Buying Machine Tools: Foreign Or Domestic, New Or Used?”

Sophie Germain: The Mathematics Of Elasticity

When a 13-year old Marie-Sophie Germain was stuck in the house because of the chaotic revolution on the streets of Paris in 1789, she found a refuge for her active mind: her father’s mathematics books. These inspired her to embark on pioneering a new branch of mathematics that focussed on modeling the real world: applied mathematics.

Post-revolutionary France was not an easy place for a woman to study mathematics, though. She taught herself higher maths from her father’s books, eventually persuading her parents to support her unusual career choice and getting her a tutor. After she had learned all she could, she looked at studying at the new École Polytechnique. Founded after the revolution as a military and engineering school to focus on practical science, this school did not admit women.

Anyone could ask for copies of the lecture notes, however, and students submitted their observations in writing. Germain got the notes and submitted her coursework under the pseudonym Monsieur Antoine-August Le Blanc. One of the lecturers that she impressed was Joseph Louis Lagrange, the mathematician famous for defining the mathematics of orbital motion that explained why the moon kept the same face to the earth. Lagrange arranged to meet this promising student and was surprised when Germain turned out to be a woman.

Gauss and Germain

‘Le Blanc’ also corresponded with German mathematician Carl Friedrich Gauss on number theory. When Napoleon’s armies occupied the town the famous mathematician lived in, Germain enlisted a family friend in the army to check that Gauss had not been harmed. Gauss didn’t realize who had helped him out, until he discovered that ‘Le Blanc’ was Sophie Germain, he wrote to her thanking her for her concern and praising her mathematical prowess given the hurdles set before her.

“How sweet is the acquisition of a friendship so flattering and precious to my heart. The lively interest you took during this terrible war deserves the most sincere recognition….But when a person of this sex, who, for our mores and prejudices, must recognize infinitely more obstacles and difficulties than men to become acquainted with these thorny searches, knows how to get rid of these obstacles and to penetrate what they have, most hidden,  must undoubtedly, she has the most noble courage, talents quite extraordinary, genius superior.”

As well as working on the thorny and theoretical problems of number theory, Germain worked on applying mathematics to real world problems. One of these was a challenge set by the Paris Academy of Science to mathematically describe the elasticity of metal plates. An experimenter called Ernest Chladni had demonstrated that a metal plate would resonate in odd ways when vibrated at certain frequencies. If you put sand on the plate, it would collect in different patterns created by the resonance of the plate, called Chladni figures. To win the prize, the solution had to predict these figures.

The Mathematics of Stress and Strain

Mathematically predicting the behavior of metal plates could make it easier to design metal objects and predict how they would behave under stress. The prize was set in 1808 but was so difficult that Germain was the only one who decided to try to solve it, as it required coming up with a whole new way to analyze and describe how materials bend and change under stress.

The first two solutions that she submitted were rejected due to mathematical errors, but the third version won her the prize in 1816. However, due to the Academy policy of not allowing women to join (and to only attend events if they were wives of members), Germain was not able to attend the ceremony where the prize was granted. She was also not allowed to attend meetings of the Academy. After the Academy failed to publish her prize-winning work, Germain had to pay to publish the work herself in 1821.

Later, her friend Joseph Fourier allowed her to attend meetings and presentations, but the mathematical establishment never really accepted her, or her work. In a letter to a colleague in 1826 she complained about the way they rebuffed her:

“These facts are my domain and it is to me alone that they remain hidden. That’s the privilege of the ladies: they get compliments and no real benefits.”

In the same letter, Germain complained of suffering fatigue and she was diagnosed with breast cancer shortly afterwards. She died in 1831. Her final years were spent working on a solution to Fermat’s Last Theorem, and just before her death she published a partial solution that was the basis for much research into the theorem, which was finally solved only with computer help in the late 1990s.

Although Sophie Germain never earned a degree in her lifetime, she was given an honorary degree in 1837 from the University of Göttingen at the suggestion of Gauss, who noted that

“she proved to the world that even a woman can accomplish something worthwhile in the most rigorous and abstract of the sciences and for that reason would well have deserved an honorary degree.”

The Academy that snubbed her also now offers an annual prize for mathematics in her name. Perhaps more importantly, her work formed the basis of the study of elasticity and stress in metals that allowed engineers to build larger objects and buildings. Creations such as the Eiffel tower in 1887 were directly influenced by her work, and it laid some of the groundwork for Einstein’s theory of General Relativity.

Modern scholars argue that Germain could have been more than she was: her work, they argue, was hamstrung by a limited understanding of some of the fundamental concepts that Gauss and others had described. Although her work was fundamental and important, if she had been given free access to the education that she wanted and deserved, it’s easy to imagine that she would have gone farther.

Inventing The Digital Watch Again And Again And…

In the 1950s, artwork of what the future would look like included flying cars and streamlined buildings reaching for the sky. In the 60s we were heading for the Moon. When digital watches came along in the 70s, it seemed like a natural step away from rotating mechanical hands to space age, electrically written digits in futuristic script.

But little did we know that digital watches had existed before and that our interest in digital watches would fade only to be reborn in the age of smartphones.

Mechanical Digital Watches

Cortébert jump-hour wristwatch by Wallstonekraft CC-BY-SA 3.0
Cortébert jump-hour wristwatch.
Image by Wallstonekraft CC-BY-SA 3.0

In 1883, Austrian inventor Josef Pallweber patented his idea for a jumping hour mechanism. At precisely the change of the hour, a dial containing the digits from 1 to 12 rapidly rotates to display the next hour. It does so suddenly and without any bounce, hence the term “jump hour”. He licensed the mechanism to a number of watchmakers who used it in their pocket watches. In the 1920s it appeared in wristwatches as well. The minute was indicated either by a regular minute hand or a dial with digits on it visible through a window as shown here in a wristwatch by Swiss watchmaker, Cortébert.

The jump hour became popular worldwide but was manufactured only for a short period of time due to the complexity of its production. It’s still manufactured today but for very expensive watches, sometimes with a limited edition run.

The modern digital watch, however, started from an unlikely source, the classic movie 2001: A Space Odyssey.

Continue reading “Inventing The Digital Watch Again And Again And…”

A Tale Of Two Phases And Tech Inertia

What kind of power service is in the United States? You probably answered 120-volt service. If you thought a little harder, you might remember that you have some 240-volt outlets and that some industrial service is three phase. There used to be DC service, but that was a long time ago. That’s about it, right? Turns out, no. There are a very few parts of the United States that have two-phase power. In addition, DC didn’t die as quickly as you might think. Why? It all boils down to history and technological inertia.

Split Phase Power by Charles Esson CC-BY-SA 3.0

You probably have quite a few 120-volt power jacks in sight. It is pretty hard to find a residence or commercial building these days that doesn’t have these outlets. If you have a heavy duty electric appliance, you may have a 240-volt plug, too. For home service, the power company supplies 240 V from a center tapped transformer. Your 120V outlets go from one side to the center, while your 240V outlets go to both sides. This is split phase service.

Industrial customers, on the other hand, are likely to get three-phase service. With three-phase, there are three wires, each carrying the line voltage but out of phase with each other. This allows smaller conductors to carry more power and simplifies motor designs. So why are there still a few pockets of two-phase?

Continue reading “A Tale Of Two Phases And Tech Inertia”