Model-Based Calibration Toolbox
Model-Based Calibration Toolbox enables you to design a test plan based on Design of Experiments, a methodology that saves test time by letting you perform only those tests that are needed to determine the shape of your engine response.
The toolbox offers a full range of proven experimental designs, including:
You can use the experimental design to define the test points to be run in an engine dynamometer. You then bring the test data into Model-Based Calibration Toolbox to develop engine models.
Using the Design Editor in the toolbox, you can generate, augment, and visually compare designs without needing to know the detailed mathematics of Design of Experiments.
Model-Based Calibration Toolbox integrates experimental design with three widely used test strategies:
One-stage test strategies introduce a single source of variation, between tests, and are used for performing variable screening and design-space mapping. The Design of Experiments methodology is typically used to generate test plans that vary all variables simultaneously in this type of approach.
In Model-Based Calibration Toolbox, you can use the one-stage test strategy to identify and model the relationships among the variables in complex systems with multiple variables. For example, you can test an engine at different operating points and control actuator settings defined by a space-filling design for engine speed, load, and air-fuel ratio to develop a performance characterization of the engine using a response surface model.
Two-stage test strategies introduce two sources of variation: local and global. They are used for tasks that involve sweeping a single control variable while holding other variables constant, as in collecting engine data by sweeping spark at a given engine speed, load, variable valvetrain settings, and air-fuel ratio. In this example the local variation occurs within the test when the spark angle is changed, and the global variation occurs between tests when the engine speed, load, variable valvetrain settings, and air-fuel ratio are changed.
Model-Based Calibration Toolbox lets you estimate local and global variations separately by fitting local and global models in two stages. You can use two-stage modeling to map the complex relationships among all the variables that control the behavior of the engine.
Point-by-point test strategies enable you to develop statistical models at each operating point of an engine with the necessary accuracy to produce optimal engine calibrations when two-stage test strategies can no longer model engine performance responses accurately enough. Using a point-by-point test strategy in Model-Based Calibration Toolbox, you can accurately model and calibrate modern multiple-injection diesel engines and gasoline direct-injection engines.
Acquiring data and modeling the engine must account for the operating regions of the system that can be physically tested. Model-Based Calibration Toolbox lets you add constraints to your experimental designs and create boundary models that describe the feasible region for testing and simulation. Supported boundary model types include:
Two-stage and point-by-point models provide additional boundary models for these types of test plans.
Model-Based Calibration Toolbox uses MATLAB functions for data analysis and visualization, statistics, and optimization to fit the models and generate a graphical representation of an engine's behavior. The toolbox provides the MBC Model Fitting app to help you ensure that test points taken in the laboratory match the original experimental design. Using the app, you can fit different model types to the collected data.
The toolbox provides the Design Editor for analyzing engine data and transforming it into a form that is suitable for modeling. With the Design Editor you can perform a variety of preprocessing operations, including filtering to remove unwanted data, adding test notes to document findings, transforming or scaling raw data, grouping test data, and matching test data to experimental designs.
Model-Based Calibration Toolbox provides a library of empirical model types for modeling engine behavior such as torque, fuel consumption, and emissions. Models include polynomials, splines, radial basis functions, growth models, user-defined MATLAB files, and Simulink models.
The MBC Optimization app in Model-Based Calibration Toolbox lets you calibrate lookup tables for your engine control unit (ECU). With the app, you can fill and optimize lookup tables in ECU software using models created with the MBC Model Fitting app. You can:
The MBC Optimization app lets you generate optimal calibrations for lookup tables that control engine functions, such as spark ignition, fuel injection, and inlet and exhaust valve timing. Calibration of these features typically involves tradeoffs between engine performance, economy, reliability, and emissions. You can:
Optimal Engine Calibration (Consulting Services)
Complex calibration problems can require different optimizations for different regions of a table. The table-filling wizard enables you to incrementally fill tables from the results of multiple optimizations with smooth interpolation through existing table values. The MBC Optimization app extrapolates the optimization results to pass smoothly through table masks and locked cells (fixed table values). Use these features when you want to use separate optimizations to fill different regions of a lookup table.
The app also provides gradient constraints for controlling table smoothness in optimization-based and feature-based table filling.
Model-Based Calibration Toolbox enables you to produce optimal calibrations for engines with multiple operating modes. You can use the composite model type to combine a number of models that represent engine responses under different operating modes. Using the composite model in the MBC Optimization app produces optimal calibrations for engines with multiple operating modes, where the goal is to fill a single table for all modes or to fill a table for each mode.
ECU software often includes features for estimating states that are too difficult or costly to measure in production vehicles, such as torque and borderline spark. Using the MBC Optimization app, you can describe estimator features graphically with Simulink block diagrams, fill the lookup tables for these features, and then compare the estimators with empirical engine models made from measured engine data.
You can export statistical models developed in Model-Based Calibration Toolbox to Simulink or use them for hardware-in-the-loop (HIL) testing.
Use statistical models developed in the toolbox to capture real-world complex physical phenomena that are difficult to model using traditional mathematical and physical modeling. For example, you can export models for torque, fuel consumption, and emission (such as engine-out HC, CO, NOx, and CO2) to Simulink and perform powertrain-matching, fuel economy, performance, and emission simulations to improve powertrain component selections, drivability-related controls, and emission-related controls. Since the key physical components of your model have been derived from measured engine performance data, your models yield more accurate results than detailed physical models from theory that do not capture the complete physical phenomenon of the real-world system.
You can also reduce long-running or computationally intensive simulations by creating an accurate statistical surrogate model of an existing detailed high-fidelity engine model. For example, you can use the toolbox to generate accurate, fast-running models from complex Simulink models or subsystems over the design space of interest. The statistical surrogate can then replace the long-running subsystems in Simulink to speed up simulation time.
Model-Based Calibration Toolbox models exported to Simulink can be used in real-time simulations with hardware to provide fast, accurate plant model emulation to the ECU sensor and actuator harnesses. Since developing models in the toolbox takes advantage of a methodical process, you can reduce bottlenecks related to the current art of HIL plant model development, resulting in earlier validation of ECU algorithm designs.