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

    Closed loop 1HCL

    Scheduled Pinned Locked Moved
    General Discussion
    3
    12
    444
    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.
    • HighFrequndefined
      HighFreq
      last edited by

      Using the 1HCL do i obtain a closed loop on the gcode? I mean does the 1HCL closed loop feeds the board and the board adjust the gcode execution based on the axis feedback?

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

        @highfreq you need to run the tuning step and put the 1HCL board into closed loop mode. See https://docs.duet3d.com/User_manual/Tuning/Duet_3_1HCL_tuning. After that you use regular GCode commands.

        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

        Nightowlundefined HighFrequndefined 2 Replies Last reply Reply Quote 0
        • Nightowlundefined
          Nightowl @dc42
          last edited by

          @dc42
          Have I got this right: Using the 1HCL obviates the need for stepper motor drivers to turn existing open loop stepper motors into closed loop?

          Or am I being really optimistic?

          Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
          I'm still on my learning curve, so take everything I say with caution!

          RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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

            @nightowl999 you need to use a stepper motor with an encoder so that the 1HCL board can read the position.

            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

            Nightowlundefined 1 Reply Last reply Reply Quote 1
            • Nightowlundefined
              Nightowl @dc42
              last edited by

              @dc42 Yep, optimism is my middle name. Sigh

              Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
              I'm still on my learning curve, so take everything I say with caution!

              RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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

                @nightowl999 in future we may provide a board that can be used with a magnet on the back of the stepper motor to read the position.

                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

                Nightowlundefined 1 Reply Last reply Reply Quote 0
                • Nightowlundefined
                  Nightowl @dc42
                  last edited by

                  @dc42 said in Closed loop 1HCL:

                  @nightowl999 in future we may provide a board that can be used with a magnet on the back of the stepper motor to read the position.

                  Well, if you ever need a CNC user to test stuff, just let me know!

                  Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                  I'm still on my learning curve, so take everything I say with caution!

                  RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

                  1 Reply Last reply Reply Quote 0
                  • HighFrequndefined
                    HighFreq @dc42
                    last edited by

                    @dc42 maybe my question was not clear, what i meant is, if the axis operates in closed loop than the board knows about it and avoids any following error? or the closed loop is only for the opertion of the axis.
                    Basicly if the board, for example, is making a circle and one axis is slightly behind does the board know it and slows down the other to keep the system in sync?

                    I think the tech term in english is "following error", does the 1HCL avoid it?

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

                      @highfreq what the closed loop bad does is monitor the actual position and adjust the motor current and phase to correct the position. For example, if the print head hits a blob or overhang or additional friction that stops the axis, the motor current will be increased to try to overcome it. If it cannot be overcome then an event is generated, which you can use e.g. to pause the print.

                      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

                      HighFrequndefined 1 Reply Last reply Reply Quote 0
                      • HighFrequndefined
                        HighFreq @dc42
                        last edited by HighFreq

                        @dc42 maybe it is me not understanding, does the firmware use the closed loop to avoid chasing of axis? If a circle is made does the board monitor the axis in closed loop to make sure a circle is being made? This is the way all modern cnc machine controls work. It avoids chasing and the board knows at each moment where the axis are and adjust the feeding of gcode to avoid any chasing or desync of axis. Basicly if i tell the machine to make a circle than the board makes sure a circle is being made trough the feedback from axis, this is a gcode closed loop.

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

                          @highfreq the board monitors continuously (about 10k times per second) that the axis or extruder it is controlling is where it is supposed to be, so that it can attempt to correct for any error (by using more current than normal) and create an event if that fails. It does not slow other axes down in the way that you describe.

                          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

                          HighFrequndefined 1 Reply Last reply Reply Quote 0
                          • HighFrequndefined
                            HighFreq @dc42
                            last edited by

                            @dc42 so do you think i can put my controller in CL by emulating quadrature so that board knows where axis is at any time? By the manual can you understand if the quadrature emulation would be ok for 1HCL board?

                            thanks in advance.

                            1 Reply Last reply Reply Quote 0
                            • T3P3Tonyundefined T3P3Tony referenced this topic
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA