Go Back   EcoModder Forum > EcoModding > Fossil Fuel Free
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: Seattle, WA
Posts: 1,392

Michael's Electric Beetle - '71 Superbeetle 500000
Thanks: 14
Thanked 12 Times in 8 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!)      
 
__________________
As I watch the old man walk on the sidewalk below my window, I think "Some day old man, I will be like you. So why not give me your coat?" Then I go downstairs to get his coat, but he's gone. Hey, maybe he was Zorro.

website!
  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 0 Times in 0 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: 1,392

Michael's Electric Beetle - '71 Superbeetle 500000
Thanks: 14
Thanked 12 Times in 8 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!
__________________
As I watch the old man walk on the sidewalk below my window, I think "Some day old man, I will be like you. So why not give me your coat?" Then I go downstairs to get his coat, but he's gone. Hey, maybe he was Zorro.

website!
  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)
Fossil-Fuel Optional
 
bennelson's Avatar
 
Join Date: Jan 2008
Location: Oconomowoc, WI, USA
Posts: 2,595

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

Sunfire - '00 Sunfire
90 day: 26.44 mpg (US)

S10 - '95 S10
90 day: 26.95 mpg (US)

Electro-Metro - '96 "Electro-Metro"
90 day: 129.81 mpg (US)
Thanks: 0
Thanked 10 Times in 7 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!
  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: 8,653

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

ForkenSwift - '92 Metro EV
90 day: 106.27 mpg (US)
Thanks: 23
Thanked 67 Times in 48 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)
ElectroModder Learner
 
esoneson's Avatar
 
Join Date: Nov 2008
Location: Orange, CA
Posts: 78
Thanks: 1
Thanked 1 Time in 1 Post
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)
Fossil-Fuel Optional
 
bennelson's Avatar
 
Join Date: Jan 2008
Location: Oconomowoc, WI, USA
Posts: 2,595

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

Sunfire - '00 Sunfire
90 day: 26.44 mpg (US)

S10 - '95 S10
90 day: 26.95 mpg (US)

Electro-Metro - '96 "Electro-Metro"
90 day: 129.81 mpg (US)
Thanks: 0
Thanked 10 Times in 7 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.
  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: 8,653

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

ForkenSwift - '92 Metro EV
90 day: 106.27 mpg (US)
Thanks: 23
Thanked 67 Times in 48 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.
__________________
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 69 Today 11:48 AM
Contest! Name Paul & Sabrina's controller MetroMPG Forum News & Feedback 104 10-02-2009 01:18 AM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 496 09-27-2009 12:15 AM


car hire in orlando
Check out the advantages of car hire in Orlando and get more out of your trip. There's more than theme parks to see!



Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
All content copyright EcoModder.com