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 10-05-2009, 08:54 AM   #2361 (permalink)
Master EcoModder
 
Join Date: Apr 2009
Location: Charlton MA, USA
Posts: 463

EVVette - '71 Chevy Corvette Coupe
Thanks: 31
Thanked 172 Times in 92 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

__________________
www.EVVette.com - 1971 Corvette Coupe Conversion to all Electric!
www.AdamBrunette.com - Machining, CNC, Robotics and Electronics.

You can download RTD Explorer for the Cougar controllers at www.EVVette.com
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 10-05-2009, 10:33 AM   #2362 (permalink)
ReVolt Enthusiast
 
Join Date: Jun 2009
Location: Michigan, USA
Posts: 239
Thanks: 98
Thanked 41 Times in 36 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.

Click image for larger version

Name:	Power-PCB.gif
Views:	134
Size:	21.4 KB
ID:	4392

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 09:14 AM..
  Reply With Quote
Old 10-05-2009, 01:34 PM   #2363 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,119 Times in 734 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.
__________________
kits and boards
  Reply With Quote
Old 10-05-2009, 04:49 PM   #2364 (permalink)
EcoModder Student
 
esoneson's Avatar
 
Join Date: Nov 2008
Location: Youngsville, NC
Posts: 117
Thanks: 11
Thanked 12 Times in 11 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
__________________
1995 BMW 318i EV in the making
  Reply With Quote
Old 10-05-2009, 05:32 PM   #2365 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,119 Times in 734 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.
__________________
kits and boards
  Reply With Quote
Old 10-05-2009, 06:09 PM   #2366 (permalink)
Master EcoModder
 
Join Date: Apr 2009
Location: Charlton MA, USA
Posts: 463

EVVette - '71 Chevy Corvette Coupe
Thanks: 31
Thanked 172 Times in 92 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.

You can download RTD Explorer for the Cougar controllers at www.EVVette.com
  Reply With Quote
Old 10-05-2009, 06:59 PM   #2367 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,119 Times in 734 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...
__________________
kits and boards
  Reply With Quote
Old 10-05-2009, 10:36 PM   #2368 (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, 10:59 PM   #2369 (permalink)
EV test pilot
 
bennelson's Avatar
 
Join Date: Jan 2008
Location: Oconomowoc, WI, USA
Posts: 4,435

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

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

Electro-Metro - '96 Ben Nelson's "Electro-Metro"
90 day: 129.81 mpg (US)

The Wife's Car - Plug-in Prius - '04 Toyota Prius
90 day: 78.16 mpg (US)
Thanks: 17
Thanked 658 Times in 384 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-05-2009, 11:19 PM   #2370 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,119 Times in 734 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.

__________________
kits and boards
  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 3477 05-24-2021 03:28 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 - 2021, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com