News for hackers. Stuff that matters.
Re:Toyota Wants Cars to React to the Unexpected, and Then Ex... by abakker on Wednesday January 06, 2016 @11:09AM (#10851241)
I know it is rare, but this situation can arise through no error of the car's controls. Consider the failure of the car's master cylinder. If your Brakes don't work, then this might be the exact choice you make.

I don't want to sound overly cynical, but I somehow doubt that self-driving cars are going to suddenly make cars more reliable. Mechanical failure are not a common cause of crashes - http://www-nrd.nhtsa.dot.gov/pubs/812115.pdf - according to the NHTSA there, they account for 2% of crashes between 2005-2007. Still, self driving cars will need to be able to handle situations where there are mechanical failures.

Re:Toyota Wants Cars to React to the Unexpected, and Then Ex... by mikestew on Wednesday January 06, 2016 @11:57AM (#10851620)
Consider the failure of the car's master cylinder.

I realize it's just one example to make a point, but automotive master cylinders don't completely fail all at once since about fifty years ago. What causes a master cylinder to fail is a failure of the seals. But because modern master cylinders have "dual channels" (for lack of a better description), half of it might fail, but it's so unlikely for both sides to fail at the same time I never even heard of it in my years as a professional mechanic, let alone actually seen such a failure. Though a self-driving car would still need to account for the fact that only half the wheels have functioning brakes.

Any other failures I can think of on modern cars are going to be so much of a failure that merely getting the car to the side of the road might be a challenge, let alone worrying about the bus full of nuns and orphans in front of you. Examples would be catastrophic tire or suspension failure (ball joint breaks loose, for example, making the car very difficult to steer).

On the flip side, it could be argued that late-model cars have worse failure modes. By that I use our Nissan Leaf as an example. There is no direct mechanical linkage on any part of the car that makes it stop, go, or steer. Parking brake is electrically actuated. Brakes are run on a wire. "Gas" pedal is wire. I'm pretty sure the steering is drive-by-wire, but I'd have to go back and look it up to make the claim with confidence. I'm sure there are redundancies, but I'm picturing an ECU letting its smoke out and then you might as well just let go of the wheel and pray to your preferred deity.

Anyway, this has been Captain Pedantic checking in, thanks for reading. I now return you to the point you actually trying to make.

Re:Toyota Wants Cars to React to the Unexpected, and Then Ex... by OopsCriticality on Wednesday January 06, 2016 @01:04PM (#10852216)
> By that I use our Nissan Leaf as an example. There is no direct mechanical linkage on any part of the car that makes it stop, go, or steer. Parking brake is electrically actuated. Brakes are run on a wire. "Gas" pedal is wire. I'm pretty sure the steering is drive-by-wire, but I'd have to go back and look it up to make the claim with confidence. I'm sure there are redundancies, but I'm picturing an ECU letting its smoke out and then you might as well just let go of the wheel and pray to your preferred deity.

This is not completely correct: your Leaf does have a purely electronic throttle and the e-brake is actuated by a solenoid, but no production passenger car presently uses brake-by-wire, and the first (and presently only) production passenger car with drive-by-wire is the Infiniti Q50. While your Leaf does have additional electronic braking means to make the regenerative system work, if the ECU lost its magic smoke the service brakes would still work. As to drive-by-wire (perhaps you're confused with electronic assist?), on the Q50 at least there is a physical linkage to the steering in case of electronic failure.

Re:Toyota Wants Cars to React to the Unexpected, and Then Ex... by mikestew on Wednesday January 06, 2016 @03:26PM (#10853473)
This is not completely correct: your Leaf does have a purely electronic throttle and the e-brake is actuated by a solenoid, but no production passenger car presently uses brake-by-wire

Thanks for the correction. I ass-u-med (and actually do recall reading it somewhere, but just some dude on a Leaf forum probably) that because of all the computerized fiddling required to balance regen braking with mechanical braking, the brake pedal was just a fancy potentiometer.

As for steering, I went to garage between builds and looked: yup, there's a mechanical linkage in there. Shows how often I lift the hood on that thing. :-)

I'll leave my error-filled post as-is as an example of how being a pro mechanic 20 years ago doesn't mean you know everything about modern cars. :-P

Re:Toyota Wants Cars to React to the Unexpected, and Then Ex... by mikeash on Wednesday January 06, 2016 @12:51PM (#10852109)
I believe the only steer-by-wire model on the roads right now is some Infiniti. Even that has a clutch which engages the steering mechanically if the car loses power.

Electric cars potentially have additional braking redundancy. Even if the brakes failed entirely, they could drive the motor in reverse to stop the car. I don't think any of them actually do this, since total brake failure doesn't happen very often, but they could.

You pretty much have to trust the ECU. A failing ECU could just punch you in the face with the airbag and floor the accelerator. Fortunately, they seem to be pretty reliable.

Re:Toyota Wants Cars to React to the Unexpected, and Then Ex... by mikestew on Wednesday January 06, 2016 @03:27PM (#10853481)
Yeah, I pretty much whiffed on that one; see reply to sibling comment.
Re:Toyota Wants Cars to React to the Unexpected, and Then Ex... by abakker on Wednesday January 06, 2016 @12:47PM (#10852068)
You are quite correct. This was a poor example. A better example would be a failure of a brake hose or brake line, where the system loses pressure quickly. (I had a 99 suburban do this recently. It was quite an adventure)

Your examples of tire/ball joint failure is of course much better.

Re:Toyota Wants Cars to React to the Unexpected, and Then Ex... by csours on Wednesday January 06, 2016 @11:41AM (#10851487)
Cars in general handle this now. Many cars have a "limp home" mode where they won't exceed 5 mph or some other low speed. [1]

1. https://en.wikipedia.org/wiki/Electronic_throttle_control

Re:Toyota Wants Cars to React to the Unexpected, and Then Ex... by cmdrfred on Wednesday January 06, 2016 @11:40AM (#10851470)

    try:
        brakes()
    except BrakeFailure:
        emergency_brakes()
Re:Toyota Wants Cars to React to the Unexpected, and Then Ex... by abakker on Wednesday January 06, 2016 @11:52AM (#10851576)
Yes, but have you ever stopped with your eBrake? first, it doesn't usually effect all 4 wheels, and second, it isn't antilock. If, traveling 60mph your master cylinder or brake lines fail, the E Brake might not do the job. I know the E Brake in my Toyota Tundra wouldn't stop me if I were going 60mph.

Again, my point was not to say that this was likely to happen, but merely that we should ensure that there is framework for dealing with these kind of scenarios where a car needs to choose. According to the document I shared earlier, 95% of accidents are driver error somehow. Self-driving cars are sure to improve those statistics, but for public acceptance we need to answer the other 5% of accidents too.

EDIT: as Saberworks below points out, there is no Emergency Brake in the Tundra, or in fact almost any modern car. I was loosely equating the parking brake with an emergency brake because in many cars there is no "emergency brake", so the parking brake is your only other choice.

Re:Toyota Wants Cars to React to the Unexpected, and Then Ex... by saberworks on Wednesday January 06, 2016 @12:22PM (#10851828)
Most people think of the parking brake as an emergency brake for some reason. These things are wimpy brakes that are designed to prevent a vehicle from rolling if parked incorrectly or on a hill. They are generally cable actuated and don't have much stopping force if the vehicle is in motion. The Tundra has a foot-activated ratcheting parking brake and I don't recall it ever being referred to as an "emergency brake" in the manual (although it's been a while since I read mine, I could be wrong).
Re:Toyota Wants Cars to React to the Unexpected, and Then Ex... by mikestew on Wednesday January 06, 2016 @12:43PM (#10852030)
Most people think of the parking brake as an emergency brake for some reason.

That's because that's what it used to be called. In the owner's manual. I imagine the change might be due to liability more than anything else. That, and just marketing. No one wants to imply that you'll have an emergency in your shiny, new Chrysler.

These things are wimpy brakes that are designed to prevent a vehicle from rolling if parked incorrectly or on a hill. They are generally cable actuated and don't have much stopping force if the vehicle is in motion.

Fifty years ago, this would describe most brakes on consumer vehicles [0]. They're wimpy because they're drum brakes (though more upscale vehicles have rear discs). They are difficult to modulate because they're actuated by flexy cables. But cable-actuated drum brakes were what you got when you bought a 1960 Chevy.

As for stopping force, a parking brake should have all of the stopping power that the rear brakes usually have. The reason they often don't have much stopping power is because most people don't have them adjusted regularly (meaning the cable runs out before the full power available is applied), or more commonly they don't use it at all and the cable rusts up. If properly maintained, you should be able to lock the rear wheels at speed.

[0] EDIT: give or take. I don't remember exactly when cars went hydraulic, and the web's no help. I did own a 60's Harley/Aramachi motorcycle that had cable-actuated brakes, FWIW.

Re:Toyota Wants Cars to React to the Unexpected, and Then Ex... by protomyth on Wednesday January 06, 2016 @12:35PM (#10851963)
"Most people think of the parking brake as an emergency brake for some reason"

Some car manuals actually labeled it "emergency brake".

Re:Toyota Wants Cars to React to the Unexpected, and Then Ex... by cmdrfred on Wednesday January 06, 2016 @11:58AM (#10851641)
The first part sounds like a design flaw of your Toyota Tundra rather then a self driving car issue.

Secondly, is it considered a mechanical failure when the master cylinder fails and the driver is too slow to find the emergency brake actuator in time? Self driving cars do not suffer from that problem.