Go Back   EcoModder Forum > EcoModding > Fossil Fuel Free
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 09-23-2010, 07:53 PM   #371 (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,368
Thanked 1,202 Times in 765 Posts
Oh heck ya, oscilloscope just arrived. testing to commence after 50,000,000 other family things today. haha. Probably late tonight. This sucker is going to work sooner rather than later. I'm so excited.

Yes, very minor changes to the AC control board. Should it stay completely through-hole?

__________________
kits and boards
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 09-23-2010, 09:25 PM   #372 (permalink)
EcoModding Lurker
 
Join Date: Jul 2010
Location: Cleveland, OH
Posts: 89
Thanks: 5
Thanked 7 Times in 5 Posts
Through hole is friendlier for DIY stuff, most people won't know how to look for/avoid hairline cracks on those SMT resistors and caps. Plus a good flex in the board can cause that too.. and the larger 2225 packages get really finicky about how you solder them.

That said, with proper mechanical support and soldering it normally isn't an issue. Not only that but the reduced weight of the parts can make it more resilient against vibration. That might be TH's largest weakness unless you pot the board. Also the smaller size helps a lot, even in stuff like this where you normally wouldn't think of space as a huge constraint. With higher frequency stuff it also keeps the traces short and the drive stuff packed densely together with a solid ground plane underneath, shielded in a way that through hole makes impossible. This is all sub 100khz so not really a factor, just rambling on I suppose.

I think a mix is best.. if the board will have mechanical screw connections to the IGBT's or large caps then the board will flex, best to use TH in that area. A sub-board with the micro which is isolated from this stressing and heat would probly be better off SMT.

Last edited by Automcdonough; 09-23-2010 at 09:31 PM..
  Reply With Quote
Old 09-23-2010, 09:49 PM   #373 (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
Through hole is still best if this is headed for a Kit, especially if you are close to a working thing already. I actually did my first smd on an obddiag kit the other day, pain in the butt with "regular" equipment. Any chance this will work with my mars brushless (hall effect PM jobbie)?

Is the fine resolution speed sensor there so you can detect slippage quickly and bump up the "field" power if it has dropped to much?
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 09-23-2010, 10:15 PM   #374 (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,368
Thanked 1,202 Times in 765 Posts
Thanks for the suggestions Automcdonough!

dcb, I think that's it. The torque and flux components are at right angles. If the flux vector you are commanding isn't aligned with the rotor flux vector, I guess it's just a waste of power. I think in that situation, the torque component isn't happening at exactly a right angle, and it's a waste of torque. Like trying to turn a wheel by pushing straight in toward the axle rather than tangent to the wheel.

The real reason I ordered the fine resolution speed sensor was because the application note said I needed rotor velocity to compute rotor flux angle. I didn't really have a clue what any of that meant, so I just ordered it. haha. You can do sensorless, but it's harder. Heck, even AC FOC seems like it won't be easy. Everything about finding the motor characteristics to optimize the FOC equations seems proprietary. No company wants to explain how they do it.

I think it would work fine with a brushless DC. Actually, brushless DC would be easier, since the rotor angle and rotor flux angle would be the same, because of the permanent magnets. And the rotor flux angle is the horror to compute. Also, in that case I_flux is just set to 0, since you get the rotor field for free. All you need to worry about is I_torque. Then for field weakening, you actually set I_flux negative, and it fights against the magnets of the rotor, making them weaker, allowing higher rpm.
__________________
kits and boards

Last edited by MPaulHolmes; 09-23-2010 at 10:32 PM..
  Reply With Quote
Old 09-23-2010, 11:06 PM   #375 (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
hmm, I was thinking for field oriented control as something similiar to field weakining, where the controller is actively looking for (i.e. with a PID) the minimum amount of current needed before slipping occurs. Maybe I'm just still confused

