ECUs and Tuning Discuss Engine Management, Tuning, & Programming

Microcontroller - Automotive Timing Resolution Needed

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

0.5* at 7200 RPM is 12 us.
JasonC SBB is offline  
Old 09-30-2011, 06:07 PM
  #3  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
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.
Joe Perez is offline  
Old 09-30-2011, 07:42 PM
  #4  
Junior Member
Thread Starter
 
kingofl337's Avatar
 
Join Date: Oct 2005
Location: New Hampshire
Posts: 248
Total Cats: 0
Default

And Now I Know

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

Thanks Guys
kingofl337 is offline  
Old 09-30-2011, 08:00 PM
  #5  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
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.
Ben is offline  
Old 10-04-2011, 09:19 AM
  #6  
Supporting Vendor
 
Matt Cramer's Avatar
 
Join Date: 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
Matt Cramer is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
elesjuan
Build Threads
9
11-14-2018 12:18 PM
asmasm
Build Threads
82
05-26-2016 04:37 PM
compuw22c
MEGAsquirt
4
09-12-2015 07:42 PM
Voltwings
WTB
5
09-11-2015 08:23 AM
Motorsport-Electronics
ECUs and Tuning
0
09-05-2015 08:02 AM



Quick Reply: Microcontroller - Automotive Timing Resolution Needed



All times are GMT -4. The time now is 10:21 PM.