MotoHawk:Blocks:Timed Peak Hold

From MotoHawk
Jump to navigationJump to search

Timed Peak/Hold

The MotoHawk™ Timed Peak/Hold block exposes the peak/hold behavior of hardware drivers that support dual load current thresholds. The dual current thresholds are nominally set to provide a "peak" current and a "hold" current.

Block ID

Timed Peak/Hold

Library

MotoHawk_lib/Advanced Digital I/O

Description

File:TimedPeakHold.PNG

Usage

The intent behind the Peak/Hold blocks is to expose the peak/hold behavior of hardware drivers that support dual load current thresholds. The dual current thresholds are nominally set to provide a "peak" current and a "hold" current. The higher "peak" current is initially applied to allow an injector or valve like load to "pull-in". The current requirements to "pull-in" an actuator are higher than the current required to keep an actuator "pulled-in". Thus the current in the load must be "peaked" to achieve "pull-in" and then "held" at a lower threshold to maintain actuator "pull-in".

The block's Peak Time signal allows a model to set the time that the driver should maintain the "peak" threshold before switching to the "hold" threshold. The "peak" current threshold is applied and the timer zeroed each time the output associated with the selected resource is asserted (turned ON). The driver automatically reverts to the "hold" current threshold once the Peak Time has expired and it will remain in "hold" until the associated output is next turned OFF.

Zero Peak Time

Note that a Peak Time of zero represents infinite peak. Set the Peak Time to a small non-zero time to achieve "hold" only operation

Supported Output Behaviors

MotoHawk currently only supports the use of timed peak with the PSP Output like behaviors.

Block Parameters

Parameter Field Values Comments/Description
Resource Name Alpha-numeric text, single-quote enclosed References to the block shall use this name. Is optional.
Resource Drop-down list Select from available listings, as appropriate, to apply output.
Allow I/O pin to be calibrated Check box (enable) Name, Access Levels and Group Strings fields available
Variable Name Alpha-numeric text, single-quote enclosed This is the name used by the tool to calibrate the resource
Read Access Level 1-4 Sets security level 1 lowest, 4 highest, for user access to read value
Write Access Level 1-4 Sets security level 1 lowest, 4 highest, for user access to write value
Group String Alpha-numeric text, single-quote enclosed Determines Folder name and hierarchy for display in a tool like MotoTune. Use "|" character between folder names to delineate subfolder structure