Fast App: Calibration of Engine Performance at Mercedes-AMG

MathWorks' solution optimizes engine calibration to help engineers design new powertrains.

MathWorks' solution optimizes engine calibration to help engineers design new powertrains.

By Hasan Uzun

The calibration of todays complex, high-degree-of-freedom (DOF) engines can be challenging, even for the most experienced automotive engineers. There are too many variable combinations to test individually, and trade-offs among performance, efficiency, emissions and reliability are complex.

At AMG, we developed a custom engine calibration tool using MATLAB, Model-Based Calibration Toolbox and Parallel Computing Toolbox that enables engineers at all levels of expertise to extract the highest possible performance from AMG powertrains (see Figure 1). The tool supports the entire calibration process, from design of experiments (DOE), through model generation and selection, to optimization.

Gullwing
The Mercedes-Benz SLS AMG Gullwing.

Applying DOE Methodology
Engine performance depends on precise control of a large number of engine control parameters. For example, todays engine control units (ECUs) enable multiple injections per engine cycle “each with different amounts of fuel, adding more parameters to the problem. Engine calibration involves tuning these variables and others to maximize performance across the operational range of engine speeds and loads.

Because the effects of calibration variables are interdependent, it is impossible to calibrate an engine by simply optimizing one variable at a time. However, because there may be a dozen or more variables, each with a range of possible values, it is also not feasible to test all possible combinations on a working engine.

AMG powertrains
Figure 1. AMG calibration tool main menu.

DOE methodology addresses this problem by generating test plans that efficiently determine the nature of the engine responses. The tool we developed lets engineers, without any specialized knowledge, apply DOE methodology as part of AMGs comprehensive calibration process.

Building a Custom Calibration Tool
Developing the calibration tool was a three-stage effort. In the first stage, we established robust design, modeling and optimization processes for systematically calibrating an AMG engine using the Model-Based Calibration Toolbox graphical user interface (GUI).

Once those processes were in place, we used the Model-Based Calibration Toolbox command-line interface to capture the steps in MATLAB functions. We wanted to provide an application tailored to the specific inputs of our workflow, plus the specific requirements of our calibration engineers. For this reason, in the third stage we used MATLAB to create a custom GUI that invokes Model-Based Calibration Toolbox via the command-line interface (see Figure 2).

Model-Based Calibration Toolbox
Figure 2. Model setup dialog box.

Generating and evaluating candidate engine models is a computationally intensive calibration task that can take several minutes to process. To accelerate this step, we used Parallel Computing Toolbox to take advantage of the processing power available in all the dual-core workstations at AMG.

This straightforward change gave MATLAB access to both CPUs, enabling our team to perform their modeling calculations about 1.7 times faster than before.

The Calibration Workflow
The new calibration tool has streamlined and simplified the calibration process at AMG. Even engineers with no previous knowledge of DOE methodology are using the tool “and getting excellent results.

The engineers first enter known variable limits, such as minimum and maximum fuel injection quantities (measured in milligrams per injection) and the spark timing range (measured in degrees crankshaft). The interface asks only for the information we need for AMG engines, in terms understood by AMG engineers.

The tool invokes Model-Based Calibration Toolbox to generate a minimal set of test points to be run on an engine dynamometer. Having evaluated a number of experimental design types, including full factorial, central composite and Latin Hypercube, we have settled on a custom approach that combines space-filling and optimal techniques.

Next, the engineers bring the test data “including measurements of torque, emissions and fuel consumption “back into the tool, which again invokes Model-Based Calibration Toolbox to generate engine models (see Figure 3).

MathWorks Engine Models
Figure 3. Model comparison and selection tool.

Finally, the tool uses Model-Based Calibration Toolbox to optimize calibration settings across a range of engine speed and load values. For example, we specify an emissions limit to meet regulatory requirements, and a fuel consumption limit to meet our environmental goals. We then optimize torque for performance. Model-Based Calibration Toolbox solves these large constrained optimization problems, and produces look-up tables ready for export to the electronic control unit (ECU).

 

For Further Reading

Building Greener Performance Cars
MATLAB and the command-line interface of Model-Based Calibration Toolbox have enabled us to implement a solution that fits seamlessly into AMGs existing calibration workflow. Our specialized calibration tool is helping AMG to achieve its Euro 6 compliance goals. The DOE methodology and multi-core parallelization of computationally intensive statistic modeling and optimization tasks have accelerated the process.

AMG engineers used the tool as part of the calibration process for the new Mercedes-Benz SLS AMG. This sports cars 6.3-litre, V8 AMG engine delivers 571 hp peak output at 650 Nm of torque (all values are provisional). The Gullwing model accelerates from 0 to 60 mph in 3.8 seconds. Precise calibration contributed to the cars best-in-class fuel consumption of 17.8 mpg.

A primary advantage of using the custom calibration tool on the Mercedes-Benz SLS AMG and other projects is that it is tailored to AMGs specific needs and existing calibration process. As a result, AMG engineers and technicians can focus on the specifics of AMG engines in a streamlined calibration process.

Hzn Uzun is an employee of Mercedes AMG.

Info
MathWorks Inc.

Share This Article

Subscribe to our FREE magazine, FREE email newsletters or both!

Join over 90,000 engineering professionals who get fresh engineering news as soon as it is published.


About the Author

DE Editors's avatar
DE Editors

DE’s editors contribute news and new product announcements to Digital Engineering.
Press releases may be sent to them via [email protected].

Follow DE
#4221