DIYPNP install: inital tuning
#82
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Finally got some decent progress done on the idle today!
These are the idle settings that seemed to work. No more wild oscillations, just a big dip when AC goes on. It will catch the droop 99% of the time! PID theory is a bitch...and it's weird this PID, it likes more I as opposed to P and D. Does that make sense?![CRX](https://www.miataturbo.net/images/smilies/pissed.gif)
![Hustler](https://www.miataturbo.net/images/smilies/hustler.gif)
Any suggested improvements are very welcome!
![Name: idlesettingsapr5.jpg
Views: 194
Size: 87.8 KB](https://www.miataturbo.net/attachments/megasquirt-18/189908d1501221590-diypnp-install-inital-tuning-idlesettingsapr5.jpg)
Tables: please give me suggestions!
Breakpoints are now easily correlated. Can I steal another column from the high rpms to give to the idle area?
I have a volcano in the center of the VE table from VE analyze live...is my spark map too aggressive??? I kinda blended the stock map loaded on with the more aggressive maps on the forum![Drool](https://www.miataturbo.net/images/smilies/drooling.gif)
Are my AFR targets OK?
![Name: tablesapr5.jpg
Views: 182
Size: 96.3 KB](https://www.miataturbo.net/attachments/megasquirt-18/189909d1501221590-diypnp-install-inital-tuning-tablesapr5.jpg)
Graphs:
![Name: decentidle.jpg
Views: 187
Size: 88.9 KB](https://www.miataturbo.net/attachments/megasquirt-18/189910d1501221590-diypnp-install-inital-tuning-decentidle.jpg)
A few things strike me:
1. battery voltage dips during AC... is this a bad battery/alternator?
2. weird timing dip during the voltage droop...due to battery? Goes lower than commanded by the spark table.
3. small surge on AC switching off, due to a timing bump. Was thinking of flattening the 1600 rpm column, but will that kill engine response?
MSQ and MSL attached. Comments would be most appreciated!!! Pleeease help me with the spark map, before I screw something up![Thefinger](https://www.miataturbo.net/images/smilies/thefinger.gif)
These are the idle settings that seemed to work. No more wild oscillations, just a big dip when AC goes on. It will catch the droop 99% of the time! PID theory is a bitch...and it's weird this PID, it likes more I as opposed to P and D. Does that make sense?
![CRX](https://www.miataturbo.net/images/smilies/pissed.gif)
![Hustler](https://www.miataturbo.net/images/smilies/hustler.gif)
Any suggested improvements are very welcome!
![Name: idlesettingsapr5.jpg
Views: 194
Size: 87.8 KB](https://www.miataturbo.net/attachments/megasquirt-18/189908d1501221590-diypnp-install-inital-tuning-idlesettingsapr5.jpg)
Tables: please give me suggestions!
Breakpoints are now easily correlated. Can I steal another column from the high rpms to give to the idle area?
I have a volcano in the center of the VE table from VE analyze live...is my spark map too aggressive??? I kinda blended the stock map loaded on with the more aggressive maps on the forum
![Drool](https://www.miataturbo.net/images/smilies/drooling.gif)
Are my AFR targets OK?
![Name: tablesapr5.jpg
Views: 182
Size: 96.3 KB](https://www.miataturbo.net/attachments/megasquirt-18/189909d1501221590-diypnp-install-inital-tuning-tablesapr5.jpg)
Graphs:
![Name: decentidle.jpg
Views: 187
Size: 88.9 KB](https://www.miataturbo.net/attachments/megasquirt-18/189910d1501221590-diypnp-install-inital-tuning-decentidle.jpg)
A few things strike me:
1. battery voltage dips during AC... is this a bad battery/alternator?
2. weird timing dip during the voltage droop...due to battery? Goes lower than commanded by the spark table.
3. small surge on AC switching off, due to a timing bump. Was thinking of flattening the 1600 rpm column, but will that kill engine response?
MSQ and MSL attached. Comments would be most appreciated!!! Pleeease help me with the spark map, before I screw something up
![Thefinger](https://www.miataturbo.net/images/smilies/thefinger.gif)
![Noob](https://www.miataturbo.net/images/smilies/noob.gif)
Last edited by Greg G; 04-05-2011 at 07:53 AM.
#83
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Momentary voltage dip during a/c kick-in is normal. That's a large electrical load suddenly placed on the system.
You say it catches the dip 99% of the time - it may be worth logging a couple of on/off cycles and stopping the log once it catches a dip, then examining what the duty cycle is doing differently when it does dip.
18* of advance at idle, while it saves gas, reduces the effect of "more advance when it dips" to actually catch a dip.
You say it catches the dip 99% of the time - it may be worth logging a couple of on/off cycles and stopping the log once it catches a dip, then examining what the duty cycle is doing differently when it does dip.
18* of advance at idle, while it saves gas, reduces the effect of "more advance when it dips" to actually catch a dip.
#85
Boost Czar
![](/mt2011/images_td/ranks/supporter1.gif)
![](/mt2011/images_td/ranks/admin.png)
iTrader: (62)
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,688
Total Cats: 4,113
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
cause you can? Help you get resolution in areas you need it. For the most part I like to keep them all standardized, but for my A/C on spark map, I like a bit different rpm and load points around my idle cells, things like that.
His log looks to be idling along 14°, but his map clearly doesnt go below 18°, so we need to figure that out, which will help the dip. It drops down as the rpms decrease, and agian it should be rising to around 20* according to his spark map.
Remember, the CPU can only react to an event, as soon as the a/c is triggered the load will increase, idle will want to drop and MS will have to react to it. The Idle Duty does a prety good job reacting, but it's that 4° drop in timing, the increase in load and the richened AFRs that makes the idle speed drop.
Does a more advanced spark map really help MPGs at idle? I idle at 12° @ 850RPM and 18° with the A/C on.
His log looks to be idling along 14°, but his map clearly doesnt go below 18°, so we need to figure that out, which will help the dip. It drops down as the rpms decrease, and agian it should be rising to around 20* according to his spark map.
Remember, the CPU can only react to an event, as soon as the a/c is triggered the load will increase, idle will want to drop and MS will have to react to it. The Idle Duty does a prety good job reacting, but it's that 4° drop in timing, the increase in load and the richened AFRs that makes the idle speed drop.
Does a more advanced spark map really help MPGs at idle? I idle at 12° @ 850RPM and 18° with the A/C on.
#86
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
When I had the idle at at flat 14, the dips were about a 100 rpm deeper, bringing me close to a stall. Is it too simplistic to raise it up as I have? That lower left area is flat, but I did put a slope between AC idle (40 kpa/750 rpm) and no load idle (29 kpa/1000 rpm).
I did turn on the idle advance, though I really can't tell if and when it's working. Can anyone check the settings I have? It's supposed to advance the timing further once rpm drops below 800 and load is greater than 32. Timing is raised a flat 15 degrees- I don't yet kow how to tune that curve....
I did turn on the idle advance, though I really can't tell if and when it's working. Can anyone check the settings I have? It's supposed to advance the timing further once rpm drops below 800 and load is greater than 32. Timing is raised a flat 15 degrees- I don't yet kow how to tune that curve....
#87
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Well, the current idle is the most stable so far. Same settings as shown above.
![Name: decentidle2.jpg
Views: 179
Size: 95.1 KB](https://www.miataturbo.net/attachments/megasquirt-18/189880d1501221530-diypnp-install-inital-tuning-decentidle2.jpg)
I just don't understand why there's a momentary dip in spark advance on AC activation, from 17 to 10 then 14 then back to 17. The table is a flat 18 at that area...ideas?
Also, PID is at 5/30/10. Looking at the PWM idle duty, a bit of oscillation. Suggestions? More D? Less P? P is already 5!
![Name: decentidle2.jpg
Views: 179
Size: 95.1 KB](https://www.miataturbo.net/attachments/megasquirt-18/189880d1501221530-diypnp-install-inital-tuning-decentidle2.jpg)
I just don't understand why there's a momentary dip in spark advance on AC activation, from 17 to 10 then 14 then back to 17. The table is a flat 18 at that area...ideas?
Also, PID is at 5/30/10. Looking at the PWM idle duty, a bit of oscillation. Suggestions? More D? Less P? P is already 5!
![facepalm](https://www.miataturbo.net/images/smilies/facepalm.gif)
Last edited by Greg G; 04-07-2011 at 06:59 AM.
#89
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Good luck! It's a big learning curve, even if you think you did your homework ahead of time! Nothing like actual hands on experience to cement the knowledge in your brain ![wink](https://www.miataturbo.net/images/smilies/wink.gif)
Is your DIYPNP built, or still for assembly? Don't forget to add the sequential injection kit.
Make a build thread when you start! It helps keep you pointed in the right direction. Especially when you feel like this -->
or -->
![wink](https://www.miataturbo.net/images/smilies/wink.gif)
Is your DIYPNP built, or still for assembly? Don't forget to add the sequential injection kit.
Make a build thread when you start! It helps keep you pointed in the right direction. Especially when you feel like this -->
![vash](https://www.miataturbo.net/images/smilies/vash.gif)
![CRX](https://www.miataturbo.net/images/smilies/pissed.gif)
Last edited by Greg G; 04-07-2011 at 06:51 PM.
#90
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
I found the reason for the weird spark droop on initial AC load! User error ![facepalm](https://www.miataturbo.net/images/smilies/facepalm.gif)
Turns out the idle advance timing curve is in absolute values! I thouht I was adding 15 degrees to the spark map, when in fact I was commanding a lower timing on AC load. So essentially, I was making it droop more![Loser](https://www.miataturbo.net/images/smilies/sign0058.gif)
I thought it was like a timing retard table...thanks to Braineack for schooling me on it...
Greg: "my idle sux"-->
<--Braineack: "WTF are you doin to my box!?"
![facepalm](https://www.miataturbo.net/images/smilies/facepalm.gif)
Turns out the idle advance timing curve is in absolute values! I thouht I was adding 15 degrees to the spark map, when in fact I was commanding a lower timing on AC load. So essentially, I was making it droop more
![Loser](https://www.miataturbo.net/images/smilies/sign0058.gif)
I thought it was like a timing retard table...thanks to Braineack for schooling me on it...
Greg: "my idle sux"-->
![Hustler](https://www.miataturbo.net/images/smilies/hustler.gif)
#91
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Good luck! It's a big learning curve, even if you think you did your homework ahead of time! Nothing like actual hands on experience to cement the knowledge in your brain ![wink](https://www.miataturbo.net/images/smilies/wink.gif)
Is your DIYPNP built, or still for assembly? Don't forget to add the sequential injection kit.
Make a build thread when you start! It helps keep you pointed in the right direction. Especially when you feel like this -->
or -->![CRX](https://www.miataturbo.net/images/smilies/pissed.gif)
![wink](https://www.miataturbo.net/images/smilies/wink.gif)
Is your DIYPNP built, or still for assembly? Don't forget to add the sequential injection kit.
Make a build thread when you start! It helps keep you pointed in the right direction. Especially when you feel like this -->
![vash](https://www.miataturbo.net/images/smilies/vash.gif)
![CRX](https://www.miataturbo.net/images/smilies/pissed.gif)
I've still got to assemble it and yeah, i've got the sequential mod kit.
It's not so much the building that worries me, i've got experience working with pcb's. It's the troubleshooting when things don't work and learning how the software works that seems daunting.
I'll make a build thread. Probably start this weekend.
I don't have AC so thats one less thing to worry about, but good to see you figured yours out.
#92
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Ahahaha funny you should mention that...![facepalm](https://www.miataturbo.net/images/smilies/facepalm.gif)
I got to the shop today and saw the car sparkling clean! Mechanic says he washed it. Aaaand now the AC compressor is always engaged! Not cycling at all! AC switch off--still on! WHAAAT THE FFUUUUUUUUUUUUU
To top it off, it's a holiday tomorrow ![Violin](https://www.miataturbo.net/images/smilies/anim_03.gif)
The AC fan and blower still obey the switch. I guess that rules out everything up to the AC relay.
The good part is I got the opportunity to dial in the PID with the AC on![facepalm](https://www.miataturbo.net/images/smilies/facepalm.gif)
EDIT: found the issue. The wiring to control the AC fan relay was miswired to the AC relay. So instead of turning thte fan on when hot, it turned the compressor on! Duuuuuuuuh
![facepalm](https://www.miataturbo.net/images/smilies/facepalm.gif)
I got to the shop today and saw the car sparkling clean! Mechanic says he washed it. Aaaand now the AC compressor is always engaged! Not cycling at all! AC switch off--still on! WHAAAT THE FFUUUUUUUUUUUUU
![vash](https://www.miataturbo.net/images/smilies/vash.gif)
![Violin](https://www.miataturbo.net/images/smilies/anim_03.gif)
The AC fan and blower still obey the switch. I guess that rules out everything up to the AC relay.
The good part is I got the opportunity to dial in the PID with the AC on
![facepalm](https://www.miataturbo.net/images/smilies/facepalm.gif)
EDIT: found the issue. The wiring to control the AC fan relay was miswired to the AC relay. So instead of turning thte fan on when hot, it turned the compressor on! Duuuuuuuuh
Last edited by Greg G; 04-10-2011 at 06:59 PM.
#93
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
OK, I identified this. In neutral, quick throttle blips are OK. A little dip but liveable. If I hold the revs up, look at the idle valve. It closes and doesnt come back, so when I let off, I get a big droop and the engine dies.
![Name: icvcloseddecel.jpg
Views: 177
Size: 105.7 KB](https://www.miataturbo.net/attachments/megasquirt-18/189841d1501221463-diypnp-install-inital-tuning-icvcloseddecel.jpg)
I know it's some setting, can anyone point me to it?![](https://www.miataturbo.net/images/smilies/smile.gif)
EDIT: It must be this right? Close delay settings at the bottom? What are the right settings? Never close?
![Name: icvcloseddecel.jpg
Views: 177
Size: 105.7 KB](https://www.miataturbo.net/attachments/megasquirt-18/189841d1501221463-diypnp-install-inital-tuning-icvcloseddecel.jpg)
I know it's some setting, can anyone point me to it?
![](https://www.miataturbo.net/images/smilies/smile.gif)
EDIT: It must be this right? Close delay settings at the bottom? What are the right settings? Never close?
![Name: closedelay.jpg
Views: 162
Size: 36.5 KB](https://www.miataturbo.net/attachments/megasquirt-18/189842d1501221463-diypnp-install-inital-tuning-closedelay.jpg)
#94
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Behold I have created idle! LOL
It's not too bad. There is an initial dip, pretty deep--to 500 for a bit, then slowly goes to 950-1000. I catch it with idle advance, then the idle valve comes in.
![Name: idlevalvepampup.png
Views: 176
Size: 83.3 KB](https://www.miataturbo.net/attachments/megasquirt-18/189828d1501221441-diypnp-install-inital-tuning-idlevalvepampup.png)
1. Should I use more spark advance to catch the dip? I'm just using 2 degrees advance, do you guys use more?
2. Can I increase the ramping up of the idle valve?
Running around, the car runs pretty well. But I noticed these "injector hiccups" in the log. What are they?
It's not too bad. There is an initial dip, pretty deep--to 500 for a bit, then slowly goes to 950-1000. I catch it with idle advance, then the idle valve comes in.
![Name: idlevalvepampup.png
Views: 176
Size: 83.3 KB](https://www.miataturbo.net/attachments/megasquirt-18/189828d1501221441-diypnp-install-inital-tuning-idlevalvepampup.png)
1. Should I use more spark advance to catch the dip? I'm just using 2 degrees advance, do you guys use more?
2. Can I increase the ramping up of the idle valve?
Running around, the car runs pretty well. But I noticed these "injector hiccups" in the log. What are they?
![Name: injectorhiccups.png
Views: 186
Size: 90.6 KB](https://www.miataturbo.net/attachments/megasquirt-18/189829d1501221441-diypnp-install-inital-tuning-injectorhiccups.png)
Last edited by Greg G; 04-10-2011 at 11:44 AM.
#95
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Looking at my logs, a light bulb went off in my head! I decided that instead of using the idle advance table to react to dips, I would try to keep using the idle advance table all the time when AC is on.
The results...promising! Better control of oscillations. Will work on it some more, but it looks like I'm making progress![](https://www.miataturbo.net/images/smilies/smile.gif)
The results...promising! Better control of oscillations. Will work on it some more, but it looks like I'm making progress
![](https://www.miataturbo.net/images/smilies/smile.gif)
![Name: newidletheory.png
Views: 177
Size: 72.8 KB](https://www.miataturbo.net/attachments/megasquirt-18/189790d1501221374-diypnp-install-inital-tuning-newidletheory.png)
#98
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Been letting these concepts percolate in my head. So here's what I've got as of today:
I lowered the spark advance in the idle areas to 15, and adjusted the idle advance settings in such a way that as long as the AC was on, it would stay with the idle advance curve, which i set to 22.
![Name: 417idlestrategy.jpg
Views: 183
Size: 104.6 KB](https://www.miataturbo.net/attachments/megasquirt-18/189688d1501221204-diypnp-install-inital-tuning-417idlestrategy.jpg)
![Name: 417idlestrategy2.jpg
Views: 194
Size: 94.1 KB](https://www.miataturbo.net/attachments/megasquirt-18/189689d1501221204-diypnp-install-inital-tuning-417idlestrategy2.jpg)
These are the results:
Initial AC dip is about 400-450 RPM, but it never stalls out now. spark advance catches it, and idle valve (slowly) ramps up. Am trying to figure out how to make it ramp up faster. PID gets into a mild oscillation-- (PID: 4/30/10) Still need to fine tune closed loop idle, was working on making the spark/ve tables solid.
![Name: 417idlegraph1.png
Views: 180
Size: 80.3 KB](https://www.miataturbo.net/attachments/megasquirt-18/189690d1501221204-diypnp-install-inital-tuning-417idlegraph1.png)
I did notice that when I burn settings onto the box, the idle valve goes to cranking value immediately...seen in the left side of the graph. I wish there was a way to command that instant response to an AC trigger, or if not to AC on, to conditions like TPS<2, Map >x, RPM<y, maybe MAPdot/RPMdot. Something that gives an immediate response to a rapid RPM drop below your set idling value...
![](http://img.photobucket.com/albums/v65/gregolas/Roadster/Parts/DIYPNP/Tuning/417idlegraph2.png)
msq and msl attached.
Thoughts comments suggestions are very welcome
I lowered the spark advance in the idle areas to 15, and adjusted the idle advance settings in such a way that as long as the AC was on, it would stay with the idle advance curve, which i set to 22.
![Name: 417idlestrategy.jpg
Views: 183
Size: 104.6 KB](https://www.miataturbo.net/attachments/megasquirt-18/189688d1501221204-diypnp-install-inital-tuning-417idlestrategy.jpg)
![Name: 417idlestrategy2.jpg
Views: 194
Size: 94.1 KB](https://www.miataturbo.net/attachments/megasquirt-18/189689d1501221204-diypnp-install-inital-tuning-417idlestrategy2.jpg)
These are the results:
Initial AC dip is about 400-450 RPM, but it never stalls out now. spark advance catches it, and idle valve (slowly) ramps up. Am trying to figure out how to make it ramp up faster. PID gets into a mild oscillation-- (PID: 4/30/10) Still need to fine tune closed loop idle, was working on making the spark/ve tables solid.
![Name: 417idlegraph1.png
Views: 180
Size: 80.3 KB](https://www.miataturbo.net/attachments/megasquirt-18/189690d1501221204-diypnp-install-inital-tuning-417idlegraph1.png)
I did notice that when I burn settings onto the box, the idle valve goes to cranking value immediately...seen in the left side of the graph. I wish there was a way to command that instant response to an AC trigger, or if not to AC on, to conditions like TPS<2, Map >x, RPM<y, maybe MAPdot/RPMdot. Something that gives an immediate response to a rapid RPM drop below your set idling value...
![](http://img.photobucket.com/albums/v65/gregolas/Roadster/Parts/DIYPNP/Tuning/417idlegraph2.png)
msq and msl attached.
Thoughts comments suggestions are very welcome
![](https://www.miataturbo.net/images/smilies/smile.gif)