Cruise Control

Cruise Control

When active, the Cruise Control function controls the Drive By Wire Throttle in an attempt to maintain the vehicle speed at the set target speed. This function uses a single analogue input, with each button that is pressed resulting in a different resistance to signal ground.


Wiring Tab

Options

Input Type

The Input Type must be set to analogue voltage

Enable Light Output Type

Select from the following:

Disabled

No output is used for the Cruise Control Enable Light

Digital - Switched

To be selected if the Cruise Control Enable Light is controlled from a Digital Pulsed Output (DPO) from the ECU

CAN Output - Switched

To be selected if the Cruise Control Enable Light is controlled via the vehicle CAN bus

Active Light Output Type

Select from the following:

Disabled

No output is used for the Cruise Control Active Light

Digital - Switched

To be selected if the Cruise Control Active Light is controlled from a Digital Pulsed Output (DPO) from the ECU

CAN Output - Switched

To be selected if the Cruise Control Active Light is controlled via the vehicle CAN bus

Connections

Input

The Cruise Control function uses a single analogue input where each button being pressed results in a different resistance to signal ground. An AVI (Analogue Voltage Input) or SPI (Synchronised Pulsed Input) should be used.

To make your own, simply have each switch connect a unique resistor between the AVI/SPI and Signal Ground. Ensure that the voltage readings are suitably far apart (minimum 0.1V).

AVI

An AVI (Analogue Voltage Input) is suggested.

Pull up

Enables a 1k pull up resistor to 5V.

Typically the pull up should be enabled for a cruise control input switch. If the input is being shared with another ECU, such as with a piggyback installation with an OEM ECU, then the other ECU will generally include a necessary pull up and this setting should be set to Disabled.

SPI

An SPI (Synchronised Pulsed Input) can be used where there are no available AVIs.

Sensor Type

Set to Hall Effect for all analogue inputs

Pull up

Enables a weak 10k pull up resistor to 5V.

Typically the pull up should be enabled for a cruise control input switch. If the input is being shared with another ECU, such as with a piggyback installation with an OEM ECU, then the other ECU will generally include a necessary pull up and this setting should be set to Disabled.

Enabled Output

The Cruise Control Enable Light is illuminated whenever the Cruise Control State is anything except Disabled. Select an available output wire, typically a DPO (Digital Pulsed Output) or Stepper Output that will be connected for the Enabled Light.

Active State

Controls the whether the output is normal or inverted. Low will ground the output wire when the output is set to be On. Setting to High will invert this signal, with the output wire being grounded when the output is set to be Off, and not grounded when it is set to be On. (Default = Low)

Active Output

The Cruise Control Active Light is illuminated whenever the Cruise Control State is Cruising, Accelerating or Coasting. Select an available output wire, typically a DPO (Digital Pulsed Output) or Stepper Output that will be connected for the Active Light.

Active State

Controls the whether the output is normal or inverted. Low will ground the output wire when the output is set to be On. Setting to High will invert this signal, with the output wire being grounded when the output is set to be Off, and not grounded when it is set to be On. (Default = Low)

General Tab

General

Minimum Speed

The minimum speed at which Cruise Control will function. If the vehicle speed falls below this value while cruise control is active, cruise control will disable. If the vehicle speed falls below this value, cruise control can not be set or resumed. Typically, OEM ECUs set this value to approximately 40 km/h (25mph).

Maximum Speed

The maximum speed at which Cruise Control will function. If the vehicle speed exceeds this value while cruise control is active, cruise control will disable. If the vehicle speed exceeds this value, cruise control can not be set or resumed.

Speed +/- Increment

How much the target speed will change with each short press of the Accel or Coast buttons

Buttons Tab

Unknown

Any button number which isn't needed should have it's function set to Unknown.

Rest Position

Used to distinguish between a valid and invalid input. Calibrate with no button pressed.

Voltage

The voltage read by the ECU from the switch when no button is pressed. Typically the voltage will be between 4 and 5 Volts while in the Rest Position.

Calibrate

By leaving the buttons unpressed and pressing Calibrate, the calibration voltage will be automatically set.

Enable

If state is Disabled this will change it to Ready

Voltage

The voltage read by the ECU from the switch when the Enable Button is pressed

Calibrate

By holding down the Enable button and pressing Calibrate, the calibration voltage will be automatically set.

Disable

Sets cruise control state to Disabled.

Voltage

The voltage read by the ECU from the switch when the DISable Button is pressed

Calibrate

By holding down the Disable button and pressing Calibrate, the calibration voltage will be automatically set.

Enable / Disable

Enable / Disable button is a push-on push-off button. If the cruise control state is Disabled, pressing this button will change the state to Ready, otherwise it sets cruise control state to Disabled.

Holding the button for the long press duration will disable cruise control.

Voltage

The voltage read by the ECU from the switch when the Enable / Disable Button is pressed

Calibrate

