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 06-15-2009, 11:18 PM   #1711 (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,202 Times in 765 Posts
well, I got the software fixed! ya! I think I had been using different resistor values for the voltage divider on the old control board.
Now the PWM behaves just as it should. This is (as far as I know) a perfectly functional control board! ya!

-Paul

__________________
kits and boards
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 06-15-2009, 11:46 PM   #1712 (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,202 Times in 765 Posts
I don't seem to be able to explain properly. Maybe someone else should try?

My answer would be:

(for a new local working copy):

- "Checkout" the project to the local disk
- If you don't have local modifications continue to work on the trunk/HighVoltageController.c file as it came from the svn.
- If you allready have modifications since your last commit replace the entire content of trunk/HighVoltageController.c with your code. Then "SVN Update" (will merge the modifications from the svn with your own). Then "SVN Commit" will publish your modifications to the svn.
- continue to work on this file from now on. Always do "update" before changing thinks and commit when your are satisfied with your changes.

(for an already existing local copy):
- Just do "SVN Update"
- Continue to work on it


OK, checkout isn't an option now anywhere that I look, so I can't get past step 1 above.

tps report... pc load letter?

The directory that I downloaded a while back used to have a little green thing on it, and now it's red. I bet that's significant.

I think I just sent HighVoltageControllerImproved.c (which is the very much unimproved test version of the software, with the 2 numbers changed so that the pwm signal works.)

HEY! I JUST DOWNLOADED A 30 DAY FREE TRIAL OF SOME TERMINAL PROGRAM, AND I HAVE THE CURRENT DISPLAYING ON SCREEN! ya!
That's cool. Hmm.. There are a lot ofpossibilities with that!
__________________
kits and boards

Last edited by MPaulHolmes; 06-16-2009 at 12:07 AM..
  Reply With Quote
Old 06-16-2009, 12:34 AM   #1713 (permalink)
EcoModding Lurker
 
Join Date: Aug 2008
Location: Salt Lake City
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by dcb View Post
Putting electricity into and out of a SLA battery is about %75-%85 efficient (more current is less efficient), and that does not include any charging equipment. Using a battery to charge a battery doubles those losses.
'Cept, see, these babies are them there lithium-ion cells. Coulombically efficient. Hardly any losses when not shunting (which I wouldn't be during driving).

So I asks ya agin, where are all them losses I keep hearing so much about.

Bill
  Reply With Quote
Old 06-16-2009, 01:50 AM   #1714 (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,202 Times in 765 Posts
Fran the man, that's not from a garbage can is sending me his boot loader code that is heavily commented so that people won't need an STK500 to help with programming! They'll only need to hook up the control board to the serial port of a laptop or something. ya!
__________________
kits and boards

Last edited by MPaulHolmes; 06-16-2009 at 02:34 AM..
  Reply With Quote
Old 06-16-2009, 02:16 AM   #1715 (permalink)
MAD Modder
 
Join Date: May 2008
Location: NorCal
Posts: 70
Thanks: 0
Thanked 3 Times in 3 Posts
@wjdennis

I think that is a solution to something that isn't a problem, just pick a battery pack that will accept the draw you are placing on it.

Wouldn't it be simpler and cheaper to use batteries rated for the draw placed on them, instead of a second set of more expensive batteries?

