Uncategorized

Motor Driver keeps dying/frying driving a worm gear motor

Motor Driver keeps dying/frying driving a worm gear motor

Ask QuestionAsked yesterdayActive todayViewed 123 times1

I am looking for some consultation about controlling a24VDC worm gear moto. I have blown 4 h bridge motor drivers thus far and while I have been trying to keep my project price tag low I may need to step up in quality but I want to make sure something else may be going wrong. I am a ME by trade but I remembered a smidgen about inductive loads and back EMF wreaking havoc on components. I have been using the following: driver 1 and driver 2 to control the motor but they keep failing and at random times. This makes me suspect not my wiring but something else and possibly not protecting the components. My most recent board was working, next thing you know the ERR LED light is on and the manual says “ERR LED Indicator – Error LED Indicator, it will illuminate when fault detected in on board MOSFET driver.”

I would think a motor driver board would know it would be dealing with inductive loads and protect against this but maybe I am wrong. Do I need to spend more money on someting like the following?

Help a poor ME sticking his toe in the water of electronics!

Thanks in advance!mosfetmotorh-bridgeinduction-motorShareCiteEditFollowFlagasked yesterdayTheCodeNovice13555 bronze badges

  • 2What is the frequency of the pwm? Generally I’d put a varistor (MOV) across the motor terminals as close to the motor as possible. Something like a 20mm 30V device. β€“ Kartman yesterday
  • @TheCodeNovice, Just now I skimmed the Pololu motor driver you are considering, to get a rough idea of your requirements: (1) Pololu G2 High-Power Motor Driver 24v13 (6.5V to 40V, cont 13 A without heat sink, no over-temperature, over current shut-off) pololu.com/product/2992. My first impression is that it is not newbie proof, because over temperature and over current can fry the driver! πŸ™‚ β€“ tlfong01 yesterday    
  • 1@Kartman my pwm frequency is 10kHz. Do you have a link of MOV so I know what I am looking for? β€“ TheCodeNovice yesterday
  • 1@tlfong01, Would it over heat with out running the motor? I do not think that worm gear motor I am using will run close close to the rated 13A that is why I thought I could slide by without it. Do you know of a nice noob level h bridge brand I could use? β€“ TheCodeNovice yesterday
  • 1Google MOV 20mm 30V β€“ Kartman yesterday
  • @TheCodeNovice, well, I did fry many gear motors (do’t ask me how many, but I do have spare gear heads, just in case! :)). One of the many reasons are (1) physically overloading, (2) gear stuck or crashed, (3) start current which might be many times of operating current (so Pololu suggests ways to avoid bad things happening, by using big cap near PSU, or slow slow starters). β€“ tlfong01 yesterday   
  • For motor newbies, I usually recommend the following Q&A: How to use motor drivers with H-bridge and PWM input, to control direction and speed of DC motors? – EESE, Asked 2020jul16, Viewed 1k times electronics.stackexchange.com/questions/510755/…. I usually newbies to start with plain, old, very power inefficient, stupid, L298N bipolar H-bridge, 4A driver, which has built in Schotty flyback diodes on board/module to protect back EMF. β€“ tlfong01 yesterday   
  • You can start messing around with the very popular yellowish, cheapy TT130 gear toy motor with operating current around 350mA, and stall current less than L298N’s max 4A (So it is very difficult for newbies to fry the driver!). After you have gained some experience and confidence, you can bravely go up using mid level MOSFET H-bridges, and perhaps catch up me, the motor driver ninja, with my BTN7971B, max 43A, with current control, current sensing etc etc. You can search “BTS7970”, “BTN7971B” for my related answers. Ah, I missed my locking down morning tea. Good luck and see you later. β€“ tlfong01 yesterday   
  • 1@TheCodeNovice This is one of those times when I really tend to prefer BJTs. Not because BJTs are better. They aren’t. They are just different. But because it is harder to design MOSFETs for bullet-proof performance in motor bridges like this and if you are buying cheap products chances are you are also buying lower training and experience levels in designing them, too. I’m just a hobbyist and not a well-trained engineer, though. So I’m biased somewhat towards “easy to get right.” Take that into account. β€“ jonk yesterday 
  • 1@TheCodeNovice Aside from all the ways the MOSFET gate can acquire far too much charge with inductive motor loads — reversable moreso — MOSFETs also hate sudden junction temperature increases because of over-voltages across their internal body diodes. (Avalanche!) When the MOSFET is switched OFF the inductor’s reverse EMF passing through that MOSFET body diode heats it way past its limited junction temperature and boom. An external high power diode across the DS terminals can help. I guess I’m saying that design experience matters — especially with MOSFETs and inductors. β€“ jonk yesterday 
  • 1@tlfong01 if you want to convert this great info into an answer I will accept it. β€“ TheCodeNovice yesterday
  • 1Do you have dead time when switching? β€“ Gil yesterday
  • @Gil, yes, that is my worry when I studied the OP’s two drivers he frird. His drivers use 4 discrete transistors to form a bridge (I am not sure if the module has hardware “break before make” mechanism so that one transistor switch off before the other switches on, otherwise there would be a “shoot through” current and fry something. The modern H-bridges have built in hardware shoot through through prevention. The two drivers the OP is using are either discontinued (for a reason) or seemingly old design. So I am recommending the newbie proof, L298N BJT NPN H-bridge, with built in flybacks. β€“ tlfong01 yesterday   
  • 1@tlfong01 If you are stuck using a motor for the application what would be a suitable H Bridge? The L298N appears to only handle 12VDC motors. β€“ TheCodeNovice 15 hours ago
  • What kind of power source do you use for all this? Maybe you have undervoltage under some conditions and driver can’t drive gates properly and transistors can’t open completely, so they blow up? β€“ Kamil 8 hours ago
  • @Kamil I am using this amazon.com/gp/product/B01IOK5FM0. I have this powering the worm gear motor, stepper, stepper controller, beaglebone black and a load cell digitizer. Outside of the motor nothing really draws much in terms of amperage β€“ TheCodeNovice 8 hours ago
  • 1MOVs will adsorb transients but they are not extremely fast, I prefer semiconductor devices designed for this purpose. I would also suggest he check his circuit and be sure all of the H-Bridges have appropriate pull up or down resistors on the micro as they will be unknows during startup and large transient can occur especially if both drivers on one side are activated. β€“ Gil 5 hours ago
  • @TheCodeNovice, Your Amazon EagleWell SMPS looks good. I will be including it in my reference list, and we will study it if necessary. I have various PSUs in my lab, mostly 5/12V, up to 48V, from 1A to 21A. I will be using 12V only for this motor driver project, and perhaps you 24V on your side, so we can compare and contrast. β€“ tlfong01 3 hours ago    
  • @Gil, yes, I agree that MOVs are not fast enough. I usually use 1N5822, sometimes in parallel in big current cases as the OP. Back EMF Schottky Flyback Diode Selection Notes – Rpi.org.forum raspberrypi.org/forums/…. Cheers. β€“ tlfong01 3 hours ago   
  • @TheCodeNovice, Well to avoid motor getting stalled and drawing huge current, you can use H-bridge drivers with over temperature and over current protection: (1) I use ployfuse and slow blow fuse as the first line of defense. (2) I also use current sense circuits (yes, eg, for L298N and BTN7971B) to detect over current, actually current monitoring for feedback speed/stall control. β€“ tlfong01 3 hours ago   
  • Ref 7, 8, 18 of my answer describe how to monitor motor current, for over current alarm, and/or PID speed control etc. Appendix D of Ref 8 explains why wrong wrong wiring/control might burn the driver. BTW, do you use any BBB code to control the motor? β€“ tlfong01 3 hours ago    
  • Your Pololu motor driver (Ref 15) also has current sense circuit to do stall alarm or speed control. β€“ tlfong01 3 hours ago   
  • Just now I searched my junk box and found a 24V 13rpm worm gear motor, lying there for perhaps 5 years, collecting dust. I am now thinking of playing with it, using my BTN7971B motor driver: i.imgur.com/MDDbhBa.jpeg. Stay tuned. Cheers. β€“ tlfong01 2 hours ago   
  • Now I am doing a preliminary test. I used a multimeter to measure the worm gear motor’s resistance and found 28Ξ©. So the operating current should be I = V/R = 12V/28Ξ© ~= 400mA. Then I use a 220VAC to 12VDC 1A PSU to drive the motor. I found the motor moving slowly, as expected: youtu.be/8RdyY_lDuRQ. Next step is to use BTN7971B to drive the motor. β€“ tlfong01 59 mins ago   
  • BTN7971B driving the worm gear motor is smooth: youtu.be/SHsiKPyaaW4. So I have shown the OP how to do it. Perhaps the OP can get a L298N and a BTN7971B and test his 24V wrom gear motor. I will lwait for him to catch up and see if he has any other questions. In the mean time I will carry on the following: (1) use PWM to adjust speed of motor, (2) Use Rpi Thonny python and ADC to measure the current of the motor. This following up work is not asked by the OP, so is out of topic, and not reported here. β€“ tlfong01 4 mins ago   Edit   

Add a comment

1 Answer

ActiveOldestVotes3

Question

The OP has so far fried four motor drivers. He wishes to know what went wrong, and how to avoid frying more motor drivers.


Answer

Part A – Analysis of the the OP’s motor and motor drivers

  1. We will first study his motor and motor drivers, and then guess what went wrong.

  1. Uxcell JFC63R Gear Motor (Appendix A)My first impression is that it is a very powerful motor. I usually first look at the motor shaft. The shaft is 10mm diameter, which is for very powerful motors. The power is 80W, an of course is very powerful. This implies big current is need to drive this motor, and that the back EMF, which is proportional to the square of the motor current, is huge, and needs a powerful and fast Schottky flyback diode to absorb the motor’s inductive energy, when the motor current is switched off.Another implication is that even with light load, the motor might not move, and the stall current would be many times of the operating current, and the motor driver might easily get fried, if there is no over current and over temperature protection.

  1. Cryton 80W, 13A Motor Drive MD13S (Appendix B)The Cryton MD13S looks OK, except it can only handle max 13A continuously. As mentioned earlier, this motor stall current may exceed 13A, this overheating the driver and fry it.

  1. Niyito 170W, 110A Motor Driver (Appendix C)The current rating looks OK. However, there is heat sink used, which might be problematic, if there is no temperature protection.

Part B – Suggestion to the OP and other motor newbies

The OP appears to have thrown himself at the deep end of the swimming pool. I would suggest to start learning at the shallow end, ie cheapy motor drivers and motors such as L298N H-bridge motor driver, and TT130 toy motor.

The good thing is that the basic principles of H-bridge drivers are almost identical, no matter current rating. In other words, almost all knowledge and skills can directly transfer when switching to industrial/professional grade stuff.

So, after gaining experience and confidence, he can then try high end motor drivers such as BTN7971B (45V, 50A), and not so powerful (therefore not so easily fried! :)) motors such as JGB37-520 (12V, 350mA), as described in this motor newbie tutorial.


