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 04-10-2009, 01:51 PM   #841 (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,362
Thanked 1,202 Times in 765 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!

__________________
kits and boards
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 04-10-2009, 04:40 PM   #842 (permalink)
Master EcoModder
 
Join Date: Jun 2008
Location: London, Ontario
Posts: 1,096

2k2Prot5 - '02 Mazda Protege5
90 day: 33.82 mpg (US)
Thanks: 0
Thanked 17 Times in 14 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: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,362
Thanked 1,202 Times in 765 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!
__________________
kits and boards
  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 1 Time in 1 Post
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 1 Time in 1 Post
Excellent work Paul!
  Reply With Quote
Old 04-10-2009, 06:19 PM   #846 (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 663 Times in 388 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: 22,527

Blackfly - '98 Geo Metro
Team Metro
Last 3: 70.09 mpg (US)

MPGiata - '90 Mazda Miata
90 day: 54.46 mpg (US)

Even Fancier Metro - '14 Mitsubishi Mirage top spec
90 day: 70.75 mpg (US)

Appliance car Mirage - '14 Mitsubishi Mirage ES (base)
90 day: 62.14 mpg (US)
Thanks: 4,078
Thanked 6,976 Times in 3,612 Posts
Oh no, Mister Bill!
__________________
Project MPGiata! Mods for getting 50+ MPG from a 1990 Miata
Honda mods: Ecomodding my $800 Honda Fit 5-speed beater
Mitsu mods: 70 MPG in my ecomodded, dirt cheap, 3-cylinder Mirage.
Ecodriving test: Manual vs. automatic transmission MPG showdown



EcoModder
has launched a forum for the efficient new Mitsubishi Mirage
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: 117
Thanks: 11
Thanked 14 Times in 13 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..........
__________________
1995 BMW 318i EV in the making
  Reply With Quote
Old 04-10-2009, 07:24 PM   #849 (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 663 Times in 388 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: 22,527

Blackfly - '98 Geo Metro
Team Metro
Last 3: 70.09 mpg (US)

MPGiata - '90 Mazda Miata
90 day: 54.46 mpg (US)

Even Fancier Metro - '14 Mitsubishi Mirage top spec
90 day: 70.75 mpg (US)

Appliance car Mirage - '14 Mitsubishi Mirage ES (base)
90 day: 62.14 mpg (US)
Thanks: 4,078
Thanked 6,976 Times in 3,612 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.

__________________
Project MPGiata! Mods for getting 50+ MPG from a 1990 Miata
Honda mods: Ecomodding my $800 Honda Fit 5-speed beater
Mitsu mods: 70 MPG in my ecomodded, dirt cheap, 3-cylinder Mirage.
Ecodriving test: Manual vs. automatic transmission MPG showdown



EcoModder
has launched a forum for the efficient new Mitsubishi Mirage
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




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 3431 05-04-2022 06:43 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 10:09 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.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com