Adaptive Lookup Tables - is the data used for updating the table interpolated?

2 ビュー (過去 30 日間)
Daniel Ott
Daniel Ott 2012 年 6 月 4 日
コメント済み: Peter Noronha 2020 年 12 月 31 日
Hello everybody,
I'm using the Adaptive Lookup Tables for estimating the efficiency of an electrical engine. While trying to get a better understanding of the results, I was wondering if the input value (y) used for updating the table data is interpolated between the corresponding break points.
While I was looking through the code files (lookup_methods.c, lookup_methods.h and sfun_lookupnd_stair_fit.c), I could find a calculation of a fraction variable that looks like it will be used for interpolating the input value according to the breakpoints, but i couldn't find that this information is used in any other place.
So my question is: is there any use of interpolation in the adaptive lookup table or not?
Best regards
Daniel

採用された回答

Bora Eryilmaz
Bora Eryilmaz 2012 年 6 月 4 日
Adaptive lookup tables do not use interpolation between breakpoints to compute new table cell values or the output because each table cell (rectangle, hypercube) is represented by a single value. In 2D, this is equivalent to having a horizontal rectangle to represent the height of the table cell. Once the cell for a given input signal is found, the input value is used to update the "height" of the cell.
The picture on the Adaptive Lookup Table (1D Stair-Fit) block represents this case.
  1 件のコメント
Peter Noronha
Peter Noronha 2020 年 12 月 31 日
It would be very useful to extend the algorithm from stair-fit to support interpolation with this block. It could be implemented as an option on this block or as a new block.
The primary use case would be to represent behaviors that are smooth surfaces. The smoothness requirements for this surface requires a great many breakpoints for a stair fit, fewer would do with linear interpolation and perhaps even fewer with cubic spline interpolation. In my judgement linear interpolation seems to be the sweet spot for most use cases - the tradeoffs between smoothness/accuracy, speed of execution and memory - so I would push for a block with linear interpolation incorporated into the adaption.
For the interpolation cases the block table size would be the same as the breakpoint grid, Z values are aligned with the breakpoints (instead of cells of the stair fit, which are interlaced between breakpoints). Each sample used for adaption would affect the Z values of the corners of the grid that bracket the sample - with proximity in the grid used to weight the adaption of each point - a lever analogy or similar strategy would be used to calculate these weights.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLookup Table Tuning についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by