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 06-12-2009, 06:14 AM   #36
Registered Member
 
Join Date: Mar 2009
Posts: 1,139
After reading oneinchsidehop's great observation that a constant throttle seems to handle minor hill variations well, I can drastically simplify the basic algorithm. In fact, it gets so simple there's no need for pseudo code:

Stay at a constant throttle unless the speed goes too low or too high, then just maintain those limits.

No OBDII input required certainly is tantalizing. Having two inputs for min and max speed seems like it might be too complicated (although proper input design could avoid the max being less than the min ever). Thinking about how I drive around here in a 50 mph zone (default VT speed limit), I get a min speed of about 40 (slower than that and I'd be in serious danger of a road rage shooting) and a max speed of 60 (hills steeper than that I go into neutral and coast). +/- 10mph would be a lot in a 35 zone, so maybe the min & max could be a percentage of the set cruise speed? So that'd be +/- 20%, or ranging between 28 and 42 in a 35 zone. Still seems high, but you could always set the target below 35 I guess. Need to let this process a bit.
__________________


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 06:23 PM.


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