Subpage of Base setup menu


Table Of Contents

Direct PWM ETC Control
BMW S65/S85 CAN ETC Control


VEMS v3 ECU Electronic Throttle (ETC) Overview

VEMS_ETC_overview_ElectronicThrottle_BridgeOutputDriver

Wiring:
The motor of your throttle is always connected through a safety shutoff relay, this output is enabled when all sensor readings makes sense. The electronic throttle has 2 position sensors, one is wired to the ECU's TPS input, one is wired to a spare analog input, and configured as TPS2. The pedal also has 2 sensors, which are both wired to spare analog inputs, and named PPS1 and PPS2. Some pedals are using internal HALL sensors (lowside only feedback), these pedals require a 2k7 pullup to 5v on both PPS1/PPS2 analog channels on v3 side. In the case one of the 2 sensors has a higher resolution, this goes to the TPS and PPS1 for better control resolution.

HW Setup:

Calibration:

Defaults for the PID controller as included on the dialog picture below is a good starting point, watch the throttle and/or the throttle target/throttle position diff gauge and adjust the pid settings accordingly.
There is a separate PPS to target table for ALS.

Idle control can be set up with an external valve and / or the electronic throttle in any combination, to use the ETC for idle control, calibrate the "Idle control max ETC position" accordingly, the value set here is what the ETC target will be with commanded IAC duty = 100%. So use IAC (idle) controller even if you don't have a dedicated IAC valve, this variable will command actuation.

ETC settings

New settings since 1.2.31-1.2.32 firmware:


Throttle target table

IAC tricks in the ETC PPS=>TPS table is a bad idea.

ETC Integral Scaling curve

ETC integral action window curve:

When on target and getting a sudden target step up (or down), the I staying active could actually dim the control reaction. This is where the integral scaling curve can help.
Obviously, in the example, integral contribution (to actuator PWM action) is 0 when seriously off-target, so in that case control depends on P term and reference position: Reasonably reference positions and PID P term needed.


A useful example as a lesson (how to make ETC tuning extremely difficult and frustrating: this actually happened)

They managed to tune (proper injectors were needed for perfect result), but it took several days (and quite a bit of frustration, most likely). Would have been easier by some study and summarizing the situation (+ vemslog) so it's possible for experts to help.

VEMS v3 ECU BMW S65/S85 CAN ETC Control

DISCLAIMER: The S65/S85 engine is a very complicated engine, the wiring and setup of CAN ETC/Idle control should only be attempted by VERY experienced installers, removing the stock management will break (or limit) functionality of the stock car (everything except the engine might no longer work).

Requirements:

Wiring:

BMW S65/S85 ETC/Idle actuator connections to V3 controller
Function V3 Pin ETC actuator side pin ETC ecu side pin ETC wire color Idle actuator side pin Idle ecu side pin Idle wire color Notes
CAN High breakout CAN_H X5392/6 X60005/20 Yellow/Black X6939/2 X60005/21 Yellow/Black ETC #2 connector X5393, Idle #2 connector X6938
CAN Low breakout CAN_L X5392/5 X60005/42 Yellow/Brown X6939/1 X60005/43 Yellow/Brown ETC #2 connector X5393, Idle #2 connector X6938
Safety Output P259/X X5392/1 X60005/17 Blue/Yellow ETC #2 connector X5393/1, ecu side X60005/39 (Blue/Green)
TPS EC36/1 X62521/3 X60005/37 Violet/White ETC #2 TPS2 connect to v3 analog in, connector X62522/3, ecu side X60005/36 (Violet/Black)
5v Supply breakout 5v X62521/6 X60005/14 Red/Violet ETC #2 connector X62522/6, ecu side same as ETC #1
GND EC36/26 X62521/5 X60005/38 Brown/Violet ETC #2 connector X62522/5, ecu side same as ETC #1

The CAN controlled ETC actuators are using a common safety output channel (P259/X) to control their enable lines (X5392/1 and X5393/1), this output is enabled when all sensor readings make sense.

Connect the CAN bus lines of your v3 to the CAN_H and CAN_L of the ETC actuators (see table for pin numbers) and join this CAN bus with the CAN bus of the Idle actuators CAN_H and CAN_L, termination of 240ohm is inside the ecu for s65, s85 has no ecu side termination resistor.

The S65/S85 electronic throttle system has 2 position sensors (one per bank), one is wired to the ECU's TPS input the other one (other bank) is wired to a spare analog input and configured as TPS2. The pedal also has 2 sensors, which are both wired to spare analog inputs, and named PPS1 and PPS2, do not forget to wire up PPS sensor supply and GND. Some pedals are using internal HALL sensors (lowside only feedback), these pedals require a 2k7 pullup to 5v on both PPS1/PPS2 analog channels on v3 side. In the case one of the 2 sensors has a higher resolution, this goes to the TPS and PPS1 for better control resolution.

HW Setup:
Select your safety relay channel, important control will be disabled without this channel filled. Choose channel numbers for PPS1, PPS2 and TPS2

Calibration:

Example default settings:

ETC settings S65