I get the flux angle bit, sorta, no point pulling when you should be pushing, or doing nothing. But with fine grained speed control, I guess you could detect a slowdown more quickly is all I can think of. Perhaps FOC would feel jerky if you had a chunkier speed sensor (i.e. 3 hall sensors)?
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 09-24-2010, 12:51 AM   #376 (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,368
Thanked 1,202 Times in 765 Posts
I still don't really understand it. haha. It sort of makes me happy though. I think once the controller is working, and I see lots of I_torque, I_field, and who knows what all graphed out, it will make a lot of sense.

I LOVE that new oscilloscope! Holy cow! I just put that sucker on each of the 6 pwm outputs, and it made debugging a million times easier!!!!!!!!!!!!!!!

I added a pretty strong (1kOhm) pulldown resistor to the power supply of the 6 HCPL-4506 optocouplers. Now, when I create an artificial overcurrent event, all 6 pwm outputs disable! Before, the power supply was left floating, sort of disconnected from the 5v supply by turning off a p-channel mosfet. The problem was, it was floating at around 2v, which was enough to turn on some of the optocouplers, since some have a better current transfer ratio than others.

So, I think the whole stinking thing works now! I really should check to see that the 6 undervoltage circuits are working. I have every reason to believe that they are.

I could NOT have done this without that oscilloscope. The motor WILL turn by Sunday... That's the rules. I didn't write them.

This is the first time I've ever made a circuit that only had 1 thing wrong with it. hahaha. 1 resistor out of like 290 components or so.
__________________
kits and boards
  Reply With Quote
The Following User Says Thank You to MPaulHolmes For This Useful Post:
mpgmike (01-26-2022)
Old 09-24-2010, 02:21 AM   #377 (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,368
Thanked 1,202 Times in 765 Posts
low voltage cutout works perfectly! All 6 drivers disabled when 12v supply drops to about 7.9v. The microcontroller is still functioning perfectly though at that input voltage, so it can still make decisions. Hurray! Time to put it back together now. I can't believe I made something that actually works!

Power consumption at 12v is about 620mA, so about 7watts. It's those 6 DC-DC's I think that makes it eat up more power. At 8v, it was using about 850mA.
__________________
kits and boards

Last edited by MPaulHolmes; 09-24-2010 at 02:42 AM..
  Reply With Quote
Old 09-24-2010, 04:41 AM   #378 (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
Nice Job Paul! FYI, I found lots of FOC for dummies pages, and it seems a little more obvious now. current phase != voltage phase DOH! keep the field at 90 degrees. three phase to two phase transformation -> rotation -> corrections (PI) -> unrotate -> 3 phase.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 09-24-2010, 08:25 AM   #379 (permalink)
EcoModding Lurker
 
Join Date: Feb 2010
Location: Ann Arbor, MI
Posts: 53

ElectricZX2 - '98 Ford ZX2 Cool Coupe
90 day: 140.91 mpg (US)
Thanks: 0
Thanked 12 Times in 8 Posts
Amazing job Paul! That's so exciting. Can't wait to see a video of the motor turning Saturday night late....
  Reply With Quote
Old 09-25-2010, 12:15 PM   #380 (permalink)
EcoModding Lurker
 
Join Date: Sep 2010
Location: Grand Rapids, MI
Posts: 14

Patrol Car - '95 Chevy Caprice 9C1

Buell - '01 Buell Blast
Thanks: 0
Thanked 0 Times in 0 Posts
A SMD controller board would be a nice option, if it was single sided.
A toaster oven works wonders if you have a solder mask layer, transparencies and an exact o knife.

  Reply With Quote
Reply  Post New Thread


Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paul & Sabrina's cheap DIY 144v motor controller MPaulHolmes Open ReVolt: open source DC motor controller 7381 08-02-2023 10:55 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 09:09 PM
Contest! Name Paul & Sabrina's controller MetroMPG Forum News & Feedback 120 10-22-2011 01:59 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