Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Ghosting laser while rastering

    Scheduled Pinned Locked Moved Solved
    Laser Cutters
    9
    26
    2.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jay_s_ukundefined
      jay_s_uk
      last edited by

      I've switched back to the grbl board as my wife wanted some laser cutting doing.
      Here is a comparison of grbl to duet.
      The grbl is the disc, the duet version is just the writing on the wood.
      Both generated using lightbulb
      PXL_20201104_183607566.jpg

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      1 Reply Last reply Reply Quote 1
      • Arcnsparksundefined
        Arcnsparks
        last edited by

        I'm going to guess it has something to do with the speed that the Duet turns your laser tube on and off compared to the GRBL controller. You can fine tune this adjustment in Lightburn with the "Scanning offset adjustment". It's a pretty straightforward process and I imagine you'll be surprised at the results.

        Scanning Offset Adj. - How-To

        jay_s_ukundefined 1 Reply Last reply Reply Quote 1
        • jay_s_ukundefined
          jay_s_uk @Arcnsparks
          last edited by

          @Arcnsparks great. Didn't know that guide existed. I'll swap the controllers back and take a look tomorrow.

          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

          Arcnsparksundefined 1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            Moved to the new laser category

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • infamous_pandaundefined
              infamous_panda @jay_s_uk
              last edited by

              @jay_s_uk said in Ghosting laser while rastering:

              I am having another go at running my K40 laser using a duet 2 rather than an MKS Sbase running grbl.
              I am having issues with raster images having ghosting and not coming out with clean edges. This results in all images being blurry.
              PXL_20201103_140631583.jpg
              The PWM control is connected to the negative terminal of the bed MOSFET.
              I use M452 c"bed heat" F5000 in my config and I have tried in both S0 and S1 modes.
              Does anyone have any thoughts?

              I should add that it works fine with grbl

              Hi,

              I am looking to do something similar. Have you noticed any other differences or quirks moving from GRBL-lpc to duet other than the ghosting? I am interested in increasing my raster speed. This is for a faster laser than a k40

              1 Reply Last reply Reply Quote 0
              • Arcnsparksundefined
                Arcnsparks @jay_s_uk
                last edited by

                Hi @jay_s_uk , have any luck with your setup? Just curious if the scanning offset adjustment helped out any.

                jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                • jay_s_ukundefined
                  jay_s_uk @Arcnsparks
                  last edited by

                  @Arcnsparks tbh I've gone back to grbl for the moment. Too many other projects and the Mrs wanted some stuff cutting

                  Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                  Arcnsparksundefined 1 Reply Last reply Reply Quote 0
                  • Arcnsparksundefined
                    Arcnsparks @jay_s_uk
                    last edited by

                    @jay_s_uk Definitely understand that!

                    1 Reply Last reply Reply Quote 0
                    • paulg4hundefined
                      paulg4h
                      last edited by

                      @jay_s_uk said in Ghosting laser while rastering:

                      moment. Too many other projects and the Mrs wanted some stuff cutting

                      Hello Jay,

                      as you know I run my K40 with RRF now and use Estlcam as CAM, to set it up I watched some videos where the guy told how to setup Eslcam and there he show do not switch of the Laser, just set the power to 0 in Cam

                      on cut start GCode:

                      M03 S<s>
                      

                      on cut end:

                      M03 S0
                      

                      Maybe this would help in your case too?

                      paulg4hundefined 1 Reply Last reply Reply Quote 0
                      • paulg4hundefined
                        paulg4h @paulg4h
                        last edited by

                        @dc42 now I try a lot to get usable raster engraving with RRF 3.3 connected to the bed mos fet of an SKR 1.4T board

                        Here are my config.g snipped:

                        ;############## Laser Settings #########################
                        M452 C"bed" R255 S1 F100 ; laser uses bed pin,  PWM frequency 100Hz
                        

                        I use Lightburn to create the Gcode with this settings:

                        9e1fa7f9-fd88-4510-8403-edcdd1f5a396-image.png

                        Here you can see the same gcode with different laser frequency settings:
                        588d8e3e-7d6e-4353-858f-393403d973a2-image.png

                        I also try to change the M05 in GCode by search and Replace with M03 S0 but no change.

                        What can I do get the quality of letters as shown with 100 and the area engraving quality like 500hz?

                        1 Reply Last reply Reply Quote 0
                        • paulg4hundefined
                          paulg4h
                          last edited by paulg4h

                          I get the Information that the SKR 1.4T board with his LPC chip do not have a hardware PWM just Software PWM which can not handle more than a few hundred Hz, so I changed the 1.4 by an SKR 2 with n STM chip and now I can run the laser with 500 hz and get this quality when I connect the laser to the bed mos fet which is also software driven:

                          adb551fb-1491-4c33-b3e3-68c88cc6f10f-image.png

                          After reducing the Laser power in Lightburn it looks like:

                          8fcac837-8a32-4a0e-819a-207e059591d3-image.png

                          After changing the laser connection from bed mos fet to the e1heat mos fet which is hardware PWM driven I was able to revert the laser settings to 5kHz and got this result after reducing the laser power again:

                          25675ebc-72bd-464f-bfec-275e8fd70d76-image.png

                          This are my Lightburn settings for the result above:
                          79499213-0c7b-4d0b-bef8-0ffcf620befd-image.png

                          paulg4hundefined 1 Reply Last reply Reply Quote 1
                          • paulg4hundefined
                            paulg4h @paulg4h
                            last edited by paulg4h

                            Today I get an test firmware for my BigtreeTech SKR 2 board to improve the raster engraving quality and speed dramatically!

                            This is on trotec laser "plastic" aluminium / black 1.6mm

                            The 500mm/s made with the test firmware and the others below with the stock firmware https://github.com/gloomyandy/RepRapFirmware/releases/tag/v3.4.0beta5_1
                            RRF_laser_engraving_test.jpeg

                            With default firmware and 150mm/s on an 70 x 23 mm size work sheet I do get such results:
                            PIC013.JPG
                            (each vertical line of the ruler is 0.5mm)

                            this are the lightburn settings for that:
                            K40_01.png

                            with the test firmware and at the speed of 500mm/s and changing from LINE+FILL to FILL only as increasing the laser power I get this now:
                            PIC014.JPG

                            Here are the lightburn setting for that:
                            K40_02.png

                            So hopefully this major improvement made by @gloomyandy will be available in the future to the RRF release at least when it is in laser mode!

                            paulg4hundefined 1 Reply Last reply Reply Quote 0
                            • paulg4hundefined
                              paulg4h @paulg4h
                              last edited by paulg4h

                              I now also do an engraving test with an picture I found in Internet, the speed limit for the SKR 2 so far seams to be 250mm/s, at 300mm/s the head stops in the middle of an move and at more than that it either lost his reference and hit in my case the right machine limits.

                              The first 10mm of engraving works as expected even at 500mm/s but then it stops, so this seams for me some sort of CPU power / cache / code issue.

                              Maybe @dc42 there is some chance to cleanup / improve the code for laser usage beyond the proof of @gloomyandy s test version?

                              But at 250mm/s I get this engraving quality which looks great for me:
                              9158fe78-7048-4b96-9241-cd1f05141f02-image.png

                              o_lampeundefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 1
                              • o_lampeundefined
                                o_lampe @paulg4h
                                last edited by

                                @paulg4h Did you use input shaping?

                                paulg4hundefined 1 Reply Last reply Reply Quote 0
                                • paulg4hundefined
                                  paulg4h @o_lampe
                                  last edited by paulg4h

                                  @o_lampe no, I am not use M593 currently (https://duet3d.dozuki.com/Wiki/M593)

                                  Would this improve it also?

                                  o_lampeundefined 1 Reply Last reply Reply Quote 0
                                  • o_lampeundefined
                                    o_lampe @paulg4h
                                    last edited by

                                    @paulg4h I don't know your engraver mechanic, but resonance from acceleration can be avoided by input shaping.

                                    1 Reply Last reply Reply Quote 0
                                    • T3P3Tonyundefined
                                      T3P3Tony administrators @paulg4h
                                      last edited by

                                      @paulg4h

                                      thanks for these tests. its great to see the speed/quality improvements.

                                      @gloomyandy how you been incontact with @dc42 about what the changes were and the potential to port this into the main branch of RRF?

                                      www.duet3d.com

                                      gloomyandyundefined 1 Reply Last reply Reply Quote 0
                                      • gloomyandyundefined
                                        gloomyandy @T3P3Tony
                                        last edited by

                                        @t3p3tony Hi tony, yep I've emailed dc42 with my findings and a link to this thread. There may be a better way to do things than my simple fix (which is literally a one line change), so I'm waiting to see what dc42 has to say.

                                        dc42undefined 1 Reply Last reply Reply Quote 1
                                        • dc42undefined
                                          dc42 administrators @gloomyandy
                                          last edited by

                                          Thanks to @gloomyandy for identifying this. I agree with the fix he proposed and it will be included in RRF 3.4.0beta6.

                                          Duet WiFi hardware designer and firmware engineer
                                          Please do not ask me for Duet support via PM or email, use the forum
                                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                                          1 Reply Last reply Reply Quote 1
                                          • jay_s_ukundefined jay_s_uk has marked this topic as solved
                                          • gloomyandyundefined gloomyandy referenced this topic
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA