ckflight / ESC_BLDC_HARDWARE

BLDC 3 phase motor speed controller hardware design working with open source BLHeli_S firmware.
66 stars 26 forks source link

Motor not spinning properly #2

Closed MxFrs closed 7 months ago

MxFrs commented 1 year ago

Hello, I have rebuilt your design with some slightly different components to raise the maximum voltage. I managed to get the motor moving in an uncontrolled fashion. It looks like desync to me, but not really sure. I measured a lot of signals with an oscilloscope and for me all signals look pretty much fine, but as you can see in the video, it doesn't spin the motor. Did you ever experience something similar while developing/testing your design? I've also attached my KiCad schemtic so you can maybe check weather I made any obvious mistakes (I tried to copy your design as much as possible).

https://github.com/ckflight/ESC_BLDC_HARDWARE/assets/35507432/e0968a6a-ea30-4bd2-8eca-dfb2842b4fb6

Bildschirmfoto 2023-05-21 um 23 40 17
ckflight commented 1 year ago

Hi, i did not experience anything like in the video. Its not desync for sure though. It cannot commutate it seems like timing related issue.

I have check the transistor datasheet you used and its gate charge and on off time is similar to the transistor in my design. I would suggest changing the firmware timing try other ones like c h 20 25 etc.

Also pcb design is really important i made 4in1 esc with same setup and it did not work properly. Meanwhile it was fine in 1 esc design.

Let me know if you figure it out the problem. I wonder what is the problem.

Regards.

MxFrs commented 1 year ago

Thanks for the tips, I will try with the different firmware. Also, I forgot to mention, that I am actually using different Mosfets (https://www.mouser.de/ProductDetail/?qs=gt1LBUVyoHmr9i%252B8H6gEPw%3D%3D). They have for example a higher gate charge. Can you specify what to look out for to check, weather the gates are driven properly? I guess I would want to see a kind of square signal on the gate pin which has high enough voltage?

ckflight commented 1 year ago

Check description of the project there are 2 formulas. Simply transistor with higher gate charge (meaning more powerful transistor), it needs higher current at micro milli second level like from 2, 3 ampere to 0 in millisecond to properly drive the gate of the transistor.

Long story short, The transistor you use is powerful and it has higher switching time because it needs higher current to charge itself therefore it takes time. Try firmware with higher delay than 30 also decrease gate resistor value little bit to 30 ohms. It should work because it is working but not commutating properly right now.

MxFrs commented 1 year ago

I tried all the following firmwares with 47 Ohm resistors and, by adding the same in parallel, 23.5 Ohm. I tried C-H-30, 15, 5, 40, 50, 70 and 90. Unfortunately no real difference between all the versions. I also lowered the startup power to 0.125 which resulted in the motor starting slower and actually making about one revolution before starting to do weird stuff again. Any other ideas?

ckflight commented 1 year ago

Then as i mentioned before, pcb design is important. When 2 of the motor connection is connected third one is for feedback for detecting the phase of the motor. Maybe that signal affected by return currents etc. Can you compare your esc design's motor phases to a working esc.

Also can you change the transistors to a less powerfull one to cancel out that option as well.

On Tue, 23 May 2023, 23:45 Maximilian Fries, @.***> wrote:

I tried all the following firmwares with 47 Ohm resistors and, by adding the same in parallel, 23.5 Ohm. I tried C-H-30, 15, 5, 40, 50, 70 and 90. Unfortunately no real difference between all the versions. I also lowered the startup power to 0.125 which resulted in the motor starting slower and actually making about one revolution before starting to do weird stuff again. Any other ideas?

— Reply to this email directly, view it on GitHub https://github.com/ckflight/ESC_BLDC_HARDWARE/issues/2#issuecomment-1560101826, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOTZRMONNISQ7DA7MIKAXJ3XHUOWTANCNFSM6AAAAAAYJUSSM4 . You are receiving this because you commented.Message ID: @.***>