___ ( _`\ | (_) ) | _ <' | (_) ) (____/'
##### ## ## ## ## ## ## ## ##
#### ## ##### ## ## #####
_ _ | | | | | | | | | | | | | |__| | \____/
IMPORTANT: enter the case-INsensitive alphabetic (no numbers) code AND WRITE SOME SHORT summary of changes (below) if you are saving changes. (not required for previewing changes). Wiki-spamming is not tolerated, will be removed, so it does NOT even show up in history. Spammers go away now. Visit Preferences to set your user name Summary of change: '''Megatune related''' I'm using Megatune2.25b431 with vemsv3.ini r022 Injector DutyCycle is calculated wrong way in my case, I guess I got 3x values of actual duty-cycle Original section from vemsv3.ini: <code> altDiv = { alternate ? 2 : 1 } cycleTime = { 60000.0 / rpm * (2.0-twoStroke)} nSquirts = { nCylinders/divider } dutyCycle = { 100.0*nSquirts/altDiv*pulseWidth/cycleTime } </code> This code can support only one or two injection banks (according to MegaSquirt's capabilities). If someone (like me) using different channels for each injector and using only one squirts per cycle can use the code simplified in r024 to: <code> dutyCycle = { 100.0*pulseWidth/cycleTime } </code> I think this simplification is good for the configs like mine but goes wrong when banks are used ore there are more than one squirts per cycle. My guess for a good config is: <code> altDiv = { alternate ? alternateCyl : 1 } cycleTime = { 60000.0 / rpm * (2.0-twoStroke)} nSquirts = { nCylinders/divider } dutyCycle = { 100.0*nSquirts/altDiv*pulseWidth/cycleTime } </code> Haven't tried it yet, but I think altDiv's ''true'' value has to be equal the number of used injection banks. Example 1 (my case, six cylinders, six inj. channels): * altDiv is 6 (six cylinders, six inj. channels) * nSquirts is 6 (six cylinders, 1 squirts per cycle) * this way result of ''nSquirts/altDiv'' changes from 3 to 1 so I get my correct results. Example 2 (6 cyls with 2 banks): * altDiv is 2 (six cylinders, two inj. channels) * nSquirts is 6 (six cylinders, 1 squirts per cycle) * result of ''nSquirts/altDiv'' is 3 which is correct. Optional: Add document to category: Wiki formatting: * is Bullet list ** Bullet list subentry ... '''Bold''', ---- is horizontal ruler, <code> preformatted text... </code> See wiki editing HELP for tables and other formatting tips and tricks.