By holding down the Enable / Disable button and pressing Calibrate, the calibration voltage will be automatically set.

Cancel

If state is Cruising: Pauses Cruise Control by setting state to Ready.

Voltage

The voltage read by the ECU from the switch when the Cancel Button is pressed

Calibrate

By holding down the Cancel button and pressing Calibrate, the calibration voltage will be automatically set.

Set

If Cruise Control state was Ready: changes to Cruising and sets the current speed as the target speed.

Also sets the current speed as the target speed (this also works while cruising to change your target speed).

Voltage

The voltage read by the ECU from the switch when the Set Button is pressed

Calibrate

By holding down the Set button and pressing Calibrate, the calibration voltage will be automatically set.

Set / Cancel

If Cruise Control state was Ready: changes to Cruising and sets the current speed as the target speed.

If state is Cruising: Pauses Cruise Control by setting state to Ready.

Voltage

The voltage read by the ECU from the switch when the Set / Cancel Button is pressed

Calibrate

By holding down the Set button and pressing Calibrate, the calibration voltage will be automatically set.

Accel

If Cruise Control state was Cruising: Holding the button will cause the car to continue accelerating until the user releases the button. The target speed becomes the speed that the car was travelling at when the button was released.

Voltage

The voltage read by the ECU from the switch when the Accel Button is pressed

Calibrate

By holding down the Accel button and pressing Calibrate, the calibration voltage will be automatically set.

Coast

If Cruise Control state was Cruising: Holding the button will cause the car to coast until the user releases the button. The target speed becomes the speed that the car was travelling at when the button was released.

Voltage

The voltage read by the ECU from the switch when the Coast Button is pressed

Calibrate

By holding down the Coast button and pressing Calibrate, the calibration voltage will be automatically set.

+ / -

If Cruise Control state was Cruising: A short press increases/decreases the target speed by the value of the Speed +/- Increment setting.

Voltage

The voltage read by the ECU from the switch when the + or - Button is pressed

Calibrate

By holding down the + / - button and pressing Calibrate, the calibration voltage will be automatically set.

Set / Accel / +

If Cruise Control state was Ready: changes to Cruising and sets the current speed as the target speed.

If Cruise Control state was Cruising: A short press increases the target speed by the value of the Speed +/- Increment setting. Holding the button will cause the car to continue accelerating until the user releases the button. The target speed becomes the speed that the car was travelling at when the button was released

Voltage

The voltage read by the ECU from the switch when the Set / Accel / + Button is pressed

Calibrate

By holding down the Set / Accel / + button and pressing Calibrate, the calibration voltage will be automatically set.

Set / Coast / -

If Cruise Control state was Ready: changes to Cruising and sets the current speed as the target speed.

If Cruise Control state was Cruising: A short press decreases the target speed by the value of the Speed +/- Increment setting.

Holding the button will cause the car to coast until the user releases the button. The target speed becomes the speed that the car was travelling at when the button was released

Voltage

The voltage read by the ECU from the switch when the Set / Coast / - Button is pressed

Calibrate

By holding down the Set / Coast / - button and pressing Calibrate, the calibration voltage will be automatically set.

Resume

If Cruise Control state was Ready: changes to Cruising and the target speed gets set to the last valid target speed. Note that this will do nothing if the user has not pressed Set since key on.

Voltage

The voltage read by the ECU from the switch when the Resume is pressed

Calibrate

By holding down the Resume button and pressing Calibrate, the calibration voltage will be automatically set.

Resume / Cancel

If Cruise Control state was Ready: changes to Cruising and the target speed gets set to the last valid target speed. Note that this will do nothing if the user has not pressed Set since key on.

If state is Cruising: Pauses Cruise Control by setting state to Ready.

Voltage

The voltage read by the ECU from the switch when the Resume / Cancel is pressed

Calibrate

By holding down the Resume / Cancel button and pressing Calibrate, the calibration voltage will be automatically set.


Resume / Accel / +

If Cruise Control state was Ready: changes to Cruising and the target speed gets set to the last valid target speed.

If Cruise Control st ate was Cruise: a short press increases the target speed by the value of the Speed +/- Increment setting.

Holding the button will cause the car to accelerate until the user releases the button. The target speed becomes the speed that the car was travelling at when the button was released

Voltage

The voltage read by the ECU from the switch when the Resume / Accel / + Button is pressed

Calibrate

By holding down the Resume / Accel / + button and pressing Calibrate, the calibration voltage will be automatically set.

Resume / Coast / -

If Cruise Control state was Ready: changes to Cruising and the target speed gets set to the last valid target speed.

If Cruise Control state was Cruise: a short press decreases the target speed by the value of the Speed +/- Increment setting.

Holding the button will cause the car to coast until the user releases the button. At that point the target speed gets set to whatever the current speed is.

Voltage

The voltage read by the ECU from the switch when the Resume / Coast / - Button is pressed

Calibrate

