7: Control Systems

Command Purpose
abort_autotune Abort the autotuning process for a specified PID controller by setting flags or sending events to stop the tuning.
autotune

Initiate tuning of a specified PID loop using the Ziegler-Nichols method (closed loop version – with relay caused oscillations). Note that the length of time to autotune is dependent on the period of oscillation of the system.

calc_gains Compute control loop gains after auto-tuning.
chirp Generate a swept-frequency cosine signal for system identification.
cmd_map_gen Generate a controller’s command map and gain scale table based on specifications from a breakpoint table.
comp_ctrl

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

ctrl_cfg_dsply Display the new_state, action, subcode, index, and label information about the control configuration event when an event occurs.
ctrl_disp Display control loop information for specified controllers or loops.
ctrl_params Use this utility to set gains for control loops using parameters specified in a datafile.
ctrl_spec_converter Use this script to create a new spec file that will work with the eng_ctrl_task in 6.3.x versions of CyFlex.
disp_dygains Display dyno controller gains.
dy Set the dyno controller to open loop mode and specify a target value with an optional ramp rate.
dy_gains Set the proportional, integral, and derivative gains for the dyno control loop based on provided arguments.
dy_ramp Set the dyno controller open loop ramping on or off with a specified rate when turning on.
eng_ctrl_specs Specify the engine control task configuration
eng_ctrl_task Provide PID control algorithms for engine throttle and dyno(s).
eng_specs Process Engine Specifications
filter_k Set or change the value of the filter coefficient on a specified AI or FI channel.
gen_load Sets DO bits that control relays in a load bank.
other Set the target value for the ‘other’ controller and optionally a ramp rate.
perf_labels Engine performance specifications
prbs Generate pseudo random binary sequence for use as an input in system identification.
prop Perform torque control to simulate a propeller.
pwm_ctrl PWM control task for the dilution flow actuator.
pwm_specs Specify a specification file for use by the pwm_ctrl task.
reset_dyno_int Set dyno controller integral term to 0.0
reset_int_term Zero out the integral term of a PID controller to enable starting from zero initial conditions.
reset_throt_int Set throttle controller integral term to 0.0
set_dndt_k Set filter coefficient for engine acceleration (dN/dt) measurement
set_eng_mode Set engine control mode
set_eng_specs Set updated engine specs values.
set_eng_specs12 Set updated engine specs values.
set_lwr_bnd Set the lower bound for a specified controller.
set_upr_bnd Set the upper bound for a specified engine controller.
set_user Set the closed-loop target for a user control loop.
sp Set speed target values and ramp rates.
th

Set the throttle controller to open loop mode and specify the throttle target value.

th_ff Switch throttle feed forward ON/OFF
th_gains Set the proportional, integral, and derivative gains for the throttle controller.
th_ramp Set throttle ramp parameters for open loop throttle control.
to Set torque target values and ramp rates.
torq_conv Perform torque control to simulate the hydraulic load of a torque converter.
torq_sched Perform torque control by applying a torque target based on a specified schedule as a function of speed.
update_user_specs Update the user control specification file with new gains and/or new values that are presently in feedback variables. This executable is not intended for end-users.
user_ctrl_specs Specify user control task configuration.
user_ctrl_task Provide PID control algorithms for user control loops. Normally spawned by the user_ctrl_specs task.
u_ctrl Change specification settings for a user_control task.
u_ff Switch the user loop feed forward on or off for a specified controller.
u_gains Set the proportional, integral, and derivative gains for a specified user control loop.
u_mode Set the operating mode of a user control loop to open or closed loop.
u_ramp Specify the ramp characteristics (on, off, and rate) for user control variables in both open and closed loop modes.
u_target Set the target for user control loops in either open or closed loop mode.
u_toler Set the tolerance for user control loops.
v4_ctrl Slave Froude V4 controller to CyFlex