Notices
ECUs and Tuning Discuss Engine Management, Tuning, & Programming

Microcontroller - Automotive Timing Resolution Needed

Thread Tools
 
Search this Thread
 
Old Sep 30, 2011 | 05:31 PM
  #1  
kingofl337's Avatar
Thread Starter
Junior Member
 
Joined: Oct 2005
Posts: 248
Total Cats: 0
From: New Hampshire
Default 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.
Old Sep 30, 2011 | 06:04 PM
  #2  
JasonC SBB's Avatar
Elite Member
 
Joined: Jul 2005
Posts: 6,420
Total Cats: 84
Default

0.5* at 7200 RPM is 12 us.
Old Sep 30, 2011 | 06:07 PM
  #3  
Joe Perez's Avatar
Boost Pope
iTrader: (8)
 
Joined: Sep 2005
Posts: 34,381
Total Cats: 7,504
From: Chicago. (The less-murder part.)
Default

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.
Old Sep 30, 2011 | 07:42 PM
  #4  
kingofl337's Avatar
Thread Starter
Junior Member
 
Joined: Oct 2005
Posts: 248
Total Cats: 0
From: New Hampshire
Default

And Now I Know

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

Thanks Guys
Old Sep 30, 2011 | 08:00 PM
  #5  
Ben's Avatar
Ben
Supporting Vendor
iTrader: (33)
 
Joined: Jul 2006
Posts: 12,659
Total Cats: 134
From: atlanta-ish
Default

Originally Posted by kingofl337
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.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Old Oct 4, 2011 | 09:19 AM
  #6  
Matt Cramer's Avatar
Supporting Vendor
 
Joined: Sep 2006
Posts: 2,332
Total Cats: 67
Default

If it's ALWAYS 0.02 ms too late, you might be able to build some compensation factor into the software.
__________________
Matt Cramer
www.diyautotune.com
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
asmasm
Build Threads
82
May 26, 2016 04:37 PM
elesjuan
Build Threads
7
Nov 3, 2015 01:51 PM
compuw22c
MEGAsquirt
4
Sep 12, 2015 07:42 PM
Voltwings
WTB
5
Sep 11, 2015 08:23 AM
Motorsport-Electronics
ECUs and Tuning
0
Sep 5, 2015 08:02 AM




All times are GMT -4. The time now is 08:37 AM.