Bosch 60-2 timing wheel resolution

Specifications, applications, part numbers, and prices for various OEM fuel injection components.
Post Reply
johnc32779
MegaSquirt Newbie
Posts: 3
Joined: Wed May 05, 2004 6:17 pm
Location: Longwood, Florida

Post by johnc32779 »

On the subject of timing wheel resolution the following site contains an interesting article explaining the evolution of the Bosch 60-2. Apparently Bosch is employing both the rising and falling VR edges for 3 degee resolution, and then through timers, the computer further divides each segment into quarters for 0.750 degree resolution.

http://frwilk.com/944dme/

The selection text may not be visible. If so click on the 4th selection down from the upper left top.
BMW 1971 E3 Sedan; 1989 E34 M30 Engine, 60-2; 5spd-OD; MSD; LC1 WBO2;.
muythaibxr
MegaSquirt Newbie
Posts: 11
Joined: Thu Oct 14, 2004 11:48 am
Location: Columbia, Maryland

Post by muythaibxr »

ahh, so I guess they're doing fixed timer intervals so they "know" they won't have a timer event running into a spark event...

My code at its worst should have around 10-20 usec accuracy... it's only limited to how long an OC timer has to wait when other interrupts run...

So far in my oscilloscope testing, I've seen no more than 10 usec jitter at 8333 rpms... I haven't tested any higher. This was testing on a really nice digital storage scope. The only time I get inaccurate is when a timer is supposed to go off within about 20 usec of a predicted tooth... I just err on the side of timing being a little more retarded, and allow the event to occur on a tooth.

But yeah, it'd be nice to not have to include the code that keeps 2 interrupts from happening that close together... I was under the impression that the processor could handle situations where the interrupts are occuring close together, but it seems not.

Ken
johnc32779
MegaSquirt Newbie
Posts: 3
Joined: Wed May 05, 2004 6:17 pm
Location: Longwood, Florida

Post by johnc32779 »

It is inconceivable to me that the processor hardware design would allow missed interrupts.

I am sure you have triple check this. Never the less so thing must have gone astray. Could the compiler be the culprit? Perhaps the following Freescale forum can help.


[/url]http://forums.freescale.com/freescale/[url]

This replaces the "freegeeks.net" forum.

[/url]
BMW 1971 E3 Sedan; 1989 E34 M30 Engine, 60-2; 5spd-OD; MSD; LC1 WBO2;.
baldur
MegaSquirt Newbie
Posts: 3
Joined: Sun May 02, 2004 5:39 pm
Location: Dublin, Ireland
Contact:

Post by baldur »

muythaibxr wrote:My code at its worst should have around 10-20 usec accuracy... it's only limited to how long an OC timer has to wait when other interrupts run...

So far in my oscilloscope testing, I've seen no more than 10 usec jitter at 8333 rpms... I haven't tested any higher. This was testing on a really nice digital storage scope. The only time I get inaccurate is when a timer is supposed to go off within about 20 usec of a predicted tooth... I just err on the side of timing being a little more retarded, and allow the event to occur on a tooth.

But yeah, it'd be nice to not have to include the code that keeps 2 interrupts from happening that close together... I was under the impression that the processor could handle situations where the interrupts are occuring close together, but it seems not.

Ken
20uS is a whole degree of timing at 8000rpm, not very precise...

As for interrupts, you really need to use a vectored interrupt controller that allows for interrupts to wait while other interrupts are being served. However you must take care that no interrupt routine takes up so much time that you can get two interrupts on a single source that is waiting meanwhile. Of course you will get jitter in interrupt response time like that but you shouldn't be bit banging time critical I/O anyway.
Baldur Gislason

Successfully running Squirt'N'Spark in Iceland:
1992 Suzuki Vitara offroad truck with a VNT25 turbo
1967 Jeepster offroad truck with 400 SBC
1995 Mitsubishi Eclipse with a T04e turbo
Post Reply