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
Burned HK_UBEC_20A when using damping light mode #34
Comments
Normally FETs burn due to the low and high side being turned on simultaneously, and this is a risk that must be carefully avoided when running damped light. So, I ran this ESC on 4S, using a 2204/2300kv and a 2207/2100kv motor with 6045 prop. Both ran damped light very well (12.2 code). Current draw was around the expected 20A at full throttle. Maybe it's your motor that doesn't run well on damped light. I can look at some other motors. |
Interesting, your motor has much higher kv and possibly even electrical kv. I would think that ESC would have more problems with high kv motors. Do you have any more info on what motor parameter would affect damped light performance?
I will do a test with different motors and report back. |
One question, when damped light mode is enable, should the RPM governor be enabled also? Because I did not turn it on. |
It can or can not. They are independent. |
@sskaug should I try to remove befm capacitors? |
My ESC has CEP85A3 (exact markings on the element: 58A3 3502G) mosfets on both rails, the data-sheet shows: The ON switching time is much shorter than OFF time. But you have the same delay in https://github.com/bitdump/BLHeli/blob/master/Atmel/HK_UBEC_20A.inc#L55 configuration: .EQU NFETON_DELAY = 5 ; Wait delay from pfets off to nfets on
.EQU PFETON_DELAY = 5 ; Wait delay from nfets off to pfets on Maybe this is causing the situation where both positive and negative rail FETs are on at the same time? |
I have found an issue in the current code, where during start in damped light mode both fets are on for some microseconds. I have never seen any damage from this (it is for very short time), but it may be related to what you experience. The on and off times in the datasheet are not representative. The delays in the driver circuits are much longer. And the "XFETON_DELAY" values are fine. |
I have my ESC modified with additional 1000uF capacitor on the power supply rail. This could cause much higher current spike when bot fets are on at the same time. Any plan to fix this issue? I haven't done any more tests, because I don't have any spare ESC left. My remaining four ESC use Blheli 12.2 with Damped light turned off and perform flawlessly. |
Great to hear that they run well wo damped light, and sorry for the loss. And thanks for the info on the 1000uF cap, that may have caused a lot more energy in these spikes than normal and caused the ESC to fry. The bug only exists in the Atmel code (not SiLabs), and a fix is in place. We are just working on a few other improvements of the code before we release a rev13. Hopefully not in too many days. |
Don't worry about my ESC loss (it is only 7 eur and now I have four spare fets!). Thanks for your efforts and keep up the good work. |
@sskaug I want to ask you a couple of questions regarding the internals of blheli. When ESC is working without RPM governor without Damped light, the PWM pulse duty is proportional to input PPM signal. This (my) assumption is probably correct. Now we turn on Damped light. Now ESC must somehow know when to apply brake and when to apply power. How does it determine what to do, without some sort of RPM governor. From my understanding it must compare current motor RPM with desired RPM (commanded by input PPM signal). But how is input signal mapped to the RPM values. The ESC surely can not know which RPM value is equivalent to 100% PPM signal. That value depends on motor and voltage. Now we turn on both RPM governor and Damped light. This makes more sense to me since the governor now produces the decision to accelerate or brake the motor. But again how is the mapping from input PPM to motor RPM done. How does the ESC know which is the target RPM value for full throttle? |
No1 is yes. |
Thanks for answers, it is now more clear. I will order some more ESCs shortly and do some tests and report back. |
Rev13.0 is now posted, where this issue is fixed. |
Good news. Got a new batch of HK F-20A ESCs and tested with Blheli 13.0:
This is almost the same setup as in original post. Works very good, no sync issues. I am starting to believe that my burned ESC had some sort of hardware problem. Maybe there was also a bug in blheli 12.1. Whatever it works now, thanks! |
Thanks for the info. Good to hear! |
I've used four HK_UBEC_20A ESC on quad-copter with default settings (PWM Frequency = HIGH) with blheli 12.1 for a couple of months. Battery 4S, motor Turnigy Multistar 2216-800Kv 14Pole, 10x4.7 slowfly props. Performance was flawless, no issues even with fast change to full throttle.
Today I decided to improve performance by setting PWM Frequency to
Damped Light
and Damping Force toHighest
, which according to official documentation is allowed on this ESC. I only changed settings on one ESC to see the difference.At first test, using small 2S lipo and props on motors, everything worked, the braking was very evident. I was pleased and proceeded to connect 4S battery. The ESC all initialized normally then I gave it some throttle and heard a familiar pop. Before I realized what happened I tried to start motors for couple of times, every time the offending ESC would just move motor back and forth. I stopped testing.
Postmortem on ESC:
Then I did some more tests on another ESC (same as burnt one), this time using limited current source (bench power supply) and motor without prop. No matter what dampening force and motor timing was used the motor just didn't sound right (I even switched to blheli 12.2 after some tests). It was screeching and sounded very unhealthy. On the other hand if i choose PWM frequency HIGH or LOW the motor is butter smooth.
I have enough EE knowledge to do some measurements if you want, I have 2 channel 50MHz scope (could even use much better scope a work if needed).
Do you have any other setting recommendation I could try, or should Damped light mode for this type of ESC be removed from the docs and code?
The text was updated successfully, but these errors were encountered: