C4 Tech/Performance L98 Corvette and LT1 Corvette Technical Info, Internal Engine, External Engine

ECM Timing

Thread Tools
 
Search this Thread
 
Old Mar 30, 2012 | 04:19 AM
  #1  
Cliff Harris's Avatar
Cliff Harris
Thread Starter
Race Director
15 Year Member
 
Joined: Apr 2002
Posts: 10,036
Likes: 346
From: Anaheim CA
Default ECM Timing

I thought I'd clarify this, since I read somewhere that the ECM in early C4s updates "thousands of times per second". Uh, not quite.

This information is specific to the 1227165 ECMs used in 1986 - 1989 Corvettes. The other ECMs are similar and I believe they got faster in the later C4s with the LT1 and LT4 engines.

The master interrupt clock in the microcontroller creates an interrupt every 6.25 ms (millisecond = 1/1000 of a second). 6.25 ms is 0.00625 seconds. Every time an interrupt comes along, the Major Loop Counter at address $0000 in RAM is incremented by one. That counter is used as an index into the Major Loop Segment Table, which looks like this:

Code:
*******************************************************
*  Major Loop Segment Table
*******************************************************
LCCE4:  FDB $CD04   ;  0.00 ms, Segment 0,  Do nothing, exit via RTS
        FDB $EDA3   ;  6.25 ms, Segment 1,  Output Bit Signals (TCC, CCP etc)
        FDB $E07F   ; 12.50 ms, Segment 2,  VSS Calculation
        FDB $EA28   ; 18.75 ms, Segment 3,  Misc 100 ms
        FDB $F8F9   ; 25.00 ms, Segment 4,  Log RAM to Heads Up
        FDB $ECEA   ; 31.25 ms, Segment 5,  A/C, Closed Loop & Cooling fan
        FDB $F3B6   ; 37.50 ms, Segment 6,  Log RAM to Heads Up, read coolant temperature
        FDB $EA95   ; 43.75 ms, Segment 7,  Look up Coolant variables
        FDB $CD04   ; 50.00 ms, Segment 8,  Do Nothing, exit via RTS
        FDB $E34E   ; 56.25 ms, Segment 9,  A.I.R. Injection Management
        FDB $EB3A   ; 62.50 ms, Segment A,  Look up Manifold Air Temp Variables
        FDB $DEE5   ; 68.75 ms, Segment B,  EGR
        FDB $E75D   ; 75.00 ms, Segment C,  Charcoal Canister Purge
        FDB $EF04   ; 81.25 ms, Segment D,  Diagnostics
        FDB $DE6D   ; 87.50 ms, Segment E,  TCC (ADC voltage conversion)
        FDB $EC23   ; 93.75 ms, Segment F,  Air/Fuel Major Loop
When the Major Loop Counter is 0, Segment 0 is executed. 6.25 ms later the Major Loop Counter is 1 and Segment 1 is executed. This continues until all 16 segments are executed. To execute all 16 segments takes 16 x 6.25 ms = 100 ms or 1/10 second. Then the ECM does some tricky arithmetic and starts over with Segment 0. The ECM continues doing this until the Major Loop Counter reaches 160. Then the Major Loop Counter is reset to zero and the cycle begins again. So 160 x 6.25 ms = 1.000 seconds. That means that the ECM is updating 160 times a second. Also, not every parameter is updated during every segment, so most of them are updated once per 16 segment cycle, or every 1/10 of a second. In most cases the updates occur 10 times a second, not "thousands of times".

This explanation is greatly simplified and there are a lot of things going on while the Major Segments are being executed. Some happen on every 6.25 ms interrupt, others happen every other interrupt (every 12.5 ms), etc. So 160 times a second is the most often that any one parameter or output is updated.
Reply




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

story-0
5 Reasons to Upgrade to an LS6-Powered Corvette; 5 Reasons to Stay LT2

Slideshow: Should you buy a 2020-2026 Corvette or wait for 2027?

By Michael S. Palmer | 2026-04-22 10:08:58


VIEW MORE
story-1
2027 Corvette vs The World: Every Model vs Closest Competitor

Slideshow: 2027 Corvette lineup vs the world.

By Joe Kucinski | 2026-04-20 17:58:41


VIEW MORE
story-2
10 Most Common Corvette Problems of the Last 20 Years!

Slideshow: 10 major Corvette problems from the last 20 years.

By Joe Kucinski | 2026-04-14 16:37:05


VIEW MORE
story-3
5 MOST and 5 LEAST Popular Corvette Model Years in History!

Slideshow: 5 most and least popular Corvette model years.

By Joe Kucinski | 2026-04-08 13:25:01


VIEW MORE
story-4
2027 Corvette Buyer's Guide: Everything You Need to Know!

Slideshow: 2027 Corvette buyer's guide

By Joe Kucinski | 2026-04-17 16:41:08


VIEW MORE
story-5
10 Things C8 Corvette Owners Hate (But Won't Tell You)

Slideshow: 10 things C8 Corvette owners hate, but won't tell you.

By Joe Kucinski | 2026-04-01 18:36:07


VIEW MORE
story-6
10 Best Corvettes Coming to Barrett-Jackson Palm Beach 2026!

Slideshow: Should you add one of these incredible Corvettes to your garage?

By Brett Foote | 2026-04-01 18:14:05


VIEW MORE
story-7
Every Corvette Grand Sport Explained! (C2, C4, C6, C7, & C8)

Slideshow: Every Corvette Grand Sport explained

By Joe Kucinski | 2026-03-26 07:13:44


VIEW MORE
story-8
Grand Sport & Grand Sport X Launch Alongside All-New 535hp LS6 V8!

Slideshow: Breaking down the 2027 Grand Sport, Grand Sport X, Stingray, and LS6 V8.

By Michael S. Palmer | 2026-03-26 13:48:45


VIEW MORE
story-9
5 Reasons Bad Drivers Crash & 5 Ways to Avoid a Costly Mistake!

Slideshow: 5 reasons bad drivers crash sports cars & 5 ways to avoid a costly shame!

By Joe Kucinski | 2026-03-25 16:32:55


VIEW MORE