182 points · by Tomte · 7y ago · 126 comments
There are so many valuable lessons to takeaway from this, but weirdly for me, it's to never depend on innovation. Especially specific innovation.
It's important to remember that everyone a decade ago was riding high about the potential for diesel. Consumers, car producers, and regulators. And everyone was making promises about how good diesel was going to get - based on the expectation that you can just dump resources into a certain technology and get innovation, magically and predictably. But it feels like everyone just hit the innate limitation of the resource and tried to pretend it didn't exist.
That seems even crazier on the surface. Let’s kill a few people so our users don’t have to refill a tank as often.
>after all the scrutiny diesel cars are still being sold and as far as we know pass emissions.
[1] https://en.wikipedia.org/wiki/Worldwide_Harmonised_Light_Veh...
[2] https://en.wikipedia.org/wiki/European_emission_standards#Em...
found that not one single brand complies with the latest air pollution limits (‘Euro 6’) for diesel cars and vans in real-world driving
The important bit is "real-world driving". As far as we know everyone optimized for the test and yet the driving cycle was not realistic. That is not illegal and supposedly the test has now been improved. What VW was caught doing is much worse than that, it's actually cheating during the test. Emissions testing has been shown to be highly fallible but what VW was caught doing is on another level.
Anyway, remember VW themselves had engines that met the spec just fine. They only cheated so they could omit the AdBlue system.
They specifically set goals and policies to make diesels a larger presence (hence why so many power diesel sedans and small cars were made for the EU market but not the US).
The push should have been for Propane.
Propane is cleaner than almost any other carbon source. Also, you don't have to get it from the Middle East.
While emissions regulations have a noble goal we would be far better off regulating farm equipment, stationary generators, and boats at this point.
A single farm tractor or lawn mower pollutes as much as hundreds of cars. A container or cruise ship, many thousands of cars.
It reminds me of California approach to water regulations. Squeeze the populace when industry is using 90% of the water.
[0] https://en.wikipedia.org/wiki/Smog#Photochemical_smog [1]https://www.alentecinc.com/papers/NOx/The%20formation%20of%2...
Edit: Worth clarifying that thermal efficiency and combustion temperature are also correlated, which is not plainly stated in [1]
Storing large amounts of cash in bank vaults also creates strong perverse incentives, but we do it and create strong disincentives to practically nullify them.
This is a little bit exaggerated. How about the Internet? Or GPS?
Similar to Goodhart's Law - "When a measure becomes a target, it ceases to be a good measure" [1]
The issue is regulators write regulations for one thing, but want a subtly different thing.
If you and I start a game of poker, but rather than winning through skill, I call the FBI and get them to search all your cards, have I broken the rules of poker? It wasn't a written rule not to call the FBI...
Regulators across the world have similar gaps in the rules, and both humans and automated design tools will start to exploit them, possibly unknowingly. Instead they need to make far more watertight rules. They should simply require all cars to measure their own emissions, and bill the companies for any cars which either mis-measure emissions, or measure more emissions in their lifetime than an allowed limit. Then manufacturers will have an incentive to upgrade cars in the field.
But it was a written rule not to use a defeat device.
This isn’t a case where manufacturers found a loophole and regulators got upset because they wanted manufacturers to obey the spirit of the rules rather than just the letter. This is a case of manufacturers blatantly breaking the explicit written rules.
If I am designing a printer and you say "it must be able to output 10 pages per minute printing black and white text, and make it as light as possible", then I, the printer designer go to work, tweaking the design of the printer to meet that goal, while keeping the weight down.
Seeing nothing about the color printing speed, I don't care about that. It's just black and white speed that matters! I make the black cartridge super fast and super wide. Whoa - gotta keep the weight down! Oh well - I'll make this colour cartridge smaller/cheaper/slower/lighter.
Suddenly, we have a printer that does 10ppm of black and white, and only 0.1ppm of colour, because it has to crawl along.
We now have a 'defeat device'. It performs great in test conditions (black and white text), and badly in general use (colour pages are common).
Did the designer explicitly make a defeat device? Not really... They just only made it work well in the test conditions, and performance in all other conditions suffered.
Even game-theoretically perfect regulation does not work if they're violating the rules.
"When a measure becomes a target, it ceases to be a good measure."
But I doubt that any popular politician will have the guts to push such a bill against all the industry lobbies :-/
I am so tired of replacing devices just because you can't fix broken software that I see very few alternatives to forcing the manufacturers by law. Just to give an example:
The Samsung Galaxy S3 was shipped with a firmware bug [1] that killed the memory occasionally (just the layout of some internal table so the hardware was completely okay). Sure, when it happened during the warranty period, it wasn't good for Samsung but afterward, you thought your hardware was broken when in fact just the software was broken (and a factory reset doesn't fix firmware internals).
The reason we even know about that bug is that someone disassembled the firmware years after the device had a relevant market share. If the source code for the firmware would have been available, the bug probably would have been made public much earlier and a lot of broken devices would have been repairable.
So I totally understand that manufacturers want to keep some things secret about their products but as a consumer, I feel betrayed when the devices I buy contain time bombs encoded within their software... And since the manufacturers fail to bring recent updates to the devices even during the warranty period, I think it might be a valid option to enable consumers to care for their devices.
[1]: https://media.ccc.de/v/34c3-8784-emmc_hacking_or_how_i_fixed...
Consumer devices _used to_ ship with schematics though...
Some (maybe most?) Mercedes units use a Bosch ECU. I'm pretty sure you can dump the firmware from them and figure out how they work fairly easily?
It is however much easier to do some social engineering or hire a bosch employee :). Mercedes, porsche and bosch all have their HQ in Stuttgart, I think it is quite easy for them to know what happens with competitors.
Moreover now with Autosar, they scatter vehicle functionalities through ECUs, with each ECU doing a part of the functionality. It's getting really complex now.
To understand the issue with reverse engineering, one needs to understand that there is no standard in car. Each brand and car has its own communication matrix and electrical architecture, which get periodically overhauled. So even if you manage to identify the meanings of the CAN frames for a make, it is useless for the next generation.
That's why you do not find the communication matrix on internet for recent cars, you only find them somehow for old cars. Also because very few people know how to read CAN network and want to invest timr in this reverse engineering
I’m still one of those who think that what Volkswagen did wasn’t cheating anything. They basically “studied for the test” in order to pas it.
Example A: "Each model of this type of car must pass Test X with numbers lower than listed in Table Y"
Example B: "The cars must have emissions lower than listed in Table Y. The standard test may be Test X"
If it is written like Example A, then sure, the entire specification is the test, they merely designed to the rule.
But if it's more like Example B, then they are toast. The cars clearly don't ordinarily have emissions lower than Table Y, they are merely engineered to appear to do so during the specific conditions of Test X.
If there is one thing I've learned about the law from the excellent attny who will soon also be my wife, it is that you cannot reason about the law without reading it. Logic and assumptions will not help you -- you have to look at the law itself.
It is actually a lot like software. Our guesses about the behavior might be OK for very limited purposes, but we really don't know jack until we trace it in a debugger or read the source.
(tracing & reading source might be considered analogous to reading the cases and reading the law & regs)
VW did something different. They installed defeat devices that are explicitly illegal. And they knew it as shown in documents and mails. VW also pled guilty in the US already.
So, while both things are on the surface similar they are yet fundamentally different.
And if you still don't know it, every single Diesel engine with this most common Bosch ECU has this cheating SW. The problem is only if you use it or not. 80% do use it. From all European cars only Fiat didn't use it, if I remember correctly. Most Asians did use it also.
You are saying VW installed it. No, Bosch installed it on their devices. And it was written by Audi.
I suspect similar cheats are employed all over the industry. For example my motorcycle has a dead spot which people have been known to bypass the clutch switch to avoid. The reason for the dead spot is that the noise test is carried out at a specific speed and by programming a dead zone in the fuel map they can make it pass the test.
The only real difference between this an the VW emissions scandal is that everyone has to suffer the consequences of cheating the test!
Daimler doesn't do OTA but Tesla for example could remove autopilot code in an update that caused a death and there would be no way to test for it without getting access to the old firmware or source code. Tesla would not hand those out without court order which would require suspicion.
Raid an office, check the source repo and the release log, question engineers, asking questions about what was pushed out OTA, and what wasn't. If your company did not keep such audit and repo logs, you are probably not SOX-compliant (Or the european equivalent thereof), and they should assume the worst in your intent.
Regulators and police aren't some kind of unthawed-from-the-ice-age caveman lawyers. They have as many tools to answer this question as any engineer working at these firms.
The SW is flashed, not OTA. You'll have to do that in service. And the flash update just sets the low temp. limit trigger to 0, disabling the cheat controller.
We know that for years already. The list is public, but no newspaper is printing it. The scandal is only how protected these criminals are. From the affected ~10 carmakers only 3 were punished so far.
[1] https://en.wikipedia.org/wiki/Engine_Manufacturing_Centre
This badly written line is the only technical information in the article. Since a thermostat is only a temperature sensor, I don't get how it constitutes a defeat device of any type. I also don't get how activating a sensor to read coolant temperature protects anything. And why would an installed sensor be turned off anyway?
https://www.sueddeutsche.de/auto/daimler-mercedes-glk-rueckr...
As i understand it, the motor seemed to artificially open the thermostat to keep the engine colder than usual. Now my guess, as an automotive engineer, is that they did this to reduce the time where the engine is in the normal operating range. It makes no sense to me, unless the emissions test only applies when the engine is in normal temperature. Or, second guess, as the engine is colder, it emits less NOx, because NOx appear when the combustion temperature is too high.
Or simpler: the thing activates when the coolant is 20 deg celsius, the starting temperature of the test
That's a major issue. NOx emissions are caused by engine heat interacting with nitrogen and oxygen from outside air, which gets you to a nasty trade-off. Run the engine hotter and get more efficient combustion, therefore less CO2 emissions; or run the engine cooler and get less NOx emissions. By design, Diesel engines combustion happens at much higher pressure and temperature than gasoline engines, which is why diesels produce much more NOx.
Diesel emission fluid can reduce NOx, but also reduces efficiency, meaning more CO2 will be released.
For the article, i think the journalists just didn't understand the explanation, and it is probably the simpler solution : they enabled the emission cleaning algorithm when the coolant at startup is 23 degrees, so clearly a defeating device.
There is a direct correlation between engine operating temp, condition of the thermostat and emissions/fuel economy.
Old cars had fans that always ran, often times off the crankshaft. If cold coolant ran through the radiator it wouldn't maintain proper temperature with the fan running! Same situation with highway driving. There's so much airflow to cool the engine - being able to block off coolant is very important. Newer cars with electric fans use this in combination with the thermostat to provide more efficient cooling (by not running fans all the time).
Cars with electric fans use a coolant temp sensor (sometimes on the radiator, or the block, or elsewhere) that kicks over a switch to turn fans on and off.
Then you have a temperature gauge which sends a signal to your dashboard/ecu. The computer uses this in combination with a bunch of other data pieces to make the engine run smoothly.
Anyway, that was all just random info
Is this worded correctly? I thought the issue was that the software detected when it was being tested and then output emissions that were substantially less than during normal operation.
This sentence from the article makes it sound like the software made the emissions be under the limit all the time.
The use of the word “pass” leads me to assume that it’s referring to levels when being tested
> ...would PASS emissions limits imposed by the US.
(Emphasis added by me)
I though the type approval was EU wide
- More humans available to identity bugs and undefined behavior
- Innovation in the form of programmers improving software on their automobiles and sharing their modifications
- Regulators are no longer the only group (other than the maker) with access to source code. This allows new entries into the automotive space without (badly) re-inventing the wheel. This breeds competition, and is a win for consumers.
> There should be no room for secret functionality
?
Unless, you could somehow prevent competitors from stealing I+D. Which you can't. So closed source it is (that makes things harder for competitors).
This really should have been a requirement for software patents from the start, given how difficult software is to reverse-engineer.