Please login or register.

Login with username, password and session length

Author Topic: K3 Setup and mapping  (Read 8487 times)

biggles

  • Capo
  • Maximum attack
  • *****
  • Posts: 2961
  • Petrolhead HNIC
    • Gulf Petrolheads
K3 Setup and mapping
« on: April 14, 2007, 01:57:43 PM »

Please note this board is only for people interested in the Emerald K3 ECU www.emeraldm3d.com/em_k3.html any posts that are not somewhat relevant will be deleted
However any relevant suggestions comments or advice are very welcome, so please feel free to post your thoughts.
This board is not supported in any way by Emerald or is any of the advice or thoughts here the "official line".  However hopefully it will be of some use.  For "proper" technical advice or enquiries about their range of products, please email emeraldm3d@aol.com directly.

Background
I fitted the Emerald M3DK ECU in my Duratec Caterham 7 about 18 months ago, being out in Dubai, meant I was limited in technical help.  The reason I bought the Emerald was that it had the ability to be mapped by an amateur, particularly if you fitted a Wide-band O2 Sensor.  I integrated the Innovate LC-1 wideband sensor www.innovatemotorsports.com directly into the ECU.  This gave me the required Air Fuel Ratio (AFR) readings to adjust the mixture.  At that time before the Emerald had the new self mapping facility, there was some 3rd party software available (from Chris Good) which allowed me to adjust the maps, relatively easily.  As a result I ended up with a very drive-able car, however the mapping process was far from perfect and a little geeky to use.

The Emerald like most ECU's has 2 main components, an ignition map (pic1) and an injection map (pic2).  Each map has Load Sites which are based on throttle position (TPS) and Speed Sites, which are based on engine rpm.  For each of the possible 480 sites you can program both an ignition setting and how much fuel you want the injectors to squirt.

With the much anticipated firmware update the new Emerald K3 ECU has the facility for adaptive mapping, that adjusts as you drive it.  What this means, is that you can fit the K3 ECU to your car and with a supplied base map, get the car started, then adaptively adjust the map to suit the needs of your engine, fuel and environment.  The older M3DK ECU I have is update-able to K3 spec with a firmware update, so that is where I am now.  The new K3 ECU has the ability to store 3 maps on it and to switch them on the move, at any time.  This allows you to have a Dry/Wet/MOT test/Back-up/Safe maps available, depending on your needs.  In my case, all I need is a back-up map that I know will get me home if I mess anything up.  Full details of the ECU's are available at www.emeraldm3d.com
« Last Edit: April 14, 2007, 03:43:21 PM by biggles »

Click on logo to got to website

biggles

  • Capo
  • Maximum attack
  • *****
  • Posts: 2961
  • Petrolhead HNIC
    • Gulf Petrolheads
Innovate LC-1
« Reply #1 on: April 14, 2007, 02:51:20 PM »

OK, so here goes with my idiots guide to mapping with the new K3 software. 
Firstly you need to have a wideband O2 sensor talking to the ECU.  In my case I am using the Innovate LC-1.  Here is a wiring diagram suggested by Emerald to achieve just that, I have mine wired up like Pic1 (although I am not using the yellow wire at the moment).  Make sure you do put in a 100 ohm resistor on the brown (aux 1) input wire, other wise you stand a very real chance of frying the aux circuits on your LC-1 (like I did).

Once the LC-1 is wired up, you need to adjust the settings for the aux outputs on both the emerald K3 and the LC-1, again I have mine exactly as suggested in the Emerald manual.  See Pics 3 & 4

Click on logo to got to website

biggles

  • Capo
  • Maximum attack
  • *****
  • Posts: 2961
  • Petrolhead HNIC
    • Gulf Petrolheads
Closed loop settings
« Reply #2 on: April 14, 2007, 03:01:55 PM »

OK, so once you have all the hardware set-up and talking, you can set up the Emerald to be ready for adaptive or closed-loop mapping
I used the following settings, based on the advice of a Phil & Mike from www.blatchat.com
In Pic1 you have all the settings to initiate adaptive or closed loop mapping, as with all changes you make here, you MUST send them back up (program) to the ECU befoere they will work, seems obvious but it is easy to forget.  The settings are based on this information:
Conditions that enable closed loop mode
1. After start engine delay. How many seconds from start-up the ECU waits before closed-loop is allowed.
2. Sensor warm up delay. How many seconds from key-on the ECU waits before closed-loop is allowed.
3. Coolant temp above. Coolant temperature above which the ECU will allow closed-loop mode.
4. TPS decel sensitivity.  If the throttle is closed any quicker than this closed-loop operation is suspended.  You can view the live accel/decel rate values from the 'Accel fuelling' screen.
5. TPS accel sensitivity.  If the throttle is opened any quicker than this closed-loop mode is suspended.  You can view the live accel/decel rate values from the 'Accel fuelling' screen.  The ECU will also automatically suspend closed-loop operation if the accel fuelling function adds fuel due to throttle movement.
6. Overrun recovery delay. Closed-loop operation is automatically suspended if the 'over run fuel cut off' function is active.  This engine turn count delay determines how long the ECU will wait after normal fuelling has been restored before allowing closed-loop to function again.
Settings that determine closed loop fuelling1. Max positive correction.  The maximum injection correction the closed-loop function is allowed to increase the fuelling by.
2. Max negative correction.  The maximum injection correction the closed-loop function is allowed to reduce the fuelling by.
3. Correction gain.  This determines how much of the calculated fuelling change (according to target & actual AFR readings) is used update the closed loop fuelling trim.  This is the error tracking speed.  Set too high and the fuelling will usually continuously overshoot the target AFR.
4. Update every.  This sets how often the closed-loop function is refreshed by the ECU.  Set this according to the lambda response time.  If the ECU updates the fuelling faster than the lambda sensor reads and/or updates the lambda signal the closed-loop function may become unstable and can result in the fuelling continuously overshooting the AFR_target.
5. Minimum engine turns. This setting ensures that a minimum number of engine turns occur before the closed-loop function is refreshed regardless of the 'Update rate' setting.  This allows the function to operate quickly at higher engine speeds but allows time for the lambda signal to stabilise at low engine speeds.
Conditions that enable update of corrections table (only used for adaptive mode)
1. Speed_int & Load_int.  The level of interpolation between load and speed sites must be within these boundaries before the ECU will record anything in the AFR_correction table.  Looking at the target in the 'Live adjustments' screen the outer edge of the blue circle (maximum interpolation) has a value of 127.  The outer edge of the red circle has a value of 64 and the outer edge of the yellow circle has a value of 32.  The Speed_int and Load_int determine how close the cross must be to the centre of the target before a closed-loop fuelling trim is recorded into the AFR_corrections table.
2. Lock-on timer.  Once the within the Speed_int and Load_int boundary's the ECU will wait for this amount of time before recording a correction.
3. AFR target within.  This determines how close the actual lambda AFR signal is to the target AFR before changes are recorded in the AFR_corrections table.
« Last Edit: April 14, 2007, 03:03:36 PM by biggles »

Click on logo to got to website

biggles

  • Capo
  • Maximum attack
  • *****
  • Posts: 2961
  • Petrolhead HNIC
    • Gulf Petrolheads
AFR Targets
« Reply #3 on: April 14, 2007, 03:06:01 PM »

These are the AFR targets I am using, no idea if they are exactly right (please let me know if you have any suggestions on this one), my settings are based on a collation of other peoples settings, they seem to work well...

Click on logo to got to website

biggles

  • Capo
  • Maximum attack
  • *****
  • Posts: 2961
  • Petrolhead HNIC
    • Gulf Petrolheads
Mode of operation
« Reply #4 on: April 14, 2007, 03:13:20 PM »

So once you have all your settings sorted you need to power up your ECU and decide what mode of operation you are going to work in.
The mode of operation (open / closed / adaptive) is set by the 'feedback mode' table.  Click the 'feedback mode' tab or just repeatedly press F4 until that screen is displayed.  You can set the ECU to run the fuelling in open-loop, closed-loop or adaptive mode for any speed and load site.  Use the +/- keys to change the mode of any given cell (or a block of cells).  The cells are colour coded white for open-loop, dark green for closed-loop and light green for adaptive mode.

The screenshot below shows that for most of the map I have chosen adaptive, with the lower throttle and rev settings being in closed loop
« Last Edit: April 14, 2007, 04:03:49 PM by biggles »

Click on logo to got to website

biggles

  • Capo
  • Maximum attack
  • *****
  • Posts: 2961
  • Petrolhead HNIC
    • Gulf Petrolheads
Mapping
« Reply #5 on: April 14, 2007, 03:37:11 PM »

Once you have uploaded all the settings to the ECU, you can (hopefully) start your engine.  Before any mapping session always make sure you have saved a copy of the map on the ECU (in case you need to return to it in the future).  Once your LC-1 has stabilised, you can go to the Live Adjustments page of the K3 software and tweak your mixture to get a good idle.  You do this by pressing the "2 or 3" on your keyboard to reduce or increase fuel trim, listening to the engine revs, until you find a sweet spot.  If you hit enter after any adjustments, it writes the adjustments to the map on the ECU.  The AFR indication on the live adjustment page will also help you trim the fuel for any load or speed site.

Click on logo to got to website

biggles

  • Capo
  • Maximum attack
  • *****
  • Posts: 2961
  • Petrolhead HNIC
    • Gulf Petrolheads
Mapping
« Reply #6 on: April 14, 2007, 03:54:42 PM »

So I had my first mapping session today with the new software, I chose to do most of the map in adaptive mode.  Once the ECU is programmed with adaptive mode, you do not need a laptop connected, until you want to permanently update the map.  Once I had done about 20km's I read the map on the ECU.  Pic1 shows the suggested adjustments to my injection map, based on the AFR targets I had chosen.
I then selected the corrections (doing a whole block as too lazy to do them individually) and then by right clicking on the block (Pic2) I applied the corrections to the Injection table, shown in blue on Pic3.
As always I saved the map as a new name and checked the ECU matched this.  Once you save the map all the modified blue fields on the injection page turn black.

The car drives noticeably better already after one session, however I have a bit of a hole at low revs when I hit the throttle hard.  The adaptive side seems to work well, just not quite sure how the closed loop works yet though  :dunno:

Please add your comments or suggestions, any help would be much appreciated
« Last Edit: April 14, 2007, 03:56:58 PM by biggles »

Click on logo to got to website

Phil Waters

  • Guest
Re: K3 Setup and mapping
« Reply #7 on: April 14, 2007, 04:38:01 PM »

Hi,

Those results look very similar to the ones I have seen so far - you get loads of sites around the low end of the map and one or two dotted about higher up - where you obviously don't/can't spend so long. I am thinking that after a few updates to the map you can keep a note of the higher load sites adjusted and use those as the basis, interpolating back to known good sites.

My only comment is that I would run open loop at the idle area - get the engine warm and then manually adjust the fueling until it idles happily - mine is at about 13.5 AFR - and then leave it open. MY thinking for this is simple - if things start to go wrong you'll be left with a car which might not even start as the cranking fueling is taken from the map also I believe.

biggles

  • Capo
  • Maximum attack
  • *****
  • Posts: 2961
  • Petrolhead HNIC
    • Gulf Petrolheads
Re: K3 Setup and mapping
« Reply #8 on: April 14, 2007, 05:28:49 PM »

Thanks Phil,
Just had a look at the graph of my fuel map and it is all over the place, guess I have a lot more work to do.  Wish there was another Duratec out there I could compare with.

Click on logo to got to website

Elise_s1

  • Guest
Re: K3 Setup and mapping
« Reply #9 on: April 14, 2007, 08:55:32 PM »

is the new K3 firmware capable of doing the same adaptive mapping used for fueling also with regards to ignition timing using a knock sensor ?

biggles

  • Capo
  • Maximum attack
  • *****
  • Posts: 2961
  • Petrolhead HNIC
    • Gulf Petrolheads
Re: K3 Setup and mapping
« Reply #10 on: April 14, 2007, 09:51:41 PM »

Quote
is the new K3 firmware capable of doing the same adaptive mapping used for fueling also with regards to ignition timing using a knock sensor ?
  Not as far as I know, I think the injection side is more variable than the timing, which is similar for most engines of similar brand and state of tune

Click on logo to got to website

elise_s1

  • Guest
Re: K3 Setup and mapping
« Reply #11 on: April 15, 2007, 01:06:04 AM »

Quote
is the new K3 firmware capable of doing the same adaptive mapping used for fueling also with regards to ignition timing using a knock sensor ?
  Not as far as I know, I think the injection side is more variable than the timing, which is similar for most engines of similar brand and state of tune
using a different octane fuel will have a much bigger effect on ideal ignition timing than on the injection map...

biggles

  • Capo
  • Maximum attack
  • *****
  • Posts: 2961
  • Petrolhead HNIC
    • Gulf Petrolheads
Re: K3 Setup and mapping
« Reply #12 on: April 15, 2007, 03:22:43 PM »

Good point Elise, I was thinking only from a 98 octane perspective.

Did another mapping run today, decided on the advice of Phil to change my speed sites from 500 rpm to 250 rpm.  Took a little fiddling (software did not interpolate the AFR targets), but got there.  Mapping session went well, below are the results.  I have included my map, in case anyone wants to look at it, however, I take no responsibility for its efficacy.
One more little tweak Karl needs to make to the software, it only seems to show 16 fields in the graph, although I am using 32 for the injection map.  Otherwise the software seems to be doing really well.

Click on logo to got to website

Denny

  • Guest
Re: K3 Setup and mapping
« Reply #13 on: April 19, 2007, 11:46:04 AM »

Sorry for my English! :fing34: :coffee:

Wery good side!

I suggest you set your injection map from 4000 until 8000 a little bit ritch (more fuel)!

the best setting is when you are in lamda o.9!

Ther rest of the map you can run with lamda 1 (it is a rapport of 1 to 14.7) 1 kg fuel for 14.7 kg air!

With your Emerald k3 and a wide band lamda sensor you can have the best performance from your engine!
to have a good idle set your map until the engine is warm (55-60?C) a little bit direction 0.95 lamda and after if i turn with
lamda 1 you will have the best idle (with 285? cams is better you turn a idle from 1300 until 1500 u/min)

Wish you good setting

From Switzerland

Denny

Denny

  • Guest
Re: K3 Setup and mapping
« Reply #14 on: April 19, 2007, 11:53:02 AM »

have a look!
 

Gulf Petrolheads Supporters