comp_ctrl

Purpose:

Compute engine performance metrics including speed, torque, and acceleration rates for control operations.

Enter:

comp_ctrl <priority> [+c] &

Where:

priority

Specify the task system priority.

+c

Optional. Specify this flag to indicate a critical task for watchdog monitoring.

Example:

comp_ctrl 18 +c &

Notes:

This process automatically determines its process interval based on the dyno and throttle controllers and performs computations for performance variables.

This process performs the following functions:

1) Based on the function codes specified in the /specs/spcl_chans.NNN file, it will fetch the following variables, perform units translation and place the result into variables which will be used for engine control by the ‘ctrl_task’.

function_code target_location description

CTRL_ENGINE_RPM ctl_spd engine speed feedback variable

CTRL_DYNO_TORQUE ctl_torq dyno torque feedback variable

DN/DT dndt rate of change of engine speed

2) Compute acceleration rate of engine speed (dndt) is computed unless it is specified as a directly measured variable by the DN/DT function_code in spcl_chans.NNN

gross and net engine torque Gross_torq Net_torq

instantaneous power and bmep Dyno_power BMEP

See Also:

spcl_chans