Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   MEGAsquirt (https://www.miataturbo.net/megasquirt-18/)
-   -   MS2 AC Idle Up Code (https://www.miataturbo.net/megasquirt-18/ms2-ac-idle-up-code-60882/)

gslender 10-06-2011 03:00 AM

MS2 AC Idle Up Code
 
Hi,

For those with MS2 systems, I'm working on establishing a firmware release that contains code for AC Idle Up.

Following the progress and provide your thoughts here... http://www.msextra.com/forums/viewto...p?f=91&t=42485

G

gslender 10-08-2011 10:52 PM

Test code has been posted... which works... oh yeah!!

Based on 3.1.3 code and include configurable delay.

http://www.msextra.com/forums/viewto...299164#p299164

Techsalvager 10-10-2011 10:35 AM

I wonder if the ecu disengages the AC at full throttle or above said TPS position or maybe its part of an external. If it does disengage the ac, I think thats another thing that would need implemented.

I have to say good work!

richyvrlimited 10-10-2011 10:39 AM

It does and it already is.

gslender 10-10-2011 03:58 PM


Originally Posted by Techsalvager (Post 781706)
I think thats another thing that would need implemented.

I have to say good work!

Using my firmware you can. Just setup another AND condition to be TPS < 90 and the AC (via WLED) will only activate when the timer hits your value AND when the throttle is under WOT. if you don't have a VTPS you can use rpm or kpa to simulate what high load you don't want the AC to engage under.

So cool. :bowrofl:

G

Techsalvager 10-10-2011 04:29 PM

gslender yeah I didn't see it until I read the first post.

sparkstack 10-11-2011 05:04 PM

I've found that if i enter the number 3 in the battery factor my car dies and won't start again until it's changed back to 2 or 4.

Any reason for this?

Greg G 10-11-2011 05:35 PM

Could you post a log? Wonder if it affects cranking idle valve duty..

sparkstack 10-11-2011 05:45 PM

4 Attachment(s)
two attached

gslender 10-11-2011 05:53 PM

I think I know what it is... an undated firmware is coming in a few minutes. Would be great if you can confirm fixed... hang on.

gslender 10-11-2011 05:57 PM

2 Attachment(s)
try this firmware. the ini hasn't changed.

Greg G 10-11-2011 06:39 PM

Sparkstack-- dunno about the cranking issue, but it looks like the battery idle valve correction is too strong, possible contributing to the oscillation you get. Have you tried a factor of 1 or lower?

My concept of it is that it should catch any RPM dip due to large drops in voltage, and should have minimal impact during steady state idling. Could the correction ramp up as it gets farther from 13.2? Or perhaps a dead zone/minimal batt voltage parameter be used? Will try it on my car in a bit, and post back.

gslender 10-11-2011 07:03 PM


Originally Posted by Greg G (Post 782395)
My concept of it is that it should catch any RPM dip due to large drops in voltage, and should have minimal impact during steady state idling. Could the correction ramp up as it gets farther from 13.2? Or perhaps a dead zone/minimal batt voltage parameter be used? Will try it on my car in a bit, and post back.

Mmmm, well there is obviously scope to get this mod included in my firmware, but I just need guidance on what you are looking to fix. I personally don't see any issues with lights, car audio with voltage drops that are causing idle rpm dip, but that might be because I'm accepting of very slight fluctuations and hunting - which was there before with the stock ECU. :dunno:

Telling me large drops, dead zones, minimal batt voltage don't help - as without specific values, my interpretation on what minimal is, might not be yours .... :ugh::eek3:

In saying that, if you can describe what you want (ie when voltage goes to X please make duty go to Y, and give me a few points on a table, I can work out a formula that can model this and add some element of adjustment factor to account for other peoples needs etc. :cool:

G

Greg G 10-11-2011 07:15 PM

Got it. Will test it out and sift through the data! Thanks! :)

gslender 10-11-2011 07:38 PM

...also, there is non-linear battery correction already included (recent update) for the injector PW, so might be best to confirm operation with my battery duty fix disabled (set to zero) as realistically I'm unlikely to catch-and-stop a voltage drop quickly anyway and the injector stuff might be the better outcome... assuming you only wish to restore correct idle operations when voltage drops to 10V instead of 13.2V ???

G

gslender 10-11-2011 07:39 PM

...eg Battery correction factor in opening time

sparkstack 10-11-2011 07:42 PM


Originally Posted by gslender (Post 782405)
Mmmm, well there is obviously scope to get this mod included in my firmware, but I just need guidance on what you are looking to fix. I personally don't see any issues with lights, car audio with voltage drops that are causing idle rpm dip, but that might be because I'm accepting of very slight fluctuations and hunting - which was there before with the stock ECU. :dunno:

I'd go along with that. My bone stock 90 never had a rock solid idle, it always fluctuated a little, which is probably due to the narrowband sensor. It usually idled between 14.2 and 15.7, the warmer it got the narrower the swing.

Now i'd love a rock solid 850rpm (1000rpm with AC) idle with the MSQ, but right now i'm not there and i'm not going to loose sleep over it. Prior to this firmware i either had a 1200rpm base idle or knock when the AC was on. My main priority now i've got this far (thanks gslender) is to drive it around and tune the rest of the map. I'll come back to idle later.

gslender 10-11-2011 08:18 PM

So sparkstack, did that revised firmware fix the bug with duty factor set to 2/3/4 etc.... ?

G

Greg G 10-11-2011 08:46 PM

Ok quick report on the battery idle correction- works great, my only request is that we be able to input correction factors in tenths. My sweet spot is somewhere between 1 and 2. Small rpm dip if factor is 1- if factor is 2, the rpm actually rises when the fan goes on! But yippee it works! No issue with steady state idle, it is the smoothest it's been in an long time. :makeout:

There some more smoothness to be had with tapering the PID values down to match the new idle control features. Will post data and graphs in a few hours, they are quite interesting.

EDIT: graphs/logs posted on my idle thread so as not to pollute this one ;)

sparkstack 10-11-2011 10:00 PM


Originally Posted by gslender (Post 782451)
So sparkstack, did that revised firmware fix the bug with duty factor set to 2/3/4 etc.... ?

G

Haven't tested it yet. I'll test it out tomorrow when i get home.


All times are GMT -4. The time now is 09:11 PM.


© 2024 MH Sub I, LLC dba Internet Brands