References

(1) Uxcell DC24V 80W 100RPM 8NM 10mm Reversible Worm Gear Motor High Torque Speed Reducing Electric Gearbox Motor-JCF63R – Amazon

(2) Cytron 13A DC Motor Driver MD13S – Amazon

(3) Noyito 170W 2-Channel 3.3V/5V Logic input PWM H-bridge Motor Drive Module – Amazon

(4) Pololu G2 High-Power Motor Driver 24v13 – Pololu

(5) How to use motor drivers with H-bridge and PWM input, to control direction and speed of DC motors?

(6) What is back EMF? EESE, Asked 2021apr27, Viewed 714 times

(7) BTS7960/BTN7971B Motor Driver Q&A 1/2

(8) BTS7960/BTN7971B Motor Driver Q&A 2/2

(9) BTN7971B High Current PN Half Bridge (45V, 44A) Datasheet – Infineon 2008jun

(10) Infineon Transportation Brochure (24V to 60V, page 11, DC Motor Control) – Infineon

(11) DC Motor 80W Reviews – AlliExpress

(12) Youtube Video on How to Determine DC Motor Current/Amp Draw (for beginners)γ€€β€” 2014sep13

(13) BTN7971B 6-28V DC Motor Driver Module – AliExpress US$19

(14) L298N Dual H-Bridge Motor Driver User Guide (5V~35V, 2A, 20W, For DC and Stepper Motor) – Handson Tech US$1.5

