-
Notifications
You must be signed in to change notification settings - Fork 0
Electronic Throttle Body Configuration Guide
WARNING: An electronic throttle, if misconfigured or damaged, has the ability to open the throttle without your foot on the pedal, potentially leading to engine damage or a crash. Proceed with caution!
Electronic throttles always have two redundant throttle position signals (TPS). The exact relationship between them is not restricted, but it is required that there are two signals present.
Similar to TPS, accelerator pedals have two or three redundant position signals. If you have three, leave one unconnected as rusEFI only requires two.
rusEFI supports electronic throttles that use brushed DC motors. This includes nearly all modern throttles, but excludes some very early ETB implementations (BMW, Toyota) that used a stepper motor instead.
Brushed DC motors have two wires. When connected to power one way the throttle opens, and the other way it closes. The convention for wiring for ETBs with rusEFI is that when ETB+ is connected to battery+, and ETB- connected to battery-, the throttle should OPEN. This generally agrees with the OEM wiring diagrams available for your vehicle.
Most throttles have one connector that contains both the position sensors and motor, but some use separate connectors. Electrically they are the same either way.
In TunerStudio, open the "Accelerator pedal" window from the Sensors menu.
- Select the channels wired to your primary and secondary redundant pedal sensors. Using both is a safety concern: this lets rusEFI detect a broken or shorted wire or failed sensor.
- Restart the ECU: disconnect USB, and cycle the ignition off, then back on, and reconnect USB.
- Ensure that both "Raw Pedal Primary" and "Raw Pedal Secondary" voltage gauges move smoothly as the pedal is depressed.
- Record the primary/secondary voltages with your foot off the pedal in their respective "up voltage" fields.
- Repeat with the pedal pressed all the way to the floor.
- Press BURN, and ensure that the "Throttle pedal position" gauge moves smoothly to match the pedal's position.
In TunerStudio, open the "TPS" window from the Sensors menu.
- Remove intake plumbing such that you can see and touch the throttle plate in the throttle body to confirm proper operation.
- Select the channels wired to your primary and secondary redundant throttle position sensors. Using both is a safety concern: this lets rusEFI detect a broken or shorted wire or failed sensor.
- Restart the ECU: disconnect USB, and cycle the ignition off, then back on, and reconnect USB.
- Push the "auto calibrate ETB 1" button. The throttle should first OPEN, then CLOSE. If it does the inverse, your throttle motor is wired backwards, and ETB+ and ETB- wires must be physically swapped.
- Press BURN. Ensure that the TPS gauge reads correctly for the full range of throttle positions.
Repeat this process for the second throttle, if present.
rusEFI ETB PID Autotune - Video
rusEFI includes PID auto-tuning software that can help generate a starting point for your PID settings. It is often good enough that no further tuning is required for good performance.
- Ensure your electronic throttle roughly tracks the target position. Speed or perfection is not required, but it should at least work. Confirm this by checking that the gauge "ETB position error" displays small values while moving the throttle around gently (a few percent is fine, so long as it trends towards zero if you stop moving). If not, revisit the basic configuration steps above.
- Press
Start ETB PID Autotune
button. The throttle will begin oscillating around 50% position: this is normal. - Once the values in the
pFactor
/iFactor
/dFactor
fields have stabilized, auto-tune is complete. PressStop ETB PID Autotune
to return to normal operation. Press BURN to save the learned values.
Note: to see additional detail about the autotuning process, the debug mode ETB Autotune
and gauges Ku, Tu, Kp, Ki, Kd (in debug menu) (todo: add screenshot) may be interesting
Also known as a "feed forward" term, bias curve serves to offset the throttle's return spring. The table stores how much PWM duty cycle is required to hold the throttle at that particular throttle position against the spring. Since the spring pushes towards ~5-20%, the value will be negative when below the neutral point, and positive above it, transitioning steeply as it passes the neutral point of the spring.
We are interested in positions like 0, between-0-and-default, default, a bit open, a bit more open, 50% open, wide open,
The pedal map allows you to configure how the electronic throttle's position responds to driver input on the accelerator pedal. Since engines with electronic throttles often have oversized throttles (because they can), this table is required to make the accelerator less sensitive for small openings, as this hurts drivability.
This table is really one to tune to taste, since it has no bearing on actual engine performance, only on the relationship between driver input and resulting throttle position.
- How to search the Wiki
- Quick Start
- How to ask questions
- Support
- How to create a TunerStudio project
- HOWTOs and FAQs
- rusEFI project overview
- rusEFI Online
- rusEFI virtual simulator
- Fueling
- Multispark
- Cranking
- Electronic Throttle
- Knock Sensing
- Variable Valve Timing
- Lua Scripting
- GDI
- Digital Dash
- rusEFI Hardware Overview
- Wiring & Connectivity Overview
- rusEFI Assembly Completeness Chart
- Kit Instructions
- Hellen Miata 90-95
- Hellen Miata 96-97
- Hellen Miata 99-00
- Hellen Miata 01-05 VVT
- MREAdapter55: from Lada to e30
- Frankenso MazdaMiataNA6 PnP
- Creating a PnP PCB