Go Back   EcoModder Forum > EcoModding > Fossil Fuel Free > Open ReVolt: open source DC motor controller
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 11-05-2009, 10:18 PM   #2541 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,826

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,365
Thanked 1,110 Times in 729 Posts
Hi Alvin! Alvin's settings are the old code. t-rr is 6. Kp = 8, Ki = 1 I think. I think Alvin's code actually has the same bug that Hondos has. If the throttle gets too much noise on it, then the software shuts down the code because it assumes that it has a bad throttle. So, Alvin, if you ever want the reprogrammable one, just let me know and I'll mail you a chip. But if you are happy with it, then that's fine too. It's no big deal though. Either way.

__________________
kits and boards
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 11-05-2009, 11:18 PM   #2542 (permalink)
EcoModding Apprentice
 
apowers's Avatar
 
Join Date: Aug 2009
Location: Tn
Posts: 126
Thanks: 14
Thanked 18 Times in 15 Posts
Hi Paul. I'm satisfied with the smoothness but I want a little more pep. I have been busy
with other gremlins like voltage sag(fixed that) charger problems not fully charging
I think I have fixed that. I am just putting miles on it now to get more cycles on the batteries. I been riding around keeping the amps down about 50. When I bought the componants I bought a couple of extra atmega8's. I downloaded the avr studio. And the RTD explorer. I have not figured out how to use any of it. The compiler takes to long to download on dial-up(thats all thats available here) so I may not be able to do anything with it. Also I got the base plate from the same place as the heat spreader. The heat sink came from Heatsinks USA.
Thanks
Alvin
  Reply With Quote
Old 11-05-2009, 11:46 PM   #2543 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,826

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,365
Thanked 1,110 Times in 729 Posts
Hi Alvin! You are having the same problem with acceleration as Hondo is having. I'll program a microcontroller and mail it to you in the next few days. Then you can use the RTD explorer and change the chip settings to how you like it. You will have to give the pot that's on the control board a bit of a turn clockwise. I think about 60/300 of it's total range of motion should do it.
__________________
kits and boards
  Reply With Quote
Old 11-06-2009, 02:11 AM   #2544 (permalink)
Master EcoModder
 
Join Date: Sep 2008
Location: Texas
Posts: 632
Thanks: 0
Thanked 25 Times in 23 Posts
Quote:
By the way, this is page 255, which means we are almost out of byte territory! We can do it! Come on 256 = 0b100000000
To be pedantic, since the numbering starts at 1, you're not going to exceed the byte addressing limit until page 257. Unless you map 0x00 to a dummy page 0 instead of page 1, that is.
__________________
If America manages to eliminate obesity, we would save as much fuel as if every American were to stop driving for three days every year. To be slender like Tiffany Yep is to be a real hypermiler...

Allie Moore and I have a combined carbon footprint much smaller than that of one average American...
  Reply With Quote
Old 11-06-2009, 02:44 AM   #2545 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,826

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,365
Thanked 1,110 Times in 729 Posts
Dang it! Mike is right! Makes me mad...
__________________
kits and boards
  Reply With Quote
Old 11-06-2009, 01:44 PM   #2546 (permalink)
EcoModder Student
 
esoneson's Avatar
 
Join Date: Nov 2008
Location: Youngsville, NC
Posts: 117
Thanks: 11
Thanked 11 Times in 10 Posts
Wink

Ok, usually I stay out of these things, but.......
A single 8-bit byte can store values from 0 though 255 ( 256 different values).
Any offset (i.e. definition of boundaries) of that single 8-bit byte requires additional space.
I.e. another offset value stored somewhere.
So.........0-255 is the range of values capable of being stored in a byte, unless, of course, the high bit is interpreted as a negative number, then you have 127 negative values, negative 0 and positive 0 and 127 positive values, which, when added up gets you 256 values.

8 bits is 8 bits, no more, no less. The program or the compiler may 'hide' the additional values, but parts is parts.

Eric (I promise I will never do this again)

Congrats Paul on such a long, interesting, and focused thread. Very useful to all.
__________________
1995 BMW 318i EV in the making
  Reply With Quote
Old 11-06-2009, 02:20 PM   #2547 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,826

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,365
Thanked 1,110 Times in 729 Posts
"focused-ish" hehe
__________________
kits and boards
  Reply With Quote
Old 11-09-2009, 11:13 PM   #2548 (permalink)
The $500 Electric Car
 
vpoppv's Avatar
 
Join Date: Aug 2009
Location: Cushing,Oklahoma
Posts: 430
Thanks: 6
Thanked 26 Times in 20 Posts
Hi Paul! Here's the first of a million questions! ( I promise that I won't make you answer more than 999,999 after this one). I just got done watching your video again, and you said that "throttle is proportional to current and nothing else", how is it normally set up, like on a Curtis?
  Reply With Quote
Old 11-10-2009, 01:04 AM   #2549 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,826

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,365
Thanked 1,110 Times in 729 Posts
On a curtis, throttle proportional to pwm duty. In other words, half throttle means half of the battery pack voltage goes to the motor. That causes jerky starts. Curtis did a little workaround for the jerky starts, though, but it does mean that they have to start at a lower frequency to be able to keep the high currents under control. They get the curtis whine (very annoying 1500kHz frequency) as a result.

Throttle proportional to current means half pedal = half of the maximum avalaible torque. Full throttle = maximum torque. So, if you take off from 0 rpm, it is VERY smooth, and you don't have to do any stupid stuff like the curtis whine.
__________________
kits and boards
  Reply With Quote
Old 11-10-2009, 03:30 AM   #2550 (permalink)
VW Polo EV
 
Join Date: Aug 2009
Location: Port Macquarie
Posts: 69
Thanks: 1
Thanked 10 Times in 9 Posts
Controller Hardware Kits

There are hardware kits for the motor controller available here http://www.digitalhometech.net.au/in...roducts_id=193.
They have all the fiddly fixings, clips & stuff. They also have a very nice case with a machined heat sink & twin fans.

  Reply With Quote
Reply  Post New Thread


Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paul and Sabrina's Cheap 3 Phase Inverter (AC Controller) with Field Oriented Control MPaulHolmes Fossil Fuel Free 3457 10-03-2019 05:50 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 10:09 PM
Three Dirt Cheap DIY Electric Cars - Part 5 SVOboy EcoModder Blog Discussion 0 12-12-2008 05:10 PM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com