By holding down the Resume / Coast / - button and pressing Calibrate, the calibration voltage will be automatically set.

Resume / Coast / Cancel

If Cruise Control state was Ready: changes to Cruising and the target speed gets set to the last valid target speed. Note that this will do nothing if the user has not pressed Set since key on.

Holding the button will cause the car to coast until the user releases the button. At that point the target speed gets set to whatever the current speed is.

If state is Cruising: Pauses Cruise Control by setting state to Ready.

Voltage

The voltage read by the ECU from the switch when the Resume / Coast /Cancel is pressed

Calibrate

By holding down the Resume / Coast / Cancel button and pressing Calibrate, the calibration voltage will be automatically set.

Common Button Settings

Voltage Tolerance

The voltage amount added either side of the calibrated voltage for each button. For example, if the voltage received by the ECU falls within this distance from the calibrated voltage for a particular button position, the button is assumed to be pressed.

Long Press Time

The amount of time a button must be in a depressed state for before the secondary long-press functions are enabled.

Associated Tables

Tuning Settings

Under ECU Navigator>Cruise Control>select Tuning Settings

Max Control System Error

This value (speed in km/h) signifies the error limit (+/- this value) that is used to calculate the control system error. Where the control system error is the target speed minus the current speed. This is used to reduce any aggressive acceleration when resuming cruise control from a speed far below the target.

Max Throttle Ramp Rate

This is the maximum rate at which the throttle will open of close while cruise control is active. This is to ensure ensures acceleration from far below the target is comfortable, deceleration from far above the target is comfortable. Lower values will also be easier on the suspension and transmission components.

Proportional Gain

Under ECU Navigator>Cruise Control>select Proportional Gain


Tuning Tips

The Proportional Gain controls the magnitude of response to speed error when cruise control is active. A higher Proportional Gain will result in more throttle and a faster response, however may become unstable. High Proportional Gain when close to target speed can cause subtle hunting (and consequently some motion sickness). A Proportional Gain of 1000 gives 1% throttle per 1 km/h of speed error.

Integral Gain

Under ECU Navigator>Cruise Control>select Integral Gain

Tuning Tips

The Integral Gain controls the response to speed error over time. A greater amount of time spent not at target speed will cause an increasing throttle response. Integral Gain is necessary to properly achieve your target speed, as acts to fully eliminate any error over time. A higher Integral Gain will result in a faster throttle response, though too high will cause overshoot of the target speed. An Integral Gain of 1000 gives 1% throttle per 1 km/h of error sustained over one second.

Derivative Gain

Under ECU Navigator>Cruise Control>select Derivative Gain

Tuning Tips

The Derivative Gain dampens the rate of change of the error, decreasing the throttle response as to not accelerate too rapidly toward the target speed, and therefore reduces the chance of overshooting the target speed. A higher Derivative Gain will take away more throttle, and thus Proportional and Integral Gains can be higher before the controller becomes unstable. However, higher Derivative Gain when close to target can cause subtle hunting (and consequently some motion sickness). A Derivative Gain of 1000 takes away 1% throttle per 1 km/h speed increase sustained over one second.


Associated Channels

Cruise Control State

Indicates whether the cruise control is Disabled; Ready; Cruising; Accelerating; or Coasting

Cruise Control Disable Reason

If something is preventing Cruise Control from being active; this channel will show why.

Cruise Control Input State

Shows which input buttons are currently being pressed.

Cruise Control Target Speed

Shows the target speed if Cruising; Accelerating or Coasting. Shows 0 if Disabled or Ready

Cruise Control Speed Error

Shows the difference between the current speed and target speed if Cruising; Accelerating or Coasting. This is used for the PID control.

Cruise Control Output

How much the Cruise Control is attempting to open the Drive By Wire Throttle

    • Related Articles

    • Torque Converter Control Function

      The Torque Converter Control function allows the electronic control of the torque converter lockup, as well as the ability to "dump" torque converter line pressure in order to control engine power in a drag racing application, as well as assisting ...
    • They see me cruisin’ – How to set up Cruise Control on your Elite ECU

      Events like Drag Week in the USA and Drag Challenge here in Australia are becoming increasingly popular. Because these epic challenges involve taking street registered vehicles and driving them over vast distances for multiple days hopping from one ...
    • LPG Function

      LPG function is used when a vehicle has a LPG system fitted to the engine.Wiring a switch input for LPG select enables the ECU to disable the injectors and fuel pump when the LPG switch is active. Page Contents Wiring Tab Connections Switch Input ...
    • Alternator Control

      The Alternator Control function allows for the Elite ECU to control the charging voltage of alternator that supports this function. This is done with a duty signal that is sent to the voltage regulator to alter the charging rate. A Target Voltage is ...
    • Launch Control

      The Launch Control function allows control of RPM and the power produced by the engine during the launching of the vehicle. This is done by introducing a temporary RPM Limiter, together with fuel and ignition mapping. Page Contents Wiring Tab Options ...