Sections
Aim higher, reach further.
Get the Wall Street Journal $12 for 12 weeks. Subscribe Now

How Car Software Can Rig a Test

A complex mix of sensors, engine-management software track emissions

New cars can have as many as 20 million lines of software code. ENLARGE
New cars can have as many as 20 million lines of software code. Photo: Reuters

Car makers woo customers with promises of speed, acceleration and braking distance. Less sexy is the increasingly critical element that helps them deliver that performance: software.

In the case of Volkswagen AG VLKAY -15.48 % , it was software that the U.S. Environmental Protection Agency says allowed about 500,000 U.S.-sold Volkswagen-made cars to pass emissions tests.

Volkswagen said on Tuesday as many as 11 million vehicles may have the same software, which U.S. regulators called a “defeat device.” It also said it would set aside €6.5-billion ($7.27 billion) to cover legal and others costs to deal with the disclosure.

New cars can have as many as 20 million lines of software code, more than many airplanes, said Bodo Seifert, a U.S.-based automotive software expert. The software controls everything from running the engine, gearbox and diagnostics to the radio and power windows. It can also help a car control the amount of pollutants it emits—by monitoring levels of things like carbon monoxide and nitrogen oxide—a byproduct of diesel-engine combustion. It can then figure out when to trap pollutants, or divert them through processes that can convert them into less-harmful substances to meet legal limits, according to Greg Schroeder, assistant director at the Ann Arbor, Mich., Center for Automotive Research.

At different stages of engine use—for instance, idling versus cruising on the highway—engine combustion can create widely different levels of pollutants. Diesel engines don’t emit much carbon monoxide, but they generally generate a greater amount of nitrogen oxide, or NOx—a component in acid rain and low-atmosphere ozone. In the U.S., where diesel passenger car sales are still comparatively modest, regulators have set far tougher NOx standards than in Europe, where diesel engines have long been more popular.

ENLARGE

Diesel powered cars use a complex mix of sensors and sophisticated engine-management software to keep track and limit emission levels. The software can influence how much NOx is produced during combustion by regulating the mix of diesel fuel and oxygen used in the process. Cars also rely on a mix of NOx traps, which capture the pollutant, and catalysts to clean emissions and meet standards.

But the measures to reduce pollution come at a cost, automotive engineers say, including reducing power that can hamper acceleration. Limiting the use of the devices used to curtail emissions could improve fuel economy and cut noise in the car, said a European auto engineer. The engine software can control how much NOx is filtered from the exhaust.

It is unclear what the VW software in question did specifically to reduce emissions during testing. But by collating such data as tire rotation, steering, and use of the accelerator, a program could determine whether a car was being driven on the road or merely on a test bed at an emissions-testing station.

Five Things on the Volkswagen Emissions Scandal

The Volkswagen emissions scandal worsened Tuesday after the German auto maker said up to 11 million vehicles worldwide could be affected by software allegedly used to cheat emissions tests and it announced plans to take a $7.27 billion provision. Here are five things about the scandal. Photo: Reuters

If such software sensed a lack of steering wheel inputs, for instance, it might have been able to predict it was being tested for emissions, and divert more pollutants to traps or treatment.

Volkswagen hasn’t named the specific software or component on the engine affected. On Tuesday, it said its Type EA 189 engines—found in some diesel models like the Jetta—displayed “a noticeable deviation between bench test results and actual road use,” adding it was “working intensely to eliminate these deviations through technical measures.”

Experts aren’t even sure at this stage whether Volkswagen manufactured the software or components involved. Calibrating a third-party component or piece of software to respond in a certain way could be enough to make up for the discrepancy, experts say.

German engineering company Robert Bosch GmbH said it made components for the Volkswagen cars now being probed. While the company said it “develops injection and exhaust-gas treatment systems that can reduce emissions in every driving situation,” the Stuttgart, Germany, company added that “responsibility for calibrating and integrating the components supplied by Bosch into the system as a whole lies with VW.”

Write to Robert Wall at robert.wall@wsj.com

15 comments
Stephen Cole
Stephen Cole subscriber

My guess is that the software meets the requirements specified in the test procedure. Due to the complexities of actually operating the engines (altitude, slope, acceleration, etc. etc.), the actual operating results are different. This will end up being a case of an improperly defined "operational definition" of the results.

Raymond Klett
Raymond Klett subscriber

The irony is that the high and mighty EPA took years to figure it out! At least they have a problem to follow. Will they go after donkey flatulence next? 

M Alexander Dziewit
M Alexander Dziewit subscriber

Why am I getting this stupid WSJ add at the bottom of my screen?  I'm paying for this???

Aaron Zalewski
Aaron Zalewski subscriber

@M Alexander Dziewit

Right!  I run AdBlocker and on this page alone, its blocking 16 elements identified as ads or tracking not hosted by WSJ.  Lame!

James French
James French subscriber

I am glad that this article gives a good technical overview, however we must not lose sight of the fact that this is a crystal clear example of just how crazy environmentalism has become in America.

And VW is setting aside money in the € Billions?  For what, a little more of one gas emission verses another at different points of a driving routine?  This isn't even the counter productive CAFE regulatory system.  This is some sort of obscure sub-set of regulation.

And all of those € Billions that disappear down some imaginary regulatory black-hole in fines will be extracted from consumers when they buy their next autos in future AND not be available now for engineers to build newer and cleaner engines for use in the future!

If you have ever wondered how and why a great nation dies, you have a front row seat here and now.

Marty A
Marty A subscriber

Finally an article going beyond political headlines.


First, If one reads the EPA charges and documents, one sees the EPA said they found the software involved.


So, why didn't the agency find it earlier?  Many government agencies do tailpipe checks - wouldn't such a large deviation be detectible by the EPA, if they were really paying attention?


Second, software integration in a vehicle is not as complex as it seems in the article.   The number of variables  are much higher than for a desktop computer, because the vehicle in use is so dynamic - but - the different phases as defined by the EPA are not hard to detect, unless the code was somehow hidden.


Third, the EPA is using language that is a bit inflammatory like "defeat device".  ECU's contain different - normal - "phases" that "switch" when weather, traction, etc change.


And if memory serves, ECU's once had to have a standard setting when being dyno tested, to try to make baseline metrics common across vehicles.


Lots more to be found here.

DAVID STANWICK
DAVID STANWICK subscriber

VW was trying to achieve the impossible:  high performing clean-burining diesel cars without ammonia induction.

Perhaps instead the diesel could be refined further to make it burn cleaner before it goes into the car's tank.  Maybe this new fuel could be called gasoline.


Daniel Palmer
Daniel Palmer subscriber

@DAVID STANWICK : An effort they abandoned with the new 2.0 TDI which does use Urea (ammonia) injection. However, for some reason the 2016 models include the same testing sensor code, which is why VW had to hault sales of the new Jetta and Golf TDI.

Jeff Schriner
Jeff Schriner subscriber

So THAT's what Fahrvergnügen means!  LOL...

THOMAS CAMPBELL
THOMAS CAMPBELL subscriber

The Emperor has no clothes!!!  World Cup Football, Olympic Games, VW diesels? What next from the USG?

Ronald Kushner
Ronald Kushner subscriber

The software, which regulators have dubbed a “defeat device.”  Otherwise know internally to Volkswagon as #WINNING. Until recently.


Bruce Jugan
Bruce Jugan subscriber

I imagine that VW's marketing people will soon run ads saying "get a little extra umph from das defeat device."

Show More Archives
Advertisement

Popular on WSJ

Editors’ Picks