MEGAsquirt A place to collectively sort out this megasquirt gizmo

IAC not responding the way I want with MS3x

Thread Tools
 
Search this Thread
 
Old 11-03-2011, 08:41 AM
  #1  
Elite Member
Thread Starter
iTrader: (11)
 
miatauser884's Avatar
 
Join Date: Feb 2009
Posts: 2,959
Total Cats: 11
Default IAC not responding the way I want with MS3x

My diypnp was running the Mario code and iirc it had a coolant based idle duty table. My MS3 doesn't seem to have this. When the car is cold it wants to idle very low, then as the car heats up the idle increases beyond the target rpm. I adjusted the idle set screw while the car was warm, with closed loop active to the desired rpm. However I think this might be the cause of the poor cold idle. I adjusted the idle set screw last night with pwm warmup and the idle valve overriden to a value of 19.1.

I then switched to closed loop and powercycled the MS. It held the idle that was set with the idle screw, but it doesn't seem to try to maintain the target rpm in the idle control settings. As a matter of fact, adjusting the PID values don't seem to do anything. I've always had my values set extremely low, and it seems to idle without oscillation. P=2.2, I=1.9, D=.1

My warmup idle target is 1500 rpm when the temp is 50 degrees. I performed the idle valve test and my rpms will increase and decrease with adjustment of the valve. IS this test just to test if it works. iirc I took the max and min duty values of where I saw change and transplanted them into my max and min duty% int he closed loop table. min=25 and max=63.3
miatauser884 is offline  
Old 11-03-2011, 08:56 AM
  #2  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

warum-up only mode is the coolant based idle duty mode.

Keep in mind there's a cranking duty table that will hold the PWM% at a static value until the crank to run timer threshold has been passed. sounds like that needs tuning.

But the simple fact your PID settings are that low means the code isn't doing anything. In the least you need more I to drive the RPM to the target. IIRC I run 50 30 80.
Braineack is offline  
Old 11-03-2011, 10:25 AM
  #3  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

MS3 does have coolant based idle speed targets. it's the big graph on the right side of the closed loop idle settings page. perhaps you have a monitor that is only 600 pixels wide?

also, as brain said, your PID settings will NEED to be tuned. There have been many PID code changes along the way for MS3 to make the code work better.
I run: P=7, I=33, D=12 on my 01
y8s is offline  
Old 11-03-2011, 10:48 AM
  #4  
Elite Member
Thread Starter
iTrader: (11)
 
miatauser884's Avatar
 
Join Date: Feb 2009
Posts: 2,959
Total Cats: 11
Default

Well with the MS2 I did tune my PID, and those are the values that kept the idle stable without oscillating. The table on the right is the rpm target vs coolant temp. Maybe I'm trying to tune too close to the min rpm set by my idle set screw. However, rasing my target rpm on the curve didn't seem to have any affect on the actual idle rpm.

I'll raise the target rpm to something like 1200 when the car is warm, and then start the PID tuning again.

Keep in mind there's a cranking duty table that will hold the PWM% at a static value until the crank to run timer threshold has been passed. sounds like that needs tuning.
This sounds like the ticket. I have not played with this table. I also didn't really know what it did. I may have two issues going on.

EDIT: And here I thought my current PID values just meant I was awesome
miatauser884 is offline  
Old 11-03-2011, 11:27 AM
  #5  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

The P value is the authority value. No P = no authority to modify idle valve duty cycle to correct error.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 11-03-2011, 12:15 PM
  #6  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

my mistake on idle DUTY target versus RPM target.

but with closed loop PID idle, you don't get to pick idle duties anymore (for now). the ECU does that.

incidentally, if you find you aren't reaching a set target, your Integral gain is too low.
y8s is offline  
Old 11-03-2011, 12:45 PM
  #7  
Elite Member
Thread Starter
iTrader: (11)
 
miatauser884's Avatar
 
Join Date: Feb 2009
Posts: 2,959
Total Cats: 11
Default

Ok, then I really think what is going on is that I was trying to tune the PID too close to the idle rpm I set with the idle screw.
miatauser884 is offline  
Old 11-03-2011, 02:02 PM
  #8  
Junior Member
 
bearda's Avatar
 
Join Date: Apr 2010
Posts: 107
Total Cats: 0
Default

Originally Posted by Braineack
warum-up only mode is the coolant based idle duty mode.
The mariob code has a temp to idle valve duty table added over the normal firmware. I think it was used as an initial value when you came into closed loop.
bearda is offline  
Old 11-03-2011, 02:04 PM
  #9  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

after the crank to run period in MS3, the current idle duty value is saved in memory and the MS always reverts back to the last value when coming back to closed loop + the dashpot.
Braineack is offline  
Old 11-03-2011, 08:26 PM
  #10  
Elite Member
Thread Starter
iTrader: (11)
 
miatauser884's Avatar
 
Join Date: Feb 2009
Posts: 2,959
Total Cats: 11
Default

Any tips for what a reasonable? I changed it to 65, 55, 45, then 19 when fully warm
miatauser884 is offline  
Old 11-03-2011, 09:33 PM
  #11  
Elite Member
Thread Starter
iTrader: (11)
 
miatauser884's Avatar
 
Join Date: Feb 2009
Posts: 2,959
Total Cats: 11
Default

As soon as the "crank to run taper" times out, (3s) closed loop idle kicks in and the car dies.
miatauser884 is offline  
Old 11-03-2011, 09:37 PM
  #12  
Elite Member
Thread Starter
iTrader: (11)
 
miatauser884's Avatar
 
Join Date: Feb 2009
Posts: 2,959
Total Cats: 11
Default

Appears that ,y idle open duty value set to 63.3 wasn't high enough
miatauser884 is offline  
Old 11-03-2011, 10:22 PM
  #13  
Elite Member
Thread Starter
iTrader: (11)
 
miatauser884's Avatar
 
Join Date: Feb 2009
Posts: 2,959
Total Cats: 11
Default

Victory is MINE! Thanks everyone. I ended up with 25 20.1 and 150. I had multiple combinations that worked. This is where I got tired of fiddling.
miatauser884 is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
mikeflys1
Miata parts for sale/trade
15
10-27-2018 02:19 PM
stefanst
DIY Turbo Discussion
44
09-28-2015 07:16 PM
JasonC SBB
ECUs and Tuning
4
09-23-2015 11:51 AM
AdoboMiata
MEGAsquirt
4
09-22-2015 02:32 AM
compuw22c
MEGAsquirt
4
09-12-2015 07:42 PM



Quick Reply: IAC not responding the way I want with MS3x



All times are GMT -4. The time now is 10:37 PM.