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

Now available from EcoModder: ScanGauge II fuel economy gauge.  Click for details.  

Reply  Post New Thread
Submit Tools LinkBack Thread Tools
Old 10-05-2009, 09:54 AM   #2371 (permalink)
Master EcoModder
 
Join Date: Apr 2009
Location: Charlton MA, USA
Posts: 346

EVVette - '71 Corvette Coupe
Thanks: 13
Thanked 91 Times in 46 Posts
Mark,

Technically, a boot loader is a program that gets programed into the boot section of the chip. When it starts up, the boot loader program is the first to start, if it doesn't get any information from the computer in a certain amount of time, it starts the actual program.

That would work though as a usb programmer. Its alot like that programmer I have. I took mine apart to see how it works. Its an amtel at90usb series chip.

I have not gotten too much official testing of my controller besides just driving around the yard and up and down the street in the golf cart.

I do have a few other things in the works that I think will be liked.

-Adam


(Support Ecomodder.com & get rid of these annoying ads!)      
 
__________________
www.EVVette.com - 1971 Corvette Coupe Conversion to all Electric!
www.AdamBrunette.com - Machining, CNC, Robotics and Electronics.
  Reply With Quote
Old 10-05-2009, 11:33 AM   #2372 (permalink)
ReVolt Wiki - Editor
 
Join Date: Jun 2009
Location: Michigan, USA
Posts: 213
Thanks: 66
Thanked 29 Times in 27 Posts
Quote:
Originally Posted by adamj12b View Post

I also cant wait to see your controller design.

-Adam
Hi Adam,

I know that you have been asking about the project that I have been working on. I attached an image of the Revolt Power PCB that I have been kicking around.

Power-PCB.gif

I have been using AutoCAD to figure out the mechanics of that design. My Power PCB design uses your “sandwich” technique attaching SOT227 MOSFET and Diodes to a heatsink instead of your TO247’s. Each block on the Power PCB operates at 100 amps, all are connected in parallel using a multilayer busbar.

Depending how the Power PCB assembly is populated, the options for it could be 200V@1000A or 400V@1000A with MOSFETs, or 500V@1000A with IGBTs. This Power PCB would not be cheep to build, but would offer a high end version of the ReVolt. It looks good on paper anyway !!!

Last edited by sawickm; 10-06-2009 at 10:14 AM..
  Reply With Quote
Old 10-05-2009, 02:34 PM   #2373 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Seattle, WA
Posts: 2,440

Michael's Electric Beetle - '71 Superbeetle 500000
Thanks: 306
Thanked 188 Times in 132 Posts
Does everyone except me have $10,000 software!? Totally not fair. It looks really fancy to me. Nice and symmetrical.

Fran added a bootloader to the code, and also serial communications code so that it's almost like an operating system now. Basically, with a serial connection (haha... don't worry, you can get a USB to serial plug for those new fangled laptops at a computer store) you can send various words like Kp and Ki, so that you can manually set the PI loop variables, or temperature, or throttle ramp rate, or anything you want. It's easy to add new things to the list if you want to. Now you don't need a programmer either.
__________________
signature goes here.
  Reply With Quote
Old 10-05-2009, 05:49 PM   #2374 (permalink)
EcoModder Student
 
esoneson's Avatar
 
Join Date: Nov 2008
Location: Youngsville, NC
Posts: 98
Thanks: 9
Thanked 2 Times in 2 Posts
Quote:
Originally Posted by MPaulHolmes View Post

Fran added a bootloader to the code, and also serial communications code so that it's almost like an operating system now.

Any idea when this code will be tested and/or added to the Wiki so we can take advantage of the new code?

Thanks,

Eric
  Reply With Quote
Old 10-05-2009, 06:32 PM   #2375 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Seattle, WA
Posts: 2,440

Michael's Electric Beetle - '71 Superbeetle 500000
Thanks: 306
Thanked 188 Times in 132 Posts
Hi Eric! There are 3 files. I posted the code for the main program. I don't know how to add the other 2 files.
__________________
signature goes here.
  Reply With Quote
