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

    Quadrature encoder emulation

    Scheduled Pinned Locked Moved
    General Discussion
    4
    7
    380
    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

      We will using following controller for some linear motor axis. The controller has the ability to emulate a quadrature encoder, can anybody looking at the manual understand if the emulated quadrature encoder can be used by 1HCL to have a closed loop?

      https://www.hiwin.it/images/download/documenti/E1 Series Servo Drive User Manual V1.7 (EN).pdf

      Thanks in advance.

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

        @highfreq that controller is an AC servo motor driver, therefore you don't need a 1HCL board to drive it. You need step and direction signals, for example from a MB6XD main board or a EXP1XD expansion board.

        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 since the driver can emulate a quadrature encoder i could feed it in a 1HCL to avoid "following error"?

          (maybe the correct term is chasing error).

          engikeneerundefined HighFrequndefined 2 Replies Last reply Reply Quote 0
          • engikeneerundefined
            engikeneer @HighFreq
            last edited by

            @highfreq servo drives are already closed loop controllers (I.e. doing what the 1HCL does). Not sure what you would gain by trying to do closed loop control on a closed loop driver even if it was possible!

            E3D TC with D3Mini and Toolboards.
            Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
            i3 clone with a bunch of mods

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

              @highfreq what i am trying to understand is if the board knows about the closed loop. What i am trying to obtain is a g-code closed loop to avoid any chasing error. The fact itself that the axis is in closed loop doesn't avoid it to be not in sync with what the board is feeding, unless the board knows the feedback of the axis and regulates the gcode feeding based on it.

              But, i guess, only @dc42 can answer to the question wheter the reprap firmware works in closed loop at gcode level or just at motor level.

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

                @highfreq picking up from your questions here:
                https://forum.duet3d.com/topic/28694/closed-loop-1hcl/12

                and in this thread I think i understand what you are describing, is this correct:

                In some CNC controllers if the closed loop positioning reports there is some position error on an axis, all the gcode execution will be slowed down until the axis with the position error can "catch up"

                Currently what happens on the 1HCL board is the current to the stepper motor increased to achieve position, and a fault is raised if position cannot be achieved. that fault event can be sued to pause the job. I assume in the CNC control systems you are referring to there is some limit, at which speed reduction is still not working and the error is getting too large and a similar thing happens (the job is paused and the user alerted?)

                In that case the key difference here is that current is increased, rather than the whole motion execution slowed down?

                As other comments have pointed out the specific servo drivers you referenced cant be controlled from the 1HCL, but they probably have fault outputs which can be connected back to the Duet to cause the job to be paused if they can't hold position.

                www.duet3d.com

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

                  @t3p3tony Great thanks. Yes they have fault outputs.
                  Thanks to all of you for your answers.

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