Notices
MEGAsquirt A place to collectively sort out this megasquirt gizmo

DIYPNP install: inital tuning

Thread Tools
 
Search this Thread
 
Old Mar 19, 2011 | 12:12 AM
  #61  
curly's Avatar
Cpt. Slow
iTrader: (25)
 
Joined: Oct 2005
Posts: 15,197
Total Cats: 1,398
From: Oregon City, OR
Default

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.
Old Mar 19, 2011 | 12:56 AM
  #62  
Greg G's Avatar
Thread Starter
Junior Member
 
Joined: Jun 2007
Posts: 411
Total Cats: 0
Default

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:
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
Calibrated it, got this. Does it look correct?
Name:  tps1.jpg
Views: 219
Size:  12.9 KB
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.

Log attached.
Attached Files
File Type: msl
2011-03-19_12.19.0VTPS.msl (410.2 KB, 131 views)

Last edited by Greg G; Mar 19, 2011 at 07:38 AM.
Old Mar 19, 2011 | 05:22 AM
  #63  
Greg G's Avatar
Thread Starter
Junior Member
 
Joined: Jun 2007
Posts: 411
Total Cats: 0
Default

Having the wires physically traced back to the ECU. Because of the supercharger installation, the TPS harness was extended. The motherfer who did it made red wire = ground, black = 5v! WTF

I know TPS signal wire goes to 2L, where is the 5v reference wire from?
Old Mar 19, 2011 | 07:16 AM
  #64  
Greg G's Avatar
Thread Starter
Junior Member
 
Joined: Jun 2007
Posts: 411
Total Cats: 0
Default

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: 230
Size:  110.2 KB

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: 240
Size:  16.4 KB

Last edited by Greg G; Mar 19, 2011 at 08:07 AM.
Old Mar 21, 2011 | 01:28 AM
  #65  
Greg G's Avatar
Thread Starter
Junior Member
 
Joined: Jun 2007
Posts: 411
Total Cats: 0
Default

More on the TPS weirdness here:

https://www.miataturbo.net/megasquirt-18/strange-tps-values-when-engine-running-55008/
Old Mar 21, 2011 | 08:11 AM
  #66  
bearda's Avatar
Junior Member
 
Joined: Apr 2010
Posts: 107
Total Cats: 0
Default

In the US 1.8s I don't think the TPS has anything to do with the IAC, just the IAC duty table and your coolant temperatures.
Old Mar 25, 2011 | 03:32 AM
  #67  
Greg G's Avatar
Thread Starter
Junior Member
 
Joined: Jun 2007
Posts: 411
Total Cats: 0
Default

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: 237
Size:  45.6 KB

^ Fixed, I'm a moron, I needed to copy a file custom.ini to the projectcfg folder. :P

Last edited by Greg G; Mar 25, 2011 at 05:37 AM.
Old Mar 25, 2011 | 05:33 AM
  #68  
WestfieldMX5's Avatar
Senior Member
 
Joined: Nov 2007
Posts: 999
Total Cats: 73
From: Belgium
Default

I'm using a similar dashbord and use the same output channel afrtgt1_fixed.
in designer mode: right click - properties - output channel -> should be listed
Old Mar 25, 2011 | 06:25 AM
  #69  
Greg G's Avatar
Thread Starter
Junior Member
 
Joined: Jun 2007
Posts: 411
Total Cats: 0
Default

Thanks Frank! I fixed it already, needed to copy over a file (custom.ini) to define the output.
Old Mar 28, 2011 | 02:02 AM
  #70  
Greg G's Avatar
Thread Starter
Junior Member
 
Joined: Jun 2007
Posts: 411
Total Cats: 0
Default AC idling issues

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


Increased load
Name:  ac2.png
Views: 219
Size:  58.7 KB

Settles down
Name:  ac3.png
Views: 232
Size:  59.5 KB

Lowering it to 35% brought oscillations back.
Name:  ac4.png
Views: 229
Size:  66.2 KB

Thoughts? It seems the wrong way to go about it, but it seems to work. Will mess around some more...
Old Mar 28, 2011 | 08:31 AM
  #71  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 80,552
Total Cats: 4,368
From: Chantilly, VA
Default

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.
Old Mar 28, 2011 | 09:05 AM
  #72  
Greg G's Avatar
Thread Starter
Junior Member
 
Joined: Jun 2007
Posts: 411
Total Cats: 0
Default

Now that you pointed it out, I do see it! But am having a hard time translating the histogram into what to do with the spark table. Will post up relevant pics in a bit.
Old Mar 28, 2011 | 09:14 AM
  #73  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 80,552
Total Cats: 4,368
From: Chantilly, VA
Default

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?
Old Mar 28, 2011 | 10:03 AM
  #74  
Greg G's Avatar
Thread Starter
Junior Member
 
Joined: Jun 2007
Posts: 411
Total Cats: 0
Default

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

Name:  idletune.jpg
Views: 218
Size:  82.4 KB

Also have this occasional weird high idle hangup. Usually after a hot restart. Calms down after a while.

Name:  weirdidle.png
Views: 216
Size:  75.4 KB

I tried the idle valve test, but it just went crazy high idle and wouldn't go down until I restarted the car. @_@
Attached Files
File Type: msq
CurrentTune.msq (79.5 KB, 163 views)
Old Mar 28, 2011 | 06:42 PM
  #75  
Greg G's Avatar
Thread Starter
Junior Member
 
Joined: Jun 2007
Posts: 411
Total Cats: 0
Default

Should I rearrange my spark table rpm break points to add resolution to the idle areas? Perhaps a 500/750/1000?

I can also steal the 2 upper rows, since my car won't be hitting those map values.
Old Mar 29, 2011 | 07:55 AM
  #76  
Greg G's Avatar
Thread Starter
Junior Member
 
Joined: Jun 2007
Posts: 411
Total Cats: 0
Default

Smoothed out the spark table, it did help!

Name:  smoother.png
Views: 223
Size:  94.0 KB
Old Mar 29, 2011 | 08:30 AM
  #77  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 80,552
Total Cats: 4,368
From: Chantilly, VA
Default

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?
Old Mar 29, 2011 | 08:48 AM
  #78  
Greg G's Avatar
Thread Starter
Junior Member
 
Joined: Jun 2007
Posts: 411
Total Cats: 0
Default

Maybe my settings? Min duty?

Are those RPM valve closed & open values the RPM targets?

Name:  pid.jpg
Views: 224
Size:  42.2 KB

I still get a bad droop if I rev it, how can I adjust the software dashpot settings to avoid this?
Old Mar 29, 2011 | 09:10 AM
  #79  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 80,552
Total Cats: 4,368
From: Chantilly, VA
Default

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.
Old Mar 29, 2011 | 09:33 AM
  #80  
Greg G's Avatar
Thread Starter
Junior Member
 
Joined: Jun 2007
Posts: 411
Total Cats: 0
Default

Found the table, adjusted it to suit the temperatures I see.

Name:  clt.jpg
Views: 229
Size:  44.2 KB

Anything else I should look for? Thanks for the help



All times are GMT -4. The time now is 10:23 AM.