Speeduino Configuration with "Tuner Studio":-



Date Discussion
April 2023 The flexibility of the Speeduino ECU software is achieved by making all the program settings external. They are contained in a special file with the extension ".msq". When all the parameters have been set, and there's close to 2,500 of them, the file is written out to the Arduino to create a working ECU.

The ".msq" file is a plain text (XML) file and could be created and managed with a basic text editor. It could then be written out to the Arduino using one of a number of readily available programming tools. However, there is an easier way. A program, "Tuner Studio", allows all parameters to be set very easily, via dialogue boxes, and will generate the various 3D data tables automatically, based on the parameters you provide. It can also write directly to an Arduino connected to the USB port. Tuner Studio, in its basic form, is free. However, it can be upgraded to a "pro" version for under $100 and the extra functionality is well worth the money.

Tuner Studio not only allows the basic parameters for the fuel injection system, (and ignition, although that's not being used here), to be set-up initially, but to be then connected directly to the engine, whilst running, to allow fine tuning. A most comprehensive display of all engine parameters is provided, together with logging facilities to assess performance over time.

This chapter is dedicated to setting up the Speeduino ECU using Tuner Studio. The headings below correspond with, and are in the same order as, the menu selections available within Tuner Studio. All the settings that have been used thus far are listed here as much as just to have a written record of what has been done, rather than any form of explanatory document. The settings almost certainly will change with further testing and as understanding dawns - hopefully!


SETTINGS MENU

Engine Constants:

Set "Required Fuel":

Engine Displacement 149.3cu. in.
Number of cylinders 6
Injector flow 84 lb/hr. (42lb/hr * 2 for dual injectors)
Air Fuel Ratio 14.7 (For normal petrol)
Basic pulse width 3.1mSec
Control Algorithm MAP
Squirts per Engine Cycle 6
Injector Staging Simultaneous
Engine Stroke "4 Stroke"
Number of Cylinders 6
Injector Port Type "Throttle Body" (Ignored)
Number of injectors 2
Engine Type Even Fire
Board Layout Speeduino v0.3
Stoichiometric Ratio 14.7
Injector Layout Paired
MAP Sample Method Cycle Average
MAP Sample Switch Point 0
INJECTOR CHARACTERISTICS
Injector Limit 90%
Injector Open Time (ms) 1.0
Battery Voltage Correction Mode "Open Time Only"
TRIGGER SETTINGS
Trigger Pattern "Missing Tooth"
Primary Base Teeth 36
Primary Trigger Speed "Crank Speed"
Missing Teeth 1
Trigger Angle Multiplier 0
Trigger Angle (Deg) 20
Skip Revolution (cycles) 1
Trigger Edge "Rising"
Missing Tooth Secondary Type "Single Tooth Cam"
Level for 1st Phase "Low"
Trigger Filter "Medium"
Re-Sync Every Cycle "No"
INPUT AIR TEMP (IAT) DENSITY Default
BARROMETRIC CORRECTION Default
TUNING MENU:
Acceleration Enrichment:
Enrichment Mode MAP
MAPdot Threshold (kPa/s) 70
Accel Time 200
Taper Start RPM 1000
Taper End RPM 5000
Cold Adjustment (%) 100
Cold Adjustment taper start Temp 0
Cold Adjustment taper end Temp 60
Deceleration Fuel Cutoff (DFCO) "OFF"
AFR/O2
Sensor Type "Narrow Band"
Algorithm "Simple"
Ignition Events per Step 16
Controller Auth+/- 15
Only current above (AFR) 9.0
And correct below (AFR) 19
Active above Coolant (C) 50
Active above RPM 1000
Active below TPS (%) 70
EGO delay after start (sec) 15
ENGINE PROTECTION All Off
FLEX FUEL All Off
VE (Volumetric Efficiency) TABLE Use "Table Generator" under TOOLS menu with the following:
Engine Type "Naturally Aspirated"
Idle 700RPM - 35MAP
Engine Redline 5000
Peak Power 100hp@4400rpm 100MAP
Peak Torque 145Lbs-ft @ 2000 100MAP
Engine Displacement 149.3 cu.in / 2447 cc
("Generate" & "Apply")
Multiply VE Value by MAP ratio "Baro"
Multiply by value of Stoich "No"
SPARK TABLE Not Used
AFR (Air Fuel Ratio) TABLE "Generate" & "Apply" as for VE table
SPARK MENU: Not Used
STARTUP/IDLE MENU:
Cranking Settings:
Cranking RPM (Max)(RPM) 400
Flood Clear Level (%) 80.0
Fuel Prime Duration (Sec) 3
Injector Priming Delay(Sec) 1
Cranking Enrichment Taper Time 0.5 Sec
Cranking Advance Angle(Deg) 5
Cranking Bypass "Off"
PRIMING PULSEWIDTH: Not Used (Yet)
WARMUP ENRICHMENT 48 - 110
59 - 100 etc
AFTER START ENRICHMENT: "Not Used" (Yet)
IDLE CONTROL "Not Used"
IDLE ADVANCE SETTINGS "Not Used"
ACCESSORIES MENU:
Fuel Pump:
Fuel Pump Pin "Board Default"
Fuel Pump Prime Duration 3 sec
Tacho Output:
Tacho Output Pin "Board Default"
Tacho Pulse Mode "Match Dwell"



This chapter will inevitably be extended and/or amended with experience -  bitter or otherwise.