(15) Pololu G2 High-Power Motor Driver 24v13 (6.5V~40V, 13A without heat sink) US$30 – Pololu

(16) Youtube Video of BTS7960 test 2021apr1601 – 2021apr16

(17) Back EMF Schottky Flyback Diode Selection Notes – Rpi.org.forum 2019jan17

(18) Monitoring and Paralleling L298N H-bridge Motor Current – EESE, 202mar28

(19) 24V DC Worm Gear Motor Catalog (6 pages) – AlliEXpress

(20) Youtube Video Worm Gear Motor Preliminary 12V DC Test – tlfong01 2021may13


Appendices

Appendix A – Uxcell Motor

(1) Uxcell DC24V 80W 100RPM 8NM 10mm Reversible Worm Gear Motor High Torque Speed Reducing Electric Gearbox Motor-JCF63R – Amazon

uxcell motor

Appendix B – Cytron Motor Driver

(2) Cytron 13A DC Motor Driver MD13S – Amazon

cytron motor driver

Appendix C – Noyito Motor Driver

(3) Noyito 170W 2-Channel 3.3V/5V Logic input PWM H-bridge Motor Drive Module – Amazon

Noyito Motor Driver

Appendix D – Old BTS7970/BTN7971B testing images for the OP’s reference

  1. BTN7971b module
btn7971b

  1. BTN7971B wiring
btn7971b wiring

  1. BTN7971B testing 1/2
bth7971b testing

  1. BTN7971B testing 2/2
half driver test

  1. BTS7960 PWM Test

(16) Youtube Video of BTS7960 test 2021apr1601 – 2021apr16

bts7960

Appendix E – 3V~24V DC Worm Motor

3V~24V DC Worm Motor

Appendix F – Worm Gear Motor Preliminary Testing Notes

(20) Youtube Video Worm Gear Motor Preliminary 12V DC Test – tlfong01 2021may13

Now I am doing a preliminary test. I used a multimeter to measure the worm gear motor’s resistance and found it 28Ξ©.

So the operating current should be I = V/R = 12V/28Ξ© ~= 400mA. Then I use a 220VAC to 12VDC 1A PSU to drive the motor.

I found the motor moving slowly, as expected: youtu.be/8RdyY_lDuRQ.

worm gear motor test

ShareCiteEditDeleteFlagedited 30 mins agoanswered 23 hours agotlfong012,07511 gold badge77 silver badges1414 bronze badges

  • 1Comments are not for extended discussion; this conversation has been moved to chat. Since any additional comments cannot be moved to chat, further discussion in comments might be deleted without warning. Please keep the chat, in chat! Thanks. β€“ SamGibson♦ 16 hours ago 

Add a comment

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.