Background

Constantly increasing emission requirements in the automotive industry creates the need for new solutions in engine development. New technology solutions often add new actuators which provide more degrees of freedom that can be used to minimize emissions and fuel consumption. But the new technology must also work together with existing technology. Multi variable, model-based control is therefore interesting in order to handle the different upcoming challenges.

This CDIO project was performed during the fall of 2020 in a collaboration between students at Linköping University and Volvo Cars Corporation. The goal was to implement a model predictive (MPC) controller for an internal combustion engine to achieve two different drive modes, one with higher fuel efficiency and one with increased performance. The controller together with a simulation environment was successfully created in MATLAB and Simulink.

volvo-logo liu-logo

Implementation

Simulation Environment

A simulation environment was used to test the MPC controller on the plant model containing models of throttle, intake manifold and variable valve time (VVT). The structure of the simulation environment is illustrated in the following figure.

flow_chart Structure of simulation environment.

Actuators and models

The actuators that have been the focus in this project are the throttle together with intake manifold and the variable valve timing (VVT). These two actuators have been modeled to make it possible to control them.

Throttle and Intake manifold

The throttle model controls the air mass flow into the engine using the throttle angle , and is described by the following equation:

Changes in the pressure and temperature in the intake manifold are modeled with the following equations:

Varaible Valve Time (VVT)

The model that was used for the VVT is a black-box, which means that the model is not based on physical formulas. Based on measurement data from a Volvo engine, functions were made that convert the input signals, the intake manifold pressure and the crankshaft angle, to the desired output which is the air mass flow into the cylinders.

blackbox The blackbox model for VVT.

Model Predictive Controller

The investigated real time model predictive controller (MPC) controls the non linear system of the actuators through linearizing and discretizing the system signals. Two alternative methods for linearization are presented and used: current state linearization using Taylor expansion and trajectory prediction linearization using Taylor expansion with Euler’s step method to predict trajectory. The signals are then discretized with Euler’s forward method.

mpc_flow Description of the MPC structure.

For the controller to find an optimal solution the open source QP-solver qpOASES, which supports real time code generation to the engine-test-cell, is used for solving the cost function. The cost function (minimizing u) optimized in the solver and the following constraints is described as follows.

The control system is created with two settings for engine optimization: Performance and Efficiency, using two different goal functions. Performance is defined as prioritizing cylinder mass flow, and efficiency considers both mass flow and pump losses.

Performance

Efficiency

Results with performance settings

The project resulted in an real-time MPC that was successfully implemented and run in the Simulation environment. Simulation examples are shown below (without any disturbances):

mpc_flow

Mass flow for the performance setting.

mpc_flow

State behavior for the performance setting.

Video

A short demonstration video of the project.
1 Happy Clients
1 Projects Done
1 Hours Spent

Documents

Requirement specification

Read PDF

Design specification

Read PDF

Project plan

Read PDF

Test Protocol

Read PDF

User manual

Read PDF

Technical documentation

Read PDF

Poster

Read PDF

About us

Fabian Sund

Fabian Sund

Project manager
Josef Aziz

Josef Aziz

Software
Fuad Hanic

Fuad Hanic

Modeling - VVT
Johnny Josefsson

Johnny Josefsson

Information
Sanna Renius

Sanna Renius

Modeling - Throttle
Henrik Holmberg

Henrik Holmberg

Software
Björn Kleman

Björn Kleman

Document
Jesper Rylander

Jesper Rylander

Design
Gustav Mann

Gustav Mann

Quality
Henrik Lindgren

Henrik Lindgren

Testing