Old 10-05-2009, 07:09 PM   #2376 (permalink)
Master EcoModder
 
Join Date: Apr 2009
Location: Charlton MA, USA
Posts: 346

EVVette - '71 Corvette Coupe
Thanks: 13
Thanked 91 Times in 46 Posts
I'll add the additional files to the wiki tonight. I'm going to begin testing the code after supper.

-Adam
__________________
www.EVVette.com - 1971 Corvette Coupe Conversion to all Electric!
www.AdamBrunette.com - Machining, CNC, Robotics and Electronics.
  Reply With Quote
Old 10-05-2009, 07:59 PM   #2377 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Seattle, WA
Posts: 2,440

Michael's Electric Beetle - '71 Superbeetle 500000
Thanks: 306
Thanked 188 Times in 132 Posts
I found out what happens if you accidentally short a sheet of 1 ounce copper pcb across 72v today. It makes a noise like an exploding M-80, and makes a giant circle of vaporized copper around the B- area where the contact was initally made. Don't ask...
__________________
signature goes here.
  Reply With Quote
Old 10-05-2009, 11:36 PM   #2378 (permalink)
EcoModding Lurker
 
bones007's Avatar
 
Join Date: May 2009
Location: Brampton, Ontario, Canada
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
I have a question about how the bootloader works. When you use the bootloader to re-program the microcontroller does your new code have to include the bootloader itself each time?

Or is the bootloader protected somehow such that you can upload a program with flaws, fix the program and upload again without screwing up the bootloader.
  Reply With Quote
Old 10-05-2009, 11:59 PM   #2379 (permalink)
Beta-tested it to death!
 
bennelson's Avatar
 
Join Date: Jan 2008
Location: Oconomowoc, WI, USA
Posts: 3,763

Electric Cycle - '81 KZ440
90 day: 334.6 mpg (US)

Sunfire - '00 Sunfire
90 day: 26.44 mpg (US)

S10 - '95 S10
90 day: 30.48 mpg (US)

Electro-Metro - '96 "Electro-Metro"
90 day: 129.81 mpg (US)
Thanks: 3
Thanked 227 Times in 151 Posts
RF trouble in FM band?

Has anyone else run into getting RF noise from their open source controller on the FM band of their radio?

My radio has a "feature" of auto-tuning to the next station if the station you are on doesn't come in anymore. Tonight, I accelerated enough that the radio automatically changed stations on me!

Is there someway to keep static off my radio?

Do I have to wrap tin-foil around my controller? Time to build a Faraday Cage?

PS: Paul, don't worry so much about 72V. I shorted 144V of batteries a while back. I was just glad that I had a 3/4" plywood cover on it!
__________________


300mpg.org Learn how to BUILD YOUR OWN ELECTRIC CAR CHEAP
My YouTube Videos
  Reply With Quote
Old 10-06-2009, 12:19 AM   #2380 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Seattle, WA
Posts: 2,440

Michael's Electric Beetle - '71 Superbeetle 500000
Thanks: 306
Thanked 188 Times in 132 Posts
Quote:
Originally Posted by bones007 View Post
I have a question about how the bootloader works. When you use the bootloader to re-program the microcontroller does your new code have to include the bootloader itself each time?

Or is the bootloader protected somehow such that you can upload a program with flaws, fix the program and upload again without screwing up the bootloader.
The bootloader is protected somehow! hehe. You just have to program the chip with the bootloader one time, using something like an STK500 or a homemade programmer, and then after that, you never again need to worry about it.

Ben:
I think you should make sure that R15 is 220 Ohms, and R16 is either 4.7 kOhms or 6.8 kOhms. When I first did a couple control boards, I was using 330 Ohm and 3kOhm, which can be fine, but it depends on the optocoupler that is used. There's a lot of variation from optocoupler to optocoupler, even with the same part number. Using 220 and 6.8 K garantees that it will turn on and off really fast. Alternatively, I would use metal end caps with rubber grommits.


(Support Ecomodder.com & get rid of these annoying ads!)      
 
__________________
signature goes here.
  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 672 02-10-2012 05:41 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 527 09-02-2011 03:35 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.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com