Giter VIP home page Giter VIP logo

Comments (5)

HangX-Ma avatar HangX-Ma commented on July 16, 2024

I'm glad you are interested in my miniFOC project. I'm not a member of Simple FOC community but I actually learn a lot of techniques and knowledge from it. I once majored in EE when in undergraduate. Doing this project was purely out of personal interest.

Qfplib works well in Cortex-M3 series chips. I think TI's IQmath has been widely used in such chips that has no hardware float calculation capability. I just want to find a math library to substitute it. Actually, Qfplib works well. I used to debug my project and this math library visibly speeded up the calculation process, though not accurately as using those timing lib.

I hope my answer can assist your further study and work. -v- @Candas1

from minifoc.

Candas1 avatar Candas1 commented on July 16, 2024

Thank you.
I will try it, it seems Qfplib can be used to substitute match operators without changing the code (blog post).

I recently proposed this, maybe this is also useful for you.

SimpleFOC could probably run on your hardware.

from minifoc.

HangX-Ma avatar HangX-Ma commented on July 16, 2024

Great posts! Thanks for your suggestion. I think they will increase my understanding of Qfplib and help me to optimize the firmware.

from minifoc.

Candas1 avatar Candas1 commented on July 16, 2024

You have 3 shunts, you could also only use the 2 phase currents of the phases with lowest duty cycle and do the foc with 2 phase currents only.

That would prevent issues at high duty cycle.

from minifoc.

HangX-Ma avatar HangX-Ma commented on July 16, 2024

You have 3 shunts, you could also only use the 2 phase currents of the phases with lowest duty cycle and do the foc with 2 phase currents only.

That would prevent issues at high duty cycle.

I used to use the two phases version, but I encountered with the current phase sequence problem. Three phases control version cloud give me a chance to change the current phase sequence conveniently. Finally, I found that maybe my hardware design has some subtle mistakes that introduces noise into the current sense module. I didn't solve this problem. So this firmware version only uses the voltage control method.

from minifoc.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.