Difference between revisions of "MotoHawk:Lookup Tables Overview"

From MotoHawk
Jump to navigationJump to search
(Prelookup and Interpolation Blocks)
(Lookup Reference Blocks)
Line 43: Line 43:
  
  
== Lookup Reference Blocks ==
+
 
 
'''<big>MotoHawk Interpolation 2D</big>'''
 
'''<big>MotoHawk Interpolation 2D</big>'''
  
Line 51: Line 51:
  
 
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.
 +
 +
== Lookup Reference Blocks ==

Revision as of 21:18, 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

Table1D.PNG

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

Table2D.PNG

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:


Prelookup and Interpolation.png

MotoHawk Prelookup Table

Prelookup.PNG

This block is used to generate an index and interpolation fraction for use with a MotoHawk Lookup Table block.


MotoHawk Interpolation 1D

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

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.

Lookup Reference Blocks