Welcome, Guest. Please Login or Register
MyECU main site
  Welcome to our forum.
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
instant correction (Read 8676 times)
raz
Senior Member
****
Offline


Guzzi 11OO Sport, My16MkV,
Innovate LC-1

Posts: 373
Stockholm, Sweden
Gender: male
instant correction
08/06/09 at 11:42:47
 
This is not really a development suggestion, just a thought - or the seed for some technical discussions.

The current closed loop logic just homes in relatively slowly towards a correction that results in the configured target voltage. This is probably the best solution for a narrowband sensor but maybe not for a wideband one.

Have you tried, or considered, having the ECU actually know what the o2 voltage means (e.g. a voltage that is 20 mV too high means we need to add 4% fuel)? I know some ECUs does it that way but I'm not sure how much of a benefit it would be IRL. I figure it would be more correct for transitions and WOT runs. I guess it could make Autotune much quicker than today. But the real world tends to be more complicated than theories...
Back to top
 

59° North
1100 Sport iniezione elettronica -- the perfect merge of a superbike and a steam train
 
IP Logged
 
Luhbo
Full Member
***
Offline


I Like My15M!

Posts: 186
Germany
Re: instant correction
Reply #1 - 08/07/09 at 06:14:02
 
Have you thought about the risk of getting an unstable, oscillating correction mechanism if you make things remarkably faster? There is always a delay between signal and answer in this case, so the system might be quite prone to such a behaviour.

Hubert
Back to top
 
 
IP Logged
 
raz
Senior Member
****
Offline


Guzzi 11OO Sport, My16MkV,
Innovate LC-1

Posts: 373
Stockholm, Sweden
Gender: male
Re: instant correction
Reply #2 - 08/07/09 at 19:32:19
 
Yes, some homing mechanism or damping must still be there of course. Like today but much quicker. I imagine the current implementation has (more or less) no clue if we are 30% rich or 0.5% rich - since it does not know if the 0-5 volt span means AFR 13.5-14.5 or 0.5-22 or something else.
Back to top
« Last Edit: 08/07/09 at 19:33:43 by raz »  

59° North
1100 Sport iniezione elettronica -- the perfect merge of a superbike and a steam train
 
IP Logged
 
Luhbo
Full Member
***
Offline


I Like My15M!

Posts: 186
Germany
Re: instant correction
Reply #3 - 08/07/09 at 23:14:41
 
This could be more important for ecus running in automobile environments. Differently to cars a motorcycle engine is running very quickly through the map. Quick accelerations, throttle cut, wide open again, shift up, shift down, that's in no way comparable to what you do with a car. That's one of the reasons that most if not all M/C ecus are based on this simple alpha/n model. No MAP sensors and other gimmicks. Just quick and dirty guessing.

That's what I already wrote in another thread: for me it's most important to have a quick or even real-time working ecu. Looking into too many maps and doing too many calculations would be counterproductive.

The art of ecu programming then is defined as to know what "Too many" means. If you don't know a good answer for that questions you better leave out the one or other feature Wink

Hubert
Back to top
 
 
IP Logged
 
raz
Senior Member
****
Offline


Guzzi 11OO Sport, My16MkV,
Innovate LC-1

Posts: 373
Stockholm, Sweden
Gender: male
Re: instant correction
Reply #4 - 08/08/09 at 00:42:38
 
Your way of seeing it speaks against running closed loop at all. You describe it good but come to the opposite conclusion than I do: since we have much more transient and changing situations we need blazingly fast correction. Otherwise there is no point running closed loop (ok, I over exaggerate a little).

Also, Cliff has the opportunity to select which functions should be in the ECU and which should be in the Optimiser. In fact the whole closed-loop part could move into the Optimiser if you like to have a simple & foolproof ECU. Communication speed and latency will of course be obstacles.

Just thoughts, still. I'm pretty impressed with the current implementation.
Back to top
 

59° North
1100 Sport iniezione elettronica -- the perfect merge of a superbike and a steam train
 
IP Logged
 
