• Hello Guest, welcome to the initial stages of our new platform!
    You can find some additional information about where we are in the process of migrating the board and setting up our new software here

    Thank you for being a part of our community!

Spartan2 Lambda controller wiring to MicroSquirt V3

Msi

Member
Joined
Nov 21, 2018
Location
TLV, IL
My question is at the bottom, but I need to set the scene first, so that you could feel my pain.

Looking at the MicroSquirt V3 grounding and sensor grounding docs -

Pin20
SENSOR GROUND
This is a dedicated sensor ground wire.

Pin22 and Pin23
GROUND
The ground wires from pins 22 and 23 should be run to the same spot on the engine.

In this diagram -

http://www.msextra.com/doc/pdf/html/Microsquirt_Hardware-3.4.pdf/Microsquirt_Hardware-3.4015.png

We can see that the Wideband controller is shown to have 2 grounds. One goes to Pin20 (like other sensors do) and the other goes to "Power Ground".
We also see that the MS unit is grounded via Pin22-23 to a "Good Engine Ground".

Now, looking at the Spartan2 Lambda controller documentation (this one is a PDF, sorry) -

https://cdn.shopify.com/s/files/1/0189/1312/files/Spartan_Lambda_Controller_2_User_Manual.pdf

It also has 2 ground wires.

TL;DR -

Black wire, Electronics Ground, Ground where interfacing device is grounded.

White wire, Heater Ground, Ground to chassis or engine block.

Also, some more detailed explanation is available here -

https://www.14point7.com/blogs/news/16539352-maximizing-accuracy-between-spartan-2-and-megasquirt

TL;DR -

Grounding is very important, Spartan 2's black wire (electronics ground) should be grounded where the MegaSquirt ECU is grounded, Spartan 2's white wire (Wideband Sensor Heater Ground) should be grounded to the chassis far away from where the black wire is grounded. The white wire carries upto 3 Amps and if grounds are not properly chosen, it can cause very large ground offset errors.

Now, there are several contradictions here -

If I follow the Spartan docs, they specifically say one ground on engine, another ground where MS is grounded (which is on the engine as well via Pins 22-23) but they say that these grounds should be far away from each other. WTH?

If I follow the MS docs, I do not understand what is "Power Ground" as opposed to "Good Engine Ground" and is Pin20 far away enough from it. WTH?

I'm in pain...

Could some one please tell me how to wire the Spartan2 Lambda controller to MS? And the rational behind it? Cause I really want to understand.

Thanks in advance!!
 
Power ground is a good engine ground you can't get much closer to the battery negative than the motor.

The power source for the O2 controller should be separate from the MS as well because the O2 controller uses PWM to control the sensor heater and are inherently noisey. Plus the O2 heater should not be on unless the motor is running, so I grab power from the fuel pump relay as that shuts off when the motor does.
 
Power ground is a good engine ground you can't get much closer to the battery negative than the motor.

This is where I'm confused.

In this diagram -
http://www.msextra.com/doc/pdf/html/...are-3.4015.png

There is a clear distinction between:
"Good Engine Ground" - where the MS unit is grounded via Pin22-23.
"Power Ground" - where the fuel pump is grounded and where the Wideband is grounded (that's the heatsink ground, the sensor is grounded at Pin20).

So "Engine Ground" and "Power Ground" must be different. Right?

I think they want the high current devices grounded far away from where the electronics are grounded.

So, if MS is grounded at the Engine via Pin22-23 and sensors are grounded to MS Pin20 (or alternatively at the Engine as well) then "Power Ground" for high current devices should be far away from the Engine?

Or am I completely wrong here?
 
The most important factor is that you do not want to ground the heater circuit for the wideband controller at the Microsquirt controller. This will couple the heater current which can include a lot of high frequency noise (if the heater uses PWM control) into the MS ground plane which can lead to other problems.

Engine ground and power ground are meaningless distinctions. Grounding the Spartan heater circuit at the same point on the engine block as you ground the MS should be perfectly acceptable - as long as it is a well made connection. Once the engine is running the alternator becomes the controlling source for all voltages in the vehicle power system and the alternator's ground becomes the reference ground for the vehicle's power system. Normally, the alternator is solidly grounded through its case to the engine block by its mounting so the alternator ground and engine ground are the same and the preferred point for making your 'power' ground connections for critical engine functions.

Note that the terminals of the battery are generally not a good location for making power or ground connections for critical functions. Once the engine is running, the battery generally does nothing and there is no current flowing into or out of the battery. The exception is if the battery is being recharged after an engine start condition (or your battery is approaching its end of life) in which case current is flowing into the battery and the voltage on the battery terminals is actually slightly less than the running voltage of the car's power system. Make your critical power ground connections to the engine block.

The MSExtra diagram implies that the +12v supply comes off of the battery + terminal. The better choice for connection would be the +12v distribution point closest to the alternator. On my car, the alternator has a short electrical connection to a bus bar through a dedicated alternator fuse. That bus bar splits two ways, one connection to a fuse / relay panel with all the critical engine functions and a second connection to a splitter bus with all the other electrical stuff including the charging connection to the battery. Having all the critical engine functions; ignition coils, MS controller, wideband controller, Hall sensors, idle air valves .... on a common + supply is highly desirable.
 
I just went through a lot of misery trying to figure this out myself, my AFR was bouncing all over the place as I had the black wire connected to the MS sensor ground and the white wire running to a ground near the main MS ground. This is one of the rare occasions where you need to ignore the MS documentation mantra of grounding all of the sensors to the MS sensor ground.

Black wire to where the MS is grounded, white wire to some separate chassis ground point. Do NOT use the MS sensor ground wire.
 
Back
Top