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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 09-02-2011, 03:56 PM   #571 (permalink)
nlc
EcoModding Lurker
 
Join Date: Jul 2011
Location: France
Posts: 90
Thanks: 3
Thanked 65 Times in 30 Posts
I received PCBs and components today, then I will try to do a video about qfp soldering this weekend !

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 09-02-2011, 04:00 PM   #572 (permalink)
EcoModding Lurker
 
Join Date: Aug 2011
Location: Michigan
Posts: 32
Thanks: 3
Thanked 29 Times in 10 Posts
Yes, it is certainly possible to solder 64 pin QFN chips with a normal iron. It's just that less people know how to do it.

I suppose my biggest reservation about the STM32 is sort of a nit picky thing: It really doesn't come with the source code to the FOC library. The hardware of this device is open source and I think that the software should be too. Microchip has freely available source code right on their website for FOC. I need to check into it more but I don't see it being a problem to use their code in an open source firmware.

The STM32 code also seems heavily geared toward PMSM drive. That having been said, it does appear that the library probably supports async ACIM too.

I guess I'm just leery of using a black box. The STM32 code is all packaged away and you are just supposed to trust that it works the way you want.
  Reply With Quote
Old 09-02-2011, 04:39 PM   #573 (permalink)
nlc
EcoModding Lurker
 
Join Date: Jul 2011
Location: France
Posts: 90
Thanks: 3
Thanked 65 Times in 30 Posts
I agree with you, it's why I requested (and received) the entire code source of the ST FOC V3.0 library from ST (under NDA), because I cannot deliver a software to a customer without perfect knowing of all source code it contains. The library is well designed and well coded. They use object programming style, and all functionnality is very independent in its one source file + private header file + public header file. I gradually study all source file, and because all functionnality reside in his own "blackbox", and software is based on different layer, it reduce the bug probability.

From my opinion, after reflexion, for an open source project I am not sure it's really a problem to have the complex part of the code to be a library if it is proved to work correctly and is highly configurable (which is the case, it is extraordinarily configurable !!). Because FOC control is a complex part, and for example even if I understand the principle, I will take a very long time to write my own FOC code (I hate math !!), or even modify the source code provided.

I think they deliver the FOC code as library because it seems they have very recent and powerfull algorithm for sensorless FOC.

For your question, yes, the library seems to be able to drive ACIM motor too, but I have not read this application note for now !
  Reply With Quote
Old 09-03-2011, 07:22 AM   #574 (permalink)
nlc
EcoModding Lurker
 
Join Date: Jul 2011
Location: France
Posts: 90
Thanks: 3
Thanked 65 Times in 30 Posts
As promised yesterday, the explanation of how solder a QFP package easily with normal soldering iron, normal solder, and without flux.
Sorry for my poor english ))))

Part 1 :


Part 2 :


Part 3 :
  Reply With Quote
The Following 5 Users Say Thank You to nlc For This Useful Post:
cybershorty (09-07-2011), mora (02-26-2016), mpgmike (01-27-2022), mrbigh (09-04-2011), thingstodo (09-25-2011)
Old 09-04-2011, 02:06 AM   #575 (permalink)
EcoModding Lurker
 
Join Date: Jan 2011
Location: france
Posts: 3
Thanks: 2
Thanked 0 Times in 0 Posts
bravo thank you for your tip
Régis
  Reply With Quote
Old 09-24-2011, 11:52 AM   #576 (permalink)
EcoModding Lurker
 
Join Date: Aug 2011
Location: Michigan
Posts: 32
Thanks: 3
Thanked 29 Times in 10 Posts
Just a quick note: I'm working on putting together an AC controller based on preliminary schematics from this project and the source code that Paul had for the project. The source code is currently in a repository under SVN control and I'll post the link once it's operating properly. I'm using the VLA500 based boards that Paul and mrbigh had.

Hopefully I'll have good news in a week or two. I'll put up videos of the whole thing too.
  Reply With Quote
The Following 4 Users Say Thank You to CollinK For This Useful Post:
cybershorty (10-05-2011), MPaulHolmes (09-24-2011), mrbigh (09-24-2011), thadm (10-03-2011)
Old 09-24-2011, 01:12 PM   #577 (permalink)
nlc
EcoModding Lurker
 
