Seemingly random Sync loss
#21
There's basically four possibilities are this point:
1) Your second cam sensor is bad
2) Your crank sensor is bad
3) Your wiring is bad
4) Your ECU is not properly filtering the signals.
The first seems unlikely, although it's conceivable that if the nubs on the cam gear were damaged then you could get intermittent signals from two good sensors. That seems unlikely though. The second is possible, although miata crank sensors seem to be more reliable than cam sensors. I assume you checked the gap and it's correct and the sensor isn't loose or anything, right?
Do you have the MS3 plugged directly into the factory harness, or do you have an extension harness? Theoretically an extension harness should use shielded wire for the cam & crank signals, although in practice many people get away without it. I think the most likely cause is bad filters inside the ECU, that was the cause of the problem when I was seeing it. What happens if you turn software filtering off entirely? Will it even start?
Losing spark can't cause a sync loss unless you lose it for so long that the engine stalls. If you're in gear and rolling this basically doesn't happen because the car's momentum keeps it going fast enough (otherwise you'd lose sync every time you lifted off the gas on the straight).
"sync" means that the computer is seeing the pulses it expects, in the order it expects. It's not dependent on anything the engine does except that it's turning and the timing belt is working correctly.
--Ian
1) Your second cam sensor is bad
2) Your crank sensor is bad
3) Your wiring is bad
4) Your ECU is not properly filtering the signals.
The first seems unlikely, although it's conceivable that if the nubs on the cam gear were damaged then you could get intermittent signals from two good sensors. That seems unlikely though. The second is possible, although miata crank sensors seem to be more reliable than cam sensors. I assume you checked the gap and it's correct and the sensor isn't loose or anything, right?
Do you have the MS3 plugged directly into the factory harness, or do you have an extension harness? Theoretically an extension harness should use shielded wire for the cam & crank signals, although in practice many people get away without it. I think the most likely cause is bad filters inside the ECU, that was the cause of the problem when I was seeing it. What happens if you turn software filtering off entirely? Will it even start?
Losing spark can't cause a sync loss unless you lose it for so long that the engine stalls. If you're in gear and rolling this basically doesn't happen because the car's momentum keeps it going fast enough (otherwise you'd lose sync every time you lifted off the gas on the straight).
"sync" means that the computer is seeing the pulses it expects, in the order it expects. It's not dependent on anything the engine does except that it's turning and the timing belt is working correctly.
--Ian
#22
Thread Starter
Retired Mech Design Engr
iTrader: (3)
Joined: Jan 2013
Posts: 5,012
Total Cats: 859
From: Seneca, SC
There's basically four possibilities are this point:
1) Your second cam sensor is bad
2) Your crank sensor is bad
3) Your wiring is bad
4) Your ECU is not properly filtering the signals.
The first seems unlikely, although it's conceivable that if the nubs on the cam gear were damaged then you could get intermittent signals from two good sensors. That seems unlikely though. The second is possible, although miata crank sensors seem to be more reliable than cam sensors. I assume you checked the gap and it's correct and the sensor isn't loose or anything, right?
Do you have the MS3 plugged directly into the factory harness, or do you have an extension harness? Theoretically an extension harness should use shielded wire for the cam & crank signals, although in practice many people get away without it. I think the most likely cause is bad filters inside the ECU, that was the cause of the problem when I was seeing it. What happens if you turn software filtering off entirely? Will it even start?
Losing spark can't cause a sync loss unless you lose it for so long that the engine stalls. If you're in gear and rolling this basically doesn't happen because the car's momentum keeps it going fast enough (otherwise you'd lose sync every time you lifted off the gas on the straight).
"sync" means that the computer is seeing the pulses it expects, in the order it expects. It's not dependent on anything the engine does except that it's turning and the timing belt is working correctly.
--Ian
1) Your second cam sensor is bad
2) Your crank sensor is bad
3) Your wiring is bad
4) Your ECU is not properly filtering the signals.
The first seems unlikely, although it's conceivable that if the nubs on the cam gear were damaged then you could get intermittent signals from two good sensors. That seems unlikely though. The second is possible, although miata crank sensors seem to be more reliable than cam sensors. I assume you checked the gap and it's correct and the sensor isn't loose or anything, right?
Do you have the MS3 plugged directly into the factory harness, or do you have an extension harness? Theoretically an extension harness should use shielded wire for the cam & crank signals, although in practice many people get away without it. I think the most likely cause is bad filters inside the ECU, that was the cause of the problem when I was seeing it. What happens if you turn software filtering off entirely? Will it even start?
Losing spark can't cause a sync loss unless you lose it for so long that the engine stalls. If you're in gear and rolling this basically doesn't happen because the car's momentum keeps it going fast enough (otherwise you'd lose sync every time you lifted off the gas on the straight).
"sync" means that the computer is seeing the pulses it expects, in the order it expects. It's not dependent on anything the engine does except that it's turning and the timing belt is working correctly.
--Ian
I will try no filtering in the morning.
As I did R&R the mixing manifold, there is some possibility I damaged something on the Crank Sensor or it's wiring.
I checked the ground on both connectors and they are intact. Meaning "0" ohms between the ground pins on the harness to vs the Intake Manifold.
I have ordered a Crank Sensor.
Wiring is bad... that is why, after I get the Crank Sensor, if I still have problems, I will remove all wires from the DB37 except those being actually used: Power to CAN module and O2 Sensor Controller. Pin 2 ground to the Controller, and Pin 3 ground to the CAN; and the CAN module to MS3.
The only other thing I can think of is that the rear O2 sensor lead I just cut and did not put shrink on the ends. This was done 8K miles ago, however.
If we get to the internal hardware filters, would my source of help be you, Reverant, or both?
#23
Wiring is bad... that is why, after I get the Crank Sensor, if I still have problems, I will remove all wires from the DB37 except those being actually used: Power to CAN module and O2 Sensor Controller. Pin 2 ground to the Controller, and Pin 3 ground to the CAN; and the CAN module to MS3.
The only other thing I can think of is that the rear O2 sensor lead I just cut and did not put shrink on the ends. This was done 8K miles ago, however.
If we get to the internal hardware filters, would my source of help be you, Reverant, or both?
The only other thing I can think of is that the rear O2 sensor lead I just cut and did not put shrink on the ends. This was done 8K miles ago, however.
If we get to the internal hardware filters, would my source of help be you, Reverant, or both?
The O2 sensor wires shouldn't impact it unless you're concerned that you might have nicked the cam/crank sensor wires while doing it.
For hardware filters you should talk to Rev. If you're curious about what I did, though, it's here:
https://www.miataturbo.net/build-thr...2/#post1206290
(my MS3 is an early one, yours is probably quite different)
--Ian
#24
Thread Starter
Retired Mech Design Engr
iTrader: (3)
Joined: Jan 2013
Posts: 5,012
Total Cats: 859
From: Seneca, SC
All you say is true about the db37, however, it fits in the category of what I changed.
All factory wires. The only thing close to the sensors that I touched is that I removed the ground that extended to the MAF, as it is gone.
My MS3 basic is a V2.2, same as yours.
All factory wires. The only thing close to the sensors that I touched is that I removed the ground that extended to the MAF, as it is gone.
My MS3 basic is a V2.2, same as yours.
#25
Thread Starter
Retired Mech Design Engr
iTrader: (3)
Joined: Jan 2013
Posts: 5,012
Total Cats: 859
From: Seneca, SC
With filter turned off on Crank and Cam, car would not start.
Here are more screen shots:
Typical Section running. I expected the Crank to be Down-Up like the Cam
Sometimes I see this. Cam has no lines but does have the yellow dots. No sync loss
Crank switching from down-up to up-down
Sync loss, but WHY? triggers look correct
2nd sync loss, same log
@Reverant any thoughts?
Also, would it help if I tied the MS end of the shield to the ground rather than the sensor end? (I have not yet verified that the wires are shielded, I'm taking Ian's word for this). This would not be easy to accomplish, but just checking.
Here are more screen shots:
Typical Section running. I expected the Crank to be Down-Up like the Cam
Sometimes I see this. Cam has no lines but does have the yellow dots. No sync loss
Crank switching from down-up to up-down
Sync loss, but WHY? triggers look correct
2nd sync loss, same log
@Reverant any thoughts?
Also, would it help if I tied the MS end of the shield to the ground rather than the sensor end? (I have not yet verified that the wires are shielded, I'm taking Ian's word for this). This would not be easy to accomplish, but just checking.
#34
Thread Starter
Retired Mech Design Engr
iTrader: (3)
Joined: Jan 2013
Posts: 5,012
Total Cats: 859
From: Seneca, SC
And somewhere Reverant mentioned that he uses opto-couplers for the input. Doesn't sound adjustable, and does sound safe.
Tonight, I will have everything in one place (pics, logs, msq) and will post over on the msextra forum as Reverant suggested.
Ian, I also thank you for your filter board as that could be an option. However, I understand that your issue has returned as of late.
Car is getting better and better tuned, but this random drop-out is truly a pain, and I will not move toward the EBC until it is solved.
Tonight, I will have everything in one place (pics, logs, msq) and will post over on the msextra forum as Reverant suggested.
Ian, I also thank you for your filter board as that could be an option. However, I understand that your issue has returned as of late.
Car is getting better and better tuned, but this random drop-out is truly a pain, and I will not move toward the EBC until it is solved.
#35
There are definitely opto-isolators in mine. Those are good at isolating the electrical noise from being able to damage the input circuitry, but according to a friend of mine (I'm a software guy, my relationship with electronics is still a bit fuzzy) those are actually somewhat less desirable than a simple RC filter from a signal integrity standpoint because they have a tendency to amplify noise. I dunno.
The RC filters solved my random glitch problem. Yes, I've been having some other sync errors recently, but the pattern is very different, they're correlated with each other and with engine response, rather than occuring randomly once-every-15-to-20-minuets. After the investigation I did into it over the weekend I'm pretty confident it's a failed cam sensor.
--Ian
The RC filters solved my random glitch problem. Yes, I've been having some other sync errors recently, but the pattern is very different, they're correlated with each other and with engine response, rather than occuring randomly once-every-15-to-20-minuets. After the investigation I did into it over the weekend I'm pretty confident it's a failed cam sensor.
--Ian
#37
In my MSlabs box, the cam & crank signals come in on the Mazda connector on the big board, go across the big board to the medium-size daughterboard (I think this is the board normally used for an MS2?), up through stack of connectors to that daughterboard, get filtered, then come back down that stack, cross the big board again, and up a different stack of connectors onto the small daughterboard (the one with the MS3 CPU on it). From there they go to the input pins on the HC11 micro controller.
To disconnect them, I pulled one of the connectors out of the middle of that second stack and used a soldering iron to melt the plastic so I could pull out the two pins that carried those two signals, and I soldered wires in their place. Next I went to my ECU extension harness (I mount the MS3 in the glove box, so I have a 4 foot extension harness to plug it into the factory connectors) and I moved the two wires carrying the cam & crank signals from the normal location on the ECU side of the harness to two different pins, pins that the MS3 was not currently using for anything. I then attached one side of my filter circuit to those previously-unused pins and the other side to the wires coming from the connector stack. There are photos in the build thread i linked above (also here: https://www.miataturbo.net/build-thr...2/#post1206290)
Again, I don't know if this is the right solution for your problem or not. Reverant's opto-isolators seem to work for most people who use these ECUs, I don't know why they didn't work on mine. Perhaps there's been a revision to the way the board works since I got mine, or perhaps I just got unlucky and have an opto-isolator on my board that's out of spec. Replacing the filters this way is a non-destructive mod (the only thing it damages is one of the connectors in the stack, they cost less than a dollar each and are trivial to replace, no solder required), so it's something we decided to try one Saturday afternoon. It worked, so I stuck with it. The difference was night and day -- before the mod, if I turned off the software filters in the MS3 then the car would barely even start. With the mod, it started and ran just fine with them disabled.
--Ian
#38
And somewhere Reverant mentioned that he uses opto-couplers for the input. Doesn't sound adjustable, and does sound safe.
Tonight, I will have everything in one place (pics, logs, msq) and will post over on the msextra forum as Reverant suggested.
Ian, I also thank you for your filter board as that could be an option. However, I understand that your issue has returned as of late.
Car is getting better and better tuned, but this random drop-out is truly a pain, and I will not move toward the EBC until it is solved.
Tonight, I will have everything in one place (pics, logs, msq) and will post over on the msextra forum as Reverant suggested.
Ian, I also thank you for your filter board as that could be an option. However, I understand that your issue has returned as of late.
Car is getting better and better tuned, but this random drop-out is truly a pain, and I will not move toward the EBC until it is solved.
#39
Thread Starter
Retired Mech Design Engr
iTrader: (3)
Joined: Jan 2013
Posts: 5,012
Total Cats: 859
From: Seneca, SC
Msextra rejected my post (auto-generated message), so I have an email to the Admin to understand why. It's not my first post there.
When it does post, I'll link it, yes.
Question on MSEXTRA
When it does post, I'll link it, yes.
Question on MSEXTRA
Last edited by DNMakinson; 11-17-2016 at 01:49 PM.
#40
FWIW, this is the thread on this topic that I posted to msextra a few years ago which got no useful replies.
Megasquirt Support Forum (MSEXTRA) ? Sync losses in a 99 Miata using MS3 from MSLabs (View topic)
--Ian
Megasquirt Support Forum (MSEXTRA) ? Sync losses in a 99 Miata using MS3 from MSLabs (View topic)
--Ian