12-19-2008, 01:49 PM
|
#21 (permalink)
|
Master EcoModder
Join Date: Apr 2008
Location: Massachusetts
Posts: 409
Thanks: 30
Thanked 18 Times in 18 Posts
|
I don't even have an EV and I find this facinating . I would think that you could mass produce these for a bunch of people on this forum .
Just kidding, though the instructions are in depth enough that once this is working, you may have something that goes mainstream! Good luck!
__________________
American by right
Ecomodder by choice
Hypermiler by necessity
|
|
|
Today
|
|
|
Other popular topics in this forum...
|
|
|
12-19-2008, 02:17 PM
|
#22 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
Thanks! I've been thinking that a highly modularized kit (not lots of skill needed to assemble, maybe just time) might be good. Once a program is written and works well for the controller, the ATMega8 chips are only about $1 each, and the STK500 programmer takes less than a second to program the chip, and software is free, but don't tell Microsoft that. Maybe if I assembled a bunch of logic boards (the low power half), and cut the bus bars (the heavy copper B-, B+, and M-) for the controller, and etched the heavy 4 ounce (per square foot) copper PCB that will be bolted to those bars, and maybe soldered the mosfets and capacitors to the heavy board, the rest would be maybe a couple hours of work assembling that someone without a lot of tools could do?
Update: Some anger! I programmed the chip, built the low power half of the circuit, and the dang LED didn't come on! It's hard to use a $2.99 volt meter to measure voltages that are going from 0 to 5 volts thousands of times a second. My oscilloscope will probably be here really soon, since the probes and power cord came yesterday! I need that thing to see what's going on!
Update 2: I found a mistake in the assembly of the circuit. I hope this fixes the problem.
|
|
|
12-21-2008, 01:57 AM
|
#23 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
Baby motor controller (5v 0.01amp) completed!
There were more than a few mistakes in both the circuit AND the program! It took HOURS to fix them all. ANGER! My beautiful oscilloscope came today. No plug that fit, but I had a spare computer plug that fit. With it, I could enter the world that I had been blind to until now.
So, I hooked up a throttle, and could control my pwm signal. Next, I need to send the pwm signal to a driver to amplify it, and then use the driver to turn on a few mosfets. Next step, 72v 40amp bike controller! Hold me back! Hold me back!
The picture of the oscilloscope with the green lines shows the pwm. It was about 80% of full throttle.
I think I'll install this version in my car and see what sort of acceleration I get. I'm guessing about the same as the forkenswift.
|
|
|
12-21-2008, 10:42 PM
|
#24 (permalink)
|
Losing the MISinformation
Join Date: Oct 2008
Location: Southern Missouri
Posts: 393
Thanks: 15
Thanked 3 Times in 3 Posts
|
Ouch! Someone who lives close to Darin go over and pull that knife out of his back. I could feel that all the way from here...
__________________
The brake pedal is my enemy. The brake pedal is my enemy. The brake pedal...
|
|
|
12-21-2008, 11:28 PM
|
#25 (permalink)
|
EV test pilot
Join Date: Jan 2008
Location: Oconomowoc, WI, USA
Posts: 4,435
Thanks: 17
Thanked 663 Times in 388 Posts
|
I'm sensing an EcoModder Open Source Car Project™ coming on here.....
Paul, maybe you wanted to keep around the "baby PWM driver".
You could put it on your dashboard so that as you spin the engine up and down, the LEDs get brighter to indicate your power. Might be a cool motor indicator!
|
|
|
12-21-2008, 11:49 PM
|
#26 (permalink)
|
Batman Junior
Join Date: Nov 2007
Location: 1000 Islands, Ontario, Canada
Posts: 22,534
Thanks: 4,082
Thanked 6,979 Times in 3,614 Posts
|
Anger! (So much anger in this thread...)
No, no, that's OK. You guys can have your copious extravagant power. And your acceleration. And your breaking of things from said power. Nya, nya.
|
|
|
12-22-2008, 12:04 AM
|
#27 (permalink)
|
Losing the MISinformation
Join Date: Oct 2008
Location: Southern Missouri
Posts: 393
Thanks: 15
Thanked 3 Times in 3 Posts
|
Quote:
Originally Posted by bennelson
the LEDs get brighter to indicate your power. Might be a cool motor indicator!
|
Oooo! I'm likin' it even more. A controller, pack indicator, dc convertor, and tach all in one!!!
Soon, we'll all be saying it: "You have saved us from the Evil Fuel Lords. We are forever in your debt!"
__________________
The brake pedal is my enemy. The brake pedal is my enemy. The brake pedal...
|
|
|
12-22-2008, 12:05 AM
|
#28 (permalink)
|
EV test pilot
Join Date: Jan 2008
Location: Oconomowoc, WI, USA
Posts: 4,435
Thanks: 17
Thanked 663 Times in 388 Posts
|
Us 72V electric cars are pretty furious!
Whatever I brake, I just have to rebuild stronger!
|
|
|
12-22-2008, 12:11 AM
|
#29 (permalink)
|
Master EcoModder
Join Date: Apr 2008
Location: Massachusetts
Posts: 409
Thanks: 30
Thanked 18 Times in 18 Posts
|
Re-build the parts until they stop breaking for a month. Then mass produce the sucker. That's how the Big 3 does it... oh yeah... never mind .
__________________
American by right
Ecomodder by choice
Hypermiler by necessity
|
|
|
12-22-2008, 04:41 PM
|
#30 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
Program with step by step instructions
Hello! OK, so I have carefully tested the small controller, and watched the results on the oscilloscope. Finally, the software appears to be without any errors, and is much simpler and easier to read now. I think I'll run the bike controller at 4kHz. It may irritate dogs in the neighborhood, but it will keep switching losses down, and it's just a first draft. Well, second draft if you count the 5v 0.01amp one.
To compile this program, download the FREE Atmel AVR Studio!
Atmel AVR Studio
To compile the program, change the file name to end with .c instead of .txt
It wouldn't let me upload it here unless it was in ".txt" format.
There are a lot of page references in PWMAndInputTest.txt. They refer to the PDF of the documentation for the ATMega8. It can be found HERE!
Also, the code assumes you are using the PDIP version of the chip (28 pin version).
Last edited by MPaulHolmes; 12-23-2008 at 12:13 AM..
|
|
|
The Following User Says Thank You to MPaulHolmes For This Useful Post:
|
|
|