Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   MEGAsquirt (https://www.miataturbo.net/megasquirt-18/)
-   -   Help me pass emissions (https://www.miataturbo.net/megasquirt-18/help-me-pass-emissions-87366/)

Ted75zcar 01-28-2016 06:42 PM

Dude ....

If you in fact have a DC offset as indicated in the plots you posted, you need to figure out why. You are looking for the noise artifact (AC) but ignoring the apparent DC bias across the MS3. The noise is almost certainly due to currents from a switch mode controller in the WB or ECU (as indicated by the change in DC during KOEO).

Ziggo 01-28-2016 07:04 PM

I'm not sure what you are seeing, but the is no measurable bias between chassis ground and analog ground, measured at the lc2 or db37 or the oem harness. The bias is if you measure from any of those locations to the floor pan, or the ground in the engine bay. Its why I am investigating the grounding. I wouldn't be suprised to find that there is crap continuity between pins 3A-3D to their ground point. My POS multimeter isn't good enough to evaluate grounds, but finding the ECU floating 1.1V above the chassis indicates that the grounds are not great.

Ted75zcar 01-28-2016 07:09 PM

The last two plots. One has a DC average of ~ 0.5V (ish), the other ~2V (ish)

Braineack 01-28-2016 07:33 PM

you can calibrate out volt bias.


If i were wiring it, I'd run all the sensor grounds directly back to the MS.

so the TPS, AIT, cam, crank, etc. all the ground wires go back to the MS and ground at the ECU itself.

then I'd run as many wires from the MS to the main ground point on the fuel rail as possible from the ECU harness.

sensors should ground at the same point as the ECU, not the head.

you should refer to this: MS3XV30_Hardware-1.4 page 13

where you are trying to pretty much doing this: MS3XV30_Hardware-1.4 page 14


here, again note the sensor grounds: MS3XV30_Hardware-1.4 page 17

Ziggo 01-28-2016 08:08 PM

What we have here is a failure to communicate. I'll sketch up what I've seen and post it. The key is the ECU and sensors are all grounding at the same place, I just moved that spot from the chassis to the head. So that that whole plane will sit atop the engine like in your "correct" picture, rather than going around the engine back to the battery.

Ziggo 01-28-2016 09:04 PM

1 Attachment(s)
https://www.miataturbo.net/attachmen...ine=1454033059

Better?

Ziggo 01-29-2016 07:12 PM

6 Attachment(s)
So as requested I verified that the source of the oscillation is in the ECU. Its the one dumping the oscillation into the ground. As to how I sorted that out..

I disconnected the LC2 (the entire DB-37) connnector from the ECU then monitored the ground relative to the new wire I ran from the battery. Noise is present on the DB37 Pin 2.

https://www.miataturbo.net/attachmen...ine=1454112777

Next I disconnected pin 3A, and grounded the ECU to the battery through pin 21 on the DB-37. Still showed noise, though it doesn't look the same. I also checked the end of the disconnected Pin 3A relative to the digital ground and found it nice and clean.

Pin 21 ground wire relative to digital ground

https://www.miataturbo.net/attachmen...ine=1454112777

Disconnected pin 3A relative to digital ground

https://www.miataturbo.net/attachmen...ine=1454112777

I was reluctant to test this because now what? I have no idea how to troubleshoot why the ECU is putting this oscillation on the ground, particularly with the key on and engine off. The only PWM that should be running is the IAC, and disconnecting it before didnt resolve the issue, but maybe I need to disconnect and disable it? Even the loop for it was the issue, how would I fix it?

Ziggo 01-29-2016 08:53 PM

3 Attachment(s)
Went looking for what function is generating the issue, so I disabled the IAC, which left behind a very clean 255HZ oscillation running at 45% duty cycle (1.8ms high, 2.2ms low)


https://www.miataturbo.net/attachmen...ine=1454118832

With the IAC enabled, you can clearly see its 511hz pattern adding ~.044v ontop of the above 255hz one.

https://www.miataturbo.net/attachmen...ine=1454118832

Measuring the same thing on the ground wire @ 3A shows a pretty significant voltage drop between the ECU and the ground wire, with the oscillation at pin 21 running at .22, while the ground wire is at .075v the residual being due to resistance in the ground wire.

https://www.miataturbo.net/attachmen...ine=1454118832

In theory I could just let this chassis ground do its thing, thats why you have separate grounds, and just wire the ground for the LC2 into the Harness @ as you were suggesting Brain. The only concern at that point would the LC2 heater crapping up those grounds, but its certainly better than I have now and would only be a concern while the heater is running.

Ziggo 01-29-2016 10:15 PM

1 Attachment(s)
So this is with the LC2 ground hooked into 3C, bypassing the ECU. This ground was previously clean so we can surmise that the oscillation seen here is from the heater. I can read the same thing @ DB37 pin 3. This oscillation is very small however, on the order of .025V (down from .2V), which would be about .07 AFR the way I currently have the ECU scaled, and this is probably worst case since the car is cold. I say its acceptable. I don't like junking up the logic ground, but .025V is nothing really. I monitored with tunerstudio and saw the AFR reading jumping around by .1. I am actually surprised people get logs with it unchanging, considering the sensitivities involved I would expect this to be about par for the course.

https://www.miataturbo.net/attachmen...ine=1454123752

Ziggo 01-30-2016 10:04 PM

4 Attachment(s)
Everything seems to be working ok. Time to go back to the sniffer. Hopefully this doesnt make the NOx pop up high enough to fail, but if it does I will just pull a flat 5* of timing from across the table. It doesn't appear that the TPS or MAP sensors have been negatively impacted. Looking over my log, the next thing to attack will be the acceleration enrichment. Everytime I throttle up the car goes a bit lean, but that is not a topic for this thread.

https://www.miataturbo.net/attachmen...ine=1454209451

Ziggo 01-30-2016 10:17 PM


Originally Posted by Ziggo (Post 1303738)
I disconnected the LC2 (the entire DB-37) connnector from the ECU then monitored the ground relative to the new wire I ran from the battery. Noise is present on the DB37 Pin 2.

https://www.miataturbo.net/attachmen...ine=1454112777

Next I disconnected pin 3A, and grounded the ECU to the battery through pin 21 on the DB-37. Still showed noise, though it doesn't look the same. I also checked the end of the disconnected Pin 3A relative to the digital ground and found it nice and clean.

Pin 21 ground wire relative to digital ground

https://www.miataturbo.net/attachmen...ine=1454112777

Knowing what I know now, that top picture is the IAC valve bouncing the ground @511hz, the second picture is the IAC and the LC2 heater bouncing the ground. I would say that I dont have very good grounding thru 3A, either the connector is getting a crappy connection or there is something in the squirt that is adding a bit of resistance there. Regardless, it would be handy to have the ability to add better chassis grounds to the unit.

Braineack 01-31-2016 04:02 PM

that was my thought, that the grounding through the extra connector was bad.

Ziggo 02-04-2016 06:28 PM

1 Attachment(s)
Thanks fellas. The only other thing I did was pull 5º of timing from the map everywhere except idle (the car hates idling at 10º) to knock down the NOx. I may or may not have put the timing right back after testing.


https://www.miataturbo.net/attachmen...ine=1454628517

stefanst 02-04-2016 06:57 PM

I'm slightly amazed that 25mph/2265rpm would be considered high speed

Ziggo 02-04-2016 07:03 PM


Originally Posted by stefanst (Post 1305015)
I'm slightly amazed that 25mph/2265rpm would be considered high speed

The really load it up though. The test is run at about 60kpa, so it works out for cruising at a higher speed in 5th, but due to my gearing the rpms the test is run at is too low. I think they would rather run at a higher load and lower speed. They don't strap the car on the dyno, just chock it, I wouldn't want them to run it at a high speed


All times are GMT -4. The time now is 02:25 PM.


© 2024 MH Sub I, LLC dba Internet Brands