Code to fix offset/delay teeth

This a a forum for beta testers prior to release (currently testing MS-II Sequencer beta units).

Moderators: grippo, grippo2, Bruce Bowling

Forum rules
Read the manual to see if your question is answered there before posting. If you have questions about MS1/Extra or MS2/Extra or other non-B&G code configuration or tuning, please post them at http://www.msextra.com The full forum rules are here: Forum Rules, be sure to read them all regularly.
Peter Florance
Helpful Squirter
Posts: 92
Joined: Fri Apr 02, 2004 7:40 pm
Location: Virginia Beach, VA
Contact:

Re: Code to fix offset/delay teeth

Post by Peter Florance »

grippo wrote:The best position is for the reluctor synch edge to be in the center of two flywheel tooth edges. If the rising/ falling edge was selected to achieve this, then all should be good. But if there is doubt you could try changing the rising to falling on the reluctor.

After more testing and coding I am back to thinking there is something wrong with my setup. I won't be able to get back to this until Sunday earliest, but Peter, if you want to test Rob's msq and his code version on the bench with a simulated 130 tooth wheel that would be helpful. What you would be looking for are loss of synch - the rpm gauge will momentarily flick to 0. But the best way is to bring up the spare gauge labeled spare 1 or 2 or maybe reset. You can tell you have the right gauge because it will come up as 1 and if you are synched and cut off the tach signal it will increment. So you can walk away and come back an hour later and if it is still 1 there were no resynchs, if it counts to 5, there were 5 resynchs. But what I am seeing are continuous resynchs, several per sec, then after I have fooled around or made a code change, they go away and it is rock solid for hours. Then I leave it exactly as is with power off and go to bed. When I wake up and turn everything on it resynchs all over the place.
I think I can get in here early sat and test. Depends if I can remember how to down load the wheel into Jimstim. :RTFM:
Peter Florance - PF Tuning http://www.pftuning.com
81 BMW Euro 528i ESP Car MS3 or MS2Sequencer V1.04 (depending on the day)
60-2 Wheel LS2 Coils, Low Z Inj
racingmini_mtl
Helpful Squirter
Posts: 61
Joined: Sun May 02, 2004 5:51 am
Location: Montreal, Canada

Re: Code to fix offset/delay teeth

Post by racingmini_mtl »

Peter Florance wrote:Depends if I can remember how to down load the wheel into Jimstim. :RTFM:
Let me know if you need a hand with this.

Jean
Peter Florance
Helpful Squirter
Posts: 92
Joined: Fri Apr 02, 2004 7:40 pm
Location: Virginia Beach, VA
Contact:

Re: Code to fix offset/delay teeth

Post by Peter Florance »

racingmini_mtl wrote:
Peter Florance wrote:Depends if I can remember how to down load the wheel into Jimstim. :RTFM:
Let me know if you need a hand with this.

Jean
Thanks Jean
Now I'm thinking the JimStim may not be the way to go as I recall the 2nd trigger signal will either rise or fall in time with the tach out?

BTW, I'm not getting subscription notifications from this forum, so I may be slower getting back to it.
Peter Florance - PF Tuning http://www.pftuning.com
81 BMW Euro 528i ESP Car MS3 or MS2Sequencer V1.04 (depending on the day)
60-2 Wheel LS2 Coils, Low Z Inj
racingmini_mtl
Helpful Squirter
Posts: 61
Joined: Sun May 02, 2004 5:51 am
Location: Montreal, Canada

Re: Code to fix offset/delay teeth

Post by racingmini_mtl »

Peter Florance wrote:Now I'm thinking the JimStim may not be the way to go as I recall the 2nd trigger signal will either rise or fall in time with the tach out?
Not necessarily. That depends how you define the wheel pattern. Both outputs can rise and fall independently.

Jean
Peter Florance
Helpful Squirter
Posts: 92
Joined: Fri Apr 02, 2004 7:40 pm
Location: Virginia Beach, VA
Contact:

Re: Code to fix offset/delay teeth

Post by Peter Florance »

racingmini_mtl wrote:
Peter Florance wrote:Now I'm thinking the JimStim may not be the way to go as I recall the 2nd trigger signal will either rise or fall in time with the tach out?
Not necessarily. That depends how you define the wheel pattern. Both outputs can rise and fall independently.

Jean
That sounds familiar....

