Help with building your Speeduino, installing it, getting it to run etc.
User avatar
By PeterJones
#71094
Hi, ongoing project - KLR650 4 stroke liquid cooled single cylinder. NO2C v02.2 board, Mega with 240202 firmware. BMW (Bing) R1200 throttle body with TPS, BMW 330cc/min injector. 18 -1 trigger wheel on magneto rotor operating on standard KLR 2 wire VR pickup connecting to VR1+ and VR1- . Standard KLR spark coil with Nissan Sunny igniter. External fuel pump with 3 bar regulator.
And for a while it worked, pretty well although extremely rich (VE table generated by Tuner Studio with appropriate inputs) as I attempted to tune the idle and go from there.
Now, when trying to start I have no fuel delivered and no corresponding LED on the NO2C. Pump is operating fine There is a good spark at the plug, The trigger log tooks ok to me. The spark table is my own work, based on the standard KLR setting - might not be ideal but should get it running.
I have used the hardware testing tools in Tuner Studio (registered version 3.2.05) with the pump connected and the injector firing into a container. The LED lights, fuel is squirted. I assume this means the NO2C hardware, the pump and the injector are functional. I have cleared and reloaded the Mega firmware, also created a complete new project from scratch - no change.
Could some kind soul take a look at the tune and log files and suggest where I could be going wrong?
Attachments
Tune
(86.28 KiB) Downloaded 162 times
Trigger log
(4.99 KiB) Downloaded 175 times
#71096
data log? how do I get that bearing in mind the engine doesn't run. Is that aka composite log? In a previous post (#70839) I said attempts to take a composite log would cause the engine to stop as soon as the start logging button was selected
By LPG2CV
#71097
you could take a data log while cranking .... however, first take a look at the voltage correction. It's all set to zero.

Best check other tables as well.

fuel corrections work by multiplying the current fuel by a % of the fuel that is already there. multiply a number by zero, and you get zero. If you don't want any fuel added or deducted, then set it to 100%

It may be simplest to just load the base tune again and set up engine constants.

And when using TPS as load, the main tables need to run from zero to 100. It's a percebtage of the throttle being open.
Use the angled arrow thingy button where the axis meet to edit the table bins.
#71099
"when trying to start I have no fuel delivered"

Pulse Width is essentially PW = REQ_FUEL * VE * MAP * E + accel + Injector_open_time
with E = gamma_Enrich = (Warmup/100) * (AirCorr/100) * (BaroCorr/100)

There is no MAP sensor set up in the tune file, therefore MAP= 0 .
Also the AirCorr/100 term in gamma_Enrich will also be zero because the IAT density chart = 0

So with both MAP and E equal to zero, Pulse width will also be zero (PW=0).

You will need to address these before any attempt to start it.
#71104
Thanks for the suggestions. I have looked and I *think* I have made some improvements, but still no fuel.
Jonbill, LPG2CV - a data log is attached. This is 20 seconds of cranking. Spark LED is fine, no fuel LED.
LPG2CV - not sure if I have done anything with voltage correction or not. Where should I be looking?
FiatDuino - under "settings" I have altered the IAT density table and under "startup/Idle" I have made changes to cranking, pulsewidth.warmup and afterstart enrichments. All of these tables were defaulted to temperature of -40, now they are a bit more reasonable. Also gone back to MAP for control algorithm

Again thanks to all.
Attachments
(286.72 KiB) Downloaded 148 times
By LPG2CV
#71105
If you change the tune you need to post it again. :)

I'm not totaly convinced that you have loaded a base tune! But if I recall, you did say you had it running.

In the log, you still have zero pulsewidth, so you still have a fuel setting set to zero somewhere.

Did you use speedyLoader to load one? SpeedyLoader can be downloaded here. https://speeduino.com/home/support/downloads
Last edited by LPG2CV on Thu Mar 06, 2025 6:54 am, edited 1 time in total.
User avatar
By jonbill
#71106
The log shows you have reasonable VE values, but Gammae (product of all fuel corrections) is 0 and so pulse width is zero.
so I think you still have some fuel corrections that are 0% meaning no fuel.
I think somewhere along the line you replaced your OK tune with a blank tune, and you have lots of the tune is not properly initialised. I'd start again with the speeduino base tune from speedyloader and then copy across any settings you've worked on.
#71108
OK, I downloaded (again) the base tune and applied it to the project, then went through and made the necessary changes (board layout, 4 cyl -> 1 cyl, 18-1 trigger wheel, etc). I encountered one problem, wrt to required fuel, given the engine displacement (685cc), injector flow (329.6cc/min from Bosch website) got messge "required fuel out of bounds", I had to drop the displacement to 600cc. The injector IS from a BMW R1200 (two cyl) so maybe I need to go up to the next size injector but it will do for now. Anyway, applied the changes, out to the garage again, hooked up and it has injector pulses and it is making running noises. Bit late at night for some serious tuning but you have got me on the right track so thanks again.
Attachments
(90.74 KiB) Downloaded 155 times

Does anyone know if deadtime and linearity typical[…]

I have used 328P and Mega boards to make remote da[…]

I often have marginal joints, especially when I am[…]

I've seen these filters with a regulator online.[…]

Still can't find what you're looking for?