MEGAsquirt A place to collectively sort out this megasquirt gizmo

VE analyze and Autotune seems funny (noob)

Thread Tools
 
Search this Thread
 
Old 09-11-2015, 07:51 AM
  #21  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

Originally Posted by Ted75zcar
Just opened the tune. You need to use "incorporate AFRTarget" under general settings for a VE table to have any real world values.
define "real world value"

80% of us probably still don't use incorporate AFRTargets yet, but we aren't real.



that's the the cause of his issue.

this is like saying: 3 + 4 = 7 but that's not real world **** -- you need to start solving for 7 by adding 5 and 2 instead.
Braineack is offline  
Old 09-11-2015, 07:52 AM
  #22  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,772
Total Cats: 353
Default

Where did you tie the Kelvin sense (this is the feedback wire to the alternator)? This is the voltage the alternator regulates, and IIRC is on the injector power net in my NA.
Ted75zcar is offline  
Old 09-11-2015, 07:57 AM
  #23  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,772
Total Cats: 353
Default

Originally Posted by Braineack
define "real world value"

80% of us probably still don't use incorporate AFRTargets yet, but we aren't real.



that's the the cause of his issue.

this is like saying: 3 + 4 = 7, but you need to start solving for 7 by adding 5 and 2.
First of all, I hope your stat is wrong!

Real World Values - values that are actually representative of the term they represent in the fundamental fueling equation. In other words ... Volumetric efficiency. The ratio of the volume of air drawn into the cyl vs the ideal volume as calculated by the chamber dimensions.
Ted75zcar is offline  
Old 09-11-2015, 08:01 AM
  #24  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,772
Total Cats: 353
Default

Dude this is control systems 101 type stuff. You need to get the proper plant with gain in order to normalize the transfer function.
Ted75zcar is offline  
Old 09-11-2015, 08:17 AM
  #25  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,772
Total Cats: 353
Default

Triple baby!

So to help clarify a bit...

Any fuel related compensation that uses the arbitrary adder % is in the control loop and will have additional error if not using AFRTarget.

Any fuel relayed value that uses an adder with units (msec for instance) is outside the loop and not impacted.

Now to be honest, I have not looked under the hood and reviewed the MS firmware, but that is mainly due to the fact that it acts like it is coded the way I would design it thus far and I haven't seen the need.
Ted75zcar is offline  
Old 09-11-2015, 08:31 AM
  #26  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

Originally Posted by Ted75zcar
First of all, I hope your stat is wrong!
yeah we use it as fuel map, not a ve table.


you wanna know the difference between it on and off?

PW = REQ_FUEL * VE * MAP * E + accel + Injector_open_time

vs.

PW = ([REQ_FUEL * VE * MAP] / [14.7 / AFR Target]) * E + accel + Injector_open_time
Braineack is offline  
Old 09-11-2015, 08:35 AM
  #27  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,772
Total Cats: 353
Default

Originally Posted by Braineack
yeah we use it as fuel map, not a ve table.
Unfortunate, but it does explain a lot.
Ted75zcar is offline  
Old 09-11-2015, 08:37 AM
  #28  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,772
Total Cats: 353
Default

Originally Posted by Braineack
yeah we use it as fuel map, not a ve table.


PW = REQ_FUEL * VE * MAP * E + accel + Injector_open_time

vs.

PW = (REQ_FUEL * VE * MAP * E ) / (14.7 / AFR Target) + accel + Injector_open_time
Yep... See all the terms that get fooked? How can anybody unlock the powah?!!!
Ted75zcar is offline  
Old 09-11-2015, 08:39 AM
  #29  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

Originally Posted by Ted75zcar
Yep... See all the terms that get fooked? How can anybody unlock the powah?!!!
They simply tune in a different manner than you, unlock the same amount of power, and move on with life?


I will say that incorporate AFR is probably the better way to go. But both can/will achieve the same end result: In one way you're tuning your VE table directly to the AFR targets you want to hit, the other way you're tuning your VE table to stoich and applying the ARF targets into the fueling algorithm.
Braineack is offline  
Old 09-11-2015, 08:44 AM
  #30  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,772
Total Cats: 353
Default

Originally Posted by Braineack
They simply tune in a different manner than you, unlock the same amount of power, and move on with life?
Hmmm, well as someone who routinely works with much more complex control systems, I am going to have to disagree with you on this point.
Ted75zcar is offline  
Old 09-11-2015, 08:53 AM
  #31  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

Originally Posted by Ted75zcar
Hmmm, well as someone who routinely works with much more complex control systems, I am going to have to disagree with you on this point.
common core math: the way you reached the answer much more important than answer itself.


all this aside: if something else is afoot preventing him from getting a good tune without AFR targets as part of the fueling algorithm, including them isn't going to solve the problem.
Braineack is offline  
Old 09-11-2015, 09:00 AM
  #32  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,772
Total Cats: 353
Default

While it is obvious based on the 80% stat that this discussion belongs elsewhere, I encourage you to consider the error term associated with each dependent term in the previously posted equations... Keep in mind we are talking about a product operation
Ted75zcar is offline  
Old 09-11-2015, 09:07 AM
  #33  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,772
Total Cats: 353
Default

Originally Posted by Braineack