I notice that White Zombie uses Lead acid, and does pretty well (I don't think you are planning on using twin WARP motors to drag race.)

You get a loss of energy as the electrons travel (through a semi-conductor, not a super conductor), and as the (1st) battery discharges, and as it recharges the 2nd battery. Just using the energy in the motor would make it so much simpler, and you would need an even larger battery pack to make up for the losses in a dual-pack system. If you could make friends with somebody living at the beginning of your uphill and have a battery pack waiting to swap it would be good, or even a trailer battery pack (although now you are moving more mass uphill, it would be a charged battery, perhaps with a higher draw rating.)

All of this talk is way off-topic though.


Way to go Paul! Still watching with interest, the power section looks terrific, I like the bend on the legs, looks like plenty of contact on the solder pads.

I wonder about the Cat5 connection, since you already have an opto-isolator couldn't you exchange that for a Fiber-optic transmitter jack (and matching reciever), I can get them out of hi-fi equipment for nothing, and they sell fiber optic cable at wal-mart!

That way you could mount the controller inside while keeping the high voltages safely away.

That is all cosmetic though, as long as it works the packaging is up to the end-user.
  Reply With Quote
Old 06-16-2009, 04:28 AM   #1716 (permalink)
EcoModding Lurker
 
Join Date: May 2009
Location: Bucharest,RO and Copenhagen,DK
Posts: 42
Thanks: 0
Thanked 1 Time in 1 Post
Quote:
Originally Posted by MPaulHolmes View Post
I don't seem to be able to explain properly. Maybe someone else should try?

My answer would be:

(for a new local working copy):

- "Checkout" the project to the local disk
- If you don't have local modifications continue to work on the trunk/HighVoltageController.c file as it came from the svn.
- If you allready have modifications since your last commit replace the entire content of trunk/HighVoltageController.c with your code. Then "SVN Update" (will merge the modifications from the svn with your own). Then "SVN Commit" will publish your modifications to the svn.
- continue to work on this file from now on. Always do "update" before changing thinks and commit when your are satisfied with your changes.

(for an already existing local copy):
- Just do "SVN Update"
- Continue to work on it


OK, checkout isn't an option now anywhere that I look, so I can't get past step 1 above.

tps report... pc load letter?

The directory that I downloaded a while back used to have a little green thing on it, and now it's red. I bet that's significant.

I think I just sent HighVoltageControllerImproved.c (which is the very much unimproved test version of the software, with the 2 numbers changed so that the pwm signal works.)

HEY! I JUST DOWNLOADED A 30 DAY FREE TRIAL OF SOME TERMINAL PROGRAM, AND I HAVE THE CURRENT DISPLAYING ON SCREEN! ya!
That's cool. Hmm.. There are a lot ofpossibilities with that!
Paul,

It's great that you have fixed the software! The code you are using for serial link (chris stuff) is converting from hex to ASCII inside the uC witch in my opinion is a waste of uC cycles (the conversion can be done in the client on the computer). Also, you are using the classic "wait for transmission ready" algorithm so every second you will stop the program to do the ASCII conversion (3 characters) and the transmission of 5 characters. Have you taken a look at the interrupt based transmission algorithm I'm using? Basically every second you could just fill a buffer with the values you want transmitted and enable the relevant interrupt. The interrupt will be fired each time the data register is ready to receive the next character letting the program do it's job during the actual transmission.

I gave up on the idea of working together on the same code via svn. in the version I was using I'll adjust the code manually to match your latest upload , and let only the (improved) serial transmission code from my version. It looks like we also have a java client for it now (thank you roverT).
  Reply With Quote
Old 06-16-2009, 08:53 AM   #1717 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 Posts
Quote:
Originally Posted by wjdennis View Post
'Cept, see,...
ya, another thread maybe, and try to disclose your assumptions.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 06-16-2009, 09:02 AM   #1718 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 Posts
Quote:
Originally Posted by charlie_fd View Post
...is converting from hex to ASCII inside the uC witch in my opinion is a waste of uC cycles (the conversion can be done in the client on the computer)...
If it is human readable then it isn't a waste of time, because more people will read it. Just because you know how to install a custom client does not mean everyone does. But most PCs/many PDAs etc have some sort of terminal program at their disposal (i.e. hyperterminal, whatever). So the target audience for this uart code that was coerced into existance becomes much larger.


P.S. Paul, I got rid of the bootloader on the guino for reliability purposes (and space too), just fyi. Had a few cases where the chip messed itself and it seemed like having code that is sitting around waiting to rewrite the chip was the likely culprit in flakey voltage conditions. I also disable spm commands in the fuses.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!

Last edited by dcb; 06-16-2009 at 09:35 AM..
  Reply With Quote
Old 06-16-2009, 09:27 AM   #1719 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 Posts
Other common programming options include the dirt cheap parallel isp programmer
http://ecomodder.com/forum/showthrea...mmer-7311.html and program with avrdude or somesuch

(couple resistors and an old parallel printer cable)

or the usbtinyisp, though its avrstudio integration is a bit hokey, it works fine with avrdude as well.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!

Last edited by dcb; 06-16-2009 at 09:36 AM..
  Reply With Quote
Old 06-16-2009, 09:35 AM   #1720 (permalink)
EcoModding Lurker
 
Join Date: Aug 2008
Location: Salt Lake City
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by dcb View Post
ya, another thread maybe, and try to disclose your assumptions.
Guys, I'm not trying to be persnickety or contrary here. I asked a question that was on-topic, about the controller and its possible use as a charger. My follow-up questions were going to be able how to size the inductor so that when I built the controller I could test it as a charger, too. But I got responses about choosing the right battery pack and energy losses and pack swapping. I've already got my battery pack. My EV goes over 100 miles on a charge. I drive it 88 miles round-trip to work. It just has trouble with sagging on steep hills, and Lee Hart recommended the solution I mentioned, getting a small second pack that could handle the high-demand draws for hills, and have my existing pack supply a constant 70A. Paul's controller seems like a good solution since I'm planning on building one anyway.

Bill

  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 3480 05-04-2022 05:43 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 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com