DIYPNP install: inital tuning
#361
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
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.
![](https://www.miataturbo.net/attachments/megasquirt-18/24723-diypnp-install-inital-tuning-913rpmdelay50.png?dateline=1315914576)
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.
![](https://www.miataturbo.net/attachments/megasquirt-18/24721-diypnp-install-inital-tuning-913rpmdelay87.png?dateline=1315914515)
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.
![](https://www.miataturbo.net/attachments/megasquirt-18/24722-diypnp-install-inital-tuning-913rev.png?dateline=1315914515)
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
![](https://www.miataturbo.net/attachments/megasquirt-18/24723-diypnp-install-inital-tuning-913rpmdelay50.png?dateline=1315914576)
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.
![](https://www.miataturbo.net/attachments/megasquirt-18/24721-diypnp-install-inital-tuning-913rpmdelay87.png?dateline=1315914515)
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.
![](https://www.miataturbo.net/attachments/megasquirt-18/24722-diypnp-install-inital-tuning-913rev.png?dateline=1315914515)
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
#362
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
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.
![](https://www.miataturbo.net/attachments/megasquirt-18/24776-diypnp-install-inital-tuning-914min36max85stable.png?dateline=1316002390)
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.
The final piece: raised minimum duty to 36, and maximum to 85.
P90 I80 D5500 min RPM 900 max RPM 1500.
![](https://www.miataturbo.net/attachments/megasquirt-18/24776-diypnp-install-inital-tuning-914min36max85stable.png?dateline=1316002390)
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.
![Noob](https://www.miataturbo.net/images/smilies/noob.gif)
Last edited by Greg G; 09-14-2011 at 05:11 PM.
#363
Elite Member
![](/mt2011/images_td/ranks/supporter1.gif)
iTrader: (10)
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,987
Total Cats: 359
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
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).
![](https://www.miataturbo.net/attachments/megasquirt-18/24777d1316003642-diypnp-install-inital-tuning-graph.png)
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.
![](https://www.miataturbo.net/attachments/megasquirt-18/24777d1316003642-diypnp-install-inital-tuning-graph.png)
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.
#364
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
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.
I is happy. Finally the A/C works exactly like stock.
![](https://www.miataturbo.net/images/smilies/bowrofl.gif)
#368
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
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...
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.
#369
Elite Member
iTrader: (1)
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
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...
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...
http://www.msextra.com/forums/viewto...41357&start=20
#371
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
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.
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.
G
#377
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
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?
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.
#378
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
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?
![](https://www.miataturbo.net/attachments/megasquirt-18/24896-diypnp-install-inital-tuning-917noloadidlemap.png?dateline=1316252125)
This is a shot of the stumbles.
![](https://www.miataturbo.net/attachments/megasquirt-18/24897-diypnp-install-inital-tuning-917idlestumbles.png?dateline=1316252125)
Hope this is familiar to someone.
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?
![](https://www.miataturbo.net/attachments/megasquirt-18/24896-diypnp-install-inital-tuning-917noloadidlemap.png?dateline=1316252125)
This is a shot of the stumbles.
![](https://www.miataturbo.net/attachments/megasquirt-18/24897-diypnp-install-inital-tuning-917idlestumbles.png?dateline=1316252125)
Hope this is familiar to someone.
#380
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
^ Possibly. Too little knowledge to reply for sure, am frantically catching up on my reading
![Drool](https://www.miataturbo.net/images/smilies/drooling.gif)
Posted a separate thread about it:
https://www.miataturbo.net/showthrea...279#post772279
![Noob](https://www.miataturbo.net/images/smilies/noob.gif)
![Drool](https://www.miataturbo.net/images/smilies/drooling.gif)
Posted a separate thread about it:
https://www.miataturbo.net/showthrea...279#post772279