Comments (1)
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)
- Bootloader incompatible with recent versions of avrdude HOT 1
- Issue with HVSK-40A (OPTO)
- BlueSeries_12A_cod modifying for Nfet driver IC IR 2101 HOT 1
- Disable all beeps? Possible? HOT 1
- Can I replace Emax BlHeli 12A ESC fets with AO4407A p-fets and AO4430 n-fets ? HOT 1
- Using SimonK with the Attiny84 HOT 1
- e-skateboard brakes HOT 3
- modular ESC
- Constant rpm ("governor") mode? Control over number of turns? HOT 1
- hobbyking hk-b125a
- Red Brick 70A Motor stocks at 50% throttle HOT 1
- Disable the arming
- Yellow ESC HOT 3
- How to write tgy. Inc apfet bpfet cpfet inversion
- How does Simonk modify the stop time after start-up stall failure? It needs to stop after 1 second
- Firmware not running on selfmade esc. but blink asm test code works
- Firmware for this yellow generic cheap ESC HOT 2
- Redbrick 200a adding a 4th mosfet sandwich
- Using SimonK with the Atmega 168P or Atmega328P HOT 1
- Enabling RC_PULS_REVERSE or disabling RC_CALIBRATION breaks firmware
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tgy.