Difference between revisions of "MotoHawk:Lookup Tables Overview"
| Line 34: | Line 34: | ||
'''<big>MotoHawk Interpolation 1D</big>''' | '''<big>MotoHawk Interpolation 1D</big>''' | ||
| − | [Image:Interpolation1D. | + | [Image:Interpolation1D.jpg]] |
This MotoHawk™ block behaves similarly to the native Simulink Interpolation (1-D) using Prelookup block, with n=1. | This MotoHawk™ block behaves similarly to the native Simulink Interpolation (1-D) using Prelookup block, with n=1. | ||
| Line 42: | Line 42: | ||
'''<big>MotoHawk Interpolation 2D</big>''' | '''<big>MotoHawk Interpolation 2D</big>''' | ||
| − | [Image: | + | [Image:Interpolation2D.jpg] |
This MotoHawk™ block behaves similarly to the native Simulink Interpolation (2-D) using Prelookup block, with n=2. | This MotoHawk™ block behaves similarly to the native Simulink Interpolation (2-D) using Prelookup block, with n=2. | ||
This block performs a linear interpolation on an 2-D matrix, "Table Data," using precalculated indices and distance fractions provided by the PrelookUp block. End values of Table Data is used for input outside of the Breakpoint Data. This block is used with the MotoHawk Prelookup or MotoHawk Prelookup Reference block. | This block performs a linear interpolation on an 2-D matrix, "Table Data," using precalculated indices and distance fractions provided by the PrelookUp block. End values of Table Data is used for input outside of the Breakpoint Data. This block is used with the MotoHawk Prelookup or MotoHawk Prelookup Reference block. | ||
Revision as of 21:07, 26 September 2012
MotoHawk Lookup Table Blocks
MotoHawk provides a library of lookup table blocks that provide functionality similar to the native Simulink lookup table blocks, but also allow for calibration in MotoTune. The blockset provides 1D and 2D maps, as well as adaptive tables. Pre-lookup and Interpolation tables can be used to split up the breakpoints and table data separately. Reference tables can be used to access a table defined by a data store (Data Storage Blockset) somewhere else in the model. Data for the lookup tables can be stored in Volatile or Non-Volatile storage.
1D and 2D Lookup Table Blocks
MotoHawk 1D Lookup Table
This MotoHawk™ block behaves similarly to the native Simulink Look-Up Table (1-D) block. This block performs 1-D linear interpolation of input values using the Breakpoint (x-axis) and Table Data (y-axis). End values of Table Data is used for input outside of the Breakpoint Data.
MotoHawk 2D Lookup Table
This block performs 2-D linear interpolation of input values using the Breakpoint (x) and 2-D matrix of Table data values to be searched.
Prelookup and Interpolation Blocks
The MotoHawk 1D and 2D Lookup Tables are comprised under the mask of Prelookup and Interpolation table as shown below:
MotoHawk Prelookup Table
This block is used to generate an index and interpolation fraction for use with a MotoHawk Lookup Table block.
MotoHawk Interpolation 1D
[Image:Interpolation1D.jpg]]
This MotoHawk™ block behaves similarly to the native Simulink Interpolation (1-D) using Prelookup block, with n=1.
This block performs a linear interpolation on an 1-D matrix, "Table Data," using precalculated indices and distance fractions provided by the PrelookUp block. End values of Table Data is used for input outside of the Breakpoint Data. This block is used with the MotoHawk Prelookup or MotoHawk Prelookup Reference block.
MotoHawk Interpolation 2D
[Image:Interpolation2D.jpg]
This MotoHawk™ block behaves similarly to the native Simulink Interpolation (2-D) using Prelookup block, with n=2.
This block performs a linear interpolation on an 2-D matrix, "Table Data," using precalculated indices and distance fractions provided by the PrelookUp block. End values of Table Data is used for input outside of the Breakpoint Data. This block is used with the MotoHawk Prelookup or MotoHawk Prelookup Reference block.
