A while ago, by chance, in theBLooked at one on the stationsimplefoc's introductory video, the simplicity of the code, the subtlety of the algorithms are admirable, and even more admirable: open source! Soo! Search for it! Do not search do not know a search shocked, found tooOUTUp, it turns out that there are so many people playing with this algorithm that it makes me, who has been immersed in Parker and Anti-Parker all day,Ualpha、Ubeta...The development tapper sweats.
Out of curiosity and an insatiable thirst for knowledge (sweating!) , on its official websiteDownloaded the source code:
The environment of the algorithm is based onarduinoThis would make it easier to use (butarduino(Although it will make the development of simple but the development of flexibility will deteriorate, here is purely personal opinion, disagreement partners do not spray hard). Support a variety of microcontrollers:ATMega328, STM32, ESP32, etc. So the question is, the more microcontrollers supported, the more complicated the algorithm is? And in order to take care of all microcontrollers can run, certainly some algorithms are not optimized, which will easily affect the code running efficiency.
Then there is to see that everyone is using this algorithm to drive small power motors, so can we use this algorithm to drive slightly more powerful motors? For example, use this algorithm to drive motorized scooter wheels, motorized wheelchair wheels, medium to large robot floor wheels, and so on.
The point of all this ranting is really to implement a low-cost scooter or e-bike motor driver using this algorithm.
The goal is:
1, the board's drive power is large enough (exactly how large?). I think it is enough to be able to drive a 450W motor).
2. Low cost.
3, The algorithm is simple enough (simplefoc has already taken care of that).
4. Full localization (this is the trend).
5. Complete protection function.
6, based on MDK or IAR development environment
If you want to eat through the code, then you reproduce a corresponding physical out of zero, in the debugging process to understand the essence of the code, so that you can eat through, eat through to innovate (speaking from experience, here is very serious, haha).
I wonder if there are any like-minded partners to work together to solve problems together (my time is really limited, more power to more people), and uphold the spirit of open-source dedication to thefoc cause to add to it.
A group was created to facilitateF friends exchange communication (note: the group can only exchange counting problems, chatting about illegal topics will be kicked in the ass oh)
July 28, 2024 Beijing