MEGAsquirt A place to collectively sort out this megasquirt gizmo

Help me pass emissions

Thread Tools
 
Search this Thread
 
Old 01-28-2016, 06:42 PM
  #61  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,771
Total Cats: 353
Default

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).
Ted75zcar is offline  
Old 01-28-2016, 07:04 PM
  #62  
Junior Member
Thread Starter
 
Ziggo's Avatar
 
Join Date: Mar 2010
Location: Melissa, TX
Posts: 172
Total Cats: 20
Default

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.
Ziggo is offline  
Old 01-28-2016, 07:09 PM
  #63  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,771
Total Cats: 353
Default

The last two plots. One has a DC average of ~ 0.5V (ish), the other ~2V (ish)
Ted75zcar is offline  
Old 01-28-2016, 07:33 PM
  #64  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

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
Braineack is offline  
Old 01-28-2016, 08:08 PM
  #65  
Junior Member
Thread Starter
 
Ziggo's Avatar
 
Join Date: Mar 2010
Location: Melissa, TX
Posts: 172
Total Cats: 20
Default

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 is offline  
Old 01-28-2016, 09:04 PM
  #66  
Junior Member
Thread Starter
 
Ziggo's Avatar
 
Join Date: Mar 2010
Location: Melissa, TX
Posts: 172
Total Cats: 20
Default



Better?
Attached Thumbnails Help me pass emissions-80-20160128_200010_579523609bdae1cc3d2eb6a0909c8341644f2684.jpg  
Ziggo is offline  
Old 01-29-2016, 07:12 PM
  #67  
Junior Member
Thread Starter
 
Ziggo's Avatar
 
Join Date: Mar 2010
Location: Melissa, TX
Posts: 172
Total Cats: 20
Default

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.



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



Disconnected pin 3A relative to digital ground



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?
Attached Thumbnails Help me pass emissions-80-pin_2_lc2_disconnected_e3055917b8e987828c29cb8f5ac5bd2a7fc26af5.png   Help me pass emissions-80-pin21_to_ground_pin_3a_disconnected_3fbda05b608772aa713e75b749bebdcf4700a22d.png   Help me pass emissions-80-pin3a_relative_to_dig_gnd_39f6a4a8cf38e82497aae0aec44ac50b5c0feeca.png  
Ziggo is offline  
Old 01-29-2016, 08:53 PM
  #68  
Junior Member
Thread Starter
 
Ziggo's Avatar
 
Join Date: Mar 2010
Location: Melissa, TX
Posts: 172
Total Cats: 20
Default

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)




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



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.



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.
Attached Thumbnails Help me pass emissions-80-no_iac_b69c5d815d6a3274786269827e6e1964cc63dea3.png   Help me pass emissions-80-iac_enabled_be8cd45b4e1e6232fc005da6bf0699a6555e517d.png   Help me pass emissions-80-iac_enabled_3a_d38e535f97db0d72261cbaf6ae84b98ecad8f910.png  
Ziggo is offline  
Old 01-29-2016, 10:15 PM
  #69  
Junior Member
Thread Starter
 
Ziggo's Avatar
 
Join Date: Mar 2010
Location: Melissa, TX
Posts: 172
Total Cats: 20
Default

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.

Attached Thumbnails Help me pass emissions-80-dig_gnd_with_lc2_connected_303f1c13b5f8aeb0d8dafe2f412aefcec9e155ac.jpg  
Ziggo is offline  
Old 01-30-2016, 10:04 PM
  #70  
Junior Member
Thread Starter
 
Ziggo's Avatar
 
Join Date: Mar 2010
Location: Melissa, TX
Posts: 172
Total Cats: 20
Default

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.

Attached Thumbnails Help me pass emissions-80-after_lc_2_fix_f98cf3a30c9f5a18236dd26ad504405bf81f46d4.png  
Attached Files
File Type: msl
2016-01-30_18_modified.msl (437.3 KB, 65 views)
Ziggo is offline  
Old 01-30-2016, 10:17 PM
  #71  
Junior Member
Thread Starter
 
Ziggo's Avatar
 
Join Date: Mar 2010
Location: Melissa, TX
Posts: 172
Total Cats: 20
Default

Originally Posted by Ziggo
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.



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

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.
Ziggo is offline  
Old 01-31-2016, 04:02 PM
  #72  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

that was my thought, that the grounding through the extra connector was bad.
Braineack is offline  
Old 02-04-2016, 06:28 PM
  #73  
Junior Member
Thread Starter
 
Ziggo's Avatar
 
Join Date: Mar 2010
Location: Melissa, TX
Posts: 172
Total Cats: 20
Default

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.


Attached Thumbnails Help me pass emissions-80-20160204_171748_jpg_jpeg_96ffdac355d9906c026ea787ad0ba1fadd79e369.jpg  
Ziggo is offline  
Old 02-04-2016, 06:57 PM
  #74  
Senior Member
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Lambertville, NJ
Posts: 1,215
Total Cats: 74
Default

I'm slightly amazed that 25mph/2265rpm would be considered high speed
stefanst is offline  
Old 02-04-2016, 07:03 PM
  #75  
Junior Member
Thread Starter
 
Ziggo's Avatar
 
Join Date: Mar 2010
Location: Melissa, TX
Posts: 172
Total Cats: 20
Default

Originally Posted by stefanst
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
Ziggo is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
ahaidet
Miata parts for sale/trade
12
04-05-2016 09:42 AM
itsMikey
MEGAsquirt
11
01-15-2016 09:27 AM
djkompressor
MSPNP
7
10-21-2011 05:27 PM
f1luva92
MEGAsquirt
13
02-10-2008 10:09 PM



Quick Reply: Help me pass emissions



All times are GMT -4. The time now is 05:22 AM.