all this aside: if something else is afoot preventing him from getting a good tune without AFR targets as part of the fueling algorithm, including them isn't going to solve the problem.
There is something else wrong for sure, several thing actually. For instance, in the regions where he targets AFR 14.7, the equations are equivalent. He is reporting a true VE there on ~80%

We all know how well the heads (even the BP4W) flow on these cars, and how the efficiency of the internal combustion engine varies with manifold pressure ...

He most likely has an error someplace that is corrupting the req-fuel number.

There are obviously HW things that could cause this as well.

The edge scalloping on his fuel map (uhg) ... Also tells us stuff.

One problem at a time though I think
Ted75zcar is offline  
Old 09-11-2015, 02:13 PM
  #34  
Elite Member
iTrader: (1)
 
Chiburbian's Avatar
 
Join Date: Feb 2008
Location: Loganville, GA
Posts: 2,331
Total Cats: 202
Default

Here are my maps. I did some manual adjustments to smooth them out in the low load areas. Also, not sure what to do at the extreme low rpm areas.

This is WITH incorporate AFR active




Could it have something to do with my lambda delay?




Attached Thumbnails VE analyze and Autotune seems funny (noob)-80-screenshot_2015_09_11_12_43_14_9bf6f055b0e1e9d800e513fe629f27503f8e8f75.png   VE analyze and Autotune seems funny (noob)-80-screenshot_2015_09_11_12_43_31_6d10e641edea8839879f187855534bc2e49d4b3d.png   VE analyze and Autotune seems funny (noob)-80-screenshot_2015_09_11_13_07_37_c885e71c46d9e778c2e4e70e54133be9d77d48fe.png  
Chiburbian is offline  
Old 09-11-2015, 02:58 PM
  #35  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,772
Total Cats: 353
Default

Looks to me like you are delivering less fuel than the MS thinks. I am not as familiar with the VVT typical efficiencies, but I would be very surprised to hear that you get anywhere near the VE your map displays. Remeber to use the actual stoich of the fuel you use for the req fuel calculation. We only have E10 at the pumps here, so I used a stoich of 14.1. This is NOT the same number for the AFR table, which is based off of lambda and scaled for gasoline (14.7). You want to leave that with the typical AFR targets for E0, your wideband takes care of the scaling there automatically.

Have you performed any head work? Did you accurately calculate the actual injector flow at your measured fuel pressure?
Ted75zcar is offline  
Old 09-11-2015, 03:01 PM
  #36  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,772
Total Cats: 353
Default

The left side scallop could be due to delay. What is your target idle? It is common practice to tightly window the target idle in both the RPM and load domains.
Ted75zcar is offline  
Old 09-11-2015, 03:03 PM
  #37  
Newb
 
RichieVee's Avatar
 
Join Date: Sep 2015
Posts: 20
Total Cats: -21
Default

Originally Posted by Ted75zcar
Hmmm, well as someone who routinely works with much more complex control systems, I am going to have to disagree with you on this point.
I had to register just to make this point.
The engine doesn't care what control strategy you use. If the amount of fuel being injected gives a certain AFR, that's all that matters.
The ONLY difference is the number you put in a box.

I'm a calibration engineer for an oem engine manufacture and I work with complex control systems.

The benefit of including the AFR table in the calibration is you can alter the afr as simply as changing the afr table.
But why would you calibrate to an afr you don't plan to run with?
RichieVee is offline  
Reply
Leave a poscat -1 Leave a negcat
Old 09-11-2015, 03:08 PM
  #38  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

Originally Posted by RichieVee
I had to register just to make this point.
The engine doesn't care what control strategy you use. If the amount of fuel being injected gives a certain AFR, that's all that matters.
The ONLY difference is the number you put in a box.

I'm a calibration engineer for an oem engine manufacture and I work with complex control systems.

The benefit of including the AFR table in the calibration is you can alter the afr as simply as changing the afr table.
But why would you calibrate to an afr you don't plan to run with?
8 likecats for this post.
:like cat:
Braineack is offline  
Old 09-11-2015, 03:12 PM
  #39  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,772
Total Cats: 353
Default

Originally Posted by RichieVee
I had to register just to make this point.
The engine doesn't care what control strategy you use. If the amount of fuel being injected gives a certain AFR, that's all that matters.
The ONLY difference is the number you put in a box.

I'm a calibration engineer for an oem engine manufacture and I work with complex control systems.

The benefit of including the AFR table in the calibration is you can alter the afr as simply as changing the afr table.
But why would you calibrate to an afr you don't plan to run with?
While I repect that you work in industry, I am going to have to disagree with this statement. I have been wrong before though!

When you draw a simplified block diagram of the control system, the error in VE propagates through to all of the corrections. Additionally, since it is nearly impossible to hold the other inputs in a static state, the autotuner will compound the errors associated with thise terms.
Ted75zcar is offline  
Old 09-11-2015, 03:17 PM
  #40  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,772
Total Cats: 353
Default

Originally Posted by RichieVee
If the amount of fuel being injected gives a certain AFR, that's all that matters.
This sir is exactly the point. How do we determine how much fuel to deliver?
Ted75zcar is offline  


Quick Reply: VE analyze and Autotune seems funny (noob)



All times are GMT -4. The time now is 03:11 AM.