I'll check it out.

Thanks!
Peter Florance - PF Tuning http://www.pftuning.com
81 BMW Euro 528i ESP Car MS3 or MS2Sequencer V1.04 (depending on the day)
60-2 Wheel LS2 Coils, Low Z Inj
robh
MegaSquirt Newbie
Posts: 29
Joined: Sat Jun 28, 2008 9:37 pm

Re: Code to fix offset/delay teeth

Post by robh »

Brief update update from my side: I changed back to 0 delay teeth and -305 offset (keeping rising edge) and got resync at 3500 RPM.

More importantly, yesterday morning I switched to falling edge with 0 delay teeth and had no resyncs at all. So I pulled over on my way to work and changed back to 26 delay teeth and -9 offset, keeping falling edge and had no resync. So at any delay teeth/offset and falling edge, I haven't gotten any resyncs in 40 minutes of driving time.

Please let me know if you guys want me to try anything else on my end. All the support is awesome.
Peter Florance
Helpful Squirter
Posts: 92
Joined: Fri Apr 02, 2004 7:40 pm
Location: Virginia Beach, VA
Contact:

Re: Code to fix offset/delay teeth

Post by Peter Florance »

robh wrote:Brief update update from my side: I changed back to 0 delay teeth and -305 offset (keeping rising edge) and got resync at 3500 RPM.

More importantly, yesterday morning I switched to falling edge with 0 delay teeth and had no resyncs at all. So I pulled over on my way to work and changed back to 26 delay teeth and -9 offset, keeping falling edge and had no resync. So at any delay teeth/offset and falling edge, I haven't gotten any resyncs in 40 minutes of driving time.

Please let me know if you guys want me to try anything else on my end. All the support is awesome.
It sounds like you may have found the proper edge. Have you ever scoped it or can you tell me which wire you are using for positive on each sensor? I may be able to work backwards and determine which edge is correct.

IIRC, MicroSquirt VR inputs do not invert like MegaSquirt does.
Peter Florance - PF Tuning http://www.pftuning.com
81 BMW Euro 528i ESP Car MS3 or MS2Sequencer V1.04 (depending on the day)
60-2 Wheel LS2 Coils, Low Z Inj
Peter Florance
Helpful Squirter
Posts: 92
Joined: Fri Apr 02, 2004 7:40 pm
Location: Virginia Beach, VA
Contact:

Re: Code to fix offset/delay teeth

Post by Peter Florance »

I wasn't able to test yesterday but can probably get it done early Monday morning. I have a Bosch reference sensor on my wheel tester; if I know which pin you are using for positive VR, I can tell you which edge is correct.
Peter Florance - PF Tuning http://www.pftuning.com
81 BMW Euro 528i ESP Car MS3 or MS2Sequencer V1.04 (depending on the day)
60-2 Wheel LS2 Coils, Low Z Inj
robh
MegaSquirt Newbie
Posts: 29
Joined: Sat Jun 28, 2008 9:37 pm

Re: Code to fix offset/delay teeth

Post by robh »

It's been a year since I wired up the microsquirt harness but I do believe I remember this. The 944 wiring has twisted pair and shield. I grounded the shield to Chassis ground, connected the 944 (-) wire of the twisted pair to Microsquirt harness vrin(-) and connected 944 (+) wire to vrin1(+) as labeled on the wires.

Checking the microsquirt website, the wire labeled vrin1(+) goes to pin 32.
Peter Florance
Helpful Squirter
Posts: 92
Joined: Fri Apr 02, 2004 7:40 pm
Location: Virginia Beach, VA
Contact:

Re: Code to fix offset/delay teeth

Post by Peter Florance »

robh wrote:It's been a year since I wired up the microsquirt harness but I do believe I remember this. The 944 wiring has twisted pair and shield. I grounded the shield to Chassis ground, connected the 944 (-) wire of the twisted pair to Microsquirt harness vrin(-) and connected 944 (+) wire to vrin1(+) as labeled on the wires.

Checking the microsquirt website, the wire labeled vrin1(+) goes to pin 32.
Do you recall what DME pin #'s those wires go to?
Peter Florance - PF Tuning http://www.pftuning.com
81 BMW Euro 528i ESP Car MS3 or MS2Sequencer V1.04 (depending on the day)
60-2 Wheel LS2 Coils, Low Z Inj
Post Reply