element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Crazy Arduino Automations
  • Challenges & Projects
  • Project14
  • Crazy Arduino Automations
  • More
  • Cancel
Crazy Arduino Automations
Crazy Arduino Automations Blog Raising the Bridge...Automation with Arduino: Failure reconciliation
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Crazy Arduino Automations to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: colporteur
  • Date Created: 20 Apr 2023 8:29 PM Date Created
  • Views 4404 views
  • Likes 10 likes
  • Comments 16 comments
  • crazyarduinoautomationch
Related
Recommended

Raising the Bridge...Automation with Arduino: Failure reconciliation

colporteur
colporteur
20 Apr 2023

I have made unserviceable two L293N and one L298N motor driver modules doing something but I don't know what. I would like to know what I did, so I can prevent it from happening in the future. Can anyone share their experience or knowledge to help me isolate the cause of these failures?

L293NL298N

As part of the Automation Design Challenge I am developing a solution to raise the bridge on a model railroad layout. 

image

Model railroaders have been busy working on building the bridge. A magnet raised and lowered using a servo motor are located under the roadbed at points A. The barrier gates that are raised and lowered via servo are at points B. A ramp at point C is raised and lowered to make room for the bridge point D, to move is also controlled by a servo. The bridge has a separate motor to raise and lower it.

While the model railroaders are putting the finishing touches on the bridge installation, automation development continues. I built a bridge simulator point E using the same model of motor that is used for the bridge movement. My goal was to use the simulator to resurrect Arduino code that will manage the raising and lowering of the bridge. 

In the past I have smoked electronics and had to tear apart the layout to make repairs. The simulator will hopefully eliminate that step:)

The test unit has the motor moving an arm, controlled by a Nano and switches (not shown in the picture). The Nano uses an L293N or L298N to drive the motor. I did about three hours of testing with an L293N module raising and lowering the arm before it didn't work anymore. I can’t recall doing anything that would result in the failure. I replaced the driver module and continued to test but once again I did something to cause it not to work.

I took the assembly home and continued to test (while watching the playoff hockey games) and discovered the failed modules are outputting a little less than a half of the motor supply voltage of 12V. I then tried a spare L298N module I had and performed some tests.

It initially worked. 12V was being outputted to the motor. At one point I prevented the arm from rising. I also noticed the module LED’s come on when I pushed the arm back down. The L298N didn’t work after that. Did the action of preventing the arm from rising or pushing it down, smoked the chips. I’m just not sure?

My speculation is either preventing the motor to raise the arm or pushing the arm down might have caused a back emf that damaged the driver chips. There is a possibility that this action may happen when the bridge goes into production. As you can see from the picture the bridge is exposed to operators.

I have worked with these driver modules in the past to control motor speed with no issue. In those scenarios, I wasn’t impeding the motor movement. I made some amateur mistakes (shite happens) like shorting outputs but the chips still worked.

I recall before damaging the first two L293N modules I did impede the motor by stopping the arm but no damage was apparent because I was able to continue testing. Maybe at low motor speed settings impeding the arm is not a problem but at max settings the chip is damaged. I’m not sure?

If anyone has any insights, suggestions or condolences please pass them along. I have no more spares at the moment so I have to park the project until a delivery truck arrives.

  • Sign in to reply

Top Comments

  • colporteur
    colporteur over 2 years ago in reply to Jan Cumps +1
    Appreciate the response. You challenge me J, I like that. I found this definition of dead-band, hope I am on the same page as you. There is no mention of it in the data sheets that I found. In Half-Bridge…
  • colporteur
    colporteur over 2 years ago +1
    I had put further troubleshooting of the issue with the L293D until I had some spares. I received L293D driver chips this week. My thought was to replace the chip in the problem modules to determine if…
Parents
  • robogary
    robogary over 2 years ago

    wow- I've had pretty good luck with these bridges, it could be luck or the way I use them. 

    #1 - I usually fuse upstream from the H bridge in case of accidental short (short term instantaneous current) , and long term current (overload current).

    It could be the motor current overloads the bridge. 

    #2 - I dont slam the H bridge full FWD, or full REV  with full PWM. First have PWM duty = 0, enable the FWD or REV and increment the PWM duty to 1023 (or is it 255?) in a quarter second or so, or whatever accel/decel you want. To stop, first reduce the PWM duty from the set value to zero, then turn off the FWD or REV bit.  

    I have used these IBT-4 50A bridges in some projects , and they have been running for years. 

    https://www.amazon.com/H-Bridge-High-Power-Single-Channel-Semiconductor-Refrigeration/dp/B07PM76KJG/ref=sr_1_1_sspa?crid=1N78ZSPXO8QN7&keywords=H+bridge&qid=1682129796&sprefix=h+br%2Caps%2C785&sr=8-1-spons&psc=1&smid=A2P6NQ66D5K6F0&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUEyMUFCMVA3QVBSN01XJmVuY3J5cHRlZElkPUEwNTEzMDgyMUJQQkVIRFVMR0wwVCZlbmNyeXB0ZWRBZElkPUEwMzA4NDU0M01NSk5QMjRUOE1UUiZ3aWRnZXROYW1lPXNwX2F0ZiZhY3Rpb249Y2xpY2tSZWRpcmVjdCZkb05vdExvZ0NsaWNrPXRydWU=

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • robogary
    robogary over 2 years ago

    wow- I've had pretty good luck with these bridges, it could be luck or the way I use them. 

    #1 - I usually fuse upstream from the H bridge in case of accidental short (short term instantaneous current) , and long term current (overload current).

    It could be the motor current overloads the bridge. 

    #2 - I dont slam the H bridge full FWD, or full REV  with full PWM. First have PWM duty = 0, enable the FWD or REV and increment the PWM duty to 1023 (or is it 255?) in a quarter second or so, or whatever accel/decel you want. To stop, first reduce the PWM duty from the set value to zero, then turn off the FWD or REV bit.  

    I have used these IBT-4 50A bridges in some projects , and they have been running for years. 

    https://www.amazon.com/H-Bridge-High-Power-Single-Channel-Semiconductor-Refrigeration/dp/B07PM76KJG/ref=sr_1_1_sspa?crid=1N78ZSPXO8QN7&keywords=H+bridge&qid=1682129796&sprefix=h+br%2Caps%2C785&sr=8-1-spons&psc=1&smid=A2P6NQ66D5K6F0&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUEyMUFCMVA3QVBSN01XJmVuY3J5cHRlZElkPUEwNTEzMDgyMUJQQkVIRFVMR0wwVCZlbmNyeXB0ZWRBZElkPUEwMzA4NDU0M01NSk5QMjRUOE1UUiZ3aWRnZXROYW1lPXNwX2F0ZiZhY3Rpb249Y2xpY2tSZWRpcmVjdCZkb05vdExvZ0NsaWNrPXRydWU=

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube