Giter Site home page Giter Site logo

Comments (3)

cmroche avatar cmroche commented on August 16, 2024

I was able to track this down.

Basically it's caused by the fact that homing_move is used (which makes sense), Stallguard doesn't work very reliably near 0 velocities and basically what happens when the selector decelerates to stop at the target position, if it goes slow enough due to a low acceleration (I was using 600), it causes Stallguard to trigger a bit early.

With 600 m/s^2 I was getting the 1.2ms - 1.4ms I mentioned above.
With 1500 m/s^2 I am getting around 0.5ms each time.

Since this can vary a lot based on configuration, perhaps the default 1mm tolerance should be changed to something a bit larger? When using sensorless it might be good to advocate for a higher default acceleration on the selector too.

from ercf-software-v3.

moggieuk avatar moggieuk commented on August 16, 2024

Wow. Don't know how I missed this message before. Very interesting detective work. I was never able to find the correlation between different deltas. Well done 👏 .

I will experiment with increasing the default acceleration. 1500 seems a little high but can ship with higher and definitely document this finding.

BTW I have a major rework of Happy Hare in a new repo. I'll accommodate this feedback there..

from ercf-software-v3.

moggieuk avatar moggieuk commented on August 16, 2024

Ok. For Happy Hare v2 (which will replace this software) I have made default acceleration 1200mm/s^2 and increased tolerance to 1.5mm. I this brings everything back into the happy zone.

I'm going to close this issue on this release (because I'm unlikely to update given the HHv2 replacement).

from ercf-software-v3.

Related Issues (20)

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.