Plug-and-Play for Automobile Embedded Systems
wskellenger writes "This article in the EE Times describes Autosar, a consortium of German automakers and suppliers that aims to standardize vehicle software infrastructure. In this way, vehicle software can be used in different ECUs, reducing complexity and development time for OEMs and suppliers."
Things have been going in this direction for quite awhile. The Corvette in 97 went to a serial communications protocol, talking to 14 different control units. It also had a throttle by wire system that eliminated a LOT of complexity in the traction control, cruse control and throttle applications. Active handling, a SIGNIFICANT feature, required a software change and two sensors.
The next step is to get sensors to talk this protocol. Rather than having a dumb sensor that goes to a control unit that interprets the message, you have a temp. sensor that the manufacturer doesn't have to worry about. They just need to look for a temperature unit reporting water temp, or another unit reporting vehicle speed on the wire.
Then the cruise control, the radio, the speedometer, etc all just have to listen for that packet that says 'wheel speed is 60 mph'.
the Cool thing is, the vendor that makes the Vehicle Speed Sensor might do it today for $50. Next year it may be $42, the year after, they might redesign it to have zero moving parts (optical) and with custom asics, make it a $12 part. Will that translate to a cheaper vehicle for you? probably not...but it'll make your car last longer, and will be easier to troubleshoot.
"Draco dormiens nunquam titillandus."
Can't wait for the first car worm.
The ugly fact is all these computers have not made our cars more reliable. Im not against computers in cars but they need to have programs as simple as possible and these programs should be open source.
If my computer crashes because of a bug I can replace it.
If my car crashes because of a computer bug, me , someone I care about or someone who could sue me could be injured or killed.
Reading the article, I just kept thinking of the "if Microsoft made cars" joke.
Jason
ProfQuotes
NOT EVEN CLOSE, it will allow them to completely control the the replacement time of your entire car. This will make engineered obsolecence (sp?) the current corporate darling even more controllable. The vendor can sunset the support for your car because of software/firmware upgrade issues...Think of M$'s OS upgrade cycle and how much a durable goods manufacturer would like to be able to emulate that kind of re-buy re-supply cycle. Of course with the DMCA, you will be forbidden to try and revers engineer parts, the warranty will be void if third party parts are used and the only place to buy certified parts is from the dealer at a 5000% mark-up. This spells COST COST COST COST for the consumer....
errr....umm...*whooosh* *whoosh* Is this thing on ?
This new Autosar announcement is really a spec for an operating system. The companies pushing it don't want to say that, because that means taking on Microsoft. So they present this as a middleware layer. But it's really an operating system API that provides independence from the underlying OS. Think Netscape plug-ins.
So,
At what point does all the computer bugs in your car create a point where you can legitimately invoke the lemon law provisions?
On a side note I started trailing a lady in a brand new BMW 7 series a couple of days ago. The car's emergency flashers were on and at the leisurely pace she was taking things I knew she wasn't aware of it.
So I pulled alongside at a redlight, fortunately she had her drivers side window down, so I shouted to her that her emergency flashers were on.
She looked really surprised and muttered something to the effect of "Oh really". Not a doubting oh really, but a surprised oh really.
Apparently there was no indicator inside the car telling her what was happening with her lights.
If I'm not mistaken the BMW 7 series has a Windows CE O/S? I've heard the 5 series does.
I know I'd be incredibly irritated to spend the kind of money she had in that BMW only to find it riddled with computer bugs.
Lastly, isn't it the law in the US that car makers have to "support" the vehicles they sell for 8 years?
Will MS still be willing to issue a BMW patch 8 years from now? They've certainly seemed to be trying to reduce the amount of time they support a particular version of their O/Ses.
Caution: Contents under pressure
It's worse than that. Currently, only a Corvette Left Door Control Module can be used as a Corvette Left Door Control Module...
What we need is a standardised spec with standardised connectors. That way you take your Napa Gold System controller, tell it it's a Corvette Left Door Control Module and go to town.
(The aforementioned LDCM has a sensor to tell door state, relays to control door lock solenoid actuation, and relays to handle the power window. Concievably you'd buy a Napa Gold 4 port controller as it'd have enough relays to control what a LDCM would deal with. Or even better, it's a three part unit. You attach an X channel input, a Brain of a certain power, and a Y channel output controller.)
Man, too much thinking for a Friday afternoon.
"Draco dormiens nunquam titillandus."
I believe this will have a positive impact on the cost and maintenance of my future car. Lowering the cost from the current $100 to a future of $25 for one sensor/device may not have much of an effect, but for 100 different sensors it should have a very positive effect. And with the many manufacturere producing standards compliant sensors/devices the reliability of our vehicles is also bound to increase. I jut have a few questions here:
1. How will the DMCA affect this? Will we still be able to work on our own cars or will that be circumvention subject to DMCA? How about modifying the software (hacking in the pure sense) the software that runs my car - Will I be able to do that legally?
2. What about the black boxes that are now standard in cars? What data will it now store? Who owns that data? Who controls that data? Can I erase it? Can I refuse to let it be recorded? What happens when GPS is integrated?
3. What happens when I sell my car? Is the software included like it is now? Or does it have to be relicensed like when I sell a computer?
The new BMW MINI Cooper has an ECU built by Siemens and programmed by yet a third company. BMW claim that they don't even have a copy of the source code for their own car! The same ECU is used in a variety of engines. So in order to have the code optimised for a particular car, the software "learns" - over several tankfuls of gas - how best to drive the car. Since cars change over time, it continually re-learns. If you add a new air-filter for example - the effects of doing it only gradually appear - over about three tankfuls - as the ECU learns to adjust the fuel/air mixture again.
This has consequences. Firstly, when you buy a new MINI Cooper, you get really poor gas milage for the first few tanks of gas - but gradually (as the ECU learns), it gets better.
So far, so good.
But the MINI has a problem (known as the 'stumble' amongst owners) - it's a software bug that appeared in 2003 model-year cars - older cars don't have it unless they upgrade to the 3.3.x version of the ECU software for some reason.
Under the special combinations of high air temperatures (and perhaps only in low humidity) in the summer in the southern USA - and with 'Reformulated Gasoline' that we get here in Texas and in Florida - the car sometimes stalls out at dangerous times. (eg You pull out into traffic - and the car stalls halfway across the road).
The stumble was VERY hard to diagnose - both because BMW couldn't reproduce the problem - it took a lot of MINI enthusiasts across the US to finally figure it out.
We (within the owner's community) decided that this couldn't possibly be temperature related - because the car would still stumble in the cool of early morning. We decided it couldn't be reformulated gas because we could drive to Oklahoma - buy a tankful of "the good stuff" - and still experience the stumble.
During a heatwave in Washington (who also have reformulated gas) - there were no reports of 'stumbles'.
These were cases where diagnosis was made almost impossible because the ECU had *learned* to stumble - and needed either cool temps or better gas for THREE TANKFULS in order to recover from it. People who experienced a short heatwave - or who bought only one or two tankfuls of reformulated gas didn't see the problem.
In consequence, it's taken over a year to convince BMW that there really is a problem and to find out what it is. However, BMW themselves can't fix it. They have to work through Siemens to get to the third company who programed the ECU so it could be fixed - and those guys didn't want to just fix it "the easy way" because it would have the potential to screw up performance in other kinds of car that use the same ECU software.
We are promised a fix for the stumbles - sometime in December.
This is all VERY yukky and unsatisfactory.
The thought of trying to write OpenSource ECU software came to mind - and there are some projects out there to do just that. This ECU has reloadable software - using a serial port connection that appears just under the steering wheel (used for emissions control stuff too). You can buy a cable to adapt the car's serial port to that of your laptop or PDA - and there is even software to let you read out and reset the engine management error codes in the comfort of your own driveway.
Armed with a laptop, your car dealership can upload new software into your car in about 20 minutes.
However, attempts to do this ourselves resulted in a fascinating inside into what the world of Palladium/DRM. When you tell the MINI "Please accept a new software load" - it sends you back a 16 bit random number. You are supposed to execute some predefined math operations on that number and send back the result as another 16 bit number. If you get the answer wrong, the car completely shuts down for 3 HOURS! You can't even start it under those circumstances - let alone try again with the software download. Obviously, the math operations you have to evaluate to solve this challenge/response scheme are secret.
So - welcome to the world of the future. For some of us it's already here!
www.sjbaker.org