Encoder TDC Offset
This MotoHawk™ block sets the encoder TDC offset.
Block ID
motohawk_encoder_offset
Library
MotoHawk_lib/Encoder Blocks
Description
Operation
Use the input to set the encoder TDC offset, which is required to translate encoder TDC#1 to mechanical TDC#1. It has a fixed point representation with units of 1/16 degrees before TDC#1.
Typically this is fed by a Calibration block, so that the mechanical to electrical TDC offset can be tuned.
This block can be used to change the offset at run-time, for example, to add 360 degrees to change the CAM phase.
NOTE: The CAM phase may be interpreted differently depending on module. Beware when porting between modules as TDCOffset may need to be changed by 360 degrees. Example modules exhibiting this difference are PCM128 and ECM112.
Use with the Flexible Encoder
This block can be used with the Flexible Encoder System. The setting applies to Flexible Encoder System source #1. The Flexible Encoder TDC Offset block provides a better fit for flexible encoder solutions.
Block Parameters
This MotoHawk™ block has no user-definable parameters.