MEGAsquirt A place to collectively sort out this megasquirt gizmo

DIYPNP install: inital tuning

Thread Tools
 
Search this Thread
 
Old 09-13-2011, 07:48 AM
  #361  
Junior Member
Thread Starter
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

Looking at the magnified logs, I noticed that RPMdot has a lag to it. The graph below shows that even if RPM was going up, the RPMdot still read negative! It took 5 ticks from the bottom of the droop until RPMdot became positive.



I changed the RPM lag factor from the default 50 to 87 (which is what I saw Ken using at MSextra). Now it seems to have helped. It only took 3 ticks till RPMdot became positive.



I may need to check my lockout settings, as I have sacrificed some smoothing for faster response. But even before I checked the logs, it felt better. Maybe placebo effect. :P

I also disabled the close valve when revving-- it solved the droop! I edited the ini to allow a 1 second PID delay (previous minimum was 2). Full load, no droop coming down from revs. Now small blips can lead to a weird idle bump which doesn't come down, I need to fine tune the lockout settings.



I also tried switching from 3.1.1 mariob v17 to the official 3.1.2beta- I still couldn't start the car! Just smelled of fuel. I even loaded an old msq from 3.0.3u, no go. Wonder why...

Next target: Find out what the F is causing that weird idle duty shape :P
Attached Thumbnails DIYPNP install: inital tuning-913rpmdelay87.png   DIYPNP install: inital tuning-913rev.png   DIYPNP install: inital tuning-913rpmdelay50.png  
Attached Files
File Type: msl
2011-09-13_16.15.50rev.msl (398.2 KB, 88 views)
Greg G is offline  
Old 09-14-2011, 08:13 AM
  #362  
Junior Member
Thread Starter
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

OK, I'm done with the idle AC droop! Including droops on deceleration from revving.

The final piece: raised minimum duty to 36, and maximum to 85.
P90 I80 D5500 min RPM 900 max RPM 1500.



With this setting, the code struggles to bring the RPM down to the 975 target at no load, but settles in right on the money when AC is on. I could probably reduce the dip lower than the 40- 60 it is now (by decreasing max rpm), but that would make the steady state RPM too jittery.
To be fair, I went back to the start and tried tuning I then P with minimal D. It was terrible. So yeah, it's extreme D for my car with the large throttled volume. It's not for everybody- but at least the option is there.

I'm MOVING ON with my life LOL. Next issue: open loop deceleration settings, closed loop entry/lockout, overrun settings.

Before I start, can anyone tell me exactly WHEN I am supposed to enter closed loop? In the graph above, I enter closed loop just after the RPM goes down to target. 1 second delay (edited ini).

Regarding overrun fuel cut: what's the theory behind it. I saw Brain's settings were cut fuel at 1700 rpm, 2 sec delay return fuel 1600 rpm. Is that still valid?

Attached are my msq and logs. Someone please point me in the right direction for correct deceleration/ closed loop entry.
Attached Thumbnails DIYPNP install: inital tuning-914min36max85stable.png  
Attached Files
File Type: msl
2011-09-14_08.56.19rev.msl (724.8 KB, 86 views)

Last edited by Greg G; 09-14-2011 at 05:11 PM.
Greg G is offline  
Old 09-14-2011, 08:40 AM
  #363  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,979
Total Cats: 356
Default

Not bad. Here is mine with my improved firmware that has full A/C control. The A/C duty added depends on the coolant temp, so it works extremely well across the board. I have also modified the firmware to allow a higher closed valve duty than the minimum PID duty (like a minimum dashpot adder).



There's an immediate bump from the non-A/C idle (850rpm) to the A/C idle (1000rpm) the moment the A/C switch is pressed (user0 changes from 1 to 3, bottom graph).

I is happy. Finally the A/C works exactly like stock.
Attached Thumbnails DIYPNP install: inital tuning-graph.png  
Reverant is offline  
Old 09-14-2011, 08:50 AM
  #364  
Junior Member
Thread Starter
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

Originally Posted by Reverant
Not bad. Here is mine with my improved firmware that has full A/C control. The A/C duty added depends on the coolant temp, so it works extremely well across the board. I have also modified the firmware to allow a higher closed valve duty than the minimum PID duty (like a minimum dashpot adder).

I is happy. Finally the A/C works exactly like stock.
Awww man! My solution sucks
Greg G is offline  
Old 09-14-2011, 09:20 AM
  #365  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,501
Total Cats: 4,080
Default

But again, you also have that silly blow through throttle.
Braineack is offline  
Old 09-14-2011, 09:28 AM
  #366  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,979
Total Cats: 356
Default

Originally Posted by Greg G
Awww man! My solution sucks
Man up and get a turbo.
Reverant is offline  
Old 09-14-2011, 04:56 PM
  #367  
Junior Member
Thread Starter
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

Ok enough about the supercharger!

Can I get some handholding on the deceleration/overrun transition from open loop to closed loop?
Greg G is offline  
Old 09-14-2011, 11:51 PM
  #368  
Junior Member
Thread Starter
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

The die is cast. Changing to RX8 injectors and Maruha cams (mild cams- 252in 256ex 8.5mmlift).

Adjusted req fuel from 11.7 (stock 1.6 injectors- 230cc) to 6.3 (rx8 inectors-425cc). Cranking PW is in %, so I shouldn't need to mess with it. Adjusted injector open time from 1.2 (1.6 injectors) to 0.8 (RX8 injectors).

