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 04-10-2009, 01:51 PM   #841 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Seattle, WA
Posts: 2,439

Michael's Electric Beetle - '71 Superbeetle 500000
Thanks: 306
Thanked 187 Times in 132 Posts
Ya, That's right! I have a blue star next to my name! I'm a member now! Yahoo! An awesome guy, Andy, secretly payed for it! But it's not a secret now! haha! Now I get really really cool stuff coming in the mail too.

I know how to measure the same point on the dang PWM wave each time now! ya! It's working in the simulator (not the simunow, but the simulator). I should get this dang blasted software working good, and see how it works on my controller that's almost done, and then ship the dang blasted software over to Ben! Soon, those days of jittery startup will be a thing that only our great grandparents will remember.

EDIT: I just want to re-iterate that it works! ya! The software works, and it had better lead to some really good results, or I'm going to get real mad! haha!


(Support Ecomodder.com & get rid of these annoying ads!)      
 
__________________
signature goes here.
  Reply With Quote
Old 04-10-2009, 04:40 PM   #842 (permalink)
Master EcoModder
 
Join Date: Jun 2008
Location: London, Ontario
Posts: 1,096

2k2Prot5 - '02 Protege5
90 day: 33.82 mpg (US)
Thanks: 0
Thanked 5 Times in 3 Posts
Quote:
Originally Posted by MPaulHolmes View Post
I hadn't thought of that!
That's what We, the Peanut Gallery, are for

Now you can't just say things like "I got it working" and not tell us how... What method did you use to align the current sensor read to the PWM rising edge + delay?
  Reply With Quote
Old 04-10-2009, 04:58 PM   #843 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Seattle, WA
Posts: 2,439

Michael's Electric Beetle - '71 Superbeetle 500000
Thanks: 306
Thanked 187 Times in 132 Posts
I changed from Fast PWM mode to Phase correct PWM mode, which will have a maximum frequency of 8 KHz at 8 MHz, but... The 16.000 MHz crystals are on their way from China via air mail right as we speak (type). That will allow for a current sample rate of 16 KHz at 16 MHz clock frequency.

I was using the wrong ISR before. Now, I'm using the one that gets called at the start of each new rising edge (16000 rising edges per second), do a tiny itsy bitsy delay (which puts me away from the rising edge), which the ugly, yeller, monkeyturd compiler was optimizing away!!! until I made my delay variable

"volatile int m"

instead of

"int m", which now allows me to turn up the optimizing all the way and is giving me faster code, so I can fit all the stuff I need to inside that interrupt, with plenty of time to spare before the next rising edge.

Phew!
__________________
signature goes here.
  Reply With Quote
Old 04-10-2009, 05:11 PM   #844 (permalink)
EV Converter
 
Join Date: Mar 2009
Location: Saugerties, NY
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by MazdaMatt View Post
That's why you gotta build it right

You can leave the diodes in there AND use synch rec mosfets
If the Mosfets go they will likely die shorted. The diodes won't help that condition.
  Reply With Quote
Old 04-10-2009, 05:15 PM   #845 (permalink)
EV Converter
 
Join Date: Mar 2009
Location: Saugerties, NY
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Excellent work Paul!
  Reply With Quote
Old 04-10-2009, 06:19 PM   #846 (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
Quote:
Originally Posted by Roger Heuckeroth View Post
If the Mosfets go they will likely die shorted.
I can personally attest to the fact that this controller will die full on.

The good news.... I'm fine.

The bad news? Paul, I fried your controller. Please send the repair kit.


I just got home from a 40 minute walk from where the car died to my house. I have to grab my truck tow bar and go pick the car up. After that, I will do an autopsy.

PS: The car CAN go faster than 65 mph!
__________________


300mpg.org Learn how to BUILD YOUR OWN ELECTRIC CAR CHEAP
My YouTube Videos
  Reply With Quote
Old 04-10-2009, 06:34 PM   #847 (permalink)
Batman Junior
 
MetroMPG's Avatar
 
Join Date: Nov 2007
Location: 1000 Islands, Ontario, Canada
Posts: 11,912

Blackfly - '98 Metro
Team Metro
90 day: 67.07 mpg (US)

ForkenSwift - '92 Metro EV
90 day: 107.11 mpg (US)

U.F.O. - '00 Insight
Team Honda
90 day: 83.36 mpg (US)
Thanks: 239
Thanked 847 Times in 471 Posts
Oh no, Mister Bill!
__________________
Latest project: removable Geo Metro boat tail
Latest test: Massive cardboard air dam on a Geo Metro


www.MetroMPG.com - fuel efficiency info for Geo Metro owners
www.ForkenSwift.com - electric car conversion on a beer budget
  Reply With Quote
Old 04-10-2009, 06:42 PM   #848 (permalink)
EcoModder Student
 
esoneson's Avatar
 
Join Date: Nov 2008
Location: Youngsville, NC
Posts: 98
Thanks: 9
Thanked 2 Times in 2 Posts
Sorry you had to walk so far Ben. Now put on your CSI hat, take plenty of pictures and report back to master Paul once he regains consciousness.

Paul.......Paul......are you all right Paul? Say something..........
  Reply With Quote
Old 04-10-2009, 07:24 PM   #849 (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
What are the big black cylinders in the power section? Are those capacitors?

The one all the way on the end closest to the B- power connection is blown out.

I think my precharge resistor circuit may have fried out. Isn't that the issue with NOT having a precharge resistor setup? It puts power into the capacitors too fast?

I'll take a few photos. First, I have to figure out how to take the plexiglass case off. It's hard to photograph through the "magic smoke" that got let out.
__________________


300mpg.org Learn how to BUILD YOUR OWN ELECTRIC CAR CHEAP
My YouTube Videos
  Reply With Quote
Old 04-10-2009, 07:26 PM   #850 (permalink)
Batman Junior
 
MetroMPG's Avatar
 
Join Date: Nov 2007
Location: 1000 Islands, Ontario, Canada
Posts: 11,912

Blackfly - '98 Metro
Team Metro
90 day: 67.07 mpg (US)

ForkenSwift - '92 Metro EV
90 day: 107.11 mpg (US)

U.F.O. - '00 Insight
Team Honda
90 day: 83.36 mpg (US)
Thanks: 239
Thanked 847 Times in 471 Posts
Quote:
Originally Posted by bennelson View Post
What are the big black cylinders in the power section? Are those capacitors?
Those are the uranium pre-processors.

You should be fine as long as you weren't breathing in around the time it blew up.


(Support Ecomodder.com & get rid of these annoying ads!)      
 
__________________
Latest project: removable Geo Metro boat tail
Latest test: Massive cardboard air dam on a Geo Metro


www.MetroMPG.com - fuel efficiency info for Geo Metro owners
www.ForkenSwift.com - electric car conversion on a beer budget
  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 671 Yesterday 06:57 AM
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