Flexible Encoder Synchronizer Slip Get

Allows the application to query attributes related to the Flexible Encoder's Synchronizer Slip feature. Often used with the Synchronizer Slip Set block.

Block ID

Sync Slip Get

Library

motohawk_flexenc_lib

Description

The Flexible Encoder's Synchronizer Slip feature allows Absolute Sources that employ a NX (Equidistant) pattern with a synchronization companion to be more tolerant to changes of phase between these two sources. The Synchronizer Slip Set provides detail on how synchronizer slip can be enabled and how this feature impacts the behavior of the Flexible Encoder.

This block allows the observed phase relationship between the synchronization source and the Absolute Source to be queried by the application, which can then be used to assist in configuring and qualifying the Synchronizer Slip feature.

Two phase values are available, namely Last position and Qualified position. These are only valid while the reported status is either Waiting for Qualification or Qualified.

Last position provides the last observed synchronization event relative to the tooth on the equidistant pattern that has been identified as tooth #0. A positive angle means the synchronization event occurred before tooth #0 by this many crank angle degrees. A negative value means the synchronization event occurred after tooth #0 by this many crank angle degrees.

Qualified position provides the location where the "qualifying" synchronization event occurred relative to the encoder tooth that this event is "qualifying". By definition a "qualified" position will always be positive and smaller than the referenced pattern's equidistant displacement. The application defines when a source is consider "qualified" via the Synchronizer Slip Set block.

Block Parameters

Parameter Field Values Comments/Description
Reference Source Name Alpha-numeric text, quote enclosed The name of the Absolute Source to be queried for Synchronizer Slip attributes. 

Signals

Qualified (int16)

The angular displacement between the synchronization event and the encoder tooth that the synchronization event applies to in x16 degrees crank angle. Thus a value of 16 represents 1.0 degrees crank angle.

Last (int16)

The angular displacement between the last observed synchronization event and the "qualified" encoder tooth in x16 degrees crank angle. Thus a value of 16 represents 1.0 degrees crank angle. A positive value means the event occurred before the tooth and a negative value means the event occurred after the tooth. The recovered displacement can be larger than the equidistant tooth displacement of the referenced pattern.

Status (uint8, enum)

The m-script motohawk_flexible_encoder_syncslip_enum enumerates the status.

Not Created (value=0)

Not Applicable (value=1)

Unsupported (value=2)

Waiting for Sync (value=3)

Waiting for Qualification (value=4)

The application controls whether synchronization is considered "qualified" via the Synchronizer Slip Set block. A source that has achieved synchronization, but hasn't been classified as "qualified" will return this status.

Both the Last position signal and Qualified position signal will report the same value if this status is returned.

Qualified (value=5)

This status is returned when the Synchronizer Slip Set has been used to successfully "qualify" an Absolute Source's synchronization.