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

    This is how Duet's microstepping and interpolation look like

    Scheduled Pinned Locked Moved
    General Discussion
    3
    5
    841
    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.
    • zaptaundefined
      zapta
      last edited by

      Here are a few oscilloscope screenshots that show the current through the two coils of a stepper motor while moving.

      The interpolation results in pretty smooth sine waves, one following the other by 90 deg (half of a full step?) The full steps are represented by full current in one coil and zero current (horizontal center line) in the other.
      SCR04.PNG

      This zoom show the micro/interpolation steps, with tiny fast fluctuations of the stepper motor driver's chopper.
      SCR05.PNG

      This closer zoom shows the actual fluctuations of the chopper which are at about 300khz.
      SCR06.PNG

      To measure the currents I used two Alegro ACS70331EESATR-005B3 isolated current sensors which converted the currents to voltages that can be displayed on an oscilloscope. My goal is to check the feasibility of a low cost, DIY, open source stepper analyzer.

      T3P3Tonyundefined 1 Reply Last reply Reply Quote 3
      • T3P3Tonyundefined
        T3P3Tony administrators @zapta
        last edited by

        @zapta said in This is how Duet's microstepping and interpolation look like:

        My goal is to check the feasibility of a low cost, DIY, open source stepper analyzer

        That sounds interesting, so the idea would allow tuning of the stepper signals to the specific motors?

        www.duet3d.com

        zaptaundefined 1 Reply Last reply Reply Quote 0
        • zaptaundefined
          zapta @T3P3Tony
          last edited by zapta

          @T3P3Tony said in This is how Duet's microstepping and interpolation look like:

          That sounds interesting, so the idea would allow tuning of the stepper signals to the specific motors?

          I am not sure exactly what it should do but my thinking is that if there is a way to monitor the current and extract things such as position, speed, and waveform, it will be useful 😉 For example, if it moves too fast or the supply voltage is insufficient, you will start seeing distortions. I am not sure if it required also to monitor the coil voltages, it adds complexity but may be useful.

          I ordered a Teensy 4 and a small LCD so will see how it goes.

          One thing I want to extract is retraction, for example a moving graph that shows the momentary length of filament that was 'in' and is now 'out'.

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

            The chopper frequency is about 40kHz. If you are seeing a signal at 300kHz, that is probably ringing as a result of stray inductance and capacitance.

            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

            zaptaundefined 1 Reply Last reply Reply Quote 0
            • zaptaundefined
              zapta @dc42
              last edited by zapta

              @dc42 said in This is how Duet's microstepping and interpolation look like:

              The chopper frequency is about 40kHz.

              I see, so these may be the fluctuations in the second screenshot.

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