DIYPNP install: inital tuning
#61
Cpt. Slow
![](/mt2011/images_td/ranks/supporter1.gif)
iTrader: (25)
Join Date: Oct 2005
Location: Oregon City, OR
Posts: 14,360
Total Cats: 1,184
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Autotune first and get a fuel map you're happy with. No telling what issues may pop up, and we can't tell you anything about your cams, as we mostly have stock cams. Plus they're already in and you finally got it running, go drive it.
#62
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Yup, I kinda decided on doing that first. But I have different cams from US/Japanese cars too. Milder.
OK I got issues wiring in the vTPS from an automatic Miata. I wired it in as per Braineack's instructions:
Calibrated it, got this. Does it look correct?
![Name: tps1.jpg
Views: 182
Size: 12.9 KB](https://www.miataturbo.net/attachments/megasquirt-18/190318d1501222382-diypnp-install-inital-tuning-tps1.jpg)
Started the car, idles OK, but stepping on the throttle, the TPS values are off! Stepping on it hardly registers, TPS values go up to 20-35 on WOT! And not linearly. Weird.![Drool](https://www.miataturbo.net/images/smilies/drooling.gif)
Log attached.
OK I got issues wiring in the vTPS from an automatic Miata. I wired it in as per Braineack's instructions:
B/R of TPS goes to LG/W of harness
LG/R of TPS goes to R
B/LG of TPS goes to BG/LG
LG/R of TPS goes to R
B/LG of TPS goes to BG/LG
![Name: tps1.jpg
Views: 182
Size: 12.9 KB](https://www.miataturbo.net/attachments/megasquirt-18/190318d1501222382-diypnp-install-inital-tuning-tps1.jpg)
Started the car, idles OK, but stepping on the throttle, the TPS values are off! Stepping on it hardly registers, TPS values go up to 20-35 on WOT! And not linearly. Weird.
![Drool](https://www.miataturbo.net/images/smilies/drooling.gif)
Log attached.
Last edited by Greg G; 03-19-2011 at 07:38 AM.
#64
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Results from my first session with autotune. Any good? I didn't allow it to autotune below 1200 rpm and >35 kpa. Added some timing to the bottom row in the hopes of improving the AC idle dip.
![Name: 1stautotune.jpg
Views: 196
Size: 110.2 KB](https://www.miataturbo.net/attachments/megasquirt-18/190308d1501222345-diypnp-install-inital-tuning-1stautotune.jpg)
Whoa! 106 duty cycle? 22 PW?
Also seen is the TPS weirdness. Is the TPS causing the IAC to freak out?
![Name: 1stautotune.jpg
Views: 196
Size: 110.2 KB](https://www.miataturbo.net/attachments/megasquirt-18/190308d1501222345-diypnp-install-inital-tuning-1stautotune.jpg)
Whoa! 106 duty cycle? 22 PW?
Also seen is the TPS weirdness. Is the TPS causing the IAC to freak out?
![Name: 100dutycycle.png
Views: 193
Size: 16.4 KB](https://www.miataturbo.net/attachments/megasquirt-18/190309d1501222345-diypnp-install-inital-tuning-100dutycycle.png)
Last edited by Greg G; 03-19-2011 at 08:07 AM.
#65
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
More on the TPS weirdness here:
https://www.miataturbo.net/megasquirt-18/strange-tps-values-when-engine-running-55008/
https://www.miataturbo.net/megasquirt-18/strange-tps-values-when-engine-running-55008/
#67
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Sigh. I think the TPS is a dud. Anyway, will try running without it first.
Upgraded to firmware 3.1.2 for the improved idle PID. Kiiinda better I guess. Still working on the AC oscillation thing.
Noob TS question-- how do I get rid of this error message in my dash? I can't find AFR targets in the right click menu.
![Name: slim.jpg
Views: 202
Size: 45.6 KB](https://www.miataturbo.net/attachments/megasquirt-18/190153d1501222082-diypnp-install-inital-tuning-slim.jpg)
^ Fixed, I'm a moron, I needed to copy a file custom.ini to the projectcfg folder. :P
Upgraded to firmware 3.1.2 for the improved idle PID. Kiiinda better I guess. Still working on the AC oscillation thing.
Noob TS question-- how do I get rid of this error message in my dash? I can't find AFR targets in the right click menu.
![Name: slim.jpg
Views: 202
Size: 45.6 KB](https://www.miataturbo.net/attachments/megasquirt-18/190153d1501222082-diypnp-install-inital-tuning-slim.jpg)
^ Fixed, I'm a moron, I needed to copy a file custom.ini to the projectcfg folder. :P
Last edited by Greg G; 03-25-2011 at 05:37 AM.
#70
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Everything is nice and smoothe excpet when the AC turns on, and the usual oscillations start.
I tried messing with the minimum IAC duty, and stumbled upon this idle when I raised it to 39.8%, and turned down the idle rpms at the throttle screw.
Before AC
![](http://img.photobucket.com/albums/v65/gregolas/Roadster/Parts/DIYPNP/ac1.png)
Increased load
![Name: ac2.png
Views: 185
Size: 58.7 KB](https://www.miataturbo.net/attachments/megasquirt-18/190106d1501221996-diypnp-install-inital-tuning-ac2.png)
Settles down![Idea](https://www.miataturbo.net/images/smilies/sign0184.gif)
![Name: ac3.png
Views: 199
Size: 59.5 KB](https://www.miataturbo.net/attachments/megasquirt-18/190107d1501221996-diypnp-install-inital-tuning-ac3.png)
Lowering it to 35% brought oscillations back.
![Name: ac4.png
Views: 194
Size: 66.2 KB](https://www.miataturbo.net/attachments/megasquirt-18/190108d1501221996-diypnp-install-inital-tuning-ac4.png)
Thoughts? It seems the wrong way to go about it, but it seems to work. Will mess around some more...
I tried messing with the minimum IAC duty, and stumbled upon this idle when I raised it to 39.8%, and turned down the idle rpms at the throttle screw.
Before AC
![](http://img.photobucket.com/albums/v65/gregolas/Roadster/Parts/DIYPNP/ac1.png)
Increased load
![Name: ac2.png
Views: 185
Size: 58.7 KB](https://www.miataturbo.net/attachments/megasquirt-18/190106d1501221996-diypnp-install-inital-tuning-ac2.png)
Settles down
![Idea](https://www.miataturbo.net/images/smilies/sign0184.gif)
![Name: ac3.png
Views: 199
Size: 59.5 KB](https://www.miataturbo.net/attachments/megasquirt-18/190107d1501221996-diypnp-install-inital-tuning-ac3.png)
Lowering it to 35% brought oscillations back.
![Name: ac4.png
Views: 194
Size: 66.2 KB](https://www.miataturbo.net/attachments/megasquirt-18/190108d1501221996-diypnp-install-inital-tuning-ac4.png)
Thoughts? It seems the wrong way to go about it, but it seems to work. Will mess around some more...
#71
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)
its partially your spark advance. get it to smooth out when the a/c turns on and rpms oscilate a little and your rpms will also smooth out. see how it goes up and down? that's part of it.
can you post a shot of your current PID idle settings? fine tuning those will probably fix the rest.
can you post a shot of your current PID idle settings? fine tuning those will probably fix the rest.
#73
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)
youre going to have to watch it when youre idling. open your spark table and watch your spark advance gauge, then watch where the ecu is advancing from when you turn on the a/c on your map. Try to fine tune that load/rpm area so it stays stable when the a/c is turned on. You may want to play with the load rows.
you can also try using the idle advance feature too, this worked fairly well for me.
off the top of my head my PID values are P - 6, I - 45, D -8. What are yours?
you can also try using the idle advance feature too, this worked fairly well for me.
off the top of my head my PID values are P - 6, I - 45, D -8. What are yours?
#74
![Default](https://www.miataturbo.net/images/icons/icon1.gif)
Really!? My PID values are pretty high then :P
What's the relationship of the closed loop idle valve settings to the closed loop PID settings? Am confused on that. Posted my spark table for suggestions. And msq, msl files for your perusal![](https://www.miataturbo.net/images/smilies/smile.gif)
![Name: idletune.jpg
Views: 203
Size: 82.4 KB](https://www.miataturbo.net/attachments/megasquirt-18/190104d1501221996-diypnp-install-inital-tuning-idletune.jpg)
Also have this occasional weird high idle hangup. Usually after a hot restart. Calms down after a while.
![Name: weirdidle.png
Views: 199
Size: 75.4 KB](https://www.miataturbo.net/attachments/megasquirt-18/190105d1501221996-diypnp-install-inital-tuning-weirdidle.png)
I tried the idle valve test, but it just went crazy high idle and wouldn't go down until I restarted the car. @_@
What's the relationship of the closed loop idle valve settings to the closed loop PID settings? Am confused on that. Posted my spark table for suggestions. And msq, msl files for your perusal
![](https://www.miataturbo.net/images/smilies/smile.gif)
![Name: idletune.jpg
Views: 203
Size: 82.4 KB](https://www.miataturbo.net/attachments/megasquirt-18/190104d1501221996-diypnp-install-inital-tuning-idletune.jpg)
Also have this occasional weird high idle hangup. Usually after a hot restart. Calms down after a while.
![Name: weirdidle.png
Views: 199
Size: 75.4 KB](https://www.miataturbo.net/attachments/megasquirt-18/190105d1501221996-diypnp-install-inital-tuning-weirdidle.png)
I tried the idle valve test, but it just went crazy high idle and wouldn't go down until I restarted the car. @_@
#77
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)
Nice, surprised it's idling so low with a/c on and so high without it. the code should be able to get them very close to your targets regardless.
how are your RPM targets looking? what is it trying to achieve?
how are your RPM targets looking? what is it trying to achieve?
#79
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)
theres another table that are just your RPM targets for the PID code to try to hit. CLT based.
your dashpot is pretty high as it is, when you rev the motor you should see the PWM% for the idle valve increase by 7% and then settle back down after 2 seconds once the PID kicks in.
Watch your AFRs and timing when that happens. They both play a big role in keeping things stable.
your dashpot is pretty high as it is, when you rev the motor you should see the PWM% for the idle valve increase by 7% and then settle back down after 2 seconds once the PID kicks in.
Watch your AFRs and timing when that happens. They both play a big role in keeping things stable.