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 07-05-2009, 07:50 AM   #1921 (permalink)
EcoModding Apprentice
 
Join Date: May 2009
Location: Australia
Posts: 109
Thanks: 0
Thanked 1 Time in 1 Post
Quote:
Originally Posted by MPaulHolmes View Post
I found the perfect logo!
Now that is just ReVolting.


Last edited by squiggles; 07-05-2009 at 07:51 AM.. Reason: spellink
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 07-05-2009, 11:50 AM   #1922 (permalink)
EcoModding Lurker
 
Join Date: Aug 2008
Location: Calgary, AB
Posts: 21

Corolla bandit - '05 Toyota Corolla CE
Thanks: 1
Thanked 0 Times in 0 Posts
Paul,

Not disabling the interrupts in this case is probably fine. Copying an integer is probably an atomic operation (meaning it's not a divisible operation, i.e. it can't be interrupted.) And it doesn't matter if it interrupts between the copies.

I can't wait to hear how the new code controls the car.

David
  Reply With Quote
Old 07-05-2009, 12:39 PM   #1923 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,831

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,367
Thanked 1,115 Times in 730 Posts
Hey David! Don't you mean you can't wait to SEE how it controls the car? hehe. Here's a quick video of the new controller in action. I have absolutely no complaints about how it drives. It's very smooth. I tested it yesterday with average current proportional to throttle, where the average current is the running average of the last 16 current reads. I'm using a virtual pwmDuty variable that has a range of 0-2044, which I round and map onto 0-511. The pwmDuty variable is updated each time the throttle is read, which is about 1000 times a second.

Just like dlaing originally suggested, there is no more waiting for Analog to digital conversions to finish. Instead, an interrupt just happens when an A/D conversion is finished. The chip is running at 16 MHz, and the A/D clock is now running at 500 kHz, which makes for a very smooth throttle.

__________________
kits and boards
  Reply With Quote
Old 07-05-2009, 02:20 PM   #1924 (permalink)
MAD Modder
 
Join Date: May 2008
Location: NorCal
Posts: 70
Thanks: 0
Thanked 2 Times in 2 Posts
If we could keep the aptly named Kim Jong (making me) Il out of this thread it would be great.

That looks great, seems very smooth, now send one to Ben so he do burnouts and acceleration tests

I am very impressed, only it looks very expensive, which isn't a downside, it is open and featured after all, and PCBs don't cost all that much. Maybe I meant to say it looks very professional. Scaring me off a little, I don't like working on stuff that looks like art, I need hose clamps and duct tape in my creations.

So my only complaint is that it looks too good. Hmm, carry on!
  Reply With Quote
The Following User Says Thank You to nubie For This Useful Post:
deodeo (03-19-2012)
Old 07-05-2009, 03:21 PM   #1925 (permalink)
EcoModding Apprentice
 
Join Date: May 2009
Location: Orrville, Ohio
Posts: 108
Thanks: 9
Thanked 2 Times in 2 Posts
Thumbs up test video

Paul, Looks like its a good one! It would have been a real good test with a faster stretch of road, but the acceleration was smooth. Was that with the aluminum or copper heat spreader? (how did the sqaure blue mom thing do?) Just razzin ya. Keep up the good work! Watt
  Reply With Quote
Old 07-05-2009, 03:25 PM   #1926 (permalink)
Deadly Efficient
 
Tango Charlie's Avatar
 
Join Date: Jun 2008
Location: Goshen, Indiana
Posts: 1,234

Olivia - '03 Pontiac Vibe base
90 day: 36.01 mpg (US)

R2-D2 - '00 Honda Insight
90 day: 58.81 mpg (US)
Thanks: 132
Thanked 175 Times in 91 Posts
Confidence builder at 3:23

"Nothing's blown up yet...so that's good."
Ha ha!
__________________
-Terry
  Reply With Quote
Old 07-05-2009, 03:38 PM   #1927 (permalink)
Joe
 
Join Date: Feb 2009
Location: phx
Posts: 260
Thanks: 0
Thanked 41 Times in 34 Posts
just awesome!
  Reply With Quote
Old 07-05-2009, 03:46 PM   #1928 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,831

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,367
Thanked 1,115 Times in 730 Posts
I think it's a STROKE of genius to keep that one naked guy out of the thread. (get it? he had a stroke? hehe)

It was the copper heat spreader. To be honest, I just didnt' want to break the controller. I would rather have Joe break it, since he payed for it. I'm sure it will be fine, well, pretty sure. I know of several ways to deal with heating issues in future versions if it's a problem.
__________________
kits and boards
  Reply With Quote
The Following User Says Thank You to MPaulHolmes For This Useful Post:
deodeo (03-19-2012)
Old 07-05-2009, 04:37 PM   #1929 (permalink)
EcoModding Lurker
 
slurryguy's Avatar
 
Join Date: Feb 2009
Location: MO
Posts: 37
Thanks: 0
Thanked 3 Times in 2 Posts
Congratulations Paul, Joe, et al...

It didn't sound like you had much of an EV Grin going, Paul. It sounded more like New Controller Clenched Teeth Gitters.

You're doing great. Don't stress it. Enjoy the journey.
  Reply With Quote
Old 07-05-2009, 06:05 PM   #1930 (permalink)
EcoModding Apprentice
 
Join Date: May 2009
Location: Orrville, Ohio
Posts: 108
Thanks: 9
Thanked 2 Times in 2 Posts
Thumbs up

Well, Joe now I guess it is your turn. Just rememer to release the e brake before you do any burnouts! (Ben tried it ) Good Luck and looking forward to the results. Watt

  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 3471 06-01-2020 10:53 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 09:09 PM
Three Dirt Cheap DIY Electric Cars - Part 5 SVOboy EcoModder Blog Discussion 0 12-12-2008 04: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