Join Date: Jul 2011
Location: France
Posts: 90
Thanks: 3
Thanked 65 Times in 30 Posts
Hello, from my side, I successully started the controller you seen in my qfp sodering video above. It use a stm32f103 and run the stm FOC library. I am really impressed by the smoothness of the motor rotation with FOC control, even at very very low speed. Habitually with brushless hub motor and associed made in china controller, there is a lot of electromagnetic noices and a lot of vibration, particularly at low speed.

Here a small video of my test, but in french



Phase current consign is 20A, and the second motor on the test bench has its 3 phase shortcircuited, to have a big load on the first motor. On the scope you can see the current of one phase, it's a very clean sinusoidal current !!!

And there is no noice and no vibration, very impressive because with high torque and very low speed, below 50rpm !!
  Reply With Quote
The Following 6 Users Say Thank You to nlc For This Useful Post:
CollinK (09-24-2011), cybershorty (10-05-2011), LouMan (10-07-2011), MPaulHolmes (09-24-2011), mrbigh (09-24-2011), thingstodo (09-25-2011)
Old 09-25-2011, 08:57 PM   #578 (permalink)
EcoModding Lurker
 
Join Date: Aug 2011
Location: Michigan
Posts: 32
Thanks: 3
Thanked 29 Times in 10 Posts
Quote:
Originally Posted by nlc View Post
Hello, from my side, I successully started the controller you seen in my qfp sodering video above. It use a stm32f103 and run the stm FOC library. I am really impressed by the smoothness of the motor rotation with FOC control, even at very very low speed. Habitually with brushless hub motor and associed made in china controller, there is a lot of electromagnetic noices and a lot of vibration, particularly at low speed.

Here a small video of my test, but in french

Awesome stuff! I thought about using the STM32 stuff but obviously I've went back to using a dsPIC and starting with Paul's code. The reason for this is that I feel that it is better to teach people about motor controllers and their operation if the source code is out in the open. The microchip code is freely available on their site and soon our code will be too. If anyone is curious how V/Hz works or how field oriented control works then they can look at the relevant code and find out for themselves. They can tweak it and try again to see how it affects the results. The resulting code, at least at first, is likely to not be as good or full featured but it's (I think) more accessible.

Using the STM32 library is certainly a way faster and safer approach (that is, one is less likely to blow something up). I'd recommend it for people who want to make their own controllers with a minimum of fuss. STM32 chips are certainly very nice and one wouldn't go wrong in choosing that path. I'm just interested in the harder, more illustrative path.

Anyway, keep up the good work. It looks very nice so far.
  Reply With Quote
Old 10-03-2011, 08:31 PM   #579 (permalink)
EcoModding Lurker
 
Join Date: Sep 2011
Location: Portland Area, OR
Posts: 1
Thanks: 4
Thanked 0 Times in 0 Posts
First post

Quote:
Originally Posted by CollinK View Post
Just a quick note: I'm working on putting together an AC controller based on preliminary schematics from this project and the source code that Paul had for the project. The source code is currently in a repository under SVN control and I'll post the link once it's operating properly. I'm using the VLA500 based boards that Paul and mrbigh had.

Hopefully I'll have good news in a week or two. I'll put up videos of the whole thing too.
Thank you, Collin for collecting and compiling the works up to this point. I had spent most of the weekend reading through the thread, and was a little disappointed that it looks like the thread has "gone cold". This seems like a very worthwhile project, and if the source is in a (mostly) stable state, I imagine that it won't take long for fixes and enhancements to start coming.

I consider myself to be a likely contributor to the code in the future. While I'm proficient in "C", for real-time, highly mathematical calculations I'm sure it may take a while to get up-to-speed on the project.

I'm thinking of adding support for 6 phases, as (it seems at least) many 3 phase motors can have extra leads added to increase the number of fields. Yes, the hardware will need to be modified, but components can have lower power factors as well. Just thinking out loud mostly here...

Thank you again. I look forward to seeing the project "all in one place".
  Reply With Quote
Old 10-03-2011, 10:32 PM   #580 (permalink)
EcoModding Lurker
 
Join Date: May 2011
Location: Canada
Posts: 12
Thanks: 4
Thanked 1 Time in 1 Post
Hello Paul. I hope everything is okay with you. The last post I see from you was 17 July. You were testing/debugging/modifying. I know its a huge undertaking but it would be great to hear from you.

Nigel.

  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