GithubHelp home page GithubHelp logo

Active braking feature (for multicopter) about tgy HOT 1 OPEN

sim- avatar sim- commented on July 28, 2024
Active braking feature (for multicopter)

from tgy.

Comments (1)

lakeroe avatar lakeroe commented on July 28, 2024

Answer from SimonK per mail:

Active braking described in this way would require closed loop drive
within the ESC, since there would need to be a controller to apply the
brakes based on timing feedback. As such, the system would have to be in
a control mode by speed, since otherwise we would not know when to brake.

I have thought about adding this, but I have two concerns: The difficulty
involved in properly calibrating the maximum RPM (and thus scaling of the
input) with full expected load, and timing interactions with such a
system and a similar loop already present in the flight controller. There
would need to be tunables for the controller and the input scaling,
making the system quite complicated and likely difficult to tune.

Ultimately, complementary PWM implements the complementary side of
applying power and braking. The only thing that prevents it from being
completely symmetric is perhaps that MOTOR_BRAKE=1 is stronger than the
equivalent of what would be 0% duty cycle with COMP_PWM=1. I was thinking
of adding this mode, but, in a way, it already works with the flight
controller keeping the output range above idle when mixing motor outputs.

Regardless, the output of such a speed controller is effectively what the
flight controller is already trying to achieve. So, I'm not yet convinced
that adding an additional loop will actually help. The only difference is
that such a system could reduce under/over-shoot of the motor speed
before the resulting thrust can be measured, but I'm not sure this is
actually what is wanted for stable flight. Perhaps it allows to work
separately with the frequency response of the motor bell/propeller versus
that of the frame.

from tgy.

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.