This MotoHawk™ block controls the software simulation of the encoder system.
motohawk_encoder_pseudo
MotoHawk_lib/Encoder Blocks
Controls the software simulation of the encoder system such that InstantRPM and AverageRPM will reflect the applied pseudo RPM.
RPM is a uint16 with units of 1.
The supplied RPM is applied when Enable is set to TRUE on a Legacy encoder. Zero is applied when the Enable port is FALSE. Some implementations may also require the Encoder State to represent zero speed before the supplied RPM will be applied.
Generally the application of a real encoder source won't impact the system while a non-zero RPM has been successfully applied to the pseudo encoder. Setting the Enable port to FALSE will allow the system to detect real encoder signals again.
Note: The application should assume that it is able to activate the pseudo encoder at any time. Thus it should ensure that the system is in a state that it is safe to do so. Eg: there is no 'real' encoder activity. Such a switch with engine running may be detrimental to the system and cause damage.
The enable port does not control whether the pseudo encoder is activated when this block is used with a Flexible Encoder. Instead the pseudo encoder is activated when the application uses the source switch port on the Flexible Encoder block to select the pseudo encoder. The RPM port defines what RPM shall be simulated by the pseudo encoder when it is active provided the enable port is TRUE. A zero RPM setpoint is applied regardless of the value of the RPM port when the enable port is FALSE.
Note: The application is able to activate the pseudo encoder at any time. Thus it should ensure that the system is in a state that it is safe to do so. Eg: there is no 'real' encoder activity. Such a switch with engine running may be detrimental to the system and cause damage.
This MotoHawk™ block has no user-definable parameters.
Copyright 2009-2014 Woodward Corporation. All Rights Reserved. | Visit Us: mcs.woodward.com |