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
Arduino
  • Products
  • More
Arduino
Arduino Forum Weird issue with STM's LED2001 and PWM
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 4 replies
  • Subscribers 391 subscribers
  • Views 760 views
  • Users 0 members are here
  • led2001
  • frontpage
  • laser cutter
  • laser engraver
Related

Weird issue with STM's LED2001 and PWM

iceman1979
iceman1979 over 8 years ago

Hi All,

 

 

I am working on a laser diode driver design using the LED2001 ic from STM for use with these little laser engraver kits we are seeing coming from places like Banggood.com and Gearbest.com. The reason for the design was to get better linear control of the laser diode, particularly for use with engraving images. So far the testing has gone fairly well with the exception of the first time the driver has power applied to it and the PWM signal is sent to it.

 

For those interested in seeing the design, the Kicad source can be found here https://dl.dropboxusercontent.com/u/5570668/Laser%20Drivers/PWM_CC_LaserDriver.zip

 

The laser engraver machines come with a controller board that uses an Arduino Nano to driver the laser, stepper motors, and communicate with the PC. The Nano outputs a PWM signal of about 1khz which drives a mosfet that drives the laser module. My driver design is meant to replace the laser module's internal driver and to be driven directly from Nano's PWM pin. My design takes the 12v from the controller as power for the driver and the 5v PWM signal from the Nano to the dimming pin on the LED2001.

 

The issue I'm having is that when the laser driver gets power for the first time, it requires a pulse width of about 25% or more before the output comes on. Once it comes on through, the pulse width can go down to 1% and still control the laser. For testing i just fire at 100% for a second and then turn it off and as long as I don't remove power from the board it will give me linear control from 0-100% just fine. If I forget to pules the laser after power up and I go to engrave a picture, the picture will be messed up until the color of the pixels are dark enough to turn it on.

 

Any idea what might be going on here?

Thanks

John

  • Sign in to reply
  • Cancel
Parents
  • ajens23
    0 ajens23 over 8 years ago

    Do you still have those input capacitors for the LED2001 in the circuit?

     

    If so you may be waiting on them to charge up.

     

    What about adding an enable switch to the output to the laser diode?

     

    You could turn on the driver at full power for a second, drop it down to your start power, then engage the laser.

     

    Al

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • iceman1979
    0 iceman1979 over 8 years ago in reply to ajens23

    Yeah, they are still there. I'll test that by powering it up and leaving it for a while. This will give the fan time to spin up to full speed and charge the caps. After say, 10 minutes or so I'll try turning it on with the lowest "ON" setting (the GCODE command would be "M03 S1", max power would be M03 S255).

     

    Al Jensen wrote:

     

    Do you still have those input capacitors for the LED2001 in the circuit?

     

    If so you may be waiting on them to charge up.

     

    What about adding an enable switch to the output to the laser diode?

     

    You could turn on the driver at full power for a second, drop it down to your start power, then engage the laser.

     

    Al

    I'm afraid I'll probably have to do something like that. I had not thought about doing that but it is a good idea. I don't want to add an MCU to this so I'll have to think about how to implement some circuitry to hold the dim pin high while disabling the output until the caps are charged or a set time has passed. I think this design just got a bit more complicated lol.

     

    BTW, I know this chip was designed for LEDs but its output looks really clean and there is zero overshoot with this. Other then this little issue, it has been a really great driver for my 2w laser diode and the linear control it gives is really nice. Now, to go noodle on some circuits lol.

     

    Thanks for the great suggestions.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • iceman1979
    0 iceman1979 over 8 years ago in reply to ajens23

    Yeah, they are still there. I'll test that by powering it up and leaving it for a while. This will give the fan time to spin up to full speed and charge the caps. After say, 10 minutes or so I'll try turning it on with the lowest "ON" setting (the GCODE command would be "M03 S1", max power would be M03 S255).

     

    Al Jensen wrote:

     

    Do you still have those input capacitors for the LED2001 in the circuit?

     

    If so you may be waiting on them to charge up.

     

    What about adding an enable switch to the output to the laser diode?

     

    You could turn on the driver at full power for a second, drop it down to your start power, then engage the laser.

     

    Al

    I'm afraid I'll probably have to do something like that. I had not thought about doing that but it is a good idea. I don't want to add an MCU to this so I'll have to think about how to implement some circuitry to hold the dim pin high while disabling the output until the caps are charged or a set time has passed. I think this design just got a bit more complicated lol.

     

    BTW, I know this chip was designed for LEDs but its output looks really clean and there is zero overshoot with this. Other then this little issue, it has been a really great driver for my 2w laser diode and the linear control it gives is really nice. Now, to go noodle on some circuits lol.

     

    Thanks for the great suggestions.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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