Has anyone determined the exact injector open time for the RX8 injectors yet? And battery correction factor?

Anyway...fingers crossed that the swap will be painless...

Last edited by Greg G; 09-15-2011 at 12:51 AM.
Greg G is offline  
Old 09-15-2011, 03:54 AM
  #369  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Originally Posted by Greg G
The die is cast. Changing to RX8 injectors and Maruha cams (mild cams- 252in 256ex 8.5mmlift).

Adjusted req fuel from 11.7 (stock 1.6 injectors- 230cc) to 6.3 (rx8 inectors-425cc). Cranking PW is in %, so I shouldn't need to mess with it. Adjusted injector open time from 1.2 (1.6 injectors) to 0.8 (RX8 injectors).

Has anyone determined the exact injector open time for the RX8 injectors yet? And battery correction factor?

Anyway...fingers crossed that the swap will be painless...
One of the MS coders tested an RX8 yellow injector and posted a spreadsheet of the results

http://www.msextra.com/forums/viewto...41357&start=20
richyvrlimited is offline  
Old 09-15-2011, 04:51 AM
  #370  
Junior Member
Thread Starter
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

Awesome! 800ms@ 12.1v = 733ms@13.2?

Doing the math...batt correction factor = 73?
Greg G is offline  
Old 09-15-2011, 07:16 AM
  #371  
Junior Member
iTrader: (1)
 
gslender's Avatar
 
Join Date: Jun 2011
Location: Australia
Posts: 178
Total Cats: 3
Default

Originally Posted by Reverant
Not bad. Here is mine with my improved firmware that has full A/C control. The A/C duty added depends on the coolant temp, so it works extremely well across the board. I have also modified the firmware to allow a higher closed valve duty than the minimum PID duty (like a minimum dashpot

There's an immediate bump from the non-A/C idle (850rpm) to the A/C idle (1000rpm) the moment the A/C switch is pressed (user0 changes from 1 to 3, bottom graph).

I is happy. Finally the A/C works exactly like stock.
Where can you get this custom firmware?

G
gslender is offline  
Old 09-15-2011, 07:43 AM
  #372  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Originally Posted by gslender
Where can you get this custom firmware?

G
By buying one of Reverants MegaSquirt units from him.
richyvrlimited is offline  
Old 09-15-2011, 08:33 AM
  #373  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,979
Total Cats: 356
Default

^ this. My only source of income is the Megasquirts I build. So support the cause and consider buying one of my ECUs.
Reverant is offline  
Old 09-15-2011, 09:39 AM
  #374  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,501
Total Cats: 4,080
Default

Originally Posted by richyvrlimited
By buying one of Reverants MegaSquirt units from him.
Stellar response.
Braineack is offline  
Old 09-15-2011, 02:48 PM
  #375  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Originally Posted by Reverant
^ this. My only source of income is the Megasquirts I build. So support the cause and consider buying one of my ECUs.
PM me or post the latest news on the MS3!
JasonC SBB is offline  
Old 09-15-2011, 04:01 PM
  #376  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,979
Total Cats: 356
Default

Still waiting for the developers to open source the code. I have (literally) a dozen MS3 daughterboards on my shelves that I don't want to sell without adding my mods to them.
Reverant is offline  
Old 09-16-2011, 11:53 PM
  #377  
Junior Member
Thread Starter
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

Dammit.. With the cam/injector change, it's idling like crap. Crapcrapcrap.

I seem to have some sort of misfire. Some sort of poor combustion, feels like the first time I installed the MS.

Car has occasional hiccups at idle, worse with load. RPMdot for some reason is way up, making the idle code go nuts! It was worse yesterday, I suppose there's some sort of break-in period for all the parts to get to know each other?

Last edited by Greg G; 09-17-2011 at 12:10 AM.
Greg G is offline  
Old 09-17-2011, 05:35 AM
  #378  
Junior Member
Thread Starter
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

OK, it settled down a bit. I was considering a vacuum leak at the injectors, and kicking myself for installing 2 things at one time (never learn). So I reinstalled stock injectors.

Still has that stumble. MAP is a bit inconsistent, but it may be due to the intermittent stumbles the engine gets. I reduced PID effect by increasing max rpm to 2000 so the valve duty isn't driven as hard.

This is a graph of no load idle (AC on at the far right). MY MAP has gone up from 30 with the old cams to 45! Is that right? AC load went from 40 to 50! Is that just more air being let in by the cams?



This is a shot of the stumbles.


Hope this is familiar to someone.
Attached Thumbnails DIYPNP install: inital tuning-917noloadidlemap.png   DIYPNP install: inital tuning-917idlestumbles.png  
Attached Files
File Type: msl
2011-09-17_16.11.14idlemap.msl (1.78 MB, 81 views)
File Type: msl
2011-09-17_16.31.34fullload.msl (372.8 KB, 98 views)
File Type: msl
2011-09-17_16.33.08rev.msl (468.1 KB, 105 views)
Greg G is offline  
Old 09-17-2011, 08:00 AM
  #379  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,979
Total Cats: 356
Default

Too much overlap?
Reverant is offline  
Old 09-17-2011, 08:46 AM
  #380  
Junior Member
Thread Starter
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

^ Possibly. Too little knowledge to reply for sure, am frantically catching up on my reading

Posted a separate thread about it:

https://www.miataturbo.net/showthrea...279#post772279
Greg G is offline  


Quick Reply: DIYPNP install: inital tuning



All times are GMT -4. The time now is 12:58 AM.