-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove power limits after initial run phase is done #166
Conversation
0ade1e8
to
09f1b32
Compare
Tested in the workbench jamming the motor. Please, when possible could you check on your side? |
09f1b32
to
93e662f
Compare
Tested in workbench. Power supply over current protection never triggers. No magic smoke, in any motor neither in any esc. |
Alright, painful to watch, but looking good in general. I did some testing with whoops, although not with the latest push. Did you do any turtle mode tests with 5" by any chance? Also was this with dyn idle on? |
Tbh no dyn idle testing yet and no turtling. I will make more testing this week |
More testing done. This time turtling: Dynamic idle also tested. Min/max startup power are 1010 and 1020 respectively. They are the bare minimum to start the motors. Above that the likelyhood of burning anything increases. |
Perfect, I added a note to the release notes for people to be careful when setting up min/max startup power. I am wondering if we should adjust the min/max startup power defaults to a "save minimum". If not, we should probably also do a test run with the defaults, just to be on the save side. |
In my opinion defaults are very high for 5 inch kwads (normally 1010/1020), even for 3 inch they may be too much on some ocasions. Unfortunatelly they should be adjusted to the absolute minimum for each type of kwad, depending on battery S, motor type and esc deadtime. Some sort of preset system or calculator may help, but I am not sure how far of scope may it be. |
Yeah, we could add a calculation to the wiki, I think that'd be out of scope for this issue. What I'd feel comfortable with is reducing min/max defaults, keeping 5" in mind. Worst case we would have people complaining about motors not spinning up or turtle mode not working properly - those requests would be easier to handle than people blowing up their shit because they did not read the release notes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, looks fine to me. We should still consider if we want to adjust the min/max startup power defaults - I would also need to adjust that in the confiurator then.
I think that we could set it to 1010/1020 for 5 inch kwads. I know that this is the most conservative option, but many people already know that they have to move sliders up to make it work on tinywhoops. |
Yes, better to err on the side of caution. Let's adjust min/max defaults then. |
Assets for 0.20.1 RC1 (testing) Remember to keep min/max startup power to the minimal possible value for maximum protection on crashes and set motor idle to keep motors spinning after startup. |
BETAFPVF4SX1280 0.21.1 startup testing https://youtu.be/YXQBVlivhEk (thumbnail is settings) |
BETAFPVF4SX1280 deadtime 5, 0702 28500kv motors & Bluejay 0.20.1 TMOTOR F411 AIO 1S 6A ELRS, deadtime 10, 0702 32000kv motors and Bluejay 0.20.1 |
GEPRC-AIO-F722 G-H-30 1804 2450kV @ 6S Bluejay 0.20.1 from assets above |
93e662f
to
09f1b32
Compare
Pwm_Limit_By_Rpm allowance removed from inital_run_phase_done to pwm limit by rpm will increase in set_pwm_limit function Reenabled rampup during initial run phase
09f1b32
to
b7264ea
Compare
Assets for 0.20.1 RC2 with power rampup during initial run phase (testing) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, looks fine to me.
I suggest we merge and move on to make version "v0.21.1 RC2 (for testing)" available via configurator.
Maybe it would make sense to move the test results regarding min/max startup power and idle to the Startup power wiki page as a reference?
Yes, please merge it. |
This pr moves the release of startup power limits until the end of the initial run phase: