MembersPage/KENJIRacingTeam (2018-04-25 19:52:12)

KTM 250 RC

Startup setup:

Plug type: EC36
Pin no. Pin’s name Pin’s connection
1TPS INThrottle position sensor
2IAT INIntake air temperature sensor
3P259 ch.4Low current output (350 mA), relay control, etc.
4P259 ch.0Low current output (350 mA), relay control, etc.
5GNDGround
6Injectpr G ch. 64Gives signal to an injector
7Injector A ch. 1Gives signal to an injector
8Injector E ch. 64Gives signal to an injector
9Injector E ch. 16Gives signal to an injector
10Ignition output 07Gives ignition signal
11Ignition output 04Gives ignition signal
12Ignition output 05Gives ignition signal
13Secondary trigger (CAM)Unused pin
14CLTCoolant temperature
15Fuel relay (P259 ch.5)Fuel pump relay
16P259 ch.1Low current output (350 mA), relay control, etc.
17Injector H ch. 128Gives signal to an injector
18Injector F ch. 32Gives signal to an injector
19Injector B ch.2Gives signal to an injector
20Injector D ch. 8Gives signal to an injector
21GNDGround
22GNDGround
23Flyback (to injector)HIGH-Z flyback diode for the injector (40V)
24Ignition output 06Gives ignition signal
2512V from battery+12V battery source
26GNDGround
27Primary trigger (CKP)Crankshaft sensor
28+5V battery+5V battery source for the sensors
29TPS batteryBattery source for the throttle position sensor
30C259 ch. 7Low current output (350 mA), relay control, etc.
31P259 ch. 6Low current output (350 mA), relay control, etc.
32GNDGround
33Ignition output 01Gives ignition signal
34Ignition output 02Gives ignition signal
35Ignition output 00Gives ignition signal
36Ignition output 02Gives ignition signal
Plug type: EC18
1Analog ch. 0/Knock 1 (depends on specification)Unused pin / knock sensor can be connected to it
2Analaog ch. 5 
3Analaog ch. 2 
4Stepper AIACV
5Stepper CIACV
6Analog ch. 6/MAP IN (depends on specification)Manifold pressure sensor/measures intake pressure
7WBO2 pump negative (-)LSU 4.9 pin 5
8Wheel speed input 
9WBO2 pump positive (+)LSU 4.9 pin 6
10Stepper DIACV
11Stepper BIACV
12Analog ch.7/secondary VR (depends on specification)Unused pin/secondary crankshaft sensor can be installed
13WBO2 nerst signalLSU 4.9 pin 1
14RS232 DSUB pin 3Peripherial port (it is needed for computer connection)
15RS232 DSUB pin 2Peripherial port (it is needed for computer connection)
16Analog ch. 1/1-wire interface (depends on specification)unused pin
17GNDGround
18WBO2 heaterLSU 4.9 pin 4

A picture of trigger settings:

[képet ide]

We will use the VEMS V3 ECU.

The engine’s specifications:

Combustion4 stroke internal combustion
Number of cylinders1
ValvesDouble overhead camshafts, 4 valves per cylinder
CoolingLiquid-cooled, permanent circulation of coolant by water pump
Engine displacement248.8 cm3
Bore x stroke72 x 61.1 mm
Compression ratio12.5/1
LubricationWet sump
Intake valve diameter29 mm
Exhaust valve diameter24 mm

Crankshaft position sensor wiring (VR sensor)

In the engineblock, on the flywheel there are 36-32 teeth. It comes with a VR sensor from the factory. That is what we are going to use.

Wiring it up to the VEMS:

(The shield mus be grounded to the motorblock near the VR sensor.)

[Képet ide]

Inlet air temperature sensor (IAT/MAT):

Wiring:

Coolant temperature sensor (CLT):

Wiring:

TPS:

Wiring:

[képet ide]

[képet ide]

Edge(s) For Sensor

The setting is typically "rising". "Both edges" results in (2x) higher reading but only works with very precise signal with exactly 50% duty (not needed for any known setup; might be dropped in future)

"Sensor signal min length" (speed_min_time, 64 usec resolution)

0: disables filtering. NonZero: pulses closer than this (64-16320 usec) are dropped (considered noise).

Speed Sensor Calibration

Enter the frequency of your sensor at 100 km/h (or 100 mph if mph reading is desired). 0: disable speed input (after reenable+burn: reboot ECU to start sensing).

Speed Sensor divider

Divide the sensor frequency by this value.

Example:

Edge(s) For Sensor = rising

k = number of wheel sensor pulses per rotation

f = frequency of the sensor

d = wheel diameter

v = velocity of the vehicle

(d⋅π⋅f)/k=v

v= 100km/h = 27.77m/s (alternatively for 100 mph: 44.7 m/s)

d= 0.6m

k= 10

f=147.3Hz

then frequency of your sensor at 100 km/h = 147Hz

Second wheelspeed sensor calibration = 1 is special: wheelspeed2 pulses will be used for sectrig position measurement. Useful for subaru 4 trigger system. DO NOT configure 2nd wheelspeed sensor calibration = 1 if not having 4th trigger sensor. Value=0 to disable, or actual calibration (2-255) if using 2nd wheelspeed input as wheelspeed input (frequency measurement).

Gear Detection Settings (based on first speed sensor)

Enter your speed for each gear at 5000 rpm.

If Shiftcut input is chosen for drum position sensor, each gear is defined by voltage for each gear, and shift cut thresholds is based on the difference from these voltages. The table for this is found under Motorsports menu.