MPG Cruise Control Algorithm - Fuelly Forums

Click here to see important news regarding the aCar App

Go Back   Fuelly Forums > Fuel Talk > General Fuel Topics
Today's Posts Search Click Here to Login
 
 
Thread Tools Display Modes
 
Prev Previous Post   Next Post Next
Old 04-15-2009, 02:36 PM   #31
Registered Member
 
Join Date: Mar 2009
Posts: 1,139
Redid the algorithm. A lot of the complexity is hidden in the "compute speed for maximum efficiency" statement. A look up table could get the system close and then a control system examining the instantaneous mpg could refine it. I considered a maximum speed case, but since braking is under the control of the driver and also that a steep grade would lead to coasting anyway, I don't think it will be needed. This differs slightly from what I do now in that I do a limited form of pulse and glide when already coasting anyway: I just let my speed go down really far. That behaviour seems less appropriate in a cruise control so I left it out. Once I have my new car computer and get some other testing done I will drive this algorithm to gauge its efficiency. Now I can think about how a GPS equipped algorithm could work. That gives a lot more possibilities!

Repeat {
if( grade <= MIN_GRADE_FOR_COASTING) {
// on steep downhill
coast;
} else if( speed <= MIN_SPEED ) {
// very steep uphill, economy is not the concern
adjust throttle as needed to maintain MIN_SPEED;
} else {
// slight uphill, level, or slight downhill
compute speed for maximum efficiency;
// for a level, this will be a cruise speed of around 50-55
// for slight uphill, this will be slower than the cruise speed
// for slight downhill, this will be faster than the cruise speed
}
}
__________________


Main Entry: co de pen dence - see codependency
co de pen den cy
Pronunciation: \kō-di-ˈpen-dən(t)-sē\
Function: noun
Date: 1979

: a psychological condition or a relationship in which a person is controlled or manipulated by another who is affected with a pathological condition (as an addiction to alcohol or heroin) ; broadly : dependence on the needs of or control by another
GasSavers_maximilian is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not very precise mpg calculation larjerr Fuelly Web Support and Community News 4 08-20-2012 01:03 AM
Average fuel mileage line in the history graph? BDC Fuelly Web Support and Community News 1 05-06-2009 12:07 AM
91 CRX DX 5 Speed Head Gasket Confusion UfoTofU General Maintenance and Repair 2 04-26-2008 10:09 AM
Is there a website where I can look up... wehrd1 General Maintenance and Repair 3 04-18-2007 05:23 PM
Congratulations Jared!!! SVOboy General Discussion (Off-Topic) 7 08-13-2006 08:55 PM

» Fuelly iOS Apps
» Fuelly Android Apps
Powered by vBadvanced CMPS v3.2.3


All times are GMT -8. The time now is 01:58 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2025, vBulletin Solutions, Inc.