Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   ECUs and Tuning (https://www.miataturbo.net/ecus-tuning-54/)
-   -   Microcontroller - Automotive Timing Resolution Needed (https://www.miataturbo.net/ecus-tuning-54/microcontroller-automotive-timing-resolution-needed-60778/)

kingofl337 Sep 30, 2011 05:31 PM

Microcontroller - Automotive Timing Resolution Needed
 
How much precision in mS or uS does a micro-controller need to properly control timing +/- .5deg. I'm trying to use a micro to delay the charge time on my Toyota COP's. But, according to my scope I'm firing the coils (going low) late by about .02mS.

JasonC SBB Sep 30, 2011 06:04 PM

0.5* at 7200 RPM is 12 us.

Joe Perez Sep 30, 2011 06:07 PM

Simple math, really.

7,000 RPM is 117 revolutions per second, or put another way, 42,000° of crank rotation per second.

So one degree of crank rotation is 1/42000 of a second, or about 0.024 milliseconds.

Thus, your 0.02ms error is slightly less than one degree. That's pretty trivial.


edit: Jason beats me to it. :D

kingofl337 Sep 30, 2011 07:42 PM

And Now I Know

So, being off .5deg at 7200rpm is probably ok?

Thanks Guys

Ben Sep 30, 2011 08:00 PM


Originally Posted by kingofl337 (Post 778180)
And Now I Know

So, being off .5deg at 7200rpm is probably ok?

Thanks Guys

If it's late, probably fine because you can tune around that. If there's added jitter, then do not want.

Matt Cramer Oct 4, 2011 09:19 AM

If it's ALWAYS 0.02 ms too late, you might be able to build some compensation factor into the software.


All times are GMT -4. The time now is 10:33 AM.


© 2026 MH Sub I, LLC dba Internet Brands