Luhbo
Full Member
***
Offline


I Like My15M!

Posts: 186
Germany
Re: instant correction
Reply #5 - 08/08/09 at 02:44:37
 
You're right, this speaks against closed loop operation. And in fact I feel the ecu behaves crispier when run in open, in standard mode. Of course you need a more or less usable map for this. The map Cliff supports with every My15M is good enough for that.
Talking about the time delay: let the bike idle, whack the throttle, then wait for the O2 value to change and come back. It takes a lot of time!

Now don't come over and say that's a problem having to do with my equipement. The point is that an ecu must work with everybody's stuff and, most difficult Wink , with everybody's preferencies.

Hubert
Back to top
 
 
IP Logged
 
_Cliff_
YaBB Moderator
*****
Offline


I Love YaBB 2!

Posts: 126
Re: instant correction
Reply #6 - 08/08/09 at 10:44:58
 
Hubert is correct. The closer you try to get to real time performance the more complex the controller becomes to stop oscillations and give optimal responses.

Having said that the closed loop is still the first cut of code that I did ( simple always seems to work well enough for most situations ) and there is always room for small improvements.

At the moment a closed loop adjustment is done every 8 powercycles when an adjustment of 8, 2, 1 or 0 is made to the correction value ( ~1000 )
Back to top
 
 
IP Logged
 
raz
Senior Member
****
Offline


Guzzi 11OO Sport, My16MkV,
Innovate LC-1

Posts: 373
Stockholm, Sweden
Gender: male
Re: instant correction
Reply #7 - 08/10/09 at 08:44:48
 
Luhbo wrote on 08/08/09 at 02:44:37:
You're right, this speaks against closed loop operation. And in fact I feel the ecu behaves crispier when run in open, in standard mode.

I noticed that too. I had a very good closed loop map, then when my sensor started to act like a woman I went open loop - and the bike felt better than *ever*. This is one of the reasons it would be nice to be able to switch between open and closed loop using the Optimiser. My goal is to have a perfect map for my bike before my sensor dies of age - and from that point I will run open loop.

_Cliff_ wrote on 08/08/09 at 10:44:58:
At the moment a closed loop adjustment is done every 8 powercycles when an adjustment of 8, 2, 1 or 0 is made to the correction value ( ~1000 )

I'm not sure I understand that fully. How does it know if it should adjust by 8 or 1 or something else? Does it 'learn' how much a deviation from the target should be treated?
Back to top
 

59° North
1100 Sport iniezione elettronica -- the perfect merge of a superbike and a steam train
 
IP Logged
 
_Cliff_
YaBB Moderator
*****
Offline


I Love YaBB 2!

Posts: 126
Re: instant correction
Reply #8 - 08/18/09 at 11:49:43
 
raz wrote on 08/10/09 at 08:44:48:
I'm not sure I understand that fully. How does it know if it should adjust by 8 or 1 or something else? Does it 'learn' how much a deviation from the target should be treated?

It just bases his on how far it is from the target. Nothing fancy.
Back to top
 
 
IP Logged
 
raz
Senior Member
****
Offline


Guzzi 11OO Sport, My16MkV,
Innovate LC-1

Posts: 373
Stockholm, Sweden
Gender: male
Re: instant correction
Reply #9 - 08/18/09 at 15:37:51
 
_Cliff_ wrote on 08/18/09 at 11:49:43:
raz wrote on 08/10/09 at 08:44:48:
I'm not sure I understand that fully. How does it know if it should adjust by 8 or 1 or something else? Does it 'learn' how much a deviation from the target should be treated?

It just bases his on how far it is from the target. Nothing fancy.

So it makes assumptions on what the o2 value means. That means if I knew what that assumption is, and set my LC-1 output level as close as possible to that assumption, I should get quicker closed loop reaction. Or if we look at it another way, if I could tell the ECU what the sensor level means, that should also yield quicker homing.
Back to top
 

59° North
1100 Sport iniezione elettronica -- the perfect merge of a superbike and a steam train
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print