View Single Post
Old 05-10-2009, 11:19 PM   #1183 (permalink)
esoneson
EcoModder Student
 
esoneson's Avatar
 
Join Date: Nov 2008
Location: Youngsville, NC
Posts: 117
Thanks: 11
Thanked 14 Times in 13 Posts
Paul and Adrian,

I have used Subversion for document/source code control and it works well and the Windows app/interface Tortoise is simple and easy to use. Paul, you should have no problem using what Adrian has provided what is called a "sand box". The place to put all your crap.......I mean code, documents, etc. Thanks again Adrian for your generous contribution of space. And Paul, you need not worry that it is on another machine out there in cyberspace, but if you do worry, you can always keep your own copies on your own machine. Believe me there will come a time when you change the code and don't have a copy of the last version when you realize that you made some goofy mistake and can't find out where it is. I am sure that Adrian will attest to this as I have done it many times also. It is just a very nice safety net to have when you need it.

Your running average is a great smoothing method, one I have used to smooth out the detection of signal strength in the DSL driver world (another story all together).

Great progress in the throttle control, that is superb.

One thing that you should be thinking about is acceleration. I.e. how fast you implement the rate of change when the throttle is detected to be above current (when the driver wants to go faster). This is one of those things that I see as a selectable value. Rate of change slow for granny or the valet or your teenage child. Rate of change faster for the normal moderate driver and rate of change really fast for the Grand Prix driver.

Also, the rate of change when decelerating should be really really quick since there is no motor "drag" and you sure as heck do not want to apply current when the driver wants to slow down or stop. This can be revisited when regen comes into play, but not now.
I think deceleration should be very quick, if someone else sees a use for doing it on a graduated scale, let me know.

I have my STK500 set up with the AtMega8 and am playing with your code (which is old already.....see how you need source code control). I will email you some guidelines for dealing with bits-on bits-off so you don't have to do the 128+64+....stuff. It will all be clear.

But for now, another couple of :thum bup: for all your great work!!!!

Eric
__________________
1995 BMW 318i EV in the making
  Reply With Quote