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, 12:01 AM   #831 (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'm finished right now with a power section, and I just barely started the control board layout. I'm going to try some stuff on the breadboard a bit more this time, to get a really really good handle on the noise. Also, a few professional motor controller people are helping me to work on the layout and code.

I'm sure there will be a well working controller by July! There will be improvements along the way, but the improvements will mostly be to the control section. However, I'd like to try Synchronous Rectification with a different chip from Atmel, the AT90PWM3, which has the same core as the ATMega8 and ATMega16. ya!

__________________
kits and boards
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 04-10-2009, 12:18 AM   #832 (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
Hey, i've been off work sick for a couple days and just got my home internet up again. I happened to be cruising YouTube and saw the burnout vid... immediately jumped over here to see the progress! Awesome work! Now's when the fun begins... remember the 80/20 rule. It is now 80% done, which means you're through 20% of the dev time. Time to get the "bugs" (shudders, current mis-reads, etc) worked out.

Paul, I was just thinking about the concept of reading the current at the same point on the PWM each time. Presumably, the best time to measure is just slightly after the rising edge plus switching time? Or at least some time well into the "on" portion? Otherwise you'd be consistantly measuring something below max. As I mentioned about 300 pages back, there are microcontrollers that are created JUST for this sort of application that generate an automatic ADC reading after a set delay from the PWM rising edge. After you make it to your show with a "smoothed out" program, maybe it is time to step up your game again and dive into a bigger and better microcontroller.
  Reply With Quote
Old 04-10-2009, 12:36 AM   #833 (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
Hey Paul. I found this article describing three "generations" of synchronous rectification techniques. Likely you'll want to start out with the first generation - calculate the expected turn-off time of your drive mosfets, give it a little space, then turn on the rectifying mosfets. It has some inherant flaws (anything that simple has to have flaws), but it will be a major improvement over diodes. Seems to me that leaving the diodes in place is not a bad idea anyway.

Give it a read-over just so you're aware of the other techniques in case you want to jump on them. Not sure if your ATM8 is going to handle the advanced techniques.

Predictive Control Maximizes Synchronous Rectifier Efficiency
  Reply With Quote
Old 04-10-2009, 01:06 AM   #834 (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
Quote:
Originally Posted by MazdaMatt View Post
Paul, I was just thinking about the concept of reading the current at the same point on the PWM each time.
I ordered a quartz crystal for the micro-controller, so it will have a 16.000 MHz clock now instead of 8. Also, I got some good advice today about how to generate an interrupt in the center of each PWM "on time" of the ATMega8/16/32, so I'm going to try that out. Then I'll read the current (a more stable value now I hope!) and update the throttle during each and every single pwm wave. I'm thinking it will make things pretty stable.
__________________
kits and boards

Last edited by MPaulHolmes; 04-10-2009 at 10:44 AM..
  Reply With Quote
Old 04-10-2009, 01:11 AM   #835 (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 MazdaMatt View Post
(anything that simple has to have flaws)
I find most flaws in over-engineered things.

Before frolicking down the optimization path, one really needs to have a solid benchmark suite, to know if all the effort really made any difference.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 04-10-2009, 01:43 AM   #836 (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 MPaulHolmes View Post
I need a good source for 4 ounce copper pcb.
Well, the drains are bolted and bussed to the heat sink, you could bend the source leads up(down) and clamp those together in line with a couple lengths of bus bar. That should take care of the high current bits and allow the rest to use "regular" pcb.

So if this is the current schematic, you would run a large cable from the source bus to battery ground and another large cable from the heatsink to the motor (assuming the heatsink busses the mosfet drains and not individually insulated)
__________________
WINDMILLS DO NOT WORK THAT WAY!!!

Last edited by dcb; 04-10-2009 at 01:50 AM..
  Reply With Quote
Old 04-10-2009, 01:51 AM   #837 (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 dcb View Post
I find most flaws in over-engineered things.

Before frolicking down the optimization path, one really needs to have a solid benchmark suite, to know if all the effort really made any difference.
Hehe... I meant in theory. Something so simple as a hammer is sure to have fewer flaws than an electromagnetic nail shooter. But you sure could optimize the hell out of that shooter.

Most certainly the thing needs to be smoothed out before optimizing in most cases. It seems that Paul is looking at a pretty big gain from relatively easy picking fruit by going from diodes to synch rec - it is just wise to look at the further options available and scale back to "bang for the buck" level of optimization. Heck, the efficiency gain from the finer points of hundreds of hours of synch rec development could probably be matched by just using better wires.
  Reply With Quote
Old 04-10-2009, 08:43 AM   #838 (permalink)
EV Converter
 
Join Date: Mar 2009
Location: Saugerties, NY
Posts: 51
Thanks: 0
Thanked 1 Time in 1 Post
I believe there may be some pitfalls in synchronous rectification that will drive you crazy trying to work them out. I would stick with the diodes subscibing to the KISS principal.

The diode is always there ready to freewheel the inductive current. With synchronous rectification what happens at current limit? If your PWM signal gets cut off how do you keep the synchronous mosfets switched? I'm sure there are ways to make synchronous rectification to work reliably, but its a lot of work to gain a bit more efficeincy.

Also, if both sets of mosfets short out, doesn't that make a direct short right across the traction battery pack. That will probably only last a few miliseconds before the main fuse blows or the power stage vaporizes.

My company makes air polution control equipment. If something happens during the warranty period, it almost automatically costs me $1000+ (travel, labor + material). With that type of incentive I have learned to make things as robust as possible. This is a bit different in this case in that worst case is a burnt out power board. Still not something that you want to have happen.

Just my two cents.
  Reply With Quote
Old 04-10-2009, 01:20 PM   #839 (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
That's why you gotta build it right

You can leave the diodes in there AND use synch rec mosfets
  Reply With Quote
Old 04-10-2009, 01:30 PM   #840 (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 hadn't thought of that!

__________________
kits and boards
  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