___ ( _`\ | (_(_) `\__ \ ( )_) | `\____)
#### ## ## ###### ## ####
## ## ## ## ## ## ## ## ######
#### ## ## ## ## ## ## ####
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: || [http://www.vems.hu/wiki/index.php?page=MembersPage%2FMattiasSandgren%2FMrideCarForTwo Start] || [[http://www.vems.hu/wiki/index.php?page=MembersPage%2FMattiasSandgren%2FMrideCarForTwo/Trigger Trigger] || [[http://www.vems.hu/wiki/index.php?page=MembersPage%2FMattiasSandgren%2FMrideCarForTwo/FuelInjection FuelInjection] || [[http://www.vems.hu/wiki/index.php?page=MembersPage%2FMattiasSandgren%2FMrideCarForTwo/Display Display] || [[http://www.vems.hu/wiki/index.php?page=MembersPage%2FMattiasSandgren%2FMrideCarForTwo/Wiring Wiring]] || '''Trigger ''' Note: * The trigger is just for RPM ** Is only used for fuel control ** there is no ignition control with this application as the stock Suzuki ECU takes care of that The plan was to use a wire connected to the negative pole of one of the ignition coil primaries. ---- ''' Using the rpm gauge output from the stock ECU ''' Will be tried next, it seems the best way to not disrupt the stock ECU while being a relatively simple signal. What approach do you suggest? * Config primary trigger as Hall, R30 pull-up mounted. * Simply wire the rpm output directly to the trigger input. Problem might that the stock rev limiter does not like sharing the signal, at least it did not work with the MegaSquirt which was previously tested. ---- ''' Using the stock crank trigger''' Currently tested is the crank trigger, it is a VR sensor: * 170 Ohm, 0.5 AC Volt at idle (=> likely 700mV amplitude? this depends on the measurement, most DVM don't have true-RMS measurement, just sense peak and multiply with 0.7 and display that) ** probably you will measure around 38mV DC (with weak R30=22k trigger pullup). Good idea to measure. Because of the low amplitude, the setup will be picky to good grounding (at least during cranking) ** both values are a bit low, but should be enough amplitude even at RPM=idle/10 (that is appr 70mV peak) senses 8 teeth on the crank. The signal is captured using a 10 uF capacitor and is connected to the VR LM1815 circuit for conditioning. Note * '''This option did not work with simply a 10 uF capacitor''' * The stock ECU cuts ignition, it does not like the situation when load is put on the injectors, either in the stock ECU or the Genboard. Problem is that the signal is weak at 1500 rpm (idle), sometimes misses a tooth. It is ok at 2000+ rpm. I would like a stronger signal, but due to the nature of VR sensors the signal is stronger at higher speeds (higher voltage swing) so it's not absolutely necessary - but it would be nice to avoid all sigal problems even if it is just at low rpm where the purpose of the additional fuel is nil. Any recommdation for getting a more powerful signal at low rpm? * Am I using too small cap (10uF/25V) ? ** yes, use a bigger, like 220..470uF '''in parallel''' with the 10uF I will report back with DC and AC current measurements across pin 26 (ground) and 27 (primary trigger) to see the level and signal better. I wish I had an oscilloscope, I will have one very soon. ---- '''Using the ignition coil primary ? ''' The voltage at igncoil primary is a bit high (also, dangerous to your health and your equipment): * +14V normally (battery +) * drops to appr +2V, for appr 3 msec (dwell) before spark * rises to appr +200V for a moment at spark ** actually, possibly upto +400V if the sparkplug high-voltage wire is removed from the sparkplug and left open (which is not a good idea) * drops to +14V again As you see, it has 2 falling edges, a small 14=>2V and a big edge +200V =>14V '''Concerns''' * a voltage divider is a must, like a 270k to 10k (appr 1/28 division) * rising edge is preferred * the voltage does not go below 0V (needed for VR setup), but even under 1V is not guaranteed (needed for HALL setup) '''Suggestion''' * divided signal: this is a low-voltage signal made from the high voltage signal: ** 270k throughole from the high voltage (~200V coil primary, not the secondary that would be fucking high voltage!) signal. Prefer throughole because of high voltage ** 4k7 to ground * between divided_signal and controller_input we use a '''high-pass filter capacitor''' (that allows the signal through with a DC difference): 100..470uF (or higher) electrolytic cap (min 25V, the negative pin goes to controller_input) '''in parallel''' with a 10uF quick-capacitor: like the "big" 1206 (formerly 1210) cap in rescue-kit ** both capacitors are needed for good low-RPM and high-RPM signal pass-through * '''a bias pulldown resistor might be needed on the controller input''' towards GND or -8V (-8V available on yellow wire inside LCD flying-loom DSUB9 connector housing, not connected to any DSUB9 pin) so the signal goes low enough. This is a bit different with HALL and VR ** during debugging, it is very important to document the measured DC on the controller input (with the pulldown resistor you actually used) '''HALL''' With HALL setup, it's perfect if the signal goes below 1V, than above 3V. Should be rather easy. The 1/58.5 voltage divider from 270k and 4k7 is good, keep appr those values in case of HALL * Try to achieve appr 100..500mV signal bias (this is well under 1V): start with a 1k pulldown to GND first ** at the high-pulse, the 200V / 58.5 should be enough to drive the signal above 3V easily '''VR''' With the controller primary_trigger=VR, the '''signal must go below 0V to trigger'''. Also, the falling edge is detected (not possible to detect the rising edge). Because there are 2 falling edges, this might cause some problem with unsuitable bias hardware. With good setup, the 14V=>200V will arm the adaptive-threshold circuit and only the 200V=>14V edge will be sensed. With VR I would try the following setup as a starting experiment: * voltage divider: 100k and 10k (1/11 division, not 1/58.5) ** even 47k and 4k7 are possible (that is also 1/11 division but somewhat stronger signal to the controller) * high-pass filter cap: '''10uF + 220uF''' ** the +220uF is also important, otherwise the signal might be dampened at low RPM * controller input: ** 1k pulldown to GND ** measured DC appr: +0..300mV '''Capacitive coupling from sparkplug wire => VR input''' With VR input (at least on suzuki swift of MembersPage/Gabor ), we've seen success with a few (3..5) turns around a High-Voltage spark wire (that is transformer secondary). No galvanic contact, of course. The "capacitive coupling" was enough to trigger the circuit reliably. Note that the signal is small (maybe just 50..100mV): it worked '''without primary trigger pullup resistor'''. Currently the R30= 18..22k internal pullup (now standard) of the VR input is in the way for this application (it's ment to make the input non-sensitive to noise, but in this application we want to sense "noise"). A strong 470 Ohm pulldown to GND or a weak (appr 39k, but this would need to be adjusted for near 0mV +- 40mV DC) towards -8V could work, but the internal pullup might need to be removed or the sensing wire might need to follow the sparkplug wire along a longer, 20..40cm section to get a stronger coupling. Experimentation might be needed (scope is almost essential) Also, keep the sensing wire away from all other sparkplug wires (so only the chosen spark is detected without interference from other spark-wires). 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.