rusefi_documentation/FAQ-Basic-Wiring-and-Connec...

47 lines
5.9 KiB
Markdown
Raw Normal View History

2020-05-11 21:27:56 -07:00
# Intro
This page is going to have information about how to hook up to rusEFI hardware, in general. It's not intended to be a guide to a specific hardware variant but rather how to figure out what you're going to need to run different kinds of hardware you'd find in an engine bay. ***WARNING: The exact implementation of these pins is hardware specific!!!** You should always consult the documentation on your particular hardware. Information here is presented for "planning" purposes only - to help you figure out which of the hardware variants will suit the sensors and solenoids present on your engine.
## Fuel injectors
2020-05-12 09:26:02 -07:00
As of May 2020, only saturated port injectors are supported. All hardware variants are built around the concept of one ECU pin controlling one fuel injector. As of May 2020, staged injection with multiple injectors per cylinder is possible in hardware but the software is not yet ready.
You do **not** need to wire injectors in a particular way. Cylinder #1 (as numbered by the manufacturer) does not need to be wired to injector #1 on the ECU pinout. Likewise, the 3rd (for example) injector in the firing order does **not** need to be wired to INJ#3 on the ECU. Order of firing / phasing can be adjusted in software. Any injector driver output can be used to drive any injector.
Bottom line: as long as the hardware variant has at least as many injector outputs as your engine has cylinders, you will be able to run one injector per cylinder.
2020-05-11 21:27:56 -07:00
## Coils
2020-05-12 09:34:58 -07:00
As of May 2020, most hardware variants support only logic level drive for coils. This means GM LSx, IGN1A, Denso coil stick, etc. (others may too - these are just examples) that have built in ignitors will work. You should consult the documentation for both the coils and rusEFI hardware you are using to determine whether you can directly wire the coils or an external ignitor/something else is required. Note: coil outputs are among the **least** robust (in terms of tolerating shorts, excessive voltages, etc.) on many hardware variants, including Proteus. Double check your wiring!
2020-05-12 09:26:02 -07:00
Like injectors, all coil outputs are interchangeable. Coil outputs do not need to be used sequentially and order of firing / phasing can be adjusted in software. Waste fire (one coil fires two cylinders) and distributor (one coil mechanically multiplexed among all cylinders) modes are supported in addition to coil-per-cylinder direct fire.
2020-05-12 09:34:58 -07:00
Bottom line: as long as the hardware variant has at least as many coil outputs as your engine has cylinders, you will be able to run one coil per cylinder.
2020-05-11 21:27:56 -07:00
## General purpose outputs
The two main types of output are "low side" and "high side."
Low side outputs are used to control things in the engine bay that have one terminal permanently connected to battery voltage. The ECU supplies the ground side of the circuit to turn things on.
High side outputs are used to control things in the engine bay that have one terminal permanently connected to ground. The ECU supplies battery voltage to the circuit to turn things on.
## Specific Outputs
2020-05-12 09:26:02 -07:00
Most hardware variants are set up to provide control over a main relay or auto-shutdown relay. The rusEFI ECU has a permanent connection to the battery. The primary power for the ECU is supplied by a relay that is energized under the control of the ECU. The permanent battery connection supplied to the ECU is used for memory retention (hardware specific?) and to provide enough energy to turn on the ASD/Main relay to provide power to the rest of the system.
2020-05-11 21:27:56 -07:00
2020-05-12 09:26:02 -07:00
## Specific Function Inputs
2020-05-11 21:27:56 -07:00
Engine position (crank, cam) are specific inputs required. Hall Effect (square wave / magnetic or optical) and Variable Reluctance (VR / inductive) sensors are supported.
2020-05-12 09:26:02 -07:00
Some hardware variants have a provision for knock sensors.
## General Sensor Inputs
2020-05-11 21:27:56 -07:00
The two basic kinds of general-purpose inputs are categorized as "digital" and "analog" inputs. Digital inputs only measure an "on" or "off" condition. Analog inputs measure a signal voltage with some degree of precision.
Digital inputs need to have a pull resistor in order to ensure they do not pick up interference and trigger falsely. Most (double check your hardware!) digital inputs are configured with a pull-up resistor. Switches "turn on" the input by connecting it to a ground signal. When the switch is open, the pull-up resistor ensures that the hardware can see the difference. Most hardware implementations have basic protection circuitry to allow inputs to see battery voltage without damage. (double check your hardware!) Most switches in an engine bay such as power steering pressure, AC pressure, brake pressure switch, many PRNDL switches on automatic transmission shifters, oil "idiot" pressure, diagnostic enable, etc. are wired so that the other end connects to ground. This makes digital inputs ideal for monitoring most on-off type switches.
As of May 2020, analog inputs are broken into two basic categories:
2020-05-12 11:49:53 -07:00
1. "Thermistor" inputs have an internal pull up to 5V (varies according to hardware: 2.7k on proteus) to make connecting to sensors like coolant temp and air temperature easier. When using a thermistor input, one terminal of the sensor is connected to the ECU and the "other" end of your sensor should be connected to sensor ground. Note: many "single wire" thermistors used for coolant temperature have metal threads which make contact with the cylinder head/block, providing the "other" terminal without a wire.
2020-05-11 21:27:56 -07:00
1. "Analog Voltage" inputs have a **weak** pull-down to sensor ground (varies according to hardware: 500k on proteus) and are intended for things like MAP or TPS sensors that drive a voltage. On most hardware implementations(double check your hardware!), these inputs are also protected against excessive voltage. The combination of an internal pull-down resistor and built-in protection means that analog inputs can safely double as "active high" inputs, where battery voltage indicates that a switch is high.