Update 2D Look Up table regarding measurement

2 ビュー (過去 30 日間)
Cemil Oezasi
Cemil Oezasi 2022 年 5 月 10 日
回答済み: Sayan 2023 年 10 月 31 日
Hello all,
I would like to develop calibration tool for my task.
1) I have 2D look up table that I have to adjust.
2) My inputs are coming from test bench and my output also coming from test bench
3) As expected there is a difference between ECU out (output from look up table=vq) and test bench results.
4) I would like adjust test bench results to ECU to have low error. ( which means update my existing 2D-look up tabel)
5) Could you please advice me methods to write this tool.. I put picture to describe my Problem..

回答 (1 件)

Sayan
Sayan 2023 年 10 月 31 日
Hi Cemil Oezasi,
I understand from your query that you need to design a 2-D look up table for your test measurements with less error.
You can follow the below-mentioned steps to find the same.
  • Use the 2-D Look Table block (available at Simulink / Lookup Tables) to map your result with the two input data.
  • In the "Table data" field, provide the expected result data points in the form of a 2-D matrix and the two inputs in the "Breakpoints 1" and "Breakpoints 2" fields. The accuracy of the result will increase if denser data points are provided in the inputs and output.
  • You can select the "Interpolation method" and the "Extrapolation method" that are best suited to your system for minimal error with the required speed. This can be found in the "Algorithm" tab of the block.
  • In the "Data Types" tab, you set the required data type for your output.
  • For precise intermediate calculations, you can select "Precision" as "Internal rule priority".This will reduce the error in ECU output and test bench results.
You can find more information on the 2-D Lookup Table in the following documentation:
Hope this answers the query.

カテゴリ

Help Center および File ExchangeOther Formats についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by