Time to upgrade the
old narrowband sensor with wideband. This is partly due to continued challenges getting emissions correct for
MOT, partly because its something new to play with, and significantly because I was made aware of a wideband setup with an in-build calibration mode to null out some variables caused by the install.
I'm chasing the holy grail of calibrated emissions using home/garage equipment without a full blown rolling road remap.
Installation
I don't need a dashboard indicator - so went for the simple sealed unit.
The processing box was installed in the engine bay next to the gearbox - which should be reasonably protected from both the road and away from the hottest parts of the engine bay.
The sensor must not be detached from its cable or plug - due to built in calibration - meaning a hole in the car side panel large enough for the whole sensor to pass through. A small marine clamshell covers the hole, riveted in place for simplicity - if I ever need to replace the sensor its easy enough to drill out the rivets.
Wiring
The unit has simple wiring requirements - 12v, Main and Signal Grounds, optional LED output and a couple of Lambda outputs for wideband and simulated narrowband. Sensor ground and wideband feeding into the Emerald on pins 30 and 34 currently. Best advice from Emerald is use pin 10 as the input - however its working fine on 34 so I'm not changing just yet.
I wired in another circuit for it through the main fusebox to avoid having a trailing inline fuse on the loom, while everything was open I unsheathed and re-bound this part of the loom.
The Spartan2 takes its power from the ECU relay via its own 5 Amp fuse so starts up and shuts down when the ECU does.
Calibration
The interesting part of the Spartan2 is the
calibration mode.
As soon as the wide-band module starts up it sends 2x known voltages/AFR readings, 5 seconds each, to the ECU.
This permits correction for linear shifts and angle of the AFR graph, not the shape of the graph, but should factor out differences/voltage drops in installation wiring and even differences in Emerald's voltage measurement.
14Point7 supplies a spreadsheet which converts the calibration AFR outputs to two corrected points which can be input to Megasquirt ECU.
Emerald has a single decimal place on AFR, but shows and allows entry up to 3 places on voltage - so I re-worked the OEM spreadsheet to input voltages and calculate voltages from known AFR values.
Entering the calibration readings in volts, 1.642 and 3.314, in the top green boxes and the desired AFR points the sheet works out the voltages which correspond exactly to those AFR values.
Emerald does not allow selection of every voltage so the error column works out the potential error due to data entry - negligible and well inside the wide-band units accuracy.
.. Just needs copying in to the ECU settings and job's a goodun.
I suspect the wide-band has enough damping built in - so reduced the emerald signal smoothing to 0.
Gotcha - the only issue I found was by the time the ECU had powered up and connected to my laptop the wide-band had already gone through its calibration steps. The resolution was to power everything up with the wide-band fuse out, open the right Emerald Lambda screen then plug in the wide-band fuse, only needs doing once to calibrate.
Minor tweaking to restore the original powermap target AFR, and adjust the closed loop gain to get a stable idle. The idle zone used to have a lower AFR on the 500 revs column - meaning, as the ECU interpolates, its getting mixed messages - I flattened that out to 14.7 to try and give it an easier time of finding a stable tick over.
The only way to prove this is correct is a garage/
MOT testing equipment - but it should be getting close & now have the controls to find the right emissions settings and have the ECU reproduce them using active feedback. I'm planning to try with a friendly garage pre MOT (next June) and if that fails a rolling road.