MembersPage/GrmRacer/TriggerSetup (2006-02-09 10:15:07)

This page is to help with setting up the Primary Trigger option

Specifically for the VAG 60-2 wheel, but it will contain general information


MegaTune is an easy way to setup the trigger values, but you need to know what you are changing.

current decimal values

Primary Trigger GRM setup Mcel
Edge Rising Rising
Type Multitooth Multitooth
Filtering Disabled Disabled
Tooth Relation (Usually Disabled) Disabled Disabled
Trigger Settings
TDC after trigger (degrees) 60.0 60.0 VAG wheel on ABA block is 90d off TDC at the center of the missing teeth via calibrated eyeball
Number of teeth on wheel 58 58 actual nubs
Trigger Tooth 3 15 The third nub after the space actually the missing ones are counted, 3= the first after the space VAG ABA wheel appears to have the center of the missing teeth @ 90d off TDC, would this make this value 2
Next Trigger Tooth 15 (V8)/20 4clyn 15 Manual states NextTrigTooth= imaginary teeth * 2 / cylinders (60 *2 / 4 = 30)
Crank minimum period (usec) 1280 1280
Tooth Width
Engine Phase, when reset240240 determines toothwidth unit; (equivalent to 720 crankdegrees = 2 crankrot= 120 teeth)
Angular width of tooth 2 2 120 teeth is 240, so 1 tooth width is 2
Angular width of missing tooth 6 63 times the above (2 missing teeth)
This part needs to be made either transparent to the end user or extremely well explained with a shortcut on howto do it.
Tooth Relation to Normal (usually 181) 181 181
Tooth Relation to Missing (usually 118) 118 118

These are all you settings, but these are not normally how motorheads describe thier motors or triggers.

Typical Descriptions

So using these values how do we get the other ones.


Suggestion

Do the number trunkation etc in the make mtt portion. Most NON - EE/CompEE/CS engineers will not get the howto about converting decimals to an arbitrary (seemingly) number less than 255 ( 8-bit micro unsigned issue)...

So basically a good picture and straightforward equation, IF it is not automagically done for the config. If they don't care, they should copy a working example and not mess with the numbers they don't know.

Min Crank Period (review this statement)

This definately needs to be calculated somewhere else.. I thought it was for "cranking" aka starting the car. but it is directly related to Rev limiter.. you could call this the OVERREV point or something. I'm guessing its an early variable.

Angular width, etc.. This should all be auto-calculated.

since an 8bit number only can goto 255 (8-bit unsigned) so the whole point of this is scaling.

Example 60-2 wheel

  1. 1 its a ratio..
  1. 2 Given the number of teeth in a 720d rotation what is the new number in this ratio
  1. 3 Scaled Tooth angle is y
  2. 4 Scaled missing tooth angle is y * # of missing teeth

Proposed table

Primary Trigger wheel

Typical Meaning   Variable names 1-10 1-12 1-16 1-36 60-2  
Total Teeth Entered internal 10 12 16 36 60  
missing teeth Entered Number of teeth missing 1 1 1 1 2  
Teeth Present Calc Number of teeth on wheel 9 11 15 35 58  
Crank Rotations per complete clycle Entered internal 2 2 2 2 2 (2 for 4cycle 1 for 2 cycle)
Degrees per complete cycle* Calc internal 720 720 720 720 720  
720 / Total Teeth = Angle Per tooth (degrees) Calc   36.0 30.0 22.5 10.0 6.0  
Total Degrees scaled to 8 bit unsigned: 255/total teeth Calc   12.8 10.6 8.0 3.5 2.1  
Truncate for integer math Calc   12 10 7 3 2  
Scaled degrees per cycle Calc EnginePhase when reset 240 240 224 216 240  
Scaled degrees per tooth Calc Angular width of tooth 12 10 7 3 2  
Scaled degree of missing spaces(teeth+1) Calc Angular width of missing tooth 24 20 14 6 6  
         
Number of Clynders         
4clyn Entered 4.00       
Teeth until next clyn event Calc Next trigger tooth 5.00 6.00 8.00 18.00 30.00  
  Calc Scaled deg/ cylinders 60.00 60.00 56.00 54.00 60.00  
  Calc Double check # events 4.00 4.00 4.00 4.00 4.00  
         
  Entered 5.00       
Teeth until next clyn event Calc Next trigger tooth 4.00 4.80 6.40 14.40 24.00  
  Calc Scaled deg/ cylinders 48.00 48.00 44.80 43.20 48.00  
  Calc Double check # events 5.00 5.00 5.00 5.00 5.00  
         
         
  Entered 6.00       
Teeth until next clyn event Calc Next trigger tooth 3.33 4.00 5.33 12.00 20.00  
  Calc Scaled deg/ cylinders 40.00 40.00 37.33 36.00 40.00  
  Calc Double check # events 6.00 6.00 6.00 6.00 6.00  
         
         
  Entered 8.00       
Teeth until next clyn event Calc Next trigger tooth 2.50 3.00 4.00 9.00 15.00  
  Calc Scaled deg/ cylinders 30.00 30.00 28.00 27.00 30.00  
  Calc Double check # events 8.00 8.00 8.00 8.00 8.00