MEGAsquirt A place to collectively sort out this megasquirt gizmo

Closed loop idle too early?

Thread Tools
 
Search this Thread
 
Old 12-05-2015, 02:21 PM
  #41  
Elite Member
iTrader: (3)
 
deezums's Avatar
 
Join Date: May 2014
Location: Kansas
Posts: 3,146
Total Cats: 201
Default

Originally Posted by patsmx5
Again I'm new to this, but why would you want closed loop to register negative RPM changes to disable it? If it did that, it would turn off closed loop if the RPMs drop and it tries to die on you- the opposite of what you want!
Swing and a miss.

Aidan's problem is closed loop turns on while he's crhsing at 1800 rpm. Closed loop can't bring 1800 rpm down to idle, because its not idle. When it actually goes to idle the idle valve duty is way too low because its been trying to slow down 1800 rpm when it shouldn't.

Pid disable rpmdot would kill closed loop if it accidentally engaged like this, and if the initial value table were tuned right then it wont stall and'll be close to the proper idle value.

I will check to see if my ms2 will disable on negative values here in a bit.
deezums is offline  
Old 12-05-2015, 02:22 PM
  #42  
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

Pat, I do understand your take on it. And that very well may be the developers idea. Just wanted to check with the older code to see if it used to be different.
aidandj is offline  
Old 12-05-2015, 02:25 PM
  #43  
Elite Member
iTrader: (3)
 
deezums's Avatar
 
Join Date: May 2014
Location: Kansas
Posts: 3,146
Total Cats: 201
Default

On ms2 I can't set pid disable rpmdot lower than 200 rpm. If rpm drops harder than 200 rpm/sec near idle values ***** about to stall unless the valve is opened.

I'm nearly certain that's what it's for.
deezums is offline  
Old 12-05-2015, 02:27 PM
  #44  
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

In my mind its this.

Set the PID disable to just above what your normal idle variation is, when turning on loads and whatnot.

If it goes above normal, **** has hit the fan, and add dashpot and go to initial value.
aidandj is offline  
Old 12-05-2015, 02:32 PM
  #45  
Elite Member
iTrader: (16)
 
patsmx5's Avatar
 
Join Date: Aug 2007
Location: Houston, TX
Posts: 9,298
Total Cats: 477
Default

Ah, makes sense. I'll try messing with that on my car and see how it works. Can you post your MAT initial value table?
patsmx5 is offline  
Old 12-05-2015, 02:34 PM
  #46  
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

I can, but its barely tuned at all. Works somewhat decent.



For reference my min and max are 29 and 68
Attached Thumbnails Closed loop idle too early?-80-xqwe6uk_6c0bfcb00da99ece7d8586b93ac1b827be133627.png  
aidandj is offline  
Old 12-05-2015, 02:36 PM
  #47  
Elite Member
iTrader: (16)
 
patsmx5's Avatar
 
Join Date: Aug 2007
Location: Houston, TX
Posts: 9,298
Total Cats: 477
Default

Thanks. I gotta fix what I believe is a failed clutch master cylinder, but then I'll mess around with some idle settings later. If I figure anything out I'll post it here. I have it using last value, not MAT table so I'm gonna set that up first.
patsmx5 is offline  
Old 12-05-2015, 02:48 PM
  #48  
Elite Member
iTrader: (3)
 
deezums's Avatar
 
Join Date: May 2014
Location: Kansas
Posts: 3,146
Total Cats: 201
Default

The problem with use last value is that it would still stall Aidan's car. It thought 29% idle valve were proper at 1800 RPM, then he stalled. If It weren't for the startup idle valve adders the thing would try and pull 29% DC on entry next time, which we know can cause stalls. (say he saved it stalling, now the car thought it idled fine and just left CL idle, and it's going for 29% next time first ting) I think it also causes the problems we saw Curly mention the other day, that is stacking dashpot adders if you blip the throttle many times in a row.

It basically exits closed loop when you blip the throttle, then goes back in while the RPMS are on the way down. If you blip the throttle again before dashpot is gone completely you enter too high after the next blip.

Tuning the initial value table is a pain, but CL idle ain't worth anything without it. My strategy like I said earlier is never closing the valve, it always tries to apply an idle valve value based on the initial table if CL is engaged or not, that way if my dashpot isn't completely out of the way I won't be adding to it, I only ever add to the initial valve table, crazy consistent values!
deezums is offline  
Old 12-05-2015, 04:45 PM
  #49  
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

I wonder if this is caused by my TPS not returning all the way to zero, because its a wells tps that doesnt fit the throttle body perfectly?

On the scope there is about .02v p-p noise. And when tuner studio reads different values when i close the throttle the scope reads different voltages too. ****.

Deezums let me know when you check the negative RPMdot. I want to report it as a bug to Ken/James.
aidandj is offline  
Old 12-05-2015, 04:51 PM
  #50  
Elite Member
iTrader: (16)
 
patsmx5's Avatar
 
Join Date: Aug 2007
Location: Houston, TX
Posts: 9,298
Total Cats: 477
Default

So it's a TPS issue. Try all the suggestions already posted here. Replace it if they don't work.
patsmx5 is offline  
Old 12-05-2015, 04:57 PM
  #51  
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

I played with the adjustment some. No go. I'll try again in the other direction. Ugh, do not want to replace this thing again. I'm on like the 3rd one.

My issue would be solved if the rpmdisable worked both ways.
aidandj is offline  
Old 12-05-2015, 05:57 PM
  #52  
Elite Member
iTrader: (3)
 
deezums's Avatar
 
Join Date: May 2014
Location: Kansas
Posts: 3,146
Total Cats: 201
Default

I think my disable RPMdot is working on negative RPMdot values.

I also incorrectly assumed MS2 wouldn't let me set less than 200rpmdot max, I can go down to 100, and I've had it set as low as it'll go.

I dropped to around 650rpm in this log around 100 seconds and recovered using fuel and timing alone, the idle valve didn't move the whole way through. You might be able to fix the stalling, while still having dips at least.




This is my valve at the min duty cycle in 4th gear, I just pushed it into neutral and coasted. Idle DC came up before passing my CLidle target.

I don't use PID either, it suuucks. I love this dummy mode, if it's low it adds, if it's high it takes. If I tell it to slow the **** down and let things settle between adjustments, it does! I run EGO correction the same way.



Is there a flag or ADC for CLidle active in a MSL? I can't find it.
Attached Thumbnails Closed loop idle too early?-wq0sqbe.jpg   Closed loop idle too early?-waq9qz7.jpg  
Attached Files
File Type: msl
2015-12-05_16.22.02.msl (3.72 MB, 136 views)
deezums is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
nelson8708
AEM
8
03-09-2016 05:34 PM
ryansmoneypit
MEGAsquirt
23
12-08-2015 09:29 AM
MohitMiata94
General Miata Chat
1
12-03-2015 06:39 PM
.one lane
MSPNP
2
11-29-2015 01:25 PM
whinin
MEGAsquirt
10
11-14-2015 05:43 PM



Quick Reply: Closed loop idle too early?



All times are GMT -4. The time now is 06:48 AM.