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 | 09:41 AM
  #1  
miatauser884's Avatar
Thread Starter
Elite Member
iTrader: (11)
 
Joined: 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
Old 11-03-2011 | 09:56 AM
  #2  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 79,819
Total Cats: 4,152
From: Chantilly, VA
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.
Old 11-03-2011 | 11:25 AM
  #3  
y8s's Avatar
y8s
DEI liberal femininity
iTrader: (8)
 
Joined: Jun 2005
Posts: 19,338
Total Cats: 574
From: Fake Virginia
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
Old 11-03-2011 | 11:48 AM
  #4  
miatauser884's Avatar
Thread Starter
Elite Member
iTrader: (11)
 
Joined: 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
Old 11-03-2011 | 12:27 PM
  #5  
Ben's Avatar
Ben
Supporting Vendor
iTrader: (33)
 
Joined: Jul 2006
Posts: 12,659
Total Cats: 134
From: atlanta-ish
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.
Old 11-03-2011 | 01:15 PM
  #6  
y8s's Avatar
y8s
DEI liberal femininity
iTrader: (8)
 
Joined: Jun 2005
Posts: 19,338
Total Cats: 574
From: Fake Virginia
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.
Old 11-03-2011 | 01:45 PM
  #7  
miatauser884's Avatar
Thread Starter
Elite Member
iTrader: (11)
 
Joined: 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.
Old 11-03-2011 | 03:02 PM
  #8  
bearda's Avatar
Junior Member
 
Joined: 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.
Old 11-03-2011 | 03:04 PM
  #9  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 79,819
Total Cats: 4,152
From: Chantilly, VA
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.
Old 11-03-2011 | 09:26 PM
  #10  
miatauser884's Avatar
Thread Starter
Elite Member
iTrader: (11)
 
Joined: 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
Old 11-03-2011 | 10:33 PM
  #11  
miatauser884's Avatar
Thread Starter
Elite Member
iTrader: (11)
 
Joined: 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.
Old 11-03-2011 | 10:37 PM
  #12  
miatauser884's Avatar
Thread Starter
Elite Member
iTrader: (11)
 
Joined: Feb 2009
Posts: 2,959
Total Cats: 11
Default

Appears that ,y idle open duty value set to 63.3 wasn't high enough
Old 11-03-2011 | 11:22 PM
  #13  
miatauser884's Avatar
Thread Starter
Elite Member
iTrader: (11)
 
Joined: 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.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
mikeflys1
Miata parts for sale/trade
15
10-27-2018 03:19 PM
stefanst
DIY Turbo Discussion
44
09-28-2015 08:16 PM
JasonC SBB
ECUs and Tuning
4
09-23-2015 12:51 PM
AdoboMiata
MEGAsquirt
4
09-22-2015 03:32 AM
compuw22c
MEGAsquirt
4
09-12-2015 08:42 PM




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